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

      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
        • haselchen
          haselchen Most Active @JRiddim last edited by haselchen

          @JRiddim

          wäre meine nächste idee gewesen 😉
          Den Befehl aber nicht im iobroker verzeichnis eingeben
          sondern im hauptverzeichnis vom PI

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

            @haselchen

            🙂 mit sudo

            sudo npm install -g npm
            [sudo] Passwort für juju: 
            /usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js
            /usr/bin/npx -> /usr/lib/node_modules/npm/bin/npx-cli.js
            + npm@6.13.7
            added 7 packages from 3 contributors, removed 3 packages and updated 12 packages in 62.708s
            

            jetzt zeigt er mir admin.0 als alive!

            • 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 @haselchen last edited by

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

              @JRiddim

              wäre meine nächste idee gewesen 😉
              Den Befehl aber nicht im iobroker verzeichnis eingeben
              sondern im hauptverzeichnis vom PI

              oh das Mist ich habe es im Biobroker Verzeichnis gemacht! Hab das völlig überlesen!

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

                @JRiddim
                Wiederhol es einfach im Hauptverzeichnis nochmal.
                Bitte sag das es jetzt funktioniert 🙂

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

                  @haselchen

                  also einfach cd eingeben und anschließend

                  sudo npm install -g npm? richtig oder?

                  Tut mir leid ist schon der dritte Abend in Folge und langsam schwinden die Kräfte 😕

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

                    @JRiddim

                    genau. mit cd ins hauptverzeichnis und dann nochmal den befehl eingeben.
                    erstmal ohne sudo.

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

                      @haselchen

                      installation ging nur mit sudo wieder! Jetzt wird die Instanz wieder als nicht alive angezeigt.

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

                        @JRiddim

                        Mir fällt nur noch ein den Admin downzugraden
                        cd /opt/iobroker
                        iobroker stop
                        npm install iobroker.admin.0@3.7.2 --production
                        iobroker start oder restart (versuch erst start)

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

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

                          npm install iobroker.admin.0@3.7.2 --production

                          npm ERR! code E404
                          npm ERR! 404 Not Found - GET https://registry.npmjs.org/iobroker.admin.0 - Not found
                          npm ERR! 404 
                          npm ERR! 404  'iobroker.admin.0@3.7.2' is not in the npm registry.
                          npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
                          npm ERR! 404 
                          npm ERR! 404 Note that you can also install from a
                          npm ERR! 404 tarball, folder, http url, or git url.
                          
                          npm ERR! A complete log of this run can be found in:
                          npm ERR!     /root/.npm/_logs/2020-01-29T23_00_25_012Z-debug.log
                          

                          sowohl als auch mit und ohne sudo

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

                            @JRiddim

                            lass mal den punkt und die 0 weg.
                            npm install iobroker.admin@3.7.2 --production

                            hilft das auch nicht, dann ein letzter versuch:

                            cd /opt/iobroker

                            sudo npm cache clean

                            sudo iobroker stop

                            sudo npm install iobroker.admin

                            sudo iobroker start

                            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 iobroker.admin@3.7.2 --production

                              npm install iobroker.admin@3.7.2 --production
                              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 bl@0.7.0 requires a peer of stream-browserify@* 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.admin@3.7.2
                              updated 1 package in 23.061s
                              
                              19 packages are looking for funding
                                run `npm fund` for details
                              
                              
                              haselchen 1 Reply Last reply Reply Quote 0
                              • haselchen
                                haselchen Most Active @JRiddim last edited by

                                @JRiddim

                                und nun nach
                                iobroker start admin.0 (oder iobroker restart)
                                wie sieht es aus, kommste auf die oberfläche?

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

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

                                  iobroker start admin.0

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

                                  was mich nur wundert. Auf die Ports 8082, 8088, auf die ich komme ist eine ip hinterlegt nicht so wie bei den admin Instanzen?

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

                                    @JRiddim

                                    So jetzt das Finale.
                                    Das hatte ich gestern auch.
                                    Also.... das gibst du jetzt ein

                                    sudo iobroker del admin.0

                                    sudo iobroker del admin.1

                                    sudo iobroker add admin.0

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

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

                                      sudo iobroker add admin 0

                                      die neue Admin.0 Instanz wird nur am Anfang als an angezeigt und dann wieder kein Lebenszeichen!

                                      + system.adapter.admin.0                 : admin                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                      
                                        system.adapter.admin.0                 : admin                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                      
                                      haselchen 1 Reply Last reply Reply Quote 0
                                      • haselchen
                                        haselchen Most Active @JRiddim last edited by

                                        @JRiddim

                                        was ergibt
                                        iobroker list instances

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

                                          @haselchen

                                          siehe post drüber.

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

                                            @JRiddim

                                            so sieht es bei mir auch aus.
                                            wenn du die seite iobroker aufrufen willst, bleibt die seite weiss oder gibt es eine fehlermeldung?

                                            J 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

                                            537
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

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