Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. Update auf 1.2.3 funktioniert nicht

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.0k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.0k

Update auf 1.2.3 funktioniert nicht

Update auf 1.2.3 funktioniert nicht

Scheduled Pinned Locked Moved Error/Bug
25 Posts 7 Posters 3.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jensus11
    wrote on last edited by
    #1

    Hi, ich wollte heute auf die neue js-controller version 1.2.3 updaten.

    Dabei bekomme ich folgende Fehlermeldung und iobroker lässt sich danach nicht mehr starten.

    Update js-controller from @1.2.0 to @1.2.3
    npm install iobroker.js-controller@1.2.3 --production --prefix "/opt/iobroker" (System call)
    npm WARN deprecated localhost.daplie.me-certificates@1.3.5: this package has been deprecated
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/iobroker.radar/node_modules/noble/node_modules/xpc-connection):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
    npm ERR! Linux 4.9.0-4-amd64
    npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.js-controller@1.2.3" "--production" "--prefix" "/opt/iobroker"
    npm ERR! node v6.12.0
    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!     /opt/iobroker/npm-debug.log
    host.debianioBroker Cannot install iobroker.js-controller@1.2.3: 254
    
    1 Reply Last reply
    0
    • R Offline
      R Offline
      RappiRN
      Most Active
      wrote on last edited by
      #2

      Ich hatte auch ein Problem, http://forum.iobroker.net/search.php?keywords=js+controller+update&terms=all&author=&sc=1&sf=all&sk=t&sd=d&sr=posts&st=0&ch=300&t=0&submit=Suche hat mir weiter geholfen:

      http://forum.iobroker.net/viewtopic.php?f=17&t=9100&p=97758&hilit=js+controller+update#p97758 hatte mir hiermit die Lösung gebracht, allerdings erstmal nur Version 1.2.2! Aber es lief wieder!

      @Bluefox:

      Ich empfehle die neuste js-controller vom github zu installieren:

      
      cd /opt/iobroker
      iobroker stop
      npm i https://github.com/ioBroker/ioBroker.js-controller/tarball/master --production
      iobroker start
      
      

      Danach sollte js-controller alle fehlende Pakete selbst nachinstallieren. `

      Enrico

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jensus11
        wrote on last edited by
        #3

        so update auf 1.2.2 hat geklappt mit tarball/master–production.

        Dann mit upgrade self weiter gemacht und jetzt kommt das.

        npm install iobroker.js-controller@1.2.3 --production --prefix "/opt/iobroker" (System call)
        npm WARN deprecated localhost.daplie.me-certificates@1.3.5: this package has been deprecated
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/iobroker.radar/node_modules/noble/node_modules/xpc-connection):
        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
        npm ERR! Linux 4.9.0-4-amd64
        npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.js-controller@1.2.3" "--production" "--prefix" "/opt/iobroker"
        npm ERR! node v6.12.0
        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!     /opt/iobroker/npm-debug.log
        npm ERR! code 1
        Host "debianioBroker" (linux) updated
        Execute: chmod -R 777 /opt/iobroker
        Chmod finished. Restart controller
        Starting node restart.js
         Cannot save file /opt/iobroker/node_modules/iobroker.js-controller/lib/objects/../../../../iobroker-data/objects.json: Error: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.js-controller/lib/objects/../../../../iobroker-data/objects.json'
         Cannot save /opt/iobroker/node_modules/iobroker.js-controller/lib/states/../../../../iobroker-data/states.json: Error: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.js-controller/lib/states/../../../../iobroker-data/states.json'
        root@debianioBroker:/opt/iobroker# iobroker start 
        module.js:471
            throw err;
            ^
        
        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
            at Function.Module._resolveFilename (module.js:469:15)
            at Function.Module._load (module.js:417:25)
            at Module.runMain (module.js:604:10)
            at run (bootstrap_node.js:383:7)
            at startup (bootstrap_node.js:149:9)
            at bootstrap_node.js:496:3
        
        
        1 Reply Last reply
        0
        • R Offline
          R Offline
          RappiRN
          Most Active
          wrote on last edited by
          #4

          @jensus11:

          so update auf 1.2.2 hat geklappt mit tarball/master–production. `

          Lass es erstmal dabei, bis sich hier jemand meldet, der mehr Ahnung hat als ich, wichtiger ist doch, dass es wieder läuft. Also nochmal ohne danach wieder upgrade self einzugeben.

          Enrico

          1 Reply Last reply
          0
          • J Offline
            J Offline
            jensus11
            wrote on last edited by
            #5

            bei dem Slave ist das update auf 1.2.3 super durchgelaufen.

            1 Reply Last reply
            0
            • lobomauL Offline
              lobomauL Offline
              lobomau
              wrote on last edited by
              #6

              @jensus11:

              bei dem Slave ist das update auf 1.2.3 super durchgelaufen. `
              Bei mir auch. Pi3-slave Update von 1.2 auf 1.2.3 ohne Probleme.

              Beim Master traue ich mich noch nicht… :roll:

              Host: NUC8i3 mit Proxmox:

              • ioBroker CT Debian 13, npm 10.9.3, nodejs 22.20.0
              • Slave: Pi4
              1 Reply Last reply
              0
              • R Offline
                R Offline
                RappiRN
                Most Active
                wrote on last edited by
                #7

                @jensus11:

                bei dem Slave ist das update auf 1.2.3 super durchgelaufen. `

                Bei mir auch, Master (PC mit Ubuntu, glaub 16?) ging bei mir nur so, wie oben beschrieben! 😞

                Der Workaround oben hat dann wenigstens die Version 1.2.2 gebracht!

                Enrico

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  knopers1
                  wrote on last edited by
                  #8

                  hmm, die Version 1.2.3 wurde installiert, jedoch spuckt es Fehler beim Starten aus…

                  root@orangepiplus2e:/opt/iobroker# iobroker start

                  Starting iobroker controller daemon...

                  /opt/iobroker/node_modules/daemonize2/lib/daemonize.js:136

                  throw new Error(msg.error);

                  ^

                  Error: Error: Cannot find module 'winston/lib/winston/common'

                  at Function.Module._resolveFilename (module.js:469:15)

                  at Function.Module._load (module.js:417:25)

                  at Module.require (module.js:497:17)

                  at require (internal/module.js:20:19)

                  at Object. <anonymous>(/opt/iobroker/node_modules/winston-daily-rotate-file/index.js:6:14)

                  at Module._compile (module.js:570:32)

                  at Object.Module._extensions..js (module.js:579:10)

                  at Module.load (module.js:487:32)

                  at tryModuleLoad (module.js:446:12)

                  at Function.Module._load (module.js:438:3)

                  at ChildProcess. <anonymous>(/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:136:19)

                  at emitTwo (events.js:106:13)

                  at ChildProcess.emit (events.js:191:7)

                  at process.nextTick (internal/child_process.js:787:12)

                  at _combinedTickCallback (internal/process/next_tick.js:73:7)

                  at process._tickCallback (internal/process/next_tick.js:104:9)

                  root@orangepiplus2e:/opt/iobroker#</anonymous></anonymous>

                  HP Microserver Gen8, RPI-4, IoBroker,

                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    RappiRN
                    Most Active
                    wrote on last edited by
                    #9

                    @knopers1:

                    Error: Error: Cannot find module 'winston/lib/winston/common'
                    ```` `  
                    

                    Bei dir könnte helfen:

                    npm install winston
                    

                    Das musste ich bei mir, allerdings auf 1.2.2 auch machen, diesen Fehler hatte ich auch drin!

                    Enrico

                    1 Reply Last reply
                    0
                    • T Offline
                      T Offline
                      Tiger015
                      wrote on last edited by
                      #10

                      Hallo

                      Habe so ein ähnliches problem. Bekommen den admin Bereich auch nicht mehr zum laufen.

                      Bekomme immer diese meldung

                      Error: listen EADDRINUSE 0.0.0.0:9001

                      at Object.exports._errnoException (util.js:1020:11)

                      at exports._exceptionWithHostPort (util.js:1043:20)

                      at Server._listen2 (net.js:1262:14)

                      at listen (net.js:1298:10)

                      at net.js:1408:9

                      at _combinedTickCallback (internal/process/next_tick.js:83:11)

                      at process._tickCallback (internal/process/next_tick.js:104:9)

                      1 Reply Last reply
                      0
                      • HomoranH Do not disturb
                        HomoranH Do not disturb
                        Homoran
                        Global Moderator Administrators
                        wrote on last edited by
                        #11

                        Ist es ein RasPi1??

                        (sonst) mach mal einen reboot.

                        Wenn es (bei nicht Pi1) dann wiederkommt hast du ggf. statt drüberzuinstallieren eine zweite Instanz angelegt?

                        Gruß

                        Rainer

                        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                        1 Reply Last reply
                        0
                        • T Offline
                          T Offline
                          Tiger015
                          wrote on last edited by
                          #12

                          Es handelt sich um einen Pi3 und reboot und nach der anleitung hier habe ich es auch schon versucht.

                          alles ohne erfolg.

                          Befehlt iobroker status gibt zurück das es lauft.

                          update habe ich auch alle neu auf gespielt it update self.

                          admin.0 port schon geänder bringt auch kein erfolg.

                          1 Reply Last reply
                          0
                          • HomoranH Do not disturb
                            HomoranH Do not disturb
                            Homoran
                            Global Moderator Administrators
                            wrote on last edited by
                            #13

                            @Tiger015:

                            Befehlt iobroker status gibt zurück das es lauft.

                            update habe ich auch alle neu auf gespielt it update self. `

                            update geht aber:

                            sudo iobroker stop
                            sudo iobroker update
                            sudo iobroker upgrade self
                            sudo iobroker start
                            

                            Ich würde aber eher diese Methode wählen:

                            sudo iobroker stop
                            sudo iobroker update
                            npm cache clean
                            npm install iobroker.js-controller
                            sudo iobroker start
                            

                            Was mich noch irritiert ist:
                            @Tiger015:

                            Error: listen EADDRINUSE 0.0.0.0:9001
                            ```` `  
                            

                            Hast du eine Multihost Installation?

                            Gruß

                            Rainer

                            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                            1 Reply Last reply
                            0
                            • T Offline
                              T Offline
                              Tiger015
                              wrote on last edited by
                              #14

                              Nein ist kein Multihorst

                              fehler war auch auf einmal von selber da seit heute nach mittage.

                              da vor lief alles noch einbar frei.

                              sudo iobroker update
                              npm cache clean
                              npm install iobroker.js-controller
                              sudo iobroker start
                              
                              Rüchgabe nach der ausfürhrung:
                              
                              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@raspberrypi3:~# iobroker start
                              Starting iobroker controller daemon...
                              iobroker controller daemon started. PID: 1982
                              root@raspberrypi3:~#
                              
                              

                              admin ist aber immer nich nicht erreichbar

                              root@raspberrypi3:~# iobroker stop admin.0
                              events.js:160
                                    throw er; // Unhandled 'error' event
                                    ^
                              
                              Error: listen EADDRINUSE 0.0.0.0:9001
                                  at Object.exports._errnoException (util.js:1020:11)
                                  at exports._exceptionWithHostPort (util.js:1043:20)
                                  at Server._listen2 (net.js:1262:14)
                                  at listen (net.js:1298:10)
                                  at net.js:1408:9
                                  at _combinedTickCallback (internal/process/next_tick.js:83:11)
                                  at process._tickCallback (internal/process/next_tick.js:104:9)
                              
                              
                              1 Reply Last reply
                              0
                              • R Offline
                                R Offline
                                RappiRN
                                Most Active
                                wrote on last edited by
                                #15

                                Ich würde mal sagen, davor fehlt ein:

                                cd /opt/iobroker
                                

                                Oder?

                                Enrico

                                1 Reply Last reply
                                0
                                • HomoranH Do not disturb
                                  HomoranH Do not disturb
                                  Homoran
                                  Global Moderator Administrators
                                  wrote on last edited by
                                  #16

                                  @RappiRN:

                                  Ich würde mal sagen, davor fehlt ein:

                                  CODE: ALLES AUSWÄHLEN

                                  cd /opt/iobroker `

                                  Das ist ja was ich meinte mit:
                                  @Homoran:

                                  hast du ggf. statt drüberzuinstallieren eine zweite Instanz angelegt? `

                                  Jetzt hat der TE zwei Installationen.

                                  Da sind die Ports natürlich doppelt vergeben.

                                  Gruß

                                  Rainer

                                  kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                  der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                  1 Reply Last reply
                                  0
                                  • T Offline
                                    T Offline
                                    Tiger015
                                    wrote on last edited by
                                    #17

                                    @RappiRN:

                                    Ich würde mal sagen, davor fehlt ein:

                                    cd /opt/iobroker
                                    

                                    Oder?

                                    Enrico `

                                    Gleiches ergebniss:

                                    root@raspberrypi3:~# cd /opt/iobroker
                                    root@raspberrypi3:/opt/iobroker# iobroker stop admin.0
                                    events.js:160
                                          throw er; // Unhandled 'error' event
                                          ^
                                    
                                    Error: listen EADDRINUSE 0.0.0.0:9001
                                        at Object.exports._errnoException (util.js:1020:11)
                                        at exports._exceptionWithHostPort (util.js:1043:20)
                                        at Server._listen2 (net.js:1262:14)
                                        at listen (net.js:1298:10)
                                        at net.js:1408:9
                                        at _combinedTickCallback (internal/process/next_tick.js:83:11)
                                        at process._tickCallback (internal/process/next_tick.js:104:9)
                                    root@raspberrypi3:/opt/iobroker#
                                    
                                    
                                    1 Reply Last reply
                                    0
                                    • R Offline
                                      R Offline
                                      RappiRN
                                      Most Active
                                      wrote on last edited by
                                      #18

                                      @Homoran:

                                      Jetzt hat der TE zwei Installationen.

                                      Da sind die Ports natürlich doppelt vergeben. `

                                      Dann brauchen wir jetzt ne Anleitung, wie einfach zu prüfen wäre, ob denn wirklich zwei Installationen da sind. Ich selbst würde über z.B. winSCP nachsehen, ob noch weitere ioBroker-Ordner angelegt wurden, aber das geht bestimmt auch eleganter! 😉

                                      Enrico

                                      1 Reply Last reply
                                      0
                                      • DutchmanD Online
                                        DutchmanD Online
                                        Dutchman
                                        Developer Most Active Administrators
                                        wrote on last edited by
                                        #19

                                        @RappiRN:

                                        , ob noch weitere ioBroker-Ordner angelegt wurden, aber das geht bestimmt auch eleganter! 😉

                                        Enrico `

                                        Auf Linux gibt es dafür dass"find" Commando.

                                        Komme gerade nicht an meine Installation aber wenn du nach einer Datei/Ordner suchst die es nur im ioBroker Verzeichnis gibt solltest du fündig werden:

                                         Finding a directory
                                        
                                        To find a directory called apt in / (root) file system, enter:
                                        
                                        Alert: When searching / (root) file system, you need to run the find command as root user.
                                        
                                        find / -type d -name "apt" 
                                        Sample outputs:
                                        
                                        /var/log/apt
                                        /var/lib/apt
                                        /var/cache/apt
                                        /etc/apt
                                        /etc/logrotate.d/apt
                                        /etc/cron.daily/apt
                                        

                                        https://www.google.nl/amp/s/www.cyberci … mmand/amp/


                                        Send from mobile device

                                        1 Reply Last reply
                                        0
                                        • J Offline
                                          J Offline
                                          jensus11
                                          wrote on last edited by
                                          #20

                                          Bei mir hat das zur Lösung geführt.

                                          cd /opt/iobroker
                                          sudo chmod 777 * -R
                                          sudo npm install iobroker.js-controller --production
                                          
                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          408

                                          Online

                                          32.4k

                                          Users

                                          81.3k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe