NEWS
Update System iobroker failed
-
@thomas-braun
file is directly on the usb key, not in a folder -
@thomas-braun
I've nothing installed on the raspberry
only iobroker and the OS lite -
But in Linux all files are in a path.
Usually usb sticks are mounted in /media/ -
@thomas-braun
I understand, but As I said... as I don't know Linux... difficult to know the path -
But where is the stick now plugged? In your Desktop computer? In your Raspberry?
-
@thomas-braun
plug on the raspberry, and i've install without desktop... as recommended -
-
Sorry, I didn't found up to know how to copy text from PuTTY
-
Copy the backupfile from your Desktop computer over to the Raspberry with FileZilla. Target directroy /opt/iobroker/backups
-
@thomas-braun
ok, I've to search how to achieve it... Filezila should be installed on raspberry? or only on y desktop computer?If you've a website with some tuto or explanation... it should good
I'm going to work now... will try later.
Thanks a lot.
-
@thomas-braun
ok found an explanation...
will try later. -
everything done..
try to restore...
butpi@raspberrypi:~ $ iobroker restore 2022_08_15-10_41_07_backupiobroker.tar.gz iobroker controller daemon is not running host.raspberrypi OK. The current version of js-controller differs from the version in the backup. The js-controller version of the backup can not be restored automatically. To restore the js-controller version of the backup, execute "npm i iobroker.js-controller@3.1.6 --production" inside your ioBroker directory If you really want to restore the backup with the current installed js-controller, execute the restore command with the --force flag
-
@tiger sagte in Update System iobroker failed:
but
what a luck!
as @crunchip mentioned you should install vis before restore
so please do it now.
the fialog asks you what controller you wsnt to have.
The actual install also has the actual controller.Your backup has an ancient one
so please install vis
iobroker install vis
after that make another try ant choose the@tiger sagte in Update System iobroker failed:
restore command with the --force flag
i.e.
@tiger sagte in Update System iobroker failed:
iobroker restore 2022_08_15-10_41_07_backupiobroker.tar.gz --force
(i hope)
-
Vis installed
Backup with --force done...
ADmin version has beenn downgrade to 4.0 as before...In the journal log it seems that iobroker is reinstalling all the adapters needed...
as there is all line like that
host.raspberrypi 2022-08-16 15:16:43.415 info iobroker npm-install: 28 packages are looking for funding run
npm fund
for details
host.raspberrypi 2022-08-16 15:16:43.413 info iobroker npm-install: added 1 package in 5s
host.raspberrypi 2022-08-16 15:16:43.412 info iobroker npm-install:
host.raspberrypi 2022-08-16 15:16:37.347 info iobroker npm-install: Installing iobroker.history@1.9.10... (System call)
host.raspberrypi 2022-08-16 15:16:37.342 info iobroker npm-install: NPM version: 8.11.0
host.raspberrypi 2022-08-16 15:16:34.656 info iobroker install history@1.9.10 using installedFrom
host.raspberrypi 2022-08-16 15:16:34.656 warn startInstance cannot find adapter "history@1.9.10". Try to install it... 1 attempt -
@tiger at this moment the restore itself is finished and all adapters were built.
this will last a time -
@homoran said in Update System iobroker failed:
this will last a time
It can take is time:)
after that, supposed that all adapters will be installed with the last versions...
and the last thing will be to update the iobroker.admin... and perhaps js-controller depending of the version. -
@tiger sagte in Update System iobroker failed:
supposed that all adapters will be installed with the last versions...
no!
they will stay in their versions of the backup.
but now your controller is in a living version and all updates should work@tiger sagte in Update System iobroker failed:
the last thing will be to update the iobroker.admin
it has to be the next thing, and then the others
-
@homoran
everything came back as before.
But, Things I forgot to do...Node-red doens't work as all node has to be reinstall ...
So, what is your recommandation? trying to have all working as before and after made the update?
Or I search before how to have the backup of Node-red and other things... before continue?
same for VIS, not possible to connect to vis from browser
-
@tiger sagte in Update System iobroker failed:
Node-red doens't work as all node has to be reinstall ...
So, what is your recommandation? trying to have all working as before and after made the update?ohhhh, I didn't work with node red for years now.
let's try to call @mickym , i guess he can help. I've read there are different possibilities to install the nodes not supplied with the adapter. -
@tiger You can try - the following.
Restore from your former image the package.json file into /opt/iobroker/iobroker-data/node-red directory. replace the existing one or rename it. Run npm install.
Change to that directory:
cd /opt/iobroker/iobroker-data/node-red npm install