Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ioBroker unter Windows installieren (ohne Installer)

    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

    ioBroker unter Windows installieren (ohne Installer)

    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      klassisch Most Active @Gaspode last edited by klassisch

      @alexi sagte in ioBroker unter Windows installieren (ohne Installer):

      Das --ignore-scripts scheint aber (inzwischen?) eher kontraproduktiv zu sein.

      In @sigi234 's Anleitung ist es noch drin. Ich habe es so gemacht und bei mir scheint jetzt alles zu laufen.
      Mehr Fehlermeldungen im Log, Weniger Freiheiten bei den Objekten, aber das bringt der neue Controller so mit - unabhängig von der Plattform.

      K 1 Reply Last reply Reply Quote 0
      • Gaspode
        Gaspode last edited by

        @klassisch said in ioBroker unter Windows installieren (ohne Installer):

        Anleitung ist es noch drin

        apollon77 hatte bezüglich des Parameters mal Bedenken geäußert. Die Hintergründe kenne ich allerdings nicht.

        1 Reply Last reply Reply Quote 0
        • dekat win
          dekat win @Gaspode last edited by

          @alexi in meinem fall war nach dem node update iobroker in der Konsole nicht mehr erreichbar, deswegen auch kein js controller update mehr möglich.

          Gaspode 1 Reply Last reply Reply Quote 0
          • Gaspode
            Gaspode @dekat win last edited by

            @dekat-win said in ioBroker unter Windows installieren (ohne Installer):

            @alexi in meinem fall war nach dem node update iobroker in der Konsole nicht mehr erreichbar, deswegen auch kein js controller update mehr möglich.

            Ich bezog mich auf Punkt 1 in deinem Post weiter oben.
            Da schreibst du, dass man nach dem Installieren per Installer als erstes den Controller updaten soll mit

            @dekat-win said in ioBroker unter Windows installieren (ohne Installer):

            iobroker stop
            iobroker update
            iobroker upgrade self
            iobroker stop

            Und das führt dazu, dass du die ioBroker Instanz zerschießt. Grund ist ein fehlerhafter Controller, der mit der aktuell verfügbaren Installer-Version installiert wird. Wenn ich mich richtig erinnere, war @AlCalzone damals so nett sich die Sache anzuschauen und hat dann den weiter oben beschriebenen Workaround beschrieben:

            @klassisch said in ioBroker unter Windows installieren (ohne Installer):

            iobroker stop
            npm i iobroker.js-controller@stable --ignore-scripts
            data-Ordner wieder rein kopieren
            iobroker start
            Edit: @Stabilostick empfiehlt --ignore-scripts

            Wenn du das nicht so machst, startest du gleich mit einer defekten Instanz, selbst wenn das in manchen Fällen nicht sofort auffällt.

            dekat win 1 Reply Last reply Reply Quote 0
            • S
              skokarl last edited by

              Kann mal einer von Euch eine neue funktionierende Doku erstellen wie es denn nun aktuell

              fehlerfrei funktioniert ? 😬 👍

              1 Reply Last reply Reply Quote 0
              • K
                klassisch Most Active @klassisch last edited by klassisch

                @klassisch sagte in ioBroker unter Windows installieren (ohne Installer):

                In @sigi234 's Anleitung ist es noch drin. Ich habe es so gemacht und bei mir scheint jetzt alles zu laufen.

                Also Sigis Anleitung mit dem Installer nutzen, Bei großen Updates eine neue Serverinstanz anlegen, damit man notfalls auf die bisherige Instanz zurückkommt.

                1 Reply Last reply Reply Quote 0
                • dekat win
                  dekat win @Gaspode last edited by

                  @alexi ok hab das ausprobiert du hast recht, es ist genau so wie du beschrieben hattest, der controller wurde zerschossen wenn man es normal macht, was bei mir zum force überschreiben geführt hat um den zerschossenen controller zu fixen.

                  Das trifft aber nur auf frisch Aufgesetzte Windows Installer Instanzen zu, richtig?

                  @klassisch said in ioBroker unter Windows installieren (ohne Installer):

                  @dekat-win
                  Habe mir für das Controller-Update vorgenommen mit dem Installer eine neue Installation aufzusetzen und dann über den Dienstemanager den alten Dienst zu deaktivieren und den neuen Dienst zu etablieren

                  <<
                  Beim großen Controller-Update habe ich mir dazu notiert:

                  AlCalzone

                  Fürs Update würde ich folgendes Vorgehen vorschlagen, könnt ihr das bitte testen?

                  • data-Ordner sichern
                  • Frische Installation mit dem alten Installer aufsetzen
                  • Nichts weiter tun!
                  • ioBroker-Konsole der neuen Installation auf:
                    • iobroker stop
                    • npm i iobroker.js-controller@stable --ignore-scripts
                    • data-Ordner wieder rein kopieren
                    • iobroker start
                      Edit: @Stabilostick empfiehlt --ignore-scripts

                  Aus https://forum.iobroker.net/topic/33421/iobroker-unter-windows-installieren-ohne-installer/126

                  So würde ich es wieder angehen. Wenn dann was schief geht, würde ich einfach wieder per Diensteeinstellung zurück gehen.

                  K Gaspode 2 Replies Last reply Reply Quote 0
                  • K
                    klassisch Most Active @dekat win last edited by

                    @dekat-win Ich habe es mittlerweile mit einer neuen Instanz upgedatet. Nach dem oben verlinkten PDF von sigi, der das alles geordnet und zusammengefasst hat.. Und es hat funktioniert.

                    Man macht ein Backup der ioBroker Ordners, setzt eine neue Instanz mit einem neuen Namen auf, kopiert dann aber rechtzeitig das Backup drüber.
                    Dann updaten. Also einfach sigis PDF folgen.
                    Danach noch die Dienste "Umschalten", was sigi nicht beschrieben hat. Aber das ist ja reines Windows-Hantieren.

                    1 Reply Last reply Reply Quote 0
                    • Gaspode
                      Gaspode @dekat win last edited by

                      @dekat-win said in ioBroker unter Windows installieren (ohne Installer):

                      Das trifft aber nur auf frisch Aufgesetzte Windows Installer Instanzen zu, richtig?

                      @klassisch hat es ja schon geschrieben, aber auch von mir nochmal die Bestätigung:
                      Ich hab den Controller damals nach Neuinstallation einmalig mit "npm i iobroker.js-controller@stable" aktualisiert und seitdem aktualisiere ich den Controller dieser Instanz "normal" mit "iobroker upgrade self", ohne dass Probleme aufgetreten wären.

                      1 Reply Last reply Reply Quote 0
                      • T
                        tomz last edited by

                        Ich brauch mal eure Hilfe. Über Weihnachten habe ich mich in ioBroker reingefuchst (bin eher Laie).
                        Mit den hier beschriebenen Workarounds habe ich mein System auf folgenden Stand gebracht:
                        PLATTFORM: WINDOWS
                        RAM: 3.5 GB
                        NODE.JS: V14.18.2
                        NPM: 6.14.15

                        Eigentlich lief auch alles ganz gut. Seit ein paar Wochen habe ich aber das Problem das der History Adapter beim öffnen von historisierten Datenpunkten mit folgender Fehlermeldung abstürzt:
                        react-dom.production.min.js:216 TypeError: o.getHours is not a function
                        at new s (:8101/static/js/15.604fadf3.chunk.js:1:54837)
                        at zc (5.041e7077.chunk.js:2:5611029)
                        at Uo (5.041e7077.chunk.js:2:5630495)
                        at Zi (5.041e7077.chunk.js:2:5674028)
                        at jl (5.041e7077.chunk.js:2:5660196)
                        at Sl (5.041e7077.chunk.js:2:5660124)
                        at Cl (5.041e7077.chunk.js:2:5659987)
                        at zl (5.041e7077.chunk.js:2:5656953)
                        at 5.041e7077.chunk.js:2:5606447
                        at t.unstable_runWithPriority (5.041e7077.chunk.js:2:5689657)

                        Beim Installieren von neuen Adaptern gibt es wohl ein Problem mit Python:

                        $ iobroker add alias-manager auto --host tom(Leonberg)
                        NPM version: 6.14.15
                        npm install iobroker.alias-manager@1.2.4 --loglevel error (System call)
                        gyp ERR! find Python
                        gyp ERR! find Python Python is not set from command line or npm configuration gyp ERR! find Python Python is not set from environment variable PYTHON gyp ERR! find Python checking if "python" can be used gyp ERR! find Python - "python" is not in PATH or produced an error gyp ERR! find Python checking if "python2" can be used gyp ERR! find Python - "python2" is not in PATH or produced an error gyp ERR! find Python checking if "python3" can be used gyp ERR! find Python - "python3" is not in PATH or produced an error gyp ERR! find Python checking if the py launcher can be used to find Python 2 gyp ERR! find Python - "py.exe" is not in PATH or produced an error gyp ERR! find Python checking if Python is C:\Python27\python.exe gyp ERR! find Python - "C:\Python27\python.exe" could not be run gyp ERR! find Python checking if Python is C:\Python37\python.exe gyp ERR! find Python - "C:\Python37\python.exe" could not be run gyp ERR! find Python gyp ERR! find Python ********************************************************** gyp ERR! find Python You need to install the latest version of Python. gyp ERR! find Python Node-gyp should be able to find and use Python. If not, gyp ERR! find Python you can try one of the following options: gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe" gyp ERR! find Python (accepted by both node-gyp and npm) gyp ERR! find Python - Set the environment variable PYTHON gyp ERR! find Python - Set the npm configuration variable python: gyp ERR! find Python npm config set python "C:\Path\To\python.exe" gyp ERR! find Python For more information consult the documentation at: gyp ERR! find Python https://github.com/nodejs/node-gyp#installation gyp ERR! find Python **********************************************************
                        gyp ERR! find Python gyp ERR! configure error gyp ERR! stack Error: Could not find any Python installation to use gyp ERR! stack at PythonFinder.fail (C:\Program Files\iobroker\Leonberg\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:307:47)
                        gyp ERR! stack at PythonFinder.runChecks (C:\Program Files\iobroker\Leonberg\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:136:21) gyp ERR! stack at PythonFinder.<anonymous> (C:\Program Files\iobroker\Leonberg\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:225:16) gyp ERR! stack at PythonFinder.execFileCallback (C:\Program Files\iobroker\Leonberg\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:271:16) gyp ERR! stack at exithandler (child_process.js:390:5) gyp ERR! stack at ChildProcess.errorhandler (child_process.js:402:5) gyp ERR! stack at ChildProcess.emit (events.js:400:28) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:280:12) gyp ERR! stack at onErrorNT (internal/child_process.js:469:16) gyp ERR! stack at processTicksAndRejections (internal/process/task_queues.js:82:21) gyp ERR! System Windows_NT 10.0.19043 gyp ERR! command "C:\Program Files\iobroker\Leonberg\nodejs\node.exe" "C:\Program Files\iobroker\Leonberg\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"

                        gyp ERR! cwd C:\Program Files\iobroker\Leonberg\node_modules\serialport gyp ERR! node -v v14.18.2 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok

                        Ich bin über jeden Hinweis dankbar 🙂

                        Thomas

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

                          @tomz sagte in ioBroker unter Windows installieren (ohne Installer):

                          Error: Could not find any Python installation to use gyp

                          Da muss offenbar Python installiert werden.

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

                            @tomz Admin aktualisieren für den Fehler bei "history". Da war ein Bug drin

                            1 Reply Last reply Reply Quote 0
                            • T
                              tomz last edited by

                              Ah cool jetzt hat das Upgrade des Admin funktioniert super jetzt hab ich schon mal meine Historie wieder.
                              Phyton ist auf meinem System in der ioBroker instanz in einem Ordner Phyton27.
                              Muss ich das noch mal über die Konsole einbinden?

                              Vielen Dank für die schnelle Hilfe

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

                                @tomz sagte in ioBroker unter Windows installieren (ohne Installer):

                                Phyton27

                                Das dürfte zu alt sein. Python ist bei Version 3.x mittlerweile.

                                1 Reply Last reply Reply Quote 0
                                • T
                                  tomz last edited by

                                  ah ok und wie upgrade ich das so das es ioBroker dann auch richtig erkennt

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

                                    @tomz

                                    Ich kenn mich mit Windows so gar nicht aus. Muss dir wohl wer anders verraten.

                                    1 Reply Last reply Reply Quote 0
                                    • K
                                      klassisch Most Active @tomz last edited by

                                      @tomz Bei mir hat es der Installer gemacht.
                                      Aber vielleicht fehlt der Pfad, wie so oft bei python.

                                      Unter DOS mit path, under Windows

                                      https://stackoverflow.com/questions/3701646/how-to-add-to-the-pythonpath-in-windows-so-it-finds-my-modules-packages

                                      Bei mir
                                      Win Taste -> Systemumgebungsvariablen bearbeiten -> tab "Erweitert" -> button "Umgebungsvariable" ->
                                      c29d5eab-8ed6-4c9f-810a-c86c385770bc-grafik.png

                                      So sieht es bei mir aus, aber ich habe Python 3 drauf, für den ESPHome Adapter. Und wie gesagt der Rest hat bei mir der Installer erledigt.

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        tomz last edited by

                                        Das mit der Umgebungsvariable hab ich heute auch ergoogelt. Jetzt ist die Fehlermeldung weg.
                                        Das neue Python ist bei der Installation abgebrochen. Mal sehen wie ich das noch upgrade.
                                        Aber jetzt läuft das System erst mal.
                                        Jetzt kümmere ich mich erst mal um meinen Shelly Uni der keine Temperaturfühler erkennen mag :-).

                                        Danke an alle für die Hilfe

                                        Acgua 1 Reply Last reply Reply Quote 0
                                        • Acgua
                                          Acgua @tomz last edited by Acgua

                                          EDIT (KORREKTUR) - 09.08.2022:

                                          Es gibt einen neuen Windows Installer zum Testen, siehe hier:
                                          Test ioBroker unter Windows installieren - 2022 Edition

                                          Daher ist untenstehende Anleitung nicht mehr gültig/notwendig, bitte testet stattdessen den neuen Installer und gebt Feedback. Danke.


                                          URSPRÜNGLICHER BETRAG - 08.08.2022:

                                          Funktionierende Anleitung (August 2022): Installation von ioBroker mittels Installer unter Windows 10
                                          https://github.com/Acgua/ioBroker-Doc/blob/main/windows-10-new-installation.md

                                          Hier eine aktuelle inoffizielle Anleitung von mir, mit der ich am heutigen 08.08.2022 ioBroker unter Windows erfolgreich mit dem alten 2019er Installer installieren konnte. Alles andere hatte nicht gefruchtet, also nicht die Vorgehensweisen wie hier, hier, hier oder hier(PDF) beschrieben.

                                          Hinweis: So hat es halt in meiner Umgebung funktioniert, bei euch aber vielleicht so nicht. Aber hier schon mal ein Versuch, das ganze auf Github aktuell zu halten, anstatt verstreut über zahlreiche Foren-Einträge, statische PDF als Attachment, etc.
                                          Ich wäre um eine Mitarbeit dankbar, zumindest bis es einen neuen Installer gibt. Ihr könnt gerne auch Github-Issues öffnen für Anregungen etc. 🙂

                                          (An Moderatoren: ich habe diesen Beitrag in insg. 3 Threads gepostet im Sinne der Übersichtlichkeit und zur Zusammenführung des Konsens. Falls nicht gewünscht: bitte gerne löschen! Danke.)

                                          Gaspode 1 Reply Last reply Reply Quote 0
                                          • Gaspode
                                            Gaspode @Acgua last edited by Gaspode

                                            @acgua
                                            Aber es gibt doch bereits einen neuen Windows Installer, hast du den übersehen oder hat das bei dir nicht geklappt?
                                            Test ioBroker unter Windows installieren - 2022 Edition

                                            Der ist zwar nicht so komfortabel und flexibel wie der von Stabilostick, aber immerhin.

                                            Acgua 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

                                            721
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            händisch installation iobroker manuell windows windows-installation windows-installer
                                            30
                                            319
                                            149661
                                            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