Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. Iobroker startet nicht mehr nach Systemabsturz

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    3.3k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.1k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.4k

Iobroker startet nicht mehr nach Systemabsturz

Scheduled Pinned Locked Moved Error/Bug
33 Posts 4 Posters 1.7k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Wuffi26

    Ich würde diese Version bevorzugen da auch Influx mit auf der Maschine läuft. Ich habe da aber auch Backups, hoffe das diese auch funktionieren. :-)

    AsgothianA Offline
    AsgothianA Offline
    Asgothian
    Developer
    wrote on last edited by
    #15

    @wuffi26 sagte in Iobroker startet nicht mehr nach Systemabsturz:

    Ich würde diese Version bevorzugen da auch Influx mit auf der Maschine läuft. Ich habe da aber auch Backups, hoffe das diese auch funktionieren. :-)

    Das Bevorzugen dieser 'Version' ist wahrscheinlich nicht die Lösung:

    • Der ioBroker lief vor dem Absturz des PI4 ohne Auffälligkeiten
    • Nach dem Neustart gab es Auffälligkeiten.
    • Sofern nicht ein Versuch nodeJS zu aktualisieren zum Absturz geführt hat ist also der Versionsunterschied wahrscheinlich nicht Ursache des Problems.

    Ich bin da auf @Homoran 's Seite. Neu aufsetzen - Korrekt installieren (dann ist auch Node/NodeJS gerade gezogen), backup einspielen.

    Ist mehr Arbeit, ist aber auf lange Sicht besser.

    Sofern der PI4 von SDCard läuft würde ich diese austauschen - Sicher ist sicher. Zum einen hast du damit eine Vorlage von der du ggf. noch Daten ziehen kannst die im Backup nicht drin sind, zum anderen sind die Kosten so gering das das nichts ausmachen sollte.

    A.

    ioBroker auf RPi4 - Hardware soweit wie möglich via Zigbee.
    "Shit don't work" ist keine Fehlermeldung, sondern ein Fluch.

    1 Reply Last reply
    1
    • W Wuffi26

      Ok, und wie würden Sie das machen? Da habe ich leider nicht so viel erfahrung darin.

      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      wrote on last edited by
      #16

      @wuffi26

      Wie bekommt man das immer so schief hin? Seufz

      Schau in meiner Signatur wie man mit nodejs (und ganz grundsätzlich mit nachinstallierter Software) unter Debian umgeht.

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      1 Reply Last reply
      0
      • W Offline
        W Offline
        Wuffi26
        wrote on last edited by
        #17

        @Asgothian vielen Dank für die Antwort. Ich kann leider nicht sagen ob es davor Auffälligkeiten gegeben hat er lief immer und hat das gemacht was er machen sollte. Der Pi4 läuft mit einer SSD da ich schon schlechte Erfahrungen mit SD karten machen durfte. Das system läuft aber jetzt auch schon knapp 3 Jahre aber das dürfte ja kein Problem sein. Ist auch immer aktuell gehalten worden. nodejs wurde auch zuletzt nicht aktualisiert oder wurde versucht zu aktualisieren.

        Also zu guter letzt wird empfohlen das System neu aufzusetzen?

        Thomas BraunT AsgothianA 2 Replies Last reply
        0
        • W Wuffi26

          @Asgothian vielen Dank für die Antwort. Ich kann leider nicht sagen ob es davor Auffälligkeiten gegeben hat er lief immer und hat das gemacht was er machen sollte. Der Pi4 läuft mit einer SSD da ich schon schlechte Erfahrungen mit SD karten machen durfte. Das system läuft aber jetzt auch schon knapp 3 Jahre aber das dürfte ja kein Problem sein. Ist auch immer aktuell gehalten worden. nodejs wurde auch zuletzt nicht aktualisiert oder wurde versucht zu aktualisieren.

          Also zu guter letzt wird empfohlen das System neu aufzusetzen?

          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          wrote on last edited by
          #18

          @wuffi26 sagte in Iobroker startet nicht mehr nach Systemabsturz:

          Also zu guter letzt wird empfohlen das System neu aufzusetzen

          Ja, und zwar ohne Desktop dann. In der 64bit-Variante.

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          W 1 Reply Last reply
          0
          • W Wuffi26

            @Asgothian vielen Dank für die Antwort. Ich kann leider nicht sagen ob es davor Auffälligkeiten gegeben hat er lief immer und hat das gemacht was er machen sollte. Der Pi4 läuft mit einer SSD da ich schon schlechte Erfahrungen mit SD karten machen durfte. Das system läuft aber jetzt auch schon knapp 3 Jahre aber das dürfte ja kein Problem sein. Ist auch immer aktuell gehalten worden. nodejs wurde auch zuletzt nicht aktualisiert oder wurde versucht zu aktualisieren.

            Also zu guter letzt wird empfohlen das System neu aufzusetzen?

            AsgothianA Offline
            AsgothianA Offline
            Asgothian
            Developer
            wrote on last edited by
            #19

            @wuffi26 sagte in Iobroker startet nicht mehr nach Systemabsturz:

            Also zu guter letzt wird empfohlen das System neu aufzusetzen?

            Meine Empfehlung ist das, ja. Aber das ist nur meine Meinung.

            ioBroker auf RPi4 - Hardware soweit wie möglich via Zigbee.
            "Shit don't work" ist keine Fehlermeldung, sondern ein Fluch.

            W 1 Reply Last reply
            0
            • W Offline
              W Offline
              Wuffi26
              wrote on last edited by
              #20

              @Thomas-Braun Ja diese habe ich mir schon angeschaut :-) ich weiß auch nicht wie man so etwas hinbekommt. Aber kann es nicht sein das die SSD etwas hat? Diese ist ja auch schon etwas älter. Und danke für die schnellen Antworten. ;-)

              Thomas BraunT 1 Reply Last reply
              0
              • Thomas BraunT Thomas Braun

                @wuffi26 sagte in Iobroker startet nicht mehr nach Systemabsturz:

                Also zu guter letzt wird empfohlen das System neu aufzusetzen

                Ja, und zwar ohne Desktop dann. In der 64bit-Variante.

                W Offline
                W Offline
                Wuffi26
                wrote on last edited by
                #21

                @thomas-braun Ok, das werde ich beherzigen. Danke sehr

                1 Reply Last reply
                0
                • AsgothianA Asgothian

                  @wuffi26 sagte in Iobroker startet nicht mehr nach Systemabsturz:

                  Also zu guter letzt wird empfohlen das System neu aufzusetzen?

                  Meine Empfehlung ist das, ja. Aber das ist nur meine Meinung.

                  W Offline
                  W Offline
                  Wuffi26
                  wrote on last edited by
                  #22

                  @asgothian Ok dann wird es so werden

                  1 Reply Last reply
                  0
                  • W Offline
                    W Offline
                    Wuffi26
                    wrote on last edited by
                    #23

                    @Thomas-Braun @Asgothian Wäre da eine neue SSD ratsam?

                    AsgothianA 1 Reply Last reply
                    0
                    • W Wuffi26

                      @Thomas-Braun Ja diese habe ich mir schon angeschaut :-) ich weiß auch nicht wie man so etwas hinbekommt. Aber kann es nicht sein das die SSD etwas hat? Diese ist ja auch schon etwas älter. Und danke für die schnellen Antworten. ;-)

                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      wrote on last edited by
                      #24

                      @wuffi26

                      Die nodejs v16.14.2 und npm/npx haste jedenfalls irgendwie reingedübelt. Npm kann nicht so lange her sein...
                      Das passt jedenfalls hinten und vorne nicht zueinander.

                      iob diag
                      

                      sagt? Aber ich würde es wohl frisch neu und diesmal gescheit (ohne Desktop/in 64Bit) aufsetzen.

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      1 Reply Last reply
                      0
                      • W Wuffi26

                        @Thomas-Braun @Asgothian Wäre da eine neue SSD ratsam?

                        AsgothianA Offline
                        AsgothianA Offline
                        Asgothian
                        Developer
                        wrote on last edited by
                        #25

                        @wuffi26 sagte in Iobroker startet nicht mehr nach Systemabsturz:

                        @Thomas-Braun @Asgothian Wäre da eine neue SSD ratsam?

                        Ich denke nein. Eine SSD (sofern sie nicht ultra-voll gelaufen ist) sollte das überstehen können.

                        A.

                        ioBroker auf RPi4 - Hardware soweit wie möglich via Zigbee.
                        "Shit don't work" ist keine Fehlermeldung, sondern ein Fluch.

                        W 1 Reply Last reply
                        0
                        • W Offline
                          W Offline
                          Wuffi26
                          wrote on last edited by Homoran
                          #26

                          @thomas-braun said in Iobroker startet nicht mehr nach Systemabsturz:

                          iob diag

                          ======== Start marking the full check here =========

                          Skript v.2023-01-02
                          
                          *** BASE SYSTEM ***
                          Model		: Raspberry Pi 4 Model B Rev 1.4
                          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:
                           10:29:39 up  2:47,  2 users,  load average: 5.43, 5.33, 4.66
                          CPU threads: 4
                          
                          *** Time and Time Zones ***
                          Sun Jan 15 09:29:39 UTC 2023
                          Sun Jan 15 10:29:39 CET 2023
                          CET +0100
                          Europe/Berlin
                          
                          *** User and Groups ***
                          pi
                          /home/pi
                          pi adm dialout cdrom sudo audio video plugdev games users input netdev lpadmin gpio i2c spi iobroker
                          
                          *** X-Server-Setup ***
                          X-Server: 	true
                          Desktop: 	LXDE-pi
                          Terminal: 	x11
                          Boot Target: 	graphical.target
                          
                          *** MEMORY ***
                                        total        used        free      shared  buff/cache   available
                          Mem:           7.9G        789M        1.3G        344M        5.8G        6.5G
                          Swap:           99M          0B         99M
                          Total:         8.0G        789M        1.4G
                          
                                   7897 M total memory
                                    789 M used memory
                                    588 M active memory
                                   5601 M inactive memory
                                   1282 M free memory
                                    158 M buffer memory
                                   5667 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      118G   18G   95G  16% /
                          devtmpfs       devtmpfs  3.7G     0  3.7G   0% /dev
                          tmpfs          tmpfs     3.9G   84M  3.8G   3% /dev/shm
                          tmpfs          tmpfs     3.9G   49M  3.9G   2% /run
                          tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
                          tmpfs          tmpfs     3.9G     0  3.9G   0% /sys/fs/cgroup
                          /dev/sdb1      ext4       57G   40G   14G  75% /media/history
                          /dev/sda1      vfat      253M   50M  203M  20% /boot
                          tmpfs          tmpfs     790M   12K  790M   1% /run/user/1000
                          
                          Messages in dmesg:
                          [Sun Jan 15 07:42:03 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1920x1080M@60 smsc95xx.macaddr=DC:A6:32:E2:7D:0E vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000  console=ttyS0,115200 console=tty1 root=PARTUUID=c164fdb9-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
                          [Sun Jan 15 07:42:05 2023] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
                          [Sun Jan 15 07:42:05 2023] VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
                          [Sun Jan 15 07:42:07 2023] EXT4-fs (sda2): re-mounted. Opts: (null)
                          [Sun Jan 15 07:42:10 2023] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
                          
                          Show mounted filesystems (real ones only):
                          TARGET                SOURCE     FSTYPE          OPTIONS
                          /                     /dev/sda2  ext4            rw,noatime
                          |-/sys/fs/bpf         none       bpf             rw,nosuid,nodev,noexec,relatime,mode=700
                          |-/run/user/1000/gvfs gvfsd-fuse fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000
                          |-/media/history      /dev/sdb1  ext4            rw,relatime
                          `-/boot               /dev/sda1  vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
                          
                          Files in neuralgic directories:
                          
                          /var:
                          1.1G	/var/
                          697M	/var/cache
                          686M	/var/cache/apt
                          627M	/var/cache/apt/archives
                          198M	/var/lib
                          
                          /opt/iobroker/backups:
                          6.7G	/opt/iobroker/backups/
                          
                          /opt/iobroker/iobroker-data:
                          584M	/opt/iobroker/iobroker-data/
                          299M	/opt/iobroker/iobroker-data/backup-objects
                          236M	/opt/iobroker/iobroker-data/files
                          71M	/opt/iobroker/iobroker-data/files/telegram.admin
                          50M	/opt/iobroker/iobroker-data/files/javascript.admin
                          
                          The five largest files in iobroker-data are:
                          33M	/opt/iobroker/iobroker-data/files/devices.admin/static/js/main.10538062.js.map
                          15M	/opt/iobroker/iobroker-data/files/telegram.admin/rules/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06.44fe4a3f.chunk.js.map
                          12M	/opt/iobroker/iobroker-data/objects.jsonl
                          8.5M	/opt/iobroker/iobroker-data/files/vis.0/Test/vis-views.json
                          8.2M	/opt/iobroker/iobroker-data/objects.json.migrated
                          
                          *** NodeJS-Installation ***
                          
                          /usr/bin/nodejs 	v16.19.0
                          /usr/local/bin/node 		v16.14.2
                          /usr/local/bin/npm 		9.3.0
                          /usr/local/bin/npx 		9.3.0
                          
                          nodejs:
                            Installed: 16.19.0-deb-1nodesource1
                            Candidate: 16.19.0-deb-1nodesource1
                            Version table:
                           *** 16.19.0-deb-1nodesource1 500
                                  500 https://deb.nodesource.com/node_16.x buster/main armhf Packages
                                  100 /var/lib/dpkg/status
                               10.24.0~dfsg-1~deb10u2 500
                                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                          
                          Temp directories causing npm8 problem: 0
                          
                          *** ioBroker-Installation ***
                          
                          ioBroker Status
                          node:internal/modules/cjs/loader:361
                                throw err;
                                ^
                          
                          Error: Cannot find module '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/index'. Please verify that the package.json has a valid "main" entry
                              at tryPackage (node:internal/modules/cjs/loader:353:19)
                              at Function.Module._findPath (node:internal/modules/cjs/loader:566:18)
                              at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
                              at Function.Module._load (node:internal/modules/cjs/loader:778:27)
                              at Module.require (node:internal/modules/cjs/loader:1005:19)
                              at require (node:internal/modules/cjs/helpers:102:18)
                              at Object.<anonymous> (/opt/iobroker/node_modules/jsonwebtoken/lib/timespan.js:1:10)
                              at Module._compile (node:internal/modules/cjs/loader:1103:14)
                              at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
                              at Module.load (node:internal/modules/cjs/loader:981:32) {
                            code: 'MODULE_NOT_FOUND',
                            path: '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/package.json',
                            requestPath: 'ms'
                          }
                          
                          Core adapters versions
                          node:internal/modules/cjs/loader:361
                                throw err;
                                ^
                          
                          Error: Cannot find module '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/index'. Please verify that the package.json has a valid "main" entry
                              at tryPackage (node:internal/modules/cjs/loader:353:19)
                              at Function.Module._findPath (node:internal/modules/cjs/loader:566:18)
                              at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
                              at Function.Module._load (node:internal/modules/cjs/loader:778:27)
                              at Module.require (node:internal/modules/cjs/loader:1005:19)
                              at require (node:internal/modules/cjs/helpers:102:18)
                              at Object.<anonymous> (/opt/iobroker/node_modules/jsonwebtoken/lib/timespan.js:1:10)
                              at Module._compile (node:internal/modules/cjs/loader:1103:14)
                              at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
                              at Module.load (node:internal/modules/cjs/loader:981:32) {
                            code: 'MODULE_NOT_FOUND',
                            path: '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/package.json',
                            requestPath: 'ms'
                          }
                          js-controller: 	
                          node:internal/modules/cjs/loader:361
                                throw err;
                                ^
                          
                          Error: Cannot find module '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/index'. Please verify that the package.json has a valid "main" entry
                              at tryPackage (node:internal/modules/cjs/loader:353:19)
                              at Function.Module._findPath (node:internal/modules/cjs/loader:566:18)
                              at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
                              at Function.Module._load (node:internal/modules/cjs/loader:778:27)
                              at Module.require (node:internal/modules/cjs/loader:1005:19)
                              at require (node:internal/modules/cjs/helpers:102:18)
                              at Object.<anonymous> (/opt/iobroker/node_modules/jsonwebtoken/lib/timespan.js:1:10)
                              at Module._compile (node:internal/modules/cjs/loader:1103:14)
                              at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
                              at Module.load (node:internal/modules/cjs/loader:981:32) {
                            code: 'MODULE_NOT_FOUND',
                            path: '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/package.json',
                            requestPath: 'ms'
                          }
                          admin: 		
                          node:internal/modules/cjs/loader:361
                                throw err;
                                ^
                          
                          Error: Cannot find module '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/index'. Please verify that the package.json has a valid "main" entry
                              at tryPackage (node:internal/modules/cjs/loader:353:19)
                              at Function.Module._findPath (node:internal/modules/cjs/loader:566:18)
                              at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
                              at Function.Module._load (node:internal/modules/cjs/loader:778:27)
                              at Module.require (node:internal/modules/cjs/loader:1005:19)
                              at require (node:internal/modules/cjs/helpers:102:18)
                              at Object.<anonymous> (/opt/iobroker/node_modules/jsonwebtoken/lib/timespan.js:1:10)
                              at Module._compile (node:internal/modules/cjs/loader:1103:14)
                              at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
                              at Module.load (node:internal/modules/cjs/loader:981:32) {
                            code: 'MODULE_NOT_FOUND',
                            path: '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/package.json',
                            requestPath: 'ms'
                          }
                          javascript: 	
                          
                          Adapters from github: 	0
                          
                          Adapter State
                          node:internal/modules/cjs/loader:361
                                throw err;
                                ^
                          
                          Error: Cannot find module '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/index'. Please verify that the package.json has a valid "main" entry
                              at tryPackage (node:internal/modules/cjs/loader:353:19)
                              at Function.Module._findPath (node:internal/modules/cjs/loader:566:18)
                              at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
                              at Function.Module._load (node:internal/modules/cjs/loader:778:27)
                              at Module.require (node:internal/modules/cjs/loader:1005:19)
                              at require (node:internal/modules/cjs/helpers:102:18)
                              at Object.<anonymous> (/opt/iobroker/node_modules/jsonwebtoken/lib/timespan.js:1:10)
                              at Module._compile (node:internal/modules/cjs/loader:1103:14)
                              at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
                              at Module.load (node:internal/modules/cjs/loader:981:32) {
                            code: 'MODULE_NOT_FOUND',
                            path: '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/package.json',
                            requestPath: 'ms'
                          }
                          
                          Enabled adapters with bindings
                          node:internal/modules/cjs/loader:361
                                throw err;
                                ^
                          
                          Error: Cannot find module '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/index'. Please verify that the package.json has a valid "main" entry
                              at tryPackage (node:internal/modules/cjs/loader:353:19)
                              at Function.Module._findPath (node:internal/modules/cjs/loader:566:18)
                              at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
                              at Function.Module._load (node:internal/modules/cjs/loader:778:27)
                              at Module.require (node:internal/modules/cjs/loader:1005:19)
                              at require (node:internal/modules/cjs/helpers:102:18)
                              at Object.<anonymous> (/opt/iobroker/node_modules/jsonwebtoken/lib/timespan.js:1:10)
                              at Module._compile (node:internal/modules/cjs/loader:1103:14)
                              at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
                              at Module.load (node:internal/modules/cjs/loader:981:32) {
                            code: 'MODULE_NOT_FOUND',
                            path: '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/package.json',
                            requestPath: 'ms'
                          }
                          
                          ioBroker-Repositories
                          node:internal/modules/cjs/loader:361
                                throw err;
                                ^
                          
                          Error: Cannot find module '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/index'. Please verify that the package.json has a valid "main" entry
                              at tryPackage (node:internal/modules/cjs/loader:353:19)
                              at Function.Module._findPath (node:internal/modules/cjs/loader:566:18)
                              at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
                              at Function.Module._load (node:internal/modules/cjs/loader:778:27)
                              at Module.require (node:internal/modules/cjs/loader:1005:19)
                              at require (node:internal/modules/cjs/helpers:102:18)
                              at Object.<anonymous> (/opt/iobroker/node_modules/jsonwebtoken/lib/timespan.js:1:10)
                              at Module._compile (node:internal/modules/cjs/loader:1103:14)
                              at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
                              at Module.load (node:internal/modules/cjs/loader:981:32) {
                            code: 'MODULE_NOT_FOUND',
                            path: '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/package.json',
                            requestPath: 'ms'
                          }
                          
                          Installed ioBroker-Instances
                          node:internal/modules/cjs/loader:361
                                throw err;
                                ^
                          
                          Error: Cannot find module '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/index'. Please verify that the package.json has a valid "main" entry
                              at tryPackage (node:internal/modules/cjs/loader:353:19)
                              at Function.Module._findPath (node:internal/modules/cjs/loader:566:18)
                              at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
                              at Function.Module._load (node:internal/modules/cjs/loader:778:27)
                              at Module.require (node:internal/modules/cjs/loader:1005:19)
                              at require (node:internal/modules/cjs/helpers:102:18)
                              at Object.<anonymous> (/opt/iobroker/node_modules/jsonwebtoken/lib/timespan.js:1:10)
                              at Module._compile (node:internal/modules/cjs/loader:1103:14)
                              at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
                              at Module.load (node:internal/modules/cjs/loader:981:32) {
                            code: 'MODULE_NOT_FOUND',
                            path: '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/package.json',
                            requestPath: 'ms'
                          }
                          
                          Objects and States
                          Please stand by - This may take a while
                          Objects: 	0
                          States: 	0
                          
                          *** OS-Repositories and Updates ***
                          Hit:1 http://archive.raspberrypi.org/debian buster InRelease
                          Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                          Hit:3 https://repos.influxdata.com/debian buster InRelease
                          Hit:4 https://deb.nodesource.com/node_16.x buster InRelease
                          Hit:5 https://packages.grafana.com/oss/deb stable InRelease
                          Hit:6 https://dl.yarnpkg.com/debian stable 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          18508      525/sshd            
                          tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      0          17120      441/cupsd           
                          tcp        0      0 127.0.0.1:8088          0.0.0.0:*               LISTEN      999        16377      517/influxd         
                          tcp        0      0 0.0.0.0:5900            0.0.0.0:*               LISTEN      0          17559      516/vncserver-x11-c 
                          tcp6       0      0 :::8086                 :::*                    LISTEN      999        20963      517/influxd         
                          tcp6       0      0 :::22                   :::*                    LISTEN      0          18510      525/sshd            
                          tcp6       0      0 ::1:631                 :::*                    LISTEN      0          17119      441/cupsd           
                          tcp6       0      0 :::5900                 :::*                    LISTEN      0          17558      516/vncserver-x11-c 
                          udp        0      0 0.0.0.0:33805           0.0.0.0:*                           108        13228      436/avahi-daemon: r 
                          udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          22911      429/dhcpcd          
                          udp        0      0 0.0.0.0:631             0.0.0.0:*                           0          19541      515/cups-browsed    
                          udp        0      0 224.0.0.251:5353        0.0.0.0:*                           1000       218353     1178/chromium-brows 
                          udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        13226      436/avahi-daemon: r 
                          udp6       0      0 :::546                  :::*                                0          211859     429/dhcpcd          
                          udp6       0      0 :::34892                :::*                                108        13229      436/avahi-daemon: r 
                          udp6       0      0 :::5353                 :::*                                108        13227      436/avahi-daemon: r 
                          
                          *** Log File - Last 25 Lines ***
                          
                          2023-01-14 20:43:42.162  - info: host.iobroker instance system.adapter.telegram.0 terminated with code null ()
                          2023-01-14 20:43:42.162  - info: host.iobroker instance system.adapter.influxdb.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
                          2023-01-14 20:43:42.267  - warn: host.iobroker instance system.adapter.sonoff.0 terminated due to SIGTERM
                          2023-01-14 20:43:42.268  - info: host.iobroker instance system.adapter.sonoff.0 terminated with code null ()
                          2023-01-14 20:43:42.268  - warn: host.iobroker instance system.adapter.hm-rpc.0 terminated due to SIGTERM
                          2023-01-14 20:43:42.268  - info: host.iobroker instance system.adapter.hm-rpc.0 terminated with code null ()
                          2023-01-14 20:43:42.268  - warn: host.iobroker instance system.adapter.hm-rega.0 terminated due to SIGTERM
                          2023-01-14 20:43:42.269  - info: host.iobroker instance system.adapter.hm-rega.0 terminated with code null ()
                          2023-01-14 20:43:42.413  - warn: host.iobroker instance system.adapter.hm-rpc.1 terminated due to SIGTERM
                          2023-01-14 20:43:42.414  - info: host.iobroker instance system.adapter.hm-rpc.1 terminated with code null ()
                          2023-01-14 20:43:42.414  - warn: host.iobroker instance system.adapter.rpi2.0 terminated due to SIGTERM
                          2023-01-14 20:43:42.414  - info: host.iobroker instance system.adapter.rpi2.0 terminated with code null ()
                          2023-01-14 20:43:42.415  - warn: host.iobroker instance system.adapter.backitup.0 terminated due to SIGTERM
                          2023-01-14 20:43:42.415  - info: host.iobroker instance system.adapter.backitup.0 terminated with code null ()
                          2023-01-14 20:43:42.511  - warn: host.iobroker instance system.adapter.fritzdect.0 terminated due to SIGTERM
                          2023-01-14 20:43:42.512  - info: host.iobroker instance system.adapter.fritzdect.0 terminated with code null ()
                          2023-01-14 20:43:42.512  - warn: host.iobroker instance system.adapter.info.0 terminated due to SIGTERM
                          2023-01-14 20:43:42.512  - info: host.iobroker instance system.adapter.info.0 terminated with code null ()
                          2023-01-14 20:43:42.513  - warn: host.iobroker instance system.adapter.web.0 terminated due to SIGTERM
                          2023-01-14 20:43:42.513  - info: host.iobroker instance system.adapter.web.0 terminated with code null ()
                          2023-01-14 20:43:42.565  - warn: host.iobroker instance system.adapter.discovergy.0 terminated due to SIGTERM
                          2023-01-14 20:43:42.566  - info: host.iobroker instance system.adapter.discovergy.0 terminated with code null ()
                          2023-01-14 20:43:42.566  - warn: host.iobroker instance system.adapter.growatt.0 terminated due to SIGTERM
                          2023-01-14 20:43:42.567  - info: host.iobroker instance system.adapter.growatt.0 terminated with code null ()
                          2023-01-14 20:43:49.126  - info: host.iobroker stopInstance timeout 10000 system.adapter.history.0 killing pid  1119
                          
                          
                          1 Reply Last reply
                          0
                          • W Offline
                            W Offline
                            Wuffi26
                            wrote on last edited by Homoran
                            #27

                            Copy text starting here:

                            ======================= SUMMARY =======================
                            		     v.2023-01-02
                            
                            
                            Operatingsystem: 	Raspbian GNU/Linux 10 (buster)
                            Installation: 		Native
                            Timezone: 		Europe/Berlin
                            User-ID: 		1000
                            X-Server: 		true
                            Boot Target: 		graphical.target
                            
                            Pending OS-Updates: 	0
                            
                            Nodejs-Installation: 	/usr/bin/nodejs 	v16.19.0
                            			/usr/local/bin/node 		v16.14.2
                            			/usr/local/bin/npm 		9.3.0
                            			/usr/local/bin/npx 		9.3.0
                            
                            node:internal/modules/cjs/loader:361
                                  throw err;
                                  ^
                            
                            Error: Cannot find module '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/index'. Please verify that the package.json has a valid "main" entry
                                at tryPackage (node:internal/modules/cjs/loader:353:19)
                                at Function.Module._findPath (node:internal/modules/cjs/loader:566:18)
                                at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
                                at Function.Module._load (node:internal/modules/cjs/loader:778:27)
                                at Module.require (node:internal/modules/cjs/loader:1005:19)
                                at require (node:internal/modules/cjs/helpers:102:18)
                                at Object.<anonymous> (/opt/iobroker/node_modules/jsonwebtoken/lib/timespan.js:1:10)
                                at Module._compile (node:internal/modules/cjs/loader:1103:14)
                                at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
                                at Module.load (node:internal/modules/cjs/loader:981:32) {
                              code: 'MODULE_NOT_FOUND',
                              path: '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/package.json',
                              requestPath: 'ms'
                            }
                            ioBroker Core: 		js-controller 		
                            node:internal/modules/cjs/loader:361
                                  throw err;
                                  ^
                            
                            Error: Cannot find module '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/index'. Please verify that the package.json has a valid "main" entry
                                at tryPackage (node:internal/modules/cjs/loader:353:19)
                                at Function.Module._findPath (node:internal/modules/cjs/loader:566:18)
                                at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
                                at Function.Module._load (node:internal/modules/cjs/loader:778:27)
                                at Module.require (node:internal/modules/cjs/loader:1005:19)
                                at require (node:internal/modules/cjs/helpers:102:18)
                                at Object.<anonymous> (/opt/iobroker/node_modules/jsonwebtoken/lib/timespan.js:1:10)
                                at Module._compile (node:internal/modules/cjs/loader:1103:14)
                                at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
                                at Module.load (node:internal/modules/cjs/loader:981:32) {
                              code: 'MODULE_NOT_FOUND',
                              path: '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/package.json',
                              requestPath: 'ms'
                            }
                            			admin 			
                            
                            node:internal/modules/cjs/loader:361
                                  throw err;
                                  ^
                            
                            Error: Cannot find module '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/index'. Please verify that the package.json has a valid "main" entry
                                at tryPackage (node:internal/modules/cjs/loader:353:19)
                                at Function.Module._findPath (node:internal/modules/cjs/loader:566:18)
                                at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
                                at Function.Module._load (node:internal/modules/cjs/loader:778:27)
                                at Module.require (node:internal/modules/cjs/loader:1005:19)
                                at require (node:internal/modules/cjs/helpers:102:18)
                                at Object.<anonymous> (/opt/iobroker/node_modules/jsonwebtoken/lib/timespan.js:1:10)
                                at Module._compile (node:internal/modules/cjs/loader:1103:14)
                                at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
                                at Module.load (node:internal/modules/cjs/loader:981:32) {
                              code: 'MODULE_NOT_FOUND',
                              path: '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/package.json',
                              requestPath: 'ms'
                            }
                            ioBroker Status: 	
                            
                            Status admin:
                            node:internal/modules/cjs/loader:361
                                  throw err;
                                  ^
                            
                            Error: Cannot find module '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/index'. Please verify that the package.json has a valid "main" entry
                                at tryPackage (node:internal/modules/cjs/loader:353:19)
                                at Function.Module._findPath (node:internal/modules/cjs/loader:566:18)
                                at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
                                at Function.Module._load (node:internal/modules/cjs/loader:778:27)
                                at Module.require (node:internal/modules/cjs/loader:1005:19)
                                at require (node:internal/modules/cjs/helpers:102:18)
                                at Object.<anonymous> (/opt/iobroker/node_modules/jsonwebtoken/lib/timespan.js:1:10)
                                at Module._compile (node:internal/modules/cjs/loader:1103:14)
                                at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
                                at Module.load (node:internal/modules/cjs/loader:981:32) {
                              code: 'MODULE_NOT_FOUND',
                              path: '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/package.json',
                              requestPath: 'ms'
                            }
                            
                            node:internal/modules/cjs/loader:361
                                  throw err;
                                  ^
                            
                            Error: Cannot find module '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/index'. Please verify that the package.json has a valid "main" entry
                                at tryPackage (node:internal/modules/cjs/loader:353:19)
                                at Function.Module._findPath (node:internal/modules/cjs/loader:566:18)
                                at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
                                at Function.Module._load (node:internal/modules/cjs/loader:778:27)
                                at Module.require (node:internal/modules/cjs/loader:1005:19)
                                at require (node:internal/modules/cjs/helpers:102:18)
                                at Object.<anonymous> (/opt/iobroker/node_modules/jsonwebtoken/lib/timespan.js:1:10)
                                at Module._compile (node:internal/modules/cjs/loader:1103:14)
                                at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
                                at Module.load (node:internal/modules/cjs/loader:981:32) {
                              code: 'MODULE_NOT_FOUND',
                              path: '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/package.json',
                              requestPath: 'ms'
                            }
                            Pending iob updates: 	0
                            
                            node:internal/modules/cjs/loader:361
                                  throw err;
                                  ^
                            
                            Error: Cannot find module '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/index'. Please verify that the package.json has a valid "main" entry
                                at tryPackage (node:internal/modules/cjs/loader:353:19)
                                at Function.Module._findPath (node:internal/modules/cjs/loader:566:18)
                                at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
                                at Function.Module._load (node:internal/modules/cjs/loader:778:27)
                                at Module.require (node:internal/modules/cjs/loader:1005:19)
                                at require (node:internal/modules/cjs/helpers:102:18)
                                at Object.<anonymous> (/opt/iobroker/node_modules/jsonwebtoken/lib/timespan.js:1:10)
                                at Module._compile (node:internal/modules/cjs/loader:1103:14)
                                at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
                                at Module.load (node:internal/modules/cjs/loader:981:32) {
                              code: 'MODULE_NOT_FOUND',
                              path: '/opt/iobroker/node_modules/jsonwebtoken/node_modules/ms/package.json',
                              requestPath: 'ms'
                            }
                            
                            Objects: 		0
                            States: 		0
                            
                            Size of iob-Database:
                            
                            12M	/opt/iobroker/iobroker-data/objects.jsonl
                            8.2M	/opt/iobroker/iobroker-data/objects.json.migrated
                            8.2M	/opt/iobroker/iobroker-data/objects.json.bak.migrated
                            7.7M	/opt/iobroker/iobroker-data/states.jsonl
                            6.7M	/opt/iobroker/iobroker-data/states.json.migrated
                            6.7M	/opt/iobroker/iobroker-data/states.json.bak.migrated
                            
                            
                            =================== END OF SUMMARY ====================
                            
                            pi@iobroker:/opt/iobroker $ 
                            
                            
                            1 Reply Last reply
                            0
                            • AsgothianA Asgothian

                              @wuffi26 sagte in Iobroker startet nicht mehr nach Systemabsturz:

                              @Thomas-Braun @Asgothian Wäre da eine neue SSD ratsam?

                              Ich denke nein. Eine SSD (sofern sie nicht ultra-voll gelaufen ist) sollte das überstehen können.

                              A.

                              W Offline
                              W Offline
                              Wuffi26
                              wrote on last edited by
                              #28

                              @asgothian Nein, diese ist nicht voll. Dann werde ich Diese weiter benutzen.

                              Thomas BraunT 1 Reply Last reply
                              0
                              • W Wuffi26

                                @asgothian Nein, diese ist nicht voll. Dann werde ich Diese weiter benutzen.

                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                wrote on last edited by
                                #29

                                @wuffi26

                                Das System läuft auch beständig im roten Bereich

                                load average: 5.43, 5.33, 4.66
                                

                                Und Buster ist auch abgekündigt.
                                Mach es neu.

                                Linux-Werkzeugkasten:
                                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                NodeJS Fixer Skript:
                                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                W 1 Reply Last reply
                                0
                                • Thomas BraunT Thomas Braun

                                  @wuffi26

                                  Das System läuft auch beständig im roten Bereich

                                  load average: 5.43, 5.33, 4.66
                                  

                                  Und Buster ist auch abgekündigt.
                                  Mach es neu.

                                  W Offline
                                  W Offline
                                  Wuffi26
                                  wrote on last edited by
                                  #30

                                  @thomas-braun also ist die neuere Version Bullseye, wie ich gesehen habe. Ja das ist mir auch schon länger aufgefallen das das System ständig Ausgelastet ist. desweiteren habe ich auch gesehen das, Nodejs und node in /usr/local/bin liegt, also wie es nicht sein soll.

                                  1 Reply Last reply
                                  0
                                  • W Offline
                                    W Offline
                                    Wuffi26
                                    wrote on last edited by
                                    #31

                                    @Thomas-Braun Ich hätte da noch eine Frage bezüglich Nodejs, wie ich gelesen habe, gibt es bei einer Neuinstallation vom IOB erstmal nichts zu beachten da sich der IoB ja diese benötigten Dateien selber installiert. Ist das richtig, wollte nur für die Zukunft fragen da ich es jetzt besser machen möchte. Grüße

                                    Thomas BraunT 1 Reply Last reply
                                    0
                                    • W Wuffi26

                                      @Thomas-Braun Ich hätte da noch eine Frage bezüglich Nodejs, wie ich gelesen habe, gibt es bei einer Neuinstallation vom IOB erstmal nichts zu beachten da sich der IoB ja diese benötigten Dateien selber installiert. Ist das richtig, wollte nur für die Zukunft fragen da ich es jetzt besser machen möchte. Grüße

                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      wrote on last edited by
                                      #32

                                      @wuffi26

                                      Richtig, bei einer Erstinstallation wird automatisch die aktuelle Version aus dem richtigen Repo gezogen. Im weiteren kommen dann auch Updates aus dem gleichen Zweig per Standard-System-Update. Da muss nix irgendwie reingeknüppelt werden. Gilt ebenso für npm/npx.

                                      Linux-Werkzeugkasten:
                                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                      NodeJS Fixer Skript:
                                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                      W 1 Reply Last reply
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @wuffi26

                                        Richtig, bei einer Erstinstallation wird automatisch die aktuelle Version aus dem richtigen Repo gezogen. Im weiteren kommen dann auch Updates aus dem gleichen Zweig per Standard-System-Update. Da muss nix irgendwie reingeknüppelt werden. Gilt ebenso für npm/npx.

                                        W Offline
                                        W Offline
                                        Wuffi26
                                        wrote on last edited by
                                        #33

                                        @thomas-braun Alles klar

                                        1 Reply Last reply
                                        0
                                        Reply
                                        • Reply as topic
                                        Log in to reply
                                        • Oldest to Newest
                                        • Newest to Oldest
                                        • Most Votes


                                        Support us

                                        ioBroker
                                        Community Adapters
                                        Donate

                                        295

                                        Online

                                        32.7k

                                        Users

                                        82.3k

                                        Topics

                                        1.3m

                                        Posts
                                        Community
                                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                        ioBroker Community 2014-2025
                                        logo
                                        • Login

                                        • Don't have an account? Register

                                        • Login or register to search.
                                        • First post
                                          Last post
                                        0
                                        • Home
                                        • Recent
                                        • Tags
                                        • Unread 0
                                        • Categories
                                        • Unreplied
                                        • Popular
                                        • GitHub
                                        • Docu
                                        • Hilfe