Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. web adapter PR_END_OF_FILE_ERROR und INVALID_HOSTNAME

    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

    web adapter PR_END_OF_FILE_ERROR und INVALID_HOSTNAME

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

      Hi,

      ich wollte den js-controller updaten auf 3.2.16:

      npm install iobroker.js-controller --prefix "/opt/iobroker"
      

      danach geht vis view nicht mehr und im log sehe ich:

      2021-02-25 14:03:45.863  - error: web.0 (305) [LE] {"code":"INVALID_HOSTNAME","context":"add"}
      
      

      Im Browser sehe ich:

      Secure Connection Failed
      
      An error occurred during a connection to rasp4:8082. PR_END_OF_FILE_ERROR
      

      Zurück auf 3.1.6:

      iobroker@rasp4:/opt/iobroker $ npm install iobroker.js-controller@3.1.6 --prefix "/opt/iobroker"
      

      geht wieder alles.

      Ne Idee was ich falsch mache?

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @m76 last edited by

        @m76 Ja, du nimmst falschen Befehle

        iobroker update 
        iobroker stop
        iobroker upgrade self
        iobroker start
        
        M 1 Reply Last reply Reply Quote 0
        • M
          m76 @Thomas Braun last edited by

          @thomas-braun

          Leider das gleiche Ergebnis, wie mache ich dann den downgrade wieder richtig?

          M 1 Reply Last reply Reply Quote 0
          • M
            m76 @m76 last edited by

            @m76

            hätte ich

            iobroker upgrade
            

            nach

            iobroker upgrade self
            

            noch machen müssen?

            Thomas Braun 2 Replies Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @m76 last edited by Thomas Braun

              @m76

              iobroker upgrade
              

              ist für 'simple' Adapter,

              upgrade self
              

              für den js-controller.

              Du solltest dich allerdings nicht als user iobroker anmelden.
              Du agierst ausschließlich mit dem Standard user mit der UID = 1000.

              Abgesicherte Verbindung? Let's Encrypt oder sowas aktiv?

              M 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @m76 last edited by Thomas Braun

                @m76 Wenn ich mir den Vorgänger-Thread
                https://forum.iobroker.net/topic/7546/iobroker-und-adapter-updaten/11
                so anschaue hast du dir das System komplett verwurschtelt.
                Da kann man dann auch keinen gescheiten Support mehr geben.

                1 Reply Last reply Reply Quote 0
                • M
                  m76 @Thomas Braun last edited by

                  @thomas-braun said in web adapter PR_END_OF_FILE_ERROR und INVALID_HOSTNAME:

                  @m76

                  iobroker upgrade
                  

                  ist für 'simple' Adapter,

                  upgrade self
                  

                  für den js-controller.

                  Du solltest dich allerdings nicht als user iobroker anmelden.
                  Du agierst ausschließlich mit dem Standard user mit der UID = 1000.

                  Abgesicherte Verbindung? Let's Encrypt oder sowas aktiv?

                  Ja Let's encrypt ist aktiv, mal ausschalten und nochmal testen?

                  Thomas Braun UncleSam 2 Replies Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @m76 last edited by

                    @m76
                    Keine Ahnung. Ich bin aber auch raus. Da sind mir die Grundlagen zu wackelig. Wer weiß was du da alles krummgefummelt hast.

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      m76 @Thomas Braun last edited by

                      @thomas-braun said in web adapter PR_END_OF_FILE_ERROR und INVALID_HOSTNAME:

                      @m76
                      Keine Ahnung. Ich bin aber auch raus. Da sind mir die Grundlagen zu wackelig. Wer weiß was du da alles krummgefummelt hast.

                      Ok, wie du magst zwingt dich keiner... Wenn du aber mir noch sagen könntest wegen dem "invalid hostname" ob ich mehr debug einschalten kann damit ich rausfinde aus welchem Code das kommt?

                      1 Reply Last reply Reply Quote 0
                      • UncleSam
                        UncleSam Developer @m76 last edited by UncleSam

                        @m76 sagte in web adapter PR_END_OF_FILE_ERROR und INVALID_HOSTNAME:

                        Ja Let's encrypt ist aktiv, mal ausschalten und nochmal testen?

                        Let's Encrypt unterstützt nur noch Port 443. Ist leider eine Einschränkung der darunter liegenden Library.

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          m76 @UncleSam last edited by m76

                          @unclesam said in web adapter PR_END_OF_FILE_ERROR und INVALID_HOSTNAME:

                          @m76 sagte in web adapter PR_END_OF_FILE_ERROR und INVALID_HOSTNAME:

                          Ja Let's encrypt ist aktiv, mal ausschalten und nochmal testen?

                          Let's Encrypt unterstützt nur noch Port 443. Ist leider eine Einschränkung der darunter liegenden Library.

                          Vielen DANK an Thomas und UncleSam, hab das Let's encrypt deaktiviert im web adapter und mache das nun mit "certbot.service" und hänge einfach die Certs über die Standardkonfiguration ein.

                          mittlerweile hab ich
                          node(js) v12.21.0
                          npm 6.14.11

                          Was ich mich frage ist bin ich mit 1.3.1 aktuell oder müsste ich auf 2.x?:

                          npm list iobroker 
                          iobroker.inst@1.3.1 /opt/iobroker
                          └── iobroker@1.3.1 
                          
                          npm view iobroker versions 
                           
                          [
                            '0.1.0', '0.1.1', '0.1.2', '0.1.3',
                            '0.1.4', '0.1.5', '0.1.6', '0.1.7',
                            '0.2.0', '0.2.1', '0.2.2', '0.5.1',
                            '0.5.2', '0.5.3', '0.5.4', '0.5.5',
                            '0.5.6', '0.6.0', '0.7.0', '0.7.1',
                            '0.9.0', '1.0.0', '1.0.1', '1.0.2',
                            '1.0.3', '1.0.4', '1.0.5', '1.0.6',
                            '1.0.7', '1.0.8', '1.1.0', '1.1.1',
                            '1.1.2', '1.3.0', '1.3.1', '2.0.0',
                            '2.0.1', '2.0.2', '2.0.3'
                          ]
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @m76 last edited by Thomas Braun

                            @m76

                            iob -v
                            

                            Die Versionsangaben aus npm sind nicht so wichtig.

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              m76 @Thomas Braun last edited by

                              @thomas-braun said in web adapter PR_END_OF_FILE_ERROR und INVALID_HOSTNAME:

                              @m76

                              iob -v
                              

                              Die Versionsangaben aus npm sind nicht so wichtig.

                              Dankeschön!

                              iob -v
                              3.2.16

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

                              Support us

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

                              775
                              Online

                              31.8k
                              Users

                              80.0k
                              Topics

                              1.3m
                              Posts

                              3
                              13
                              627
                              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