Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. sudo iobroker update Fehler

    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

    SOLVED sudo iobroker update Fehler

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

      Hallo,
      ich möchte meinen Raspberry IOBroker updaten.
      Leider bekomme ich folgenden Fehler beim Update (sudo iobroker update)

      undefined server error
      undefined Error: server error
          at Socket.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:445:19)
          at XHR.<anonymous> (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:268:10)
          at XHR.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
          at XHR.Transport.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/transport.js:145:8)
          at callback (/opt/iobroker/node_modules/engine.io-client/lib/transports/polling.js:144:10)
          at Object.exports.decodePayload (/opt/iobroker/node_modules/engine.io-parser/lib/index.js:309:18)
          at XHR.Polling.onData (/opt/iobroker/node_modules/engine.io-client/lib/transports/polling.js:148:10)
          at Request.<anonymous> (/opt/iobroker/node_modules/engine.io-client/lib/transports/polling-xhr.js:126:10)
          at Request.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
          at Request.onData (/opt/iobroker/node_modules/engine.io-client/lib/transports/polling-xhr.js:296:8)
      
      

      Hat jemand einen Tipp was ich da machen kann?

      VG
      Lindi

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

        @lindi200000 sagte in sudo iobroker update Fehler:

        ich habe es über Curl installiert

        @lindi200000 sagte in sudo iobroker update Fehler:

        vor paar Monaten

        Dann bitte den Installationsfixer drüberlaufen lassen.
        Und danach bei den iobroker xxx befehlen kein sudo verwenden

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

          @lindi200000

          Bitte das Log etwas umfangreicher.
          Mindestens der ursächliche Befehl und die Fehlermeldung Exxx sollten zu sehen sein.

          1 Reply Last reply Reply Quote 0
          • L
            lindi200000 last edited by

            der befehl steht ja da
            sudo iobroker update

            Mehr als die Fehlermeldung im Code oben, bekomme ich nicht in der Console.

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

              @lindi200000 sagte in sudo iobroker update Fehler:

              der befehl steht ja da

              Kann ich im log nicht sehen

              1 Reply Last reply Reply Quote 0
              • L
                lindi200000 last edited by lindi200000

                ich habe jetzt mal noch bisschen weiter geschaut, iwas scheint mit npm nicht zu stimmen.

                root@raspberrypi:/opt/iobroker# npm audit fix
                npm ERR! code ELOCKVERIFY
                npm ERR! Errors were found in your package-lock.json, run  npm install  to fix them.
                npm ERR!     Invalid: lock file's iobroker.admin@3.6.0 does not satisfy iobroker.admin@^3.6.2
                npm ERR!     Invalid: lock file's iobroker.js-controller@1.4.2 does not satisfy iobroker.js-controller@^1.5.12
                npm ERR!     Missing: iobroker.mihome@^1.2.6
                npm ERR!     Missing: iobroker.ping@^1.3.2
                npm ERR!     Missing: iobroker.samsung@^0.2.9
                npm ERR!     Missing: iobroker.upnp@^1.0.11
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /root/.npm/_logs/2019-06-06T20_14_31_082Z-debug.log
                
                
                root@raspberrypi:/opt/iobroker# cat /root/.npm/_logs/2019-06-06T20_14_31_082Z-debug.log
                0 info it worked if it ends with ok
                1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'audit', 'fix' ]
                2 info using npm@6.4.1
                3 info using node@v8.15.1
                4 verbose npm-session 3de52e5f8bc4d090
                5 verbose stack Error: Errors were found in your package-lock.json, run  npm install  to fix them.
                5 verbose stack     Invalid: lock file's iobroker.admin@3.6.0 does not satisfy iobroker.admin@^3.6.2
                5 verbose stack     Invalid: lock file's iobroker.js-controller@1.4.2 does not satisfy iobroker.js-controller@^1.5.12
                5 verbose stack     Missing: iobroker.mihome@^1.2.6
                5 verbose stack     Missing: iobroker.ping@^1.3.2
                5 verbose stack     Missing: iobroker.samsung@^0.2.9
                5 verbose stack     Missing: iobroker.upnp@^1.0.11
                5 verbose stack     at lockVerify.then (/usr/lib/node_modules/npm/lib/audit.js:163:19)
                5 verbose stack     at <anonymous>
                6 verbose cwd /opt/iobroker
                7 verbose Linux 4.9.35-v7+
                8 verbose argv "/usr/bin/node" "/usr/bin/npm" "audit" "fix"
                9 verbose node v8.15.1
                10 verbose npm  v6.4.1
                11 error code ELOCKVERIFY
                12 error Errors were found in your package-lock.json, run  npm install  to fix them.
                12 error     Invalid: lock file's iobroker.admin@3.6.0 does not satisfy iobroker.admin@^3.6.2
                12 error     Invalid: lock file's iobroker.js-controller@1.4.2 does not satisfy iobroker.js-controller@^1.5.12
                12 error     Missing: iobroker.mihome@^1.2.6
                12 error     Missing: iobroker.ping@^1.3.2
                12 error     Missing: iobroker.samsung@^0.2.9
                12 error     Missing: iobroker.upnp@^1.0.11
                13 verbose exit [ 1, true ]
                

                in der IOBroker Log wird mir noch folgendes angezeigt:

                host.raspberrypi	2019-06-06 22:16:44.458	error	Error: EACCES: permission denied, open '/opt/iobroker/node_modules/iobroker.js-controller/pids.txt' at Object.fs.openSync (fs.js:646:18) at Object.fs.writeFileSync (fs.js:1299:33) at Timeo
                host.raspberrypi	2019-06-06 22:16:44.455	error	uncaught exception: EACCES: permission denied, open '/opt/iobroker/node_modules/iobroker.js-controller/pids.txt'
                
                root@raspberrypi:/opt/iobroker/node_modules/iobroker.js-controller# ls -l
                total 244
                -rw-r--r--+  1 root root  32691 Oct 26  1985 CHANGELOG.md
                drwxr-xr-x+  2 root root   4096 Jun  6 22:05 conf
                -rw-r--r--+  1 root root 121216 Oct 26  1985 controller.js
                -rw-r--r--+  1 root root     57 Oct 26  1985 iob
                -rw-r--r--+  1 root root     40 Oct 26  1985 iob.bat
                -rwxr-xr-x+  1 root root     47 Oct 26  1985 iobroker.js
                -rw-r--r--+  1 root root  27916 Oct 26  1985 io-package.json
                drwxr-xr-x+  9 root root   4096 Jun  6 22:05 lib
                -rw-r--r--+  1 root root   1157 Oct 26  1985 LICENSE
                drwxr-xr-x+ 13 root root   4096 Jun  6 22:05 node_modules
                -rw-r--r--+  1 root root   4321 Jun  6 22:05 package.json
                -rw-r--r--+  1 root root   4632 Oct 26  1985 README.md
                -rw-r--r--+  1 root root   5868 Oct 26  1985 reinstall.js
                drwxrwxr-x+  2 root root   4096 Jun  6 22:05 tmp
                -rw-r--r--+  1 root root   4731 Oct 26  1985 tsconfig.json
                
                

                da sehe ich eigentlich keine Rechte Probleme, außer das die pids.txt datei nicht existiert

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

                  @lindi200000
                  Danke, da kann man jetzt was zu sagen.

                  Wann hast du installiert?
                  Wie (npm install... oder curl....)?

                  Schon mal den Installationsfixer drüber gefahren?

                  L 1 Reply Last reply Reply Quote 0
                  • L
                    lindi200000 @Homoran last edited by lindi200000

                    @Homoran said in sudo iobroker update Fehler:

                    Installationsfixer

                    Installationsfixer?
                    Installiert habe ich vor paar Monaten, aber diese Woche ein Update auf die 1.5.13 versucht, seit dem die Fehler.

                    hab vergessen zu sagen, das es sich beim Pi um ein Slave handelt, der master ist eine Windows Maschine, da scheint es keine Probleme zu geben.

                    Ich vermute das ich damals über npm das ganze installiert habe, ich kann es nicht mehr sagen.

                    //Edit: mein backlog sagt, ich habe es über Curl installiert.

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

                      @lindi200000 sagte in sudo iobroker update Fehler:

                      ich habe es über Curl installiert

                      @lindi200000 sagte in sudo iobroker update Fehler:

                      vor paar Monaten

                      Dann bitte den Installationsfixer drüberlaufen lassen.
                      Und danach bei den iobroker xxx befehlen kein sudo verwenden

                      1 Reply Last reply Reply Quote 0
                      • L
                        lindi200000 last edited by

                        @Homoran said in sudo iobroker update Fehler:

                        Installationsfixer

                        thx, das scheint geklappt zu haben 🙂

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        812
                        Online

                        31.8k
                        Users

                        80.0k
                        Topics

                        1.3m
                        Posts

                        1.5.13 raspberry update error
                        2
                        9
                        722
                        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