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.
10 Replies
Automated responses for Dor (112043686556155904)
Key Details for SMMDebug-2024-12-14-11-23-07.zip
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.
(the server is always stopped when this happens)
When you say the next time in SMM, you mean you restart SMM, or leave it open and come back later?
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.
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
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.
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
Automated responses for Be_Mann (556243639135633418)
Outdated mods found!
Production Stats can be updated to
1.0.19
Satisfactory Mod Loader can be updated to 3.9.0
SnapOn can be updated to 1.2.1
Just Pause can be updated to 1.1.6
Kyris Private Code Library can be updated to 3.1.0
Kyris Blueprint Function Library can be updated to 3.1.0
Kyris User Interface Library can be updated to 3.1.0
Cable Choices Plus can be updated to 1.1.2
Container Screens and more can be updated to 1.0.24
Efficiency Checker Mod can be updated to 2.5.10
Marcio Common Libs can be updated to 1.3.8
Modular Load Balancers can be updated to 1.13.6
Power Checker can be updated to 2.4.7
Fluid Extras can be updated to 1.0.9
Update these mods, there may be fixes for your issue in doing so.pleasegeneratedebuginfo
It looks like you have not yet generated the debug info file!
Please do as the mod manager requested. Click the "Generate debug info" button and send the zip file in <#1243688087578738770> otherwise we will not be able to help you!
Key Details for SMMDebug-2024-12-27-15-39-38.zip
sftp_servermustbestopped
You should shut down the dedicated server executable before trying to install mods on it.