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. ioBroker Allgemein
  4. js-controller 4.0.x jetzt für alle User im STABLE!

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

js-controller 4.0.x jetzt für alle User im STABLE!

js-controller 4.0.x jetzt für alle User im STABLE!

Scheduled Pinned Locked Moved ioBroker Allgemein
501 Posts 83 Posters 154.5k Views 58 Watching
  • 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.
  • O oFbEQnpoLKKl6mbY5e13

    @apollon77

    Nach Upgrade von .19 auf .21 (ohne Änderung an Node!):

    2022-03-14 10:16:08.191  - error: ham.0 (24984) uncaught exception: Cannot find module './homekit.js'
    Require stack:
    - /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-hs100/lib/plug.js
    - /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-hs100/lib/platform.js
    - /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-hs100/index.js
    - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/plugin.js
    - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/pluginManager.js
    - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/server.js
    - /opt/iobroker/node_modules/homebridge-plugin-wrapper/index.js
    - /opt/iobroker/node_modules/iobroker.ham/lib/wrapper-handler.js
    - /opt/iobroker/node_modules/iobroker.ham/main.js
    2022-03-14 10:16:08.197  - error: ham.0 (24984) Error: Cannot find module './homekit.js'
    Require stack:
    - /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-hs100/lib/plug.js
    - /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-hs100/lib/platform.js
    - /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-hs100/index.js
    - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/plugin.js
    - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/pluginManager.js
    - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/server.js
    - /opt/iobroker/node_modules/homebridge-plugin-wrapper/index.js
    - /opt/iobroker/node_modules/iobroker.ham/lib/wrapper-handler.js
    - /opt/iobroker/node_modules/iobroker.ham/main.js
       at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
       at Function.Module._load (internal/modules/cjs/loader.js:746:27)
       at Function.Module._load (/opt/iobroker/node_modules/mock-require/index.js:30:22)
       at Module.require (internal/modules/cjs/loader.js:974:19)
       at require (internal/modules/cjs/helpers.js:101:18)
       at new PlugAccessory (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-hs100/lib/plug.js:37:28)
       at Hs100Platform.addAccessory (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-hs100/lib/platform.js:113:27)
       at Client.<anonymous> (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-hs100/lib/platform.js:56:12)
       at Client.emit (events.js:400:28)
       at Client.emit (/opt/iobroker/node_modules/iobroker.ham/node_modules/hs100-api/lib/client.js:348:18)
    2022-03-14 10:16:08.197  - error: ham.0 (24984) Exception-Code: MODULE_NOT_FOUND: Cannot find module './homekit.js'
    Require stack:
    - /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-hs100/lib/plug.js
    - /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-hs100/lib/platform.js
    - /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-hs100/index.js
    - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/plugin.js
    - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/pluginManager.js
    - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/server.js
    - /opt/iobroker/node_modules/homebridge-plugin-wrapper/index.js
    - /opt/iobroker/node_modules/iobroker.ham/lib/wrapper-handler.js
    - /opt/iobroker/node_modules/iobroker.ham/main.js
    2022-03-14 10:16:11.273  - error: host.iobroker Caught by controller[1]: [14.3.2022, 10:16:07] [eWeLink] ***** Disabling plugin. *****
    2022-03-14 10:16:11.274  - error: host.iobroker Caught by controller[2]: [14.3.2022, 10:16:07] [eWeLink] ***** Cannot find module './connection/http'
    2022-03-14 10:16:11.274  - error: host.iobroker Caught by controller[2]: Require stack:
    2022-03-14 10:16:11.275  - error: host.iobroker Caught by controller[2]: - /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-ewelink/lib/index.js
    2022-03-14 10:16:11.275  - error: host.iobroker Caught by controller[2]: - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/plugin.js
    2022-03-14 10:16:11.276  - error: host.iobroker Caught by controller[2]: - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/pluginManager.js
    2022-03-14 10:16:11.277  - error: host.iobroker Caught by controller[2]: - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/server.js
    2022-03-14 10:16:11.277  - error: host.iobroker Caught by controller[2]: - /opt/iobroker/node_modules/homebridge-plugin-wrapper/index.js
    2022-03-14 10:16:11.278  - error: host.iobroker Caught by controller[2]: - /opt/iobroker/node_modules/iobroker.ham/lib/wrapper-handler.js
    2022-03-14 10:16:11.278  - error: host.iobroker Caught by controller[2]: - /opt/iobroker/node_modules/iobroker.ham/main.jsRequire stack:. *****
    2022-03-14 10:16:11.279  - error: host.iobroker instance system.adapter.ham.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
    2022-03-14 10:16:11.279  - info: host.iobroker Adapter system.adapter.ham.0 needs rebuild and will be restarted afterwards.
    2022-03-14 10:16:11.282  - info: host.iobroker system.adapter.ham.0 will be rebuilt
    2022-03-14 10:16:11.283  - warn: host.iobroker adapter "ham" seems to be installed for a different version of Node.js. Trying to rebuild it... 1 attempt
    2022-03-14 10:16:11.284  - info: host.iobroker iobroker rebuild
    2022-03-14 10:16:12.488  - info: host.iobroker iobroker npm-rebuild: Rebuilding native modules ...
    2022-03-14 10:16:31.542  - info: host.iobroker iobroker npm-rebuild: 
    2022-03-14 10:16:31.543  - info: host.iobroker iobroker npm-rebuild: > ffmpeg-for-homebridge@0.0.9 install /opt/iobroker/node_modules/ffmpeg-for-homebridge> node install.js
    2022-03-14 10:16:33.231  - info: host.iobroker iobroker npm-rebuild: ffmpeg has been downloaded to /opt/iobroker/node_modules/ffmpeg-for-homebridge/ffmpeg
    2022-03-14 10:16:33.237  - info: host.iobroker iobroker npm-rebuild: Thank you for using https://github.com/homebridge/ffmpeg-for-homebridge
    2022-03-14 10:16:33.239  - info: host.iobroker iobroker npm-rebuild: 
    2022-03-14 10:16:33.871  - info: host.iobroker iobroker npm-rebuild: 
    2022-03-14 10:16:33.874  - info: host.iobroker iobroker npm-rebuild: > core-js@2.6.12 postinstall /opt/iobroker/node_modules/core-js> node -e "try{require('./postinstall')}catch(e){}"
    2022-03-14 10:16:35.485  - info: host.iobroker iobroker npm-rebuild: > iobroker.javascript@5.2.21 postinstall /opt/iobroker/node_modules/iobroker.javascript> node ./install/installTypings.js
    2022-03-14 10:16:35.770  - info: host.iobroker iobroker npm-rebuild: Installing NodeJS typings...
    2022-03-14 10:16:39.259  - info: host.iobroker iobroker npm-rebuild: latest @types: 17, installed node: 14
    2022-03-14 10:16:46.189  - info: host.iobroker iobroker npm-rebuild: > iobroker.js-controller@4.0.21 preinstall /opt/iobroker/node_modules/iobroker.js-controller
    2022-03-14 10:16:46.191  - info: host.iobroker iobroker npm-rebuild: > node lib/preinstallCheck.js
    2022-03-14 10:16:46.943  - info: host.iobroker iobroker npm-rebuild: NPM version: 6.14.16
    2022-03-14 10:16:46.991  - info: host.iobroker iobroker npm-rebuild: 
    2022-03-14 10:16:46.992  - info: host.iobroker iobroker npm-rebuild: > iobroker.js-controller@4.0.21 install /opt/iobroker/node_modules/iobroker.js-controller> node iobroker.js setup first
    2022-03-14 10:16:56.941  - info: host.iobroker iobroker npm-rebuild: Successfully migrated 23520 objects to Redis Sets
    2022-03-14 10:16:57.386  - info: host.iobroker iobroker npm-rebuild: object _design/system updated
    2022-03-14 10:16:58.225  - info: host.iobroker iobroker npm-rebuild: {
    2022-03-14 10:16:58.228  - info: host.iobroker iobroker npm-rebuild:   "defaultPrivate": "-----BEGIN RSA PRIVATE KEY-----\r
    2022-03-14 10:16:58.235  - info: host.iobroker iobroker npm-rebuild: The object "system.certificates" was updated successfully.Update certificate defaultPublic
    2022-03-14 10:16:58.239  - info: host.iobroker iobroker npm-rebuild: The object "system.certificates" was updated successfully.
    2022-03-14 10:16:59.630  - info: host.iobroker iobroker npm-rebuild: 
    2022-03-14 10:16:59.631  - info: host.iobroker iobroker npm-rebuild: > esbuild@0.11.23 postinstall /opt/iobroker/node_modules/esbuild> node install.js
    2022-03-14 10:17:02.675  - info: host.iobroker iobroker npm-rebuild: > iobroker.vis@1.4.12 install /opt/iobroker/node_modules/iobroker.vis> node main.js --install
    

    Ist ein gekürztes Log, weil das Forum nicht mehr zulässt.

    apollon77A Online
    apollon77A Online
    apollon77
    wrote on last edited by
    #248

    @ofbeqnpolkkl6mby5e13 SD Karten System? Wenn ja schau mal nach der SD Karte. Das plötzlich ein File fehlt ist strange.

    ggf mal das homebridge-hs100 Plugin entfernen und neu beim Adapter einfügen das es neu installiert wird. Kann an sich mit dem Update nichts zu tun haben.
    Gleiches dann bei homebridge-ewelink ... das scheint es ja irgendwie auch getroffen zu haben. Und irgendeine ausgabe scheint das system denken zu lassen das ein rebuild nötig ist. Schaden am ende nicht 🙂

    Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

    • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
    • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
    O 1 Reply Last reply
    0
    • apollon77A apollon77

      @ofbeqnpolkkl6mby5e13 SD Karten System? Wenn ja schau mal nach der SD Karte. Das plötzlich ein File fehlt ist strange.

      ggf mal das homebridge-hs100 Plugin entfernen und neu beim Adapter einfügen das es neu installiert wird. Kann an sich mit dem Update nichts zu tun haben.
      Gleiches dann bei homebridge-ewelink ... das scheint es ja irgendwie auch getroffen zu haben. Und irgendeine ausgabe scheint das system denken zu lassen das ein rebuild nötig ist. Schaden am ende nicht 🙂

      O Away
      O Away
      oFbEQnpoLKKl6mbY5e13
      wrote on last edited by
      #249

      @apollon77

      Container auf NAS (RAID5).

      Es läuft ohne mein Zutun alles wieder, nachdem alle Rebuilds durchgelaufen sind. Aber da wurden unglaublich viele Abhängigkeiten neu gebaut...

      apollon77A 1 Reply Last reply
      0
      • O oFbEQnpoLKKl6mbY5e13

        @apollon77

        Container auf NAS (RAID5).

        Es läuft ohne mein Zutun alles wieder, nachdem alle Rebuilds durchgelaufen sind. Aber da wurden unglaublich viele Abhängigkeiten neu gebaut...

        apollon77A Online
        apollon77A Online
        apollon77
        wrote on last edited by
        #250

        @ofbeqnpolkkl6mby5e13 Strange ... aber Selbstheilung ist doch cool gg

        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
        1 Reply Last reply
        1
        • Basti97B Offline
          Basti97B Offline
          Basti97
          Most Active
          wrote on last edited by Basti97
          #251

          Auf meinem Master ging die Installation Fehlerfrei aber auf meinem Slave bekomme ich diese Meldung. Und der JS wird nicht von 3.3.22 auf 4.0.21 aktualisiert.

          pi@Media04:~ $ iob upgrade self
          Update js-controller from @3.3.22 to @4.0.21
          NPM version: 6.14.16
          npm install iobroker.js-controller@4.0.21 --loglevel error --unsafe-perm --prefi                                          x "/opt/iobroker" (System call)
          npm ERR! Unexpected token  in JSON at position 966657 while parsing near '...6Gg                                          iGOvl7CY/KNh8rxS�'�&�&�'�&�&�'�...'
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /home/iobroker/.npm/_logs/2022-03-14T14_06_53_816Z-debug.log
          
          

          Ich probiere mal mit den Befehl npm install iobroker.js-controller@4.0.21 --production

          Iobroker läuft als VM auf Proxmoxserver x folgende Hersteller im Einsatz Sonoff, Gosund, Siemens x Aofo über Tasmota x Zigbee x das Smarthome wächst und wächst

          apollon77A 1 Reply Last reply
          0
          • Basti97B Basti97

            Auf meinem Master ging die Installation Fehlerfrei aber auf meinem Slave bekomme ich diese Meldung. Und der JS wird nicht von 3.3.22 auf 4.0.21 aktualisiert.

            pi@Media04:~ $ iob upgrade self
            Update js-controller from @3.3.22 to @4.0.21
            NPM version: 6.14.16
            npm install iobroker.js-controller@4.0.21 --loglevel error --unsafe-perm --prefi                                          x "/opt/iobroker" (System call)
            npm ERR! Unexpected token  in JSON at position 966657 while parsing near '...6Gg                                          iGOvl7CY/KNh8rxS�'�&�&�'�&�&�'�...'
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /home/iobroker/.npm/_logs/2022-03-14T14_06_53_816Z-debug.log
            
            

            Ich probiere mal mit den Befehl npm install iobroker.js-controller@4.0.21 --production

            apollon77A Online
            apollon77A Online
            apollon77
            wrote on last edited by
            #252

            @basti97 Das sieht nah einesm FileSystem Error aus ... mal npm cache clean --force bzw sudo -u iobroker -H npm cache clean --force versuchen. Und dann nochmals

            Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

            • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
            • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
            Basti97B 2 Replies Last reply
            0
            • apollon77A apollon77

              @basti97 Das sieht nah einesm FileSystem Error aus ... mal npm cache clean --force bzw sudo -u iobroker -H npm cache clean --force versuchen. Und dann nochmals

              Basti97B Offline
              Basti97B Offline
              Basti97
              Most Active
              wrote on last edited by
              #253

              @apollon77 ok ich probiere es. Danke

              Iobroker läuft als VM auf Proxmoxserver x folgende Hersteller im Einsatz Sonoff, Gosund, Siemens x Aofo über Tasmota x Zigbee x das Smarthome wächst und wächst

              1 Reply Last reply
              1
              • apollon77A apollon77

                @basti97 Das sieht nah einesm FileSystem Error aus ... mal npm cache clean --force bzw sudo -u iobroker -H npm cache clean --force versuchen. Und dann nochmals

                Basti97B Offline
                Basti97B Offline
                Basti97
                Most Active
                wrote on last edited by Basti97
                #254

                @apollon77
                das kommt raus

                pi@Media04:~ $ npm cache clean --force
                npm WARN using --force I sure hope you know what you are doing.
                pi@Media04:~ $ sudo -u iobroker -H npm cache clean --force
                npm WARN using --force I sure hope you know what you are doing.
                pi@Media04:~ $
                
                

                update

                pi@Media04:~ $ sudo -u iobroker -H npm cache clean --force
                npm WARN using --force I sure hope you know what you are doing.
                
                
                   ╭───────────────────────────────────────────────────────────────╮
                   │                                                               │
                   │      New major version of npm available! 6.14.16 → 8.5.4      │
                   │   Changelog: https://github.com/npm/cli/releases/tag/v8.5.4   │
                   │               Run npm install -g npm to update!               │
                   │                                                               │
                   ╰───────────────────────────────────────────────────────────────╯
                
                pi@Media04:~ $ npm install -g npm
                
                

                Iobroker läuft als VM auf Proxmoxserver x folgende Hersteller im Einsatz Sonoff, Gosund, Siemens x Aofo über Tasmota x Zigbee x das Smarthome wächst und wächst

                apollon77A 1 Reply Last reply
                0
                • Basti97B Basti97

                  @apollon77
                  das kommt raus

                  pi@Media04:~ $ npm cache clean --force
                  npm WARN using --force I sure hope you know what you are doing.
                  pi@Media04:~ $ sudo -u iobroker -H npm cache clean --force
                  npm WARN using --force I sure hope you know what you are doing.
                  pi@Media04:~ $
                  
                  

                  update

                  pi@Media04:~ $ sudo -u iobroker -H npm cache clean --force
                  npm WARN using --force I sure hope you know what you are doing.
                  
                  
                     ╭───────────────────────────────────────────────────────────────╮
                     │                                                               │
                     │      New major version of npm available! 6.14.16 → 8.5.4      │
                     │   Changelog: https://github.com/npm/cli/releases/tag/v8.5.4   │
                     │               Run npm install -g npm to update!               │
                     │                                                               │
                     ╰───────────────────────────────────────────────────────────────╯
                  
                  pi@Media04:~ $ npm install -g npm
                  
                  
                  apollon77A Online
                  apollon77A Online
                  apollon77
                  wrote on last edited by
                  #255

                  @basti97 sagte in js-controller 4.0.x jetzt für alle User im STABLE!:

                  pi@Media04:~ $ npm install -g npm

                  Wer hat gesagt Du sollst das tun? Naja egal ...

                  Jetzt neu versuchen

                  Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                  • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                  • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                  Basti97B 1 Reply Last reply
                  0
                  • apollon77A apollon77

                    @basti97 sagte in js-controller 4.0.x jetzt für alle User im STABLE!:

                    pi@Media04:~ $ npm install -g npm

                    Wer hat gesagt Du sollst das tun? Naja egal ...

                    Jetzt neu versuchen

                    Basti97B Offline
                    Basti97B Offline
                    Basti97
                    Most Active
                    wrote on last edited by
                    #256

                    @apollon77 na das habe ich nicht gemacht. Die Meldung kam beim zweiten mal Ausführen von.

                    sudo -u iobroker -H npm cache clean --force
                    

                    Iobroker läuft als VM auf Proxmoxserver x folgende Hersteller im Einsatz Sonoff, Gosund, Siemens x Aofo über Tasmota x Zigbee x das Smarthome wächst und wächst

                    1 Reply Last reply
                    0
                    • Basti97B Offline
                      Basti97B Offline
                      Basti97
                      Most Active
                      wrote on last edited by
                      #257

                      Funktoniert trotzdem irgendwie nicht

                      pi@Media04:~ $ iob update
                      Used repository: stable
                      hash changed or no sources cached => force download of new sources
                      update done
                      Cannot read or parse /opt/iobroker/node_modules/iobroker.js-controller/lib/../node_modules/iobroker.backitup/io-package.json: /opt/iobroker/node_modules/iobroker.backitup/io-package.json: Unexpected token � in JSON at position 0
                      Cannot read or parse /opt/iobroker/node_modules/iobroker.js-controller/lib/../node_modules/iobroker.backitup/io-package.json: /opt/iobroker/node_modules/iobroker.backitup/io-package.json: Unexpected token � in JSON at position 0
                      Adapter    "admin"         : 5.3.1    , installed 5.2.3 [Updateable]
                      Adapter    "discovery"     : 2.7.5    , installed 2.7.5
                      Adapter    "ds18b20"       : 1.6.0    , installed 1.6.0
                      Adapter    "javascript"    : 5.2.21   , installed 5.3.1
                      Controller "js-controller" : 4.0.21   , installed 3.3.22 [Updateable]
                      Adapter    "radar2"        : 2.0.3    , installed 2.0.3
                      Adapter    "rpi2"          : 1.3.1    , installed 1.3.1
                      pi@Media04:~ $ iob upgrade self
                      Update js-controller from @3.3.22 to @4.0.21
                      NPM version: 6.14.16
                      npm install iobroker.js-controller@4.0.21 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                      npm ERR! Unexpected token  in JSON at position 966657 while parsing near '...6GgiGOvl7CY/KNh8rxS�'�&�&�'�&�&�'�...'
                      
                      npm ERR! A complete log of this run can be found in:
                      npm ERR!     /home/iobroker/.npm/_logs/2022-03-14T15_40_52_691Z-debug.log
                      pi@Media04:~ $
                      
                      

                      Iobroker läuft als VM auf Proxmoxserver x folgende Hersteller im Einsatz Sonoff, Gosund, Siemens x Aofo über Tasmota x Zigbee x das Smarthome wächst und wächst

                      apollon77A 1 Reply Last reply
                      0
                      • Basti97B Basti97

                        Funktoniert trotzdem irgendwie nicht

                        pi@Media04:~ $ iob update
                        Used repository: stable
                        hash changed or no sources cached => force download of new sources
                        update done
                        Cannot read or parse /opt/iobroker/node_modules/iobroker.js-controller/lib/../node_modules/iobroker.backitup/io-package.json: /opt/iobroker/node_modules/iobroker.backitup/io-package.json: Unexpected token � in JSON at position 0
                        Cannot read or parse /opt/iobroker/node_modules/iobroker.js-controller/lib/../node_modules/iobroker.backitup/io-package.json: /opt/iobroker/node_modules/iobroker.backitup/io-package.json: Unexpected token � in JSON at position 0
                        Adapter    "admin"         : 5.3.1    , installed 5.2.3 [Updateable]
                        Adapter    "discovery"     : 2.7.5    , installed 2.7.5
                        Adapter    "ds18b20"       : 1.6.0    , installed 1.6.0
                        Adapter    "javascript"    : 5.2.21   , installed 5.3.1
                        Controller "js-controller" : 4.0.21   , installed 3.3.22 [Updateable]
                        Adapter    "radar2"        : 2.0.3    , installed 2.0.3
                        Adapter    "rpi2"          : 1.3.1    , installed 1.3.1
                        pi@Media04:~ $ iob upgrade self
                        Update js-controller from @3.3.22 to @4.0.21
                        NPM version: 6.14.16
                        npm install iobroker.js-controller@4.0.21 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                        npm ERR! Unexpected token  in JSON at position 966657 while parsing near '...6GgiGOvl7CY/KNh8rxS�'�&�&�'�&�&�'�...'
                        
                        npm ERR! A complete log of this run can be found in:
                        npm ERR!     /home/iobroker/.npm/_logs/2022-03-14T15_40_52_691Z-debug.log
                        pi@Media04:~ $
                        
                        
                        apollon77A Online
                        apollon77A Online
                        apollon77
                        wrote on last edited by
                        #258

                        @basti97 sagte in js-controller 4.0.x jetzt für alle User im STABLE!:

                        /home/iobroker/.npm/_logs/2022-03-14T15_40_52_691Z-debug.log

                        Dann schau mal da welches File es betrifft ... irgendwas hat es dir das zersemmelt ... Wenn SD Kartenbasiert dann stirbt die Karte gerade

                        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                        Basti97B 1 Reply Last reply
                        0
                        • apollon77A apollon77

                          @basti97 sagte in js-controller 4.0.x jetzt für alle User im STABLE!:

                          /home/iobroker/.npm/_logs/2022-03-14T15_40_52_691Z-debug.log

                          Dann schau mal da welches File es betrifft ... irgendwas hat es dir das zersemmelt ... Wenn SD Kartenbasiert dann stirbt die Karte gerade

                          Basti97B Offline
                          Basti97B Offline
                          Basti97
                          Most Active
                          wrote on last edited by Basti97
                          #259

                          @apollon77 Ja ist eine SD Karte drinnen 🙂 Das könnte auch der Grund sein das wieder der zigbee Adapter nach einem neustart des Raspberrys auf einmal nicht mehr funktioniert. Seit gestern schalten die Relais sporadisch aus auch wenn die nicht mit den rpi Adapter angesteuert wurden.

                          Iobroker läuft als VM auf Proxmoxserver x folgende Hersteller im Einsatz Sonoff, Gosund, Siemens x Aofo über Tasmota x Zigbee x das Smarthome wächst und wächst

                          Thomas BraunT 1 Reply Last reply
                          0
                          • Basti97B Basti97

                            @apollon77 Ja ist eine SD Karte drinnen 🙂 Das könnte auch der Grund sein das wieder der zigbee Adapter nach einem neustart des Raspberrys auf einmal nicht mehr funktioniert. Seit gestern schalten die Relais sporadisch aus auch wenn die nicht mit den rpi Adapter angesteuert wurden.

                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            wrote on last edited by
                            #260

                            @basti97

                            Schau mal per

                            dmesg -T | grep -i ext4
                            

                            nach dem Dateisystem. Da könnten u. U. ein paar Meldungen drin sein.

                            Linux-Werkzeugkasten:
                            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                            NodeJS Fixer Skript:
                            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                            Basti97B 1 Reply Last reply
                            0
                            • Thomas BraunT Thomas Braun

                              @basti97

                              Schau mal per

                              dmesg -T | grep -i ext4
                              

                              nach dem Dateisystem. Da könnten u. U. ein paar Meldungen drin sein.

                              Basti97B Offline
                              Basti97B Offline
                              Basti97
                              Most Active
                              wrote on last edited by
                              #261

                              @thomas-braun said in js-controller 4.0.x jetzt für alle User im STABLE!:

                              dmesg -T | grep -i ext4
                              raus kommt das hier

                              pi@Media04:~ $ dmesg -T | grep -i ext4
                              [Mo Mär 14 14:58:36 2022] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=Composite-1:720x480@60i vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=832c4200-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
                              [Mo Mär 14 14:58:39 2022] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
                              [Mo Mär 14 14:58:39 2022] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
                              [Mo Mär 14 14:58:42 2022] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
                              
                              

                              Iobroker läuft als VM auf Proxmoxserver x folgende Hersteller im Einsatz Sonoff, Gosund, Siemens x Aofo über Tasmota x Zigbee x das Smarthome wächst und wächst

                              Thomas BraunT 1 Reply Last reply
                              -1
                              • Basti97B Basti97

                                @thomas-braun said in js-controller 4.0.x jetzt für alle User im STABLE!:

                                dmesg -T | grep -i ext4
                                raus kommt das hier

                                pi@Media04:~ $ dmesg -T | grep -i ext4
                                [Mo Mär 14 14:58:36 2022] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=Composite-1:720x480@60i vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=832c4200-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
                                [Mo Mär 14 14:58:39 2022] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
                                [Mo Mär 14 14:58:39 2022] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
                                [Mo Mär 14 14:58:42 2022] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
                                
                                
                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                wrote on last edited by
                                #262

                                @basti97

                                Nix wildes drin.

                                Linux-Werkzeugkasten:
                                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                NodeJS Fixer Skript:
                                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                Basti97B 1 Reply Last reply
                                0
                                • Thomas BraunT Thomas Braun

                                  @basti97

                                  Nix wildes drin.

                                  Basti97B Offline
                                  Basti97B Offline
                                  Basti97
                                  Most Active
                                  wrote on last edited by
                                  #263

                                  @thomas-braun Also ist es mit der SD Karte noch nicht am Ende. Ist trotzdem komisch ich starte den Slave neu und plötzlich geht der Zigbee Adapter nicht mehr. (Wie schon mal). Dann möchte ich den JS aktualisieren das will er auch nicht. Der läuft zwar mit 3.3.22 wollte ihn aber trotzdem mal aktualisieren. Bei meinem Master (VM) hat es gleich beim ersten mal funktioniert.

                                  Iobroker läuft als VM auf Proxmoxserver x folgende Hersteller im Einsatz Sonoff, Gosund, Siemens x Aofo über Tasmota x Zigbee x das Smarthome wächst und wächst

                                  Thomas BraunT 1 Reply Last reply
                                  0
                                  • Basti97B Basti97

                                    @thomas-braun Also ist es mit der SD Karte noch nicht am Ende. Ist trotzdem komisch ich starte den Slave neu und plötzlich geht der Zigbee Adapter nicht mehr. (Wie schon mal). Dann möchte ich den JS aktualisieren das will er auch nicht. Der läuft zwar mit 3.3.22 wollte ihn aber trotzdem mal aktualisieren. Bei meinem Master (VM) hat es gleich beim ersten mal funktioniert.

                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    wrote on last edited by
                                    #264

                                    @basti97 sagte in js-controller 4.0.x jetzt für alle User im STABLE!:

                                    Also ist es mit der SD Karte noch nicht am Ende.

                                    Das kann man so nicht sagen.
                                    Die eine SD-Karte, die mir mal abgenippelt ist hat sich auch nicht in logs verewigt. Da hat sich nur das System 'komisch' verhalten.

                                    Linux-Werkzeugkasten:
                                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                    NodeJS Fixer Skript:
                                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                    Basti97B 1 Reply Last reply
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @basti97 sagte in js-controller 4.0.x jetzt für alle User im STABLE!:

                                      Also ist es mit der SD Karte noch nicht am Ende.

                                      Das kann man so nicht sagen.
                                      Die eine SD-Karte, die mir mal abgenippelt ist hat sich auch nicht in logs verewigt. Da hat sich nur das System 'komisch' verhalten.

                                      Basti97B Offline
                                      Basti97B Offline
                                      Basti97
                                      Most Active
                                      wrote on last edited by Basti97
                                      #265

                                      @thomas-braunIch habe das nochmal eingegeben ob es nun funktoniert. Aber scheint wieder nicht

                                      pi@Media04:~ $ iobroker upgrade self
                                      Update js-controller from @3.3.22 to @4.0.21
                                      NPM version: 6.14.16
                                      npm install iobroker.js-controller@4.0.21 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                                      npm ERR! Unexpected token  in JSON at position 966657 while parsing near '...6GgiGOvl7CY/KNh8rxS�'�&�&�'�&�&�'�...'
                                      
                                      npm ERR! A complete log of this run can be found in:
                                      npm ERR!     /home/iobroker/.npm/_logs/2022-03-14T17_17_58_023Z-debug.log
                                      pi@Media04:~ $
                                      
                                      

                                      Ich habe noch ein Backup von Anfang Februar. Da muss ich das mal auf eine andere SDKarte machen.

                                      Iobroker läuft als VM auf Proxmoxserver x folgende Hersteller im Einsatz Sonoff, Gosund, Siemens x Aofo über Tasmota x Zigbee x das Smarthome wächst und wächst

                                      Thomas BraunT 1 Reply Last reply
                                      0
                                      • Basti97B Basti97

                                        @thomas-braunIch habe das nochmal eingegeben ob es nun funktoniert. Aber scheint wieder nicht

                                        pi@Media04:~ $ iobroker upgrade self
                                        Update js-controller from @3.3.22 to @4.0.21
                                        NPM version: 6.14.16
                                        npm install iobroker.js-controller@4.0.21 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                                        npm ERR! Unexpected token  in JSON at position 966657 while parsing near '...6GgiGOvl7CY/KNh8rxS�'�&�&�'�&�&�'�...'
                                        
                                        npm ERR! A complete log of this run can be found in:
                                        npm ERR!     /home/iobroker/.npm/_logs/2022-03-14T17_17_58_023Z-debug.log
                                        pi@Media04:~ $
                                        
                                        

                                        Ich habe noch ein Backup von Anfang Februar. Da muss ich das mal auf eine andere SDKarte machen.

                                        Thomas BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        wrote on last edited by
                                        #266

                                        @basti97

                                        Lösch mal den npm cache:

                                        cd /opt/iobroker
                                        sudo -H -u iobroker npm cache clear --force
                                        

                                        Dann nochmal

                                        iobroker update
                                        iobroker stop
                                        iobroker upgrade
                                        iobroker upgrade self
                                        iobroker fix
                                        iobroker start
                                        

                                        Linux-Werkzeugkasten:
                                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                        NodeJS Fixer Skript:
                                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                        Basti97B 1 Reply Last reply
                                        0
                                        • Thomas BraunT Thomas Braun

                                          @basti97

                                          Lösch mal den npm cache:

                                          cd /opt/iobroker
                                          sudo -H -u iobroker npm cache clear --force
                                          

                                          Dann nochmal

                                          iobroker update
                                          iobroker stop
                                          iobroker upgrade
                                          iobroker upgrade self
                                          iobroker fix
                                          iobroker start
                                          
                                          Basti97B Offline
                                          Basti97B Offline
                                          Basti97
                                          Most Active
                                          wrote on last edited by
                                          #267

                                          @thomas-braun
                                          Es kommt wieder das gleiche

                                          Update js-controller from @3.3.22 to @4.0.21
                                          NPM version: 6.14.16
                                          npm install iobroker.js-controller@4.0.21 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                                          npm ERR! Unexpected token  in JSON at position 966657 while parsing near '...6GgiGOvl7CY/KNh8rxS�'�&�&�'�&�&�'�...'
                                          
                                          

                                          Iobroker läuft als VM auf Proxmoxserver x folgende Hersteller im Einsatz Sonoff, Gosund, Siemens x Aofo über Tasmota x Zigbee x das Smarthome wächst und wächst

                                          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
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          622

                                          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