NEWS
mit backitup kein Influxdb und Grafana backup möglich
-
@thomas-braun so.. iobroker läuft wieder anstandslos, ABER ich bekomm mein influxdb über backitup nicht mehr zurückgespielt. Bei iobroker wars kein Problem, einfach ein neues Backup gemacht danach mein backup in den Backup Ordner auf den Raspberry und gut wars. Nur influxdb will nicht. Ich hab auch die influxdb Instanz angehalten und bekomm diese Meldung:Started restore ...
[DEBUG] [influxDB] - Created tmp directory
[DEBUG] [influxDB] - Start infuxDB Restore ...
[ERROR] [influxDB] - Error: failed to check existence of organization "my-org": 401 Unauthorized: unauthorized access[DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
[DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
[DEBUG] [influxDB] - infuxDB Restore completed successfully
[EXIT] influxDB restore donenur die Influxdb ist leer. ... nur aktuelle werte halt.
ich weiß schon das ich hier wahrscheinlich falsch postemit grafana das gleich Problem
======== Start marking the full check here =========
Skript v.2023-10-10 *** BASE SYSTEM *** Static hostname: iobroker Icon name: computer Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.1.0-rpi6-rpi-v8 Architecture: arm64 Model : Raspberry Pi 4 Model B Rev 1.5 Docker : false Virtualization : none Kernel : aarch64 Userland : arm64 Systemuptime and Load: 18:08:29 up 4:46, 2 users, load average: 0.47, 0.77, 0.77 CPU threads: 4 *** RASPBERRY THROTTLING *** Current issues: No throttling issues detected. Previously detected issues: No throttling issues detected. *** Time and Time Zones *** Local time: Sat 2023-11-25 18:08:29 CET Universal time: Sat 2023-11-25 17:08:29 UTC RTC time: n/a Time zone: Europe/Vienna (CET, +0100) System clock synchronized: yes NTP service: active RTC in local TZ: no *** User and Groups *** Christian /home/Christian Christian adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker *** X-Server-Setup *** X-Server: false Desktop: Terminal: tty Boot Target: multi-user.target *** MEMORY *** total used free shared buff/cache available Mem: 8.2G 2.8G 1.5G 1.2M 4.1G 5.4G Swap: 104M 0B 104M Total: 8.3G 2.8G 1.6G 7810 M total memory 2660 M used memory 2995 M active memory 3211 M inactive memory 1415 M free memory 89 M buffer memory 3783 M swap cache 99 M total swap 0 M used swap 99 M free swap Raspberry only: oom events: 0 lifetime oom required: 0 Mbytes total time in oom handler: 0 ms max time spent in oom handler: 0 ms *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION 0 loaded units listed. *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 3.6G 0 3.6G 0% /dev tmpfs tmpfs 782M 1.2M 780M 1% /run /dev/sda2 ext4 117G 17G 95G 15% / tmpfs tmpfs 3.9G 0 3.9G 0% /dev/shm tmpfs tmpfs 5.0M 16K 5.0M 1% /run/lock /dev/sda1 vfat 510M 61M 450M 12% /boot/firmware tmpfs tmpfs 782M 0 782M 0% /run/user/1000 //10.0.0.40/homes/backup/iobroker cifs 5.5T 2.7T 2.8T 50% /opt/iobroker/backups Messages concerning ext4 filesystem in dmesg: [Sat Nov 25 13:22:19 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 smsc95xx.macaddr=D8:3A:DD:2A:25:6C vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 console=ttyS0,115200 console=tty1 root=PARTUUID=167ecb30-02 rootfstype=ext4 fsck.repair=yes rootwait [Sat Nov 25 13:22:22 2023] EXT4-fs (sda2): mounted filesystem with ordered data mode. Quota mode: none. [Sat Nov 25 13:22:23 2023] EXT4-fs (sda2): re-mounted. Quota mode: none. Show mounted filesystems \(real ones only\): TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,noatime |-/boot/firmware /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro `-/opt/iobroker/backups //10.0.0.40/homes/backup/iobroker cifs rw,relatime,vers=3.0,cache=strict,username=Christian,domain=WORKGROUP,uid=1001,noforceuid,gid=1001,noforcegid,addr=10.0.0.40,file_mode=0777,dir_mode=0777,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1,closetimeo=1 Files in neuralgic directories: /var: 785M /var/ 442M /var/cache 436M /var/cache/apt 323M /var/cache/apt/archives 168M /var/lib Archived and active journals take up 72.2M in the file system. /opt/iobroker/backups: 471G /opt/iobroker/backups/ 48M /opt/iobroker/backups/iobroker_2023_11_21-02_40_20_Meine001Sicherung_backupiobroker/backup 48M /opt/iobroker/backups/iobroker_2023_11_21-02_40_20_Meine001Sicherung_backupiobroker 32M /opt/iobroker/backups/iobroker_2023_11_21-02_40_20_Meine001Sicherung_backupiobroker/backup/files 30M /opt/iobroker/backups/iobroker_2023_11_21-02_40_20_Meine001Sicherung_backupiobroker/backup/files/vis /opt/iobroker/iobroker-data: 586M /opt/iobroker/iobroker-data/ 462M /opt/iobroker/iobroker-data/files 123M /opt/iobroker/iobroker-data/files/vis-2 78M /opt/iobroker/iobroker-data/files/icons-open-icon-library-png 75M /opt/iobroker/iobroker-data/files/vis-2/static The five largest files in iobroker-data are: 96M /opt/iobroker/iobroker-data/objects.jsonl 21M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.aaea95f8.js.map 18M /opt/iobroker/iobroker-data/files/vis-2/static/js/main.05227d49.js.map 17M /opt/iobroker/iobroker-data/files/vis-2/static/js/main.49020daa.js.map 17M /opt/iobroker/iobroker-data/files/vis-2/customWidgets.js.map USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id': find: '/dev/serial/by-id/': No such file or directory *** NodeJS-Installation *** /usr/bin/nodejs v18.18.2 /usr/bin/node v18.18.2 /usr/bin/npm 9.8.1 /usr/bin/npx 9.8.1 /usr/bin/corepack 0.19.0 nodejs: Installed: 18.18.2-1nodesource1 Candidate: 18.18.2-1nodesource1 Version table: *** 18.18.2-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 100 /var/lib/dpkg/status 18.18.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.18.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.17.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.17.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.16.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.14.2-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.14.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.13.0+dfsg1-1 500 500 http://deb.debian.org/debian bookworm/main arm64 Packages 18.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.9.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages Temp directories causing npm8 problem: 0 No problems detected Errors in npm tree: *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl Core adapters versions js-controller: 5.0.16 admin: 6.12.0 javascript: 7.1.6 Adapters from github: 2 Adapter State + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.alexa2.0 : alexa2 : iobroker - enabled + system.adapter.backitup.0 : backitup : iobroker - enabled + system.adapter.bydhvs.0 : bydhvs : iobroker - enabled system.adapter.cloud.0 : cloud : iobroker - disabled + system.adapter.discovery.0 : discovery : iobroker - enabled + system.adapter.email.0 : email : iobroker - enabled + system.adapter.energiefluss.0 : energiefluss : iobroker - enabled + system.adapter.fronius-solarweb.0 : fronius-solarweb : iobroker - enabled + system.adapter.fronius.0 : fronius : iobroker - enabled + system.adapter.fullybrowser.0 : fullybrowser : iobroker - enabled + system.adapter.hs100.0 : hs100 : iobroker - enabled system.adapter.icons-addictive-flavour-png.0: icons-addictive-flavour-png: iobroker - disabled system.adapter.icons-fatcow-hosting.0 : icons-fatcow-hosting : iobroker - disabled system.adapter.icons-icons8.0 : icons-icons8 : iobroker - disabled system.adapter.icons-mfd-png.0 : icons-mfd-png : iobroker - disabled system.adapter.icons-mfd-svg.0 : icons-mfd-svg : iobroker - disabled system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png: iobroker - disabled system.adapter.icons-ultimate-png.0 : icons-ultimate-png : iobroker - disabled system.adapter.influxdb.0 : influxdb : iobroker - disabled, port: 8086 + system.adapter.javascript.0 : javascript : iobroker - enabled + system.adapter.linkeddevices.0 : linkeddevices : iobroker - enabled + system.adapter.modbus.0 : modbus : iobroker - enabled + system.adapter.modbus.1 : modbus : iobroker - enabled system.adapter.moma.0 : moma : iobroker - disabled + system.adapter.mqtt.0 : mqtt : iobroker - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.pi-hole.0 : pi-hole : iobroker - enabled + system.adapter.rpi2.0 : rpi2 : iobroker - enabled + system.adapter.sainlogic.0 : sainlogic : iobroker - enabled, port: 4500, bind: 0.0.0.0 + system.adapter.shelly.0 : shelly : iobroker - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.shelly.1 : shelly : iobroker - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.sonoff.0 : sonoff : iobroker - enabled, port: 1885, bind: 0.0.0.0 + system.adapter.synology.0 : synology : iobroker - enabled, port: 5000 system.adapter.vis-2-widgets-material.0 : vis-2-widgets-material: iobroker - disabled system.adapter.vis-2.0 : vis-2 : iobroker - disabled system.adapter.vis-bars.0 : vis-bars : iobroker - disabled system.adapter.vis-canvas-gauges.0 : vis-canvas-gauges : iobroker - disabled system.adapter.vis-fancyswitch.0 : vis-fancyswitch : iobroker - disabled system.adapter.vis-hqwidgets.0 : vis-hqwidgets : iobroker - disabled system.adapter.vis-icontwo.0 : vis-icontwo : iobroker - disabled + system.adapter.vis-inventwo.0 : vis-inventwo : iobroker - enabled system.adapter.vis-jqui-mfd.0 : vis-jqui-mfd : iobroker - disabled system.adapter.vis-justgage.0 : vis-justgage : iobroker - disabled system.adapter.vis-material-advanced.0 : vis-material-advanced : iobroker - disabled system.adapter.vis-metro.0 : vis-metro : iobroker - disabled system.adapter.vis-rgraph.0 : vis-rgraph : iobroker - disabled system.adapter.vis-timeandweather.0 : vis-timeandweather : iobroker - disabled system.adapter.vis-weather.0 : vis-weather : iobroker - disabled system.adapter.vis.0 : vis : 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.mqtt.0 : mqtt : iobroker - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.sainlogic.0 : sainlogic : iobroker - enabled, port: 4500, bind: 0.0.0.0 + system.adapter.shelly.0 : shelly : iobroker - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.shelly.1 : shelly : iobroker - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.sonoff.0 : sonoff : iobroker - enabled, port: 1885, bind: 0.0.0.0 + system.adapter.synology.0 : synology : iobroker - enabled, port: 5000 + system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin ioBroker-Repositories stable : http://repo.iobroker.live/sources-dist.json beta : http://repo.iobroker.live/sources-dist-latest.json Active repo(s): stable Installed ioBroker-Instances Used repository: stable Adapter "admin" : 6.12.0 , installed 6.12.0 Adapter "alexa2" : 3.26.1 , installed 3.26.1 Adapter "backitup" : 2.8.7 , installed 2.8.7 Adapter "bydhvs" : 1.5.0 , installed 1.5.0 Adapter "cloud" : 4.4.1 , installed 4.4.1 Adapter "device-reminder": 3.0.0 , installed 3.0.0 Adapter "discovery" : 4.2.0 , installed 4.2.0 Adapter "email" : 1.2.0 , installed 1.2.0 Adapter "fronius" : 2.0.2 , installed 2.0.2 Adapter "fronius-solarweb": 0.0.3 , installed 0.0.3 Adapter "fullybrowser" : 3.0.6 , installed 3.0.6 Adapter "hs100" : 2.2.0 , installed 2.2.0 Adapter "icons-addictive-flavour-png": 0.1.0, installed 0.1.0 Adapter "icons-fatcow-hosting": 0.1.0, installed 0.1.0 Adapter "icons-icons8" : 0.0.1 , installed 0.0.1 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.3 Adapter "icons-ultimate-png": 1.0.1, installed 1.0.1 Adapter "influxdb" : 3.2.0 , installed 3.2.0 Adapter "javascript" : 7.1.6 , installed 7.1.6 Controller "js-controller": 5.0.16 , installed 5.0.16 Adapter "linkeddevices": 1.5.5 , installed 1.5.5 Adapter "modbus" : 5.0.11 , installed 5.0.11 Adapter "moma" : 1.2.9 , installed 1.2.9 Adapter "mqtt" : 5.1.0 , installed 5.1.0 Adapter "pi-hole" : 1.3.6 , installed 1.3.6 Adapter "rpi2" : 1.3.2 , installed 1.3.2 Adapter "sainlogic" : 0.10.5 , installed 0.10.5 Adapter "shelly" : 6.6.1 , installed 6.6.1 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "socketio" : 6.6.0 , installed 6.6.0 Adapter "sonoff" : 3.0.3 , installed 3.0.3 Adapter "synology" : 3.0.1 , installed 3.0.1 Adapter "vis" : 1.4.16 , installed 1.5.1 Adapter "vis-bars" : 0.1.4 , installed 0.1.4 Adapter "vis-canvas-gauges": 1.0.1, installed 1.0.1 Adapter "vis-fancyswitch": 1.1.0 , installed 1.1.0 Adapter "vis-hqwidgets": 1.4.0 , installed 1.4.0 Adapter "vis-icontwo" : 0.97.1 , installed 0.97.1 Adapter "vis-inventwo" : 3.3.3 , installed 3.3.3 Adapter "vis-jqui-mfd" : 1.0.12 , installed 1.0.12 Adapter "vis-justgage" : 2.0.1 , installed 2.0.0 [Updatable] Adapter "vis-material-advanced": 1.7.4, installed 1.7.4 Adapter "vis-metro" : 1.2.0 , installed 1.2.0 Adapter "vis-rgraph" : 0.0.2 , installed 0.0.2 Adapter "vis-timeandweather": 1.2.2, installed 1.2.2 Adapter "vis-weather" : 2.5.6 , installed 2.5.6 Adapter "web" : 6.1.10 , installed 6.1.10 Adapter "ws" : 2.5.8 , installed 2.5.8 Objects and States Please stand by - This may take a while Objects: 10255 States: 8249 *** OS-Repositories and Updates *** W: https://packages.grafana.com/oss/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease Hit:5 https://repos.influxdata.com/debian bullseye InRelease Hit:6 https://packages.grafana.com/oss/deb stable InRelease Hit:7 https://deb.nodesource.com/node_18.x nodistro InRelease Reading package lists... W: https://packages.grafana.com/oss/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. 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:1882 0.0.0.0:* LISTEN 1001 59125 1613/io.shelly.1 tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN 1001 19643 989/io.mqtt.0 tcp 0 0 0.0.0.0:1885 0.0.0.0:* LISTEN 1001 19988 1086/io.sonoff.0 tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 16204 681/sshd: /usr/sbin tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 14044 804/iobroker.js-con tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 14037 804/iobroker.js-con tcp 0 0 0.0.0.0:4500 0.0.0.0:* LISTEN 1001 26916 1276/io.sainlogic.0 tcp6 0 0 :::8082 :::* LISTEN 1001 25059 1366/io.web.0 tcp6 0 0 :::8081 :::* LISTEN 1001 13232 859/io.admin.0 tcp6 0 0 :::8086 :::* LISTEN 999 263090 5729/influxd tcp6 0 0 :::3000 :::* LISTEN 106 14074 803/grafana tcp6 0 0 :::1875 :::* LISTEN 1001 24740 1243/io.fullybrowse tcp6 0 0 :::22 :::* LISTEN 0 16206 681/sshd: /usr/sbin udp 0 0 0.0.0.0:33647 0.0.0.0:* 104 13762 518/avahi-daemon: r udp 0 0 0.0.0.0:5353 0.0.0.0:* 104 13760 518/avahi-daemon: r udp 0 0 0.0.0.0:5683 0.0.0.0:* 1001 18986 1056/io.shelly.0 udp6 0 0 :::5353 :::* 104 13761 518/avahi-daemon: r udp6 0 0 :::34989 :::* 104 13763 518/avahi-daemon: r udp6 0 0 fe80::6309:a8e9:9c6:546 :::* 0 14942 634/NetworkManager *** Log File - Last 25 Lines *** /1024 2023-11-25 18:06:25.680 - error: rpi2.0 (1004) Cannot evaluate: Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 122563460 16948296 99373460 15% / /1024 2023-11-25 18:06:25.681 - error: rpi2.0 (1004) Cannot evaluate: Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 122563460 16948296 99373460 15% / /1024 2023-11-25 18:07:25.756 - error: rpi2.0 (1004) Cannot evaluate: Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 122563460 16948660 99373096 15% / /1024 2023-11-25 18:07:25.758 - error: rpi2.0 (1004) Cannot evaluate: Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 122563460 16948660 99373096 15% / /1024 2023-11-25 18:08:25.697 - error: rpi2.0 (1004) Cannot evaluate: Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 122563460 16949000 99372756 15% / /1024 2023-11-25 18:08:25.698 - error: rpi2.0 (1004) Cannot evaluate: Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 122563460 16949000 99372756 15% / /1024 2023-11-25 18:09:26.237 - error: rpi2.0 (1004) Cannot evaluate: Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 122563460 16949352 99372404 15% / /1024 2023-11-25 18:09:26.248 - error: rpi2.0 (1004) Cannot evaluate: Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 122563460 16949352 99372404 15% / /1024
============ Mark until here for C&P =============
-
@christian-5 sagte in Vis über npm gibt EHOSTUNREACH:
ABER ich bekomm mein influxdb über backitup nicht mehr zurückgespielt.
Für Garfana musst du einen neuen API Token erstellen und nutzen, für die Influxdb musst du ebenfalls den neuen Operator-Token in Backitup eintragen.
-
Schalt beim rpi2-Adapter das Dateisystem-Zeug vorübergehend aus.
Und leg das Grafana-Repository nochmal frisch an. -
@marc-berg sagte in Vis über npm gibt EHOSTUNREACH:
Für Garfana musst du
@Christian-5
...einen neuen Thread in offTopic aufmachen.
Hat mit diesem Thema nichts mehr zu tun. -
@thomas-braun sagte in Vis über npm gibt EHOSTUNREACH:
Grafana-Repository
meinst das hier: echo "deb https://packages.grafana.com/oss/deb stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
-
Jein. Der Key muss richtig gesetzt werden.
Schau hier rein:https://forum.iobroker.net/topic/59231/phantastische-repositories-und-wo-sie-zu-finden-sind
-
@thomas-braun sagte in Vis über npm gibt EHOSTUNREACH:
Jein. Der Key muss richtig gesetzt werden. --> ich versteh schon wieder nur Bahnhof welcher key in grafana Api Key wie bekomm ich den aus grafana
grafana und influxdb sind verbundenhttps://forum.iobroker.net/topic/59231/phantastische-repositories-und-wo-sie-zu-finden-sind
-->Muss ich da alle 4 Zeilen... -
Der Key für das Repository. Hat mit dem Zugang zu influxdb oder grafana nix zu tun.
Ja, alle vier Zeilen in dein Terminal reinkopieren.
-
@thomas-braun Danke, aber bei den backitup Einstellungen unter grafana wird ja auch ein Api key verlangt muss ich den auch neu eingeben, aber von wo her bekommen?
-
Ich hab von grafana / influxdb keine Ahnung, was die diversen Tokens dort angeht.
-
@homoran sagte in Influx/Grafana Probleme:
@marc-berg sagte in Vis über npm gibt EHOSTUNREACH:
Für Garfana musst du
@Christian-5
...einen neuen Thread in offTopic aufmachen.
Hat mit diesem Thema nichts mehr zu tun.@Christian-0 Nachdem du das nicht gemacht hast, habe ich diesen Part jetzt abgespalten und verschoben!
Bitte noch den provisorischen Threadtitel sinnvoll anpassen.
-
@homoran sagte in Influx/Grafana Probleme:
@homoran sagte in Influx/Grafana Probleme:
@marc-berg sagte in Vis über npm gibt EHOSTUNREACH:
Für Garfana musst du
@Christian-5
...einen neuen Thread in offTopic aufmachen.
Hat mit diesem Thema nichts mehr zu tun.@Christian-0 Nachdem du das nicht gemacht hast, habe ich diesen Part jetzt abgespalten und verschoben!
Danke! -
@christian-5 nach dem grafana backup diese Meldung:
code_text ```Started restore ... [DEBUG] [grafana] - Start Grafana Restore ... [DEBUG] [grafana] - filename for restore: /opt/iobroker/backups/grafana_2023_11_23-04_46_57_Meine001Sicherung_backupiobroker.tar.gz [DEBUG] [grafana] - Grafana tmp directory created: /opt/iobroker/backups/grafana_tmp [DEBUG] [grafana] - start decompress [DEBUG] [grafana] - Grafana request started [DEBUG] [grafana] - Grafana is available ... Status: 200 [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/datasource/InfluxDB-1.json [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/datasource/InfluxDB.json [DEBUG] [grafana] - cannot restore datasource "InfluxDB": "data source with the same name already exists" [DEBUG] [grafana] - cannot restore datasource "InfluxDB-1": "data source with the same name already exists" [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/dashboard-alles-mogliche-1woche.json [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/kurven-1jahr.json [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/pv1-pv2-leistung-1tag.json [DEBUG] [grafana] - cannot restore dashboard "dashboard-alles-mogliche-1woche": {"extra":null,"message":"organization not found","messageId":"org.notFound","statusCode":404,"traceID":""} [DEBUG] [grafana] - cannot restore dashboard "kurven-1jahr": {"extra":null,"message":"organization not found","messageId":"org.notFound","statusCode":404,"traceID":""} [DEBUG] [grafana] - cannot restore dashboard "pv1-pv2-leistung-1tag": {"extra":null,"message":"organization not found","messageId":"org.notFound","statusCode":404,"traceID":""} [DEBUG] [grafana] - Grafana request ended [DEBUG] [grafana] - Try deleting the Grafana tmp directory [DEBUG] [grafana] - Grafana tmp directory was successfully deleted [DEBUG] [grafana] - Grafana Restore completed successfully [EXIT] Grafana restore done
-
Bitte noch den provisorischen Threadtitel sinnvoll anpassen.
aber wie?
-
@christian-5 sagte in Influx/Grafana Probleme:
data source with the same name already exists
Du musst die Buckets manuell vor dem Restore löschen und am besten die Adapter stoppen, damit nicht gleich wieder Daten reinfliegen. Die entsprechende Funktion in den Backitup Einstellungen funktioniert nicht (immer?).
-
-
@marc-berg danke, bucket in influx gelöscht, influx neu gestartet Adapter deaktiviert:
code_text ```Started restore ... [DEBUG] [influxDB] - Created tmp directory [DEBUG] [influxDB] - Start infuxDB Restore ... [ERROR] [influxDB] - 2023/11/25 21:07:12 INFO: Restoring bucket "9d69ae680368264c" as "iobroker" Error: failed to restore bucket "iobroker": 401 Unauthorized: read:authorizations is unauthorized [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted [DEBUG] [influxDB] - infuxDB Restore completed successfully [EXIT] influxDB restore done
-
@christian-5 sagte in mit backitup kein Influxdb und Grafana backup möglich:
401 Unauthorized: read:authorizations is unauthorized
Du benutzt einen falschen Token.
-
@marc-berg neuen Token eingetragen und wieder das gleiche Ergebnis... ich bin zu blöd
-
@christian-5 und in grafana das selbe jetzt hab ich den inhalt im Ordner /opt/iobroker/iobroker-data/backup-objects gelöscht, schau ma amoal
code_text ```Started restore ... [DEBUG] [grafana] - Start Grafana Restore ... [DEBUG] [grafana] - filename for restore: /opt/iobroker/backups/grafana_2023_11_23-04_46_57_Meine001Sicherung_backupiobroker.tar.gz [DEBUG] [grafana] - Grafana tmp directory created: /opt/iobroker/backups/grafana_tmp [DEBUG] [grafana] - start decompress [DEBUG] [grafana] - Grafana request started [DEBUG] [grafana] - Grafana is available ... Status: 200 [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/datasource/InfluxDB-1.json [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/datasource/InfluxDB.json [DEBUG] [grafana] - cannot restore datasource "InfluxDB-1": "data source with the same name already exists" [DEBUG] [grafana] - cannot restore datasource "InfluxDB": "data source with the same name already exists" [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/dashboard-alles-mogliche-1woche.json [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/kurven-1jahr.json [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/pv1-pv2-leistung-1tag.json [DEBUG] [grafana] - cannot restore dashboard "pv1-pv2-leistung-1tag": {"extra":null,"message":"organization not found","messageId":"org.notFound","statusCode":404,"traceID":""} [DEBUG] [grafana] - cannot restore dashboard "kurven-1jahr": {"extra":null,"message":"organization not found","messageId":"org.notFound","statusCode":404,"traceID":""} [DEBUG] [grafana] - cannot restore dashboard "dashboard-alles-mogliche-1woche": {"extra":null,"message":"organization not found","messageId":"org.notFound","statusCode":404,"traceID":""} [DEBUG] [grafana] - Grafana request ended [DEBUG] [grafana] - Try deleting the Grafana tmp directory [DEBUG] [grafana] - Grafana tmp directory was successfully deleted [DEBUG] [grafana] - Grafana Restore completed successfully [EXIT] Grafana restore done
code_text
[DEBUG] [grafana] - cannot restore datasource "InfluxDB": "data source with the same name already exists" ich hab die beiden daten Quellen in Grafana aber gelöscht.