NEWS
-
Systemdata Bitte Ausfüllen Hardwaresystem: Pi3 Arbeitsspeicher: 4GB Festplattenart: SD-Karte Betriebssystem: Ubuntu Node-Version: 12.20.0 Nodejs-Version: 12.20.0 NPM-Version: 6.14,.8 Installationsart: Skript System is running without any issues but upgrading it not working. I'm on js-controller 3.2.16 and if I execute
iobroker upgrade selfI get the following output:pi@iobroker-pi4:~ $ iobroker upgrade self No connection to databases possible ... redis get system.host.iobroker-pi4.alive, error - Connection is closed. No repositories defined. Cannot get repository under "undefined" pi@iobroker-pi4:~ $ -
Systemdata Bitte Ausfüllen Hardwaresystem: Pi3 Arbeitsspeicher: 4GB Festplattenart: SD-Karte Betriebssystem: Ubuntu Node-Version: 12.20.0 Nodejs-Version: 12.20.0 NPM-Version: 6.14,.8 Installationsart: Skript System is running without any issues but upgrading it not working. I'm on js-controller 3.2.16 and if I execute
iobroker upgrade selfI get the following output:pi@iobroker-pi4:~ $ iobroker upgrade self No connection to databases possible ... redis get system.host.iobroker-pi4.alive, error - Connection is closed. No repositories defined. Cannot get repository under "undefined" pi@iobroker-pi4:~ $ -
Thanks @thomas-braun, sadly this didn't help.
pi@iobroker-pi4:~ $ iobroker repo list stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json Active repo: beta pi@iobroker-pi4:~ $ iobroker update ... pi@iobroker-pi4:~ $ iobroker upgrade ... pi@iobroker-pi4:~ $ iobroker stop pi@iobroker-pi4:~ $ iobroker upgrade self No connection to databases possible ... redis get system.host.iobroker-pi4.alive, error - Connection is closed. No repositories defined. Cannot get repository under "undefined" -
Thanks @thomas-braun, sadly this didn't help.
pi@iobroker-pi4:~ $ iobroker repo list stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json Active repo: beta pi@iobroker-pi4:~ $ iobroker update ... pi@iobroker-pi4:~ $ iobroker upgrade ... pi@iobroker-pi4:~ $ iobroker stop pi@iobroker-pi4:~ $ iobroker upgrade self No connection to databases possible ... redis get system.host.iobroker-pi4.alive, error - Connection is closed. No repositories defined. Cannot get repository under "undefined" -
No, nothing is running anymore. That command doesn't return anything.
Maybe also interesting:
While iobroker is not running, these commands also fail (but work if iobroker is running):pi@iobroker-pi4:~ $ iobroker repo list No connection to databases possible ... Cannot get list: Error: Connection is closed. pi@iobroker-pi4:~ $ iobroker upgrade No connection to databases possible ... No repositories defined. /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:982 for (const name of Object.keys(links)) { ^ TypeError: Cannot convert undefined or null to object at Function.keys (<anonymous>) at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:982:51 at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2615:37) at processImmediate (internal/timers.js:463:21) pi@iobroker-pi4:~ $ -
No, nothing is running anymore. That command doesn't return anything.
Maybe also interesting:
While iobroker is not running, these commands also fail (but work if iobroker is running):pi@iobroker-pi4:~ $ iobroker repo list No connection to databases possible ... Cannot get list: Error: Connection is closed. pi@iobroker-pi4:~ $ iobroker upgrade No connection to databases possible ... No repositories defined. /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:982 for (const name of Object.keys(links)) { ^ TypeError: Cannot convert undefined or null to object at Function.keys (<anonymous>) at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:982:51 at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2615:37) at processImmediate (internal/timers.js:463:21) pi@iobroker-pi4:~ $Not sure if this helps but try jumping to the version you want to have:
3.3.5 is beta-stage:Controller "js-controller" : 3.3.5 , installed 3.3.5Try
iobroker stop cd /opt/iobroker npm install iobroker.js-controller@3.3.5 iobroker start iobroker status -
Test this rep
Stable
http://iobroker.live/repo/sources-dist.json
Latest
http://iobroker.live/repo/sources-dist-latest.json -
Not sure if this helps but try jumping to the version you want to have:
3.3.5 is beta-stage:Controller "js-controller" : 3.3.5 , installed 3.3.5Try
iobroker stop cd /opt/iobroker npm install iobroker.js-controller@3.3.5 iobroker start iobroker statusI tested the manual installation @thomas-braun mentioned (npm install...) and this worked. I'm now on 3.3.5 and running
iobroker upgrade selfnow doesn't show any errors anymore (just that it's up-to-date).In case this happens again for the next update I will try the different repo @crunchip mentioned.
Thank you both for your support.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login