Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Diskussion zum neuen Installation-Fixer

    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

    Diskussion zum neuen Installation-Fixer

    This topic has been deleted. Only users with topic management privileges can see it.
    • bahnuhr
      bahnuhr Forum Testing Most Active @AlCalzone last edited by

      @AlCalzone sagte in Diskussion zum neuen Installation-Fixer:

      JS-Controller-Version

      1.4.2. bei mir.

      @AlCalzone sagte in Diskussion zum neuen Installation-Fixer:

      Ok, wie ist eure DB (States und Objects) konfiguriert? Redis oder File?

      Was ist das, wo muss ich da schauen?

      AlCalzone 1 Reply Last reply Reply Quote 0
      • AlCalzone
        AlCalzone Developer @bahnuhr last edited by

        @bahnuhr sagte in Diskussion zum neuen Installation-Fixer:

        Was ist das, wo muss ich da schauen

        Dann vermutlich File. Redis musst du manuell aktivieren mit iobroker setup custom

        paul53 1 Reply Last reply Reply Quote 0
        • paul53
          paul53 @AlCalzone last edited by

          @AlCalzone sagte:

          Redis musst du manuell aktivieren mit

          Es sei denn, er hat ein älteres Image verwendet.

          Homoran bahnuhr 2 Replies Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @paul53 last edited by

            @paul53
            Ich musste auswendig lernen, dass er alles auf einem Windows-Notebook macht

            paul53 bahnuhr 2 Replies Last reply Reply Quote 0
            • paul53
              paul53 @Homoran last edited by

              @Homoran sagte:

              Ich musste auswendig lernen

              Dafür bin ich wohl zu alt.

              1 Reply Last reply Reply Quote 0
              • bahnuhr
                bahnuhr Forum Testing Most Active @Homoran last edited by

                @Homoran sagte in Diskussion zum neuen Installation-Fixer:

                @paul53
                Ich musste auswendig lernen, dass er alles auf einem Windows-Notebook macht

                Der Rainer ist so klasse 😉

                Also:
                iob läuft auf win7 Laptop.

                daneben ein slave raspi wo smartmeter und mbus drauf läuft.

                Und um diesem Raspi geht es hier.

                1 Reply Last reply Reply Quote 0
                • bahnuhr
                  bahnuhr Forum Testing Most Active @paul53 last edited by

                  @paul53 sagte in Diskussion zum neuen Installation-Fixer:

                  @AlCalzone sagte:

                  Redis musst du manuell aktivieren mit

                  Es sei denn, er hat ein älteres Image verwendet.

                  Also den raspie slave habe ich jetzt ca. 1 Jahre in Betrieb (seit 3/2018)

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

                    @bahnuhr
                    mit Image oder selbst aufgesetzt?

                    1 Reply Last reply Reply Quote 0
                    • bahnuhr
                      bahnuhr Forum Testing Most Active last edited by

                      gute Frage:

                      Ich glaube ich habe das minimal image genommen und dann smartmeter und mbus nach installiert.

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

                        @bahnuhr

                        dann war da (vielleicht) noch redis drauf.

                        Aber beim Anlegen des Multihosts hast du doch sicher das wieder auf file geändert, da dein Notebook kein Redis hat

                        bahnuhr 1 Reply Last reply Reply Quote 0
                        • AlCalzone
                          AlCalzone Developer last edited by

                          Ahhh, neue Informationen... Das Problem tritt also nur auf dem Slave im Multihost auf? @wendy2702 Bist du auch auf Multihost unterwegs?

                          1 Reply Last reply Reply Quote 0
                          • bahnuhr
                            bahnuhr Forum Testing Most Active @Homoran last edited by

                            @Homoran sagte in Diskussion zum neuen Installation-Fixer:

                            Aber beim Anlegen des Multihosts hast du doch sicher das wieder auf file geändert, da dein Notebook kein Redis hat

                            Rainer,
                            ich muss leider eingestehen, dass ich nicht weiß wovon du redest (bzgl. redis und file).

                            Slave: raspi mit smartmeter und mbus
                            image minimal installiert.
                            Und dann eingerichtet als slave. läuft seit mehreren Monaten einwandfrei.

                            Master: win7 Laptop -> auf dem läuft iob
                            Installiert nach Anleitung (wie auf Homepage iob).
                            Aber auch das ist schon 2 Jahre her.

                            1 Reply Last reply Reply Quote 0
                            • wendy2702
                              wendy2702 last edited by

                              Ich habe auch Multihost allerdings alles auf Linux und kein Redis.

                              AlCalzone 1 Reply Last reply Reply Quote 0
                              • AlCalzone
                                AlCalzone Developer @wendy2702 last edited by

                                @wendy2702 sagte in Diskussion zum neuen Installation-Fixer:

                                Ich habe auch Multihost allerdings alles auf Linux und kein Redis.

                                Und tritt das Problem auf allen Hosts auf oder nur dem/den Slave(s)?

                                1 Reply Last reply Reply Quote 0
                                • wendy2702
                                  wendy2702 last edited by

                                  Habe den Fixer nur auf den Slaves ausgeführt und da tritt es auf.

                                  1 Reply Last reply Reply Quote 0
                                  • F
                                    fischmir last edited by fischmir

                                    Ok, ich bin mal garnicht firm mit Linux, habe aber alles gegeben und komme nun nicht weiter. Was habe ich getan?

                                    Per Purry auf iobroker drauf, eingeloggt und den Befehl ausgeführt, dann kamen mehrere Meldungen wie:

                                    
                                    ioBroker or some processes are still running:
                                     io.rpi2.0
                                     io.socketio.0
                                     io.history.0
                                     io.javascript.0
                                     io.discovery.0
                                    Please stop them first and try again!
                                    
                                    

                                    --> Vorher standen dort mehr Instanzen, welche ich dann per Web beendet habe. Dummerweise habe ich auch dei io.admin.0-Instanz gestoppt, so dass ich per Browser die restlichen Adapter nicht mehr beenden kann.

                                    Fragen:

                                    1. Wie beende ich die restlichen Prozesse?
                                    2. Ich würde dann das Script ausführen
                                    3. Wie starte ich danach den io.admin.0-Instanz wieder?

                                    Danke und Grüße,
                                    Christian

                                    1 Reply Last reply Reply Quote 0
                                    • AlCalzone
                                      AlCalzone Developer last edited by

                                      Das einfachste wäre gewesen, ioBroker komplett zu stoppen mit iobroker stop. Den Admin bekommst du wieder aktiviert mit iobroker start admin, danach sollte iobroker stop reichen (oder ggf. sudo iobroker stop, wenn das nicht hilft).

                                      Wenn das alles gar nicht hilft, kannst du per

                                      pkill io.rpi2.0
                                      

                                      und so weiter die Adapterprozesse stoppen.

                                      1 Reply Last reply Reply Quote 0
                                      • F
                                        fischmir last edited by fischmir

                                        Hi! Danke für deine Antwort. Leider hilft das alles nicht. Hier mal mein Auszug:

                                        
                                        pi@ioBroker-RasPi:~ $ curl -sL https://iobroker.net/fix.sh | bash -
                                        ioBroker or some processes are still running:
                                         io.socketio.0
                                         io.history.0
                                         io.javascript.0
                                         io.discovery.0
                                         io.admin.1
                                        Please stop them first and try again!
                                        pi@ioBroker-RasPi:~ $ sudo iobroker stop
                                        iobroker controller daemon is not running
                                        pi@ioBroker-RasPi:~ $ pkill io.rpi2.0
                                        pkill: killing pid 5644 failed: Die Operation ist nicht erlaubt
                                        pi@ioBroker-RasPi:~ $ pkill io.rpi3.0
                                        pi@ioBroker-RasPi:~ $ sudo pkill io.rpi3.0
                                        pi@ioBroker-RasPi:~ $ curl -sL https://iobroker.net/fix.sh | bash -
                                        ioBroker or some processes are still running:
                                         io.socketio.0
                                         io.history.0
                                         io.javascript.0
                                         io.discovery.0
                                         io.admin.1
                                         io.rpi2.0
                                        Please stop them first and try again!
                                        pi@ioBroker-RasPi:~ $ sudo pkill io.rpi2.0
                                        pi@ioBroker-RasPi:~ $ curl -sL https://iobroker.net/fix.sh | bash -
                                        ioBroker or some processes are still running:
                                         io.socketio.0
                                         io.history.0
                                         io.javascript.0
                                         io.discovery.0
                                         io.admin.1
                                        Please stop them first and try again!
                                        
                                        

                                        Scheint also irgendwie nicht zu klappen....was kann ich nun noch versuchen?

                                        Edit: Habe jetzt die instanzen per Browser beeendet, jetzt sieht es so aus:

                                        pi@ioBroker-RasPi:~ $ curl -sL https://iobroker.net/fix.sh | bash -
                                        ioBroker or some processes are still running:
                                         io.rpi2.0
                                        Please stop them first and try again!
                                        pi@ioBroker-RasPi:~ $ pkill io.rpi2.0
                                        pkill: killing pid 5749 failed: Die Operation ist nicht erlaubt
                                        pi@ioBroker-RasPi:~ $ sudo pkill io.rpi2.0
                                        pi@ioBroker-RasPi:~ $ curl -sL https://iobroker.net/fix.sh | bash -
                                        ioBroker or some processes are still running:
                                        Please stop them first and try again!
                                        pi@ioBroker-RasPi:~ $ sudo iobroker stop
                                        iobroker controller daemon is not running
                                        pi@ioBroker-RasPi:~ $ curl -sL https://iobroker.net/fix.sh | bash -
                                        ioBroker or some processes are still running:
                                        Please stop them first and try again!
                                        
                                        

                                        Also obwohl keine Prozesse mehr laufen, wird nicht gestartet.

                                        Nachschlag: Das sieht schon nicht gut aus:

                                        
                                        pi@ioBroker-RasPi:~ $ sudo iobroker stop
                                        Stopping iobroker controller daemon...
                                        iobroker controller daemon stopped.
                                        Exit code for "killall.sh": 123
                                        pi@ioBroker-RasPi:~ $
                                        
                                        

                                        Oder?

                                        Habs Problem gefunden: Der rpc und rega-Adapter waren noch am laufen. Hätte mir gewünscht, dass das auch angezeigt wird. Nachdem ich beide Prozesse gekillt hatte, starteteten diese beiden neu?! Musst beide killen und schnell das INstaller-Fix-Skript starten; so hat es funktioniert.

                                        AlCalzone 1 Reply Last reply Reply Quote 0
                                        • AlCalzone
                                          AlCalzone Developer @fischmir last edited by AlCalzone

                                          pi@ioBroker-RasPi:~ $ sudo pkill io.rpi2.0
                                          pi@ioBroker-RasPi:~ $ curl -sL https://iobroker.net/fix.sh | bash -
                                          ioBroker or some processes are still running:
                                           io.socketio.0
                                           io.history.0
                                           io.javascript.0
                                           io.discovery.0
                                           io.admin.1
                                          

                                          Ja, ich meinte ja auch dass du alle Prozesse so beenden sollst, und nicht nur rpi2 😉

                                          @fischmir sagte in Diskussion zum neuen Installation-Fixer:

                                          Also obwohl keine Prozesse mehr laufen, wird nicht gestartet.

                                          Das ist tatsächlich ein Bug. Wir hatten vor einer Weile was am Prozess-Filter geändert und eine Zeile vergessen.

                                          Aber gut dass es jetzt doch läuft.

                                          1 Reply Last reply Reply Quote 0
                                          • F
                                            fischmir last edited by

                                            Anschließend habe ich alle Adapter ge-updated und nun startet iobroker nicht mehr 😞

                                            pi@ioBroker-RasPi:/opt/iobroker $ iobroker version
                                            1.4.0
                                            pi@ioBroker-RasPi:/opt/iobroker $ iobroker upgrade
                                             Cannot parse /opt/iobroker/node_modules/iobroker.js-controller/lib/objects/../../../../iobroker-data/objects.json: SyntaxError: Unexpected end of JSON input
                                             Cannot parse /opt/iobroker/node_modules/iobroker.js-controller/lib/objects/../../../../iobroker-data/objects.json.bak: SyntaxError: Unexpected end of JSON input
                                            No repositories defined.
                                            25
                                            
                                            

                                            Das ist doof. Sonst lief alles immer problemlos. Was kann ich nun tun?

                                            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

                                            536
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            fixer installation linux
                                            51
                                            296
                                            48388
                                            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