anytime i try to install a mod, i get this error
failed to resolve lockfile: failed to write lockfile: failed creating lockfile directory: failed to make directory: 250 MKD command successful
Solution:Jump to solution
basically, i tried using filezilla first which just gave me timeout errors, then i tried core ftp which was the reason i started this thread. ultimately i tried rebex tiny sftp and its perfect
13 Replies
its trying to create the lockfile that informs SMM what mods are currently installed on a dedicated server.
if this is intended, then you need to see why yoiu dont have permissions to create files through ftp, or if there is not enough space (doubtful?) or some other reason why the lockfile isnt being created - unfortunately its not something we can really help with if its a hosted server.
if this is not supposed to be a dedicated server install, then clear the unknown entries from isntallation menu in SMM
if that doesnt fix it, then go to your install directory for SF, go
FactoryGame/Mods
and delete the <something>-lock.json
What FTP server are you using?
It's returning a nonstandard response, it should return
257 path created
, but it returns 250 command successful
And because of that the FTP client thinks that the dir creation was not successfulcore ftp, i tried filezilla as well but got a similar error
i went thru the perms on both the ftp program and the server pc itself and the user has the same perms (full control). also i cant find a lockfile in the FactoryGame/Mods directory
But does the Mods folder exist?
yes
Turn on debug logging in SMM, try to install a mod or something, then send debug info again
i should probably clarify, what ive said thus far only has to do with the server pc and server install of the dedicated server
my main pc that i play satisfactory on has the lockfile
Hmm, it doesn't find the path
/FactoryGame/Mods
as existing, so then it tries to create it, but because it already exists the FTP server returns 250 instead of 257so odd, when I get back from work later I'll try to remap the directory to just c:/steamcmd/
Reading that log again, the specific way in which it doesn't find the path is:
*
LIST -a /FactoryGame/Mods
=> returns 0 entries but no error (side note, given that the server accepts the nonstandard -a
, it probably should have returned .
and ..
as items here already, vsftpd does)
* LIST -a /FactoryGame
=> returns some items and no error, but none of the items it returns has entry.Name() == path.Base(clean(p))
(where clean(p)
just removes duplicate /
or /.
and stuff like that, and ensures the path is using /
not \
)
Oh, I wonder if the -a
is actually not accepted, but just taken as the argument instead of the path that follows. So all file existence checks always read the same -a
dir that doesn't exist and the server returns no entriesany way to remove the -a arg?
i feel very good about having solved this
what i did was i jumped ship from my old ftp software to Rebex tiny sftp server
within the rebex config file, i set the username and pass as well as the satisfactory server directory
now all of the mods are installing perfectly, lock file is there and everthing
Solution
basically, i tried using filezilla first which just gave me timeout errors, then i tried core ftp which was the reason i started this thread. ultimately i tried rebex tiny sftp and its perfect