NEWS
Backitup und Grafana
-
@thomas-braun Hallo Thomas
Jetzt habe ich mal das System auf den neuesten Stand gebracht, allerdings habe ich noch Buster drauf. Das möchte ich vorerst auch nicht ändern. Nun bekomme ich aber folgende Fehlermeldung wenn ich npm list ausführe.pi@iobroker:/opt/iobroker/node_modules/iobroker.backitup $ npm list npm ERR! code ELSPROBLEMS npm ERR! missing: @alcalzone/release-script-plugin-iobroker@^3.5.9, required by iobroker.backitup@2.6.16 npm ERR! missing: @alcalzone/release-script-plugin-license@^3.5.9, required by iobroker.backitup@2.6.16 npm ERR! missing: @alcalzone/release-script@^3.5.9, required by iobroker.backitup@2.6.16 npm ERR! missing: @googleapis/drive@^4.0.2, required by iobroker.backitup@2.6.16 npm ERR! missing: @iobroker/adapter-core@^2.6.7, required by iobroker.backitup@2.6.16 npm ERR! missing: @iobroker/testing@^4.1.0, required by iobroker.backitup@2.6.16 npm ERR! missing: chai@^4.3.7, required by iobroker.backitup@2.6.16 npm ERR! missing: dropbox-v2-api@^2.5.10, required by iobroker.backitup@2.6.16 npm ERR! missing: express@^4.18.2, required by iobroker.backitup@2.6.16 npm ERR! missing: ftp@^0.3.10, required by iobroker.backitup@2.6.16 npm ERR! missing: google-auth-library@^8.7.0, required by iobroker.backitup@2.6.16 npm ERR! missing: gulp@^4.0.2, required by iobroker.backitup@2.6.16 npm ERR! missing: mocha@^10.2.0, required by iobroker.backitup@2.6.16 npm ERR! missing: node-wol@^0.1.1, required by iobroker.backitup@2.6.16 npm ERR! missing: onedrive-api@^1.0.7, required by iobroker.backitup@2.6.16 npm ERR! missing: request@^2.88.2, required by iobroker.backitup@2.6.16 npm ERR! missing: tar-fs@^2.1.1, required by iobroker.backitup@2.6.16 npm ERR! missing: webdav@^4.11.2, required by iobroker.backitup@2.6.16 iobroker.backitup@2.6.16 /opt/iobroker/node_modules/iobroker.backitup ├── UNMET DEPENDENCY @alcalzone/release-script-plugin-iobroker@^3.5.9 ├── UNMET DEPENDENCY @alcalzone/release-script-plugin-license@^3.5.9 ├── UNMET DEPENDENCY @alcalzone/release-script@^3.5.9 ├── UNMET DEPENDENCY @googleapis/drive@^4.0.2 ├── UNMET DEPENDENCY @iobroker/adapter-core@^2.6.7 ├── UNMET DEPENDENCY @iobroker/testing@^4.1.0 ├── axios@1.3.5 ├── UNMET DEPENDENCY chai@^4.3.7 ├── UNMET DEPENDENCY dropbox-v2-api@^2.5.10 ├── UNMET DEPENDENCY express@^4.18.2 ├── fs-extra@11.1.1 ├── UNMET DEPENDENCY ftp@^0.3.10 ├── UNMET DEPENDENCY google-auth-library@^8.7.0 ├── UNMET DEPENDENCY gulp@^4.0.2 ├── UNMET DEPENDENCY mocha@^10.2.0 ├── node-schedule@2.1.1 ├── UNMET DEPENDENCY node-wol@^0.1.1 ├── UNMET DEPENDENCY onedrive-api@^1.0.7 ├── UNMET DEPENDENCY request@^2.88.2 ├── UNMET DEPENDENCY tar-fs@^2.1.1 └── UNMET DEPENDENCY webdav@^4.11.2 npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-04-14T15_06_19_781Z-debug-0.log
apt update:
pi@iobroker:/opt/iobroker/node_modules/iobroker.backitup $ sudo apt update Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:2 http://archive.raspberrypi.org/debian buster InRelease Hit:3 http://archive.raspbian.org/raspbian buster InRelease Hit:4 https://repos.influxdata.com/debian stable InRelease Hit:5 https://apt.grafana.com stable InRelease Hit:6 https://deb.nodesource.com/node_19.x buster InRelease Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date.
pi@iobroker:/opt/iobroker/node_modules/iobroker.backitup $ npm -v 9.6.3 pi@iobroker:/opt/iobroker/node_modules/iobroker.backitup $ nodejs -v v19.9.0 pi@iobroker:/opt/iobroker/node_modules/iobroker.backitup $
iob diag Ausgabe:
Skript v.2023-04-02 *** BASE SYSTEM *** Model : Raspberry Pi 4 Model B Rev 1.5 Architecture : armv7l Docker : false Virtualization : none Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" Systemuptime and Load: 17:16:51 up 2:17, 1 user, load average: 0.75, 0.43, 0.34 CPU threads: 4 *** Time and Time Zones *** Local time: Fri 2023-04-14 17:16:51 CEST Universal time: Fri 2023-04-14 15:16:51 UTC RTC time: n/a Time zone: Europe/Berlin (CEST, +0200) System clock synchronized: yes NTP service: active RTC in local TZ: no *** User and Groups *** pi /home/pi pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker *** X-Server-Setup *** X-Server: false Desktop: Terminal: tty Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 3.8G 801M 1.6G 16M 1.4G 3.0G Swap: 99M 0B 99M Total: 3.9G 801M 1.7G 3838 M total memory 801 M used memory 494 M active memory 1569 M inactive memory 1588 M free memory 152 M buffer memory 1296 M swap cache 99 M total swap 0 M used swap 99 M free swap *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 30G 5.2G 23G 19% / devtmpfs devtmpfs 1.8G 0 1.8G 0% /dev tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs tmpfs 1.9G 17M 1.9G 1% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup /dev/loop1 squashfs 99M 99M 0 100% /snap/core/14788 /dev/loop0 squashfs 99M 99M 0 100% /snap/core/14950 /dev/loop2 squashfs 384K 384K 0 100% /snap/minicom/1 /dev/mmcblk0p1 vfat 253M 49M 204M 20% /boot tmpfs tmpfs 384M 0 384M 0% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Fri Apr 14 14:59:30 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=E4:5F:01:BC:F7:27 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=a62f624d-02 rootfstype=ext4 fsck.repair=yes rootwait [Fri Apr 14 14:59:31 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [Fri Apr 14 14:59:31 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [Fri Apr 14 14:59:33 2023] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) Show mounted filesystems (real ones only): TARGET SOURCE FSTYPE OPTIONS / /dev/mmcblk0p2 ext4 rw,noatime |-/sys/fs/bpf none bpf rw,nosuid,nodev,noexec,relatime,mode=700 |-/snap/core/14788 /dev/loop1 squashfs ro,nodev,relatime |-/snap/core/14950 /dev/loop0 squashfs ro,nodev,relatime |-/snap/minicom/1 /dev/loop2 squashfs ro,nodev,relatime `-/boot /dev/mmcblk0p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 1.1G /var/ 506M /var/lib 294M /var/lib/snapd 253M /var/log 197M /var/lib/snapd/snaps /opt/iobroker/backups: 491M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 298M /opt/iobroker/iobroker-data/ 252M /opt/iobroker/iobroker-data/files 78M /opt/iobroker/iobroker-data/files/icons-open-icon-library-png 51M /opt/iobroker/iobroker-data/files/javascript.admin 35M /opt/iobroker/iobroker-data/backup-objects The five largest files in iobroker-data are: 6.9M /opt/iobroker/iobroker-data/objects.jsonl 6.9M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/610.de0231c9.chunk.js.map 6.6M /opt/iobroker/iobroker-data/files/modbus.admin/static/js/main.8083c40d.js.map 6.3M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map 5.1M /opt/iobroker/iobroker-data/states.jsonl *** NodeJS-Installation *** /usr/bin/nodejs v19.9.0 /usr/bin/node v19.9.0 /usr/bin/npm 9.6.3 /usr/bin/npx 9.6.3 nodejs: Installed: 19.9.0-deb-1nodesource1 Candidate: 19.9.0-deb-1nodesource1 Version table: *** 19.9.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_19.x buster/main armhf Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u3 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages Temp directories causing npm8 problem: 0 No problems detected *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl Core adapters versions js-controller: 4.0.23 admin: 6.3.5 javascript: 6.1.4 Adapters from github: 0 Adapter State + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.backitup.0 : backitup : iobroker - enabled + system.adapter.countdown.0 : countdown : iobroker - enabled + system.adapter.discovery.0 : discovery : iobroker - enabled + system.adapter.email.0 : email : iobroker - enabled system.adapter.fronius.0 : fronius : iobroker - disabled system.adapter.icons-addictive-flavour-png.0: icons-addictive-flavour-png: iobroker - enabled system.adapter.icons-icons8.0 : icons-icons8 : iobroker - enabled system.adapter.icons-material-png.0 : icons-material-png : iobroker - enabled system.adapter.icons-mfd-png.0 : icons-mfd-png : iobroker - enabled system.adapter.icons-mfd-svg.0 : icons-mfd-svg : iobroker - enabled system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png: iobroker - enabled system.adapter.icons-ultimate-png.0 : icons-ultimate-png : iobroker - enabled + system.adapter.influxdb.1 : influxdb : iobroker - enabled, port: 8086 + system.adapter.javascript.0 : javascript : iobroker - enabled system.adapter.kecontact.0 : kecontact : iobroker - disabled system.adapter.modbus.0 : modbus : iobroker - disabled system.adapter.modbus.1 : modbus : iobroker - disabled system.adapter.modbus.2 : modbus : iobroker - disabled system.adapter.modbus.3 : modbus : iobroker - disabled system.adapter.openweathermap.0 : openweathermap : iobroker - enabled + system.adapter.ping.0 : ping : iobroker - enabled + system.adapter.pvforecast.0 : pvforecast : iobroker - enabled + system.adapter.rpi2.0 : rpi2 : iobroker - enabled system.adapter.smartmeter.0 : smartmeter : iobroker - disabled system.adapter.vis-icontwo.0 : vis-icontwo : iobroker - enabled + system.adapter.vis-inventwo.0 : vis-inventwo : iobroker - enabled system.adapter.vis-timeandweather.0 : vis-timeandweather : iobroker - enabled system.adapter.vis.0 : vis : iobroker - enabled system.adapter.weatherunderground.0 : weatherunderground : iobroker - enabled + system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.influxdb.1 : influxdb : iobroker - enabled, port: 8086 + system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin ioBroker-Repositories stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json Active repo(s): stable Installed ioBroker-Instances Used repository: stable Adapter "admin" : 6.3.5 , installed 6.3.5 Adapter "backitup" : 2.6.16 , installed 2.6.16 Adapter "countdown" : 1.2.5 , installed 1.2.5 Adapter "discovery" : 3.1.0 , installed 3.1.0 Adapter "email" : 1.1.4 , installed 1.1.4 Adapter "fronius" : 1.1.3 , installed 1.1.3 Adapter "icons-addictive-flavour-png": 0.1.0, installed 0.1.0 Adapter "icons-icons8" : 0.0.1 , installed 0.0.1 Adapter "icons-material-png": 0.1.0, installed 0.1.0 Adapter "icons-mfd-png": 1.1.0 , installed 1.1.0 Adapter "icons-mfd-svg": 1.1.0 , installed 1.1.0 Adapter "icons-open-icon-library-png": 0.1.2, installed 0.1.2 Adapter "icons-ultimate-png": 1.0.1, installed 1.0.1 Adapter "influxdb" : 3.2.0 , installed 3.2.0 Adapter "javascript" : 6.1.4 , installed 6.1.4 Controller "js-controller": 4.0.24 , installed 4.0.23 [Updatable] Adapter "kecontact" : 1.5.2 , installed 1.5.2 Adapter "modbus" : 5.0.11 , installed 5.0.11 Adapter "openweathermap": 0.3.3 , installed 0.3.3 Adapter "ping" : 1.5.3 , installed 1.5.3 Adapter "pvforecast" : 2.3.0 , installed 2.3.0 Adapter "rpi2" : 1.3.2 , installed 1.3.2 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "smartmeter" : 3.3.4 , installed 3.3.4 Adapter "socketio" : 4.2.0 , installed 4.2.0 Adapter "vis" : 1.4.16 , installed 1.4.16 Adapter "vis-icontwo" : 0.93.0 , installed 0.93.0 Adapter "vis-inventwo" : 3.3.1 , installed 3.3.1 Adapter "vis-timeandweather": 1.2.2, installed 1.2.2 Adapter "weatherunderground": 3.4.2, installed 3.4.2 Adapter "web" : 4.3.0 , installed 4.3.0 Adapter "ws" : 1.3.0 , installed 1.3.0 Objects and States Please stand by - This may take a while Objects: 3685 States: 3195 *** OS-Repositories and Updates *** Hit:1 http://archive.raspbian.org/raspbian buster InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:3 http://archive.raspberrypi.org/debian buster InRelease Hit:4 https://repos.influxdata.com/debian stable InRelease Hit:5 https://apt.grafana.com stable InRelease Hit:6 https://deb.nodesource.com/node_19.x buster InRelease Reading package lists... Pending Updates: 0 *** Listening Ports *** Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 18691 633/sshd tcp 0 0 127.0.0.1:8088 0.0.0.0:* LISTEN 999 16738 626/influxd tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 87197 10363/iobroker.js-c tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 87190 10363/iobroker.js-c tcp6 0 0 :::8081 :::* LISTEN 1001 87273 10384/io.admin.0 tcp6 0 0 :::8082 :::* LISTEN 1001 85926 10666/io.web.0 tcp6 0 0 :::8086 :::* LISTEN 999 16177 626/influxd tcp6 0 0 :::22 :::* LISTEN 0 18693 633/sshd tcp6 0 0 :::3000 :::* LISTEN 109 16764 620/grafana udp 0 0 0.0.0.0:51197 0.0.0.0:* 108 16508 372/avahi-daemon: r udp 0 0 0.0.0.0:68 0.0.0.0:* 0 16663 618/dhcpcd udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 16506 372/avahi-daemon: r udp6 0 0 :::37553 :::* 108 16509 372/avahi-daemon: r udp6 0 0 :::5353 :::* 108 16507 372/avahi-daemon: r *** Log File - Last 25 Lines *** 2023-04-14 17:15:45.097 - error: rpi2.0 (10894) GPIO is not initialized! 2023-04-14 17:15:50.051 - error: rpi2.0 (10894) GPIO is not initialized! 2023-04-14 17:15:55.104 - error: rpi2.0 (10894) GPIO is not initialized! 2023-04-14 17:16:00.119 - error: rpi2.0 (10894) GPIO is not initialized! 2023-04-14 17:16:05.074 - error: rpi2.0 (10894) GPIO is not initialized! 2023-04-14 17:16:10.119 - error: rpi2.0 (10894) GPIO is not initialized! 2023-04-14 17:16:15.097 - error: rpi2.0 (10894) GPIO is not initialized! 2023-04-14 17:16:20.099 - error: rpi2.0 (10894) GPIO is not initialized! 2023-04-14 17:16:25.091 - error: rpi2.0 (10894) GPIO is not initialized! 2023-04-14 17:16:30.122 - error: rpi2.0 (10894) GPIO is not initialized! 2023-04-14 17:16:35.068 - error: rpi2.0 (10894) GPIO is not initialized! 2023-04-14 17:16:40.118 - error: rpi2.0 (10894) GPIO is not initialized! 2023-04-14 17:16:45.093 - error: rpi2.0 (10894) GPIO is not initialized! 2023-04-14 17:16:50.090 - error: rpi2.0 (10894) GPIO is not initialized! 2023-04-14 17:16:55.085 - error: rpi2.0 (10894) GPIO is not initialized! 2023-04-14 17:17:00.099 - error: rpi2.0 (10894) GPIO is not initialized! 2023-04-14 17:17:05.054 - error: rpi2.0 (10894) GPIO is not initialized! 2023-04-14 17:17:10.084 - error: rpi2.0 (10894) GPIO is not initialized! 2023-04-14 17:17:15.089 - error: rpi2.0 (10894) GPIO is not initialized! 2023-04-14 17:17:20.088 - error: rpi2.0 (10894) GPIO is not initialized! 2023-04-14 17:17:27.049 - error: rpi2.0 (10894) GPIO is not initialized! 2023-04-14 17:17:31.218 - error: rpi2.0 (10894) GPIO is not initialized! 2023-04-14 17:17:35.063 - error: rpi2.0 (10894) GPIO is not initialized! 2023-04-14 17:17:40.090 - error: rpi2.0 (10894) GPIO is not initialized! 2023-04-14 17:17:45.078 - error: rpi2.0 (10894) GPIO is not initialized!
Nun gibt es die Meldung GPIO is not initialized.
Die GPIO brauche ich aber dringend.Wenn ich das Backitup ausführe selbe Fehlermeldung:
BackItUp:
Your backup was not completely created. Please check the errors!!grafana: {"message":"Request failed with status code 401","name":"AxiosError","stack":"AxiosError: Request failed with status code 401\n at settle (/opt/iobroker/node_modules/iobroker.backitup/node_modules/axios/dist/node/axios.cjs:1898:12)\n at IncomingMessage.handleStreamEnd (/opt/iobroker/node_modules/iobroker.backitup/node_modules/axios/dist/node/axios.cjs:2950:11)\n at IncomingMessage.emit (node:events:525:35)\n at endReadableNT (node:internal/streams/readable:1359:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json, text/plain, /","Authorization":"Bearer ****","User-Agent":"axios/1.3.5","Accept-Encoding":"gzip, compress, deflate, br"},"method":"get","url":"http://localhost:3000/api/search","responseType":"json","httpsAgent":{"_events":{},"_eventsCount":2,"_maxListeners":100,"defaultPort":443,"protocol":"https:","options":{"rejectUnauthorized":false,"noDelay":true,"path":null},"requests":{},"sockets":{},"freeSockets":{},"keepAliveMsecs":1000,"keepAlive":false,"maxSockets":null,"maxFreeSockets":256,"scheduling":"lifo","maxTotalSockets":null,"totalSocketCount":0,"maxCachedSessions":100,"_sessionCache":{"map":{},"list":[]}}},"code":"ERR_BAD_REQUEST","status":401}
Oder ist jetzt "nodejs19" wieder zu neu ?
Was zum Henker mach ich falsch ???Gruß Andi
-
@kratan75 sagte in Backitup und Grafana:
habe ich noch Buster drauf. Das möchte ich vorerst auch nicht ändern
Grund ?
-
@kratan75 sagte in Backitup und Grafana:
Das möchte ich vorerst auch nicht ändern
Das wirst du ändern müssen, weil Buster das EndOfLife erreicht hat. Vor Monaten bereits.
-
@kratan75 sagte in Backitup und Grafana:
Oder ist jetzt "nodejs19" wieder zu neu ?
Ja, die derzeitige Empfehlung ist nodejs@18.
-
@thomas-braun Geht trotzdem nicht.
Hier die Ausgabe:
/usr/bin/nodejs /usr/bin/node /usr/bin/npm /usr/bin/npx v18.16.0 v18.16.0 9.5.1 npm ERR! could not determine executable to run npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2023-04-14T16_44_18_966Z-debug-0.log Copy text starting here: ======================= SUMMARY ======================= v.2023-04-02 Operatingsystem: Raspbian GNU/Linux 10 (buster) Kernel: 5.10.103-v7l+ Installation: Native Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 X-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 1 Nodejs-Installation: /usr/bin/nodejs v18.16.0 /usr/bin/node v18.16.0 /usr/bin/npm 9.5.1 /usr/bin/npx 9.5.1 Recommended versions are nodejs 18.x.y and npm 9.x.y MEMORY: total used free shared buff/cache available Mem: 3.8G 668M 1.7G 16M 1.5G 3.1G Swap: 99M 0B 99M Total: 3.9G 668M 1.8G Active iob-Instances: 13 Active repo(s): stable ioBroker Core: js-controller 4.0.23 admin 6.3.5 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 3685 States: 3269 Size of iob-Database: 6.7M /opt/iobroker/iobroker-data/objects.jsonl 1.3M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
Selbes Ergebnis:
BackItUp:
Your backup was not completely created. Please check the errors!!grafana: {"message":"Request failed with status code 401","name":"AxiosError","stack":"AxiosError: Request failed with status code 401\n at settle (/opt/iobroker/node_modules/iobroker.backitup/node_modules/axios/dist/node/axios.cjs:1898:12)\n at IncomingMessage.handleStreamEnd (/opt/iobroker/node_modules/iobroker.backitup/node_modules/axios/dist/node/axios.cjs:2950:11)\n at IncomingMessage.emit (node:events:525:35)\n at endReadableNT (node:internal/streams/readable:1359:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json, text/plain, /","Authorization":"Bearer ****","User-Agent":"axios/1.3.5","Accept-Encoding":"gzip, compress, deflate, br"},"method":"get","url":"http://192.168.3.162:3000/api/search","responseType":"json","httpsAgent":{"_events":{},"_eventsCount":2,"_maxListeners":100,"defaultPort":443,"protocol":"https:","options":{"rejectUnauthorized":false,"noDelay":true,"path":null},"requests":{},"sockets":{},"freeSockets":{},"keepAliveMsecs":1000,"keepAlive":false,"maxSockets":null,"maxFreeSockets":256,"scheduling":"lifo","maxTotalSockets":null,"totalSocketCount":0,"maxCachedSessions":100,"_sessionCache":{"map":{},"list":[]}}},"code":"ERR_BAD_REQUEST","status":401}
Irgendwie treibt mich das Teil noch zum Wahnsinn
Noch eine Idee ?
Gruß Andi
-
@kratan75 sagte in Backitup und Grafana:
npm ERR! could not determine executable to run
Da ist nodejs auch bestimmt 'krumm' installiert, denn npx wird natülich in einer gesunden Installation gefunden.
iob diag
sagt? Ist natürlich nur sinnvoll in einem aktuellen System, also nicht 'buster'.
-
@djmarc75 Weil ich damit meinen PV-Eigenverbrauch von 2 Anlagen optimiere und steuere und gerade wenig bis keine Zeit habe hier rum zu experimentieren. Der Rechner muss jetzt erst mal laufen. Wenn ich Zeit finde mach ich das Update.
Gruß Andreas
-
@thomas-braun Node JS19 lief ohne Probleme und keinen Fehler. Der tritt erst jetzt auf.
Skript v.2023-04-02 *** BASE SYSTEM *** Model : Raspberry Pi 4 Model B Rev 1.5 Architecture : armv7l Docker : false Virtualization : none Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" Systemuptime and Load: 19:02:24 up 4:02, 1 user, load average: 0.01, 0.19, 0.34 CPU threads: 4 *** Time and Time Zones *** Local time: Fri 2023-04-14 19:02:24 CEST Universal time: Fri 2023-04-14 17:02:24 UTC RTC time: n/a Time zone: Europe/Berlin (CEST, +0200) System clock synchronized: yes NTP service: active RTC in local TZ: no *** User and Groups *** pi /home/pi pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker *** X-Server-Setup *** X-Server: false Desktop: Terminal: tty Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 3.8G 709M 1.6G 16M 1.5G 3.0G Swap: 99M 0B 99M Total: 3.9G 709M 1.7G 3838 M total memory 710 M used memory 505 M active memory 1514 M inactive memory 1635 M free memory 158 M buffer memory 1335 M swap cache 99 M total swap 0 M used swap 99 M free swap *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 30G 5.2G 23G 19% / devtmpfs devtmpfs 1.8G 0 1.8G 0% /dev tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs tmpfs 1.9G 17M 1.9G 1% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup /dev/loop1 squashfs 99M 99M 0 100% /snap/core/14788 /dev/loop0 squashfs 99M 99M 0 100% /snap/core/14950 /dev/loop2 squashfs 384K 384K 0 100% /snap/minicom/1 /dev/mmcblk0p1 vfat 253M 49M 204M 20% /boot tmpfs tmpfs 384M 0 384M 0% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Fri Apr 14 14:59:30 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=E4:5F:01:BC:F7:27 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=a62f624d-02 rootfstype=ext4 fsck.repair=yes rootwait [Fri Apr 14 14:59:31 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [Fri Apr 14 14:59:31 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [Fri Apr 14 14:59:33 2023] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) Show mounted filesystems (real ones only): TARGET SOURCE FSTYPE OPTIONS / /dev/mmcblk0p2 ext4 rw,noatime |-/sys/fs/bpf none bpf rw,nosuid,nodev,noexec,relatime,mode=700 |-/snap/core/14788 /dev/loop1 squashfs ro,nodev,relatime |-/snap/core/14950 /dev/loop0 squashfs ro,nodev,relatime |-/snap/minicom/1 /dev/loop2 squashfs ro,nodev,relatime `-/boot /dev/mmcblk0p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 1.1G /var/ 508M /var/lib 294M /var/lib/snapd 253M /var/log 197M /var/lib/snapd/snaps /opt/iobroker/backups: 533M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 295M /opt/iobroker/iobroker-data/ 252M /opt/iobroker/iobroker-data/files 78M /opt/iobroker/iobroker-data/files/icons-open-icon-library-png 51M /opt/iobroker/iobroker-data/files/javascript.admin 35M /opt/iobroker/iobroker-data/backup-objects The five largest files in iobroker-data are: 6.9M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/610.de0231c9.chunk.js.map 6.7M /opt/iobroker/iobroker-data/objects.jsonl 6.6M /opt/iobroker/iobroker-data/files/modbus.admin/static/js/main.8083c40d.js.map 6.3M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map 4.9M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/848.7424922d.chunk.js.map *** NodeJS-Installation *** /usr/bin/nodejs v18.16.0 /usr/bin/node v18.16.0 /usr/bin/npm 9.5.1 /usr/bin/npx 9.5.1 nodejs: Installed: 18.16.0-deb-1nodesource1 Candidate: 18.16.0-deb-1nodesource1 Version table: *** 18.16.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_18.x buster/main armhf Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u3 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages Temp directories causing npm8 problem: 0 No problems detected *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl Core adapters versions js-controller: 4.0.23 admin: 6.3.5 javascript: 6.1.4 Adapters from github: 0 Adapter State + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.backitup.0 : backitup : iobroker - enabled + system.adapter.countdown.0 : countdown : iobroker - enabled + system.adapter.discovery.0 : discovery : iobroker - enabled + system.adapter.email.0 : email : iobroker - enabled system.adapter.fronius.0 : fronius : iobroker - disabled system.adapter.icons-addictive-flavour-png.0: icons-addictive-flavour-png: iobroker - enabled system.adapter.icons-icons8.0 : icons-icons8 : iobroker - enabled system.adapter.icons-material-png.0 : icons-material-png : iobroker - enabled system.adapter.icons-mfd-png.0 : icons-mfd-png : iobroker - enabled system.adapter.icons-mfd-svg.0 : icons-mfd-svg : iobroker - enabled system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png: iobroker - enabled system.adapter.icons-ultimate-png.0 : icons-ultimate-png : iobroker - enabled + system.adapter.influxdb.1 : influxdb : iobroker - enabled, port: 8086 + system.adapter.javascript.0 : javascript : iobroker - enabled system.adapter.kecontact.0 : kecontact : iobroker - disabled system.adapter.modbus.0 : modbus : iobroker - disabled system.adapter.modbus.1 : modbus : iobroker - disabled system.adapter.modbus.2 : modbus : iobroker - disabled system.adapter.modbus.3 : modbus : iobroker - disabled system.adapter.openweathermap.0 : openweathermap : iobroker - enabled + system.adapter.ping.0 : ping : iobroker - enabled + system.adapter.pvforecast.0 : pvforecast : iobroker - enabled + system.adapter.rpi2.0 : rpi2 : iobroker - enabled system.adapter.smartmeter.0 : smartmeter : iobroker - disabled system.adapter.vis-icontwo.0 : vis-icontwo : iobroker - enabled + system.adapter.vis-inventwo.0 : vis-inventwo : iobroker - enabled system.adapter.vis-timeandweather.0 : vis-timeandweather : iobroker - enabled system.adapter.vis.0 : vis : iobroker - enabled system.adapter.weatherunderground.0 : weatherunderground : iobroker - enabled + system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.influxdb.1 : influxdb : iobroker - enabled, port: 8086 + system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin ioBroker-Repositories stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json Active repo(s): stable Installed ioBroker-Instances Used repository: stable Adapter "admin" : 6.3.5 , installed 6.3.5 Adapter "backitup" : 2.6.16 , installed 2.6.16 Adapter "countdown" : 1.2.5 , installed 1.2.5 Adapter "discovery" : 3.1.0 , installed 3.1.0 Adapter "email" : 1.1.4 , installed 1.1.4 Adapter "fronius" : 1.1.3 , installed 1.1.3 Adapter "icons-addictive-flavour-png": 0.1.0, installed 0.1.0 Adapter "icons-icons8" : 0.0.1 , installed 0.0.1 Adapter "icons-material-png": 0.1.0, installed 0.1.0 Adapter "icons-mfd-png": 1.1.0 , installed 1.1.0 Adapter "icons-mfd-svg": 1.1.0 , installed 1.1.0 Adapter "icons-open-icon-library-png": 0.1.2, installed 0.1.2 Adapter "icons-ultimate-png": 1.0.1, installed 1.0.1 Adapter "influxdb" : 3.2.0 , installed 3.2.0 Adapter "javascript" : 6.1.4 , installed 6.1.4 Controller "js-controller": 4.0.24 , installed 4.0.23 [Updatable] Adapter "kecontact" : 1.5.2 , installed 1.5.2 Adapter "modbus" : 5.0.11 , installed 5.0.11 Adapter "openweathermap": 0.3.3 , installed 0.3.3 Adapter "ping" : 1.5.3 , installed 1.5.3 Adapter "pvforecast" : 2.3.0 , installed 2.3.0 Adapter "rpi2" : 1.3.2 , installed 1.3.2 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "smartmeter" : 3.3.4 , installed 3.3.4 Adapter "socketio" : 4.2.0 , installed 4.2.0 Adapter "vis" : 1.4.16 , installed 1.4.16 Adapter "vis-icontwo" : 0.93.0 , installed 0.93.0 Adapter "vis-inventwo" : 3.3.1 , installed 3.3.1 Adapter "vis-timeandweather": 1.2.2, installed 1.2.2 Adapter "weatherunderground": 3.4.2, installed 3.4.2 Adapter "web" : 4.3.0 , installed 4.3.0 Adapter "ws" : 1.3.0 , installed 1.3.0 Objects and States Please stand by - This may take a while Objects: 3685 States: 3269 *** OS-Repositories and Updates *** Hit:1 http://archive.raspbian.org/raspbian buster InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:3 http://archive.raspberrypi.org/debian buster InRelease Hit:4 https://repos.influxdata.com/debian stable InRelease Hit:5 https://apt.grafana.com stable InRelease Hit:6 https://deb.nodesource.com/node_18.x buster InRelease Reading package lists... Pending Updates: 0 *** Listening Ports *** Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 18691 633/sshd tcp 0 0 127.0.0.1:8088 0.0.0.0:* LISTEN 999 16738 626/influxd tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 161446 21811/iobroker.js-c tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 161439 21811/iobroker.js-c tcp6 0 0 :::8081 :::* LISTEN 1001 160745 21832/io.admin.0 tcp6 0 0 :::8082 :::* LISTEN 1001 162720 22068/io.web.0 tcp6 0 0 :::8086 :::* LISTEN 999 16177 626/influxd tcp6 0 0 :::22 :::* LISTEN 0 18693 633/sshd tcp6 0 0 :::3000 :::* LISTEN 109 16764 620/grafana udp 0 0 0.0.0.0:51197 0.0.0.0:* 108 16508 372/avahi-daemon: r udp 0 0 0.0.0.0:68 0.0.0.0:* 0 16663 618/dhcpcd udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 16506 372/avahi-daemon: r udp6 0 0 :::37553 :::* 108 16509 372/avahi-daemon: r udp6 0 0 :::5353 :::* 108 16507 372/avahi-daemon: r *** Log File - Last 25 Lines *** 2023-04-14 19:01:20.070 - error: rpi2.0 (22163) GPIO is not initialized! 2023-04-14 19:01:25.078 - error: rpi2.0 (22163) GPIO is not initialized! 2023-04-14 19:01:30.099 - error: rpi2.0 (22163) GPIO is not initialized! 2023-04-14 19:01:35.093 - error: rpi2.0 (22163) GPIO is not initialized! 2023-04-14 19:01:40.079 - error: rpi2.0 (22163) GPIO is not initialized! 2023-04-14 19:01:45.066 - error: rpi2.0 (22163) GPIO is not initialized! 2023-04-14 19:01:50.068 - error: rpi2.0 (22163) GPIO is not initialized! 2023-04-14 19:01:55.085 - error: rpi2.0 (22163) GPIO is not initialized! 2023-04-14 19:02:00.095 - error: rpi2.0 (22163) GPIO is not initialized! 2023-04-14 19:02:05.080 - error: rpi2.0 (22163) GPIO is not initialized! 2023-04-14 19:02:10.069 - error: rpi2.0 (22163) GPIO is not initialized! 2023-04-14 19:02:15.121 - error: rpi2.0 (22163) GPIO is not initialized! 2023-04-14 19:02:20.080 - error: rpi2.0 (22163) GPIO is not initialized! 2023-04-14 19:02:25.048 - error: rpi2.0 (22163) GPIO is not initialized! 2023-04-14 19:02:30.071 - error: rpi2.0 (22163) GPIO is not initialized! 2023-04-14 19:02:35.054 - error: rpi2.0 (22163) GPIO is not initialized! 2023-04-14 19:02:40.050 - error: rpi2.0 (22163) GPIO is not initialized! 2023-04-14 19:02:45.165 - error: rpi2.0 (22163) GPIO is not initialized! 2023-04-14 19:02:50.038 - error: rpi2.0 (22163) GPIO is not initialized! 2023-04-14 19:02:55.053 - error: rpi2.0 (22163) GPIO is not initialized! 2023-04-14 19:03:00.063 - error: rpi2.0 (22163) GPIO is not initialized! 2023-04-14 19:03:05.063 - error: rpi2.0 (22163) GPIO is not initialized! 2023-04-14 19:03:10.044 - error: rpi2.0 (22163) GPIO is not initialized! 2023-04-14 19:03:15.130 - error: rpi2.0 (22163) GPIO is not initialized! 2023-04-14 19:03:20.060 - error: rpi2.0 (22163) GPIO is not initialized!
============ Mark until here for C&P =============
iob diag has finished.
-
@kratan75 Auf meiner Experimental-Kiste läuft nodejs19 auch. Aber du willst ja keine aktuellste Software laufen haben, sonst würdest du nicht am längst abgekündigten Buster festhalten.
-
@kratan75 sagte in Backitup und Grafana:
|-/snap/core/14788 /dev/loop1 squashfs ro,nodev,relatime |-/snap/core/14950 /dev/loop0 squashfs ro,nodev,relatime |-/snap/minicom/1 /dev/loop2 squashfs ro,nodev,relatime
Was ist das?
-
@thomas-braun
Wie gesagt, im Moment habe ich keine Zeit und erst nach dem Update gibt es diese Probleme. Ich werde mal mein SD- Kartenbackup auf einer Experimintal Kiste installieren wenn Zeit ist. Da bestätigt sich mal wieder die Aussage (never touch a running system).
Gibt es eine Anleitung für das Update ?Gruß Andi
-
@thomas-braun
Keine Ahnung. Wo hast das gesehen ?Gruß Andi
-
@kratan75 sagte in Backitup und Grafana:
Da bestätigt sich mal wieder die Aussage (never touch a running system).
Im Gegenteil. Wenn es irgendwas bestätigt dann: Halte die Kiste auf aktuellem Stand.
Gibt es eine Anleitung für das Update ?
Ja, ich hatte da vor Urzeiten, als das Thema aktuell war was zu geschrieben.
-
-
@thomas-braun Das scheint irgendwas im Filesystem zu sein. Hängt das eventuell damit zusammen weil ich mal eine 64 GB Karte auf eine 128 GB Karte geklont habe ?
-
Das sieht eher wie eine Installation von minicom als snap aus. Fragt sich aber mal wieder warum... Gibt es nämlich auch über das Debian-Repo:
echad@chet:~ $ apt policy minicom minicom: Installed: (none) Candidate: 2.8-2 Version table: 2.8-2 500 500 http://deb.debian.org/debian bookworm/main arm64 Packages
-
@thomas-braun Auf dem System läuft ein Volkszähler welcher seriell über USB kommuniziert. Ausserdem ein USB-> Modbus Converter.
Das hängt eventuell damit zusammen.
Hast du einen Link zum upgraden von Buster auf Bullseye ?Wenn es am Wochenende weiter so schifft, kann ichs mal probieren. Vorher muß ich aber nochmal die SD-Karte Klonen damit nicht alles zerschossen wird.
-
-
@thomas-braun Okay Danke für den Link. Ich schau es mir die Tage mal an.
Nur noch eine Frage zur IP Adresse bzw. DHCP was hier angesprochen wird.Kann ich unter
/etc/systemd/system/dhcpcd.service.d/wait.conf
folgenden Code für eine feste IP Adresse verwenden ?
interface eth0 static ip_address=192.168.3.162/24 static routers=192.168.3.1 static domain_name_servers=192.168.3.1 8.8.8.8 fd51:42f8:caae:d92e::1
Ich kann keine DHCP Adresse gebrauchen, weil dieses System direkt mit anderen Systemen Kommunizieren muss. Daher möchte ich dort auf jeden Fall eine feste IP drinnen haben.
Im Buster war das ja unter
/etc/dhcpcd.conf
hinterlegt.
-
Kann ich dir nicht sagen, ich werkel hier mit hostnames und DHCP.