Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [ Gelöst ] js.controller Upgrade mach Probleme

    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 ] js.controller Upgrade mach Probleme

    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jan1 @schroeder1 last edited by

      @schroeder1
      Anscheinend bist das nicht, so wie @crunchip schreibt.

      1 Reply Last reply Reply Quote 0
      • crunchip
        crunchip Forum Testing Most Active @schroeder1 last edited by

        @schroeder1 vllt mal so probieren
        ins Verzeichnis /opt/iobroker
        iobroker stop
        prüfen
        ps auxww|grep io

        sudo -H -u iobroker npm install iobroker.js-controller
        
        1 Reply Last reply Reply Quote 0
        • crunchip
          crunchip Forum Testing Most Active @schroeder1 last edited by

          @schroeder1 sagte in js.controller Upgrade mach Probleme:

          gerne auf dem neuesten Stand bleiben

          wie siehts mit node.js aus?

          S 1 Reply Last reply Reply Quote 0
          • S
            schroeder1 @crunchip last edited by schroeder1

            @crunchip
            hier die aktuellen Daten:
            Plattform: linux
            Die Architektur: arm
            CPUs: 4
            Geschwindigkeit: 1500 MHz
            Modell: ARMv7 Processor rev 3 (v7l)
            RAM: 3.8 GB
            System-Betriebszeit: 1 T. 23:37:15
            Node.js: v10.18.1
            NPM: 6.14.0
            Datenträgergröße: 29.0 GiB
            Datenträger verfügbar: 25.3 GiB
            Adapter-Anzahl: 269
            Betriebszeit: 01:21:39
            Aktive Instanzen: 11

            root@raspberrypi:~# iobroker stop
            root@raspberrypi:~# cd /opt/iobroker
            root@raspberrypi:/opt/iobroker# ps auxww|grep io
            root        12  0.0  0.0      0     0 ?        S    Feb26   0:00 [migration/0]
            root        15  0.0  0.0      0     0 ?        S    Feb26   0:00 [migration/1]
            root        20  0.0  0.0      0     0 ?        S    Feb26   0:00 [migration/2]
            root        25  0.0  0.0      0     0 ?        S    Feb26   0:00 [migration/3]
            root        42  0.0  0.0      0     0 ?        I<   Feb26   0:00 [rpciod]
            root        44  0.0  0.0      0     0 ?        I<   Feb26   0:00 [xprtiod]
            root        48  0.0  0.0      0     0 ?        I<   Feb26   0:00 [nfsiod]
            root        64  0.0  0.0      0     0 ?        I<   Feb26   0:00 [DWC Notificatio]
            root       328  0.1  0.5  63216 20844 ?        Ssl  Feb26   4:47 /usr/bin/python /usr/local/bin/meyectl startserver -c /etc/motioneye/motioneye.conf
            message+   358  0.0  0.0   6736  3680 ?        Ss   Feb26   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
            root       496 96.9  2.5 519644 102652 ?       SLl  Feb26 2771:47 /usr/bin/motion -n -c /etc/motioneye/motion.conf -d 5
            root       575  0.0  0.3  35300 12532 ?        S    Feb26   0:00 /usr/bin/python /usr/local/bin/meyectl startserver -c /etc/motioneye/motioneye.conf
            root      5674  0.0  0.2  55116 11872 ?        Sl   Feb26   0:03 /usr/bin/lxsession -s LXDE-pi -e LXDE
            root      5712  0.0  0.0   6544  3352 ?        Ss   Feb26   0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
            root      5780  0.0  0.0   4488   288 ?        Ss   Feb26   0:00 /usr/bin/ssh-agent x-session-manager
            root      5902  0.0  0.1  30624  4876 ?        Sl   Feb26   0:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
            root     30500  0.0  0.0   7360   540 pts/0    S+   19:41   0:00 grep io
            root@raspberrypi:/opt/iobroker#
            

            sudo -H -u iobroker npm install iobroker.js-controller
            probiere ich jetzt aus...

            S crunchip 2 Replies Last reply Reply Quote 0
            • S
              schroeder1 @schroeder1 last edited by schroeder1

              damit dann dieses..

              root@raspberrypi:/opt/iobroker# sudo -H -u iobroker npm install iobroker.js-controller
              npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
              npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
              npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself.
              
              npm ERR! code ELOOP
              npm ERR! syscall access
              npm ERR! path /opt/iobroker/node_modules/iobroker
              npm ERR! errno -40
              npm ERR! ELOOP: too many symbolic links encountered, access '/opt/iobroker/node_modules/iobroker'
              
              npm ERR! A complete log of this run can be found in:
              npm ERR!     /home/iobroker/.npm/_logs/2020-02-28T18_44_12_606Z-debug.log
              root@raspberrypi:/opt/iobroker#
              
              
              1 Reply Last reply Reply Quote 0
              • crunchip
                crunchip Forum Testing Most Active @schroeder1 last edited by

                @schroeder1 sagte in js.controller Upgrade mach Probleme:

                Node.js: v10.18.1
                NPM: 6.14.0

                aktuelle node.js Version wäre 10.19
                npm ist schon eine neue version, vllt hat es damit etwas zu tun

                im zweifel vllt mal das /home/iobroker/.npm/_logs/2020-02-28T18_44_12_606Z-debug.log ansehen
                ansonsten bin ich da leider auch überfragt

                S 1 Reply Last reply Reply Quote 0
                • S
                  schroeder1 @crunchip last edited by

                  @crunchip
                  hier mal das log..
                  2020-02-28T18_44_12_606Z-debug.log

                  eventuell sollte ich mal diese Anleitung abarbeiten:
                  node.js richtig updaten

                  crunchip 1 Reply Last reply Reply Quote 0
                  • crunchip
                    crunchip Forum Testing Most Active @schroeder1 last edited by

                    @schroeder1 v10.x hast du ja schon drauf, ein update auf 10.19 sollte mit einem
                    apt update
                    apt upgrade
                    ausreichen

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      schroeder1 @crunchip last edited by schroeder1

                      @crunchip
                      sorry, apt update und apt upgrade haben nicht zum ergebniss geführt.

                      aber node.js richtig updaten
                      ab Punkt 4.c hat geholfen 👍

                      root@raspberrypi:~# iobroker stop
                      root@raspberrypi:~# iobroker upgrade self
                      Host    "raspberrypi"    is up to date.
                      root@raspberrypi:~# 
                      

                      Besten Dank für Deine Hilfe 👏

                      crunchip 1 Reply Last reply Reply Quote 0
                      • crunchip
                        crunchip Forum Testing Most Active @schroeder1 last edited by

                        @schroeder1 na dann is wieder alles im Lot 👍

                        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

                        954
                        Online

                        31.9k
                        Users

                        80.1k
                        Topics

                        1.3m
                        Posts

                        js-controller
                        3
                        16
                        1806
                        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