Repository navigation
Importing games to library on Nixos fails #820
Replies: 3 comments 2 replies
|
hey @itzmitto, thanks for explaining the server side! @Elkiehirvi, i have a fix in the upcoming 1.5.0 for one Nix-related permission issue: a fresh apps.json copied from the read-only Nix store is made owner-writable. existing libraries are left alone, so I can't yet tell whether you're hitting that case orr a different import error but i'm pretty sure that's the writable-library fix discussed in #811. i will say the version, launcher and response details @itzmitto asked for would help us a bunch to work that out, so when you can please check the response JSON as well as the HTTP status (leave cookies and tokens out please and no need to change permissions or remove your library to gather those details). also also thanks for #819 too! i've taken the two obsolete PCRE dependency removals for 1.5.0, keeping pcre2 and your contributor credit. reallyy hoping to realease 1.5.0 later today it's been in smoke testing hell for weeks now and i've finally seen the light! |
|
hey @Elkiehirvi, thank you for digging all of that out, and @itzmitto your pointer to the response was spot on! so heres whats happening. Polaris cant write your library file, so every import gets put together and then hits "could not be saved" when it goes to write it back. thats also why the uuid warnings come back every time: Polaris gives Desktop, Steam Big Picture and Lutris an id during each import, and since the file never gets saved they never keep it. on Nix the likely cause is that an earlier Polaris copied the library out of the read-only Nix store, and the copy kept the store's read-only mode. to check, run if it shows a regular file like
if it shows a link into one heads up: 1.5.0 makes a newly copied library writable, but it leaves an existing one exactly as it is on purpose, so updating alone wont fix yours, the chmod will. and ill make that error say which of these it is instead of just "could not be saved". just hit me up if it still fails after that! |
Uh oh!
There was an error while loading. Please reload this page.
Hi!
As per title, I'm using Nixos, and can't automatically import games to library. Polaris does find them, and list them, but I suppose there is a problem with actually writing to apps.json from the webclient. I have whitelisted the .config/polaris folder in my browsers firejail profile, and checked that the browser does have access to that folder and file. So the problem is probably in nix store paths.
Has anyone already fixed this? I can of course manually add the games, but importing them is such a nice feature.
The default mirror desktop works brilliantly.
All reactions