NEWS
[ Gelöst ] js.controller Upgrade mach Probleme
- 
					
					
					
					
 @Jan1 
 Bin schon seit Tagen am suchen noch einer Lösung, noch läuft ja alles super.
 Aber man möchte ja gerne auf dem neuesten Stand bleiben. 
- 
					
					
					
					
 @schroeder1 
 Anscheinend bist das nicht, so wie @crunchip schreibt.
- 
					
					
					
					
 @schroeder1 vllt mal so probieren 
 ins Verzeichnis /opt/iobroker
 iobroker stop
 prüfen
 ps auxww|grep iosudo -H -u iobroker npm install iobroker.js-controller
- 
					
					
					
					
 @schroeder1 sagte in js.controller Upgrade mach Probleme: gerne auf dem neuesten Stand bleiben wie siehts mit node.js aus? 
- 
					
					
					
					
 @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: 11root@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...
- 
					
					
					
					
 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#
- 
					
					
					
					
 @schroeder1 sagte in js.controller Upgrade mach Probleme: Node.js: v10.18.1 
 NPM: 6.14.0aktuelle node.js Version wäre 10.19 
 npm ist schon eine neue version, vllt hat es damit etwas zu tunim zweifel vllt mal das /home/iobroker/.npm/_logs/2020-02-28T18_44_12_606Z-debug.logansehen
 ansonsten bin ich da leider auch überfragt
- 
					
					
					
					
 @crunchip 
 hier mal das log..
 2020-02-28T18_44_12_606Z-debug.logeventuell sollte ich mal diese Anleitung abarbeiten: 
 node.js richtig updaten
- 
					
					
					
					
 @schroeder1 v10.x hast du ja schon drauf, ein update auf 10.19 sollte mit einem 
 apt update
 apt upgrade
 ausreichen
- 
					
					
					
					
 @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  
- 
					
					
					
					
 @schroeder1 na dann is wieder alles im Lot  
 
		
	 
		
	