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. Syntax Error seit Stromausfall

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    23
    1
    1.3k

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.5k

Syntax Error seit Stromausfall

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
28 Beiträge 9 Kommentatoren 2.7k Aufrufe 10 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.
  • wendy2702W Online
    wendy2702W Online
    wendy2702
    schrieb am zuletzt editiert von
    #21

    Ja,

    Dateisystem zerrissen ist gut möglich und wahrscheinlich. Mir erschließt sich nur gerade nicht wie man das an dem Status: "Objects & States" fest machen kann und was der Status "Objects & States" an der Stelle mit dem Syntax error zu tun hat.

    Aber ist jetzt auch egal. Ich hoffe der TE hat ein Backup.

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

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

    ? arteckA 2 Antworten Letzte Antwort
    0
    • wendy2702W wendy2702

      Ja,

      Dateisystem zerrissen ist gut möglich und wahrscheinlich. Mir erschließt sich nur gerade nicht wie man das an dem Status: "Objects & States" fest machen kann und was der Status "Objects & States" an der Stelle mit dem Syntax error zu tun hat.

      Aber ist jetzt auch egal. Ich hoffe der TE hat ein Backup.

      ? Offline
      ? Offline
      Ein ehemaliger Benutzer
      schrieb am zuletzt editiert von
      #22

      @wendy2702

      naja der erwartet anstatt das "tar" ein andere variable, evtl. eine Zahl, und daher kommt dann der Syntax error.
      wenn in den Objekts und States nix drin steht, dann kann er auch nix auslesen.. das wird dann als syntax error interpretiert.. vielleichit verwirrend aber so erklaer ich es mir..

      bei so einem Fehler soll man sich keine Gedanken machen und auch keine Zeit verschwenden, einfach Restore vom letzten Image und gut ist..

      1 Antwort Letzte Antwort
      1
      • wendy2702W wendy2702

        Ja,

        Dateisystem zerrissen ist gut möglich und wahrscheinlich. Mir erschließt sich nur gerade nicht wie man das an dem Status: "Objects & States" fest machen kann und was der Status "Objects & States" an der Stelle mit dem Syntax error zu tun hat.

        Aber ist jetzt auch egal. Ich hoffe der TE hat ein Backup.

        arteckA Offline
        arteckA Offline
        arteck
        Developer Most Active
        schrieb am zuletzt editiert von arteck
        #23

        @wendy2702 sagte in Syntax Error seit Stromausfall:

        Mir erschließt sich nur gerade nicht wie man das an dem Status: "Objects & States" fest machen kann und was der Status "Objects & States" an der Stelle mit dem Syntax error zu tun hat.

        wie soll ein system starten wen NIX aber auch NIX konfiguriert ist.. wenn ich dir sage dass die Datenbank des iobroker kaputt ist hilft dir das weiter ??

        es müssen zumindest standart Einstellungen da stehen aber da ist NIX = 0 drin
        da hilft auch nix wenn du den js-controller neu installierst..

        zigbee hab ich, zwave auch, nuc's genauso und HA auch

        1 Antwort Letzte Antwort
        0
        • Z Offline
          Z Offline
          ZeroQool
          schrieb am zuletzt editiert von
          #24

          Also ich habe genau das gleiche Problem. Der ioBroker fährt sogar gar nicht hoch. Ich muss die Import Referenz hier ändern: /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/esm/lib/setup/setupBackup.js dann fährt der ioBroker hoch, aber ich habe dennoch Probleme Adapter zu installieren. Denn dort kommt die gleiche TAR Fehlermeldung.

          Verfügbar js-controller:7.0.6
          Installiert js-controller:7.0.6
          
          Node.js
          v20.15.1 (Es gibt eine neuere Version: v20.19.2 - Empfohlene Version v18.20.8)
          

          der iob diag spuckt auch seltsames aus:

          ======================= SUMMARY =======================
                                  v.2025-02-23
          
          
           Static hostname: iobroker
                 Icon name: computer-container
                   Chassis: container ☐
            Virtualization: lxc
          Operating System: Debian GNU/Linux 12 (bookworm)
                    Kernel: Linux 6.5.13-3-pve
              Architecture: x86-64
          
          Installation:           lxc
          Kernel:                 x86_64
          Userland:               64 bit
          Timezone:               Europe/Berlin (CEST, +0200)
          User-ID:                1001
          Display-Server:         false
          Boot Target:            graphical.target
          
          Pending OS-Updates:     152
          /opt/iobroker/node_modules/standard-as-callback/built/index.js:6
                  throw e;
                  ^
          
          Error: Connection is closed.
              at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
              at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
              at Object.onceWrapper (node:events:634:26)
              at Socket.emit (node:events:519:28)
              at TCP.<anonymous> (node:net:338:12)
          Emitted 'error' event on ScanStream instance at:
              at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22
              at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23)
              at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51
              at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
          
          Node.js v20.15.1
          Pending iob updates:    0
          
          Nodejs-Installation:
          /usr/bin/nodejs         v20.15.1
          /usr/bin/node           v20.15.1
          /usr/bin/npm            10.7.0
          /usr/bin/npx            10.7.0
          /usr/bin/corepack       0.28.1
          
          Recommended versions are nodejs 20.19.2 and npm 10.8.2
          nodeJS installation is correct
          
          MEMORY:
                         total        used        free      shared  buff/cache   available
          Mem:             10G        3.5G        6.2G         86K        1.1G        7.2G
          Swap:           8.6G        2.3G        6.3G
          Total:           19G        5.8G         12G
          
          Active iob-Instances:   53
          Upgrade policy: none
          
          ioBroker Core:          js-controller           7.0.6
                                  admin                   7.6.3
          
          ioBroker Status:        iobroker is running on this host.
          
          At least one iobroker host is running.
          
          Objects type: redis
          States  type: redis
          
          Status admin and web instance:
          + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 192.168.178.83 (SSL), run as: admin
          + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0 (SSL), run as: admin
          
          Objects:                99529
          States:                 60846
          
          Size of iob-Database:
          
          find: Failed to change directory: /root: Permission denied
          find: Failed to restore initial working directory: /root: Permission denied
          find: Failed to change directory: /root: Permission denied
          find: Failed to restore initial working directory: /root: Permission denied
          
          
          Operating System is the current Debian stable version codenamed 'bookworm'!
          
          =================== END OF SUMMARY ====================
          
          
          CodierknechtC 1 Antwort Letzte Antwort
          0
          • Z ZeroQool

            Also ich habe genau das gleiche Problem. Der ioBroker fährt sogar gar nicht hoch. Ich muss die Import Referenz hier ändern: /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/esm/lib/setup/setupBackup.js dann fährt der ioBroker hoch, aber ich habe dennoch Probleme Adapter zu installieren. Denn dort kommt die gleiche TAR Fehlermeldung.

            Verfügbar js-controller:7.0.6
            Installiert js-controller:7.0.6
            
            Node.js
            v20.15.1 (Es gibt eine neuere Version: v20.19.2 - Empfohlene Version v18.20.8)
            

            der iob diag spuckt auch seltsames aus:

            ======================= SUMMARY =======================
                                    v.2025-02-23
            
            
             Static hostname: iobroker
                   Icon name: computer-container
                     Chassis: container ☐
              Virtualization: lxc
            Operating System: Debian GNU/Linux 12 (bookworm)
                      Kernel: Linux 6.5.13-3-pve
                Architecture: x86-64
            
            Installation:           lxc
            Kernel:                 x86_64
            Userland:               64 bit
            Timezone:               Europe/Berlin (CEST, +0200)
            User-ID:                1001
            Display-Server:         false
            Boot Target:            graphical.target
            
            Pending OS-Updates:     152
            /opt/iobroker/node_modules/standard-as-callback/built/index.js:6
                    throw e;
                    ^
            
            Error: Connection is closed.
                at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
                at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
                at Object.onceWrapper (node:events:634:26)
                at Socket.emit (node:events:519:28)
                at TCP.<anonymous> (node:net:338:12)
            Emitted 'error' event on ScanStream instance at:
                at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22
                at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23)
                at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51
                at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
            
            Node.js v20.15.1
            Pending iob updates:    0
            
            Nodejs-Installation:
            /usr/bin/nodejs         v20.15.1
            /usr/bin/node           v20.15.1
            /usr/bin/npm            10.7.0
            /usr/bin/npx            10.7.0
            /usr/bin/corepack       0.28.1
            
            Recommended versions are nodejs 20.19.2 and npm 10.8.2
            nodeJS installation is correct
            
            MEMORY:
                           total        used        free      shared  buff/cache   available
            Mem:             10G        3.5G        6.2G         86K        1.1G        7.2G
            Swap:           8.6G        2.3G        6.3G
            Total:           19G        5.8G         12G
            
            Active iob-Instances:   53
            Upgrade policy: none
            
            ioBroker Core:          js-controller           7.0.6
                                    admin                   7.6.3
            
            ioBroker Status:        iobroker is running on this host.
            
            At least one iobroker host is running.
            
            Objects type: redis
            States  type: redis
            
            Status admin and web instance:
            + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 192.168.178.83 (SSL), run as: admin
            + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0 (SSL), run as: admin
            
            Objects:                99529
            States:                 60846
            
            Size of iob-Database:
            
            find: Failed to change directory: /root: Permission denied
            find: Failed to restore initial working directory: /root: Permission denied
            find: Failed to change directory: /root: Permission denied
            find: Failed to restore initial working directory: /root: Permission denied
            
            
            Operating System is the current Debian stable version codenamed 'bookworm'!
            
            =================== END OF SUMMARY ====================
            
            
            CodierknechtC Online
            CodierknechtC Online
            Codierknecht
            Developer Most Active
            schrieb am zuletzt editiert von
            #25

            @zeroqool

            Pending OS-Updates:     152
            

            Du solltest zunächst mal Dein System auf Stand bringen.

            "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

            Proxmox 9.1.1 LXC|8 GB|Core i7-6700
            HmIP|ZigBee|Tasmota|Unifi
            Zabbix Certified Specialist
            Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

            1 Antwort Letzte Antwort
            0
            • Z Offline
              Z Offline
              ZeroQool
              schrieb am zuletzt editiert von
              #26

              @codierknecht Stimmt

              ======================= SUMMARY =======================
                                      v.2025-02-23
              
              
               Static hostname: iobroker
                     Icon name: computer-container
                       Chassis: container ☐
                Virtualization: lxc
              Operating System: Debian GNU/Linux 12 (bookworm)
                        Kernel: Linux 6.5.13-3-pve
                  Architecture: x86-64
              
              Installation:           lxc
              Kernel:                 x86_64
              Userland:               64 bit
              Timezone:               Europe/Berlin (CEST, +0200)
              User-ID:                1001
              Display-Server:         false
              Boot Target:            graphical.target
              
              Pending OS-Updates:     0
              Pending iob updates:    0
              
              Nodejs-Installation:
              /usr/bin/nodejs         v20.19.2
              /usr/bin/node           v20.19.2
              /usr/bin/npm            10.8.2
              /usr/bin/npx            10.8.2
              /usr/bin/corepack       0.31.0
              
              Recommended versions are nodejs 20.19.2 and npm 10.8.2
              nodeJS installation is correct
              
              MEMORY:
                             total        used        free      shared  buff/cache   available
              Mem:             10G        4.6G        3.4G        167K        2.7G        6.1G
              Swap:           8.6G         22M        8.6G
              Total:           19G        4.7G         11G
              
              Active iob-Instances:   53
              Upgrade policy: none
              
              ioBroker Core:          js-controller           7.0.6
                                      admin                   7.6.3
              
              ioBroker Status:        iobroker is running on this host.
              
              At least one iobroker host is running.
              
              Objects type: redis
              States  type: redis
              
              Status admin and web instance:
              + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 192.168.178.83 (SSL), run as: admin
              + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0 (SSL), run as: admin
              
              Objects:                99529
              States:                 60899
              
              Size of iob-Database:
              
              find: Failed to change directory: /root: Permission denied
              find: Failed to restore initial working directory: /root: Permission denied
              find: Failed to change directory: /root: Permission denied
              find: Failed to restore initial working directory: /root: Permission denied
              
              
              Operating System is the current Debian stable version codenamed 'bookworm'!
              
              
              
              CodierknechtC Thomas BraunT 2 Antworten Letzte Antwort
              0
              • Z ZeroQool

                @codierknecht Stimmt

                ======================= SUMMARY =======================
                                        v.2025-02-23
                
                
                 Static hostname: iobroker
                       Icon name: computer-container
                         Chassis: container ☐
                  Virtualization: lxc
                Operating System: Debian GNU/Linux 12 (bookworm)
                          Kernel: Linux 6.5.13-3-pve
                    Architecture: x86-64
                
                Installation:           lxc
                Kernel:                 x86_64
                Userland:               64 bit
                Timezone:               Europe/Berlin (CEST, +0200)
                User-ID:                1001
                Display-Server:         false
                Boot Target:            graphical.target
                
                Pending OS-Updates:     0
                Pending iob updates:    0
                
                Nodejs-Installation:
                /usr/bin/nodejs         v20.19.2
                /usr/bin/node           v20.19.2
                /usr/bin/npm            10.8.2
                /usr/bin/npx            10.8.2
                /usr/bin/corepack       0.31.0
                
                Recommended versions are nodejs 20.19.2 and npm 10.8.2
                nodeJS installation is correct
                
                MEMORY:
                               total        used        free      shared  buff/cache   available
                Mem:             10G        4.6G        3.4G        167K        2.7G        6.1G
                Swap:           8.6G         22M        8.6G
                Total:           19G        4.7G         11G
                
                Active iob-Instances:   53
                Upgrade policy: none
                
                ioBroker Core:          js-controller           7.0.6
                                        admin                   7.6.3
                
                ioBroker Status:        iobroker is running on this host.
                
                At least one iobroker host is running.
                
                Objects type: redis
                States  type: redis
                
                Status admin and web instance:
                + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 192.168.178.83 (SSL), run as: admin
                + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0 (SSL), run as: admin
                
                Objects:                99529
                States:                 60899
                
                Size of iob-Database:
                
                find: Failed to change directory: /root: Permission denied
                find: Failed to restore initial working directory: /root: Permission denied
                find: Failed to change directory: /root: Permission denied
                find: Failed to restore initial working directory: /root: Permission denied
                
                
                Operating System is the current Debian stable version codenamed 'bookworm'!
                
                
                
                CodierknechtC Online
                CodierknechtC Online
                Codierknecht
                Developer Most Active
                schrieb am zuletzt editiert von
                #27

                @zeroqool
                Wenn Du jetzt noch die Langfassung statt Summary lieferst, könnte man sehen wie Du da unterwegs bist.

                "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

                Proxmox 9.1.1 LXC|8 GB|Core i7-6700
                HmIP|ZigBee|Tasmota|Unifi
                Zabbix Certified Specialist
                Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

                1 Antwort Letzte Antwort
                0
                • Z ZeroQool

                  @codierknecht Stimmt

                  ======================= SUMMARY =======================
                                          v.2025-02-23
                  
                  
                   Static hostname: iobroker
                         Icon name: computer-container
                           Chassis: container ☐
                    Virtualization: lxc
                  Operating System: Debian GNU/Linux 12 (bookworm)
                            Kernel: Linux 6.5.13-3-pve
                      Architecture: x86-64
                  
                  Installation:           lxc
                  Kernel:                 x86_64
                  Userland:               64 bit
                  Timezone:               Europe/Berlin (CEST, +0200)
                  User-ID:                1001
                  Display-Server:         false
                  Boot Target:            graphical.target
                  
                  Pending OS-Updates:     0
                  Pending iob updates:    0
                  
                  Nodejs-Installation:
                  /usr/bin/nodejs         v20.19.2
                  /usr/bin/node           v20.19.2
                  /usr/bin/npm            10.8.2
                  /usr/bin/npx            10.8.2
                  /usr/bin/corepack       0.31.0
                  
                  Recommended versions are nodejs 20.19.2 and npm 10.8.2
                  nodeJS installation is correct
                  
                  MEMORY:
                                 total        used        free      shared  buff/cache   available
                  Mem:             10G        4.6G        3.4G        167K        2.7G        6.1G
                  Swap:           8.6G         22M        8.6G
                  Total:           19G        4.7G         11G
                  
                  Active iob-Instances:   53
                  Upgrade policy: none
                  
                  ioBroker Core:          js-controller           7.0.6
                                          admin                   7.6.3
                  
                  ioBroker Status:        iobroker is running on this host.
                  
                  At least one iobroker host is running.
                  
                  Objects type: redis
                  States  type: redis
                  
                  Status admin and web instance:
                  + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 192.168.178.83 (SSL), run as: admin
                  + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0 (SSL), run as: admin
                  
                  Objects:                99529
                  States:                 60899
                  
                  Size of iob-Database:
                  
                  find: Failed to change directory: /root: Permission denied
                  find: Failed to restore initial working directory: /root: Permission denied
                  find: Failed to change directory: /root: Permission denied
                  find: Failed to restore initial working directory: /root: Permission denied
                  
                  
                  Operating System is the current Debian stable version codenamed 'bookworm'!
                  
                  
                  
                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von
                  #28

                  @zeroqool sagte in Syntax Error seit Stromausfall:

                  find: Failed to restore initial working directory: /root: Permission denied

                  Im Verzeichnis /root hast du nix verloren. Und der ioBroker auch nicht. Da stimmt irgendwas nicht bei dir.

                  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

                  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

                  617

                  Online

                  32.5k

                  Benutzer

                  81.7k

                  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