NEWS
Update System iobroker failed
-
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? -
@homoran
Of course I did...this is what I written : http://192.168.1.16:8081/but iobroker list instances has same result as before... (I tryied in directory /opt/iobroker and in the directory show here after)
pi@raspberrypi:~ $ iobroker list instances node:internal/modules/cjs/loader:936 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }
-
@tiger Sorry, I don't have any clue. we have to wait for @Thomas-Braun
-
@homoran
for information, I found in directory the backup of this morning if it can help to restart from there... -
@tiger sagte in Update System iobroker failed:
@homoran
for information, I found in directory the backup of this morning if it can help to restart from there...if you want listen to my advice from earlier this day:
take a new SD card, install the latest RaspberryOS lite and iobroker bycurl -sLf https://iobroker.net/install.sh | bash -
and restore it there.
and don"t vorget to save your history folder