conf.php not loading #1098
-
Hello. I apologize for the second posting and issue. I am clearly doing something wrong here. When I am using the non config run command below, everything works great using Cloudflare Tunnels behind https and under the appropriate subdomain. No errors. docker run -d --restart="always" --read-only -p 8080:8080 -v $PWD/privatebin-data:/srv/data privatebin/nginx-fpm-alpine When I am using the config run command below, I receive a Error 500. docker run -d --restart="always" --read-only -p 8080:8080 -v $PWD/conf.php:/srv/cfg/conf.php:ro -v $PWD/privatebin-data:/srv/data privatebin/nginx-fpm-alpine I did review the open / closed issues / FAQs / reddit / google etc. There seems to be a common thread about a PATH needing to be used. Below is one of the threads I found. I am new to docker etc. I am able to see the conf.php via SSH and in portainer. I just want to make adjustments to the retention rate of the pastes. Is someone able to point me in the correct direction please? I am guessing it has to be something with the PATH (for PHP/config?) I have seen in my searching and reading of the info I found here on the issues tab. Thank you in advance. Have a good day. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Without having any insight into the log, we can only guess. It is likely that you simply have not given the UID/GID used in the container permission to read the conf.php file that you attach to the container. Check "docker logs " to learn what is actually going on that causes the error 500 - which can occur for all kinds of reasons. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/orgs/PrivateBin/discussions/1100#discussioncomment-6155599 |
Beta Was this translation helpful? Give feedback.
https://github.com/orgs/PrivateBin/discussions/1100#discussioncomment-6155599