Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. {erl} Admin und Host manuell installieren

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    {erl} Admin und Host manuell installieren

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

      Hallo

      ich habe versucht per Web Interface das "Admin" Modul zu aktualisieren.

      Das war nach 15 min immer noch nicht fertig. Dann habe ich den RasPi neu gestartet

      Jetzt komme ich nicht mehr auf die Web Oberfläche des ioBroker.

      Da der Reiter "Host" auch grün war, hätte ich gern gewusst, wie man beide Module per Kommandozeile auf dem Raspi auf die aktuelle Version bringt.

      Danke

      1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators last edited by

        Auweia!

        Der Host muss über die Konsole upgedated werden. So steht es in neueren Versionen des Admins auch drin 😉 (Wie alt war denn dein admin?)

        Ich finde gerade die entsprechenden Threads nicht mehr, aber es muss jetzt so in etwa laufen:

        als root!

        cd /opt/iobroker
        iobroker stop
        npm cache clean
        npm install iobroker.jscontroller --production
        npm install iobroker.admin
        iobroker start
        

        Immer erst den js-controller (HOST) dann den admin updaten.

        viel Glück

        Rainer

        1 Reply Last reply Reply Quote 0
        • nieIP
          nieIP last edited by

          ein zwischezeitliche

          iobroker upgrade
          

          brachte

          Adapter "wolf"           is not installed.
          Adapter "xs1"            is not installed.
          Adapter "yamaha"         is not installed.
          Adapter "yr"             is up to date.
          Adapter "zwave"          is not installed.
          npm install iobroker.js-controller --production --prefix "/opt/iobroker" (System call)
          npm ERR! Linux 4.4.21-v7+
          npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.js-controller" "--production" "--prefix" "/opt/iobroker"
          npm ERR! node v6.9.4
          npm ERR! npm  v3.10.10
          npm ERR! path /opt/iobroker/node_modules/.staging/abbrev-bc1a4de2
          npm ERR! code ENOENT
          npm ERR! errno -2
          npm ERR! syscall rename
          
          npm ERR! enoent ENOENT: no such file or directory, rename '/opt/iobroker/node_modules/.staging/abbrev-bc1a4de2' -> '/opt/iobroker/node_modules/npm/node_modules/abbrev'
          npm ERR! enoent ENOENT: no such file or directory, rename '/opt/iobroker/node_modules/.staging/abbrev-bc1a4de2' -> '/opt/iobroker/node_modules/npm/node_modules/abbrev'
          npm ERR! enoent This is most likely not a problem with npm itself
          npm ERR! enoent and is related to npm not being able to find a file.
          npm ERR! enoent
          
          npm ERR! Please include the following file with any support request:
          npm ERR!     /root/npm-debug.log
          host.raspi-3 Cannot install iobroker.js-controller: 254
          root@raspi-3:~#
          
          1 Reply Last reply Reply Quote 0
          • nieIP
            nieIP last edited by

            Hallo Rainer

            habe wohl grössere Probleme

            kann aber erst heute Abend weiter suchen 😞

            root@raspi-3:/opt/iobroker# npm cache clean
            root@raspi-3:/opt/iobroker# npm install iobroker.jscontroller --production
            npm ERR! Linux 4.4.21-v7+
            npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.jscontroller" "--production"
            npm ERR! node v6.9.4
            npm ERR! npm  v3.10.10
            npm ERR! code E404
            
            npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/iobroker.jscontroller
            npm ERR! 404
            npm ERR! 404  'iobroker.jscontroller' is not in the npm registry.
            npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
            npm ERR! 404
            npm ERR! 404 Note that you can also install from a
            npm ERR! 404 tarball, folder, http url, or git url.
            
            npm ERR! Please include the following file with any support request:
            npm ERR!     /opt/iobroker/npm-debug.log
            root@raspi-3:/opt/iobroker#
            
            1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators last edited by

              @nieIP:

              oot@raspi-3:/opt/iobroker# npm install iobroker.jscontroller –production `
              SORRY!

              Mein Fehler!

              muss heissen:

              npm install iobroker.js-controller --production
              

              Gruß

              Rainer

              1 Reply Last reply Reply Quote 0
              • nieIP
                nieIP last edited by

                root@raspi-3:/opt/iobroker# npm install iobroker.js-controller --production
                npm WARN deprecated node-uuid@1.4.7: use uuid module instead
                npm WARN prefer global node-gyp@3.4.0 should be installed with -g
                
                

                war das Ergebnis. Sagt mir aber nichts.

                root@raspi-3:~# npm install iobroker.admin --production
                

                brachte dann

                npm WARN enoent ENOENT: no such file or directory, open '/root/package.json'
                npm WARN root No description
                npm WARN root No repository field.
                npm WARN root No README data
                npm WARN root No license field.
                root@raspi-3:~# iobroker start
                Starting iobroker controller daemon...
                iobroker controller daemon started. PID: 1175
                
                

                Auf die Web Oberfläche komme ich aber trotzdem noch nicht.

                Meinetwegen installiere ich das ganze ioBroker neu, möchte nur nicht die bisherigen Daten und Einstellungen verlieren 😞

                Gibt es eine Schritt für Schritt Diagnose, um zu ergründen wo es klemmt?

                1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators last edited by

                  sieht aber vielversprechend aus.

                  @nieIP:

                  Gibt es eine Schritt für Schritt Diagnose, um zu ergründen wo es klemmt? `
                  Natürlich 😉

                  http://www.iobroker.net/?page_id=3928&lang=de

                  Gruß

                  Rainer

                  1 Reply Last reply Reply Quote 0
                  • nieIP
                    nieIP last edited by

                    Ok schrittweise ….

                    iobroker.js-con läuft

                    Aber bei den Netzwerkport ist IMHO ein Problem

                    Wenn meine nicht vorhandenen Linux Kenntnisse das richtig deuten, gibt es nur Einträge für IPV6 ??

                    Unter TCP ist nichts zu sehen, was mit ioBroker zu tun hat.

                    tcp6       0      0 :::9000                 :::*                    LISTEN      721/iobroker.js-con
                    tcp6       0      0 :::9001                 :::*                    LISTEN      721/iobroker.js-con
                    tcp6       0      0 :::139                  :::*                    LISTEN      770/smbd
                    tcp6       0      0 :::22                   :::*                    LISTEN      541/sshd
                    tcp6       0      0 :::445                  :::*                    LISTEN      770/smbd
                    tcp6       0      0 127.0.0.1:9000          127.0.0.1:42566         VERBUNDEN   721/iobroker.js-con
                    tcp6       0      0 127.0.0.1:9001          127.0.0.1:50952         VERBUNDEN   721/iobroker.js-con
                    tcp6       0      0 127.0.0.1:9001          127.0.0.1:50874         VERBUNDEN   721/iobroker.js-con
                    tcp6       0      0 127.0.0.1:9001          127.0.0.1:50902         VERBUNDEN   721/iobroker.js-con
                    tcp6       0      0 127.0.0.1:9001          127.0.0.1:50928         VERBUNDEN   721/iobroker.js-con
                    tcp6       0      0 127.0.0.1:9000          127.0.0.1:42594         VERBUNDEN   721/iobroker.js-con
                    tcp6       0      0 127.0.0.1:9000          127.0.0.1:42658         VERBUNDEN   721/iobroker.js-con
                    tcp6       0      0 127.0.0.1:9000          127.0.0.1:42642         VERBUNDEN   721/iobroker.js-con
                    tcp6       0      0 127.0.0.1:9001          127.0.0.1:50968         VERBUNDEN   721/iobroker.js-con
                    tcp6       0      0 127.0.0.1:9000          127.0.0.1:42618         VERBUNDEN   721/iobroker.js-con
                    
                    1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators last edited by

                      @nieIP:

                      Wenn meine nicht vorhandenen Linux Kenntnisse das richtig deuten, gibt es nur Einträge für IPV6 ?? `
                      da ich nicht viel mehr habe irritiert mich die dahinter in IPv4 Format angegebenen IP-Adressen.

                      Ich bin da ganz bei dir, der Controller läuft, aber du kommst nicht auf das Webinterface des admin.

                      Dies hier habe ich noch auf die Schnelle gefunden:

                      ps -A | grep io
                      

                      sollte IMHO die laufenden ioBroker Prozesse anzeigen.

                      Gruß

                      Rainer

                      1 Reply Last reply Reply Quote 0
                      • nieIP
                        nieIP last edited by

                        das Geheimnis war offenbar wieder

                        iobroker upload adapterName
                        iobroker start adapterName
                        

                        Admin neu installiet und "upload" gemacht.

                        Gute Anleitung!!

                        Jetzt geht es wieder 🙂

                        Danke für die Anteilnahme 😉

                        1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators last edited by

                          @nieIP:

                          Jetzt geht es wieder 🙂 `
                          So muss es sein.

                          Dann lies mal deine PN!

                          Gruß

                          Rainer

                          1 Reply Last reply Reply Quote 0
                          • nieIP
                            nieIP last edited by

                            @Homoran:

                            Dann lies mal deine PN!

                            Gruß

                            Rainer `

                            angeblich gibt es ja noch ein Leben ausserhalb der HM. Bin dann mal wieder weg.

                            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

                            734
                            Online

                            32.0k
                            Users

                            80.4k
                            Topics

                            1.3m
                            Posts

                            2
                            12
                            35033
                            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