Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Neuinstallation ioBroker auf Intel NUC

    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 ioBroker auf Intel NUC

    This topic has been deleted. Only users with topic management privileges can see it.
    • Glasfaser
      Glasfaser @Erich 1 last edited by

      @erich-1 sagte in Neuinstallation ioBroker auf Intel NUC:

      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'

      Dazu kann dir @crunchip was schreiben .. hat er schon heute gepostet 🙂

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

        @erich-1 sagte in Neuinstallation ioBroker auf Intel NUC:

        ist als Container drauf

        WARUM???

        Hab ich nicht geschrieben dass Container dich überfordern werden?
        auch wenn es in einem anderen Thread war?

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

          @homoran Hattes du, aber ich wollte es einfach probieren.

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

            @homoran

            Geht schon mit

            root@ubuntu

            los...

            @Erich-1
            Auch in einem Container wird nicht als root herumgehampelt.

            Homoran 1 Reply Last reply Reply Quote 0
            • Glasfaser
              Glasfaser @Erich 1 last edited by

              @erich-1 sagte in Neuinstallation ioBroker auf Intel NUC:

              @homoran Hattes du, aber ich wollte es einfach probieren.

              Nur bei einer Neuinstallation ist kein defekter

              .js-controller/

              wie bei dir jetzt !

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

                @thomas-braun sagte in Neuinstallation ioBroker auf Intel NUC:

                @homoran
                Geht schon mit
                root@ubuntu
                los...

                😢

                1 Reply Last reply Reply Quote 0
                • E
                  Erich 1 @Glasfaser last edited by

                  @glasfaser said in Neuinstallation ioBroker auf Intel NUC:

                  @erich-1 sagte in Neuinstallation ioBroker auf Intel NUC:

                  @homoran Hattes du, aber ich wollte es einfach probieren.

                  Nur bei einer Neuinstallation ist kein defekter

                  .js-controller/

                  wie bei dir jetzt !

                  Hab ja alles neu installiert. Was kann ich denn jetzt machen?

                  Glasfaser 1 Reply Last reply Reply Quote 0
                  • Glasfaser
                    Glasfaser @Erich 1 last edited by

                    @erich-1

                    Nach iob diag

                    https://forum.iobroker.net/post/991231

                    E 1 Reply Last reply Reply Quote 1
                    • E
                      Erich 1 @Glasfaser last edited by Erich 1

                      @glasfaser

                      root@ubuntu:~# iob stop
                      root@ubuntu:~# iob fix
                      library: loaded
                      Library version=2022-12-09
                      ioBroker is not installed in /opt/iobroker! Cannot fix anything...
                      root@ubuntu:~# cd /opt/iobroker
                      root@ubuntu:/opt/iobroker# sudo -H -u iobroker npm install iobroker.js-controller
                      npm ERR! code EBADENGINE
                      npm ERR! engine Unsupported engine
                      npm ERR! engine Not compatible with your version of node/npm: iobroker.backitup@2.6.19
                      npm ERR! notsup Not compatible with your version of node/npm: iobroker.backitup@2.6.19
                      npm ERR! notsup Required: {"node":">=14.0.0"}
                      npm ERR! notsup Actual:   {"npm":"8.5.1","node":"v12.22.9"}
                      
                      npm ERR! A complete log of this run can be found in:
                      npm ERR!     /home/iobroker/.npm/_logs/2023-05-15T18_35_05_062Z-debug-0.log
                      root@ubuntu:/opt/iobroker# iob start
                      root@ubuntu:/opt/iobroker# iob stop
                      root@ubuntu:/opt/iobroker# iob
                      internal/modules/cjs/loader.js:818
                        throw err;
                        ^
                      
                      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                          at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
                          at Function.Module._load (internal/modules/cjs/loader.js:667:27)
                          at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
                          at internal/main/run_main_module.js:17:47 {
                        code: 'MODULE_NOT_FOUND',
                        requireStack: []
                      }
                      root@ubuntu:/opt/iobroker# 
                      

                      Das sind jetzt für mich böhmische Dörfer. Hilft das Löschen des Containers und neu aufsetzten einer VM ?

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

                        @erich-1

                        1.) Log dich als root aus!!
                        2.) Log dich als root aus!
                        3.) Log dich als root aus!

                        Installier da ein aktuelles nodejs.

                        1 Reply Last reply Reply Quote 0
                        • Glasfaser
                          Glasfaser @Erich 1 last edited by

                          @erich-1 sagte in Neuinstallation ioBroker auf Intel NUC:

                          Das sind jetzt für mich böhmische Dörfer.

                          Kann man reparieren

                          Aber :

                          Hilft das Löschen des Containers und neu aufsetzten einer VM ?

                          Nimm das ... USER anlegen und neu starten !

                          E 1 Reply Last reply Reply Quote 0
                          • E
                            Erich 1 @Glasfaser last edited by

                            @glasfaser
                            Kann mir da geholfen werden?
                            User anlegen?
                            als root ausloggen?
                            Wo bekomme ich das aktuelle nodejs?

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

                              @erich-1

                              Das steht alles in der Anleitung zu proxmox Containern

                              Bei nodejs kommt es darauf an mit was du da genau zu Gange bist.

                              iob diag
                              

                              hilft.

                              1 Reply Last reply Reply Quote 0
                              • Glasfaser
                                Glasfaser @Erich 1 last edited by

                                @erich-1 sagte in Neuinstallation ioBroker auf Intel NUC:

                                Proxmox installiert.

                                https://www.iobroker.net/#de/documentation/install/proxmox.md

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

                                  @erich-1 sagte in Neuinstallation ioBroker auf Intel NUC:

                                  Hilft das Löschen des Containers und neu aufsetzten einer VM ?

                                  würde ich dir unbedingt empfehlen.

                                  dann bitte eine korrekte Installation von debian ohne root Passwort

                                  E 1 Reply Last reply Reply Quote 0
                                  • E
                                    Erich 1 @Homoran last edited by Erich 1

                                    @homoran Hab ich jetzt gemacht und mit der VM startet der ioBroker wie gewünscht. Danke für die Hilfe, wenn ich auch nicht alles verstanden habe.

                                    Jetzt kann ich dann mal versuchen, die Daten vom RP4 auf die neue Installation zu übernehmen.

                                    Ist es sinnvoll, vorher die VM zu sichern?

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

                                      @erich-1 bitte vorher ein iob diag hier posten

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

                                        @erich-1 sagte in Neuinstallation ioBroker auf Intel NUC:

                                        Ist es sinnvoll, vorher die VM zu sichern?

                                        Nein.
                                        Die ist doch frisch drauf, was willst du denn da 'wertvolles' sichern?

                                        E 1 Reply Last reply Reply Quote 0
                                        • E
                                          Erich 1 @Homoran last edited by Homoran

                                          @homoran

                                          Copy text starting here:

                                          ======================= SUMMARY =======================
                                                               v.2023-04-16
                                          
                                          
                                          Operatingsystem:        Debian GNU/Linux 11 (bullseye)
                                          Kernel:                 5.10.0-23-amd64
                                          Installation:           kvm
                                          Timezone:               Europe/Berlin (CEST, +0200)
                                          User-ID:                1000
                                          X-Server:               false
                                          Boot Target:            graphical.target
                                          
                                          Pending OS-Updates:     0
                                          Pending iob updates:    0
                                          
                                          Nodejs-Installation:    /usr/bin/nodejs         v18.16.0
                                                                  /usr/bin/node           v18.16.0
                                                                  /usr/bin/npm            9.5.1
                                                                  /usr/bin/npx            9.5.1
                                          
                                          Recommended versions are nodejs 18.x.y and npm 9.x.y
                                          Your nodejs installation is correct
                                          
                                          MEMORY:
                                                         total        used        free      shared  buff/cache   available
                                          Mem:            3.9G        482M        1.8G        0.0K        1.6G        3.2G
                                          Swap:           974M          0B        974M
                                          Total:          4.9G        482M        2.8G
                                          
                                          Active iob-Instances:   5
                                          Active repo(s): stable
                                          
                                          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 and web instance:
                                          + system.adapter.admin.0                  : admin                 : debian-iobro                                                        ker                          -  enabled, port: 8081, bind: 0.0.0.0, run as: admi                                                        n
                                          
                                          Objects:                1240
                                          States:                 938
                                          
                                          Size of iob-Database:
                                          
                                          3.9M    /opt/iobroker/iobroker-data/objects.jsonl
                                          320K    /opt/iobroker/iobroker-data/states.jsonl
                                          
                                          
                                          
                                          =================== END OF SUMMARY ====================
                                          

                                          erich@debian-iobroker:~$ Copy text starting here:
                                          erich@debian-iobroker:~$ Copy text starting here:

                                          ==================== SUMMARY =======================
                                          ======================= SUMMARY =======================
                                                               v.2023-04-16
                                          
                                          Operatingsystem:        Debian GNU/Linux 11 (bullseye)
                                          Operatingsystem:        Debian GNU/Linux 11 (bullseye)
                                          Kernel:                 5.10.0-23-amd64
                                          Installation:           kvmope/Berlin (CEST, +0200)
                                          Timezone:               Europe/Berlin (CEST, +0200)
                                          User-ID:                1000e
                                          X-Server:               falseical.target
                                          Boot Target:            graphical.target
                                          Pending OS-Updates:     0
                                          Pending OS-Updates:     0
                                          Pending iob updates:    0
                                          Nodejs-Installation:    /usr/bin/nodejs         v18.16.0
                                          Nodejs-Installation:    /usr/bin/nodejs         v18.16.0
                                                                  /usr/bin/node           v18.16.0
                                                                  /usr/bin/npm            9.5.1
                                                                  /usr/bin/npx            9.5.1
                                          Recommended versions are nodejs 18.x.y and npm 9.x.y
                                          Recommended versions are nodejs 18.x.y and npm 9.x.y
                                          Your nodejs installation is correct
                                          
                                          MEMORY:
                                                         total        used        free      shared  buff/cache   available
                                          Mem:            3.9G        482M        1.8G        0.0K        1.6G        3.2G
                                          Swap:           974M          0B        974M
                                          Total:          4.9G        482M        2.8G
                                          
                                          Active iob-Instances:   5
                                          Active repo(s): stable
                                          
                                          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 and web instance:
                                          + system.adapter.admin.0                  : admin                 : debian-iobroker                          -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                          
                                          Objects:                1240
                                          States:                 938
                                          
                                          Size of iob-Database:
                                          
                                          3.9M    /opt/iobroker/iobroker-data/objects.jsonl
                                          erich@debian-iobroker:~$OF SUMMARY ====================           : debian-iobroker                          -  enabled, port: 8081, bin
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • E
                                            Erich 1 @Thomas Braun last edited by

                                            @thomas-braun Falls ich beim Übertragen vom bisherigen ioBroker auf dem RP4 was nicht richtig mache, könnte ich doch wieder die frische Installation des ioBroker auf dem NUC (VM) einspielen ...

                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            537
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            11
                                            72
                                            5147
                                            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