Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Server Cannot start inMem-objects on port 9001

    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

    Server Cannot start inMem-objects on port 9001

    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      nettekov last edited by

      @Thomas-Braun
      eine Frage hätte ich noch:
      Was habe ich falsch gemacht, bzw. wie kann man das hochlaufen der objects.jsonl verhindern

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 last edited by

        Hey, Frage: Warum versucht Ihr nicht einfach "iob fix"? Der sollte die "zu grossen jsonl Files" komprimieren ... (ja ok ein 1,6GB File wird nicht tun wenn man nur 1GB RAM hat aber bei größeren Systemen sollte bitte DAS die erste lösung sein vor einem Backup Restore 🙂

        Und @nettekov Bitte UNBEDINGT js-controller Updaten auf 4.0.24 weil mit der Verson wäre das nie passiert! Da sist das zweite was zur Default-Lösung gehören sollte nach dem Fix

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

          @nettekov

          Mit aktuellem Zeuch sollte das eingentlich von alleine passieren.

          iob update
          

          sagt?

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

            @apollon77

            Ich hatte den verlinkten Thread

            https://forum.iobroker.net/topic/54757/no-connection-to-databases-possible

            nicht mehr komplett gelesen. Hatte gedacht der fixer wäre da schon versucht worden.

            1 Reply Last reply Reply Quote 0
            • N
              nettekov last edited by

              Also war sich bei den Update zu nachlässig.
              Das stimmt ...leider🤕
              Gelobe Besserung.....

              Vielen Dank nochmal

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

                @nettekov

                Was sagt denn nun

                iob update
                
                1 Reply Last reply Reply Quote 0
                • apollon77
                  apollon77 @nettekov last edited by

                  @nettekov Naja der Ehrlichkeit halber: Es hätte ne gewisse wahrscheinlichkeit gegeben das es dann beim Update passiert wäre - wenn du aber beim Update dann vorher den "iob fix" hättest laufen lassen hätte es idealerweise alles magisch geklappt :-))

                  1 Reply Last reply Reply Quote 0
                  • N
                    nettekov last edited by nettekov

                    @Thomas-Braun

                    admin@server03:~$ iob update
                    Used repositories: beta, stable
                    Adapter    "admin"        : 6.3.5    , installed 6.3.5
                    Adapter    "backitup"     : 2.5.9    , installed 2.5.9
                    Adapter    "bshb"         : 0.2.1    , installed 0.2.1
                    Adapter    "discovery"    : 3.1.0    , installed 3.1.0
                    Adapter    "echarts"      : 1.0.12   , installed 1.0.12
                    Adapter    "flot"         : 1.11.0   , installed 1.10.7 [Updatable]
                    Adapter    "javascript"   : 6.1.4    , installed 6.1.4
                    Controller "js-controller": 4.0.24   , installed 4.0.21 [Updatable]
                    Adapter    "ping"         : 1.5.3    , installed 1.5.3
                    Adapter    "sql"          : 2.2.0    , installed 2.2.0
                    Adapter    "zigbee"       : 1.8.10   , installed 1.8.9  [Updatable]
                    
                    

                    Er sagt aber mein Reponsitory wäre beta, sollte aber nicht so sein.

                    ich würde gerne mal das Linux incl iobroker und js-cotroller updaten
                    Hierfür würde gerne wie folgt vorgehen:

                    cd /opt/iobroker
                    iobroker stop
                    sudo apt update 
                    sudo apt full-upgrade
                    npm install iobroker.js-controller
                    iobroker update
                    iobroker upgrade self
                    iobroker upgrade
                    iobroker start
                    

                    Spricht was dagegen

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

                      @nettekov sagte in Server Cannot start inMem-objects on port 9001:

                      Spricht was dagegen

                      Ja, du machst es nicht richtig.
                      So wird ein Schuh draus:

                      sudo apt update 
                      sudo apt full-upgrade
                      iob repo unset beta
                      iob update
                      iob upgrade
                      iob stop 
                      iob upgrade self
                      iob start
                      

                      Vergiss 'npm install IRGENDWAS'.

                      1 Reply Last reply Reply Quote 1
                      • N
                        nettekov last edited by

                        @Thomas-Braun :
                        Sieh doch schon besser :

                        Used repository: stable
                        Adapter    "admin"        : 6.3.5    , installed 6.3.5
                        Adapter    "backitup"     : 2.5.9    , installed 2.5.9
                        Adapter    "bshb"         : 0.2.1    , installed 0.2.1
                        Adapter    "discovery"    : 3.1.0    , installed 3.1.0
                        Adapter    "echarts"      : 1.0.12   , installed 1.0.12
                        Adapter    "flot"         : 1.11.0   , installed 1.10.7 [Updatable]
                        Adapter    "javascript"   : 6.1.4    , installed 6.1.4
                        Controller "js-controller": 4.0.24   , installed 4.0.24
                        Adapter    "ping"         : 1.5.3    , installed 1.5.3
                        Adapter    "sql"          : 2.2.0    , installed 2.2.0
                        Adapter    "zigbee"       : 1.8.10   , installed 1.8.10
                        
                        

                        den Flot adapter läass sich nicht updaten

                        ich wollte noch mal explizit für den sehr sehr guten Support bedanken.
                        Da können sich so manche Unternehmen in Deutschland eine Scheibe von abschneiden.
                        Schick mir mal deine E-Mail, ich würde gerne was über Paypal schicken.
                        Oder hast Du eine Donate

                        Vielen Dank nochmal.
                        Gruss nettekov

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

                          @nettekov sagte in Server Cannot start inMem-objects on port 9001:

                          den Flot adapter läass sich nicht updaten

                          Warum nicht?

                          iobroker upgrade flot --debug
                          

                          sagt?

                          1 Reply Last reply Reply Quote 0
                          • N
                            nettekov last edited by

                            @thomas-braun said in Server Cannot start inMem-objects on port 9001:

                            iobroker upgrade flot --debug

                            admin@server03:~$ iobroker upgrade flot --debug
                            Cannot check dependencies: Required dependency "web" not found on this host.
                            
                            
                            apollon77 1 Reply Last reply Reply Quote 0
                            • apollon77
                              apollon77 @nettekov last edited by

                              @nettekov ich denke der wurde mal installiert bevor der Controller das so genau prüft wie jetzt. Aber ohne Web Adapter ist er eh nicht zugreifbar also kann er auch weg. Oder?!

                              D 1 Reply Last reply Reply Quote 0
                              • D
                                Doggie @apollon77 last edited by

                                Hallo,
                                ich habe nach einigen Spannungsunterbrechungen das gleiche Problem, das hier behandelt wird:

                                code_text
                                ```2023-01-27 11:22:20.212  - error: host.raspberrypi-Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!```
                                code_text
                                

                                Der ioBroker startet nicht mehr im Browser. Per SSH ist er erreichbar.
                                Lässt sich für "Dummies" zusammenfassen, was jetzt zu tun ist?
                                Oder ist es für Anfänger wie mich besser das System neu aufzusetzen und das Backup einzuspielen?

                                apollon77 1 Reply Last reply Reply Quote 0
                                • apollon77
                                  apollon77 @Doggie last edited by apollon77

                                  @doggie Ok, versuche

                                  • iob fix
                                  • gehts danach wieder?
                                  • Falls nicht iob diag Ausgabe posten
                                  D 1 Reply Last reply Reply Quote 0
                                  • D
                                    Doggie @apollon77 last edited by

                                    @apollon77 Der "Fix" hat nicht geholfen.

                                    ======================= SUMMARY =======================
                                                         v.2023-01-02
                                    
                                    
                                    Operatingsystem:        Raspbian GNU/Linux 11 (bullseye)
                                    Installation:           Native
                                    Timezone:               Europe/Berlin
                                    User-ID:                1000
                                    X-Server:               true
                                    Boot Target:            graphical.target
                                    
                                    Pending OS-Updates:     116
                                    
                                    Nodejs-Installation:    /usr/bin/nodejs         v16.17.0
                                                            /usr/bin/node           v16.17.0
                                                            /usr/bin/npm            8.15.0
                                                            /usr/bin/npx            8.15.0
                                    
                                    ioBroker Core:          js-controller           4.0.24
                                                            admin                   6.3.5
                                    
                                    ioBroker Status:        iobroker is running on this host.
                                    
                                    
                                    Objects type: jsonl
                                    States  type: jsonl
                                    
                                    Status admin:
                                    + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                    
                                    Cannot download repository hash file from "http://download.iobroker.net/sources-dist-hash.json": timeout of 10000ms exceeded
                                    Cannot download repository file from "http://download.iobroker.net/sources-dist.json": timeout of 10000ms exceeded
                                    Pending iob updates:    0
                                    
                                    Active repo(s): stable
                                    
                                    Objects:                2271
                                    States:                 1825
                                    
                                    Size of iob-Database:
                                    
                                    16M     /opt/iobroker/iobroker-data/objects.jsonl
                                    2.7M    /opt/iobroker/iobroker-data/states.jsonl
                                    
                                    
                                    =================== END OF SUMMARY ====================
                                    Thomas Braun apollon77 2 Replies Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Doggie last edited by

                                      @doggie

                                      Grafik-Mumpitz ausschalten, updates einspielen.

                                      D 1 Reply Last reply Reply Quote 0
                                      • D
                                        Doggie @Thomas Braun last edited by

                                        @thomas-braun Was bitte ist denn "Grafik-Mumpitz"?
                                        Gibt es einen Befehl: iob switchoff grafikmumpitz ?

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

                                          @doggie

                                          sudo raspi-config
                                          

                                          Mumpitz im Menü ausschalten:

                                          1 System Options       
                                          S5 Boot / Auto Login 
                                          B1 Console           
                                          

                                          System im Terminal updaten:

                                          sudo apt update
                                          iob stop
                                          sudo apt full-upgrade
                                          sudo reboot
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • apollon77
                                            apollon77 @Doggie last edited by

                                            @doggie Bist Du sicher??? Also in iob diag sind einige Ausgaben drin die DB Access brauchen und die tun alle ... Also was genau passiert?

                                            Das einzige was hier in der Ausgabe komisch ist sind die Timeouts beim laden der Repo Files ... aber das hat mit dem Thema das er nicht startet nichts zu tun an sich

                                            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

                                            477
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            40
                                            429
                                            69685
                                            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