Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] Admin Adapter startet nicht mehr: SSL Zertifkate

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] Admin Adapter startet nicht mehr: SSL Zertifkate

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

      Ich war gerade dabei zu versuchen die SSL Zertifikate von meinem Webserver für den IO-Broker wiederzuverwerten indem ich die Pfade auf die PEM files eingefügt habe, jetzt bekomm ich den IO-Broker nicht mehr richtig gestartet, alle paar Sekunden startet er den Admin Adapter neu...

      2020-08-12 18:15:12.539  - info: host.Hostname instance system.adapter.admin.0 started with pid 30855
      2020-08-12 18:15:22.983  - info: admin.0 (30855) starting. Version 4.0.10 in /opt/iobroker/node_modules/iobroker.admin, node: v10.21.0, js-controller: 3.1.6
      2020-08-12 18:15:23.205  - info: admin.0 (30855) requesting all states
      2020-08-12 18:15:23.207  - info: admin.0 (30855) requesting all objects
      2020-08-12 18:15:24.862  - info: admin.0 (30855) received all objects
      2020-08-12 18:15:25.209  - error: admin.0 (30855) HTTPS server could not be started: Error: error:0909006C:PEM routines:get_name:no start line
      2020-08-12 18:15:25.315  - error: admin.0 (30855) uncaught exception: Cannot set property '__server' of undefined
      2020-08-12 18:15:25.316  - error: admin.0 (30855) TypeError: Cannot set property '__server' of undefined
          at __construct (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:795:36)
          at new Web (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:848:7)
          at adapter (/opt/iobroker/node_modules/iobroker.admin/main.js:393:53)
          at adapter.getObjectList (/opt/iobroker/node_modules/iobroker.admin/main.js:451:21)
          at (anonymous function).mget (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:128769)
          at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
          at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
          at process._tickCallback (internal/process/next_tick.js:68:7)
      2020-08-12 18:15:25.321  - info: admin.0 (30855) terminating https server on port 8081
      2020-08-12 18:15:25.409  - info: admin.0 (30855) terminating
      2020-08-12 18:15:25.414  - info: admin.0 (30855) Terminated (NO_ERROR): Without reason
      2020-08-12 18:15:26.046  - error: host.Hostname Caught by controller[0]: TypeError: Cannot set property '__server' of undefined
      2020-08-12 18:15:26.049  - error: host.Hostname Caught by controller[0]:     at __construct (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:795:36)
      2020-08-12 18:15:26.050  - error: host.Hostname Caught by controller[0]:     at new Web (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:848:7)
      2020-08-12 18:15:26.050  - error: host.Hostname Caught by controller[0]:     at adapter (/opt/iobroker/node_modules/iobroker.admin/main.js:393:53)
      2020-08-12 18:15:26.051  - error: host.Hostname Caught by controller[0]:     at adapter.getObjectList (/opt/iobroker/node_modules/iobroker.admin/main.js:451:21)
      2020-08-12 18:15:26.051  - error: host.Hostname Caught by controller[0]:     at (anonymous function).mget (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:128769)
      2020-08-12 18:15:26.052  - error: host.Hostname Caught by controller[0]:     at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
      2020-08-12 18:15:26.053  - error: host.Hostname Caught by controller[0]:     at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
      2020-08-12 18:15:26.054  - error: host.Hostname Caught by controller[0]:     at process._tickCallback (internal/process/next_tick.js:68:7)
      2020-08-12 18:15:26.055  - info: host.Hostname instance system.adapter.admin.0 terminated with code 0 (NO_ERROR)
      2020-08-12 18:15:26.055  - info: host.Hostname Restart adapter system.adapter.admin.0 because enabled
      

      Und der Web-Adapter (=vis & flot usw.) ist auch nicht mehr erreichbar...

      T 1 Reply Last reply Reply Quote 0
      • T
        tigiba @tigiba last edited by

        ah okey jetzt hab ich's geschafft wieder zugriff zu bekommen, indem ich per ssh eine neue instanz des admin adapters gemacht hab:

        iobroker add admin --enabled --port 8083

        und mit der das SSL für die erste admin instanz wieder deaktiviert hab.

        T 1 Reply Last reply Reply Quote 0
        • T
          tigiba @tigiba last edited by

          Jetzt bin ich ein bischen vorsichtiger vorgegangen und hab nur beim web adapter das ssl aufgedreht. bekomme folgenden fehler:

          2020-08-12 18:33:14.585  - error: web.0 (31333) HTTPS server could not be started: Error: error:0909006C:PEM routines:get_name:no start line
          2020-08-12 18:33:14.587  - error: web.0 (31333) Cannot create webserver
          2020-08-12 18:33:14.593  - info: web.0 (31333) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
          2020-08-12 18:33:15.133  - error: host.Hostname instance system.adapter.web.0 terminated by request of the instance itself and will not be restarted, before user restarts it.
          

          Was kann ich dagegen tun?

          T 1 Reply Last reply Reply Quote 0
          • T
            tigiba @tigiba last edited by

            also das Problem waren fehlende Leserechte. Hab diese jetzt mal manuell gesetzt, aber bei zukünftigen automtischen renewals werden die dann wohl wieder fehlen.. Dass muss ich noch rausfinden wie ich das sinnvoller lösen kann dass der IO-Broker die letsencrypt zertifikate lesen darf.

            T 1 Reply Last reply Reply Quote 1
            • T
              Teller @tigiba last edited by

              @tigiba
              Super Danke, hatte das selbe Problem.

              Lösung

              chmod 775 -R /etc/letsencrypt/live /etc/letsencrypt/archive 
              iobroker restart admin.0 -v
              
              1 Reply Last reply Reply Quote 1
              • First post
                Last post

              Support us

              ioBroker
              Community Adapters
              Donate
              FAQ Cloud / IOT
              HowTo: Node.js-Update
              HowTo: Backup/Restore
              Downloads
              BLOG

              867
              Online

              31.9k
              Users

              80.1k
              Topics

              1.3m
              Posts

              ssl ssl-zertifikat
              2
              5
              1343
              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