NEWS
Backitup Problem mit Grafana
-
versionsinfos:
proxmox 8.0.4
debian 6.1.38-4
iobroker 6.8.0
backitup 2.6.23
influxdb 1.6.7
grafana 10.1.1ausgangssituation:
-neu installierte debian vm unter proxmox
-iobroker drauf
-influxdb drauf
-grafana drauf-im iobroker influx adapter
-im iobroker backitup adapterfolgendes problem bekomme ich nun nicht gelöst:
prinzipiell funktioniert der backitup adapter, also er sichert die iobroker und influx daten.
nur im grafana backup teil tauchen fehler auf, die ich nicht behoben bekomme.Started iobroker ... [DEBUG] [iobroker] start with {"type":"creator","workDir":"/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js","time":"02:40","debugging":true,"slaveBackup":"Single","everyXDays":"4","deleteBackupAfter":0,"ftp":{"enabled":true,"type":"storage","source":"ftp","host":"www.myurl.de","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/","dirMinimal":"/backupDir/iobroker","user":"myuser","pass":"****","port":"21","secure":false,"signedCertificates":true,"ignoreErrors":false},"ignoreErrors":false,"dir":"/opt/iobroker","influxDB":{"enabled":true,"type":"creator","ftp":{"enabled":true,"type":"storage","source":"ftp","host":"www.myurl.de","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/","dirMinimal":"/backupDir/iobroker","user":"myuser","pass":"****","port":"21","secure":false,"signedCertificates":true,"ignoreErrors":false},"cifs":{"enabled":false,"mountType":"Copy","type":"storage","source":"ftp","mount":"localhost","debugging":true,"fileDir":"/opt/iobroker/iobroker-data/backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=3.1.1","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"dir":"/mnt/stick32gb/","dirMinimal":"sharename/backupDir","user":"","pass":"****","ignoreErrors":false},"dropbox":{"enabled":false,"type":"storage","source":"ftp","debugging":true,"deleteOldBackup":false,"accessToken":"****","dropboxAccessJson":"","dropboxTokenType":"custom","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","ignoreErrors":false},"onedrive":{"enabled":false,"type":"storage","source":"ftp","debugging":true,"deleteOldBackup":false,"onedriveAccessJson":"****","ownDir":false,"dir":"backupDir","dirMinimal":"backupDir/iobroker","ignoreErrors":false},"webdav":{"enabled":false,"type":"storage","source":"ftp","debugging":true,"deleteOldBackup":false,"username":"username","pass":"****","url":"https://example.com/remote.php/dav/files/username/","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","signedCertificates":true,"ignoreErrors":false},"googledrive":{"enabled":false,"type":"storage","source":"ftp","debugging":true,"deleteOldBackup":false,"newToken":false,"ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","ignoreErrors":false,"accessJson":"****"},"nameSuffix":"","slaveSuffix":"","hostType":"Single","deleteBackupAfter":5,"dbName":"iobroker","host":"localhost","port":"8088","dbversion":"1.x","token":"","protocol":"http","exe":"","dbType":"local","influxDBEvents":[],"influxDBMulti":false,"ignoreErrors":false,"deleteDataBase":false},"grafana":{"enabled":true,"type":"creator","ftp":{"enabled":true,"type":"storage","source":"ftp","host":"www.myurl.de","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/","dirMinimal":"/backupDir/iobroker","user":"myuser","pass":"****","port":"21","secure":false,"signedCertificates":true,"ignoreErrors":false},"cifs":{"enabled":false,"mountType":"Copy","type":"storage","source":"ftp","mount":"localhost","debugging":true,"fileDir":"/opt/iobroker/iobroker-data/backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=3.1.1","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"dir":"/mnt/stick32gb/","dirMinimal":"sharename/backupDir","user":"","pass":"****","ignoreErrors":false},"dropbox":{"enabled":false,"type":"storage","source":"ftp","debugging":true,"deleteOldBackup":false,"accessToken":"****","dropboxAccessJson":"","dropboxTokenType":"custom","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","ignoreErrors":false},"onedrive":{"enabled":false,"type":"storage","source":"ftp","debugging":true,"deleteOldBackup":false,"onedriveAccessJson":"****","ownDir":false,"dir":"backupDir","dirMinimal":"backupDir/iobroker","ignoreErrors":false},"webdav":{"enabled":false,"type":"storage","source":"ftp","debugging":true,"deleteOldBackup":false,"username":"username","pass":"****","url":"https://example.com/remote.php/dav/files/username/","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","signedCertificates":true,"ignoreErrors":false},"googledrive":{"enabled":false,"type":"storage","source":"ftp","debugging":true,"deleteOldBackup":false,"newToken":false,"ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","ignoreErrors":false,"accessJson":"****"},"host":"iobroker.fritz.box","port":"3000","protocol":"http","username":"iobroker","pass":"****","apiKey":"****","nameSuffix":"","slaveSuffix":"","hostType":"Single","ignoreErrors":false,"signedCertificates":true},"historyHTML":{"enabled":true,"type":"message","entriesNumber":"25","ignoreErrors":false,"systemLang":"de"},"historyJSON":{"enabled":true,"type":"message","entriesNumber":"25","ignoreErrors":false,"systemLang":"de"},"signal":{"enabled":false,"notificationsType":"Telegram","type":"message","instance":"","NoticeType":"longSignalNotice","onlyError":false,"signalWaiting":0,"hostName":"","ignoreErrors":false,"systemLang":"de"},"matrix":{"enabled":false,"notificationsType":"Telegram","type":"message","instance":"","NoticeType":"longMatrixNotice","onlyError":false,"matrixWaiting":0,"hostName":"","ignoreErrors":false,"systemLang":"de"},"backupDir":"/opt/iobroker/backups"} [DEBUG] [iobroker] - host.iobroker 2455 states saved [DEBUG] [iobroker] - host.iobroker 3358 objects saved [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2023_09_10-09_33_24_backupiobroker.tar.gz [DEBUG] [iobroker] - done [DEBUG] [influxDB] - InfluxDB-Backup started ... [DEBUG] [influxDB] - Start InfluxDB Backup ... [DEBUG] [influxDB] - InfluxDB Backup tmp directory created [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2023_09_10-09_33_28_backupiobroker.tar.gz [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2023_09_10-09_33_28_backupiobroker" [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2023_09_10-09_33_28_backupiobroker" successfully deleted [DEBUG] [influxDB] - InfluxDB-Backup for is finish [DEBUG] [influxDB] - done [DEBUG] [grafana] - Start Grafana Backup ... [DEBUG] [grafana] - Created grafana_tmp directory: "/opt/iobroker/backups/grafana_tmp" [DEBUG] [grafana] - Created dashboard directory [DEBUG] [grafana] - Created dashboards_manually_restore directory [DEBUG] [grafana] - Created datasource directory [DEBUG] [grafana] - start Grafana request ... [DEBUG] [grafana] - Grafana is available ... Status: 200 [ERROR] [grafana] - Error on Grafana Datasource Request [DEBUG] [grafana] - found Dashboard: zahlerstande [DEBUG] [grafana] - found Dashboard: junkers [DEBUG] [grafana] - found Dashboard: vallox [DEBUG] [grafana] - found Dashboard: tests [DEBUG] [grafana] - found Dashboard: temperaturen [DEBUG] [grafana] - found Dashboard: lowbat [DEBUG] [grafana] - found Dashboard: sma [DEBUG] [grafana] - found Dashboard: stromzahler [DEBUG] [grafana] - start Grafana backup compress ... [DEBUG] [grafana] - Try deleting the Grafana tmp directory: "/opt/iobroker/backups/grafana_tmp" [DEBUG] [grafana] - Grafana tmp directory "/opt/iobroker/backups/grafana_tmp" successfully deleted [ERROR] [grafana] - cannot found Grafana Backup files [DEBUG] [grafana] - done [DEBUG] [ftp] - FTP connected. [DEBUG] [ftp] - Send iobroker_2023_09_10-09_33_24_backupiobroker.tar.gz [DEBUG] [ftp] start with {"type":"storage","source":"ftp","host":"www.myurl.de","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/","dirMinimal":"/backupDir/iobroker","user":"myuser","pass":"****","port":"21","secure":false,"signedCertificates":true,"ignoreErrors":false,"deleteBackupAfter":0} [DEBUG] [ftp] - Send influxDB_2023_09_10-09_33_28_backupiobroker.tar.gz [DEBUG] [ftp] - done [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors. [DEBUG] [clean] - done [DEBUG] [historyHTML] - new history html values created [DEBUG] [historyHTML] - done [DEBUG] [historyHTML] start with {"type":"creator","workDir":"/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js","time":"02:40","debugging":true,"slaveBackup":"Single","everyXDays":"4","deleteBackupAfter":0,"ftp":{"enabled":true,"type":"storage","source":"ftp","host":"www.myurl.de","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/","dirMinimal":"/backupDir/iobroker","user":"myuser","pass":"****","port":"21","secure":false,"signedCertificates":true,"ignoreErrors":false},"ignoreErrors":false,"dir":"/opt/iobroker","influxDB":{"enabled":true,"type":"creator","ftp":{"enabled":true,"type":"storage","source":"ftp","host":"www.myurl.de","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/","dirMinimal":"/backupDir/iobroker","user":"myuser","pass":"****","port":"21","secure":false,"signedCertificates":true,"ignoreErrors":false},"cifs":{"enabled":false,"mountType":"Copy","type":"storage","source":"ftp","mount":"localhost","debugging":true,"fileDir":"/opt/iobroker/iobroker-data/backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=3.1.1","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"dir":"/mnt/stick32gb/","dirMinimal":"sharename/backupDir","user":"","pass":"****","ignoreErrors":false},"dropbox":{"enabled":false,"type":"storage","source":"ftp","debugging":true,"deleteOldBackup":false,"accessToken":"****","dropboxAccessJson":"","dropboxTokenType":"custom","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","ignoreErrors":false},"onedrive":{"enabled":false,"type":"storage","source":"ftp","debugging":true,"deleteOldBackup":false,"onedriveAccessJson":"****","ownDir":false,"dir":"backupDir","dirMinimal":"backupDir/iobroker","ignoreErrors":false},"webdav":{"enabled":false,"type":"storage","source":"ftp","debugging":true,"deleteOldBackup":false,"username":"username","pass":"****","url":"https://example.com/remote.php/dav/files/username/","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","signedCertificates":true,"ignoreErrors":false},"googledrive":{"enabled":false,"type":"storage","source":"ftp","debugging":true,"deleteOldBackup":false,"newToken":false,"ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","ignoreErrors":false,"accessJson":"****"},"nameSuffix":"","slaveSuffix":"","hostType":"Single","deleteBackupAfter":5,"dbName":"iobroker","host":"localhost","port":"8088","dbversion":"1.x","token":"","protocol":"http","exe":"","dbType":"local","influxDBEvents":[],"influxDBMulti":false,"ignoreErrors":false,"deleteDataBase":false},"grafana":{"enabled":true,"type":"creator","ftp":{"enabled":true,"type":"storage","source":"ftp","host":"www.myurl.de","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/","dirMinimal":"/backupDir/iobroker","user":"myuser","pass":"****","port":"21","secure":false,"signedCertificates":true,"ignoreErrors":false},"cifs":{"enabled":false,"mountType":"Copy","type":"storage","source":"ftp","mount":"localhost","debugging":true,"fileDir":"/opt/iobroker/iobroker-data/backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=3.1.1","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"dir":"/mnt/stick32gb/","dirMinimal":"sharename/backupDir","user":"","pass":"****","ignoreErrors":false},"dropbox":{"enabled":false,"type":"storage","source":"ftp","debugging":true,"deleteOldBackup":false,"accessToken":"****","dropboxAccessJson":"","dropboxTokenType":"custom","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","ignoreErrors":false},"onedrive":{"enabled":false,"type":"storage","source":"ftp","debugging":true,"deleteOldBackup":false,"onedriveAccessJson":"****","ownDir":false,"dir":"backupDir","dirMinimal":"backupDir/iobroker","ignoreErrors":false},"webdav":{"enabled":false,"type":"storage","source":"ftp","debugging":true,"deleteOldBackup":false,"username":"username","pass":"****","url":"https://example.com/remote.php/dav/files/username/","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","signedCertificates":true,"ignoreErrors":false},"googledrive":{"enabled":false,"type":"storage","source":"ftp","debugging":true,"deleteOldBackup":false,"newToken":false,"ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","ignoreErrors":false,"accessJson":"****"},"host":"iobroker.fritz.box","port":"3000","protocol":"http","username":"iobroker","pass":"****","apiKey":"****","nameSuffix":"","slaveSuffix":"","hostType":"Single","ignoreErrors":false,"signedCertificates":true},"historyHTML":{"enabled":true,"type":"message","entriesNumber":"25","ignoreErrors":false,"systemLang":"de","time":"10. September 2023 um 09:33 Uhr"},"historyJSON":{"enabled":true,"type":"message","entriesNumber":"25","ignoreErrors":false,"systemLang":"de"},"signal":{"enabled":false,"notificationsType":"Telegram","type":"message","instance":"","NoticeType":"longSignalNotice","onlyError":false,"signalWaiting":0,"hostName":"","ignoreErrors":false,"systemLang":"de"},"matrix":{"enabled":false,"notificationsType":"Telegram","type":"message","instance":"","NoticeType":"longMatrixNotice","onlyError":false,"matrixWaiting":0,"hostName":"","ignoreErrors":false,"systemLang":"de"},"backupDir":"/opt/iobroker/backups","influxDBEvents":[],"mySqlEvents":[],"pgSqlEvents":[]} [DEBUG] [historyJSON] - new history json values created [DEBUG] [historyJSON] - done [DEBUG] [historyJSON] start with {"type":"creator","workDir":"/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js","time":"02:40","debugging":true,"slaveBackup":"Single","everyXDays":"4","deleteBackupAfter":0,"ftp":{"enabled":true,"type":"storage","source":"ftp","host":"www.myurl.de","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/","dirMinimal":"/backupDir/iobroker","user":"myuser","pass":"****","port":"21","secure":false,"signedCertificates":true,"ignoreErrors":false},"ignoreErrors":false,"dir":"/opt/iobroker","influxDB":{"enabled":true,"type":"creator","ftp":{"enabled":true,"type":"storage","source":"ftp","host":"www.myurl.de","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/","dirMinimal":"/backupDir/iobroker","user":"myuser","pass":"****","port":"21","secure":false,"signedCertificates":true,"ignoreErrors":false},"cifs":{"enabled":false,"mountType":"Copy","type":"storage","source":"ftp","mount":"localhost","debugging":true,"fileDir":"/opt/iobroker/iobroker-data/backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=3.1.1","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"dir":"/mnt/stick32gb/","dirMinimal":"sharename/backupDir","user":"","pass":"****","ignoreErrors":false},"dropbox":{"enabled":false,"type":"storage","source":"ftp","debugging":true,"deleteOldBackup":false,"accessToken":"****","dropboxAccessJson":"","dropboxTokenType":"custom","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","ignoreErrors":false},"onedrive":{"enabled":false,"type":"storage","source":"ftp","debugging":true,"deleteOldBackup":false,"onedriveAccessJson":"****","ownDir":false,"dir":"backupDir","dirMinimal":"backupDir/iobroker","ignoreErrors":false},"webdav":{"enabled":false,"type":"storage","source":"ftp","debugging":true,"deleteOldBackup":false,"username":"username","pass":"****","url":"https://example.com/remote.php/dav/files/username/","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","signedCertificates":true,"ignoreErrors":false},"googledrive":{"enabled":false,"type":"storage","source":"ftp","debugging":true,"deleteOldBackup":false,"newToken":false,"ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","ignoreErrors":false,"accessJson":"****"},"nameSuffix":"","slaveSuffix":"","hostType":"Single","deleteBackupAfter":5,"dbName":"iobroker","host":"localhost","port":"8088","dbversion":"1.x","token":"","protocol":"http","exe":"","dbType":"local","influxDBEvents":[],"influxDBMulti":false,"ignoreErrors":false,"deleteDataBase":false},"grafana":{"enabled":true,"type":"creator","ftp":{"enabled":true,"type":"storage","source":"ftp","host":"www.myurl.de","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/","dirMinimal":"/backupDir/iobroker","user":"myuser","pass":"****","port":"21","secure":false,"signedCertificates":true,"ignoreErrors":false},"cifs":{"enabled":false,"mountType":"Copy","type":"storage","source":"ftp","mount":"localhost","debugging":true,"fileDir":"/opt/iobroker/iobroker-data/backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=3.1.1","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"dir":"/mnt/stick32gb/","dirMinimal":"sharename/backupDir","user":"","pass":"****","ignoreErrors":false},"dropbox":{"enabled":false,"type":"storage","source":"ftp","debugging":true,"deleteOldBackup":false,"accessToken":"****","dropboxAccessJson":"","dropboxTokenType":"custom","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","ignoreErrors":false},"onedrive":{"enabled":false,"type":"storage","source":"ftp","debugging":true,"deleteOldBackup":false,"onedriveAccessJson":"****","ownDir":false,"dir":"backupDir","dirMinimal":"backupDir/iobroker","ignoreErrors":false},"webdav":{"enabled":false,"type":"storage","source":"ftp","debugging":true,"deleteOldBackup":false,"username":"username","pass":"****","url":"https://example.com/remote.php/dav/files/username/","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","signedCertificates":true,"ignoreErrors":false},"googledrive":{"enabled":false,"type":"storage","source":"ftp","debugging":true,"deleteOldBackup":false,"newToken":false,"ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","ignoreErrors":false,"accessJson":"****"},"host":"iobroker.fritz.box","port":"3000","protocol":"http","username":"iobroker","pass":"****","apiKey":"****","nameSuffix":"","slaveSuffix":"","hostType":"Single","ignoreErrors":false,"signedCertificates":true},"historyHTML":{"enabled":true,"type":"message","entriesNumber":"25","ignoreErrors":false,"systemLang":"de"},"historyJSON":{"enabled":true,"type":"message","entriesNumber":"25","ignoreErrors":false,"systemLang":"de","time":"10. September 2023 um 09:33 Uhr"},"signal":{"enabled":false,"notificationsType":"Telegram","type":"message","instance":"","NoticeType":"longSignalNotice","onlyError":false,"signalWaiting":0,"hostName":"","ignoreErrors":false,"systemLang":"de"},"matrix":{"enabled":false,"notificationsType":"Telegram","type":"message","instance":"","NoticeType":"longMatrixNotice","onlyError":false,"matrixWaiting":0,"hostName":"","ignoreErrors":false,"systemLang":"de"},"backupDir":"/opt/iobroker/backups","influxDBEvents":[],"mySqlEvents":[],"pgSqlEvents":[]} [EXIT] 0
was habe ich versucht bisher?
-grafana service account mehrfach neu erstellt, incl. token und rolle admin
-backitup adapter entfernt + neu installiert + konfiguriert
-backitup konfig für grafana mit hostname/localhost/127.0.01 getestet
-backitup konfig für grafana api key mehrfach neu vergebenwas mich völlig ratlos macht ist, das er augenscheinlich verbindung zu grafana aufnehmen kann,
er findet ja die dashboards, aber dann trotzdem abbricht mit fehler.[DEBUG] [grafana] - Start Grafana Backup ... [DEBUG] [grafana] - Created grafana_tmp directory: "/opt/iobroker/backups/grafana_tmp" [DEBUG] [grafana] - Created dashboard directory [DEBUG] [grafana] - Created dashboards_manually_restore directory [DEBUG] [grafana] - Created datasource directory [DEBUG] [grafana] - start Grafana request ... [DEBUG] [grafana] - Grafana is available ... Status: 200 [ERROR] [grafana] - Error on Grafana Datasource Request [DEBUG] [grafana] - found Dashboard: zahlerstande [DEBUG] [grafana] - found Dashboard: junkers [DEBUG] [grafana] - found Dashboard: vallox [DEBUG] [grafana] - found Dashboard: tests [DEBUG] [grafana] - found Dashboard: temperaturen [DEBUG] [grafana] - found Dashboard: lowbat [DEBUG] [grafana] - found Dashboard: sma [DEBUG] [grafana] - found Dashboard: stromzahler [DEBUG] [grafana] - start Grafana backup compress ... [DEBUG] [grafana] - Try deleting the Grafana tmp directory: "/opt/iobroker/backups/grafana_tmp" [DEBUG] [grafana] - Grafana tmp directory "/opt/iobroker/backups/grafana_tmp" successfully deleted [ERROR] [grafana] - cannot found Grafana Backup files [DEBUG] [grafana] - done
grafana selber funktioniert natürlich generell, also ist normal nutzbar.
wäre nett, wenn da jemand einen hilfreichen hinweis für mich hat, danke..
-
@hbrockmann sagte in Backitup Problem mit Grafana:
wäre nett, wenn da jemand einen hilfreichen hinweis für mich hat, danke..
Nicht mehr als eine Vermutung: Da die Dashboards ja scheinbar gesichert werden können, scheinen ja die Rechte zu passen. Es könnten Umlaute, Sonderzeichen, Leerzeichen in den Datasource-Namen (die ja auch gesichert werden) die Ursache sein.
-
@marc-berg
die datasource namen werden doch aber automatisch aus den iobroker object pfaden und id's gebildet?hab mal im iobroker den objektbaum nach umlauten gefiltert, da sind definitiv keine umlaute drin.
-
@hbrockmann sagte in Backitup Problem mit Grafana:
die datasource namen werden doch aber automatisch aus den iobroker object pfaden und id's gebildet?
Nein, ich meine die Data sources in Grafana:
-
@marc-berg
da gibt es bei mir nur einen datasource und zwar eine influxdb
in deren konfiguration aber auch keinerlei umlaute/sonderzeichen/leerzeichen enthalten sind.ein test des datasources gibt folgendes aus:
"datasource is working. 79 measurements found" -
Welcher Benutzer meldet sich an Grafana an? Ich hatte mal gelesen, dass es der admin User sein sollte.
-
@marc-berg
also der service account mit dem token im grafana heisst bei mir "iobroker".aber da er die dashboards doch findet, muss er mit dem user doch zugreifen können?
-
@hbrockmann sagte in Backitup Problem mit Grafana:
@marc-berg
also der service account mit dem token im grafana heisst bei mir "iobroker".aber da er die dashboards doch findet, muss er mit dem user doch zugreifen können?
Es gibt Service Accounts,
und es gibt User:
Ich meinte den USER, den man bei Backitup einträgt. Und hier sollte man den User "admin" nehmen. Ob auch andere User funktionieren, habe ich noch nicht getestet. Eigentlich gibt es für mich keinen offensichtlichen Grund, warum das nicht mit anderen Usern funktionieren sollte.
-
@marc-berg sagte in Backitup Problem mit Grafana:
Eigentlich gibt es für mich keinen offensichtlichen Grund, warum das nicht mit anderen Usern funktionieren sollte.
Moin,
es gibt ein sehr ausgeklügeltes Rechtesystem in Grafana, über User, Rollen, Organisationen, Teams oder
RBAC
.Ist ein weites Feld und kann man sich in der Grafana Dokumentation anschauen, z. B. https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/
VG
Bernd -
@marc-berg said in Backitup Problem mit Grafana:
Ich meinte den USER, den man bei Backitup einträgt. Und hier sollte man den User "admin" nehmen. Ob auch andere User funktionieren, habe ich noch nicht getestet. Eigentlich gibt es für mich keinen offensichtlichen Grund, warum das nicht mit anderen Usern funktionieren sollte.
mit dem user admin geht es wirklich, danke..!
auch wenn es echt verwirrend ist, das in den backitup einstellungen dann der service-token aus einem anderen account verwendet wird.
aber wie war das, man muss nicht alles verstehen? -
@hbrockmann sagte in Backitup Problem mit Grafana:
@marc-berg said in Backitup Problem mit Grafana:
Ich meinte den USER, den man bei Backitup einträgt. Und hier sollte man den User "admin" nehmen. Ob auch andere User funktionieren, habe ich noch nicht getestet. Eigentlich gibt es für mich keinen offensichtlichen Grund, warum das nicht mit anderen Usern funktionieren sollte.
mit dem user admin geht es wirklich, danke..!
auch wenn es echt verwirrend ist, das in den backitup einstellungen dann der service-token aus einem anderen account verwendet wird.
aber wie war das, man muss nicht alles verstehen?Ja das ist leider in Grafana so... Sowohl der Token muss in der Admin Rolle sein, als auch der User muss die vollen Admin Rechte haben.
https://github.com/simatec/ioBroker.backitup/wiki/ioBroker.backitup-Wiki-Deutsch#grafana-backup