Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
giantdwarf17 opened this issue Mar 16, 2022 · 6 comments
Open

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

giantdwarf17 opened this issue Mar 16, 2022 · 6 comments

Comments

@giantdwarf17
Copy link

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.

@giantdwarf17
Copy link
Author

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.

@giantdwarf17
Copy link
Author

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

@Ryder17z
Copy link

Ryder17z commented Dec 1, 2022

i just encountered this issue as well.

@hvl-mighty44
Copy link

hvl-mighty44 commented Jan 19, 2023

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.

@MrAwesome
Copy link

Just encountered this as well, didn't do anything special with my setup and hit this while trying to install.

@nalabrie
Copy link

nalabrie commented Nov 10, 2024

Also just encountered this on Fedora 41 (Bazzite, KDE, nvidia) with a fresh install of Skyrim SE and a fresh install of MO2. Making the Temp folder in the manner @hvl-mighty44 suggested worked for me.

EDIT: So it worked one time and now is no longer working so there must be more to this issue. Perhaps involving selecting "portable instance" during setup? I started from scratch and just let it default to "global instance" and have no issues out of the box. And to my understanding, this isn't really a global instance since it is contained to the Skyrim SE prefix. I don't believe any official instructions provided warn against using the portal optiol during MO2 setup, so if that is indeed the issue then maybe it is worth pointing out during the install section.

EDIT 2: Ok now I am really confused. With the "global instance" the only thing I added was SKSE to test launching the game and that worked. I closed Skyrim, closed MO2, downloaded some mods manually, and when launching MO2 again it popped up a message saying that the instance was not there and a new one needed created and upon creating it the original error kept happening again. So weird, I give up for the time being.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants