Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] Probleme mit Raspberry 3 Image

    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] Probleme mit Raspberry 3 Image

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

      Welche Node- und npm-Versionen hast Du?

      Gruß,

      Eric

      Von unterwegs getippert

      1 Reply Last reply Reply Quote 0
      • P
        Pep last edited by

        @eric2905:

        Welche Node- und npm-Versionen hast Du?

        Gruß,

        Eric

        Von unterwegs getippert `

        pi@ioBroker-RasPi:/opt/iobroker $ nodejs -v

        v8.11.1

        pi@ioBroker-RasPi:/opt/iobroker $ npm –v

        5.8.0

        Zusätzlich:

        pi@ioBroker-RasPi:/opt/iobroker $ sudo npm cache clean
        npm ERR! As of npm@5, the npm cache self-heals from corruption issues and data extracted from the cache is guaranteed to be valid. If you want to make sure everything is consistent, use 'npm cache verify' instead.
        npm ERR!
        npm ERR! If you're sure you want to delete the entire cache, rerun this command with --force.
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /root/.npm/_logs/2018-09-03T11_08_25_902Z-debug.log
        
        

        Ps: echt schnelle Hilfe 🙂

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

          Unexpected end of JSON input
          

          lässt mich vermuten, dass da Dateien nicht sauber geschrieben wurden. Mag zwar doof klingen, aber eventuell den Admin einfach noch ein drittes Mal installieren?

          1 Reply Last reply Reply Quote 0
          • P
            Pep last edited by

            Da stimmt doch irgendwas nicht:

            pi@home:/opt/iobroker $ iobroker stop admin
            Cannot find any instances of "admin"
            pi@home:/opt/iobroker $ npm install iobroker.admin
            + iobroker.admin@3.5.7
            updated 3 packages in 32.971s
            pi@home:/opt/iobroker $ iobroker list instances
            system.adapter.cloud.0                 : cloud       - disabled
            system.adapter.discovery.0             : discovery   -  enabled
            system.adapter.flot.0                  : flot        -  enabled
            system.adapter.history.0               : history     -  enabled
            system.adapter.hm-rega.0               : hm-rega     - disabled
            system.adapter.hm-rpc.0                : hm-rpc      -  enabled, port: 0
            system.adapter.javascript.0            : javascript  -  enabled
            system.adapter.mobile.0                : mobile      - disabled
            system.adapter.rpi2.0                  : rpi2        -  enabled
            system.adapter.socketio.0              : socketio    -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
            system.adapter.vis.0                   : vis         -  enabled
            system.adapter.web.0                   : web         -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
            pi@home:/opt/iobroker $ iobroker upload admin
            got /opt/iobroker/node_modules/iobroker.admin/admin
            upload [3] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/words.js words.js application/javascript
            upload [2] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index_m.html index_m.html text/html
            upload [1] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index.html index.html text/html
            upload [0] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/admin.png admin.png image/png
            pi@home:/opt/iobroker $ iobroker start admin
            Cannot find any instances of "admin"
            pi@home:/opt/iobroker $
            
            

            Installation erfolgreich - aber starten kann ich ihn nicht :-?

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

              bitte mach mal folgendes:

              cd /opt/iobroker
              sudo iobroker stop
              sudo npm cache clean -f
              sudo npm install iobroker.admin --production
              sudo iobroker start
              

              Gruß

              Rainer

              1 Reply Last reply Reply Quote 0
              • P
                Pep last edited by

                gesagt getan… leider ohne Erfolg:

                pi@home:/opt/iobroker $ sudo iobroker stop
                Stopping iobroker controller daemon...
                iobroker controller daemon stopped.
                Exit code for "killall.sh": 123
                pi@home:/opt/iobroker $ sudo npm cache clean -f
                npm WARN using --force I sure hope you know what you are doing.
                pi@home:/opt/iobroker $ sudo npm install iobroker.admin --production
                + iobroker.admin@3.5.7
                updated 1 package in 26.591s
                pi@home:/opt/iobroker $ sudo iobroker start
                Starting iobroker controller daemon...
                iobroker controller daemon started. PID: 1502
                pi@home:/opt/iobroker $ iobroker list instances
                system.adapter.cloud.0                 : cloud       - disabled
                system.adapter.discovery.0             : discovery   -  enabled
                system.adapter.flot.0                  : flot        -  enabled
                system.adapter.history.0               : history     -  enabled
                system.adapter.hm-rega.0               : hm-rega     - disabled
                system.adapter.hm-rpc.0                : hm-rpc      -  enabled, port: 0
                system.adapter.javascript.0            : javascript  -  enabled
                system.adapter.mobile.0                : mobile      - disabled
                system.adapter.rpi2.0                  : rpi2        -  enabled
                system.adapter.socketio.0              : socketio    -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
                system.adapter.vis.0                   : vis         -  enabled
                
                
                1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators last edited by

                  was sagt````
                  iobroker -v

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

                    Da fehlt die Admin-Instanz. Da du den Adapter nicht einfach drübergebügelt hast, sondern vorher gelöscht, musst du erst noch eine Instanz hinzufügen.

                    iobroker add admin
                    iobroker start admin.0
                    
                    
                    1 Reply Last reply Reply Quote 0
                    • P
                      Pep last edited by

                      @AlCalzone:

                      Da fehlt die Admin-Instanz. Da du den Adapter nicht einfach drübergebügelt hast, sondern vorher gelöscht, musst du erst noch eine Instanz hinzufügen.

                      iobroker add admin
                      iobroker start admin.0
                      
                      ```` `  
                      

                      Super. Genau das war es. Danke <emoji seq="1f600">😀</emoji>

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

                        @Pep:

                        Genau das war es. `
                        Markiere bitte das Thema im Betreff des ersten Beitrags als [gelöst].

                        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

                        899
                        Online

                        31.9k
                        Users

                        80.2k
                        Topics

                        1.3m
                        Posts

                        5
                        11
                        879
                        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