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 Webinterface nicht erreichbar

    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 Webinterface nicht erreichbar

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

      @thomas-braun

      pi@raspberrypi:/ $ iob status
      No connection to databases possible ...
      
      pi@raspberrypi:/ $ iob start
      pi@raspberrypi:/ $
      
      pi@raspberrypi:/ $ sudo ln -s /usr/bin/node /usr/bin/nodejs
      pi@raspberrypi:/ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
      armv7l
      /usr/bin/nodejs
      /usr/bin/node
      /usr/bin/npm
      v14.19.1
      v14.19.1
      6.14.16
      4.0.21
      pi
      pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker
      /
      Hit:1 http://phoscon.de/apt/deconz buster InRelease
      Hit:2 http://archive.raspberrypi.org/debian buster InRelease
      Hit:3 http://raspbian.raspberrypi.org/raspbian buster InRelease
      Hit:4 https://deb.nodesource.com/node_14.x buster InRelease
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      93 packages can be upgraded. Run 'apt list --upgradable' to see them.
      nodejs:
        Installed: 14.19.1-deb-1nodesource1
        Candidate: 14.20.1-deb-1nodesource1
        Version table:
           14.20.1-deb-1nodesource1 500
              500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
       *** 14.19.1-deb-1nodesource1 100
              100 /var/lib/dpkg/status
           10.24.0~dfsg-1~deb10u2 500
              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
      pi@raspberrypi:/ $
      
      

      hoffe das stimmt so ....

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

        @officertoasty sagte in ioBroker Webinterface nicht erreichbar:

        93 packages can be upgraded.

        Bevor wir da weiter machen: Erstmal Systempflege betreiben! Das ist geraume Zeit nicht mehr getan worden.

        iobroker stop
        sudo apt update
        sudo apt full-upgrade
        sudo reboot
        
        O 1 Reply Last reply Reply Quote 0
        • O
          OfficerToasty @Thomas Braun last edited by OfficerToasty

          @thomas-braun
          okay, führe ich gerade durch. Liege ich also mit dem alten "never touch a running system" falsch ? 🙂
          ...
          ..
          .
          So alles geupdated, neu gebootet, Fehler natürlich weiterhin bestehend....

          pi@raspberrypi:~ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sud                                    o apt update &> /dev/null && sudo apt update && apt policy nodejs
          armv7l
          /usr/bin/nodejs
          /usr/bin/node
          /usr/bin/npm
          v14.20.1
          v14.20.1
          6.14.17
          4.0.21
          pi
          pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker
          /home/pi
          Hit:1 http://phoscon.de/apt/deconz buster 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_14.x buster InRelease
          Reading package lists... Done
          Building dependency tree
          Reading state information... Done
          All packages are up to date.
          nodejs:
            Installed: 14.20.1-deb-1nodesource1
            Candidate: 14.20.1-deb-1nodesource1
            Version table:
           *** 14.20.1-deb-1nodesource1 500
                  500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                  100 /var/lib/dpkg/status
               10.24.0~dfsg-1~deb10u2 500
                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
          pi@raspberrypi:~ $
          
          

          iob status bringt nun etwas anderes:

          pi@raspberrypi:~ $ iob status
          Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @OfficerToasty last edited by

            @officertoasty sagte in ioBroker Webinterface nicht erreichbar:

            Liege ich also mit dem alten "never touch a running system" falsch ?

            Ja. Grundsätzlich falsch. "Keep your updates coming" ist die Regel.
            Wie groß ist die Datei /opt/iobroker/iobroker-data/objects.jsonl?

            O 1 Reply Last reply Reply Quote 0
            • O
              OfficerToasty @Thomas Braun last edited by

              @thomas-braun
              okay, merke ich mir ! Danke. versuche ich in Zukunft zu beherzigen

              pi@raspberrypi:/opt/iobroker/iobroker-data $ du -sh objects.jsonl
              935M    objects.jsonl
              pi@raspberrypi:/opt/iobroker/iobroker-data $
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @OfficerToasty last edited by Thomas Braun

                @officertoasty sagte in ioBroker Webinterface nicht erreichbar:

                935M

                Ähhh, das ist klar, dass die nicht eingelesen werden kann.
                Meine hat 27MB.

                O 1 Reply Last reply Reply Quote 0
                • O
                  OfficerToasty @Thomas Braun last edited by OfficerToasty

                  @thomas-braun
                  okay, das ist dann doch ein deutlicher unterschied 🙂
                  Ist das File in einem Backup enthalten standardmäßig ? Könnte ich dann mal vergleichen. Die Frage ist: wieso ist die Datei so riesig bei mir ??

                  Thomas Braun crunchip 2 Replies Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @OfficerToasty last edited by

                    @officertoasty

                    Solche Fälle hatten wir schon ein paar. Ich weiß aber nicht mehr genau wie die gelöst wurden.

                    1 Reply Last reply Reply Quote 0
                    • crunchip
                      crunchip Forum Testing Most Active @OfficerToasty last edited by

                      @officertoasty https://forum.iobroker.net/topic/53954/gelöst-states-jsonl-file-viel-zu-groß/23

                      O 1 Reply Last reply Reply Quote 0
                      • O
                        OfficerToasty @crunchip last edited by

                        @crunchip @Thomas-Braun
                        danke für eure Hilfe bis hierher. Ich habe die "backup" Einträge aus der iobroker.json entfernt.
                        mit iob status erhalte ich nun eine andere Ausgabe, jedoch trotz reboot - noch kein Erfolg

                        pi@raspberrypi:~ $ iob status
                         Cannot read system.config: null (OK when migrating or restoring)
                        iobroker is running on this host.
                        
                        
                        Objects type: jsonl
                        States  type: jsonl
                        pi@raspberrypi:~ $
                        
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @OfficerToasty last edited by Thomas Braun

                          @officertoasty

                          Versuch mal

                          iobroker setup first
                          

                          Ich glaube dann wird die neugeschrieben.

                          O 1 Reply Last reply Reply Quote 0
                          • O
                            OfficerToasty @Thomas Braun last edited by OfficerToasty

                            @thomas-braun

                            es läuft wieder ....
                            Ich habe hier jetzt noch dein Mini-How To durhgemacht und die "..objects.jsonl" und "...states.jsonl" ersetzt:

                            iobroker stop
                            cd /opt/iobroker/iobroker-data/
                            mv objects.json objects.json.old
                            mv states.json states.json.old
                            cd backup-objects/
                            gunzip -ck INTAKTE_DATEI_objects.json.gz > /opt/iobroker/iobroker-data/objects.json
                            gunzip -ck INTAKTE_DATEI_states.json.gz > /opt/iobroker/iobroker-data/states.json
                            iobroker start
                            

                            Vielen Dank für die Hilfe.
                            Ob das jetzt allerdings von Dauer ist, das ist die Frage. Wieso diese Datei so groß wurde, weiß ich leider nicht immer nicht.

                            Homoran crunchip 2 Replies Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators @OfficerToasty last edited by

                              @officertoasty sagte in ioBroker Webinterface nicht erreichbar:

                              dein Mini-How To durhgemacht und die "..objects.jsonl" und "...states.jsonl" ersetzt:

                              das war aber eigentlich für .json gedacht und nicht für .jsonl!
                              aber gut zu wissen dass es da auch funktioniert.

                              O 1 Reply Last reply Reply Quote 0
                              • crunchip
                                crunchip Forum Testing Most Active @OfficerToasty last edited by

                                @officertoasty sagte in ioBroker Webinterface nicht erreichbar:

                                Wieso diese Datei so groß wurde, weiß ich leider nicht immer nicht.

                                ein Adapter eventuell dabei, der zuviel anlegt?

                                1 Reply Last reply Reply Quote 0
                                • O
                                  OfficerToasty @Homoran last edited by

                                  @homoran sagte in ioBroker Webinterface nicht erreichbar:

                                  das war aber eigentlich für .json gedacht und nicht für .jsonl!
                                  aber gut zu wissen dass es da auch funktioniert.

                                  okay, da dort eigentlich ja nur 2 files aus dem backup zurückgespielt werden, hab ichs einfach mal versucht ☺

                                  @crunchip sagte in ioBroker Webinterface nicht erreichbar:

                                  ein Adapter eventuell dabei, der zuviel anlegt?

                                  scheinbar schon... ich habe aber schon lange keinen Adapter mehr neu hinzugefügt.
                                  Das wäre jetzt noch toll rauszufinden....

                                  crunchip 1 Reply Last reply Reply Quote 0
                                  • crunchip
                                    crunchip Forum Testing Most Active @OfficerToasty last edited by

                                    @officertoasty sagte in ioBroker Webinterface nicht erreichbar:

                                    Das wäre jetzt noch toll rauszufinden....

                                    zeige mal die Liste deiner Adapter, es gibt da ein paar Kandidaten, die im Laufe der Zeit immer mehr anlegen

                                    iob list instances
                                    
                                    O 1 Reply Last reply Reply Quote 0
                                    • O
                                      OfficerToasty @crunchip last edited by

                                      @crunchip
                                      Ich habe ja ein relativ "kleines" System. Hier die Liste:

                                      pi@raspberrypi:~ $ iob list instances
                                      + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                      + system.adapter.backitup.0               : backitup              : raspberrypi                              -  enabled
                                      + system.adapter.deconz.0                 : deconz                : raspberrypi                              -  enabled, port: 80
                                        system.adapter.devices.0                : devices               : raspberrypi                              - disabled
                                      + system.adapter.discovery.0              : discovery             : raspberrypi                              -  enabled
                                        system.adapter.habpanel.0               : habpanel              : raspberrypi                              - disabled
                                      + system.adapter.info.0                   : info                  : raspberrypi                              -  enabled
                                      + system.adapter.javascript.0             : javascript            : raspberrypi                              -  enabled
                                      + system.adapter.mqtt.0                   : mqtt                  : raspberrypi                              -  enabled, port: 1883, bind: 192.168.0.174
                                      + system.adapter.mystrom.0                : mystrom               : raspberrypi                              -  enabled
                                      + system.adapter.shelly.0                 : shelly                : raspberrypi                              -  enabled, port: 1882, bind: 0.0.0.0
                                      + system.adapter.telegram.0               : telegram              : raspberrypi                              -  enabled, port: 8443, bind: 0.0.0.0
                                      + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                      + system.adapter.zwave2.0                 : zwave2                : raspberrypi                              -  enabled
                                      
                                      + instance is alive
                                      pi@raspberrypi:~ $
                                      
                                      
                                      crunchip 1 Reply Last reply Reply Quote 0
                                      • crunchip
                                        crunchip Forum Testing Most Active @OfficerToasty last edited by

                                        @officertoasty sagte in ioBroker Webinterface nicht erreichbar:

                                        relativ "kleines" System.

                                        stimmt und auch keiner der Adapter dabei

                                        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

                                        848
                                        Online

                                        31.9k
                                        Users

                                        80.1k
                                        Topics

                                        1.3m
                                        Posts

                                        4
                                        20
                                        456
                                        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