Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. Raspi4 4GB --> Installation --> Cannot find module ...

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Raspi4 4GB --> Installation --> Cannot find module ...

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @Hape1 last edited by Homoran

      @hape1 sagte in Raspi4 4GB --> Installation --> Cannot find module ...:

      naja, ich habe von der iobroker-Seite die Kommandozeile kopiert und ausgeführt:

      war denn vorher schon eine nodejs Version drauf?
      Der "Einzeiler" hätte sonst node v14 mit npm v6 installiert

      @hape1 sagte in Raspi4 4GB --> Installation --> Cannot find module ...:

      das ja bereits auf der gleichen ip die Apps Portainer (Ports 9000 und 9443), AdGuard und Grafana mit telegraf auf dem Pi laufen ... ?

      Das dürfte man im log sehen.
      Aber wenn der port 9000 vergeben ist kann die interne datenbank diesen nicht nutzen

      @hape1 sagte in Raspi4 4GB --> Installation --> Cannot find module ...:

      Apps Portainer

      hab ich das irgendwo überlesen, dass hier mit Containern gearbeitet wird?

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

        @hape1 sagte in Raspi4 4GB --> Installation --> Cannot find module ...:

        Apps Portainer (Ports 9000

        Auf dem Port 9000 läuft auch die Datenbank, die du da natürlich nicht erreichen kannst, weil da schon der Portainer läuft.

        Warum man auf den kleinen Pi auch noch einen Docker-Container knallt erschließt sich mir allerdings auch nicht.

        H 1 Reply Last reply Reply Quote 0
        • H
          Hape1 @Thomas Braun last edited by

          @thomas-braun

          also, in meinem Eingangspost steht, welche Apps auf dem Pi laufen ... Kann man den Port für die Datenbank von iobroker denn ändern?

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

            @hape1 sagte in Raspi4 4GB --> Installation --> Cannot find module ...:

            in meinem Eingangspost steht, welche Apps auf dem Pi laufen

            Hab ich zwar auch gelesen, aber nicht realisiert was eine "App Portainer" sein sollte . Vom Port stand da aber schon mal gar nichts

            Jetzt müsste ich den Thread aus den Einsteigerfragen verschieben, da so eine Konstellation nu wirklich keine Einsdeiger-Konfiguration ist.

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

              @hape1 Ja, geht soweit ich weiß natürlich irgendwie.
              Hab den Befehl aber nicht im Kopf.

              Weil ich neugierig bin: Was veranlasst einen auf dem Pi mit Docker herumzukutschieren?

              1 Reply Last reply Reply Quote 0
              • H
                Hape1 last edited by

                Das sollte auch nicht als Vorwurf rüberkommen, ich habe auch nicht realisiert, das iobroker auf Port 9000 horcht. Also, alles gut! Bliebe also die Frage, ob man den Port der ioBroker Datenbank ändern kann.

                1 Reply Last reply Reply Quote 0
                • H
                  Hape1 @Homoran last edited by Hape1

                  @homoran

                  Ok, ich konnte den Port 9000 vom Portainer ausschalten. iobroker ist nun auch installiert, aber es fehlt etwas:

                  Linux raspberrypi4 5.10.92-v7l+ #1514 SMP Mon Jan 17 17:38:03 GMT 2022 armv7l
                  
                  The programs included with the Debian GNU/Linux system are free software;
                  the exact distribution terms for each program are described in the
                  individual files in /usr/share/doc/*/copyright.
                  
                  Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                  permitted by applicable law.
                  Last login: Sun Feb 27 18:26:27 2022 from 192.168.1.161
                  pi@raspberrypi4:~ $ iobroker start
                  pi@raspberrypi4:~ $ cd /opt/iobroker
                  pi@raspberrypi4:/opt/iobroker $ cd /opt/iobroker
                  pi@raspberrypi4:/opt/iobroker $ sudo iobroker stop
                  pi@raspberrypi4:/opt/iobroker $ sudo iobroker update
                  internal/modules/cjs/loader.js:905
                    throw err;
                    ^
                  
                  Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                      at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
                      at Function.Module._load (internal/modules/cjs/loader.js:746:27)
                      at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
                      at internal/main/run_main_module.js:17:47 {
                    code: 'MODULE_NOT_FOUND',
                    requireStack: []
                  
                  

                  Habe nun versucht, den fehlenden js-Controller nachzuinstallieren. Es wird aber immer noch angemeckert, das der Port 9000 von einem anderen Server (was wohl der 9000er-Port von Portainer ist) verwendet wird:

                   The DB port  9000 is occupied by something that is not a Redis protocol server. Please check other software running on this port or, if you use iobroker, make sure to update to js-controller 2.0 or higher!
                   The DB port  9000 is occupied by something that is not a Redis protocol server. Please check other software running on this port or, if you use iobroker, make sure to update to js-controller 2.0 or higher!
                   The DB port  9000 is occupied by something that is not a Redis protocol server. Please check other software running on this port or, if you use iobroker, make sure to update to js-controller 2.0 or higher!
                   The DB port  9000 is occupied by something that is not a Redis protocol server. Please check other software running on this port or, if you use iobroker, make sure to update to js-controller 2.0 or higher!
                   The DB port  9000 is occupied by something that is not a Redis protocol server. Please check other software running on this port or, if you use iobroker, make sure to update to js-controller 2.0 or higher!
                   The DB port  9000 is occupied by something that is not a Redis protocol server. Please check other software running on this port or, if you use iobroker, make sure to update to js-controller 2.0 or higher!
                   The DB port  9000 is occupied by something that is not a Redis protocol server. Please check other software running on this port or, if you use iobroker, make sure to update to js-controller 2.0 or higher!
                   The DB port  9000 is occupied by something that is not a Redis protocol server. Please check other software running on this port or, if you use iobroker, make sure to update to js-controller 2.0 or higher!
                   The DB port  9000 is occupied by something that is not a Redis protocol server. Please check other software running on this port or, if you use iobroker, make sure to update to js-controller 2.0 or higher!
                   The DB port  9000 is occupied by something that is not a Redis protocol server. Please check other software running on this port or, if you use iobroker, make sure to update to js-controller 2.0 or higher!
                   The DB port  9000 is occupied by something that is not a Redis protocol server. Please check other software running on this port or, if you use iobroker, make sure to update to js-controller 2.0 or higher!
                   The DB port  9000 is occupied by something that is not a Redis protocol server. Please check other software running on this port or, if you use iobroker, make sure to update to js-controller 2.0 or higher!
                   The DB port  9000 is occupied by something that is not a Redis protocol server. Please check other software running on this port or, if you use iobroker, make sure to update to js-controller 2.0 or higher!
                   The DB port  9000 is occupied by something that is not a Redis protocol server. Please check other software running on this port or, if you use iobroker, make sure to update to js-controller 2.0 or higher!
                   The DB port  9000 is occupied by something that is not a Redis protocol server. Please check other software running on this port or, if you use iobroker, make sure to update to js-controller 2.0 or higher!
                   The DB port  9000 is occupied by something that is not a Redis protocol server. Please check other software running on this port or, if you use iobroker, make sure to update to js-controller 2.0 or higher!
                   The DB port  9000 is occupied by something that is not a Redis protocol server. Please check other software running on this port or, if you use iobroker, make sure to update to js-controller 2.0 or higher!
                   Cannot read system.config: null (OK when migrating or restoring)
                  
                  
                  1 Reply Last reply Reply Quote 0
                  • H
                    Hape1 last edited by

                    Vielen Dank für Eure Hilfe --> ich habe mich entschlossen das Thema iobroker auf dem Pi erstmal zurückzustellen. Sollte ich das Thema wieder aufgreifen, melde ich mich wieder.

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

                      @hape1

                      Was läuft denn da eigentlich in dem Docker?

                      H 1 Reply Last reply Reply Quote 0
                      • H
                        Hape1 @Thomas Braun last edited by

                        @thomas-braun

                        Um auf Deine Frage zu antworten: Zunächst Portainer, als umfangreiches Deployment-Tool für Container auf dem Docker, dann Grafana mit telegraf als Monitoring für den Pi und AdGuard als Nameserver um unerwünnschte Werbung zu blocken ... dat is et. 😊

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

                          @hape1

                          Würde ich alles direkt auf dem Pi ausführen und mir die Zwischenebene Docker sparen.

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

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          785
                          Online

                          31.7k
                          Users

                          79.7k
                          Topics

                          1.3m
                          Posts

                          3
                          29
                          1778
                          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