Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Gelöst: Probleme beim Javascript-Update auf 4.5.1 auf 4.6.17

    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

    SOLVED Gelöst: Probleme beim Javascript-Update auf 4.5.1 auf 4.6.17

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

      tja, es kommt keine Fehlermeldung, aber die Instanz ist immer noch da:

      pi@raspisuper:~ $ sudo iobroker del admin.1
      Delete adapter "admin.1"
      
      haselchen 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @haselchen last edited by

        @haselchen sagte in Probleme beim Javascript-Update auf 4.5.1 auf 4.6.17:

        Thomas mag sudo nicht, aber hier könnte es helfen

        Mit sudo bin ich d'accord, an den richtigen Stellen. Mit einer root-shell stehe ich auf Kriegsfuß.

        crepp1967 1 Reply Last reply Reply Quote 0
        • haselchen
          haselchen Most Active @crepp1967 last edited by

          @crepp1967
          Meine Info stammt aus dem Thread.
          Dort hat der TE 3 Befehle eingegeben.
          Ob man das so 1:1 bei dir umsetzen kann.....

          https://forum.iobroker.net/topic/15320/admin-1-durch-admin-0-ersetzen

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

            @Thomas-Braun
            582c25f5-7f96-4723-b9f9-eb4b7cb805b5-grafik.png

            nur ein admin-Eintrag

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

              @crepp1967

              iobroker setup custom
              

              Und dann schau mal ob da noch Referenzen an den alten Host aufschlagen.
              In irgendeiner config-Datei muss noch ein

              bind: 192.168.1.154
              

              drinstehen, ich habe aber keine Ahnung in welcher. Das ist die IP vom slave gewesen?

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

                hab jetzt die 3 Befehle aus dem verlinkten Thread ausgeführt:

                
                
                sudo iobroker del admin.0
                
                sudo iobroker del admin.1
                
                sudo iobroker add admin 0
                
                

                Nach dem Neustart kam ich nicht mehr auf die Admin-Seite.
                Ich Dussel hab noch mal

                sudo iobroker add admin 0 
                

                gemacht

                Das kam als Meldung:

                pi@raspisuper:~ $ sudo iobroker add admin.0
                host.raspisuper create instance admin.0
                host.raspisuper object admin.0.1.connected created
                host.raspisuper object admin.0.1 created
                host.raspisuper object admin.0.1.info created
                host.raspisuper object system.adapter.admin.0.upload created
                host.raspisuper object system.adapter.admin.0.1.sigKill created
                host.raspisuper object system.adapter.admin.0.1.eventLoopLag created
                host.raspisuper object system.adapter.admin.0.1.outputCount created
                host.raspisuper object system.adapter.admin.0.1.inputCount created
                host.raspisuper object system.adapter.admin.0.1.uptime created
                host.raspisuper object system.adapter.admin.0.1.memRss created
                host.raspisuper object system.adapter.admin.0.1.memHeapTotal created
                host.raspisuper object system.adapter.admin.0.1.memHeapUsed created
                host.raspisuper object system.adapter.admin.0.1.cputime created
                host.raspisuper object system.adapter.admin.0.1.cpu created
                host.raspisuper object system.adapter.admin.0.1.compactMode created
                host.raspisuper object system.adapter.admin.0.1.connected created
                host.raspisuper object system.adapter.admin.0.1.alive created
                host.raspisuper object system.adapter.admin.0.1 created
                

                Ich glaub das war nicht so zielführend ?!

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

                  @crepp1967
                  Ups.

                  iobroker list instances
                  
                  1 Reply Last reply Reply Quote 0
                  • crepp1967
                    crepp1967 last edited by

                    pi@raspisuper:~ $ iobroker list instances
                      system.adapter.admin.0.0               : admin                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                      system.adapter.admin.0.1               : admin                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                      system.adapter.admin.1                 : admin                 - disabled, port: 8081, bind: 192.168.1.154, run as: admin
                    
                    

                    Mist !

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

                      @crepp1967

                      iobroker del admin.0.0
                      iobroker del admin.0.1
                      iobroker del admin.1
                      ioboroker list instances
                      

                      Wenn dann kein admin mehr auftaucht

                      iobroker add admin
                      
                      crepp1967 1 Reply Last reply Reply Quote 0
                      • crepp1967
                        crepp1967 @Thomas Braun last edited by

                        @Thomas-Braun sagte in Probleme beim Javascript-Update auf 4.5.1 auf 4.6.17:

                        iobroker del admin.0.0

                        ohne sudo kommt das: (die Hilfe ?)

                        pi@raspisuper:~ $ iobroker del admin.0.0
                        Commands:
                        iobroker setup [--objects <host>] [--states <host>] [custom]
                        iobroker start - starts the js-controller
                        iobroker stop - stops the js-controller
                        iobroker start <adapter>[.instance] - starts a specified adapter instance
                        iobroker stop <adapter>.[instance] - stops a specified adapter instance
                        iobroker start all - starts js-controller and all adapters
                        iobroker restart - restarts the js-controller
                        iobroker restart <adapter>[.instance] - restarts a specified adapter
                        iobroker debug <adapter> [--ip=<ip>] [--port=<port>] [--wait] - Starts a Node.js debugging session for the adapter
                            --wait stops the execution until the debugger is attached.
                            --ip and --port can be used to change the listen IP and port. Use IP 0.0.0.0 for remote debugging.
                        iobroker info - shows the host info
                        iobroker logs [adapter] [--watch] [--lines=1000]
                        iobroker add <adapter> [desiredNumber] [--enabled] [--host <host>] [--port <port>]
                        iobroker install <adapter> - installs a specified adapter
                        iobroker rebuild <adapter>|self [--install]
                        iobroker url <url> [<name>] - install adapter from specified url, e.g. GitHub
                        iobroker del <adapter> - remove adapter from system
                        iobroker del <adapter>.<instance> - remove adapter instance
                        iobroker update [repository url] [--updatable/--u] [--installed/--i] [--force/--f] - update repository and optionally filter installed/updateable adapters, use --force to bypass hash check
                        iobroker upgrade [repository url]
                        iobroker upgrade self [repository url] - upgrade js-controller and all adapters, optionally you can specify the repository url
                        iobroker upgrade <adapter> [repository url] - upgrade specified adapter, optionally you can specify the repository url
                        iobroker upload <pathToLocalFile> <pathIniobroker>
                        iobroker upload all - upload all adapter files to make them available for instances
                        iobroker upload <adapter> - upload specified adapter files to make them available for instan
                        
                        1 Reply Last reply Reply Quote 0
                        • crepp1967
                          crepp1967 last edited by

                          soll ich es mal mit sudo probieren ?

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

                            @crepp1967
                            sudo sollte eigentlich nicht erforderlich sein.
                            Probier mal ein

                            iobroker stop 
                            iobroker fix
                            
                            1 Reply Last reply Reply Quote 0
                            • crepp1967
                              crepp1967 last edited by

                              @Thomas-Braun sagte in Probleme beim Javascript-Update auf 4.5.1 auf 4.6.17:

                              iobroker del admin.0.0

                              trotz stop und fix kommt die gleiche Ausgabe beim Befehl:

                              iobroker del admin.0.0
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @crepp1967 last edited by Thomas Braun

                                @crepp1967
                                Dann weiß ich auch nicht weiter.
                                @haselchen hat's kaputt gemacht!1!11 😉

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

                                  @Thomas-Braun
                                  Ruhig Brauner
                                  Verantwortlich ist immer noch jeder für sich selber.
                                  Ich habe zu nichts geraten ,sondern ein Link gepostet und auch zu Bedenken gegeben ob das überhaupt auf das Problem vom TE aufwendbar ist.
                                  Ich wäre dir zu Dank verpflichtet ,wenn Du diese unsinnige Aussage löschen würdest.

                                  Thomas Braun 1 Reply Last reply Reply Quote -1
                                  • Thomas Braun
                                    Thomas Braun Most Active @haselchen last edited by Thomas Braun

                                    @haselchen War nicht ernst gemeint. Sollte man an dem !111!!1 erkennen.

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

                                      nein ist schon klar das jeder für sich selbst verantwortlich ist. Ein Backup ist selbstverständlich vorhanden - es nützt hier bloß nicht viel weil der verdammte admin1 dann immer noch da ist...

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

                                        Habe mittlerweile ein Backup vom 4.6. wiederhergestellt und natürlich den Ausgangszustand u. natürlich auch den Ausgangsfehler.
                                        Iregndjemand eine Idee wie ich meinen Javascript Adapter updaten kann und vor allen Dingen wie ich die widerspenstige admin.1 Instanz loswerde ?

                                        Gruß
                                        Torsten

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

                                          Zusätzlich zum Javascript Adapter steht auch noch ein Update des JS Controllers an:
                                          aedc3c01-0331-4e8f-853b-d7b2ac3a5e06-image.png

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

                                            was wäre denn mit iobroker del admin
                                            das müsste dochh eigentlich alle Instanzen mit löschen

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            906
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            admin adapter javascript adapter master slave
                                            6
                                            48
                                            1836
                                            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