Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Installation hängt unter LinuxMint (Ubuntu) in Endlosschleife

    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

    Installation hängt unter LinuxMint (Ubuntu) in Endlosschleife

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

      Hallo,

      versuche gerade unter LinuxMint den iobroker zu installieren, klappt leider nicht.

      Bin hiernach vorgegangen: http://www.iobroker.net/docu/?page_id=8019&lang=de

      node -v = v8.1.0

      npm -v =3.5.2

      wenn ich dann "npm install iobroker –unsafe-perm" aufrufe kommt:

      iobroker.inst@1.1.2 /home/test
      └── iobroker@1.1.2  extraneous
      
      npm ERR! Linux 4.15.0-23-generic
      npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker" "--unsafe-perm"
      npm ERR! node v8.10.0
      npm ERR! npm  v3.5.2
      npm ERR! path /home/test/node_modules
      npm ERR! code EACCES
      npm ERR! errno -13
      npm ERR! syscall access
      
      npm ERR! Error: EACCES: permission denied, access '/home/test/node_modules'
      npm ERR!  { Error: EACCES: permission denied, access '/home/test/node_modules'
      npm ERR!   errno: -13,
      npm ERR!   code: 'EACCES',
      npm ERR!   syscall: 'access',
      npm ERR!   path: '/home/test/node_modules' }
      npm ERR! 
      npm ERR! Please try running this command again as root/Administrator.
      
      npm ERR! Please include the following file with any support request:
      npm ERR!     /home/test/npm-debug.log
      
      

      dann habe ich "sudo npm install iobroker –unsafe-perm" aufgerufen

      dann kommt diese Endlosscheeife

      Jemand einen Tipp woran das leigen könnte, bin leider noch totaler Linux Anfänger.

      > iobroker@1.1.2 install /home/test/node_modules/iobroker
      > node lib/prepareSetup.js && node lib/setup.js
      
      NPM version: 3.5.2
      npm install iobroker.discovery@stable --production --save
      
      > iobroker@1.1.2 install /home/test/node_modules/iobroker
      > node lib/prepareSetup.js && node lib/setup.js
      
      NPM version: 3.5.2
      npm install iobroker.discovery@stable --production --save
      
      > iobroker@1.1.2 install /home/test/node_modules/iobroker
      > node lib/prepareSetup.js && node lib/setup.js
      
      NPM version: 3.5.2
      npm install iobroker.discovery@stable --production --save
      
      
      1 Reply Last reply Reply Quote 0
      • Dutchman
        Dutchman Developer Most Active Administrators last edited by

        NPM bitte updaten, bei node Version 8 sollte npm 6.1.0 latest sein

        Sent from my iPhone using Tapatalk

        1 Reply Last reply Reply Quote 0
        • H
          heinzie last edited by

          @Dutchman:

          NPM bitte updaten, bei node Version 8 sollte npm 6.1.0 latest sein

          Sent from my iPhone using Tapatalk `

          Danke, das wars 🙂

          Einzige Problem ist jetzt noch das ich iobroker nach jedem reboot von Hand neu starten muss.

          Ist irgendwie nicht im Autostart, gibt es dafür noch einen gesonderten Befehl?

          sieht bei mir so aus:

          $ iobroker start
          Starting iobroker controller daemon...
          iobroker controller daemon started. PID: 1678
          
          
          1 Reply Last reply Reply Quote 0
          • Dutchman
            Dutchman Developer Most Active Administrators last edited by

            Ja muss kurz in meinen Notizen blättern Moment

            Sent from my iPhone using Tapatalk

            1 Reply Last reply Reply Quote 0
            • Dutchman
              Dutchman Developer Most Active Administrators last edited by

              autostart habe ich mit diesen befehlen eingerichtet :

              
                   sudo cp /opt/iobroker/node_modules/iobroker/install/linux/iobroker.sh /etc/init.d/
                   sudo chmod 777 /etc/init.d/iobroker.sh
                   sudo bash /opt/iobroker/node_modules/iobroker/install/linux/install.sh
              

              Sent from my iPhone using Tapatalk

              1 Reply Last reply Reply Quote 0
              • H
                heinzie last edited by

                @Dutchman:

                autostart habe ich mit diesen befehlen eingerichtet :

                
                     sudo cp /opt/iobroker/node_modules/iobroker/install/linux/iobroker.sh /etc/init.d/
                     sudo chmod 777 /etc/init.d/iobroker.sh
                     sudo bash /opt/iobroker/node_modules/iobroker/install/linux/install.sh
                

                Sent from my iPhone using Tapatalk `

                Klasse, geht auch. Du bist mein Held.

                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

                770
                Online

                31.9k
                Users

                80.1k
                Topics

                1.3m
                Posts

                2
                6
                594
                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