Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Nichts gehts mehr nach Node.js 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

    Nichts gehts mehr nach Node.js update

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

      @Designerdom

      Schau mal, ob Du auf Node.js 8.15.0 kommst. Vor Node.js 8.12 gab es ein Speicherleck in Node.js

      PS: Das der nodejs-Befehl nicht geht, macht kein Problem.

      D 1 Reply Last reply Reply Quote 0
      • D
        Designerdom @Stabilostick last edited by

        @Stabilostick hast du nen Tipp wie ich das mache?

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

          Kannst du bitte die beiden folgenden Befehle ausführen und das Ergebnis posten?

          find . -name apt
          find . -name apt-get
          
          D 1 Reply Last reply Reply Quote 0
          • D
            Designerdom @Stabilostick last edited by

            @Stabilostick said in Nichts gehts mehr nach Node.js update:

            find . -name apt-get

            Sehr gerne! Die Befehle werden offensichtlich leider nicht richtig ausgeführt:

            admin@Woellmcom-Basis:~$ find . -name apt
            admin@Woellmcom-Basis:~$ find . -name apt-get
            admin@Woellmcom-Basis:~$

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

              Wobei, jetzt hast Du ja schon ein neueres Node drauf. Die apt-Befehle dürften bei Dir wegen Synologie nicht funktionieren.

              Aber der Node.js-Paketmanager npm wurde ja mit Node.js installiert.

              ! Mache eine Sicherheitskopie des iobroker-Ordners. !

              Führe folgende Befehle aus:

              cd /opt/iobroker
              sudo ./reinstall.sh
              
              D 1 Reply Last reply Reply Quote 0
              • D
                Designerdom @Stabilostick last edited by

                @Stabilostick

                Geht wohl leider auch nicht:( Obwohl das File da ist

                admin@Woellmcom-Basis:~/opt/iobroker$ sudo ./reinstall.sh
                Password:
                sudo: unable to execute ./reinstall.sh: No such file or directory
                admin@Woellmcom-Basis:~/opt/iobroker$ ^C
                admin@Woellmcom-Basis:~/opt/iobroker$ dir
                total 232
                drwxrwxrwx+ 7 admin users 4096 Feb 26 19:50 .
                drwxrwxrwx+ 3 admin users 4096 Feb 26 15:33 ..
                drwxrwxrwx+ 2 admin users 4096 Feb 26 19:20 backups
                drwxrwxrwx 2 admin root 4096 Mar 24 2017 etc
                -rwxrwxrwx 1 admin root 357 Mar 24 2017 install.sh
                -rwxrwxrwx 1 admin root 67 Mar 24 2017 iobroker
                -rwxrwxrwx+ 1 admin users 0 Feb 26 19:50 iobroker@2.0.2
                drwxrwxrwx 6 admin root 4096 Feb 26 18:45 iobroker-data
                -rwxrwxrwx 1 admin root 92 Aug 22 2018 killall.sh
                drwxrwxrwx 2 admin root 4096 Feb 26 18:53 log
                -rwxrwxrwx+ 1 admin users 0 Feb 26 19:50 node
                drwxrwxrwx 172 admin root 12288 Feb 26 21:15 node_modules
                -rwxrwxrwx 1 root root 5539 Dec 17 17:25 npm-debug.log
                -rwxrwxrwx+ 1 root root 19 Feb 26 18:43 .npmrc
                -rwxrwxrwx 1 root root 442 Feb 26 15:52 package.json
                -rwxrwxrwx 1 root root 164608 Feb 26 15:52 package-lock.json
                -rwxrwxrwx 1 admin root 709 Aug 22 2018 reinstall.sh
                admin@Woellmcom-Basis:~/opt/iobroker$

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

                  cd /opt/iobroker
                  sudo mv reinstall.sh reinstall.dos
                  sudo tr -d '\r' < reinstall.dos > reinstall.sh
                  sudo chmod +x reinstall.sh
                  

                  Und jetzt nochmal

                  sudo ./reinstall.sh
                  

                  ausführen.

                  Im Ergebnis merkt sich das reinstall.sh, welche Adapter da sind, löscht alles von node_modules und installiert alles wieder. Dauert einige Zeit. Die Daten unter ioboker-Data bleiben dabei unangetastet. Trotzdem: vorher Datensicherung.

                  apollon77 1 Reply Last reply Reply Quote 0
                  • Samson71
                    Samson71 Global Moderator last edited by

                    Die Node.js Pakete auf der Syno sind irgendwie "speziell" angepasst. Zumindest war das mein Eindruck. Ich hatte zu Anfang auch ioBroker auf einer Syno - irgendwann mit ähnlichen Problemen. Du bist halt nen Stück weit abhängig vom Paketzentrum. Ich weis, ist jetzt keine Hilfe, aber für mich war das damals die unfreiwillige "Entscheidungshilfe" mir nen gebrauchten NUC zuzulegen und ioBroker stand alone zu betreiben.

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

                      Und wenn Du Dir mit dem reinstall unsicher bist, dann alternativ im iobroker-Ordner

                      npm rebuild
                      

                      ausführen.

                      1 Reply Last reply Reply Quote -1
                      • D
                        Designerdom last edited by

                        Ein Freund hat mir gestern noch remote geholfen, läuft nach downgrade von node und npm wieder. Allerdings habe ich jetzt diverse Probleme mit einigen Adaptern:(

                        1 Reply Last reply Reply Quote 0
                        • apollon77
                          apollon77 @Stabilostick last edited by

                          @Stabilostick Am besten reinstall.sh nicht nutzen. "npm rebuild" ist viel besser!

                          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

                          398
                          Online

                          31.9k
                          Users

                          80.1k
                          Topics

                          1.3m
                          Posts

                          iobroker node.js npm version probleme nach update
                          5
                          18
                          1641
                          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