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 installation npm out of memory

    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 installation npm out of memory

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

      Hallo!

      Hab mich neue angemeldet hier, weil ich aktuell massive Probleme schon bei der Installation habe. Meine alte iobroker Installation lief 2 Jahre eigentlich fehlerfrei, bis irgendwas mein Dateisystem gekillt hat und alle Permissions resetiert hat.

      Ich hab ein Odroid-C2 mit dem aktuellen Ubuntu 18.04 (v3.0) aufgesetzt. Danach noch apt-get update/upgrade gemacht, nodejs und npm aus dem Repositiory per apt installiert.

      root@odroid:~# node -v
      v8.10.0
      root@odroid:~# npm -v
      3.5.2
      
      

      Dann

      root@odroid:/opt/iobroker# npm install --unsafe-perm iobroker
      > iobroker@1.1.2 install /opt/iobroker/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 /opt/iobroker/node_modules/iobroker
      > node lib/prepareSetup.js && node lib/setup.js
      
      NPM version: 3.5.2
      npm install iobroker.discovery@stable --production --save
      ...
      
      

      Das läuft dann so 1 Stunde, bis dem Board der Speicher (2GB + 4GB Swap) ausgeht und Prozesse gekillt werden. Dann habe ich die Prozesse x-mal:

      root      5733  0.0  0.4 922288 31620 pts/0    Sl+  12:40   0:00 node lib/setup.js
      root      5751  0.4  0.9 1285348 76072 pts/0   Sl+  12:40   0:03 npm
      root      5774  0.0  0.4 922272 31904 pts/0    Sl+  12:41   0:00 node lib/setup.js
      root      5792  0.5  1.0 1285292 78392 pts/0   Sl+  12:41   0:03 npm
      root      5802  0.0  0.0      0     0 ?        I    12:41   0:00 [kworker/4:0]
      root      5817  0.0  0.4 922272 31796 pts/0    Sl+  12:42   0:00 node lib/setup.js
      root      5835  0.5  0.9 1283480 75616 pts/0   Sl+  12:42   0:03 npm
      root      5909  0.0  0.0      0     0 ?        I    12:42   0:00 [kworker/u16:0]
      root      5915  0.0  0.4 922288 31860 pts/0    Sl+  12:43   0:00 node lib/setup.js
      root      5933  0.6  0.9 1284812 76652 pts/0   Sl+  12:43   0:03 npm
      ...
      
      

      Hab es auch auf meinem Desktoprechner probiert, selbes Ergebnis. Nodejs per Anleitung händisch installieren war auch nicht von Erfolg gekrönt. Die diversen Anleitungen haben mir nicht wirklich weitergeholfen, was mache ich falsch?

      Danke für jegliche Ideen.

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

        Npm 3.5.2 in Combination mit node 8 läuft glaube ich nicht gerade astrein bitte npm Updaten..

        Sent from my iPhone using Tapatalk

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

          Hallo Dutchman,

          danke vielmals ein

          curl -L https://npmjs.org/install.sh | sh 
          

          hat dann die funktionierende Kombination

          node v8.10.0
          npm 6.2.0
          
          

          erbracht. Das hat mir jetzt sicher noch einen Tag probieren erspart. Danke! 😄

          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

          863
          Online

          31.9k
          Users

          80.3k
          Topics

          1.3m
          Posts

          2
          3
          551
          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