NEWS
Komplett Update / Upgrade
-
Moin und ein frohes neues Jahr,
so endlich zum Jahresstart möchte ich mal alles updaten / upgraden. (iOBroker, Nodejs, Ubuntu) Da stellt sich bei mir die Frage, wie gehe ich am besten dabei vor?
Ist Stand:
sb@iobroker:~$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs /usr/bin/nodejs v12.19.0 /usr/bin/node v12.19.0 /usr/bin/npm 6.14.8 nodejs: Installed: 12.19.0-1nodesource1 Candidate: 12.19.0-1nodesource1 Version table: *** 12.19.0-1nodesource1 500 500 https://deb.nodesource.com/node_12.x eoan/main amd64 Packages 100 /var/lib/dpkg/status 10.15.2~dfsg-2ubuntu1 500 500 http://old-releases.ubuntu.com/ubuntu eoan/universe amd64 Packages sb@iobroker:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 19.10 Release: 19.10 Codename: eoan
Offene Updates iOBroker:
Vielleicht könnt ihr mir da mit den richtigen Befehlen und Reihenfolgen mal helfen. Bin in Linux nicht so bewandert.
Edit:
Das ganze läuft auf einem NUC mit Proxmox in einem Container.
-
Per console
System Updaten:
sudo apt update sudo apt dist-upgrade sudo reboot
ioBroker Updaten:
Iobroker Update iobroker upgrade
Vorher vielleicht dieses durchlesen. Dort steht alles was wichtig ist beschrieben.
-
@nordischerjung sagte in Komplett Update / Upgrade:
Das ganze läuft auf einem NUC mit Proxmox in einem Container.
da kann ich nicht helfen sollte aber eigentlich noch einfacher sein.
Backup machen, komplett neu aufsetzen (Linux, dann Installer) Restore - fertig -
Ubuntu 19.10 (Eoan Ermine) End of Life reached on July 17 2020
Ich würde das ganze neuaufsetzen. Das ganze auch nicht mit Ubuntu, jedenfalls nicht mit einer der Zwischenversionen. Wenn es denn unbedingt ubuntu sein soll: Nimm die aktuelle LTS-Version. Mit Debian hast du das 'Problem' weniger, da sind die support-Zeiträume länger.
Grundsätzlich: Bleib bei den Updates am Ball, einmal im Jahr ist deutlich zu wenig Liebe für das System.
-
@thomas-braun Moin,
so ich habe jetzt iOBroker mal komplett neu installiert. Mit Debian. Soweit läuft es auch. Nur jetzt möchte ich natürlich aus dem alten iObroker das Backup benutzen.
Backitup ist auch eingerichtet und funktioniert. Die Dateien werden über FTP gefunden. Bloß beim Restor kommt folgende Meldung. Kann ich das iwie beheben?admin.0 2022-01-31 08:08:11.648 error error admin.0 2022-01-31 08:08:11.646 warn Cannot parse "undefined" admin.0 2022-01-31 08:08:11.610 warn Cannot parse "undefined" admin.0 2022-01-31 08:08:11.531 error error admin.0 2022-01-31 08:08:11.529 warn Cannot parse "undefined" backitup.0 2022-01-31 08:08:09.242 info [ccu] backup was activated at 01:30 every 3 day(s) backitup.0 2022-01-31 08:08:09.181 info [iobroker] backup was activated at 02:00 every 1 day(s) backitup.0 2022-01-31 08:08:09.083 error [ERROR] [iobroker] [Not critical] Cannot delete object system.repositories: {"command":{"name":"del","args":["cfg.o.system.repositories"]}} backitup.0 2022-01-31 08:08:09.082 error [ERROR] [iobroker] [Not critical] Cannot delete object system.config: {"command":{"name":"del","args":["cfg.o.system.config"]}} backitup.0 2022-01-31 08:08:09.080 error [ERROR] [iobroker] [Not critical] Cannot delete object enum.rooms: {"command":{"name":"del","args":["cfg.o.enum.rooms"]}} backitup.0 2022-01-31 08:08:09.079 error [ERROR] [iobroker] [Not critical] Cannot delete object enum.functions: {"command":{"name":"del","args":["cfg.o.enum.functions"]}} backitup.0 2022-01-31 08:08:09.078 error [ERROR] [iobroker] [Not critical] Cannot delete object alias.0: {"command":{"name":"del","args":["cfg.o.alias.0"]}} backitup.0 2022-01-31 08:08:09.077 error [ERROR] [iobroker] [Not critical] Cannot delete object 0_userdata.0: {"command":{"name":"del","args":["cfg.o.0_userdata.0"]}} backitup.0 2022-01-31 08:08:09.017 info starting. Version 2.2.3 in /opt/iobroker/node_modules/iobroker.backitup, node: v14.18.2, js-controller: 3.3.22 admin.0 2022-01-31 08:08:08.843 error error admin.0 2022-01-31 08:08:08.837 warn Cannot parse "undefined" host.iOBroker 2022-01-31 08:08:07.306 info instance system.adapter.backitup.0 started with pid 2076 admin.0 2022-01-31 08:08:07.047 info Repository received successfully. host.iOBroker 2022-01-31 08:08:05.913 info Updating repository "default" under "http://download.iobroker.net/sources-dist.json" admin.0 2022-01-31 08:08:05.540 info Use link "http://localhost:8081" to configure. admin.0 2022-01-31 08:08:05.539 info http server listening on port 8081 admin.0 2022-01-31 08:08:05.477 info Request actual repository... admin.0 2022-01-31 08:08:05.323 info received all objects admin.0 2022-01-31 08:08:04.893 info requesting all objects admin.0 2022-01-31 08:08:04.892 info requesting all states admin.0 2022-01-31 08:08:04.847 info starting. Version 5.2.3 in /opt/iobroker/node_modules/iobroker.admin, node: v14.18.2, js-controller: 3.3.22 host.iOBroker 2022-01-31 08:08:03.023 info instance system.adapter.admin.0 started with pid 2061 host.iOBroker 2022-01-31 08:08:02.959 info starting 2 instances host.iOBroker 2022-01-31 08:08:02.937 info 5 instances found host.iOBroker 2022-01-31 08:08:02.899 info Delete host system.host.iOBroker host.iOBroker 2022-01-31 08:08:02.511 info added notifications configuration of host host.iOBroker 2022-01-31 08:08:02.480 info connected to Objects and States host.iOBroker 2022-01-31 08:08:02.103 info ip addresses: 192.168.170.109 fe80::7056:ff:fe74:c759 host.iOBroker 2022-01-31 08:08:02.102 info hostname: iOBroker, node: v14.18.2 host.iOBroker 2022-01-31 08:08:02.102 info Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker host.iOBroker 2022-01-31 08:08:02.096 info iobroker.js-controller version 3.3.22 js-controller starting host.iOBroker 2022-01-31 08:07:33.117 info terminated host.iOBroker 2022-01-31 08:07:32.929 info All instances are stopped. host.iOBroker 2022-01-31 08:07:32.928 info instance system.adapter.backitup.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP) host.iOBroker 2022-01-31 08:07:32.912 info instance system.adapter.admin.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP) backitup.0 2022-01-31 08:07:32.362 info Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason admin.0 2022-01-31 08:07:32.334 info Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason host.iOBroker 2022-01-31 08:07:32.334 info stopInstance system.adapter.backitup.0 send kill signal host.iOBroker 2022-01-31 08:07:32.332 info stopInstance system.adapter.admin.0 send kill signal backitup.0 2022-01-31 08:07:32.312 info Got terminate signal TERMINATE_YOURSELF admin.0 2022-01-31 08:07:32.311 info Got terminate signal TERMINATE_YOURSELF host.iOBroker 2022-01-31 08:07:32.294 info stopInstance system.adapter.discovery.0 (force=false, process=false) host.iOBroker 2022-01-31 08:07:32.293 info stopInstance system.adapter.backitup.0 (force=false, process=true) host.iOBroker 2022-01-31 08:07:32.293 info stopInstance system.adapter.javascript.1 (force=false, process=false) host.iOBroker 2022-01-31 08:07:32.292 info stopInstance system.adapter.javascript.0 (force=false, process=false) host.iOBroker 2022-01-31 08:07:32.291 info stopInstance system.adapter.admin.0 (force=false, process=true) host.iOBroker 2022-01-31 08:07:32.276 info received SIGTERM backitup.0 2022-01-31 08:07:32.285 info cleaned everything up...