Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Upgrade fehlgeschlagen, startet nicht mehr

    NEWS

    • Monatsrückblick – September 2025

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    Upgrade fehlgeschlagen, startet nicht mehr

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

      @cino zwar nicht auf nem raspi, aber: https://forum.iobroker.net/topic/52549/massive-cpu-auslastung
      ging dann auch so weit, daß kein zugriff mehr möglich war.
      werd heute noch was zu dem ganzen schreiben... soviel mal nach einer mehr als mühsamen neuinstall:
      b9a2a359-953f-49db-8bba-58cf8943aa83-grafik.png

      thnx @opossum !!!

      1 Reply Last reply Reply Quote 1
      • wendy2702
        wendy2702 @Cino last edited by

        @cino sagte in Upgrade fehlgeschlagen, startet nicht mehr:

        Ich wollte eben upgraden. Auf 4.0.10

        Ist dann wahrscheinlich fehlgeschlagen, IOB startet auch nicht mehr auf dem RPi.

        Ist das jetzt der Master oder der Slave?

        Bei dem Upgrade auf einem Slave Host von IOB kriege ich bei dem Update ein no connection to database.
        Was kann das sein?

        Wenn der Master nicht läuft ist das normal. Siehe meine Frage oben.

        Von welcher Version zu 4.0.10?

        C 1 Reply Last reply Reply Quote 0
        • C
          Cino @wendy2702 last edited by

          @wendy2702 ist alles auf dem Master. Von 4.0.9 wollte ich das Upgrade machen.

          wendy2702 1 Reply Last reply Reply Quote 0
          • wendy2702
            wendy2702 @Cino last edited by

            @cino Und vorher IOB gestoppt und iob update gemacht ?

            was kommt bei

            iob status
            
            C 1 Reply Last reply Reply Quote 0
            • C
              Cino @wendy2702 last edited by

              @wendy2702 ja genau, wie in der Anleitung beschrieben.

              Das kommt bei Status raus.

              pi@iobroker:~ $ iob status
              Uncaught Rejection: TypeError: Cannot read properties of undefined (reading 'warning')
                  at ObjectsInMemoryServer.initBackupDir (/opt/iobroker/node_modules/@iobroker/db-base/lib/inMemFileDB.js:186:22)
                  at new InMemoryFileDB (/opt/iobroker/node_modules/@iobroker/db-base/lib/inMemFileDB.js:82:18)
                  at new ObjectsInMemoryFileDB (/opt/iobroker/node_modules/@iobroker/db-objects-file/lib/objects/objectsInMemFileDB.js:34:9)
                  at new ObjectsInMemoryJsonlDB (/opt/iobroker/node_modules/@iobroker/db-objects-jsonl/lib/objects/objectsInMemJsonlDB.js:34:9)
                  at new ObjectsInMemoryServer (/opt/iobroker/node_modules/@iobroker/db-objects-jsonl/lib/objects/objectsInMemServerRedis.js:57:9)
                  at new ObjectsInMemoryServerClass (/opt/iobroker/node_modules/@iobroker/db-objects-jsonl/lib/objects/objectsInMemServerClass.js:34:30)
                  at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:3109:27)
              
              
              wendy2702 1 Reply Last reply Reply Quote 0
              • wendy2702
                wendy2702 @Cino last edited by

                @cino Sorry…

                Muss gerade Sturm Schäden beseitigen fahren

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

                  Dann mach mal

                  cd /opt/iobroker/
                  npm install iobroker.js-controller@4.0.10
                  iob start
                  iob status
                  

                  Bitte das vollständige Log davon Posten

                  C 1 Reply Last reply Reply Quote 0
                  • C
                    Cino @wendy2702 last edited by

                    @wendy2702 said in Upgrade fehlgeschlagen, startet nicht mehr:

                    iob status

                    pi@iobroker:~ $ cd /opt/iobroker/
                    pi@iobroker:/opt/iobroker $ npm install iobroker.js-controller@4.0.10
                    npm ERR! code ETARGET
                    npm ERR! notarget No matching version found for iobroker.js-controller@4.0.10.
                    npm ERR! notarget In most cases you or one of your dependencies are requesting
                    npm ERR! notarget a package version that doesn't exist.
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/iobroker/.npm/_logs/2022-02-17T19_33_18_442Z-debug.log
                    pi@iobroker:/opt/iobroker $ iob start
                    pi@iobroker:/opt/iobroker $ iob status
                    Uncaught Rejection: TypeError: Cannot read properties of undefined (reading 'warning')
                        at ObjectsInMemoryServer.initBackupDir (/opt/iobroker/node_modules/@iobroker/db-base/lib/inMemFileDB.js:186:22)
                        at new InMemoryFileDB (/opt/iobroker/node_modules/@iobroker/db-base/lib/inMemFileDB.js:82:18)
                        at new ObjectsInMemoryFileDB (/opt/iobroker/node_modules/@iobroker/db-objects-file/lib/objects/objectsInMemFileDB.js:34:9)
                        at new ObjectsInMemoryJsonlDB (/opt/iobroker/node_modules/@iobroker/db-objects-jsonl/lib/objects/objectsInMemJsonlDB.js:34:9)
                        at new ObjectsInMemoryServer (/opt/iobroker/node_modules/@iobroker/db-objects-jsonl/lib/objects/objectsInMemServerRedis.js:57:9)
                        at new ObjectsInMemoryServerClass (/opt/iobroker/node_modules/@iobroker/db-objects-jsonl/lib/objects/objectsInMemServerClass.js:34:30)
                        at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:3109:27)
                    pi@iobroker:/opt/iobroker $
                    
                    

                    und hier die log

                    0 verbose cli [
                    0 verbose cli   '/usr/local/bin/node',
                    0 verbose cli   '/usr/local/bin/npm',
                    0 verbose cli   'install',
                    0 verbose cli   'iobroker.js-controller@4.0.10'
                    0 verbose cli ]
                    1 info using npm@8.1.0
                    2 info using node@v16.13.0
                    3 timing npm:load:whichnode Completed in 0ms
                    4 timing config:load:defaults Completed in 4ms
                    5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 1ms
                    6 timing config:load:builtin Completed in 2ms
                    7 timing config:load:cli Completed in 4ms
                    8 timing config:load:env Completed in 1ms
                    9 timing config:load:file:/opt/iobroker/.npmrc Completed in 5ms
                    10 timing config:load:project Completed in 7ms
                    11 timing config:load:file:/home/iobroker/.npmrc Completed in 1ms
                    12 timing config:load:user Completed in 1ms
                    13 timing config:load:file:/usr/local/etc/npmrc Completed in 1ms
                    14 timing config:load:global Completed in 1ms
                    15 timing config:load:validate Completed in 2ms
                    16 timing config:load:credentials Completed in 4ms
                    17 timing config:load:setEnvs Completed in 3ms
                    18 timing config:load Completed in 30ms
                    19 timing npm:load:configload Completed in 31ms
                    20 timing npm:load:setTitle Completed in 0ms
                    21 timing npm:load:setupLog Completed in 1ms
                    22 timing config:load:flatten Completed in 9ms
                    23 timing npm:load:cleanupLog Completed in 5ms
                    24 timing npm:load:configScope Completed in 0ms
                    25 timing npm:load:projectScope Completed in 1ms
                    26 timing npm:load Completed in 54ms
                    27 timing arborist:ctor Completed in 2ms
                    28 timing idealTree:init Completed in 5444ms
                    29 timing idealTree:userRequests Completed in 32ms
                    30 silly idealTree buildDeps
                    31 silly fetch manifest iobroker.js-controller@4.0.10
                    32 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules/iobroker.js-controller
                    33 http fetch GET 200 https://registry.npmjs.org/iobroker.js-controller 79333ms (cache stale)
                    34 silly placeDep ROOT iobroker.js-controller@ REPLACE for: iobroker.inst@3.0.0 want: 4.0.10
                    35 timing idealTree:#root Completed in 79475ms
                    36 timing idealTree:node_modules/iobroker.js-controller Completed in 0ms
                    37 timing idealTree:buildDeps Completed in 79480ms
                    38 timing idealTree:fixDepFlags Completed in 425ms
                    39 timing idealTree Completed in 85385ms
                    40 timing command:install Completed in 85420ms
                    41 verbose type version
                    42 verbose stack iobroker.js-controller: No matching version found for iobroker.js-controller@4.0.10.
                    42 verbose stack     at module.exports (/usr/local/lib/node_modules/npm/node_modules/npm-pick-manifest/index.js:209:23)
                    42 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/pacote/lib/registry.js:118:26
                    42 verbose stack     at async Arborist.[nodeFromEdge] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1061:19)
                    42 verbose stack     at async Arborist.[buildDepStep] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:930:11)
                    42 verbose stack     at async Arborist.buildIdealTree (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:216:7)
                    42 verbose stack     at async Promise.all (index 1)
                    42 verbose stack     at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:149:5)
                    42 verbose stack     at async Install.install (/usr/local/lib/node_modules/npm/lib/install.js:170:5)
                    43 verbose cwd /opt/iobroker
                    44 verbose Linux 5.10.92-v7l+
                    45 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker.js-controller@4.0.10"
                    46 verbose node v16.13.0
                    47 verbose npm  v8.1.0
                    48 error code ETARGET
                    49 error notarget No matching version found for iobroker.js-controller@4.0.10.
                    50 error notarget In most cases you or one of your dependencies are requesting
                    50 error notarget a package version that doesn't exist.
                    51 verbose exit 1
                    
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Cino last edited by

                      @cino sagte in Upgrade fehlgeschlagen, startet nicht mehr:

                      0 verbose cli   '/usr/local/bin/node',                                                                                                                                                                            0 verbose cli   '/usr/local/bin/npm',
                      

                      nodejs falsch installiert.

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

                        @Cino zieh deine Node Installation gerade, wie das geht steht in der Signatur von @Thomas-Braun.

                        Dann die installation des JS-Controllers nochmal versuchen.

                        wenn das mit der Version 4.0.10 nicht mehr geht nimm die 4.0.12 wenn es denn unbedingt Beta sein muss.

                        1 Reply Last reply Reply Quote 0
                        • C
                          Cino last edited by

                          node js wird mir mit Version v12.22.10 angezeigt.
                          Bei 4.0.10 und 4.0.12 habe ich immer noch den Fehler.

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

                            @cino sagte in Upgrade fehlgeschlagen, startet nicht mehr:

                            node js wird mir mit Version v12.22.10 angezeigt.

                            Und das ist (vermutlich) die ordentlich installierte Version, die du ordentlich auf v14 bringen solltest.
                            Eine v16 hast du 'irgendwie' ins System gedübelt.

                            Räum's auf. Siehe meine Signatur.

                            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

                            576
                            Online

                            32.2k
                            Users

                            80.9k
                            Topics

                            1.3m
                            Posts

                            4
                            13
                            751
                            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