-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
500 Error upon trying to get /index.php #161
Comments
Hi @Macr0Nerd Thanks for the details. I'm not familiar with podman quadlets, but let's try to dig. Can you have a look in |
Weirdly enough I don't get logs in that directory. When I tried the standalone application I did, but with the regular Davis image I don't. Maybe it's that the container is running rootless and so it can't write to the log as the UID it is.
|
Can you try to see if you can modify the permissions so that the logs can be written ? It might be the source of the problem indeed. Otherwise there might be logs in |
I attempted to |
Hey there, sorry for the late response. Could you try, in the running container, to:
|
Yeah that's only because composer install did not run properly actually. What error did you encounter? |
👋🏼 Haven't heard from you on this matter — could you resolve it in the end? |
I am probably running a bit of an unusual setup, so this might be my fault. I currently have Davis running as Podman Quadlets. Each one is connected to
davis.network
and I mainly based the containers off of thedocker-compose.yaml
example. I have MariaDB and the Davis container talking to each other and I was able to run/var/www/davis/bin/console doctrine:migrations:migrate
without issue. All the persistent volumes are on an NFS share mounted to the system which then bind mounts to the container. I have setup the infrastructure to make sure this stays authenticated and accessible securely. Using the examplenginx.conf
, I modified it to point to the Davis container with the proper hostname. The actual web files are one a named volume that both the nginx and Davis containers have access to. This is not on the NFS share.Now, when I try to access /index.php, I get a 500 server error. I am not entirely sure what I am doing wrong here, so some guidance would be much obliged. Here are my configuration files.
davis-database.container
davis-core.container
davis-web.container
nginx.conf
davis.env
The text was updated successfully, but these errors were encountered: