Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Backitup und Grafana

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Backitup und Grafana

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      steimi last edited by steimi

      Hallo,

      seit dem Update auf Backitup 2.6.9/2.6.10/2.6.11 kommt es zum Fehler/Fehlermeldung beim Grafana Backup. Mit der 2.6.8 läuft dies ohne Probleme

      @simatec

      
      backitup.0
      2023-03-12 07:23:33.608	debug	The local storage check was completed successfully. On the host "iobroker" are currently 22899 MB free space available!
      
      backitup.0
      2023-03-12 07:23:14.977	debug	The local storage check was completed successfully. On the host "iobroker" are currently 22899 MB free space available!
      
      backitup.0
      2023-03-12 07:19:53.850	debug	[iobroker] exec: done
      
      backitup.0
      2023-03-12 07:19:53.699	debug	[iobroker/umount] done
      
      backitup.0
      2023-03-12 07:19:53.698	debug	[iobroker/umount] umount successfully completed
      
      backitup.0
      2023-03-12 07:19:48.678	debug	[iobroker/umount] mount activ, umount is started ...
      
      backitup.0
      2023-03-12 07:19:48.520	debug	[iobroker/historyJSON] done
      
      backitup.0
      2023-03-12 07:19:48.519	debug	[iobroker/historyJSON] new history json values created
      
      backitup.0
      2023-03-12 07:19:48.365	debug	[iobroker/historyHTML] done
      
      backitup.0
      2023-03-12 07:19:48.364	debug	[iobroker/historyHTML] new history html values created
      
      backitup.0
      2023-03-12 07:19:47.760	debug	[iobroker/pushover] done
      
      backitup.0
      2023-03-12 07:19:47.299	debug	[iobroker/clean] done
      
      backitup.0
      2023-03-12 07:19:47.299	error	[iobroker/clean] Backup files not deleted from /opt/iobroker/backups because some errors.
      
      backitup.0
      2023-03-12 07:19:46.697	debug	[iobroker/cifs] done
      
      backitup.0
      2023-03-12 07:19:46.696	debug	[iobroker/cifs] used copy path: /backups/iobroker-01/backup
      
      backitup.0
      2023-03-12 07:19:45.493	debug	[iobroker/grafana] done
      
      backitup.0
      2023-03-12 07:19:45.493	debug	[iobroker/grafana] cannot found Grafana Backup files
      
      backitup.0
      2023-03-12 07:19:45.493	debug	[iobroker/grafana] Grafana tmp directory "/opt/iobroker/backups/grafana_tmp" successfully deleted
      
      backitup.0
      2023-03-12 07:19:45.463	debug	[iobroker/grafana] Try deleting the Grafana tmp directory: "/opt/iobroker/backups/grafana_tmp"
      
      backitup.0
      2023-03-12 07:19:45.460	debug	[iobroker/grafana] start Grafana backup compress ...
      
      backitup.0
      2023-03-12 07:19:45.438	debug	[iobroker/grafana] found Dashboard: fussbodenheizung-aktoren
      
      backitup.0
      2023-03-12 07:19:45.436	debug	[iobroker/grafana] found Dashboard: proxmox
      
      backitup.0
      2023-03-12 07:19:45.429	debug	[iobroker/grafana] found Dashboard: homematic-dutycycle
      
      backitup.0
      2023-03-12 07:19:45.427	debug	[iobroker/grafana] found Dashboard: wetter
      
      backitup.0
      2023-03-12 07:19:45.425	debug	[iobroker/grafana] found Dashboard: whirlpool
      
      backitup.0
      2023-03-12 07:19:45.422	debug	[iobroker/grafana] found Dashboard: mahroboter
      
      backitup.0
      2023-03-12 07:19:45.406	debug	[iobroker/grafana] found Dashboard: general-alerting
      
      backitup.0
      2023-03-12 07:19:45.207	debug	[iobroker/grafana] Error on Grafana Datasource Request
      
      backitup.0
      2023-03-12 07:19:45.162	debug	[iobroker/grafana] Grafana is available ... Status: 200
      
      backitup.0
      2023-03-12 07:19:45.052	debug	[iobroker/grafana] start Grafana request ...
      
      backitup.0
      2023-03-12 07:19:45.051	debug	[iobroker/grafana] Created datasource directory
      
      backitup.0
      2023-03-12 07:19:45.048	debug	[iobroker/grafana] Created dashboards_manually_restore directory
      
      backitup.0
      2023-03-12 07:19:45.044	debug	[iobroker/grafana] Created dashboard directory
      
      backitup.0
      2023-03-12 07:19:45.042	debug	[iobroker/grafana] Created grafana_tmp directory: "/opt/iobroker/backups/grafana_tmp"
      
      backitup.0
      2023-03-12 07:19:45.039	debug	[iobroker/grafana] Start Grafana Backup ...
      
      backitup.0
      2023-03-12 07:19:44.738	debug	[iobroker/zigbee] done
      
      backitup.0
      2023-03-12 07:19:44.738	debug	[iobroker/zigbee] found zigbee database: zigbee.0
      
      backitup.0
      2023-03-12 07:19:43.661	debug	[iobroker/iobroker] done
      
      backitup.0
      2023-03-12 07:19:42.630	debug	[iobroker/iobroker] Backup created: /opt/iobroker/backups/iobroker_2023_03_12-07_19_32_backupiobroker.tar.gz
      
      backitup.0
      2023-03-12 07:19:35.427	debug	[iobroker/iobroker] host.iobroker 25745 objects saved
      
      backitup.0
      2023-03-12 07:19:34.566	debug	[iobroker/iobroker] host.iobroker 23495 states saved
      
      backitup.0
      2023-03-12 07:19:32.473	debug	[iobroker/mount] done
      
      backitup.0
      2023-03-12 07:19:32.473	debug	[iobroker/mount] mount successfully completed
      
      backitup.0
      2023-03-12 07:19:32.442	debug	[iobroker/mount] cifs-mount command: "sudo mount -t cifs -o username=backup,password=****,noserverino,rw,uid=iobroker,gid=iobroker,file_mode=0777,dir_mode=0777,vers=2.0 //192.168.10.12/backups/iobroker-01/backup /opt/iobroker/backups"
      
      backitup.0
      2023-03-12 07:19:32.442	debug	[iobroker/mount] noserverino option: true
      
      backitup.0
      2023-03-12 07:19:22.440	debug	Backup has started ...
      
      backitup.0
      2023-03-12 07:19:22.420	debug	The local storage check was completed successfully. On the host "iobroker" are currently 22863 MB free space available!
      
      backitup.0
      2023-03-12 07:19:17.649	debug	umount successfully completed
      
      backitup.0
      2023-03-12 07:19:15.630	debug	mount activ... umount in 2 Seconds!!
      
      backitup.0
      2023-03-12 07:19:13.195	debug	The local storage check was completed successfully. On the host "iobroker" are currently 22863 MB free space available!
      
      backitup.0
      2023-03-12 07:19:08.042	debug	detect last backup file: iobroker_2023_03_12-02_00_20_backupiobroker.tar.gz
      
      backitup.0
      2023-03-12 07:19:08.041	debug	detect backup file 22 from NAS: iobroker_2023_03_12-02_00_20_backupiobroker.tar.gz
      
      backitup.0
      2023-03-12 07:19:08.041	debug	detect backup file 21 from NAS: iobroker_2023_03_11-02_00_20_backupiobroker.tar.gz
      
      backitup.0
      2023-03-12 07:19:08.041	debug	detect backup file 20 from NAS: iobroker_2023_03_10-07_41_49_backupiobroker.tar.gz
      
      backitup.0
      2023-03-12 07:19:08.041	debug	detect backup file 19 from NAS: iobroker_2023_03_10-07_14_19_backupiobroker.tar.gz
      
      backitup.0
      2023-03-12 07:19:08.041	debug	detect backup file 18 from NAS: iobroker_2023_03_10-02_00_20_backupiobroker.tar.gz
      
      backitup.0
      2023-03-12 07:19:08.041	debug	detect backup file 17 from NAS: iobroker_2023_03_09-02_00_20_backupiobroker.tar.gz
      
      backitup.0
      2023-03-12 07:19:08.041	debug	detect backup file 16 from NAS: iobroker_2023_03_08-02_00_20_backupiobroker.tar.gz
      
      backitup.0
      2023-03-12 07:19:08.041	debug	detect backup file 15 from NAS: iobroker_2023_03_07-02_00_20_backupiobroker.tar.gz
      
      backitup.0
      2023-03-12 07:19:08.040	debug	detect backup file 14 from NAS: iobroker_2023_03_06-02_00_20_backupiobroker.tar.gz
      
      backitup.0
      2023-03-12 07:19:08.040	debug	detect backup file 13 from NAS: iobroker_2023_03_05-02_00_20_backupiobroker.tar.gz
      
      backitup.0
      2023-03-12 07:19:08.040	debug	detect backup file 12 from NAS: iobroker_2023_03_04-02_00_20_backupiobroker.tar.gz
      
      backitup.0
      2023-03-12 07:19:08.040	debug	detect backup file 11 from NAS: iobroker_2023_03_03-02_00_20_backupiobroker.tar.gz
      
      backitup.0
      2023-03-12 07:19:08.040	debug	detect backup file 10 from NAS: iobroker_2023_03_02-02_00_20_backupiobroker.tar.gz
      
      backitup.0
      2023-03-12 07:19:08.040	debug	detect backup file 9 from NAS: iobroker_2023_03_01-02_00_20_backupiobroker.tar.gz
      
      backitup.0
      2023-03-12 07:19:08.039	debug	detect backup file 8 from NAS: iobroker_2023_02_28-02_00_20_backupiobroker.tar.gz
      
      backitup.0
      2023-03-12 07:19:08.039	debug	detect backup file 7 from NAS: iobroker_2023_02_27-02_00_20_backupiobroker.tar.gz
      
      backitup.0
      2023-03-12 07:19:08.039	debug	detect backup file 6 from NAS: iobroker_2023_02_26-02_00_20_backupiobroker.tar.gz
      
      backitup.0
      2023-03-12 07:19:08.039	debug	detect backup file 5 from NAS: iobroker_2023_02_25-02_00_20_backupiobroker.tar.gz
      
      backitup.0
      2023-03-12 07:19:08.039	debug	detect backup file 4 from NAS: iobroker_2023_02_24-02_00_20_backupiobroker.tar.gz
      
      backitup.0
      2023-03-12 07:19:08.039	debug	detect backup file 3 from NAS: iobroker_2023_02_23-02_00_20_backupiobroker.tar.gz
      
      backitup.0
      2023-03-12 07:19:08.039	debug	detect backup file 2 from NAS: iobroker_2023_02_22-02_00_20_backupiobroker.tar.gz
      
      backitup.0
      2023-03-12 07:19:08.038	debug	detect backup file 1 from NAS: iobroker_2023_02_21-02_00_20_backupiobroker.tar.gz
      
      backitup.0
      2023-03-12 07:19:06.029	debug	mount successfully completed
      
      backitup.0
      2023-03-12 07:19:05.677	debug	cifs-mount command: "sudo mount -t cifs -o username=backup,password=****,noserverino,rw,uid=iobroker,gid=iobroker,file_mode=0777,dir_mode=0777,vers=2.0 //192.168.10.12/backups/iobroker-01/backup /opt/iobroker/backups"
      
      backitup.0
      2023-03-12 07:19:05.677	debug	noserverino option: true
      
      backitup.0
      2023-03-12 07:19:05.667	info	[ccu] backup was activated at 01:30 every 1 day(s)
      
      backitup.0
      2023-03-12 07:19:05.630	info	[iobroker] backup was activated at 02:00 every 1 day(s)
      
      backitup.0
      2023-03-12 07:19:05.602	debug	Backitup has recognized a linux system
      
      backitup.0
      2023-03-12 07:19:05.584	info	starting. Version 2.6.11 in /opt/iobroker/node_modules/iobroker.backitup, node: v16.19.1, js-controller: 4.0.24
      
      backitup.0
      2023-03-12 07:19:05.458	debug	Plugin sentry destroyed because not initialized correctly
      
      backitup.0
      2023-03-12 07:19:05.408	debug	Plugin sentry Do not initialize Plugin (enabled=false)
      
      backitup.0
      2023-03-12 07:19:05.226	debug	States connected to redis: 127.0.0.1:9000
      
      backitup.0
      2023-03-12 07:19:05.138	debug	States create User PubSub Client
      
      backitup.0
      2023-03-12 07:19:05.138	debug	States create System PubSub Client
      
      backitup.0
      2023-03-12 07:19:05.116	debug	Redis States: Use Redis connection: 127.0.0.1:9000
      
      backitup.0
      2023-03-12 07:19:05.077	debug	Objects connected to redis: 127.0.0.1:9001
      
      backitup.0
      2023-03-12 07:19:05.074	debug	Objects client initialize lua scripts
      
      backitup.0
      2023-03-12 07:19:04.982	debug	Objects create User PubSub Client
      
      backitup.0
      2023-03-12 07:19:04.981	debug	Objects create System PubSub Client
      
      backitup.0
      2023-03-12 07:19:04.980	debug	Objects client ready ... initialize now
      
      backitup.0
      2023-03-12 07:19:04.941	debug	Redis Objects: Use Redis connection: 127.0.0.1:9001
      
      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:1900:12)\n    at IncomingMessage.handleStreamEnd (/opt/iobroker/node_modules/iobroker.backitup/node_modules/axios/dist/node/axios.cjs:2952:11)\n    at IncomingMessage.emit (node:events:525:35)\n    at endReadableNT (node:internal/streams/readable:1358:12)\n    at processTicksAndRejections (node:internal/process/task_queues:83: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":{"Blob":null},"headers":{"Accept":"application/json, text/plain, */*","User
      

      Was kann/muss ich tun?

      simatec 1 Reply Last reply Reply Quote 0
      • simatec
        simatec Developer Most Active @steimi last edited by

        @steimi Schaue mal die Backups mit älteren Versionen an.
        Ab 2.6.9 ist das Eror Handling verbessert wurden, so dass mehr Überwchung drin ist.
        Status Code 401 bedeutet, dass es Zugriffsprobleme auf dein Grafana System gibt.

        Prüfe das mal bitte

        1 Reply Last reply Reply Quote 0
        • K
          kratan75 last edited by

          Hallo,

          Ich habe das selbe Problem, nur lässt sich die Version auch nicht mehr downgraden auf 2.6.8.
          Habe Version 2.6.10 probiert. Dasselbe Probem 😞

          Im Fehlerlog steht im Adapter folgendes:
          96c1c39c-048f-45c0-a6c2-642cabd0c925-image.png

          In den allgemeinen Logs taucht folgender Fehler auf.
          21af22c5-e810-4ebd-a952-ad75e6b08bb2-image.png

          Per E-Mail kommt dann der Fehler 401 für Grafana.

          08e63917-f143-441e-9d5a-3c74aab66b0e-image.png

          Was kann ich tun ?

          Frohe Ostern.
          Andreas

          simatec 1 Reply Last reply Reply Quote 0
          • simatec
            simatec Developer Most Active @kratan75 last edited by

            @kratan75 Bitte die aktuelle Version v2.6.16 installieren

            K 1 Reply Last reply Reply Quote 0
            • K
              kratan75 @simatec last edited by

              @simatec Die ist bereits drauf. Selbes Ergebnis.
              8a05455c-1d27-40f5-b50b-25a6a07760e1-image.png

              [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
              [ERROR] [grafana] - Error on Grafana Dashoard Request: AxiosError: Request failed with status code 401
              [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

              Email an mich:
              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 (events.js:412:35)\n at endReadableNT (internal/streams/readable.js:1333:12)\n at processTicksAndRejections (internal/process/task_queues.js: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":{"Blob":null},"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.152:3000/api/search","responseType":"json","httpsAgent":{"_events":{},"_eventsCount":2,"_maxListeners":100,"defaultPort":443,"protocol":"https:","options":{"rejectUnauthorized":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}

              Gruß Andi

              simatec 1 Reply Last reply Reply Quote 0
              • simatec
                simatec Developer Most Active @kratan75 last edited by

                @kratan75 Zeige mal deine Config. In den neuen Versionen von Backitup wurde Fehlerbehandlung verbessert.
                Bist du sicher, dass überhaupt Grafana Backups in der Vergangenheit erstellt wurden?

                So wie es ausschaut, ist Grafana nicht erreichbar

                Falsche IP oder http/https Fehler in der Config

                K 1 Reply Last reply Reply Quote 0
                • K
                  kratan75 @simatec last edited by kratan75

                  @simatec Hallo, hier meine Config
                  77bd902f-0c82-4c9e-9d40-98c508289fe3-image.png

                  Hier der Logeintrag welcher seitdem auch immer kommt:
                  host.iobroker 2023-04-08 11:42:52.045 error Invalid request getRepository. "callback" or "from" is null

                  Keine Ahnung ob der auch irgendwas damit zu tun hat.

                  Ja, vor dem Update wurden meine Backups erstellt. Keine Fehlermeldung !!!
                  Grafana funktioniert auch ganz normal in meiner Installation. Die InfluxDB läuft noch in Version 1.0.

                  Es läuft auch alles über http, nicht https weil das System nur im internen Netzwerk läuft.

                  Einziges was ich noch nicht geupdatet habe ist die Host Instance( noch 4.0.23).
                  Aber diese habe ich bewusst noch nicht hochgerüstet um andere Fehlfunktionen zu vermeiden. Ich muss dafür erst eine SD-Kartensicherung des Raspberry machen bevor ich das ausprobiere.

                  Ich hoffe es liegt nicht am Host.
                  Oder meinst Du es hilft was, noch einmal eine neue API in Grafana zu erstellen ?

                  Gruß Andi

                  simatec 1 Reply Last reply Reply Quote 0
                  • simatec
                    simatec Developer Most Active @kratan75 last edited by

                    @kratan75 sagte in Backitup und Grafana:

                    host.iobroker 2023-04-08 11:42:52.045 error Invalid request getRepository. "callback" or "from" is null

                    Das sieht mir nach einem Netzwerkproblem aus.
                    Kannst du denn über die CLI dein Grafana pingen?
                    Läuft Grafana auf dem gleichen System? Falls ja, dann kannst du mal die 127.0.0.1 oder auch localhost verwenden

                    iobroker kann deine Grafana Installation nicht erreichen... Backitup macht vor dem Backup einen Check, ob mit der Config Grafana erreichbar ist

                    K 1 Reply Last reply Reply Quote 0
                    • K
                      kratan75 @simatec last edited by kratan75

                      @simatec Ja, läuft auf dem selben System.
                      Ich habe es mal mit localhost oder 127.0.0.1 probiert mit selben Ergebnis.

                      78a47b99-6d21-41ae-be2d-16954c3d3bc4-image.png

                      824f5a18-fb3a-43b6-a46e-3c32ef0b707b-image.png

                      Was kann das sein ?

                      Gruß Andi

                      simatec 1 Reply Last reply Reply Quote 0
                      • simatec
                        simatec Developer Most Active @kratan75 last edited by

                        @kratan75 Zeige mir mal die Ausgabe der installierten Pakete

                        cd /opt/iobroker/node_modules/iobroker.backitup
                        npm list
                        
                        K 1 Reply Last reply Reply Quote 0
                        • K
                          kratan75 @simatec last edited by

                          @simatec Hi, da scheint es eine Menge Probleme zu geben. Hier mal die Ausgabe. Kann es sein das beim Update ein paar Pakete nicht installiert wurden ?

                          root@iobroker:/home/pi# cd /opt/iobroker/node_modules/iobroker.backitup
                          root@iobroker:/opt/iobroker/node_modules/iobroker.backitup# npm list
                          iobroker.backitup@2.6.16 /opt/iobroker/node_modules/iobroker.backitup
                          ├── UNMET DEPENDENCY @googleapis/drive@^4.0.2
                          ├─┬ @iobroker/adapter-core@2.6.8
                          │ └─┬ @types/iobroker@4.0.5
                          │ └── UNMET DEPENDENCY @types/node@*
                          ├─┬ axios@1.3.5
                          │ ├── UNMET DEPENDENCY follow-redirects@^1.15.0
                          │ ├── UNMET DEPENDENCY form-data@^4.0.0
                          │ └── UNMET DEPENDENCY proxy-from-env@^1.1.0
                          ├── UNMET DEPENDENCY dropbox-v2-api@^2.5.10
                          ├─┬ express@4.18.2
                          │ ├── UNMET DEPENDENCY accepts@~1.3.8
                          │ ├── UNMET DEPENDENCY array-flatten@1.1.1
                          │ ├─┬ body-parser@1.20.1
                          │ │ ├── UNMET DEPENDENCY bytes@3.1.2
                          │ │ ├── UNMET DEPENDENCY content-type@~1.0.4
                          │ │ ├── UNMET DEPENDENCY debug@2.6.9
                          │ │ ├── UNMET DEPENDENCY depd@2.0.0
                          │ │ ├── UNMET DEPENDENCY destroy@1.2.0
                          │ │ ├── UNMET DEPENDENCY http-errors@2.0.0
                          │ │ ├── UNMET DEPENDENCY iconv-lite@0.4.24
                          │ │ ├── UNMET DEPENDENCY on-finished@2.4.1
                          │ │ ├── qs@6.11.0 deduped
                          │ │ ├── UNMET DEPENDENCY raw-body@2.5.1
                          │ │ ├── UNMET DEPENDENCY type-is@~1.6.18
                          │ │ └── UNMET DEPENDENCY unpipe@1.0.0
                          │ ├── UNMET DEPENDENCY content-disposition@0.5.4
                          │ ├── UNMET DEPENDENCY content-type@~1.0.4
                          │ ├── cookie@0.5.0
                          │ ├── UNMET DEPENDENCY cookie-signature@1.0.6
                          │ ├── UNMET DEPENDENCY debug@2.6.9
                          │ ├── UNMET DEPENDENCY depd@2.0.0
                          │ ├── UNMET DEPENDENCY encodeurl@~1.0.2
                          │ ├── UNMET DEPENDENCY escape-html@~1.0.3
                          │ ├── UNMET DEPENDENCY etag@~1.8.1
                          │ ├── UNMET DEPENDENCY finalhandler@1.2.0
                          │ ├── UNMET DEPENDENCY fresh@0.5.2
                          │ ├── UNMET DEPENDENCY http-errors@2.0.0
                          │ ├── UNMET DEPENDENCY merge-descriptors@1.0.1
                          │ ├── UNMET DEPENDENCY methods@~1.1.2
                          │ ├── UNMET DEPENDENCY on-finished@2.4.1
                          │ ├── UNMET DEPENDENCY parseurl@~1.3.3
                          │ ├── UNMET DEPENDENCY path-to-regexp@0.1.7
                          │ ├── UNMET DEPENDENCY proxy-addr@~2.0.7
                          │ ├─┬ qs@6.11.0
                          │ │ └── UNMET DEPENDENCY side-channel@^1.0.4
                          │ ├── UNMET DEPENDENCY range-parser@~1.2.1
                          │ ├── safe-buffer@5.2.1
                          │ ├── UNMET DEPENDENCY send@0.18.0
                          │ ├── UNMET DEPENDENCY serve-static@1.15.0
                          │ ├── UNMET DEPENDENCY setprototypeof@1.2.0
                          │ ├── UNMET DEPENDENCY statuses@2.0.1
                          │ ├── UNMET DEPENDENCY type-is@~1.6.18
                          │ ├── UNMET DEPENDENCY utils-merge@1.0.1
                          │ └── UNMET DEPENDENCY vary@~1.1.2
                          ├─┬ fs-extra@11.1.1
                          │ ├── UNMET DEPENDENCY graceful-fs@^4.2.0
                          │ ├── UNMET DEPENDENCY jsonfile@^6.0.1
                          │ └── UNMET DEPENDENCY universalify@^2.0.0
                          ├── UNMET DEPENDENCY ftp@^0.3.10
                          ├── UNMET DEPENDENCY google-auth-library@^8.7.0
                          ├─┬ node-schedule@2.1.1
                          │ ├─┬ cron-parser@4.8.1
                          │ │ └── luxon@3.3.0
                          │ ├── UNMET DEPENDENCY long-timeout@0.1.1
                          │ └── UNMET DEPENDENCY sorted-array-functions@^1.3.0
                          ├── 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! missing: @googleapis/drive@^4.0.2, 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: 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: 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
                          npm ERR! missing: @types/node@*, required by @types/iobroker@4.0.5
                          npm ERR! missing: follow-redirects@^1.15.0, required by axios@1.3.5
                          npm ERR! missing: form-data@^4.0.0, required by axios@1.3.5
                          npm ERR! missing: proxy-from-env@^1.1.0, required by axios@1.3.5
                          npm ERR! missing: accepts@~1.3.8, required by express@4.18.2
                          npm ERR! missing: array-flatten@1.1.1, required by express@4.18.2
                          npm ERR! missing: content-disposition@0.5.4, required by express@4.18.2
                          npm ERR! missing: content-type@~1.0.4, required by express@4.18.2
                          npm ERR! missing: cookie-signature@1.0.6, required by express@4.18.2
                          npm ERR! missing: debug@2.6.9, required by express@4.18.2
                          npm ERR! missing: depd@2.0.0, required by express@4.18.2
                          npm ERR! missing: encodeurl@~1.0.2, required by express@4.18.2
                          npm ERR! missing: escape-html@~1.0.3, required by express@4.18.2
                          npm ERR! missing: etag@~1.8.1, required by express@4.18.2
                          npm ERR! missing: finalhandler@1.2.0, required by express@4.18.2
                          npm ERR! missing: fresh@0.5.2, required by express@4.18.2
                          npm ERR! missing: http-errors@2.0.0, required by express@4.18.2
                          npm ERR! missing: merge-descriptors@1.0.1, required by express@4.18.2
                          npm ERR! missing: methods@~1.1.2, required by express@4.18.2
                          npm ERR! missing: on-finished@2.4.1, required by express@4.18.2
                          npm ERR! missing: parseurl@~1.3.3, required by express@4.18.2
                          npm ERR! missing: path-to-regexp@0.1.7, required by express@4.18.2
                          npm ERR! missing: proxy-addr@~2.0.7, required by express@4.18.2
                          npm ERR! missing: range-parser@~1.2.1, required by express@4.18.2
                          npm ERR! missing: send@0.18.0, required by express@4.18.2
                          npm ERR! missing: serve-static@1.15.0, required by express@4.18.2
                          npm ERR! missing: setprototypeof@1.2.0, required by express@4.18.2
                          npm ERR! missing: statuses@2.0.1, required by express@4.18.2
                          npm ERR! missing: type-is@~1.6.18, required by express@4.18.2
                          npm ERR! missing: utils-merge@1.0.1, required by express@4.18.2
                          npm ERR! missing: vary@~1.1.2, required by express@4.18.2
                          npm ERR! missing: bytes@3.1.2, required by body-parser@1.20.1
                          npm ERR! missing: content-type@~1.0.4, required by body-parser@1.20.1
                          npm ERR! missing: debug@2.6.9, required by body-parser@1.20.1
                          npm ERR! missing: depd@2.0.0, required by body-parser@1.20.1
                          npm ERR! missing: destroy@1.2.0, required by body-parser@1.20.1
                          npm ERR! missing: http-errors@2.0.0, required by body-parser@1.20.1
                          npm ERR! missing: iconv-lite@0.4.24, required by body-parser@1.20.1
                          npm ERR! missing: on-finished@2.4.1, required by body-parser@1.20.1
                          npm ERR! missing: raw-body@2.5.1, required by body-parser@1.20.1
                          npm ERR! missing: type-is@~1.6.18, required by body-parser@1.20.1
                          npm ERR! missing: unpipe@1.0.0, required by body-parser@1.20.1
                          npm ERR! missing: side-channel@^1.0.4, required by qs@6.11.0
                          npm ERR! missing: graceful-fs@^4.2.0, required by fs-extra@11.1.1
                          npm ERR! missing: jsonfile@^6.0.1, required by fs-extra@11.1.1
                          npm ERR! missing: universalify@^2.0.0, required by fs-extra@11.1.1
                          npm ERR! missing: long-timeout@0.1.1, required by node-schedule@2.1.1
                          npm ERR! missing: sorted-array-functions@^1.3.0, required by node-schedule@2.1.1

                          Thomas Braun simatec 3 Replies Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @kratan75 last edited by Thomas Braun

                            @kratan75 sagte in Backitup und Grafana:

                            root@iobroker:/home/pi#

                            Warum? Macht euch doch nicht immer das Leben durch den Scheiss root selber schwer...

                            1 Reply Last reply Reply Quote 0
                            • simatec
                              simatec Developer Most Active @kratan75 last edited by simatec

                              @kratan75 Hmmm sieht etwas komisch aus...

                              cd /opt/iobroker/node_modules/iobroker.backitup
                              sudo -u iobroker npm install
                              

                              Und arbeite nicht als root auf dem System

                              K 1 Reply Last reply Reply Quote 0
                              • simatec
                                simatec Developer Most Active last edited by

                                @kratan75 sagte in Backitup und Grafana:

                                Kann es sein das beim Update ein paar Pakete nicht installiert wurden ?

                                Gab es beim Update Fehlermeldungen?
                                Es ist grundsätzlch nicht sinnvoll als root zu arbeiten. Wie @Thomas-Braun schrieb, damt macht ihr euch nur Probleme

                                1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @kratan75 last edited by

                                  @kratan75

                                  Als root ausloggen und niemehr direkt als root einloggen.

                                  iob stop
                                  iob fix
                                  iob start
                                  
                                  cd /opt/iobroker
                                  npm ls
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • K
                                    kratan75 @simatec last edited by

                                    @simatec Ich habe es jetzt so gemacht wie Du und Thomas gesagt haben.
                                    Alos nicht als root eingeloggt und den npm installiert nun sieht die Ausgabe zwar besser aus, jedoch kommt immer noch ein Fehler am Ende der Liste.
                                    Grafana lässt sich trotzdem nicht sichern. Auch nicht mit der IP des Hosts 127.0.0.1, localhost oder die direkte IP-Adresse.

                                    cd /opt/iobroker/node_modules/iobroker.backitup
                                    sudo -u iobroker npm install

                                    9dcc16a9-4f7e-494d-a96c-00d9f18493a3-image.png

                                    iob stop
                                    iob fix
                                    iob start

                                    cd /opt/iobroker
                                    npm ls

                                    24ae2173-700d-4d85-88f4-c0411a594799-image.png

                                    Was bedeutet das nun schon wieder ? Was ist "peer dep" ?

                                    pi@iobroker:/opt/iobroker $ npm ls
                                    iobroker.inst@3.0.0 /opt/iobroker
                                    ├─┬ iobroker.admin@6.3.5
                                    │ ├─┬ @iobroker/adapter-core@2.6.7
                                    │ │ └─┬ @types/iobroker@4.0.5
                                    │ │ └── @types/node@18.0.0 deduped
                                    │ ├─┬ @iobroker/socket-classes@1.0.2
                                    │ │ ├─┬ @iobroker/adapter-core@2.6.7
                                    │ │ │ └─┬ @types/iobroker@4.0.5
                                    │ │ │ └── @types/node@18.0.0 deduped
                                    .
                                    .
                                    .
                                    .
                                    .
                                    │ │ ├─┬ engine.io-client@3.5.2
                                    │ │ │ ├── component-emitter@1.3.0 deduped
                                    │ │ │ ├── component-inherit@0.0.3
                                    │ │ │ ├─┬ debug@3.1.0
                                    │ │ │ │ └── ms@2.0.0 deduped
                                    │ │ │ ├── engine.io-parser@2.2.1 deduped
                                    │ │ │ ├── has-cors@1.1.0
                                    │ │ │ ├── indexof@0.0.1 deduped
                                    │ │ │ ├── parseqs@0.0.6 deduped
                                    │ │ │ ├── parseuri@0.0.6 deduped
                                    │ │ │ ├── ws@7.4.6
                                    │ │ │ ├── xmlhttprequest-ssl@1.6.3
                                    │ │ │ └── yeast@0.1.2
                                    │ │ ├── has-binary2@1.0.3 deduped
                                    │ │ ├── indexof@0.0.1
                                    │ │ ├── parseqs@0.0.6
                                    │ │ ├── parseuri@0.0.6
                                    │ │ ├─┬ socket.io-parser@3.3.2
                                    │ │ │ ├── component-emitter@1.3.0 deduped
                                    │ │ │ ├── debug@3.1.0 deduped
                                    │ │ │ └── isarray@2.0.1
                                    │ │ └── to-array@0.1.4
                                    │ └─┬ socket.io-parser@3.4.1
                                    │ ├── component-emitter@1.2.1
                                    │ ├─┬ debug@4.1.1
                                    │ │ └── ms@2.1.3
                                    │ └── isarray@2.0.1
                                    ├─┬ iobroker.ws@1.3.0
                                    │ ├── @iobroker/adapter-core@2.6.0 deduped
                                    │ ├── axios@0.26.1 deduped
                                    │ ├── cookie-parser@1.4.6 deduped
                                    │ ├── express-session@1.17.3 deduped
                                    │ ├─┬ iobroker.ws.server@1.0.1
                                    │ │ └── ws@8.8.0 deduped
                                    │ └── passport@0.5.3 deduped
                                    ├─┬ mime-types@2.1.35
                                    │ └── mime-db@1.52.0
                                    ├─┬ passport@0.5.3
                                    │ ├── passport-strategy@1.0.0 deduped
                                    │ └── pause@0.0.1 deduped
                                    ├── passport-local@1.0.0 deduped
                                    └── xtend@4.0.2

                                    npm ERR! peer dep missing: buffer@>=6.0.3, required by crc@4.1.1

                                    Die Ausgabe bei der Instance ist dieselbe wie vorher.
                                    fb59bb1a-597b-4979-bc74-8f28cb8ea6e7-image.png 😠

                                    Was kann das sein ?

                                    Gruß Andi

                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @kratan75 last edited by Thomas Braun

                                      @kratan75

                                      Bitte keine Scteenshots aus der Konsole sondern den Text in CodeTags eingebettet hier rein.

                                      iob diag
                                      

                                      sagt nun zu deiner Installation?

                                      Ich vermute da ist deine nodejs-Installation nicht auf Stand.

                                      simatec 1 Reply Last reply Reply Quote 0
                                      • simatec
                                        simatec Developer Most Active @Thomas Braun last edited by

                                        @thomas-braun sieht mir auch so aus. Da sind teilweise ganz alte Versionen

                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @simatec last edited by

                                          @simatec
                                          Ja, npm>7 sollte auch eigentlich für eine andere Ausgabe bei npm ls sorgen.

                                          1 Reply Last reply Reply Quote 0
                                          • K
                                            kratan75 last edited by

                                            @simatec Meinst du den js-controller ?

                                            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    "i2c"          : 1.2.1    , installed 1.2.1
                                            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.15 [Updatable]
                                            Adapter    "vis-icontwo"  : 0.90.0   , installed 0.90.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
                                            
                                            K 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            1.0k
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            62
                                            4147
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo