Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. m76

    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

    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 44
    • Best 0
    • Groups 1

    m76

    @m76

    0
    Reputation
    16
    Profile views
    44
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    m76 Follow
    Starter

    Latest posts made by m76

    • RE: web adapter PR_END_OF_FILE_ERROR und INVALID_HOSTNAME

      @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

      posted in ioBroker Allgemein
      M
      m76
    • RE: web adapter PR_END_OF_FILE_ERROR und INVALID_HOSTNAME

      @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'
      ]
      
      posted in ioBroker Allgemein
      M
      m76
    • RE: web adapter PR_END_OF_FILE_ERROR und INVALID_HOSTNAME

      @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?

      posted in ioBroker Allgemein
      M
      m76
    • RE: web adapter PR_END_OF_FILE_ERROR und INVALID_HOSTNAME

      @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?

      posted in ioBroker Allgemein
      M
      m76
    • RE: web adapter PR_END_OF_FILE_ERROR und INVALID_HOSTNAME

      @m76

      hätte ich

      iobroker upgrade
      

      nach

      iobroker upgrade self
      

      noch machen müssen?

      posted in ioBroker Allgemein
      M
      m76
    • RE: web adapter PR_END_OF_FILE_ERROR und INVALID_HOSTNAME

      @thomas-braun

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

      posted in ioBroker Allgemein
      M
      m76
    • web adapter PR_END_OF_FILE_ERROR und INVALID_HOSTNAME

      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?

      posted in ioBroker Allgemein
      M
      m76
    • RE: IoBroker und Adapter updaten

      @thomas-braun said in IoBroker und Adapter updaten:

      @m76
      root sollte keine npm-Dinge laufen haben. Du willst kein node-Zeuch im root-Kontext laufen haben.

      Jo, das Meiste denke ich ist alter Kram von nem Test, Danke!

      posted in ioBroker Allgemein
      M
      m76
    • RE: IoBroker und Adapter updaten

      @thomas-braun

      argl, erstmal danke für die Infos, aber das wird ne größere Sache...

      which npm
      /usr/local/bin/npm
      zeigt dann unter:
      /usr/local/lib/node_modules/
      
      

      Feststeht ich muss erst mal nodejs (und damit npm) gerade ziehen.
      Würde das erstmal per tar sichern und dann entfernen und dann repo
      nach deiner Anleitung hinzufügen und nodejs12 und installieren.

      Ich habe nen user "iobroker" und "root" die npm brauchen. Sollte ich hier dann die .npm-Verzeichnisse auch entfernen?

      posted in ioBroker Allgemein
      M
      m76
    • RE: IoBroker und Adapter updaten

      @thomas-braun said in IoBroker und Adapter updaten:

      Von automatischen Updates per cron oder ähnlichem würde ich persönlich auch abraten. Ich weiß gerne, was sich auf meinem System ändert. Macht die Suche nach Fehlern leichter.

      Das klappt ganz gut, ich bekomme dann ne mail mit Infos

      posted in ioBroker Allgemein
      M
      m76
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo