Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [Gelöst] Iobroker startet nicht / Cannot read system.config

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    [Gelöst] Iobroker startet nicht / Cannot read system.config

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @tony63526 last edited by

      @tony63526

      iobroker list adapters
      iobroker list instances
      
      T 1 Reply Last reply Reply Quote 0
      • T
        tony63526 @Thomas Braun last edited by

        @thomas-braun

        pi@Primary:~ $ iobroker list adapters
        pi@Primary:~ $ iobroker list instances
        
        
        + instance is alive
        pi@Primary:~ $
        
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @tony63526 last edited by

          @tony63526 Das ist nicht viel...

          cd /opt/iobroker
          npm cache clear --force
          iobroker fix
          
          T 1 Reply Last reply Reply Quote 0
          • T
            tony63526 @Thomas Braun last edited by

            @thomas-braun said in Iobroker startet nicht / Cannot read system.config:

            npm cache clear --force

            soll ich das update ausführen?

            Run npm install -g npm to update! ??

            pi@Primary:/opt/iobroker $ npm cache clear --force
            npm WARN using --force I sure hope you know what you are doing.
            
            
               ╭───────────────────────────────────────────────────────────────╮
               │                                                               │
               │      New major version of npm available! 6.14.11 → 7.6.0      │
               │   Changelog: https://github.com/npm/cli/releases/tag/v7.6.0   │
               │               Run npm install -g npm to update!               │
               │                                                               │
            
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @tony63526 last edited by

              @tony63526 NEIN!

              T 1 Reply Last reply Reply Quote 0
              • T
                tony63526 @Thomas Braun last edited by tony63526

                @thomas-braun

                Negativ
                Startet nicht.

                pi@Primary:~ $ cd /opt/iobroker
                pi@Primary:/opt/iobroker $ npm cache clear --force
                npm WARN using --force I sure hope you know what you are doing.
                
                
                   ╭───────────────────────────────────────────────────────────────╮
                   │                                                               │
                   │      New major version of npm available! 6.14.11 → 7.6.0      │
                   │   Changelog: https://github.com/npm/cli/releases/tag/v7.6.0   │
                   │               Run npm install -g npm to update!               │
                   │                                                               │
                   ╰───────────────────────────────────────────────────────────────╯
                
                pi@Primary:/opt/iobroker $ ^C
                pi@Primary:/opt/iobroker $ iobroker fix
                library: loaded
                Library version=2021-01-23
                
                ==========================================================================
                
                    Welcome to the ioBroker installation fixer!
                    Script version: 2020-12-07
                
                    You might need to enter your password a couple of times.
                
                ==========================================================================
                
                
                ==========================================================================
                    Installing prerequisites (1/3)
                ==========================================================================
                
                Hit:1 http://packages.microsoft.com/repos/code stable InRelease
                Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                Hit:3 http://archive.raspberrypi.org/debian buster InRelease
                Hit:4 https://deb.nodesource.com/node_12.x buster InRelease
                Hit:5 https://www.pivccu.de/piVCCU stable InRelease
                Reading package lists... Done
                Installed gcc-c++
                
                ==========================================================================
                    Checking ioBroker user and directory permissions (2/3)
                ==========================================================================
                
                Created /etc/sudoers.d/iobroker
                Fixing directory permissions...
                
                ==========================================================================
                    Checking autostart (3/3)
                ==========================================================================
                
                Enabling autostart...
                Autostart enabled!
                
                ==========================================================================
                
                    Your installation was fixed successfully
                    Run iobroker start to start ioBroker again!
                
                ==========================================================================
                
                pi@Primary:/opt/iobroker $ ^C
                pi@Primary:/opt/iobroker $ iobroker start
                pi@Primary:/opt/iobroker $
                
                
                pi@Primary:/opt/iobroker $ iobroker list adapters
                pi@Primary:/opt/iobroker $ iobroker list instances
                
                
                + instance is alive
                pi@Primary:/opt/iobroker $
                
                

                Hab spaßeshalber ein weiteren Admin Adapter über ssh installiert. Komm zumindest mal wieder auf die WebUi.
                Alle Instanzen sind weg bis auf den neuen installierten Admin Adapter. Komischerweise funktioniert mein Homematic ip Adapter noch der im Hintergrund wohl noch mitläuft. Ich kann auch weiterhin meine Rollos steuern und meine Fensterkontakte funktionieren auch noch.

                Im Log steht das hier:

                host.Primary-Server	2021-02-27 10:29:42.625	error	Cannot load /opt/iobroker/iobroker-data/states.json: /opt/iobroker/iobroker-data/states.json: Unexpected end of JSON input. Try last Backup!
                host.Primary	2021-02-27 10:29:42.592	error	Cannot read system.config: null (OK when migrating or restoring)
                host.Primary-Server	2021-02-27 10:29:42.532	error	Cannot load /opt/iobroker/iobroker-data/objects.json.bak: /opt/iobroker/iobroker-data/objects.json.bak: Unexpected end of JSON input. Continue with empty dataset!
                host.Primary-Server	2021-02-27 10:29:42.528	error	Cannot load /opt/iobroker/iobroker-data/objects.json: /opt/iobroker/iobroker-data/objects.json: Unexpected end of JSON input. Try last Backup!
                

                Ich denke es bleibt nix anderes übrig als mein letztes Backup mal aufzuspielen?
                Ich werde berichten.

                Schade

                wendy2702 1 Reply Last reply Reply Quote 0
                • wendy2702
                  wendy2702 @tony63526 last edited by

                  @tony63526 Wie hast du damals iobroker installiert?

                  Vielleicht nicht den Standart Ordner verwendet?

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    tony63526 @wendy2702 last edited by

                    @wendy2702

                    Uii lange ist es her 🙂
                    Kann ich dir jetzt gar nicht sagen.
                    Was mich halt wundert, es ist nicht das erste mal das die Sicherung rausgeflogen ist und Iobroker hat wieder normal gestartet.

                    Einzige Änderung bis dato ist, das ich den Js-Controller aktualisiert habe in der Zwischenzeit.

                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @tony63526 last edited by

                      @tony63526 sagte in Iobroker startet nicht / Cannot read system.config:

                      Was mich halt wundert, es ist nicht das erste mal das die Sicherung rausgeflogen ist und Iobroker hat wieder normal gestartet.

                      1000x berührt, 1000x ist nix passiert...

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        tony63526 @Thomas Braun last edited by

                        @thomas-braun

                        1000x berührt, 1000x ist nix passiert... 😖

                        Funktioniert alles wieder .
                        Ein hoch auf den Backitup Adapter.
                        Thomas Braun vielen Dank für deine Hilfe!

                        Jetzt genieß ich erst mal die Sonne.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Support us

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

                        769
                        Online

                        31.9k
                        Users

                        80.2k
                        Topics

                        1.3m
                        Posts

                        iobroker
                        3
                        19
                        2524
                        Loading More Posts
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes
                        Reply
                        • Reply as topic
                        Log in to reply
                        Community
                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                        The ioBroker Community 2014-2023
                        logo