Vielen dank an alle für die Hilfe.
Ich habe komplett übersehen, dass man nach einem "iobroker restore --force" ein iob update und iob upgrade durchführen muss.
Vielen dank an alle für die Hilfe.
Ich habe komplett übersehen, dass man nach einem "iobroker restore --force" ein iob update und iob upgrade durchführen muss.
@thomas-braun said in iobroker läuft, aber keine Ports in netstat:
iob upgrade all
Läuft:
pi@iobroker:~ $ sudo apt update
Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Err:3 https://deb.nodesource.com/node_16.x bullseye InRelease
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 2a00:6020:200:800::b916:8d0b 443]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
8 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch https://deb.nodesource.com/node_16.x/dists/bullseye/InRelease Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 2a00:6020:200:800::b916:8d0b 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.
pi@iobroker:~ $ iob update
Used repository: stable
Adapter "admin" : 6.3.5 , installed 3.6.0 [Updatable]
Adapter "discovery" : 3.1.0 , installed 1.2.4 [Updatable]
Adapter "email" : 1.1.4 , installed 1.0.4 [Updatable]
Adapter "javascript" : 6.1.4 , installed 4.1.13 [Updatable]
Controller "js-controller": 4.0.24 , installed 4.0.24
Adapter "simple-api" : 2.7.2 , installed 2.7.2
Adapter "socketio" : 4.2.0 , installed 6.3.3
Adapter "sonoff" : 2.5.1 , installed 2.2.2 [Updatable]
Adapter "vis" : 1.4.15 , installed 1.2.0 [Updatable]
Adapter "web" : 4.3.0 , installed 2.4.1 [Updatable]
Adapter "yeelight-2" : 1.1.2 , installed 1.0.1 [Updatable]
pi@iobroker:~ $ iob upgrade all
This upgrade of "yeelight-2" will at least introduce the following changes:
==========================================================================
-> 1.1.2:
Fix Joi Error
-> 1.1.1:
js-controller 3.3 fixes
fixed unhandled promise rejection causing the adapter to stop
adapter won't set power of offline devices to off anymore
-> 1.1.0:
add release-script update testing and dependencies
fixed data types
-> 1.0.4:
fixed data types
-> 1.0.3:
add Pedant
==========================================================================
Would you like to upgrade yeelight-2 from @1.0.1 to @1.1.2 now? [(y)es, (n)o]: y
Update yeelight-2 from @1.0.1 to @1.1.2
NPM version: 8.19.3
Installing iobroker.yeelight-2@1.1.2... (System call)
added 4 packages, and changed 6 packages in 48s
28 packages are looking for funding
run `npm fund` for details
Update "system.adapter.yeelight-2.0"
upload [20] yeelight-2.admin /opt/iobroker/node_modules/iobroker.yeelight-2/admin/icons/1.png icons/1.png image/png
upload [19] yeelight-2.admin /opt/iobroker/node_modules/iobroker.yeelight-2/admin/icons/2.png icons/2.png image/png
upload [18] yeelight-2.admin /opt/iobroker/node_modules/iobroker.yeelight-2/admin/icons/3.png icons/3.png image/png
upload [17] yeelight-2.admin /opt/iobroker/node_modules/iobroker.yeelight-2/admin/icons/4.png icons/4.png image/png
upload [16] yeelight-2.admin /opt/iobroker/node_modules/iobroker.yeelight-2/admin/icons/5.png icons/5.png image/png
upload [15] yeelight-2.admin /opt/iobroker/node_modules/iobroker.yeelight-2/admin/icons/6.png icons/6.png image/png
upload [14] yeelight-2.admin /opt/iobroker/node_modules/iobroker.yeelight-2/admin/icons/7.png icons/7.png image/png
upload [13] yeelight-2.admin /opt/iobroker/node_modules/iobroker.yeelight-2/admin/icons/bslamp1.png icons/bslamp1.png image/png
upload [12] yeelight-2.admin /opt/iobroker/node_modules/iobroker.yeelight-2/admin/icons/ceiling1.png icons/ceiling1.png image/png
upload [11] yeelight-2.admin /opt/iobroker/node_modules/iobroker.yeelight-2/admin/icons/ceiling10.png icons/ceiling10.png image/png
upload [10] yeelight-2.admin /opt/iobroker/node_modules/iobroker.yeelight-2/admin/icons/ceiling3.png icons/ceiling3.png image/png
upload [9] yeelight-2.admin /opt/iobroker/node_modules/iobroker.yeelight-2/admin/icons/ceiling4.png icons/ceiling4.png image/png
upload [8] yeelight-2.admin /opt/iobroker/node_modules/iobroker.yeelight-2/admin/icons/color.png icons/color.png image/png
upload [7] yeelight-2.admin /opt/iobroker/node_modules/iobroker.yeelight-2/admin/icons/desklamp.png icons/desklamp.png image/png
upload [6] yeelight-2.admin /opt/iobroker/node_modules/iobroker.yeelight-2/admin/icons/mono.png icons/mono.png image/png
upload [5] yeelight-2.admin /opt/iobroker/node_modules/iobroker.yeelight-2/admin/icons/stripe.png icons/stripe.png image/png
upload [4] yeelight-2.admin /opt/iobroker/node_modules/iobroker.yeelight-2/admin/index.html index.html text/html
upload [3] yeelight-2.admin /opt/iobroker/node_modules/iobroker.yeelight-2/admin/index_m.html index_m.html text/html
upload [2] yeelight-2.admin /opt/iobroker/node_modules/iobroker.yeelight-2/admin/lan.jpg lan.jpg image/jpeg
upload [1] yeelight-2.admin /opt/iobroker/node_modules/iobroker.yeelight-2/admin/words.js words.js application/javascript
upload [0] yeelight-2.admin /opt/iobroker/node_modules/iobroker.yeelight-2/admin/yeelight.png yeelight.png image/png
This upgrade of "sonoff" will at least introduce the following changes:
==========================================================================
-> 2.5.1:
Fix crash case reported by Sentry
-> 2.5.0:
Implement writing of NSPanel Widget changes
Fix crash case reported by Sentry
-> 2.4.7:
Fix crash case (Sentry IOBROKER-SONOFF-1S)
-> 2.4.6:
Fix some crash cases reported by Sentry (IOBROKER-SONOFF-B, IOBROKER-SONOFF-R, IOBROKER-SONOFF-4, IOBROKER-SONOFF-1, IOBROKER-SONOFF-13, IOBROKER-SONOFF-1J, IOBROKER-SONOFF-16, IOBROKER-SONOFF-3, IOBROKER-SONOFF-H)
Adjust Uptime to mixed because it seems that it can be number or string
-> 2.4.5:
Fix some crash cases reported by Sentry
-> 2.4.4:
Added UvaIntensity and UvbIntensity
-> 2.4.3:
Better type detection for non-described states
==========================================================================
Would you like to upgrade sonoff from @2.2.2 to @2.5.1 now? [(y)es, (n)o]: y
Update sonoff from @2.2.2 to @2.5.1
NPM version: 8.19.3
Installing iobroker.sonoff@2.5.1... (System call)
changed 1 package in 43s
28 packages are looking for funding
run `npm fund` for details
Update "system.adapter.sonoff.0"
Update "system.adapter.sonoff.1"
Update "system.adapter.sonoff.2"
Update "system.adapter.sonoff.3"
upload [3] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/index.html index.html text/html
upload [2] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/index_m.html index_m.html text/html
upload [1] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/sonoff.png sonoff.png image/png
upload [0] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/words.js words.js application/javascript
This upgrade of "email" will at least introduce the following changes:
==========================================================================
-> 1.1.4:
Prepare compatibility with future js-controller versions
-> 1.1.3:
Make sure the STARTTLS configuration field is displayed
-> 1.1.2:
Fix mail.ee settings
-> 1.1.1:
Allow to use connections to port 25 unencrypted
-> 1.1.0:
Adjust default settings for web.de and 1und1 and add ionos
Add "Always use STARTTLS" option for custom SMTP settings
-> 1.0.10:
Optimize for js-controller 3.3
-> 1.0.9:
Call message callback always with error or without
==========================================================================
Would you like to upgrade email from @1.0.4 to @1.1.4 now? [(y)es, (n)o]: y
Update email from @1.0.4 to @1.1.4
NPM version: 8.19.3
Installing iobroker.email@1.1.4... (System call)
@wendy2702
Es ist 4.0.24:
pi@iobroker:~ $ iob -v
4.0.24
pi@iobroker:~ $
@thomas-braun
Ok, danke. Mein System ist aktuell und wurde gestern komplett neu aufgesetzt. Auch iobroker habe ich mit dem Befehl
curl -sLf https://iobroker.net/install.sh | bash -
neu installiert. Bevor ich das Backup einspiele, kann ich iiobroker im Webbrowser aufrufen. Nach der Installation des Backups nicht mehr.
@thomas-braun
Root nutze ich zur orientierung, iobroker selber läuft unter einem eigenem Nutzer:
root@iobroker:/opt/iobroker/backups# ps aux | grep iobroker
avahi 303 0.0 0.3 6912 3044 ? Ss Jan29 0:11 avahi-daemon: running [iobroker.local]
iobroker 15238 3.0 10.0 210888 95036 ? Ssl 16:36 3:17 iobroker.js-controller
iobroker 16479 1.2 6.5 171356 61440 ? Sl 18:00 0:19 io.yeelight-2.0
@thomas-braun
Meinst du mit System das Backup?
root@iobroker:/opt/iobroker/backups# iob update
Used repository: stable
Adapter "admin" : 6.3.5 , installed 3.6.0 [Updatable]
Adapter "discovery" : 3.1.0 , installed 1.2.4 [Updatable]
Adapter "email" : 1.1.4 , installed 1.0.4 [Updatable]
Adapter "javascript" : 6.1.4 , installed 4.1.13 [Updatable]
Controller "js-controller": 4.0.24 , installed 4.0.24
Adapter "simple-api" : 2.7.2 , installed 2.7.2
Adapter "socketio" : 4.2.0 , installed 6.3.3
Adapter "sonoff" : 2.5.1 , installed 2.2.2 [Updatable]
Adapter "vis" : 1.4.15 , installed 1.2.0 [Updatable]
Adapter "web" : 4.3.0 , installed 2.4.1 [Updatable]
Adapter "yeelight-2" : 1.1.2 , installed 1.0.1 [Updatable]
@homoran
Welche? Die von list instances habe ich oben komplett rein gepackt.
@thomas-braun
Also unter list instancen werden diese beiden als running gelistet:
- enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
Wenn das nicht der Fall ist, wie kann man diese starten?
@wendy2702
Der Server lief schon ein paar Jährchen. Ich bin gerade dabei, alle meine Server zu aktualisieren. Das Update meines Iobrokers ging schief, weshalb ich den neu aufsetzen muss.
Vielen dank an alle für die Hilfe.
Ich habe komplett übersehen, dass man nach einem "iobroker restore --force" ein iob update und iob upgrade durchführen muss.
Hallo
Ich musste meinen Raspberry Pi Server neu aufsetzen und deshalb Iobroker neu installieren. Vorher ein Backup gemacht.
Nach der Installation habe ich iobroker neu installiert und ich kann es auch starten. Wenn ich dann aber das Backup einspiele (sei es über die Webseite oder über das Terminal) dann kann ich die Webseite nicht mehr erreichen. Mein netstat Befehl listet mir keinen offenen Port mit den Nummern 8081 oder 8082:
root@iobroker:/opt/iobroker/backups# netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:6010 0.0.0.0:* LISTEN 15694/sshd: pi@pts/
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 458/sshd: /usr/sbin
tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 15238/iobroker.js-c
tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 15238/iobroker.js-c
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 9757/cupsd
tcp6 0 0 :::22 :::* LISTEN 458/sshd: /usr/sbin
tcp6 0 0 ::1:631 :::* LISTEN 9757/cupsd
tcp6 0 0 ::1:6010 :::* LISTEN 15694/sshd: pi@pts/
udp 0 0 0.0.0.0:68 0.0.0.0:* 437/dhcpcd
udp 0 0 0.0.0.0:631 0.0.0.0:* 9759/cups-browsed
udp 0 0 0.0.0.0:5353 0.0.0.0:* 303/avahi-daemon: r
udp 0 0 0.0.0.0:42816 0.0.0.0:* 303/avahi-daemon: r
udp6 0 0 :::546 :::* 437/dhcpcd
udp6 0 0 :::5353 :::* 303/avahi-daemon: r
udp6 0 0 :::34620 :::* 303/avahi-daemon: r
Ich habe auch schon versucht einen zweiten Admin zu installieren, ohne erfolg. Ich kann auf iobroker nach dem Einspielen das Backups nicht zugreifen. Folgende Ausgaben habe ich:
root@iobroker:/opt/iobroker/# iobroker status
iobroker is running on this host.
Objects type: jsonl
States type: jsonl
root@iobroker:/opt/iobroker/backups# iobroker list instances
system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
system.adapter.admin.1 : admin : iobroker - enabled, port: 8085, bind: 0.0.0.0, run as: admin
system.adapter.discovery.0 : discovery : iobroker - disabled
system.adapter.email.0 : email : iobroker - disabled
system.adapter.javascript.0 : javascript : iobroker - disabled
system.adapter.sonoff.0 : sonoff : iobroker - disabled, port: 1884, bind: 0.0.0.0
system.adapter.sonoff.1 : sonoff : iobroker - disabled, port: 1885, bind: 0.0.0.0
system.adapter.sonoff.2 : sonoff : iobroker - disabled, port: 1886, bind: 0.0.0.0
system.adapter.sonoff.3 : sonoff : iobroker - disabled, port: 1883, bind: 0.0.0.0
system.adapter.vis.0 : vis : iobroker - disabled
system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin
+ system.adapter.yeelight-2.0 : yeelight-2 : iobroker - enabled
+ instance is alive
root@iobroker:/opt/iobroker/backups# cat logs.txt
[DEBUG] [iobroker] Start ioBroker Restore ...
[DEBUG] [iobroker] iobroker controller daemon is not running
[DEBUG] [iobroker] host.iobroker OK.
[DEBUG] [iobroker] The current version of js-controller differs from the version in the backup.
[DEBUG] [iobroker] The js-controller version of the backup can not be restored automatically.
[DEBUG] [iobroker] Note, that your backup might differ in behavior due to this version change!
[DEBUG] [iobroker] Removing current installation of iobroker.admin
[DEBUG] [iobroker] removed 22 packages in 15s
[DEBUG] [iobroker] 35 packages are looking for funding
[DEBUG] [iobroker] run `npm fund` for details
[DEBUG] [iobroker] Removing current installation of iobroker.backitup
[DEBUG] [iobroker] removed 124 packages in 12s
[DEBUG] [iobroker] 25 packages are looking for funding
[DEBUG] [iobroker] run `npm fund` for details
[DEBUG] [iobroker] Removing current installation of iobroker.discovery
[DEBUG] [iobroker] removed 43 packages in 9s
[DEBUG] [iobroker] 13 packages are looking for funding
[DEBUG] [iobroker] run `npm fund` for details
[DEBUG] [iobroker] host.iobroker Clear all objects and states...
[DEBUG] [iobroker] clean 142 objects...
[DEBUG] [iobroker] clean 102 states...
[DEBUG] [iobroker] host.iobroker done.
[DEBUG] [iobroker] host.iobroker Processed 0/711 objects
[DEBUG] [iobroker] host.iobroker Processed 200/711 objects
[DEBUG] [iobroker] host.iobroker Processed 400/711 objects
[DEBUG] [iobroker] host.iobroker Processed 600/711 objects
[DEBUG] [iobroker] 711 objects restored.
[DEBUG] [iobroker] host.iobroker Processed 0/271 states
[DEBUG] [iobroker] host.iobroker Processed 200/271 states
[DEBUG] [iobroker] 271 states restored.
[DEBUG] [iobroker] host.iobroker Upload user file "vis.0/main/vis-views.json
[DEBUG] [iobroker] host.iobroker Upload user file "vis.0/pictures/3dprintAn.png
[DEBUG] [iobroker] host.iobroker Upload user file "vis.0/pictures/3dprintAus.png
[DEBUG] [iobroker] host.iobroker Upload user file "vis.0/pictures/LedKetteAn.jpg
[DEBUG] [iobroker] host.iobroker Upload user file "vis.0/pictures/LedKetteAus.jpg
[DEBUG] [iobroker] host.iobroker Upload user file "vis.0/pictures/buttonDeaktiviert.png
[DEBUG] [iobroker] host.iobroker Upload user file "vis.0/pictures/druckerAn.png
[DEBUG] [iobroker] host.iobroker Upload user file "vis.0/pictures/druckerAus.png
[DEBUG] [iobroker] host.iobroker Upload user file "vis.0/pictures/pool.png
[DEBUG] [iobroker] host.iobroker Upload user file "vis.0/pictures/poolAus.png
[DEBUG] [iobroker] host.iobroker object system.licenses created
[DEBUG] [iobroker] host.iobroker object 0_userdata.0.example_state created
[DEBUG] [iobroker] Reinstalling adapter "admin" from "iobroker.admin@3.6.0"
[DEBUG] [iobroker] added 130 packages in 41s
[DEBUG] [iobroker] 19 packages are looking for funding
[DEBUG] [iobroker] run `npm fund` for details
[DEBUG] [iobroker] Forced restore - executing setup ...
[DEBUG] [iobroker] System successfully restored!
[DEBUG] [iobroker] ioBroker Restore completed successfully
[EXIT] 0
@Homoran
Vielen dank. Das war es gewesen.
Kannst du mit erklären, was da das Problem war? Warum ist der string in Browser schwarz und in der APP den weiß, wenn ich nicht black Einträge?