Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  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.5k

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

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

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

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
501 Beiträge 83 Kommentatoren 155.6k Aufrufe 58 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Basti97B Offline
    Basti97B Offline
    Basti97
    Most Active
    schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
    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 Offline
      apollon77A Offline
      apollon77
      schrieb am zuletzt editiert von
      #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 Antworten Letzte Antwort
      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
        schrieb am zuletzt editiert von
        #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 Antwort Letzte Antwort
        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
          schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
          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 Offline
            apollon77A Offline
            apollon77
            schrieb am zuletzt editiert von
            #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 Antwort Letzte Antwort
            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
              schrieb am zuletzt editiert von
              #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 Antwort Letzte Antwort
              0
              • Basti97B Offline
                Basti97B Offline
                Basti97
                Most Active
                schrieb am zuletzt editiert von
                #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 Antwort Letzte Antwort
                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 Offline
                  apollon77A Offline
                  apollon77
                  schrieb am zuletzt editiert von
                  #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 Antwort Letzte Antwort
                  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
                    schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                    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
                      schrieb am zuletzt editiert von
                      #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 Antwort Letzte Antwort
                      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
                        schrieb am zuletzt editiert von
                        #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 Antwort Letzte Antwort
                        -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
                          schrieb am zuletzt editiert von
                          #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 Antwort Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

                            @basti97

                            Nix wildes drin.

                            Basti97B Offline
                            Basti97B Offline
                            Basti97
                            Most Active
                            schrieb am zuletzt editiert von
                            #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 Antwort Letzte Antwort
                            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
                              schrieb am zuletzt editiert von
                              #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 Antwort Letzte Antwort
                              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
                                schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                                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
                                  schrieb am zuletzt editiert von
                                  #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 Antwort Letzte Antwort
                                  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
                                    schrieb am zuletzt editiert von
                                    #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 Antwort Letzte Antwort
                                    0
                                    • apollon77A Offline
                                      apollon77A Offline
                                      apollon77
                                      schrieb am zuletzt editiert von
                                      #268

                                      Welches file ist denn kaputt?? Was steht in dem npm log?

                                      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 Antwort Letzte Antwort
                                      0
                                      • apollon77A apollon77

                                        Welches file ist denn kaputt?? Was steht in dem npm log?

                                        Basti97B Offline
                                        Basti97B Offline
                                        Basti97
                                        Most Active
                                        schrieb am zuletzt editiert von
                                        #269

                                        @apollon77 Wie muss ich das gleich nochmal aufrufen. Geht das auch per console?

                                        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

                                        wendy2702W 1 Antwort Letzte Antwort
                                        0
                                        • Basti97B Basti97

                                          @apollon77 Wie muss ich das gleich nochmal aufrufen. Geht das auch per console?

                                          wendy2702W Offline
                                          wendy2702W Offline
                                          wendy2702
                                          schrieb am zuletzt editiert von
                                          #270

                                          @basti97 zum Beispiel:

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

                                          Bitte keine Fragen per PN, die gehören ins Forum!

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

                                          Basti97B 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          773

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe