NginxPM fails to run after adding 1 SSL Cert for 1 website #4164
Replies: 1 comment
-
Ended up finding a solution to this problem after consulting with several other guides for other OS's online and piecing together information on them. Basically it's a permissions issue with Docker and NginxPM and how they run and how they store keys. What I did was nuke the entire Nginx_PM folder in my documents folder and recreated a new folder called "nginx_pm" in the /var/lib/ directory. I used terminal to issue the commands after navigating to the lib folder in file browser and right clicking and selecting "open in terminal". The commands I issued are as follows: Should be good to go now. All my .pem keys work now even after reboot. |
Beta Was this translation helpful? Give feedback.
-
So I have a weird issue. I'm using cloudflare to proxy all my websites. I have never had an issue in the past with website proxy-ing through cloudflare with NginxPM to my cloudpanel website server.
Here is how everything is setup:
ProxMox v8.... server up and running
Ubuntu v22.04.01 Virtual Machine on ProxMox running CloudPanel for my websites
Ubuntu v24.04.01LTS Virtual Machine on ProxMox (CPU set to Host for virtualization support)
DockerDesktop Installed and running on Ubuntu 24.04.01 VM
NginxPM Installed in docker desktop based on Full Setup Instructions from https://nginxproxymanager.com/setup/ Here
Add Proxy Host in NginxPM to point to Internal IP of CloudPanel Server
Everything works as it should right up until I add a SSL Cert. using NginxPM. Once I add an SSL cert NginxPM will no longer come up. I go into the logs and it says there is a problem with "Setting Ownership" and gives several lines that say something like "chown ...(some file location for a .pem key file) operation not permitted" but I don't have the slightest clue as to why.
Here is the testing steps I went through. (IE: When you see "Restarted Everything" it means I stopped the container, quit docker desktop, rebooted the Ubuntu 24.04.01 LTS Install that Docker Desktop is running on, opened Docker Desktop, Went to NginxPM WebGUI and checked the NginxPM app-1 logs to make sure everything came back up)
Any help on this would be greatly appreciated. I have absolutely no idea why it's doing this.
Only thing I can think of is that the Nginx_PM folder in my /home directory is not where the docker-compose.yml or NginxPM files are supposed to go but there is no clarification on this anywhere that I can find. Also if that is the case, maybe the full setup guide should be updated or something because it doesn't say anything about where the files go.
Beta Was this translation helpful? Give feedback.
All reactions