Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Probleme mit NGINX Proxy Manager

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Probleme mit NGINX Proxy Manager

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      Peter213 last edited by

      Hallo,

      vielleicht könnt ihr mir weiterhelfen.

      Ich habe zu Hause und auf der Arbeit jeweils einen NGINX Proxy Manager laufen auf einem Debian System mit Portainer und Bitwarden.
      Beide sind genau gleich und laufen seit August 2021 ohne das ich irgendwas dran gemacht habe. Keine Updates usw.
      Heute wollte ich mich auf der Arbeit beim Bitwarden anmelden und kam nicht mehr drauf. Habe dann in den Portainer geschaut und dort gesehen das der NGINX nicht mehr wollte. Jetzt habe ich viel probiert und auch schon die kompletten Container gelöscht und neu eingerichtet. Es kommt aber immer wieder folgendes im Log:

      nginx: [emerg] still could not bind()
      migration file "20211108145214_regenerate_default_host.js" failed
      migration failed with error: Command failed: /usr/sbin/nginx -s reload
      nginx: [error] invalid PID number "" in "/var/run/nginx.pid"
      [2/8/2022] [7:56:51 PM] [Global   ] › ✖  error     Command failed: /usr/sbin/nginx -s reload
      nginx: [error] invalid PID number "" in "/var/run/nginx.pid"
      Disabling IPV6 in hosts
      ❯ Disabling IPV6 in hosts: /etc/nginx/conf.d
        ❯ /etc/nginx/conf.d/include/letsencrypt-acme-challenge.conf
        ❯ /etc/nginx/conf.d/include/block-exploits.conf
        ❯ /etc/nginx/conf.d/include/assets.conf
        ❯ /etc/nginx/conf.d/include/force-ssl.conf
        ❯ /etc/nginx/conf.d/include/ssl-ciphers.conf
        ❯ /etc/nginx/conf.d/include/proxy.conf
        ❯ /etc/nginx/conf.d/include/ip_ranges.conf
        ❯ /etc/nginx/conf.d/include/resolvers.conf
        ❯ /etc/nginx/conf.d/default.conf
        ❯ /etc/nginx/conf.d/production.conf
      Disabling IPV6 in hosts
      ❯ Disabling IPV6 in hosts: /data/nginx
        ❯ /data/nginx/proxy_host/1.conf
        ❯ /data/nginx/default_host/site.conf
        ❯ /data/nginx/stream/1.conf
      nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
      nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
      [2/8/2022] [7:56:52 PM] [Migrate  ] › ℹ  info      Current database version: 20210423103500
      [2/8/2022] [7:56:52 PM] [Migrate  ] › ℹ  info      [stream_domain] Migrating Up...
      nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
      [2/8/2022] [7:56:52 PM] [Nginx    ] › ℹ  info      Reloading Nginx
      migration file "20211108145214_regenerate_default_host.js" failed
      migration failed with error: Command failed: /usr/sbin/nginx -s reload
      nginx: [error] invalid PID number "" in "/var/run/nginx.pid"
      [2/8/2022] [7:56:52 PM] [Global   ] › ✖  error     Command failed: /usr/sbin/nginx -s reload
      nginx: [error] invalid PID number "" in "/var/run/nginx.pid"
      

      Es läuft aber ja garnichts anderes in dem Docker Container so das der Port ja nicht belegt sein kann. Ich komme aber nicht auf das Admin Interface über Port 81.

      Habe die Docker-compose.yml direkt von der Homepage genommen. Man kann da ja eigentlich nichts falsch machen. Verstehe einfach nicht wie das von heute auf morgen nicht mehr gehen kann.

      Vielleicht hat einer ja eine Idee.

      Meister Mopper 1 Reply Last reply Reply Quote 0
      • Meister Mopper
        Meister Mopper @Peter213 last edited by

        @peter213

        Du könntest mit den net-tools ja mal schauen, was da den port belegt.

        Net-tools installieren und schauen:
        sudo apt update && sudo apt install net-tools -y
        sudo netstat -tulpn

        P 1 Reply Last reply Reply Quote 0
        • P
          Peter213 @Meister Mopper last edited by

          @meister-mopper

          der port wird vom NGINX selber belegt. Das ist ja das merkwürdige. Im Docker Container ist ja auch nichts anderes drin.

          Er will das ganze irgendwie doppelt starten. Im Portainer sieht das auch komisch aus, da hat er die Ports doppelt drin...

          db1a68c5-11a3-44fc-8fba-03bd2ea227e9-image.png

          root@docker-e5e691244dcd:/app]# netstat -tulpn
          Active Internet connections (only servers)
          Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
          tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      14052/nginx         
          tcp        0      0 0.0.0.0:81              0.0.0.0:*               LISTEN      14052/nginx         
          tcp        0      0 127.0.0.11:44917        0.0.0.0:*               LISTEN      -                   
          tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      14052/nginx         
          udp        0      0 0.0.0.0:443             0.0.0.0:*                           14052/nginx         
          udp        0      0 127.0.0.11:33350        0.0.0.0:*                           -                   
          [root@docker-e5e691244dcd:/app]# 
          
          Meister Mopper 1 Reply Last reply Reply Quote 0
          • Meister Mopper
            Meister Mopper @Peter213 last edited by

            @peter213

            Hast Du das über einen docker-compose stack in Portainer installiert oder direkt. Hast Du ipv6 zusätzlich aktiviert?

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Support us

            ioBroker
            Community Adapters
            Donate

            912
            Online

            31.7k
            Users

            79.8k
            Topics

            1.3m
            Posts

            2
            4
            912
            Loading More Posts
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes
            Reply
            • Reply as topic
            Log in to reply
            Community
            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
            The ioBroker Community 2014-2023
            logo