Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. broker Admin nicht erreichbar + Failed to lock DB file

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    broker Admin nicht erreichbar + Failed to lock DB file

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

      @kasten-bier

      Wo hast du die nodejs@18.17.1 denn her?
      Nicht ordentlich aus einem Repo, das läuft nämlich auf 16 bei dir.

      K 1 Reply Last reply Reply Quote 0
      • K
        kasten bier @Thomas Braun last edited by

        @thomas-braun
        oje, ich hab gestern vor verzweiflung einfach in dem Befehl:

        curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
        sudo apt-get install -y nodejs
        

        aus der 16 eine 18 gemacht, glaube ich mich zu erinnern.

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

          @kasten-bier

          Versuch mal das node-fix-Skript aus meiner Signatur.

          K 1 Reply Last reply Reply Quote 0
          • K
            kasten bier @Thomas Braun last edited by kasten bier

            @thomas-braun
            das script ist durchgelaufen, leider keine Admin-Seite da.

            Ist ein Downgrade auf 16.x möglich ?
            Hat mich gestern angemeckert, daß mein 18er aktueller wäre.

            Thomas Braun Glasfaser 2 Replies Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @kasten bier last edited by

              @kasten-bier sagte in broker Admin nicht erreichbar + Failed to lock DB file:

              Ist ein Downgrade auf 16.x möglich ?

              Wozu?

              iob update
              iob upgrade all -y
              
              1 Reply Last reply Reply Quote 0
              • Glasfaser
                Glasfaser @kasten bier last edited by

                @kasten-bier sagte in broker Admin nicht erreichbar + Failed to lock DB file:

                Ist ein Downgrade auf 16.x möglich ?

                @Thomas-Braun

                Nur zur Info bevor er damit weiter macht :

                Operating System: Raspbian GNU/Linux 10 (buster)

                und so eine lange ... unendliche Liste habe ich noch nie gesehen in seinem Log
                mit :

                npm ERR! code ELSPROBLEMS

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

                  @glasfaser sagte in broker Admin nicht erreichbar + Failed to lock DB file:

                  und so eine lange ... unendliche Liste habe ich noch nie gesehen

                  Hab ich natürlich gesehen. Überwiegend extraneous. Die dürfte man mit

                  npm prune
                  rausbekommen. Aber dafür braucht es erstmal eine stabile Basis bei nodejs und Co.

                  1 Reply Last reply Reply Quote 0
                  • K
                    kasten bier @Glasfaser last edited by

                    @glasfaser said in broker Admin nicht erreichbar + Failed to lock DB file:

                    @kasten-bier sagte in broker Admin nicht erreichbar + Failed to lock DB file:

                    und das .. macht man nicht !

                    Naja, es wurde ja eh nix mehr auf die sd-karte geschrieben, jedenfalls lief der admin nicht / nicht erreichbar und meine tasmota-Steckdosen haben geblinkt, weil kein mqqt-server mehr lief.

                    Gruß

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

                      @kasten-bier

                      Macht man trotzdem nicht. Nie. Also im Sinne von GAR NICHT.

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

                        @kasten-bier

                        Wie sieht die Basis denn nun aus bei dir?

                        nodesjs 18.18.0 sauber drauf?

                        K 1 Reply Last reply Reply Quote 0
                        • K
                          kasten bier @Thomas Braun last edited by kasten bier

                          @thomas-braun
                          diag sagt ja

                          Nodejs-Installation:    /usr/bin/nodejs         v18.18.0
                                                  /usr/bin/node           v18.18.0
                                                  /usr/bin/npm            9.8.1
                                                  /usr/bin/npx            9.8.1
                          
                          Recommended versions are nodejs 18.x.y and npm 9.x.y
                          Your nodejs installation is correct
                          
                          

                          , hat es vorhin aber auch.
                          leider habe ich nicht aupgepasst für das "2x 'nothing to do'." nach dem fix

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

                            @kasten-bier

                            cd /opt/iobroker 
                            sudo -H - u iobroker npm prune
                            sudo -H - u iobroker npm ls
                            
                            1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @kasten bier last edited by

                              @kasten-bier

                              iob update
                              
                              K 1 Reply Last reply Reply Quote 0
                              • K
                                kasten bier @Thomas Braun last edited by

                                @thomas-braun

                                iob update
                                Used repository: stable
                                Adapter    "admin"        : 6.10.1   , installed 6.2.23 [Updatable]
                                Adapter    "backitup"     : 2.8.1    , installed 2.1.17 [Updatable]
                                Adapter    "ble"          : 0.13.4   , installed 0.13.0 [Updatable]
                                Adapter    "discovery"    : 3.1.0    , installed 3.1.0
                                Adapter    "echarts"      : 1.5.1    , installed 1.0.12 [Updatable]
                                Adapter    "flot"         : 1.12.0   , installed 1.10.7 [Updatable]
                                Adapter    "fritzdect"    : 2.3.1    , installed 2.2.6  [Updatable]
                                Adapter    "habpanel"     : 0.5.0    , installed 0.5.0
                                Adapter    "history"      : 2.2.6    , installed 2.2.4  [Updatable]
                                Adapter    "jarvis"       : 3.1.2    , installed 3.0.15 [Updatable]
                                Adapter    "javascript"   : 7.1.4    , installed 6.1.4  [Updatable]
                                Controller "js-controller": 5.0.12   , installed 4.0.23 [Updatable]
                                Adapter    "mqtt"         : 4.1.1    , installed 4.0.7  [Updatable]
                                Adapter    "netatmo-crawler": 0.8.1  , installed 0.8.1
                                Adapter    "parser"       : 1.3.2    , installed 1.1.8  [Updatable]
                                Adapter    "shelly"       : 6.4.1    , installed 4.0.7  [Updatable]
                                Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                                Adapter    "smartmeter"   : 3.3.4    , installed 3.3.4
                                Adapter    "socketio"     : 6.5.5    , installed 4.2.0  [Updatable]
                                Adapter    "sonoff"       : 2.5.3    , installed 2.5.1  [Updatable]
                                Adapter    "statistics"   : 2.3.0    , installed 2.2.0  [Updatable]
                                Adapter    "vis"          : 1.4.16   , installed 1.4.16
                                Adapter    "vis-bars"     : 0.1.4    , installed 0.1.4
                                Adapter    "vis-history"  : 1.0.0    , installed 1.0.0
                                Adapter    "vis-hqwidgets": 1.4.0    , installed 1.3.0  [Updatable]
                                Adapter    "vis-rgraph"   : 0.0.2    , installed 0.0.2
                                Adapter    "web"          : 6.1.2    , installed 4.3.0  [Updatable]
                                Adapter    "ws"           : 2.5.5    , installed 1.3.0  [Updatable]
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @kasten bier last edited by

                                  @kasten-bier

                                  cd /opt/iobroker && npm ls
                                  
                                  K 1 Reply Last reply Reply Quote 0
                                  • K
                                    kasten bier @Thomas Braun last edited by

                                    @thomas-braun

                                     cd /opt/iobroker && npm ls
                                    iobroker.inst@3.0.0 /opt/iobroker
                                    ├── iobroker.admin@6.2.23
                                    ├── iobroker.backitup@2.1.17
                                    ├── iobroker.ble@0.13.0
                                    ├── iobroker.discovery@3.1.0
                                    ├── iobroker.echarts@1.0.12
                                    ├── iobroker.flot@1.10.7
                                    ├── iobroker.fritzdect@2.2.6
                                    ├── iobroker.habpanel@0.5.0
                                    ├── iobroker.history@2.2.4
                                    ├── iobroker.jarvis@3.0.15
                                    ├── iobroker.javascript@6.1.4
                                    ├── iobroker.js-controller@4.0.23
                                    ├── iobroker.mqtt@4.0.7
                                    ├── iobroker.netatmo-crawler@0.8.1
                                    ├── iobroker.parser@1.1.8
                                    ├── iobroker.shelly@4.0.7
                                    ├── iobroker.smartmeter@3.3.4
                                    ├── iobroker.sonoff@2.5.1
                                    ├── iobroker.sourceanalytix@0.4.15-alpha.0 (git+ssh://git@github.com/DrozmotiX/ioBroker.sourceanalytix.git#af88beb902468eb03749e5b120f3e350e60256e1)
                                    ├── iobroker.statistics@2.2.0
                                    ├── iobroker.vis-bars@0.1.4
                                    ├── iobroker.vis-history@1.0.0
                                    ├── iobroker.vis-hqwidgets@1.3.0
                                    ├── iobroker.vis-rgraph@0.0.2
                                    ├── iobroker.vis@1.4.16
                                    └── iobroker.web@4.3.0
                                    
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @kasten bier last edited by

                                      @kasten-bier

                                      Das schaut doch schon mal aufgeräumt aus.

                                      iob upgrade all -y
                                      
                                      K 1 Reply Last reply Reply Quote 0
                                      • K
                                        kasten bier @Thomas Braun last edited by

                                        @thomas-braun

                                        darf ich mich bitte ganz, ganz doll bedanken : admin ist da !!

                                        ich muss noch alles starten ausser admin.o und backitup.0, aber über die Oberfläche sollte das ja jetzt kein Problem mehr für mich sein.

                                        Wow. Ich bin begeistert.
                                        Btw. Gibt es noch Hinweise, um das Problem nicht wieder heraufzubeschwören ?

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

                                          @kasten-bier sagte in broker Admin nicht erreichbar + Failed to lock DB file:

                                          ibt es noch Hinweise, um das Problem nicht wieder heraufzubeschwören ?

                                          Ja. Das:

                                          mit Netzstecker ziehen und einstöpseln wieder am Laufen.

                                          tunlichst vermeiden. Und die Kiste insgesamt immer auf einem aktuellen Stand halten.

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

                                            @kasten-bier

                                            Gib nochmal zum Abschluss die Langfassung vom

                                            iob diag
                                            
                                            K 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

                                            691
                                            Online

                                            32.0k
                                            Users

                                            80.6k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            34
                                            742
                                            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