[GH-ISSUE #2795] nginx-proxy-manager run inside docker doesn't work after reboot machine #1921

Closed
opened 2026-02-26 07:33:15 +03:00 by kerem · 32 comments
Owner

Originally created by @ArchMatt-GraveKeeper on GitHub (Apr 2, 2023).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2795

Hi, i have a problem with proxy-manager, after restart of server the proxy manager running but not propertly, container is up, docker said, also portainer. If you connect localy to portainer you can see everything is alright but it isnt.

I cannot access any web page, even not the nginx host him self even not localy, but everything is alright if i do manual restart of container.
then everything work alright.

Running RHEL 9.1, with SElinux enable, docker with compose latest.
Can anyone tell what should i try ?

Already tried changing restart policy of container from unless stopped to always but this even not working.

Thanks for your support !

Originally created by @ArchMatt-GraveKeeper on GitHub (Apr 2, 2023). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2795 Hi, i have a problem with proxy-manager, after restart of server the proxy manager running but not propertly, container is up, docker said, also portainer. If you connect localy to portainer you can see everything is alright but it isnt. I cannot access any web page, even not the nginx host him self even not localy, but everything is alright if i do manual restart of container. then everything work alright. Running RHEL 9.1, with SElinux enable, docker with compose latest. Can anyone tell what should i try ? Already tried changing restart policy of container from unless stopped to always but this even not working. Thanks for your support !
kerem 2026-02-26 07:33:15 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@jackblk commented on GitHub (Apr 3, 2023):

Yup, having same issue for 2 days straight. Probably related to new release 2.10.2.

Here's my log

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service prepare: starting
❯ Configuring npmuser ...
0
usermod: no changes
❯ Checking paths ...
❯ Setting ownership ...
❯ Dynamic resolvers ...
❯ IPv6 ...
Enabling IPV6 in hosts in: /etc/nginx/conf.d
- /etc/nginx/conf.d/default.conf
- /etc/nginx/conf.d/include/block-exploits.conf
- /etc/nginx/conf.d/include/letsencrypt-acme-challenge.conf
- /etc/nginx/conf.d/include/proxy.conf
- /etc/nginx/conf.d/include/force-ssl.conf
- /etc/nginx/conf.d/include/assets.conf
- /etc/nginx/conf.d/include/ssl-ciphers.conf
- /etc/nginx/conf.d/include/ip_ranges.conf
- /etc/nginx/conf.d/include/resolvers.conf
- /etc/nginx/conf.d/production.conf
Enabling IPV6 in hosts in: /data/nginx
- /data/nginx/proxy_host/1.conf
- /data/nginx/proxy_host/13.conf
- /data/nginx/proxy_host/7.conf
- /data/nginx/proxy_host/6.conf
- /data/nginx/proxy_host/14.conf
- /data/nginx/proxy_host/5.conf
- /data/nginx/proxy_host/9.conf
- /data/nginx/proxy_host/11.conf
- /data/nginx/proxy_host/2.conf
- /data/nginx/proxy_host/4.conf
- /data/nginx/proxy_host/3.conf
- /data/nginx/proxy_host/8.conf
- /data/nginx/proxy_host/12.conf
- /data/nginx/default_host/site.conf
❯ Docker secrets ...

-------------------------------------
 _   _ ____  __  __
| \ | |  _ \|  \/  |
|  \| | |_) | |\/| |
| |\  |  __/| |  | |
|_| \_|_|   |_|  |_|
-------------------------------------
User ID:  0
Group ID: 0
-------------------------------------

