Skip to content
  • Home
  • 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
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
    22
    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

Scheduled Pinned Locked Moved ioBroker Allgemein
28 Posts 9 Posters 2.7k Views 10 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.
  • wendy2702W Online
    wendy2702W Online
    wendy2702
    wrote on last edited by
    #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 Replies Last reply
    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
      A Former User
      wrote on last edited by
      #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 Reply Last reply
      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
        wrote on last edited by 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 Reply Last reply
        0
        • Z Offline
          Z Offline
          ZeroQool
          wrote on last edited by
          #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 Reply Last reply
          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
            wrote on last edited by
            #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 Reply Last reply
            0
            • Z Offline
              Z Offline
              ZeroQool
              wrote on last edited by
              #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 Replies Last reply
              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
                wrote on last edited by
                #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 Reply Last reply
                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
                  wrote on last edited by
                  #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 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

                  800

                  Online

                  32.5k

                  Users

                  81.7k

                  Topics

                  1.3m

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

                  • Don't have an account? Register

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