modorganizer2-linux-installer icon indicating copy to clipboard operation
modorganizer2-linux-installer copied to clipboard

Failed to update mod list: could not create a temporary file

Open 17hoehbr opened this issue 2 years ago • 4 comments

After following the instructions I began downloading mods from Nexus. At first everything was fine, but as soon as I tried enabling the first mod I started getting an error message saying "failed to update mod list: Failed to save '{}', could not create a temporary file: {} (error {})" image

Here are screenshots of the logs, although they are hard to read for some reason:
image image

I found a similar issue on reddit and used their advice to create a temp folder within the proton prefix, but that didn't seem to do anything either.

17hoehbr avatar Mar 16 '22 16:03 17hoehbr

Nevermind, after looking at the logs I realized I had created the temp folder in the wrong location lol. I had originally created the folder ~/.steam/root/steamapps/compatdata/22380/pfx/drive_c/users/steamuser/AppData/Local/Temp, as the reddit post suggested. But after reading the logs I realized it was looking for a temp folder in ~/.steam/root/steamapps/compatdata/22380/pfx/drive_c/users/steamuser/Temp. After creating that folder the error went away.

17hoehbr avatar Mar 16 '22 16:03 17hoehbr

Reopening because if this is a common issue then the installer script could probably create the folder automatically.

17hoehbr avatar Mar 16 '22 16:03 17hoehbr

i just encountered this issue as well.

Ryder17z avatar Dec 01 '22 13:12 Ryder17z

Had same issue. Issue due to MO2 removing tmp folder. I sovlved my issue by adding Temp folder to ~/.steam/root/steamapps/compatdata/22xxx(LOOK for C drive with JAVA file folder in it)/pfx/drive_c/users/steamuser/Temp. And add\make a file to the folder and set chattr +i to that file to prevent Temp folder to be deleted.

hvl-mighty44 avatar Jan 19 '23 04:01 hvl-mighty44