s6-rc: info: service prepare successfully started
s6-rc: info: service nginx: starting
s6-rc: info: service frontend: starting
s6-rc: info: service backend: starting
s6-rc: info: service backend successfully started
s6-rc: info: service nginx successfully started
❯ Starting backend ...
❯ Starting nginx ...
s6-rc: info: service frontend successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[4/3/2023] [1:27:06 AM] [Global   ] › ℹ  info      Using Sqlite: /data/database.sqlite
[4/3/2023] [1:27:17 AM] [Migrate  ] › ℹ  info      Current database version: none
[4/3/2023] [1:27:17 AM] [Setup    ] › ℹ  info      Logrotate Timer initialized
[4/3/2023] [1:27:17 AM] [Setup    ] › ℹ  info      Logrotate completed.
[4/3/2023] [1:27:17 AM] [IP Ranges] › ℹ  info      Fetching IP Ranges from online services...
[4/3/2023] [1:27:17 AM] [IP Ranges] › ℹ  info      Fetching https://ip-ranges.amazonaws.com/ip-ranges.json
[4/3/2023] [1:27:18 AM] [IP Ranges] › ℹ  info      Fetching https://www.cloudflare.com/ips-v4
[4/3/2023] [1:27:18 AM] [IP Ranges] › ℹ  info      Fetching https://www.cloudflare.com/ips-v6
[4/3/2023] [1:27:18 AM] [SSL      ] › ℹ  info      Let's Encrypt Renewal Timer initialized
[4/3/2023] [1:27:18 AM] [SSL      ] › ℹ  info      Renewing SSL certs close to expiry...
[4/3/2023] [1:27:18 AM] [IP Ranges] › ℹ  info      IP Ranges Renewal Timer initialized
[4/3/2023] [1:27:18 AM] [Global   ] › ℹ  info      Backend PID 131 listening on port 3000 ...
[4/3/2023] [1:27:46 AM] [Nginx    ] › ℹ  info      Reloading Nginx
[4/3/2023] [1:27:46 AM] [SSL      ] › ℹ  info      Renew Complete
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service nginx: stopping
s6-rc: info: service frontend: stopping
s6-rc: info: service backend: stopping
s6-rc: info: service frontend successfully stopped
s6-rc: info: service backend successfully stopped
s6-rc: info: service nginx successfully stopped
s6-rc: info: service prepare: stopping
s6-rc: info: service prepare successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
[4/3/2023] [1:28:10 AM] [Global   ] › ℹ  info      PID 131 received SIGTERM
[4/3/2023] [1:28:10 AM] [Global   ] › ℹ  info      Stopping.
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service prepare: starting
❯ Configuring npmuser ...
0
usermod: no changes
❯ Checking paths ...
❯ Setting ownership ...
s6-rc: fatal: timed out
s6-sudoc: fatal: unable to get exit status from server: Operation timed out
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
<!-- gh-comment-id:1493512699 --> @jackblk commented on GitHub (Apr 3, 2023): Yup, having same issue for 2 days straight. Probably related to [new release 2.10.2](https://github.com/NginxProxyManager/nginx-proxy-manager/releases/tag/v2.10.2). Here's my log ``` s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service prepare: starting ❯ Configuring npmuser ... 0 usermod: no changes ❯ Checking paths ... ❯ Setting ownership ... ❯ Dynamic resolvers ... ❯ IPv6 ... Enabling IPV6 in hosts in: /etc/nginx/conf.d - /etc/nginx/conf.d/default.conf - /etc/nginx/conf.d/include/block-exploits.conf - /etc/nginx/conf.d/include/letsencrypt-acme-challenge.conf - /etc/nginx/conf.d/include/proxy.conf - /etc/nginx/conf.d/include/force-ssl.conf - /etc/nginx/conf.d/include/assets.conf - /etc/nginx/conf.d/include/ssl-ciphers.conf - /etc/nginx/conf.d/include/ip_ranges.conf - /etc/nginx/conf.d/include/resolvers.conf - /etc/nginx/conf.d/production.conf Enabling IPV6 in hosts in: /data/nginx - /data/nginx/proxy_host/1.conf - /data/nginx/proxy_host/13.conf - /data/nginx/proxy_host/7.conf - /data/nginx/proxy_host/6.conf - /data/nginx/proxy_host/14.conf - /data/nginx/proxy_host/5.conf - /data/nginx/proxy_host/9.conf - /data/nginx/proxy_host/11.conf - /data/nginx/proxy_host/2.conf - /data/nginx/proxy_host/4.conf - /data/nginx/proxy_host/3.conf - /data/nginx/proxy_host/8.conf - /data/nginx/proxy_host/12.conf - /data/nginx/default_host/site.conf ❯ Docker secrets ... ------------------------------------- _ _ ____ __ __ | \ | | _ \| \/ | | \| | |_) | |\/| | | |\ | __/| | | | |_| \_|_| |_| |_| ------------------------------------- User ID: 0 Group ID: 0 ------------------------------------- s6-rc: info: service prepare successfully started s6-rc: info: service nginx: starting s6-rc: info: service frontend: starting s6-rc: info: service backend: starting s6-rc: info: service backend successfully started s6-rc: info: service nginx successfully started ❯ Starting backend ... ❯ Starting nginx ... s6-rc: info: service frontend successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-services successfully started [4/3/2023] [1:27:06 AM] [Global ] › ℹ info Using Sqlite: /data/database.sqlite [4/3/2023] [1:27:17 AM] [Migrate ] › ℹ info Current database version: none [4/3/2023] [1:27:17 AM] [Setup ] › ℹ info Logrotate Timer initialized [4/3/2023] [1:27:17 AM] [Setup ] › ℹ info Logrotate completed. [4/3/2023] [1:27:17 AM] [IP Ranges] › ℹ info Fetching IP Ranges from online services... [4/3/2023] [1:27:17 AM] [IP Ranges] › ℹ info Fetching https://ip-ranges.amazonaws.com/ip-ranges.json [4/3/2023] [1:27:18 AM] [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v4 [4/3/2023] [1:27:18 AM] [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v6 [4/3/2023] [1:27:18 AM] [SSL ] › ℹ info Let's Encrypt Renewal Timer initialized [4/3/2023] [1:27:18 AM] [SSL ] › ℹ info Renewing SSL certs close to expiry... [4/3/2023] [1:27:18 AM] [IP Ranges] › ℹ info IP Ranges Renewal Timer initialized [4/3/2023] [1:27:18 AM] [Global ] › ℹ info Backend PID 131 listening on port 3000 ... [4/3/2023] [1:27:46 AM] [Nginx ] › ℹ info Reloading Nginx [4/3/2023] [1:27:46 AM] [SSL ] › ℹ info Renew Complete s6-rc: info: service legacy-services: stopping s6-rc: info: service legacy-services successfully stopped s6-rc: info: service nginx: stopping s6-rc: info: service frontend: stopping s6-rc: info: service backend: stopping s6-rc: info: service frontend successfully stopped s6-rc: info: service backend successfully stopped s6-rc: info: service nginx successfully stopped s6-rc: info: service prepare: stopping s6-rc: info: service prepare successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped [4/3/2023] [1:28:10 AM] [Global ] › ℹ info PID 131 received SIGTERM [4/3/2023] [1:28:10 AM] [Global ] › ℹ info Stopping. s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service prepare: starting ❯ Configuring npmuser ... 0 usermod: no changes ❯ Checking paths ... ❯ Setting ownership ... s6-rc: fatal: timed out s6-sudoc: fatal: unable to get exit status from server: Operation timed out /run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information. ```
Author
Owner

@upuldi commented on GitHub (Apr 3, 2023):

I am having the same issue. Is there a solution for this ?

<!-- gh-comment-id:1494350569 --> @upuldi commented on GitHub (Apr 3, 2023): I am having the same issue. Is there a solution for this ?
Author
Owner

@warlordattack commented on GitHub (Apr 3, 2023):

same here with docker inside ds918+ nas

<!-- gh-comment-id:1494494181 --> @warlordattack commented on GitHub (Apr 3, 2023): same here with docker inside ds918+ nas
Author
Owner

@upuldi commented on GitHub (Apr 3, 2023):

As many have suggested reverting it to the previous 2.9.22 did the trick for me.

<!-- gh-comment-id:1495067124 --> @upuldi commented on GitHub (Apr 3, 2023): As many have suggested reverting it to the previous 2.9.22 did the trick for me.
Author
Owner

@X4V1 commented on GitHub (Apr 4, 2023):

same here from a raspberry pi

<!-- gh-comment-id:1495512114 --> @X4V1 commented on GitHub (Apr 4, 2023): same here from a raspberry pi
Author
Owner

@bleomycin commented on GitHub (Apr 4, 2023):

Same :(

<!-- gh-comment-id:1496263485 --> @bleomycin commented on GitHub (Apr 4, 2023): Same :(
Author
Owner

@Norsagir commented on GitHub (Apr 5, 2023):

+1

<!-- gh-comment-id:1497075536 --> @Norsagir commented on GitHub (Apr 5, 2023): +1
Author
Owner

@vacances commented on GitHub (Apr 5, 2023):

Same thing, however it works after container recreation. I don't really want to force restart it manually on every update/reboot of machine tbh.

<!-- gh-comment-id:1497257286 --> @vacances commented on GitHub (Apr 5, 2023): Same thing, however it works after container recreation. I don't really want to force restart it manually on every update/reboot of machine tbh.
Author
Owner

@Xer69 commented on GitHub (Apr 6, 2023):

same here on raspberryPI 4 64x.
add to rollback to 2.9.22 cause even container recreation didn't do the trick.

<!-- gh-comment-id:1498676145 --> @Xer69 commented on GitHub (Apr 6, 2023): same here on raspberryPI 4 64x. add to rollback to 2.9.22 cause even container recreation didn't do the trick.
Author
Owner

@EgonHeuson commented on GitHub (Apr 7, 2023):

Hello!
Same here. If it can help, I think this has something to do with the creation of the npm user as I quite oftne get an error with this step in the logs. Although the last time I got these logs:
❯ Configuring npmuser ... 0 usermod: no changes ❯ Checking paths ... ❯ Setting ownership ... s6-rc: fatal: timed out s6-sudoc: fatal: unable to get exit status from server: Operation timed out /run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.

I have to add up that this doesn't appear with all my npm instances. On some of my VMs I have the issue, and on some I don't. Hard for me to understand...

<!-- gh-comment-id:1500130422 --> @EgonHeuson commented on GitHub (Apr 7, 2023): Hello! Same here. If it can help, I think this has something to do with the creation of the npm user as I quite oftne get an error with this step in the logs. Although the last time I got these logs: `❯ Configuring npmuser ... 0 usermod: no changes ❯ Checking paths ... ❯ Setting ownership ... s6-rc: fatal: timed out s6-sudoc: fatal: unable to get exit status from server: Operation timed out /run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.` I have to add up that this doesn't appear with all my npm instances. On some of my VMs I have the issue, and on some I don't. Hard for me to understand...
Author
Owner

@nocomment-bln commented on GitHub (Apr 7, 2023):

Same problem here

<!-- gh-comment-id:1500431572 --> @nocomment-bln commented on GitHub (Apr 7, 2023): Same problem here
Author
Owner

@anthonws commented on GitHub (Apr 8, 2023):

I also experienced this yesterday, as I had to restart my entire NAS (Synology), but I was already running 2.9.22 (snap to image version).

<!-- gh-comment-id:1500850299 --> @anthonws commented on GitHub (Apr 8, 2023): I also experienced this yesterday, as I had to restart my entire NAS (Synology), but I was already running 2.9.22 (snap to image version).
Author
Owner

@danielowen777 commented on GitHub (Apr 8, 2023):

I am experiencing same issue running on Ubuntu LTS 22.02. Restarting the container fixes it but no use if the server power cycles as requires manual restart. I have rolled back to 2.9.22 and all working perfectly.

<!-- gh-comment-id:1500875321 --> @danielowen777 commented on GitHub (Apr 8, 2023): I am experiencing same issue running on Ubuntu LTS 22.02. Restarting the container fixes it but no use if the server power cycles as requires manual restart. I have rolled back to 2.9.22 and all working perfectly.
Author
Owner

@meckitt commented on GitHub (Apr 8, 2023):

Have the same issue... Rolled back to 2.9.22 aswell

<!-- gh-comment-id:1500974961 --> @meckitt commented on GitHub (Apr 8, 2023): Have the same issue... Rolled back to 2.9.22 aswell
Author
Owner

@ScottSucksAtProgramming commented on GitHub (Apr 14, 2023):

I found a way to fix this on my install. Hopefully what I did might help. You can take a look at my post here: Doesn't work after reboot #106

<!-- gh-comment-id:1507759182 --> @ScottSucksAtProgramming commented on GitHub (Apr 14, 2023): I found a way to fix this on my install. Hopefully what I did might help. You can take a look at my post here: [Doesn't work after reboot #106](https://github.com/ej52/proxmox-scripts/issues/106#issuecomment-1507741305)
Author
Owner

@bleomycin commented on GitHub (Apr 21, 2023):

I found a way to fix this on my install. Hopefully what I did might help. You can take a look at my post here: Doesn't work after reboot #106

Unfortunately this didn't work for me :(

<!-- gh-comment-id:1518290919 --> @bleomycin commented on GitHub (Apr 21, 2023): > I found a way to fix this on my install. Hopefully what I did might help. You can take a look at my post here: [Doesn't work after reboot #106](https://github.com/ej52/proxmox-scripts/issues/106#issuecomment-1507741305) Unfortunately this didn't work for me :(
Author
Owner

@arthurgeek commented on GitHub (Apr 24, 2023):

even rolling back to 2.9.22 doesn't fix the issue for me. nginx can be started If container is recreated, but can't start after reboot. I had some power issues at home and noticed this every single time :(.

<!-- gh-comment-id:1520264917 --> @arthurgeek commented on GitHub (Apr 24, 2023): even rolling back to `2.9.22` doesn't fix the issue for me. nginx can be started If container is recreated, but can't start after reboot. I had some power issues at home and noticed this every single time :(.
Author
Owner

@KenzoB73 commented on GitHub (May 3, 2023):

Same here, 2.9.22 didn't fix it, but removal and recreation of the container works.

<!-- gh-comment-id:1533370256 --> @KenzoB73 commented on GitHub (May 3, 2023): Same here, 2.9.22 didn't fix it, but removal and recreation of the container works.
Author
Owner

@brianjw commented on GitHub (May 3, 2023):

Running NPM 2.10.2 on a Synology DS 218+ in a docker container - same issue as everyone else. After reboot, NPM is throwing errors and won't start properly. After removing the container and recreating it, everything is working again.

<!-- gh-comment-id:1533736447 --> @brianjw commented on GitHub (May 3, 2023): Running NPM 2.10.2 on a Synology DS 218+ in a docker container - same issue as everyone else. After reboot, NPM is throwing errors and won't start properly. After removing the container and recreating it, everything is working again.
Author
Owner

@rymancl commented on GitHub (May 3, 2023):

Running NPM 2.10.2 on a Synology DS 218+ in a docker container - same issue as everyone else. After reboot, NPM is throwing errors and won't start properly. After removing the container and recreating it, everything is working again.

Good suggestion. In my case, you don't even have to remove and recreate the container. Running a docker-compose restart on the NPM service is plenty. I run this after my standard docker-compose up for the whole stack.

<!-- gh-comment-id:1533863959 --> @rymancl commented on GitHub (May 3, 2023): > Running NPM 2.10.2 on a Synology DS 218+ in a docker container - same issue as everyone else. After reboot, NPM is throwing errors and won't start properly. After removing the container and recreating it, everything is working again. Good suggestion. In my case, you don't even have to remove and recreate the container. Running a `docker-compose restart` on the NPM service is plenty. I run this after my standard `docker-compose up` for the whole stack.
Author
Owner

@arthurgeek commented on GitHub (May 8, 2023):

Are there any fix to this?

<!-- gh-comment-id:1538054607 --> @arthurgeek commented on GitHub (May 8, 2023): Are there any fix to this?
Author
Owner

@redtripleAAA commented on GitHub (May 9, 2023):

I have this instance running for many years, after rebooting the host. The host started.

Note: using this tag fixed the issue for me for now # 2.9.22

<!-- gh-comment-id:1540261136 --> @redtripleAAA commented on GitHub (May 9, 2023): I have this instance running for many years, after rebooting the host. The host started. Note: using this tag fixed the issue for me for now # 2.9.22
Author
Owner

@arthurgeek commented on GitHub (May 21, 2023):

fixed with v2.10.3.

<!-- gh-comment-id:1556164893 --> @arthurgeek commented on GitHub (May 21, 2023): fixed with [v2.10.3](https://github.com/NginxProxyManager/nginx-proxy-manager/releases/tag/v2.10.3).
Author
Owner

@brianjw commented on GitHub (May 23, 2023):

fixed with v2.10.3.

Confirmed fixed on my end with 2.10.3 as well.

<!-- gh-comment-id:1560180595 --> @brianjw commented on GitHub (May 23, 2023): > fixed with [v2.10.3](https://github.com/NginxProxyManager/nginx-proxy-manager/releases/tag/v2.10.3). Confirmed fixed on my end with 2.10.3 as well.
Author
Owner

@flygav1 commented on GitHub (Jun 11, 2024):

still not fixed

<!-- gh-comment-id:2159635026 --> @flygav1 commented on GitHub (Jun 11, 2024): still not fixed
Author
Owner

@Fernando123Duran commented on GitHub (Aug 14, 2024):

The problem persists in version 2.11.0 and 2.11.3, the latest to date.
Any solution?

<!-- gh-comment-id:2289998933 --> @Fernando123Duran commented on GitHub (Aug 14, 2024): The problem persists in version 2.11.0 and 2.11.3, the latest to date. Any solution?
Author
Owner

@rpgdev commented on GitHub (Aug 23, 2024):

Why was this closed if it's still happening? I restart the container to back it up and usually the first few times I access it it plainly don't work until after I manually hit the nginxpm web admin interface.. then it "wakes up" and I'm able to access the other addresses it serves once more.

<!-- gh-comment-id:2306980191 --> @rpgdev commented on GitHub (Aug 23, 2024): Why was this closed if it's still happening? I restart the container to back it up and usually the first few times I access it it plainly don't work until after I manually hit the nginxpm web admin interface.. then it "wakes up" and I'm able to access the other addresses it serves once more.
Author
Owner

@rpgdev commented on GitHub (Aug 23, 2024):

I found a way to fix this on my install. Hopefully what I did might help. You can take a look at my post here: Doesn't work after reboot #106

I tried this and can confirm for this thread that it works (so far).

<!-- gh-comment-id:2307035890 --> @rpgdev commented on GitHub (Aug 23, 2024): > I found a way to fix this on my install. Hopefully what I did might help. You can take a look at my post here: [Doesn't work after reboot #106](https://github.com/ej52/proxmox-scripts/issues/106#issuecomment-1507741305) I tried this and can confirm for this thread that it works (so far).
Author
Owner

@eniskastrati commented on GitHub (Dec 14, 2024):

Still not working for me:

Temporary Solution for my server was to add to the crontab:
@reboot docker compose -f /path/to/file.yaml up -d

<!-- gh-comment-id:2543336983 --> @eniskastrati commented on GitHub (Dec 14, 2024): Still not working for me: Temporary Solution for my server was to add to the crontab: @reboot docker compose -f /path/to/file.yaml up -d
Author
Owner

@rpgdev commented on GitHub (Dec 14, 2024):

@eniskastrati have you pulled the latest image? I removed the workaround and updated the image and it hasn't happened again.

<!-- gh-comment-id:2543370746 --> @rpgdev commented on GitHub (Dec 14, 2024): @eniskastrati have you pulled the latest image? I removed the workaround and updated the image and it hasn't happened again.
Author
Owner

@eniskastrati commented on GitHub (Dec 18, 2024):

Well it was just a mistake from me.

I had to define restart: always instead of restart: unless-stopped. During shutdown the docker daemon stops all of the services and will not start them again.

Also the documentation for this Restart Policy Docker.

<!-- gh-comment-id:2550906236 --> @eniskastrati commented on GitHub (Dec 18, 2024): Well it was just a mistake from me. I had to define restart: always instead of restart: unless-stopped. During shutdown the docker daemon stops all of the services and will not start them again. Also the documentation for this [Restart Policy Docker](https://docs.docker.com/config/containers/start-containers-automatically/#use-a-restart-policy).
Author
Owner

@DoctorS commented on GitHub (Jan 16, 2025):

Make sure that native nginx is not using the same port. It can auto-start after a reboot.

<!-- gh-comment-id:2595903500 --> @DoctorS commented on GitHub (Jan 16, 2025): Make sure that native nginx is not using the same port. It can auto-start after a reboot.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#1921
No description provided.