Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] Fehler bei Upgrade js-controller 0.7.1 -> 0.7.2

    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

    [gelöst] Fehler bei Upgrade js-controller 0.7.1 -> 0.7.2

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

      Erhalte folgende Fehler beim Versuch Upzugraden:

      ben@ubuntu2:~$ cd /opt/iobroker/
      ben@ubuntu2:/opt/iobroker$ sudo -i
      [sudo] password for ben: 
      root@ubuntu2:~# cd /opt/iobroker/
      root@ubuntu2:/opt/iobroker# ./iobroker start
      Starting ioBroker controller daemon...
      ioBroker controller daemon started. PID: 1074
      root@ubuntu2:/opt/iobroker# ./iobroker update
      update done
      Adapter    "zwave"         : 0.1.0    
      Adapter    "yr"            : 0.1.6    
      Adapter    "web"           : 0.4.2    , installed 0.4.1 [Updateable]
      Adapter    "vis-metro"     : 0.1.0    
      Adapter    "vis"           : 0.6.2    , installed 0.6.1 [Updateable]
      Adapter    "sonos"         : 0.1.6    , installed 0.1.6
      Adapter    "rickshaw"      : 0.2.2    , installed 0.2.2
      Adapter    "pushover"      : 0.1.1    
      Adapter    "owfs"          : 0.0.2    
      Adapter    "onkyo"         : 0.1.8    
      Adapter    "socketio"      : 0.4.1    
      Adapter    "simple-api"    : 0.1.1    
      Adapter    "sayit"         : 0.3.8    , installed 0.3.8
      Adapter    "s7"            : 0.1.2    
      Adapter    "ping"          : 0.1.4    , installed 0.1.4
      Adapter    "node-red"      : 0.3.2    
      Adapter    "mqtt"          : 0.2.9    
      Adapter    "megad"         : 0.1.1    
      Adapter    "legacy"        : 0.1.12   
      Adapter    "knx"           : 0.0.1    
      Controller "js-controller" : 0.7.2    , installed 0.7.1 [Updateable]
      Adapter    "javascript"    : 0.4.8    , installed 0.4.7 [Updateable]
      Adapter    "icons-ultimate-png": 0.1.0    
      Adapter    "icons-open-icon-library-png": 0.1.1    
      Adapter    "icons-mfd-svg" : 0.1.0    
      Adapter    "icons-mfd-png" : 0.1.0    
      Adapter    "icons-material-svg": 0.1.0    
      Adapter    "icons-material-png": 0.1.0    
      Adapter    "icons-addictive-flavour-png": 0.1.0    
      Adapter    "ical"          : 0.1.1    , installed 0.1.1
      Adapter    "hmm"           : 0.1.1    
      Adapter    "hue"           : 0.2.0    , installed 0.2.0
      Adapter    "hm-rpc"        : 0.5.1    , installed 0.5.1
      Adapter    "hm-rega"       : 0.2.2    , installed 0.2.2
      Adapter    "history"       : 0.1.3    , installed 0.1.3
      Adapter    "example"       : 0.1.1    , installed 0.1.1
      Adapter    "email"         : 0.1.2    , installed 0.1.2
      Adapter    "dwd"           : 0.1.9    
      Adapter    "cul"           : 0.0.4    
      Adapter    "b-control-em"  : 0.1.1    
      Adapter    "artnet"        : 0.0.3    
      Adapter    "admin"         : 0.5.4    , installed 0.5.2 [Updateable]
      root@ubuntu2:/opt/iobroker# ./iobroker upgrade
      
      /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:426
                          if ((!toRead || sources._failCounter.length > 10) && timeo
                                                              ^
      TypeError: Cannot read property 'length' of undefined
          at /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:426:57
          at /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:376:39
          at getJson (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:162:31)
          at /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:346:13
          at getJson (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:131:31)
          at getIoPack (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:339:5)
          at Object.getRepositoryFile (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:424:17)
          at yes (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:788:27)
          at Object.States.connected (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2006:70)
          at Socket.StatesInMemClient.client.on.i (/opt/iobroker/node_modules/iobroker.js-controller/lib/statesInMemClient.js:80:68)
      
      
      1 Reply Last reply Reply Quote 0
      • Bluefox
        Bluefox last edited by

        Habe schon Fehler gefixt: https://github.com/ioBroker/ioBroker.js … 9d1aec1488

        Das sollte auf jeden Fall gehen:

        cd /opt/iobroker
        ./iobroker stop
        npm install iobroker.js-controller --production
        ./iobroker start
        
        
        1 Reply Last reply Reply Quote 0
        • I
          iben last edited by

          Super, danke!!!

          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

          903
          Online

          31.9k
          Users

          80.2k
          Topics

          1.3m
          Posts

          2
          3
          1250
          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