Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] iobroker offline nach admin update

    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

    [gelöst] iobroker offline nach admin update

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

      @JRiddim

      Ich mach das immer nach try and error.
      Auf eigene Gefahr.
      Ich hatte das Problem auch.
      Und bin die Befehle durchgegangen.
      Versuch mal iobroker neu zu starten. Also das Gerät.

      1 Reply Last reply Reply Quote 0
      • J
        JRiddim @haselchen last edited by

        @haselchen sagte in iobroker nicht mehr erreichbar nach admin update:

        @JRiddim

        gib iobroker stop ein
        dann
        npm install iobroker.js-controller
        dann
        iobroker start

        auf der Ebene opt/iobroker oder?

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

          @JRiddim

          richtig.

          J 1 Reply Last reply Reply Quote 0
          • J
            JRiddim @haselchen last edited by

            @haselchen

            erhalte diese Meldung dabei.

            npm install iobroker.js-controller
            npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
            
            > iobroker.js-controller@2.2.8 preinstall /opt/iobroker/node_modules/iobroker.js-controller
            > node lib/preinstallCheck.js
            
            NPM version: 6.13.4
            
            > iobroker.js-controller@2.2.8 install /opt/iobroker/node_modules/iobroker.js-controller
            > node iobroker.js setup first
            
            npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
            npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself.
            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
            npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.5 (node_modules/osx-temperature-sensor):
            npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
            
            + iobroker.js-controller@2.2.8
            updated 1 package and audited 4821 packages in 35.829s
            
            12 packages are looking for funding
              run `npm fund` for details
            
            found 57 vulnerabilities (40 low, 3 moderate, 14 high)
              run `npm audit fix` to fix them, or `npm audit` for details
            
            haselchen 1 Reply Last reply Reply Quote 0
            • haselchen
              haselchen Most Active @JRiddim last edited by

              @JRiddim

              Viele Wege führen hier nach Rom.
              Kommste mit iobroker start oder iobroker start admin.0 jetzt auf die Oberfläche?

              Ansonsten kannst du noch den Fixer laufen lassen oder clever wäre auch beim raspi ein
              sudo apt update und dann ein
              sudo apt full-upgrade
              zu machen.
              dann ist der raspberry erstmal auf dem neuesten stand.

              J 1 Reply Last reply Reply Quote 0
              • J
                JRiddim @haselchen last edited by JRiddim

                @haselchen

                habe den rpi jetzt aktualisiert. port: 8081 funktioniert immer noch nicht.
                Wie kann ich den Fixer laufen lassen? 🙂

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

                  @JRiddim

                  curl -sL https://iobroker.net/fix.sh | bash -

                  J 1 Reply Last reply Reply Quote 0
                  • T
                    timtig @JRiddim last edited by

                    @JRiddim
                    bis jetzt war ich stiller beobachter und leser hier. Aber weil es mir immer wieder geholfen hat, wollte ich es hier auch zurück geben und versuchen zu helfen. Hatte den gleiche Fehler. War auch sehr verzweifelt. Alle adapter waren weg, nichts ging mehr. Verwende aber mein Haupt iobroker unter Sysnology mit portainer, den zweiten als slave auf RPI.
                    Hatte auch ohne drauf zu schauen den admin adapter upgedatet und dann war alles weg. Bis in die nacht oder morgen früh war ich am Rechner, aber erst am zweiten Abend hatte ich alles reparieren können. Mein vorgehen war:
                    container starten, natürlich startet iobroker nicht. Mit portainer auf die console und schauen ob da noch was von iobroker läuft:

                    ps auxww|grep io
                    #killen wenn noch was läuft
                    

                    dann

                    npm install iobroker.js-controller@2.2.8
                    #und
                    iobroker upgrade self
                    

                    wichtig ist natürlich, dass du den aktuellen node und so hast:
                    link text

                    dann container neustarten. Dann waren alle adapter erst mal da, aber dann schreck, die sind alle rot und starten nicht. Keine panik, die werden jetzt nach und nach neu installiert. Evtl. muss du ein oder anderen adapter neu starten. Kannst im log beobachten wie die installiert werden. Viel erfolg!
                    sonst hier noch ein paar links dazu:
                    link text
                    link text
                    Gruß

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      JRiddim @haselchen last edited by

                      @haselchen sagte in iobroker nicht mehr erreichbar nach admin update:

                      curl -sL https://iobroker.net/fix.sh | bash -

                      brachte leider noch keinen Erfolg.
                      ist es normal das unter Biobroker list instances der admin mit 0.0.0.0 angegeben wird?

                      system.adapter.admin.0 : admin - enabled, port: 8081, bind: 0.0.0.0, run as: admin

                      haselchen 1 Reply Last reply Reply Quote 0
                      • J
                        JRiddim @timtig last edited by JRiddim

                        @timtig

                        bei ps auxww|grep io kommt.

                        root        12  0.0  0.0      0     0 ?        S    20:08   0:00 [migration/0]
                        root        15  0.0  0.0      0     0 ?        S    20:08   0:00 [migration/1]
                        root        20  0.0  0.0      0     0 ?        S    20:08   0:00 [migration/2]
                        root        25  0.0  0.0      0     0 ?        S    20:08   0:00 [migration/3]
                        root        42  0.0  0.0      0     0 ?        I<   20:08   0:00 [rpciod]
                        root        44  0.0  0.0      0     0 ?        I<   20:08   0:00 [xprtiod]
                        root        48  0.0  0.0      0     0 ?        I<   20:08   0:00 [nfsiod]
                        root        64  0.0  0.0      0     0 ?        I<   20:08   0:00 [DWC Notificatio]
                        message+   333  0.0  0.0   6644  3548 ?        Ss   20:08   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
                        root      1789  0.3  2.0 269844 82356 ?        Sl   20:08   0:39 java -Xmx128m -Dos.arch=arm -Dlog4j.configuration=file:///etc/config/log4j.xml -Dfile.encoding=ISO-8859-1 -Dgnu.io.rxtx.SerialPorts=/dev/mmd_hmip -jar /opt/HMServer/HMIPServer.jar /etc/crRFD.conf /etc/HMServer.conf
                        iobroker 12828 18.0  2.8 199400 114016 ?       Ssl  22:55   0:58 iobroker.js-controller
                        iobroker 12881  0.4  1.1 136028 47856 ?        Sl   22:56   0:01 io.discovery.0
                        iobroker 12896  3.2  1.3 155804 55184 ?        Sl   22:56   0:10 io.info.0
                        iobroker 12917  1.1  1.0 144536 41024 ?        Sl   22:56   0:03 io.mihome-vacuum.0
                        iobroker 13344  1.4  1.2 153408 49440 ?        Sl   22:56   0:04 io.telegram.0
                        iobroker 13365  1.8  1.1 148252 44392 ?        Sl   22:56   0:05 io.hue.0
                        iobroker 13511  1.2  1.0 144764 42460 ?        Sl   22:56   0:03 io.hm-rpc.0
                        iobroker 13572  1.3  1.1 148148 46580 ?        Sl   22:56   0:04 io.hm-rega.0
                        iobroker 13735  1.3  1.2 149256 48172 ?        Sl   22:56   0:03 io.hm-rpc.1
                        iobroker 13797  0.7  1.0 136372 41596 ?        Sl   22:56   0:02 io.ping.0
                        iobroker 13999  0.7  1.3 148360 54868 ?        Sl   22:56   0:02 io.web.0
                        iobroker 14203  3.3  1.4 163012 59532 ?        Sl   22:56   0:09 io.spotify-premium.0
                        iobroker 14635  0.7  1.3 148708 53304 ?        Sl   22:57   0:01 io.terminal.0
                        iobroker 14673  1.6  1.1 150376 45628 ?        Sl   22:57   0:04 io.zigbee.0
                        iobroker 14820  4.9  2.3 199452 92496 ?        Sl   22:57   0:12 io.javascript.0
                        iobroker 14906  0.8  1.1 148136 44420 ?        Sl   22:57   0:02 io.yahka.0
                        juju     20733  0.0  0.0   7360   484 pts/1    S+   23:01   0:00 grep --color=auto io
                        

                        node -v
                        v10.18.1

                        nodejs -v
                        v10.18.1

                        npm -v
                        6.13.4

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

                          @JRiddim

                          das ist richtig so.
                          und normal sollte alles gehen.
                          du kannst mal
                          iobroker stop admin.0 eingeben

                          und dann wieder starten

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            JRiddim @haselchen last edited by

                            @haselchen

                            leider auch nicht. ich hatte einen chmod 777 mal auf den iobroker gemacht kann das vllt. damit zusammenhängen?

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

                              @JRiddim

                              Mit Rechtevergaben kenne ich mich nicht aus.
                              Was passiert denn wenn du die IP:8081 eingibst?

                              J 1 Reply Last reply Reply Quote 0
                              • J
                                JRiddim @haselchen last edited by

                                @haselchen

                                es tut sich nichts. Auf Vis komme ich ohne weiteres.

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

                                  @JRiddim

                                  Cache vom Browser geleert?
                                  Mal F5 gedrückt nach der IP:8081 Eingabe?

                                  J 1 Reply Last reply Reply Quote 0
                                  • J
                                    JRiddim @haselchen last edited by

                                    @haselchen

                                    😞 tut sich leider auch nix

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

                                      @JRiddim

                                      Hm. Also das ist heavy.
                                      Bleibt noch in dem Pfad /opt/iobroker
                                      ein
                                      npm rebuild

                                      J 1 Reply Last reply Reply Quote 0
                                      • J
                                        JRiddim @haselchen last edited by

                                        @haselchen

                                        am Ende wird das hier angezeigt.

                                        ╭────────────────────────────────────────────────────────────────╮
                                        │ │
                                        │ New patch version of npm available! 6.13.4 → 6.13.7 │
                                        │ Changelog: https://github.com/npm/cli/releases/tag/v6.13.7 │
                                        │ Run npm install -g npm to update! │
                                        │ │
                                        ╰────────────────────────────────────────────────────────────────╯

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

                                          @JRiddim

                                          genau das machst du
                                          npm install -g npm

                                          J 1 Reply Last reply Reply Quote 0
                                          • J
                                            JRiddim @haselchen last edited by

                                            @haselchen sagte in iobroker nicht mehr erreichbar nach admin update:

                                            npm install -g npm

                                            npm install -g npm
                                            npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/bin-links
                                            npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/env-paths
                                            npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/get-caller-file
                                            npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/invert-kv
                                            npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/lcid
                                            npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/mimic-fn
                                            npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/nopt
                                            npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/semver
                                            npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/node-gyp
                                            npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/mem
                                            npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/os-locale
                                            npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/pacote
                                            npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/yargs
                                            npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/libnpx
                                            npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm
                                            npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules
                                            npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules
                                            npm WARN checkPermissions Missing write access to /usr/lib/node_modules
                                            npm ERR! code EACCES
                                            npm ERR! syscall access
                                            npm ERR! path /usr/lib/node_modules/npm/node_modules/bin-links
                                            npm ERR! errno -13
                                            npm ERR! Error: EACCES: permission denied, access '/usr/lib/node_modules/npm/node_modules/bin-links'
                                            npm ERR!  { [Error: EACCES: permission denied, access '/usr/lib/node_modules/npm/node_modules/bin-links']
                                            npm ERR!   stack:
                                            npm ERR!    'Error: EACCES: permission denied, access \'/usr/lib/node_modules/npm/node_modules/bin-links\'',
                                            npm ERR!   errno: -13,
                                            npm ERR!   code: 'EACCES',
                                            npm ERR!   syscall: 'access',
                                            npm ERR!   path: '/usr/lib/node_modules/npm/node_modules/bin-links' }
                                            npm ERR! 
                                            npm ERR! The operation was rejected by your operating system.
                                            npm ERR! It is likely you do not have the permissions to access this file as the current user
                                            npm ERR! 
                                            npm ERR! If you believe this might be a permissions issue, please double-check the
                                            npm ERR! permissions of the file and its containing directories, or try running
                                            npm ERR! the command again as root/Administrator.
                                            
                                            npm ERR! A complete log of this run can be found in:
                                            npm ERR!     /home/juju/.npm/_logs/2020-01-29T22_36_52_146Z-debug.log
                                            
                                            

                                            muss ich das mit sudo ausführen?

                                            haselchen 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

                                            431
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter admin frage js.controller update
                                            8
                                            86
                                            8381
                                            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