Hi, just wondering if I am doing something wrong or if there is a way to do something automatically.
My problem is that whenever my OMV server’s Watchtower updates the LetsEncrypt container I can access my sites anymore for OMV, Emby etc externally. The fix I have figured out is that when home I have to go into the bash and create an Nginx folder in the run directory, the moment I do that everything comes to life again. I have my sites set up as reverse proxy subdomains (really hope I got the terminology correct there).
Is there a way for me to automate this when a new image starts up so I don’t have to wait till I get home to create the folder?
No logs relevant I don’t think. Will have to wait for it to break again to get the error message but it complains about not being able to either access or find the Nginx directory. So I use the command “docker exec -it letsencrypt bash”, “cd run”, “mkdir nginx” And that sorts my problem out giving me access to my sites externally. I use the docker plugin within openmediavault so I don’t actually type any commands in. Thanks for replying!
Just had a look in the directory. The error message complains about nginx.pid not being found if I remember correctly, that is the only file in run/nginx. As soon as I create the nginx directory, something creates that file and I’m good to go.
Ok thank you, pretty sure I didn’t as I don’t know what I would need to modify. I changed the proxy subdomain confs but I think that’s about it. You’ve given me some info so I can go from there and start trouble shooting from that. Will post here if I figure it out incase anyone else comes across it. Thanks for the help.