NEWS
Update System iobroker failed
-
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?
-
@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
-
@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 failedDid 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 instanceswork this time? -
@tiger sagte in Update System iobroker failed:
192.168.1.16 refused to connect.
did you call ip:8081?
if yes, does
iobroker list instanceswork 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: [] } -
@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
-
@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 -
-
@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 folderto be honest as I installed everything some years ago... I don't remember everyting to reinstalled.
But I can buy new one and try.am I right
- Reinstall OS on the new one
- install iobroker with yout command
And after? restore from the backup made?
history is just for temperature... not big issue even if I lost it.
In waiting for that, I suppose that I can use my imagedisk to have my domotic runs?
I'd already try to search to reinstall raspberry, to flash the new SdCard with the raspberry OS lite, Can I do it from my PC windows?
Which version you recommended? (32bit or 64 bit as i've the raspberry pi4) I suppose for me the version lite with desktop?
Why not with desktop and recommended software?Stupid question... how can I save my backup file from iobroker ? as the file is on the actual sdcard...
thanks -
to be honest as I installed everything some years ago... I don't remember everyting to reinstalled.
But I can buy new one and try.am I right
- Reinstall OS on the new one
- install iobroker with yout command
And after? restore from the backup made?
history is just for temperature... not big issue even if I lost it.
In waiting for that, I suppose that I can use my imagedisk to have my domotic runs?
I'd already try to search to reinstall raspberry, to flash the new SdCard with the raspberry OS lite, Can I do it from my PC windows?
Which version you recommended? (32bit or 64 bit as i've the raspberry pi4) I suppose for me the version lite with desktop?
Why not with desktop and recommended software?Stupid question... how can I save my backup file from iobroker ? as the file is on the actual sdcard...
thanksUse the Raspberry OS Imager, go for the 64bit (lite) Version.
No Desktop for added security, speed and convenience.
-
to be honest as I installed everything some years ago... I don't remember everyting to reinstalled.
But I can buy new one and try.am I right
- Reinstall OS on the new one
- install iobroker with yout command
And after? restore from the backup made?
history is just for temperature... not big issue even if I lost it.
In waiting for that, I suppose that I can use my imagedisk to have my domotic runs?
I'd already try to search to reinstall raspberry, to flash the new SdCard with the raspberry OS lite, Can I do it from my PC windows?
Which version you recommended? (32bit or 64 bit as i've the raspberry pi4) I suppose for me the version lite with desktop?
Why not with desktop and recommended software?Stupid question... how can I save my backup file from iobroker ? as the file is on the actual sdcard...
thanks@tiger sagte in Update System iobroker failed:
am I right
Reinstall OS on the new one
install iobroker with yout commandAnd after? restore from the backup made?
YES!!
@tiger sagte in Update System iobroker failed:
history is just for temperature... not big issue even if I lost it.
even though, save the folder /opt/iobroker/iobroker-data/history and simply copy it back on the new install.
other questions answered by Thomas. You won't get other answers by me :grinning:
@tiger sagte in Update System iobroker failed:
Stupid question... how can I save my backup file from iobroker
There are no stupid questions at all - just stupid answers!
@tiger sagte in Update System iobroker failed:
Can I do it from my PC windows?
use filezilla, but log in as the same user u will use later on. it should be pi
-
Use the Raspberry OS Imager, go for the 64bit (lite) Version.
No Desktop for added security, speed and convenience.
@thomas-braun
ok I will try... perhaps too hard for my actual knowledge...I'll comeback when new sdcard will be operating, and when I will have made the command you asked to install.
What I'm going to do...
- Copy the iobroker backup on USB key
- restore from image disk to have access to my domotics
- on new SDcard, install the last Raspberry OSbit without desktop :anguished:
- install iobroker
and come back to have your support.
Many thanks to both of you for your help and time
-
@tiger sagte in Update System iobroker failed:
am I right
Reinstall OS on the new one
install iobroker with yout commandAnd after? restore from the backup made?
YES!!
@tiger sagte in Update System iobroker failed:
history is just for temperature... not big issue even if I lost it.
even though, save the folder /opt/iobroker/iobroker-data/history and simply copy it back on the new install.
other questions answered by Thomas. You won't get other answers by me :grinning:
@tiger sagte in Update System iobroker failed:
Stupid question... how can I save my backup file from iobroker
There are no stupid questions at all - just stupid answers!
@tiger sagte in Update System iobroker failed:
Can I do it from my PC windows?
use filezilla, but log in as the same user u will use later on. it should be pi
@homoran said in Update System iobroker failed:
@tiger sagte in Update System iobroker failed:
Stupid question... how can I save my backup file from iobroker
There are no stupid questions at all - just stupid answers!
so what is the answer? :)
@tiger sagte in Update System iobroker failed:
Can I do it from my PC windows?
use filezilla, but log in as the same user u will use later on. it should be pi
Filezilla is to send the iobroker backup if I'm right
sorry to much information for me today lol
-
@thomas-braun
ok I will try... perhaps too hard for my actual knowledge...I'll comeback when new sdcard will be operating, and when I will have made the command you asked to install.
What I'm going to do...
- Copy the iobroker backup on USB key
- restore from image disk to have access to my domotics
- on new SDcard, install the last Raspberry OSbit without desktop :anguished:
- install iobroker
and come back to have your support.
Many thanks to both of you for your help and time
@tiger sagte in Update System iobroker failed:
perhaps too hard for my actual knowledge...
no, I'm sure!
but if you insist, we will brush up your skills.please ask!
@tiger sagte in Update System iobroker failed:
Copy the iobroker backup on USB key
that's another possibility - ok
@tiger sagte in Update System iobroker failed:
restore from image disk to have access to my domotics
don't know about this stuff.
but if you still "play back" an image/mirrored disk, you also play back all faulty stuff.
This wouldn't be a good idea@tiger sagte in Update System iobroker failed:
and come back to have your support.
we will wait for you!
-
@homoran said in Update System iobroker failed:
@tiger sagte in Update System iobroker failed:
Stupid question... how can I save my backup file from iobroker
There are no stupid questions at all - just stupid answers!
so what is the answer? :)
@tiger sagte in Update System iobroker failed:
Can I do it from my PC windows?
use filezilla, but log in as the same user u will use later on. it should be pi
Filezilla is to send the iobroker backup if I'm right
sorry to much information for me today lol
@tiger sagte in Update System iobroker failed:
so what is the answer?
@homoran sagte in Update System iobroker failed:
use filezilla, but log in as the same user u will use later on. it should be pi
filezilla is a file transfer programm using sftp
-
@tiger sagte in Update System iobroker failed:
perhaps too hard for my actual knowledge...
no, I'm sure!
but if you insist, we will brush up your skills.please ask!
@tiger sagte in Update System iobroker failed:
Copy the iobroker backup on USB key
that's another possibility - ok
@tiger sagte in Update System iobroker failed:
restore from image disk to have access to my domotics
don't know about this stuff.
but if you still "play back" an image/mirrored disk, you also play back all faulty stuff.
This wouldn't be a good idea@tiger sagte in Update System iobroker failed:
and come back to have your support.
we will wait for you!
@homoran said in Update System iobroker failed:
don't know about this stuff.
but if you still "play back" an image/mirrored disk, you also play back all faulty stuff.
This wouldn't be a good ideaOf course there is fault, but it's the image of my sdcard when everything was working and all adapters was working too.
With this image, I will be able to have all instances and adapters installed if needed for youIf i install everything new on a new Sdcard after... I don't see the problem.
The only things that I've not in this imagedisk is the backup of iobroker from this morning, that's why I want to have it :)
-
@homoran said in Update System iobroker failed:
don't know about this stuff.
but if you still "play back" an image/mirrored disk, you also play back all faulty stuff.
This wouldn't be a good ideaOf course there is fault, but it's the image of my sdcard when everything was working and all adapters was working too.
With this image, I will be able to have all instances and adapters installed if needed for youIf i install everything new on a new Sdcard after... I don't see the problem.
The only things that I've not in this imagedisk is the backup of iobroker from this morning, that's why I want to have it :)
@tiger sagte in Update System iobroker failed:
when everything was working and all adapters was working too.
but also with very very old versions, which may not be able to be updated as we have seen today, or am I wrong?
And you can not play back that image and install the latest OS. this will be overwritten