Error managing mods via SFTP

I manage mods on a remote dedicated server via SFTP. I can add the server info into SMM and add/update/remove mods without issue (though slowly - mods extract to the remote server at like 50kbps). The next time I come back to SMM, however, if I try to add/update/remove a mod I always get the error "failed to get platform: failed to validate installation: failed reading FactoryGameSteam.exe: failed to check if file exists: connection lost". If I then remove the server SFTP info from SMM and re-add it using the exact same SFTP info it will generally start working again. Sometimes I need to do this twice in a row. In addition to be kind of annoying, this leads to problems where my local machine and remote server are out of sync on versions, causing all kinds of annoying issues. Any recommendations? I couldn't find many references to others with this issue.
8 Replies
FICSIT-Fred
FICSIT-Fred6d ago
Automated responses for Dor (112043686556155904)
Key Details for SMMDebug-2024-12-14-11-23-07.zip
SMM Version: 3.0.3
SML Version: 3.8.0
Installed Mods: 19
Game: WindowsClient CL 384038 from steam
Path: `d:\SteamLibrary\steamapps\common\Satisfactory`
Command Line: cmd /C start steam://rungameid/526870-NO_EOS_OVERLAY
SMM Version: 3.0.3
SML Version: 3.8.0
Installed Mods: 19
Game: WindowsClient CL 384038 from steam
Path: `d:\SteamLibrary\steamapps\common\Satisfactory`
Command Line: cmd /C start steam://rungameid/526870-NO_EOS_OVERLAY
failedtodeletemoddirectory
It looks like SMM is failing to delete a mod directory. Make sure the server is stopped before trying to modify installed mods. -# Rule logic: https://regex101.com/r/omre0i/
sftp_servermustbestopped
You should shut down the dedicated server executable before trying to install mods on it.
Dor
DorOP6d ago
(the server is always stopped when this happens)
Mircea
Mircea6d ago
When you say the next time in SMM, you mean you restart SMM, or leave it open and come back later?
Dor
DorOP6d ago
Either one, actually. Could be next session or later in the same session. I have not pinned down exactly how much later it has to be.
Mircea
Mircea6d ago
{"time":"2024-12-13T20:01:24.4553116-08:00","level":"ERROR","msg":"failed to resolve dependencies","task":"checkForUpdates","error":"failed resolving profile dependencies: failed to solve dependencies: failed to make decision: failed to get package versions: failed to fetch mod WallPipeSupports: failed fetching all versions: Get \"https://api.ficsit.app/v1/mod/WallPipeSupports/versions/all\": dial tcp: lookup api.ficsit.app: getaddrinfow: The requested name is valid, but no data of the requested type was found."}
{"time":"2024-12-14T03:22:52.6393897-08:00","level":"INFO","msg":"saving profiles","path":"C:\\Users\\dores\\AppData\\Roaming\\ficsit\\profiles.json"}
{"time":"2024-12-14T03:22:52.6404091-08:00","level":"ERROR","msg":"failed to install","action":{"type":"install","item":"CurveBuilder"},"install":"d:\\SteamLibrary\\steamapps\\common\\Satisfactory","profile":"Satisfactory Mods","error":"failed to get platform: failed to validate installation: failed reading FactoryGameSteam.exe: failed to check if file exists: connection lost"}
{"time":"2024-12-14T03:22:52.6404091-08:00","level":"INFO","msg":"action failed","action":{"type":"install","item":"CurveBuilder"}}
{"time":"2024-12-14T03:23:13.7765268-08:00","level":"WARN","msg":"failed to add FactoryGame.log to debuginfo zip","path":"sftp://user:pass@******/ip_port","error":"failed to check if log exists: failed to check if file exists: connection lost"}
{"time":"2024-12-13T20:01:24.4553116-08:00","level":"ERROR","msg":"failed to resolve dependencies","task":"checkForUpdates","error":"failed resolving profile dependencies: failed to solve dependencies: failed to make decision: failed to get package versions: failed to fetch mod WallPipeSupports: failed fetching all versions: Get \"https://api.ficsit.app/v1/mod/WallPipeSupports/versions/all\": dial tcp: lookup api.ficsit.app: getaddrinfow: The requested name is valid, but no data of the requested type was found."}
{"time":"2024-12-14T03:22:52.6393897-08:00","level":"INFO","msg":"saving profiles","path":"C:\\Users\\dores\\AppData\\Roaming\\ficsit\\profiles.json"}
{"time":"2024-12-14T03:22:52.6404091-08:00","level":"ERROR","msg":"failed to install","action":{"type":"install","item":"CurveBuilder"},"install":"d:\\SteamLibrary\\steamapps\\common\\Satisfactory","profile":"Satisfactory Mods","error":"failed to get platform: failed to validate installation: failed reading FactoryGameSteam.exe: failed to check if file exists: connection lost"}
{"time":"2024-12-14T03:22:52.6404091-08:00","level":"INFO","msg":"action failed","action":{"type":"install","item":"CurveBuilder"}}
{"time":"2024-12-14T03:23:13.7765268-08:00","level":"WARN","msg":"failed to add FactoryGame.log to debuginfo zip","path":"sftp://user:pass@******/ip_port","error":"failed to check if log exists: failed to check if file exists: connection lost"}
Looks like your entire PC loses internet connection briefly, because even ficsit.app is unreachable Restarting SMM would reopen the connection the same way that removing and readding the server does, which is why I asked this
Dor
DorOP5d ago
No noticeable drop in connectivity when it happens, and it persists indefinitely until I remove/re-add the SFTP info, so that's interesting. Just occurred again. Order of operations: 1. SMM has remained open since my last update this morning. 2. Stop dedicated server. 3. Attempt to update mod 'Persistent Paintables' - receive same error message as usual. Export debug logs. 4. Close and reopen SMM. 5. Local machine and remote server are now out of sync, no option to update the mod. 6. Uninstall mod via SMM. No error occurs. 7. Reinstall mod via SMM. No error, currently extracting to dedicated server. I could swear I have tried just restarting SMM many times in the past and it has not been successful, as that is the first and most obvious thing I would try. That said, it worked to reconnect to the dedicated server in this case.
Mircea
Mircea5d ago
For the update thing, at the moment updates are specific to an install, so when you update mods you have to check for updates on both installs But other than that, if mods are out of sync you can press "mods on" to "verify" the mod install (it just reapplies the current profile, even if mods are already on) I will look into detecting if the connection is lost, and reestablishing it when that happens
Want results from more Discord servers?
Add your server