Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Neuinstallation auf Ubuntu 20.04.6 Fehler

    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

    Neuinstallation auf Ubuntu 20.04.6 Fehler

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Smigl @Smigl last edited by

      OK... Squeezebox auf 9100 umgestellt.

      npm ERR! Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
      
      npm ERR! A complete log of this run can be found in: /home/smigl/.npm/_logs/2024-04-13T17_04_19_886Z-debug-0.log
      
      

      IP:9001 bringt Fehler Verbindung fehlgeschlagen im Firefox

      und nu...

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

        @smigl sagte in Neuinstallation auf Ubuntu 20.04.6 Fehler:

        und nu...

        iobroker mal neugestartet?

        S 1 Reply Last reply Reply Quote 0
        • S
          Smigl @Thomas Braun last edited by Smigl

          @thomas-braun
          Hm, Serverneustart
          htop bringt mit filter iobroker, npm und node jeweils keine Prozesse.

          S Thomas Braun 2 Replies Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @Smigl last edited by

            @smigl sagte in Neuinstallation auf Ubuntu 20.04.6 Fehler:

            Squeezebox auf 9100 umgestellt.

            und iobroker auch neu installiert?

            Homoran 1 Reply Last reply Reply Quote 0
            • S
              Smigl @Smigl last edited by

              smigl@server1:~$ iobroker status
              node:internal/modules/cjs/loader:1143
              throw err;
              ^

              Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
              at Module._load (node:internal/modules/cjs/loader:981:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
              at node:internal/main/run_main_module:28:49 {
              code: 'MODULE_NOT_FOUND',
              requireStack: []
              }

              Node.js v18.20.2

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

                @smigl sagte in Neuinstallation auf Ubuntu 20.04.6 Fehler:

                htop bringt mit filter iobroker, npm und node jeweils keine Prozesse.

                Und was bringt

                iob diag
                

                so an Erkenntnisgewinn?

                S 1 Reply Last reply Reply Quote 0
                • S
                  Smigl @Thomas Braun last edited by Homoran

                  @thomas-braun
                  Ähhhhh:

                  Copy text starting here:

                  ======================= SUMMARY =======================
                                          v.2023-10-10
                  
                  
                     Static hostname: server1
                           Icon name: computer-desktop
                             Chassis: desktop
                    Operating System: Ubuntu 20.04.6 LTS
                              Kernel: Linux 5.4.0-176-generic
                        Architecture: x86-64
                  
                  Installation:           native
                  Kernel:                 x86_64
                  Userland:               amd64
                  Timezone:               Europe/Berlin (CEST, +0200)
                  User-ID:                1000
                  X-Server:               false
                  Boot Target:            graphical.target
                  
                  Pending OS-Updates:     0
                  node:internal/modules/cjs/loader:1143
                    throw err;
                    ^
                  
                  Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                      at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
                      at Module._load (node:internal/modules/cjs/loader:981:27)
                      at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                      at node:internal/main/run_main_module:28:49 {
                    code: 'MODULE_NOT_FOUND',
                    requireStack: []
                  }
                  
                  Node.js v18.20.2
                  Pending iob updates:    0
                  
                  Nodejs-Installation:    /usr/bin/nodejs         v18.20.2
                                          /usr/bin/node           v18.20.2
                                          /usr/bin/npm            10.5.0
                                          /usr/bin/npx            10.5.0
                                          /usr/bin/corepack       0.25.2
                  
                  Recommended versions are nodejs  and npm
                  Your nodejs installation is correct
                  
                  MEMORY:
                                total        used        free      shared  buff/cache   available
                  Mem:           7.9G        662M        5.8G        3.0M        1.4G        6.8G
                  Swap:          4.1G          0B        4.1G
                  Total:          12G        662M        9.9G
                  
                  node:internal/modules/cjs/loader:1143
                    throw err;
                    ^
                  
                  Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                      at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
                      at Module._load (node:internal/modules/cjs/loader:981:27)
                      at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                      at node:internal/main/run_main_module:28:49 {
                    code: 'MODULE_NOT_FOUND',
                    requireStack: []
                  }
                  
                  Node.js v18.20.2
                  Active iob-Instances:   0
                  node:internal/modules/cjs/loader:1143
                    throw err;
                    ^
                  
                  Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                      at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
                      at Module._load (node:internal/modules/cjs/loader:981:27)
                      at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                      at node:internal/main/run_main_module:28:49 {
                    code: 'MODULE_NOT_FOUND',
                    requireStack: []
                  }
                  
                  Node.js v18.20.2
                  
                  node:internal/modules/cjs/loader:1143
                    throw err;
                    ^
                  
                  Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                      at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
                      at Module._load (node:internal/modules/cjs/loader:981:27)
                      at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                      at node:internal/main/run_main_module:28:49 {
                    code: 'MODULE_NOT_FOUND',
                    requireStack: []
                  }
                  
                  Node.js v18.20.2
                  ioBroker Core:          js-controller
                  node:internal/modules/cjs/loader:1143
                    throw err;
                    ^
                  
                  Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                      at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
                      at Module._load (node:internal/modules/cjs/loader:981:27)
                      at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                      at node:internal/main/run_main_module:28:49 {
                    code: 'MODULE_NOT_FOUND',
                    requireStack: []
                  }
                  
                  Node.js v18.20.2
                                          admin
                  
                  node:internal/modules/cjs/loader:1143
                    throw err;
                    ^
                  
                  Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                      at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
                      at Module._load (node:internal/modules/cjs/loader:981:27)
                      at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                      at node:internal/main/run_main_module:28:49 {
                    code: 'MODULE_NOT_FOUND',
                    requireStack: []
                  }
                  
                  Node.js v18.20.2
                  ioBroker Status:
                  
                  Status admin and web instance:
                  node:internal/modules/cjs/loader:1143
                    throw err;
                    ^
                  
                  Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                      at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
                      at Module._load (node:internal/modules/cjs/loader:981:27)
                      at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                      at node:internal/main/run_main_module:28:49 {
                    code: 'MODULE_NOT_FOUND',
                    requireStack: []
                  }
                  
                  Node.js v18.20.2
                  
                  Objects:                0
                  States:                 0
                  
                  Size of iob-Database:
                  
                  24K     /opt/iobroker/iobroker-data/objects.jsonl
                  44K     /opt/iobroker/iobroker-data/states.jsonl
                  
                  
                  
                  =================== END OF SUMMARY ====================
                  

                  === Mark text until here for copying ===

                  ... das muss ich erst mal verdauen...
                  ... mir anschauen...

                  ... OK, ich glaube, ich muss erst mal alles löschen/ deinstallieren.
                  Das sind zu viele Fehler.

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

                    @smigl

                    Versuch mal

                    cd /opt/iobroker
                    sudo -H -u iobroker npm install iobroker.js-controller
                    

                    Und in nächster Zeit steht da ein Upgrade des Servers ins Haus. Schnubbibuntu 20.04 befindet sich im letzten Lebensjahr.

                    Das sind zu viele Fehler.

                    Nee, das ist immer nur ein Fehler.

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      Smigl @Thomas Braun last edited by

                      OK, was sagt uns "Cannot read system.config" wenn ich iob diag eingebe?
                      Ich bekomme über Port 8081 immer noch keinen Zugriff.

                      S Thomas Braun 2 Replies Last reply Reply Quote 0
                      • S
                        Smigl @Smigl last edited by

                        Ich glaube ich gebe das auf und mache erst mal mit meinem Raspberry weiter...
                        Da läuft zumindest meine erste Installation.

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

                          @smigl sagte in Neuinstallation auf Ubuntu 20.04.6 Fehler:

                          OK, was sagt uns "Cannot read system.config" wenn ich iob diag eingebe?

                          Das der ioBroker nicht richtig installier ist.

                          1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @Homoran last edited by

                            @homoran sagte in Neuinstallation auf Ubuntu 20.04.6 Fehler:

                            @smigl sagte in Neuinstallation auf Ubuntu 20.04.6 Fehler:

                            Squeezebox auf 9100 umgestellt.

                            und iobroker auch neu installiert?

                            das ist wahrscheinlich wegen vergebenem Port gar nicht sauber installiert worden

                            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

                            984
                            Online

                            31.9k
                            Users

                            80.2k
                            Topics

                            1.3m
                            Posts

                            5
                            21
                            672
                            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