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.
    • K
      kratan75 @kratan75 last edited by kratan75

      @kratan75 ```

      ======================= SUMMARY =======================
                           v.2023-04-02
      
      
      Operatingsystem:        Raspbian GNU/Linux 10 (buster)
      Kernel:                 5.10.103-v7l+
      Installation:           Native
      Timezone:               Europe/Berlin (CEST, +0200)
      User-ID:                1000
      X-Server:               false
      Boot Target:            graphical.target
      
      Pending OS-Updates:     107
      Pending iob updates:    2
      
      Nodejs-Installation:    /usr/bin/nodejs         v14.19.3
                              /usr/bin/node           v14.19.3
                              /usr/bin/npm            6.14.17
                              /usr/bin/npx            6.14.17
      
      Recommended versions are nodejs 18.x.y and npm 9.x.y
      
      MEMORY:
                    total        used        free      shared  buff/cache   available
      Mem:           3.8G        1.2G        1.5G         48M        1.2G        2.9G
      Swap:           99M          0B         99M
      Total:         3.9G        1.2G        1.6G
      
      Active iob-Instances:   20
      Active repo(s): stable
      
      ioBroker Core:          js-controller           4.0.23
                              admin                   6.3.5
      
      ioBroker Status:        iobroker is running on this host.
      
      
      Objects type: jsonl
      States  type: jsonl
      
      Status admin and web instance:
      + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
      + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
      
      Objects:                3680
      States:                 3190
      
      Size of iob-Database:
      
      11M     /opt/iobroker/iobroker-data/objects.jsonl
      6.9M    /opt/iobroker/iobroker-data/states.jsonl
      
      
      
      =================== END OF SUMMARY ====================
      ext
      
      1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @kratan75 last edited by Thomas Braun

        @kratan75
        Die influxdb-Quelle muss angepackt werden.
        Dann funktionieren auch Upgrades wieder und du kannst die 107 geschluderten Upgrades einspielen.
        Und was haste da mit snapd gemacht? Vollkommen unüblich für Server.
        Dann das Ganze auf nodejs 18 bringen.

        Und zu guter Letzt den abgekündigten Buster beerdigen und Bullseye installieren.

        Das wiederum würde ich in der 64bit-Version gleich neu installieren.

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

          @thomas-braun Kannst mir das bitte etwas näher erklären ?
          Vor dem Update hat ja alles noch wunderbar funktioniert.
          Wie passe ich die influxdb-Quelle an ?Die Upgrades denke ich bekomme ich mit

          sudo apt-get update
          sudo apt-get upgrade

          noch hin, aber wo passe ich zum Henker die InfluxDB Quelle an.

          Sorry, ich arbeite eigentlich fast nur mit IObroker selbst, nicht mit dem Linuxsystem dahinter.

          Gruß Andi

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

            @kratan75

            Steht hier mit drin:

            https://forum.iobroker.net/topic/62040/linux-debian-grafana-repo-muss-aktualisiert-werden

            Der Grund für die notwendigen Anpassungen bei influxdb und grafana ist der gleiche.

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

              @thomas-braun
              Ok Danke, ich lese mich da mal ein und probiere es aus. Ich berichte dann wieder wie es gelaufen ist.
              Frohe Ostern

              Gruß Andi

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

                @kratan75 sagte in Backitup und Grafana:

                Sorry, ich arbeite eigentlich fast nur mit IObroker selbst, nicht mit dem Linuxsystem dahinter.

                Dann musst du das ändern. Ein wenig Systempflege ist durchaus abgebracht.

                V 1 Reply Last reply Reply Quote 0
                • V
                  vstrasser @Thomas Braun last edited by

                  @thomas-braun @simatec
                  ich häng' mich mal hier rein. Seit dem 25.3. lässt sich kein erfolgreiches Grafana Backup mehr durchführen. Ich kann leider nicht nachvollziehen, was sich zu diesem Zeitpunkt hin verändert hat. Ich tippe aber auf Adapter Updates oder System Updates.

                  Hier der (denke ich) relevante Auszug aus dem BackItUp Log im iobroker:

                  [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 ...
                  [ERROR] [grafana] - Grafana is not available: Error: getaddrinfo ENOTFOUND http
                  [ERROR] [grafana] - Grafana is not available!
                  [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] - Grafana Backup cannot created ...
                  [DEBUG] [grafana] - done

                  Hier der Output von "iob diag"

                  ======================= SUMMARY =======================
                  		     v.2023-04-02
                  
                  
                  Operatingsystem: 	Raspbian GNU/Linux 10 (buster)
                  Kernel: 		5.10.103-v7l+
                  Installation: 		Native
                  Timezone: 		Europe/London (BST, +0100)
                  User-ID: 		1000
                  X-Server: 		false
                  Boot Target: 		multi-user.target
                  
                  Pending OS-Updates: 	0
                  Pending iob updates: 	0
                  
                  Nodejs-Installation: 	/usr/bin/nodejs 	v16.19.1
                  			/usr/bin/node 		v16.19.1
                  			/usr/bin/npm 		8.19.3
                  			/usr/bin/npx 		8.19.3
                  
                  Recommended versions are nodejs 18.x.y and npm 9.x.y
                  
                  MEMORY: 
                                total        used        free      shared  buff/cache   available
                  Mem:           3.8G        1.8G        577M         24M        1.5G        2.5G
                  Swap:           99M        2.0M         97M
                  Total:         3.9G        1.8G        675M
                  
                  Active iob-Instances: 	24
                  Active repo(s): stable
                  
                  ioBroker Core: 		js-controller 		4.0.24
                  			admin 			6.3.5
                  
                  ioBroker Status: 	iobroker is running on this host.
                  
                  
                  Objects type: jsonl
                  States  type: jsonl
                  
                  Status admin and web instance:
                  + system.adapter.admin.0                  : admin                 : raspberrypiIOB                           -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                  + system.adapter.web.0                    : web                   : raspberrypiIOB                           -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                  
                  Objects: 		23901
                  States: 		21127
                  
                  Size of iob-Database:
                  
                  26M	/opt/iobroker/iobroker-data/objects.jsonl
                  12M	/opt/iobroker/iobroker-data/objects.json.migrated
                  12M	/opt/iobroker/iobroker-data/objects.json.bak.migrated
                  27M	/opt/iobroker/iobroker-data/states.jsonl
                  3.8M	/opt/iobroker/iobroker-data/states.json.migrated
                  3.8M	/opt/iobroker/iobroker-data/states.json.bak.migrated
                  
                  
                  
                  =================== END OF SUMMARY ====================
                  

                  iobroker, influxdb, grafana laufen alle auf dem gleichen Raspi. Systemupdates alle durchgeführt. Infos und Anweisungen aus diesem Thread angeschaut und durchgeführt. Ergebnis ist nach wie vor das gleiche.

                  Was kann/soll ich noch tun um das Problem zu beheben?

                  Danke und viele Grüße, Volker

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

                    @vstrasser sagte in Backitup und Grafana:

                    buster

                    Muss durch 'Bullseye' ersetzt werden.

                    Timezone: Europe/London

                    Mutmaßlich wohnt der ioBroker nicht in dieser Zeitzone

                    nodejs v16.19.1

                    nodejs 18 ist die derzeitige Empfehlung.

                    Zum Thema:

                    Grafana is not available: Error: getaddrinfo ENOTFOUND http

                    Ich würde sagen, da fehlt entweder im log was oder der Grafana-Server ist nicht richtig eingetragen.

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

                      @vstrasser Zeige doch mal den vollständigen Debuglog vom Backup und deine Config von Backitup.
                      Mit welchem Protokoll ist Grafana erreichbar? http oder https?

                      V 1 Reply Last reply Reply Quote 0
                      • V
                        vstrasser @simatec last edited by

                        @simatec DANKE - dein Hinweis (http / https) hat mir die Lösung gezeigt. Ich hatte im "host-feld" ein "http" vorgestellt. Frag' mich bitte nicht, warum. Nun steht wieder "nur" die IP Adresse drin und das Backup läuft erfolgreich durch.

                        viele Grüße, Volker

                        simatec 1 Reply Last reply Reply Quote 0
                        • V
                          vstrasser @Thomas Braun last edited by

                          @thomas-braun das mit buster --> bullseye hab' ich bereits gesehen und es steht auf dem Plan. Bin noch nicht dazu gekommen. TimeZone-settings korrigiere ich. Danke. Den Update von nodejs hab' ich ebenfalls auf dem Radar. Hab's nur noch nicht hingekriegt.

                          viele Grüße, Volker

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

                            @vstrasser sagte in Backitup und Grafana:

                            @simatec DANKE - dein Hinweis (http / https) hat mir die Lösung gezeigt. Ich hatte im "host-feld" ein "http" vorgestellt. Frag' mich bitte nicht, warum. Nun steht wieder "nur" die IP Adresse drin und das Backup läuft erfolgreich durch.

                            viele Grüße, Volker

                            Hmmm wie kommt das da von alleine hin?

                            Ich kann leider nicht nachvollziehen, was sich zu diesem Zeitpunkt hin verändert hat.

                            Nun verstehe ich deine Frage noch weniger... Das kannst nur du eingetragen haben.

                            V 1 Reply Last reply Reply Quote 0
                            • V
                              vstrasser @simatec last edited by

                              @simatec wie gesagt - ich weiß nicht, warum ich das http da vorgestellt hatte. War aber sicherlich mein eigener Fehler. Nun funktioniert es ja wieder. Nochmal "Danke"
                              und viele Grüße, Volker

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

                                @thomas-braun Hallo Thomas
                                Jetzt habe ich mal das System auf den neuesten Stand gebracht, allerdings habe ich noch Buster drauf. Das möchte ich vorerst auch nicht ändern. Nun bekomme ich aber folgende Fehlermeldung wenn ich npm list ausführe.

                                pi@iobroker:/opt/iobroker/node_modules/iobroker.backitup $ npm list
                                npm ERR! code ELSPROBLEMS
                                npm ERR! missing: @alcalzone/release-script-plugin-iobroker@^3.5.9, required by iobroker.backitup@2.6.16
                                npm ERR! missing: @alcalzone/release-script-plugin-license@^3.5.9, required by iobroker.backitup@2.6.16
                                npm ERR! missing: @alcalzone/release-script@^3.5.9, required by iobroker.backitup@2.6.16
                                npm ERR! missing: @googleapis/drive@^4.0.2, required by iobroker.backitup@2.6.16
                                npm ERR! missing: @iobroker/adapter-core@^2.6.7, required by iobroker.backitup@2.6.16
                                npm ERR! missing: @iobroker/testing@^4.1.0, required by iobroker.backitup@2.6.16
                                npm ERR! missing: chai@^4.3.7, required by iobroker.backitup@2.6.16
                                npm ERR! missing: dropbox-v2-api@^2.5.10, required by iobroker.backitup@2.6.16
                                npm ERR! missing: express@^4.18.2, required by iobroker.backitup@2.6.16
                                npm ERR! missing: ftp@^0.3.10, required by iobroker.backitup@2.6.16
                                npm ERR! missing: google-auth-library@^8.7.0, required by iobroker.backitup@2.6.16
                                npm ERR! missing: gulp@^4.0.2, required by iobroker.backitup@2.6.16
                                npm ERR! missing: mocha@^10.2.0, required by iobroker.backitup@2.6.16
                                npm ERR! missing: node-wol@^0.1.1, required by iobroker.backitup@2.6.16
                                npm ERR! missing: onedrive-api@^1.0.7, required by iobroker.backitup@2.6.16
                                npm ERR! missing: request@^2.88.2, required by iobroker.backitup@2.6.16
                                npm ERR! missing: tar-fs@^2.1.1, required by iobroker.backitup@2.6.16
                                npm ERR! missing: webdav@^4.11.2, required by iobroker.backitup@2.6.16
                                iobroker.backitup@2.6.16 /opt/iobroker/node_modules/iobroker.backitup
                                ├── UNMET DEPENDENCY @alcalzone/release-script-plugin-iobroker@^3.5.9
                                ├── UNMET DEPENDENCY @alcalzone/release-script-plugin-license@^3.5.9
                                ├── UNMET DEPENDENCY @alcalzone/release-script@^3.5.9
                                ├── UNMET DEPENDENCY @googleapis/drive@^4.0.2
                                ├── UNMET DEPENDENCY @iobroker/adapter-core@^2.6.7
                                ├── UNMET DEPENDENCY @iobroker/testing@^4.1.0
                                ├── axios@1.3.5
                                ├── UNMET DEPENDENCY chai@^4.3.7
                                ├── UNMET DEPENDENCY dropbox-v2-api@^2.5.10
                                ├── UNMET DEPENDENCY express@^4.18.2
                                ├── fs-extra@11.1.1
                                ├── UNMET DEPENDENCY ftp@^0.3.10
                                ├── UNMET DEPENDENCY google-auth-library@^8.7.0
                                ├── UNMET DEPENDENCY gulp@^4.0.2
                                ├── UNMET DEPENDENCY mocha@^10.2.0
                                ├── node-schedule@2.1.1
                                ├── UNMET DEPENDENCY node-wol@^0.1.1
                                ├── UNMET DEPENDENCY onedrive-api@^1.0.7
                                ├── UNMET DEPENDENCY request@^2.88.2
                                ├── UNMET DEPENDENCY tar-fs@^2.1.1
                                └── UNMET DEPENDENCY webdav@^4.11.2
                                
                                
                                npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-04-14T15_06_19_781Z-debug-0.log
                                
                                

                                apt update:

                                pi@iobroker:/opt/iobroker/node_modules/iobroker.backitup $ sudo apt update
                                Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                Hit:2 http://archive.raspberrypi.org/debian buster InRelease
                                Hit:3 http://archive.raspbian.org/raspbian buster InRelease
                                Hit:4 https://repos.influxdata.com/debian stable InRelease
                                Hit:5 https://apt.grafana.com stable InRelease
                                Hit:6 https://deb.nodesource.com/node_19.x buster InRelease
                                Reading package lists... Done
                                Building dependency tree
                                Reading state information... Done
                                All packages are up to date.
                                
                                
                                pi@iobroker:/opt/iobroker/node_modules/iobroker.backitup $ npm -v
                                9.6.3
                                pi@iobroker:/opt/iobroker/node_modules/iobroker.backitup $ nodejs -v
                                v19.9.0
                                pi@iobroker:/opt/iobroker/node_modules/iobroker.backitup $
                                
                                

                                iob diag Ausgabe:

                                Skript v.2023-04-02
                                
                                *** BASE SYSTEM ***
                                Model           : Raspberry Pi 4 Model B Rev 1.5
                                Architecture    : armv7l
                                Docker          : false
                                Virtualization  : none
                                Distributor ID: Raspbian
                                Description:    Raspbian GNU/Linux 10 (buster)
                                Release:        10
                                Codename:       buster
                                
                                PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
                                NAME="Raspbian GNU/Linux"
                                VERSION_ID="10"
                                VERSION="10 (buster)"
                                VERSION_CODENAME=buster
                                ID=raspbian
                                ID_LIKE=debian
                                HOME_URL="http://www.raspbian.org/"
                                SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
                                BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
                                
                                Systemuptime and Load:
                                 17:16:51 up  2:17,  1 user,  load average: 0.75, 0.43, 0.34
                                CPU threads: 4
                                
                                *** Time and Time Zones ***
                                               Local time: Fri 2023-04-14 17:16:51 CEST
                                           Universal time: Fri 2023-04-14 15:16:51 UTC
                                                 RTC time: n/a
                                                Time zone: Europe/Berlin (CEST, +0200)
                                System clock synchronized: yes
                                              NTP service: active
                                          RTC in local TZ: no
                                
                                *** User and Groups ***
                                pi
                                /home/pi
                                pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker
                                
                                *** X-Server-Setup ***
                                X-Server:       false
                                Desktop:
                                Terminal:       tty
                                Boot Target:    graphical.target
                                
                                *** MEMORY ***
                                              total        used        free      shared  buff/cache   available
                                Mem:           3.8G        801M        1.6G         16M        1.4G        3.0G
                                Swap:           99M          0B         99M
                                Total:         3.9G        801M        1.7G
                                
                                         3838 M total memory
                                          801 M used memory
                                          494 M active memory
                                         1569 M inactive memory
                                         1588 M free memory
                                          152 M buffer memory
                                         1296 M swap cache
                                           99 M total swap
                                            0 M used swap
                                           99 M free swap
                                
                                *** FILESYSTEM ***
                                Filesystem     Type      Size  Used Avail Use% Mounted on
                                /dev/root      ext4       30G  5.2G   23G  19% /
                                devtmpfs       devtmpfs  1.8G     0  1.8G   0% /dev
                                tmpfs          tmpfs     1.9G     0  1.9G   0% /dev/shm
                                tmpfs          tmpfs     1.9G   17M  1.9G   1% /run
                                tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
                                tmpfs          tmpfs     1.9G     0  1.9G   0% /sys/fs/cgroup
                                /dev/loop1     squashfs   99M   99M     0 100% /snap/core/14788
                                /dev/loop0     squashfs   99M   99M     0 100% /snap/core/14950
                                /dev/loop2     squashfs  384K  384K     0 100% /snap/minicom/1
                                /dev/mmcblk0p1 vfat      253M   49M  204M  20% /boot
                                tmpfs          tmpfs     384M     0  384M   0% /run/user/1000
                                
                                Messages concerning ext4 filesystem in dmesg:
                                [Fri Apr 14 14:59:30 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1  smsc95xx.macaddr=E4:5F:01:BC:F7:27 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=a62f624d-02 rootfstype=ext4 fsck.repair=yes rootwait
                                [Fri Apr 14 14:59:31 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
                                [Fri Apr 14 14:59:31 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
                                [Fri Apr 14 14:59:33 2023] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
                                
                                Show mounted filesystems (real ones only):
                                TARGET             SOURCE         FSTYPE   OPTIONS
                                /                  /dev/mmcblk0p2 ext4     rw,noatime
                                |-/sys/fs/bpf      none           bpf      rw,nosuid,nodev,noexec,relatime,mode=700
                                |-/snap/core/14788 /dev/loop1     squashfs ro,nodev,relatime
                                |-/snap/core/14950 /dev/loop0     squashfs ro,nodev,relatime
                                |-/snap/minicom/1  /dev/loop2     squashfs ro,nodev,relatime
                                `-/boot            /dev/mmcblk0p1 vfat     rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
                                
                                Files in neuralgic directories:
                                
                                /var:
                                1.1G    /var/
                                506M    /var/lib
                                294M    /var/lib/snapd
                                253M    /var/log
                                197M    /var/lib/snapd/snaps
                                
                                /opt/iobroker/backups:
                                491M    /opt/iobroker/backups/
                                
                                /opt/iobroker/iobroker-data:
                                298M    /opt/iobroker/iobroker-data/
                                252M    /opt/iobroker/iobroker-data/files
                                78M     /opt/iobroker/iobroker-data/files/icons-open-icon-library-png
                                51M     /opt/iobroker/iobroker-data/files/javascript.admin
                                35M     /opt/iobroker/iobroker-data/backup-objects
                                
                                The five largest files in iobroker-data are:
                                6.9M    /opt/iobroker/iobroker-data/objects.jsonl
                                6.9M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js/610.de0231c9.chunk.js.map
                                6.6M    /opt/iobroker/iobroker-data/files/modbus.admin/static/js/main.8083c40d.js.map
                                6.3M    /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map
                                5.1M    /opt/iobroker/iobroker-data/states.jsonl
                                
                                *** NodeJS-Installation ***
                                
                                /usr/bin/nodejs         v19.9.0
                                /usr/bin/node           v19.9.0
                                /usr/bin/npm            9.6.3
                                /usr/bin/npx            9.6.3
                                
                                nodejs:
                                  Installed: 19.9.0-deb-1nodesource1
                                  Candidate: 19.9.0-deb-1nodesource1
                                  Version table:
                                 *** 19.9.0-deb-1nodesource1 500
                                        500 https://deb.nodesource.com/node_19.x buster/main armhf Packages
                                        100 /var/lib/dpkg/status
                                     10.24.0~dfsg-1~deb10u3 500
                                        500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                
                                Temp directories causing npm8 problem: 0
                                No problems detected
                                
                                *** ioBroker-Installation ***
                                
                                ioBroker Status
                                iobroker is running on this host.
                                
                                
                                Objects type: jsonl
                                States  type: jsonl
                                
                                Core adapters versions
                                js-controller:  4.0.23
                                admin:          6.3.5
                                javascript:     6.1.4
                                
                                Adapters from github:   0
                                
                                Adapter State
                                + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                + system.adapter.backitup.0               : backitup              : iobroker                                 -  enabled
                                + system.adapter.countdown.0              : countdown             : iobroker                                 -  enabled
                                + system.adapter.discovery.0              : discovery             : iobroker                                 -  enabled
                                + system.adapter.email.0                  : email                 : iobroker                                 -  enabled
                                  system.adapter.fronius.0                : fronius               : iobroker                                 - disabled
                                  system.adapter.icons-addictive-flavour-png.0: icons-addictive-flavour-png: iobroker                                 -  enabled
                                  system.adapter.icons-icons8.0           : icons-icons8          : iobroker                                 -  enabled
                                  system.adapter.icons-material-png.0     : icons-material-png    : iobroker                                 -  enabled
                                  system.adapter.icons-mfd-png.0          : icons-mfd-png         : iobroker                                 -  enabled
                                  system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : iobroker                                 -  enabled
                                  system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png: iobroker                                 -  enabled
                                  system.adapter.icons-ultimate-png.0     : icons-ultimate-png    : iobroker                                 -  enabled
                                + system.adapter.influxdb.1               : influxdb              : iobroker                                 -  enabled, port: 8086
                                + system.adapter.javascript.0             : javascript            : iobroker                                 -  enabled
                                  system.adapter.kecontact.0              : kecontact             : iobroker                                 - disabled
                                  system.adapter.modbus.0                 : modbus                : iobroker                                 - disabled
                                  system.adapter.modbus.1                 : modbus                : iobroker                                 - disabled
                                  system.adapter.modbus.2                 : modbus                : iobroker                                 - disabled
                                  system.adapter.modbus.3                 : modbus                : iobroker                                 - disabled
                                  system.adapter.openweathermap.0         : openweathermap        : iobroker                                 -  enabled
                                + system.adapter.ping.0                   : ping                  : iobroker                                 -  enabled
                                + system.adapter.pvforecast.0             : pvforecast            : iobroker                                 -  enabled
                                + system.adapter.rpi2.0                   : rpi2                  : iobroker                                 -  enabled
                                  system.adapter.smartmeter.0             : smartmeter            : iobroker                                 - disabled
                                  system.adapter.vis-icontwo.0            : vis-icontwo           : iobroker                                 -  enabled
                                + system.adapter.vis-inventwo.0           : vis-inventwo          : iobroker                                 -  enabled
                                  system.adapter.vis-timeandweather.0     : vis-timeandweather    : iobroker                                 -  enabled
                                  system.adapter.vis.0                    : vis                   : iobroker                                 -  enabled
                                  system.adapter.weatherunderground.0     : weatherunderground    : iobroker                                 -  enabled
                                + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                
                                + instance is alive
                                
                                Enabled adapters with bindings
                                + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                + system.adapter.influxdb.1               : influxdb              : iobroker                                 -  enabled, port: 8086
                                + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                
                                ioBroker-Repositories
                                stable        : http://download.iobroker.net/sources-dist.json
                                beta          : http://download.iobroker.net/sources-dist-latest.json
                                
                                Active repo(s): stable
                                
                                Installed ioBroker-Instances
                                Used repository: stable
                                Adapter    "admin"        : 6.3.5    , installed 6.3.5
                                Adapter    "backitup"     : 2.6.16   , installed 2.6.16
                                Adapter    "countdown"    : 1.2.5    , installed 1.2.5
                                Adapter    "discovery"    : 3.1.0    , installed 3.1.0
                                Adapter    "email"        : 1.1.4    , installed 1.1.4
                                Adapter    "fronius"      : 1.1.3    , installed 1.1.3
                                Adapter    "icons-addictive-flavour-png": 0.1.0, installed 0.1.0
                                Adapter    "icons-icons8" : 0.0.1    , installed 0.0.1
                                Adapter    "icons-material-png": 0.1.0, installed 0.1.0
                                Adapter    "icons-mfd-png": 1.1.0    , installed 1.1.0
                                Adapter    "icons-mfd-svg": 1.1.0    , installed 1.1.0
                                Adapter    "icons-open-icon-library-png": 0.1.2, installed 0.1.2
                                Adapter    "icons-ultimate-png": 1.0.1, installed 1.0.1
                                Adapter    "influxdb"     : 3.2.0    , installed 3.2.0
                                Adapter    "javascript"   : 6.1.4    , installed 6.1.4
                                Controller "js-controller": 4.0.24   , installed 4.0.23 [Updatable]
                                Adapter    "kecontact"    : 1.5.2    , installed 1.5.2
                                Adapter    "modbus"       : 5.0.11   , installed 5.0.11
                                Adapter    "openweathermap": 0.3.3   , installed 0.3.3
                                Adapter    "ping"         : 1.5.3    , installed 1.5.3
                                Adapter    "pvforecast"   : 2.3.0    , installed 2.3.0
                                Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
                                Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                                Adapter    "smartmeter"   : 3.3.4    , installed 3.3.4
                                Adapter    "socketio"     : 4.2.0    , installed 4.2.0
                                Adapter    "vis"          : 1.4.16   , installed 1.4.16
                                Adapter    "vis-icontwo"  : 0.93.0   , installed 0.93.0
                                Adapter    "vis-inventwo" : 3.3.1    , installed 3.3.1
                                Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
                                Adapter    "weatherunderground": 3.4.2, installed 3.4.2
                                Adapter    "web"          : 4.3.0    , installed 4.3.0
                                Adapter    "ws"           : 1.3.0    , installed 1.3.0
                                
                                Objects and States
                                Please stand by - This may take a while
                                Objects:        3685
                                States:         3195
                                
                                *** OS-Repositories and Updates ***
                                Hit:1 http://archive.raspbian.org/raspbian buster InRelease
                                Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                Hit:3 http://archive.raspberrypi.org/debian buster InRelease
                                Hit:4 https://repos.influxdata.com/debian stable InRelease
                                Hit:5 https://apt.grafana.com stable InRelease
                                Hit:6 https://deb.nodesource.com/node_19.x buster InRelease
                                Reading package lists...
                                Pending Updates: 0
                                
                                *** Listening Ports ***
                                Active Internet connections (only servers)
                                Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
                                tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          18691      633/sshd
                                tcp        0      0 127.0.0.1:8088          0.0.0.0:*               LISTEN      999        16738      626/influxd
                                tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       87197      10363/iobroker.js-c
                                tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       87190      10363/iobroker.js-c
                                tcp6       0      0 :::8081                 :::*                    LISTEN      1001       87273      10384/io.admin.0
                                tcp6       0      0 :::8082                 :::*                    LISTEN      1001       85926      10666/io.web.0
                                tcp6       0      0 :::8086                 :::*                    LISTEN      999        16177      626/influxd
                                tcp6       0      0 :::22                   :::*                    LISTEN      0          18693      633/sshd
                                tcp6       0      0 :::3000                 :::*                    LISTEN      109        16764      620/grafana
                                udp        0      0 0.0.0.0:51197           0.0.0.0:*                           108        16508      372/avahi-daemon: r
                                udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          16663      618/dhcpcd
                                udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        16506      372/avahi-daemon: r
                                udp6       0      0 :::37553                :::*                                108        16509      372/avahi-daemon: r
                                udp6       0      0 :::5353                 :::*                                108        16507      372/avahi-daemon: r
                                
                                *** Log File - Last 25 Lines ***
                                
                                2023-04-14 17:15:45.097  - error: rpi2.0 (10894) GPIO is not initialized!
                                2023-04-14 17:15:50.051  - error: rpi2.0 (10894) GPIO is not initialized!
                                2023-04-14 17:15:55.104  - error: rpi2.0 (10894) GPIO is not initialized!
                                2023-04-14 17:16:00.119  - error: rpi2.0 (10894) GPIO is not initialized!
                                2023-04-14 17:16:05.074  - error: rpi2.0 (10894) GPIO is not initialized!
                                2023-04-14 17:16:10.119  - error: rpi2.0 (10894) GPIO is not initialized!
                                2023-04-14 17:16:15.097  - error: rpi2.0 (10894) GPIO is not initialized!
                                2023-04-14 17:16:20.099  - error: rpi2.0 (10894) GPIO is not initialized!
                                2023-04-14 17:16:25.091  - error: rpi2.0 (10894) GPIO is not initialized!
                                2023-04-14 17:16:30.122  - error: rpi2.0 (10894) GPIO is not initialized!
                                2023-04-14 17:16:35.068  - error: rpi2.0 (10894) GPIO is not initialized!
                                2023-04-14 17:16:40.118  - error: rpi2.0 (10894) GPIO is not initialized!
                                2023-04-14 17:16:45.093  - error: rpi2.0 (10894) GPIO is not initialized!
                                2023-04-14 17:16:50.090  - error: rpi2.0 (10894) GPIO is not initialized!
                                2023-04-14 17:16:55.085  - error: rpi2.0 (10894) GPIO is not initialized!
                                2023-04-14 17:17:00.099  - error: rpi2.0 (10894) GPIO is not initialized!
                                2023-04-14 17:17:05.054  - error: rpi2.0 (10894) GPIO is not initialized!
                                2023-04-14 17:17:10.084  - error: rpi2.0 (10894) GPIO is not initialized!
                                2023-04-14 17:17:15.089  - error: rpi2.0 (10894) GPIO is not initialized!
                                2023-04-14 17:17:20.088  - error: rpi2.0 (10894) GPIO is not initialized!
                                2023-04-14 17:17:27.049  - error: rpi2.0 (10894) GPIO is not initialized!
                                2023-04-14 17:17:31.218  - error: rpi2.0 (10894) GPIO is not initialized!
                                2023-04-14 17:17:35.063  - error: rpi2.0 (10894) GPIO is not initialized!
                                2023-04-14 17:17:40.090  - error: rpi2.0 (10894) GPIO is not initialized!
                                2023-04-14 17:17:45.078  - error: rpi2.0 (10894) GPIO is not initialized!
                                
                                

                                Nun gibt es die Meldung GPIO is not initialized.
                                Die GPIO brauche ich aber dringend.

                                Wenn ich das Backitup ausführe selbe Fehlermeldung:

                                BackItUp:
                                Your backup was not completely created. Please check the errors!!

                                grafana: {"message":"Request failed with status code 401","name":"AxiosError","stack":"AxiosError: Request failed with status code 401\n at settle (/opt/iobroker/node_modules/iobroker.backitup/node_modules/axios/dist/node/axios.cjs:1898:12)\n at IncomingMessage.handleStreamEnd (/opt/iobroker/node_modules/iobroker.backitup/node_modules/axios/dist/node/axios.cjs:2950:11)\n at IncomingMessage.emit (node:events:525:35)\n at endReadableNT (node:internal/streams/readable:1359:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json, text/plain, /","Authorization":"Bearer ****","User-Agent":"axios/1.3.5","Accept-Encoding":"gzip, compress, deflate, br"},"method":"get","url":"http://localhost:3000/api/search","responseType":"json","httpsAgent":{"_events":{},"_eventsCount":2,"_maxListeners":100,"defaultPort":443,"protocol":"https:","options":{"rejectUnauthorized":false,"noDelay":true,"path":null},"requests":{},"sockets":{},"freeSockets":{},"keepAliveMsecs":1000,"keepAlive":false,"maxSockets":null,"maxFreeSockets":256,"scheduling":"lifo","maxTotalSockets":null,"totalSocketCount":0,"maxCachedSessions":100,"_sessionCache":{"map":{},"list":[]}}},"code":"ERR_BAD_REQUEST","status":401}

                                Oder ist jetzt "nodejs19" wieder zu neu ?
                                Was zum Henker mach ich falsch ???

                                Gruß Andi

                                DJMarc75 Thomas Braun 3 Replies Last reply Reply Quote 0
                                • DJMarc75
                                  DJMarc75 @kratan75 last edited by

                                  @kratan75 sagte in Backitup und Grafana:

                                  habe ich noch Buster drauf. Das möchte ich vorerst auch nicht ändern

                                  Grund ?

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

                                    @kratan75 sagte in Backitup und Grafana:

                                    Das möchte ich vorerst auch nicht ändern

                                    Das wirst du ändern müssen, weil Buster das EndOfLife erreicht hat. Vor Monaten bereits.

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

                                      @kratan75 sagte in Backitup und Grafana:

                                      Oder ist jetzt "nodejs19" wieder zu neu ?

                                      Ja, die derzeitige Empfehlung ist nodejs@18.

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

                                        @thomas-braun Geht trotzdem nicht.

                                        Hier die Ausgabe:

                                        /usr/bin/nodejs
                                        /usr/bin/node
                                        /usr/bin/npm
                                        /usr/bin/npx
                                        v18.16.0
                                        v18.16.0
                                        9.5.1
                                        npm ERR! could not determine executable to run
                                        
                                        npm ERR! A complete log of this run can be found in:
                                        npm ERR!     /home/pi/.npm/_logs/2023-04-14T16_44_18_966Z-debug-0.log
                                        
                                        
                                        
                                        Copy text starting here:
                                        
                                        
                                        ======================= SUMMARY =======================
                                                             v.2023-04-02
                                        
                                        
                                        Operatingsystem:        Raspbian GNU/Linux 10 (buster)
                                        Kernel:                 5.10.103-v7l+
                                        Installation:           Native
                                        Timezone:               Europe/Berlin (CEST, +0200)
                                        User-ID:                1000
                                        X-Server:               false
                                        Boot Target:            graphical.target
                                        
                                        Pending OS-Updates:     0
                                        Pending iob updates:    1
                                        
                                        Nodejs-Installation:    /usr/bin/nodejs         v18.16.0
                                                                /usr/bin/node           v18.16.0
                                                                /usr/bin/npm            9.5.1
                                                                /usr/bin/npx            9.5.1
                                        
                                        Recommended versions are nodejs 18.x.y and npm 9.x.y
                                        
                                        MEMORY:
                                                      total        used        free      shared  buff/cache   available
                                        Mem:           3.8G        668M        1.7G         16M        1.5G        3.1G
                                        Swap:           99M          0B         99M
                                        Total:         3.9G        668M        1.8G
                                        
                                        Active iob-Instances:   13
                                        Active repo(s): stable
                                        
                                        ioBroker Core:          js-controller           4.0.23
                                                                admin                   6.3.5
                                        
                                        ioBroker Status:        iobroker is running on this host.
                                        
                                        
                                        Objects type: jsonl
                                        States  type: jsonl
                                        
                                        Status admin and web instance:
                                        + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                        + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                        
                                        Objects:                3685
                                        States:                 3269
                                        
                                        Size of iob-Database:
                                        
                                        6.7M    /opt/iobroker/iobroker-data/objects.jsonl
                                        1.3M    /opt/iobroker/iobroker-data/states.jsonl
                                        
                                        
                                        
                                        =================== END OF SUMMARY ====================
                                        

                                        Selbes Ergebnis:

                                        BackItUp:
                                        Your backup was not completely created. Please check the errors!!

                                        grafana: {"message":"Request failed with status code 401","name":"AxiosError","stack":"AxiosError: Request failed with status code 401\n at settle (/opt/iobroker/node_modules/iobroker.backitup/node_modules/axios/dist/node/axios.cjs:1898:12)\n at IncomingMessage.handleStreamEnd (/opt/iobroker/node_modules/iobroker.backitup/node_modules/axios/dist/node/axios.cjs:2950:11)\n at IncomingMessage.emit (node:events:525:35)\n at endReadableNT (node:internal/streams/readable:1359:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json, text/plain, /","Authorization":"Bearer ****","User-Agent":"axios/1.3.5","Accept-Encoding":"gzip, compress, deflate, br"},"method":"get","url":"http://192.168.3.162:3000/api/search","responseType":"json","httpsAgent":{"_events":{},"_eventsCount":2,"_maxListeners":100,"defaultPort":443,"protocol":"https:","options":{"rejectUnauthorized":false,"noDelay":true,"path":null},"requests":{},"sockets":{},"freeSockets":{},"keepAliveMsecs":1000,"keepAlive":false,"maxSockets":null,"maxFreeSockets":256,"scheduling":"lifo","maxTotalSockets":null,"totalSocketCount":0,"maxCachedSessions":100,"_sessionCache":{"map":{},"list":[]}}},"code":"ERR_BAD_REQUEST","status":401}

                                        Irgendwie treibt mich das Teil noch zum Wahnsinn 👿

                                        Noch eine Idee ?

                                        Gruß Andi

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

                                          @kratan75 sagte in Backitup und Grafana:

                                          npm ERR! could not determine executable to run

                                          Da ist nodejs auch bestimmt 'krumm' installiert, denn npx wird natülich in einer gesunden Installation gefunden.

                                          iob diag
                                          

                                          sagt? Ist natürlich nur sinnvoll in einem aktuellen System, also nicht 'buster'.

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

                                            @djmarc75 Weil ich damit meinen PV-Eigenverbrauch von 2 Anlagen optimiere und steuere und gerade wenig bis keine Zeit habe hier rum zu experimentieren. Der Rechner muss jetzt erst mal laufen. Wenn ich Zeit finde mach ich das Update.

                                            Gruß Andreas

                                            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

                                            958
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            62
                                            3954
                                            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