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

Permission denied / An error occurred #4

Open
reloadfast opened this issue Jan 9, 2024 · 1 comment
Open

Permission denied / An error occurred #4

reloadfast opened this issue Jan 9, 2024 · 1 comment

Comments

@reloadfast
Copy link

reloadfast commented Jan 9, 2024

Hi,

Using the CA template, when accessing the webui, i'm getting:

An error occurred
There was an error on the server while processing your request. Try refreshing your browser and if that doesn't help, please try again at a later time. If the problem persists, you can seek help in ways listed below:

In the logs can see it can't read from the cache folder. I've played around forcing the ID the docker should run on (PUID=1000 / PGID=1000), giving 777 to the host path (appdata/wger/) and running with privilege rights, but none have worked.

Have tried both with and without redis, though don't think that's related.

Also seeing wger-project/wger#1513, but again, don't think that's related.

Attached are the logs and the XML for the docker. Any help figuring out what's causing the problem is much appreciated.

wger-unraid-2024-01-09T14-12-44.log
wger.txt

@reloadfast
Copy link
Author

After much playing around, changing the folder permission to 777 does fix the permission problem (surprise). That led to the problems faced in wger-project/docker#17, that was solved with wger-project/docker#17 (comment).

So I now have a working installation! (need to use it now!), but the original issue stands, what should be the PUID and PGID of the container and what should be the owner and group of the folder to solve the permission denied? and, how can we add the ngix server to the CA template to solve the webserver issue? Though using django debug works fine (at least for now?).

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

1 participant