NEWS
Update System iobroker failed
-
pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.admin@5.3.8 npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! code ENOENT npm ERR! syscall chmod npm ERR! path /opt/iobroker/node_modules/request/node_modules/uuid/bin/uuid npm ERR! errno -2 npm ERR! enoent ENOENT: no such file or directory, chmod '/opt/iobroker/node_modules/request/node_modules/uuid/bin/uuid' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-08-15T15_15_37_253Z-debug-0.log
-
cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller
-
@thomas-braun said in Update System iobroker failed:
sudo -H -u iobroker npm install iobroker.js-controller
Sorry I made step by step, and if I see some errors I prefer to wait
here the result
pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! code 32 npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller npm ERR! command failed npm ERR! command sh -c node iobroker.js setup first npm ERR! Successfully migrated 2282 objects to Redis Sets npm ERR! object _design/system updated npm ERR! host.raspberrypi install adapter backitup npm ERR! These apt-get packages were already installed: cifs-utils, nfs-common npm ERR! upload [10] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/adapter-settings.js adapter-settings.js application/javascript npm ERR! upload [9] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.png backitup.png image/png npm ERR! upload [8] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.svg backitup.svg image/svg+xml npm ERR! upload [7] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index.html index.html text/html npm ERR! upload [6] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.html index_m.html text/html npm ERR! upload [5] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.js index_m.js application/javascript npm ERR! upload [4] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/style.css style.css text/css npm ERR! upload [3] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.css tab_m.css text/css npm ERR! upload [2] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.html tab_m.html text/html npm ERR! upload [1] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.js tab_m.js application/javascript npm ERR! upload [0] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/words.js words.js application/javascript npm ERR! host.raspberrypi Invalid version of "admin". Installed "4.0.10", required ">=5.2.0" npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-08-15T15_27_12_327Z-debug-0.log
-
@tiger sagte in Update System iobroker failed:
Sorry I made step by step, and if I see some errors I prefer to wait
thats ok!
but I'm confused.
you twice installed 5.3.8 but it seems still not to be installed -
curl -fsL https://iobroker.net/fix.sh | bash -
if that fails:
curl -sLf https://iobroker.net/install.sh | bash -
-
@thomas-braun said in Update System iobroker failed:
curl -fsL https://iobroker.net/fix.sh | bash -
already in /opt/iobriker?
-
@thomas-braun may there be another installation in an unappropriate directory?
-
@tiger sagte in Update System iobroker failed:
@thomas-braun said in Update System iobroker failed:
curl -fsL https://iobroker.net/fix.sh | bash -
already in /opt/iobriker?
yes, but broker
-
first failed... and strange, as you said... seems not to be installed
pi@raspberrypi:/opt/iobroker $ curl -fsL https://iobroker.net/fix.sh | bash - library: loaded Library version=2022-06-15 ioBroker is not installed in /opt/iobroker! Cannot fix anything...
Second is on the road... but tell me that password will be asked few time... don't remember that I'had a password .. hum hum
-
@tiger sagte in Update System iobroker failed:
don't remember that I'had a password
The password is for your linux user, more specific for the root (or root entiteled) user.
-
@thomas-braun that what I said.. I don't remember I'd one...
As the raspberry was only for iobroker -
The user 'pi' has a password.
-
@tiger sagte in Update System iobroker failed:
As the raspberry was only for iobroker
security issue if you didn't change it raspberry
-
pi@raspberrypi:/opt/iobroker $ curl -sLf https://iobroker.net/install.sh | bash - library: loaded Library version=2022-06-15 ========================================================================== Welcome to the ioBroker installer! Installer version: 2022-06-03 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/4) ========================================================================== Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:2 http://archive.raspberrypi.org/debian buster InRelease Hit:3 https://deb.nodesource.com/node_16.x buster InRelease Reading package lists... Done Changing npm registry to https://registry.npmjs.org Installed gcc-c++ ========================================================================== Creating ioBroker user and directory (2/4) ========================================================================== Created /etc/sudoers.d/iobroker Directory /opt/iobroker created ========================================================================== Installing ioBroker (3/4) ========================================================================== npm ERR! code 32 npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller npm ERR! command failed npm ERR! command sh -c node iobroker.js setup first npm ERR! Successfully migrated 2308 objects to Redis Sets npm ERR! object _design/system updated npm ERR! host.raspberrypi install adapter backitup npm ERR! These apt-get packages were already installed: cifs-utils, nfs-common npm ERR! upload [10] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/adapter-settings.js adapter-settings.js application/javascript npm ERR! upload [9] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.png backitup.png image/png npm ERR! upload [8] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.svg backitup.svg image/svg+xml npm ERR! upload [7] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index.html index.html text/html npm ERR! upload [6] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.html index_m.html text/html npm ERR! upload [5] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.js index_m.js application/javascript npm ERR! upload [4] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/style.css style.css text/css npm ERR! upload [3] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.css tab_m.css text/css npm ERR! upload [2] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.html tab_m.html text/html npm ERR! upload [1] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.js tab_m.js application/javascript npm ERR! upload [0] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/words.js words.js application/javascript npm ERR! host.raspberrypi Invalid version of "admin". Installed "4.0.10", required ">=5.2.0" npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2022-08-15T15_38_44_496Z-debug-0.log ========================================================================== Finalizing installation (4/4) ========================================================================== Enabling autostart... Autostart enabled! Fixing directory permissions... ========================================================================== ioBroker was installed successfully Open http://192.168.0.100 192.168.1.16:8081 in a browser and start configuring! ========================================================================== You need to re-login before doing anything else on the console!
log 2022-08-15T15_38_44_496Z-debug-0.log
how to re-login?
-
@tiger sagte in Update System iobroker failed:
Open http://192.168.0.100 192.168.1.16:8081 in a browser and start configuring!
two different Subnets for LAN and WLAN?
-
yes, both was connected, I tryed but
This site can’t be reached
localhost refused to connect. -
@tiger sagte in Update System iobroker failed:
ocalhost refused to connect.
try with IP
otherwise we have to proceed with the console
-
-
npm ERR! code 32 npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller npm ERR! command failed
Did you see?
-
@tiger sagte in Update System iobroker failed:
192.168.1.16 refused to connect.
did you call ip:8081?
if yes, does
iobroker list instances
work this time?