Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Autostart wieder herstellen

    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

    Autostart wieder herstellen

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

      Ich habe auf meinem Pi2````
      sudo apt-get update && apt-get upgrade

      
      dann:
      
      

      root@raspberrypi:/opt/iobroker# npm cache clean
      root@raspberrypi:/opt/iobroker# iobroker stop
      Stopping iobroker controller daemon...
      iobroker controller daemon stopped.
      Exit code for "killall.sh": 0
      root@raspberrypi:/opt/iobroker# npm install iobroker --unsafe-perm
      npm ERR! not a package /opt/iobroker/iobroker
      npm ERR! addLocal Could not install /opt/iobroker/iobroker
      npm ERR! Linux 4.4.13-v7+
      npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker" "- -unsafe-perm"
      npm ERR! node v0.12.6
      npm ERR! npm v2.11.2
      npm ERR! path /tmp/npm-1110-2a6f4ee3/unpack-5a463a3465aa/package.json
      npm ERR! code ENOENT
      npm ERR! errno -2

      npm ERR! enoent ENOENT, open '/tmp/npm-1110-2a6f4ee3/unpack-5a463a3465aa/package .json'
      npm ERR! enoent This is most likely not a problem with npm itself
      npm ERR! enoent and is related to npm not being able to find a file.
      npm ERR! enoent

      npm ERR! Please include the following file with any support request:
      npm ERR! /opt/iobroker/npm-debug.log
      root@raspberrypi:/opt/iobroker#

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

        Wie hast du das denn geschafft??? .

        (Nicht böse gemeint)

        Jetzt hast du eine ganz alte Version von node drauf!

        Das ist Armbian für den bananapi m2?

        Jetzt bitte durchführen

        Die alten node & node.js Versionen deinstallieren

        apt-get –purge remove node

        apt-get --purge remove nodejs

        apt-get autoremove

        reboot

        Node.js neu installieren

        curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -

        sudo apt-get install -y build-essential nodejs

        reboot

        Gruß

        Rainer

        1 Reply Last reply Reply Quote 0
        • M
          mamoel last edited by

          Die richtige Node-Version habe ich jetzt, aber die iobroker-Installation läuft immer noch nicht:````
          root@raspberrypi:/opt/iobroker# npm install iobroker --unsafe-perm
          npm ERR! not a package /opt/iobroker/iobroker
          npm ERR! addLocal Could not install /opt/iobroker/iobroker
          npm ERR! Linux 4.4.13-v7+
          npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker" "--unsafe-perm"
          npm ERR! node v4.5.0
          npm ERR! npm v2.15.9
          npm ERR! path /tmp/npm-1175-6e26a984/unpack-a9ea635b22b1/package.json
          npm ERR! code ENOENT
          npm ERR! errno -2
          npm ERR! syscall open

          npm ERR! enoent ENOENT: no such file or directory, open '/tmp/npm-1175-6e26a984/unpack-a9ea635b22b1/package.json'
          npm ERR! enoent This is most likely not a problem with npm itself
          npm ERR! enoent and is related to npm not being able to find a file.
          npm ERR! enoent

          npm ERR! Please include the following file with any support request:
          npm ERR! /opt/iobroker/npm-debug.log
          root@raspberrypi:/opt/iobroker#

          
          Witzigerweise funktioniert jetzt aber der Autostart wieder! :lol:
          1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators last edited by

            @mamoel:

            Witzigerweise funktioniert jetzt aber der Autostart wieder! `
            Dafür war ja der ganze Aufwand.

            Für den Rest bin ich mit meinem Latein am Ende.

            Da muss leider jemand anderes ran.

            Gruß

            Rainer

            1 Reply Last reply Reply Quote 0
            • M
              mamoel last edited by

              Ich danke dir auf jeden Fall für deine Hilfe.

              1 Reply Last reply Reply Quote 0
              • S
                Semenchkare last edited by

                Bei mir klappts bestens. Vielen vielen Dank Rainer!

                Ich bereue nicht, umgestiegen zu sein!

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

                  @mamoel:

                  Ich danke dir auf jeden Fall für deine Hilfe. `
                  Ich fürchte ich habe euch zwei fröhlich durcheinandergeworfen.

                  Du hast noch Wheezy drauf?

                  Da war doch was mit node 4.xx???

                  Vielleicht kann da mal ein Wissender drüber sehen.

                  Gruß

                  Rainer

                  1 Reply Last reply Reply Quote 0
                  • M
                    mamoel last edited by

                    Nein, ich habe (meines Wissens) Jessie auf meinem Raspberry Pi2.

                    root@raspberrypi:~# cat /etc/os-release
                    PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
                    NAME="Raspbian GNU/Linux"
                    VERSION_ID="8"
                    VERSION="8 (jessie)"
                    ID=raspbian
                    ID_LIKE=debian
                    HOME_URL="http://www.raspbian.org/"
                    SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
                    BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
                    root@raspberrypi:~#
                    
                    
                    1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators last edited by

                      Aber bei dir steht:
                      @mamoel:

                      Linux 4.4.13-v7+ `
                      Und v7 ist Wheezy.

                      Hättest du vor dem letzten Versuch nach Umstellung des Repository npm cache clean gemacht?

                      Gruß

                      Rainer

                      1 Reply Last reply Reply Quote 0
                      • M
                        mamoel last edited by

                        Ich behaupte mal "ja".

                        Bist du sicher, dass die v7 für Wheezy steht? Ich habe meinen Raspberry erst vor ein paar Wochen komplett neu vom letzten Raspbian Image neu installiert. Da sollte kein Wheezy reingekommen sein.

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

                          @mamoel:

                          Bist du sicher, dass die v7 für Wheezy steht? `
                          https://www.debian.org/News/2013/20130504

                          root@Test-Pi3:~# cat  /etc/issue                                                                                                                                                      
                          Raspbian GNU/Linux 8 \n \l
                          

                          Gruß

                          Rainer

                          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

                          765
                          Online

                          31.9k
                          Users

                          80.3k
                          Topics

                          1.3m
                          Posts

                          4
                          21
                          5499
                          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