Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. iobroker geht nicht nach stromausfall

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    iobroker geht nicht nach stromausfall

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

      @thomas-braun said in iobroker geht nicht nach stromausfall:

      iob stop

      ich bekomme schonn hier fehler

      ubuntu@ubuntu:/opt/iobroker$ iob update
      Used repository: stable
      hash unchanged, use cached sources
      update done
       Cannot find view "system" for search "instance"
      Error: Cannot find view "system"
          at ObjectsInMemoryServerClass._getObjectView (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3313:59)
          at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      Adapter    "admin"         : 6.10.1   , installed 5.2.1 [Updateable]
      Adapter    "alexa2"        : 3.25.2   , installed 3.9.3 [Updateable]
      Adapter    "backitup"      : 2.6.23   , installed 2.2.2 [Updateable]
      Adapter    "cloud"         : 4.4.1    , installed 4.1.0 [Updateable]
      Adapter    "discovery"     : 3.1.0    , installed 2.7.0 [Updateable]
      Adapter    "flot"          : 1.12.0   , installed 1.10.6 [Updateable]
      Adapter    "heatingcontrol": 2.11.1   , installed 2.7.2 [Updateable]
      Adapter    "history"       : 2.2.6    , installed 1.9.14 [Updateable]
      Adapter    "ical"          : 1.13.3   , installed 1.11.4 [Updateable]
      Adapter    "info"          : 1.9.26   , installed 1.9.8 [Updateable]
      Adapter    "iot"           : 1.14.5   , installed 1.8.22 [Updateable]
      Adapter    "javascript"    : 7.1.4    , installed 5.2.13 [Updateable]
      Controller "js-controller" : 5.0.12   , installed 3.3.22 [Updateable]
      Adapter    "linkeddevices" : 1.5.5    , installed 1.4.3 [Updateable]
      Adapter    "mobile"        : 1.0.1    , installed 1.0.1
      Adapter    "radar2"        : 2.0.7    , installed 2.0.3 [Updateable]
      Adapter    "rpi2"          : 1.3.2    , installed 1.3.1 [Updateable]
      Adapter    "shuttercontrol": 1.6.1    , installed 1.2.1 [Updateable]
      Adapter    "simple-api"    : 2.7.2    , installed 2.6.2 [Updateable]
      Adapter    "socketio"      : 6.5.5    , installed 3.1.4 [Updateable]
      Adapter    "telegram"      : 1.16.0   , installed 1.10.0 [Updateable]
      Adapter    "text2command"  : 3.0.2    , installed 2.1.1 [Updateable]
      Adapter    "tr-064"        : 4.2.18   , installed 4.2.14 [Updateable]
      Adapter    "vis"           : 1.4.16   , installed 1.4.5 [Updateable]
      Adapter    "vis-colorpicker": 2.0.3   , installed 1.2.0 [Updateable]
      Adapter    "vis-hqwidgets" : 1.4.0    , installed 1.1.7 [Updateable]
      Adapter    "vis-jqui-mfd"  : 1.0.12   , installed 1.0.12
      Adapter    "vis-metro"     : 1.2.0    , installed 1.1.2 [Updateable]
      Adapter    "vis-timeandweather": 1.2.2   , installed 1.1.7 [Updateable]
      Adapter    "web"           : 6.1.2    , installed 3.4.9 [Updateable]
      Adapter    "zwave2"        : 3.0.5    , installed 2.4.1 [Updateable]
      ubuntu@ubuntu:/opt/iobroker$ iob upgrade all -y
       Cannot find view "system" for search "instance"
      Cannot find view "system"
       Cannot find view "system" for search "instance"
      Cannot find view "system"
       Cannot find view "system" for search "instance"
      Cannot find view "system"
       Cannot find view "system" for search "instance"
      Cannot find view "system"
       Cannot find view "system" for search "instance"
      Cannot find view "system"
       Cannot find view "system" for search "instance"
      Cannot find view "system"
       Cannot find view "system" for search "instance"
      Cannot find view "system"
       Cannot find view "system" for search "instance"
      Cannot find view "system"
       Cannot find view "system" for search "instance"
      Cannot find view "system"
       Cannot find view "system" for search "instance"
      Cannot find view "system"
       Cannot find view "system" for search "instance"
      Cannot find view "system"
       Cannot find view "system" for search "instance"
      Cannot find view "system"
       Cannot find view "system" for search "instance"
      Cannot find view "system"
       Cannot find view "system" for search "instance"
      Cannot find view "system"
       Cannot find view "system" for search "instance"
      Cannot find view "system"
       Cannot find view "system" for search "instance"
      Cannot find view "system"
       Cannot find view "system" for search "instance"
      Cannot find view "system"
       Cannot find view "system" for search "instance"
      Cannot find view "system"
       Cannot find view "system" for search "instance"
      Cannot find view "system"
       Cannot find view "system" for search "instance"
      Cannot find view "system"
       Cannot find view "system" for search "instance"
      Cannot find view "system"
       Cannot find view "system" for search "instance"
      Cannot find view "system"
       Cannot find view "system" for search "instance"
      Cannot find view "system"
       Cannot find view "system" for search "instance"
      Cannot find view "system"
       Cannot find view "system" for search "instance"
      Cannot find view "system"
       Cannot find view "system" for search "instance"
      Cannot find view "system"
       Cannot find view "system" for search "instance"
      Cannot find view "system"
       Cannot find view "system" for search "instance"
      Cannot find view "system"
      ubuntu@ubuntu:/opt/iobroker
      
      E 1 Reply Last reply Reply Quote 0
      • OliverIO
        OliverIO @Thomas Braun last edited by

        @thomas-braun sagte in iobroker geht nicht nach stromausfall:

        js-controller: 3.3.22

        ich glaube mich dunkel daran zu erinnern, das man von so alten installationen nicht in einem rutsch auf aktuell aktualisieren kann.
        ich musste damals erst auf die letzte 3er version mit npm install den js-controller aktualisieren und dann ging es wieder mit iob upgrade weiter.

        das ist aber nicht sicher, wie gesagt kann mich nur dunkel daran erinnern.
        auch das einspielen eines backups könnte von so alten versionen problematisch sein. aber da müssen sich hier noch andere dazu äußern

        Thomas Braun E 2 Replies Last reply Reply Quote 1
        • Thomas Braun
          Thomas Braun Most Active @OliverIO last edited by

          @oliverio

          Ich hatte mich jetzt hieran orientiert:

          Darüber hinaus ist der js-controller 5.0 generell kompatibel mit allen bestehenden ioBroker-Systemen. Ein Update von der 2.0/2.1/2.2/3.x ist problemlos möglich. Wir empfehlen allerings vor dem Update auf die 5.0 idealerweise ein Update auf die 4.0 und vorher auf 3.3.x durchzuführen, da ein Downgrade nach einem erfolgten Update nur auf eine 3.3.x möglich ist (siehe FAQ)! Nur die Node.js Version muss weiterhin mindestens 16.x sein, wie oben bereits ausgeführt.

          Eine zwingende Installation von Vorversionen lese ich da nicht heraus.

          OliverIO 1 Reply Last reply Reply Quote 1
          • OliverIO
            OliverIO @Thomas Braun last edited by OliverIO

            @thomas-braun
            wenn es klappt, dann gut

            ist gesichert, das sein Datenspeicher noch gut ist?
            Nach Stromausfall zicken manchmal die SD-Cards rum

            Thomas Braun 2 Replies Last reply Reply Quote 1
            • Thomas Braun
              Thomas Braun Most Active @OliverIO last edited by

              @oliverio sagte in iobroker geht nicht nach stromausfall:

              wenn es klappt, dann gut

              Offenbar klappt es nicht.

              Cannot find view "system" for search "instance"

              Da gab es aber auch schon mal was gegen. Ich hab nur gerade kein Heilmittel parat.

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

                @oliverio sagte in iobroker geht nicht nach stromausfall:

                Nach Stromausfall zicken manchmal die SD-Cards rum

                Ja, die fressen dann offene files...
                Ist hier ja auch offenbar passiert.

                1 Reply Last reply Reply Quote 1
                • OliverIO
                  OliverIO last edited by

                  @thomas-braun

                  Die Fehlermeldung scheint auf redis hinzuweisen, das er da die system.* datenpunkte nicht findet.
                  evtl ist die redis db kaputt

                  Error: Cannot find view "system"
                      at ObjectsInMemoryServerClass._getObjectView (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3313:59)
                  
                  Thomas Braun Homoran 2 Replies Last reply Reply Quote 1
                  • Thomas Braun
                    Thomas Braun Most Active @OliverIO last edited by

                    @oliverio

                    Da hab ich überhaupt keine Aktien drin.
                    Damals war glaube ich File/File der Standard?

                    1 Reply Last reply Reply Quote 1
                    • E
                      Esmax666 @OliverIO last edited by

                      @oliverio was soll dann genau machen ?

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

                        @esmax666

                        Hast du redis verwendet?

                        apt policy redis*
                        

                        sagt?

                        E 1 Reply Last reply Reply Quote 1
                        • E
                          Esmax666 @Thomas Braun last edited by

                          @thomas-braun said in iobroker geht nicht nach stromausfall:

                          apt policy redis*

                          ubuntu@ubuntu:/opt/iobroker$ apt policy redis*
                          redis-server:
                            Installed: (none)
                            Candidate: 5:6.0.11-1
                            Version table:
                               5:6.0.11-1 500
                                  500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe armhf Packages
                          redis-redisearch-doc:
                            Installed: (none)
                            Candidate: 1:1.2.2-3
                            Version table:
                               1:1.2.2-3 500
                                  500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe armhf Packages
                          redis-sentinel:
                            Installed: (none)
                            Candidate: 5:6.0.11-1
                            Version table:
                               5:6.0.11-1 500
                                  500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe armhf Packages
                          redis-tools:
                            Installed: (none)
                            Candidate: 5:6.0.11-1
                            Version table:
                               5:6.0.11-1 500
                                  500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe armhf Packages
                          redis-redisearch:
                            Installed: (none)
                            Candidate: 1:1.2.2-3
                            Version table:
                               1:1.2.2-3 500
                                  500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe armhf Packages
                          redis:
                            Installed: (none)
                            Candidate: 5:6.0.11-1
                            Version table:
                               5:6.0.11-1 500
                                  500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe armhf Packages
                          ubuntu@ubuntu:/opt/iobroker$ apt policy redis
                          redis:
                            Installed: (none)
                            Candidate: 5:6.0.11-1
                            Version table:
                               5:6.0.11-1 500
                                  500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe armhf Packages
                          ubuntu@ubuntu:/opt/iobroker$
                          
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Esmax666 last edited by

                            @esmax666 sagte in iobroker geht nicht nach stromausfall:

                            Demnach kann das nicht direkt über redis gelaufen sein. Sonst müsste da irgendwas aus der Ecke installiert sein.

                            cd /opt/iobroker 
                            npm install iobroker.js-controller@4.0.24
                            

                            liefert?

                            E 2 Replies Last reply Reply Quote 1
                            • E
                              Esmax666 @Thomas Braun last edited by

                              @thomas-braun

                              ubuntu@ubuntu:/opt/iobroker$ cd /opt/iobroker
                              ubuntu@ubuntu:/opt/iobroker$ npm install iobroker.js-controller@4.0.24
                              
                              added 48 packages, removed 33 packages, and changed 52 packages in 1m
                              
                              86 packages are looking for funding
                                run `npm fund` for details
                              ubuntu@ubuntu:/opt/iobroker$ ~^C
                              ubuntu@ubuntu:/opt/iobroker$ apt policy redis*
                              redis-server:
                                Installed: (none)
                                Candidate: 5:6.0.11-1
                                Version table:
                                   5:6.0.11-1 500
                                      500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe armhf Packages
                              redis-redisearch-doc:
                                Installed: (none)
                                Candidate: 1:1.2.2-3
                                Version table:
                                   1:1.2.2-3 500
                                      500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe armhf Packages
                              redis-sentinel:
                                Installed: (none)
                                Candidate: 5:6.0.11-1
                                Version table:
                                   5:6.0.11-1 500
                                      500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe armhf Packages
                              redis-tools:
                                Installed: (none)
                                Candidate: 5:6.0.11-1
                                Version table:
                                   5:6.0.11-1 500
                                      500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe armhf Packages
                              redis-redisearch:
                                Installed: (none)
                                Candidate: 1:1.2.2-3
                                Version table:
                                   1:1.2.2-3 500
                                      500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe armhf Packages
                              redis:
                                Installed: (none)
                                Candidate: 5:6.0.11-1
                                Version table:
                                   5:6.0.11-1 500
                                      500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe armhf Packages
                              ubuntu@ubuntu:/opt/iobroker$
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Esmax666 last edited by

                                @esmax666

                                iob restart
                                ...etwas abwarten...
                                iob status
                                
                                E 1 Reply Last reply Reply Quote 1
                                • E
                                  Esmax666 @Thomas Braun last edited by

                                  @thomas-braun said in iobroker geht nicht nach stromausfall:

                                  iob status

                                  ubuntu@ubuntu:/opt/iobroker$ iob restart
                                  ubuntu@ubuntu:/opt/iobroker$ iob status
                                  iobroker is running on this host.
                                  
                                  
                                  Objects type: jsonl
                                  States  type: jsonl
                                  ubuntu@ubuntu:/opt/iobroker$
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Esmax666 last edited by

                                    @esmax666
                                    Okay, schaut schon besser aus.

                                    iob update
                                    iob upgrade all -y
                                    
                                    E 1 Reply Last reply Reply Quote 1
                                    • E
                                      Esmax666 @Thomas Braun last edited by

                                      @thomas-braun said in iobroker geht nicht nach stromausfall:

                                      iob upgrade all -y

                                      ok läuft er braucht noch ein bisschen zeit 😧

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

                                        @esmax666

                                        Klar, da muss ja jetzt jeder Adapter eine Zeitreise in die Gegenwart antreten.
                                        Kannst 'ne Runde spazieren gehen. Das wird länger dauern.

                                        E 2 Replies Last reply Reply Quote 1
                                        • E
                                          Esmax666 @Thomas Braun last edited by

                                          @thomas-braun ja klar, und wenn es fertig is soll ich ein ubuntu update nochmachen ?
                                          also

                                          sudo apt-get update 
                                          sudo apt-get upgrade
                                          sudo reboot
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • Homoran
                                            Homoran Global Moderator Administrators @OliverIO last edited by

                                            @oliverio sagte in iobroker geht nicht nach stromausfall:

                                            @thomas-braun

                                            Die Fehlermeldung scheint auf redis hinzuweisen, das er da die system.* datenpunkte nicht findet.
                                            evtl ist die redis db kaputt

                                            Error: **Cannot find view "system"**
                                                at ObjectsInMemoryServerClass._getObjectView (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3313:59)
                                            

                                            hab ich nur noch von hier in Erinnerung
                                            https://forum.iobroker.net/topic/43325/mini-howto-cannot-find-view-system-for-search-host

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

                                            Support us

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

                                            777
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            154
                                            9280
                                            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