Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Tungild

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 4
    • Best 0
    • Groups 1

    Tungild

    @Tungild

    Starter

    0
    Reputation
    6
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Tungild Follow
    Starter

    Latest posts made by Tungild

    • RE: Server Cannot start inMem-objects on port 9001

      So, hoffe ich habe nun alles auf dem neusten Stand. Aktuell funktioniert alles.

      ======================= SUMMARY =======================
                           v.2023-04-16
      
      
      Operatingsystem:        Raspbian GNU/Linux 10 (buster)
      Kernel:                 5.10.63-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:    0
      
      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
      Your nodejs installation is correct
      
      MEMORY:
                    total        used        free      shared  buff/cache   available
      Mem:           7.9G        686M        4.3G         16M        2.9G        6.9G
      Swap:           99M          0B         99M
      Total:         8.0G        686M        4.4G
      
      Active iob-Instances:   11
      Active repo(s): beta
      
      ioBroker Core:          js-controller           4.0.24
                              admin                   6.4.3
      
      ioBroker Status:        iobroker is running on this host.
      
      
      Objects type: jsonl
      States  type: jsonl
      
      Status admin and web instance:
      + system.adapter.admin.0                  : admin                 : raspberrypi4-iob                         -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
      + system.adapter.web.0                    : web                   : raspberrypi4-iob                         -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
      
      Objects:                2058
      States:                 1693
      
      Size of iob-Database:
      
      9.7M    /opt/iobroker/iobroker-data/objects.jsonl
      6.4M    /opt/iobroker/iobroker-data/objects.json.migrated
      6.4M    /opt/iobroker/iobroker-data/objects.json.bak.migrated
      4.7M    /opt/iobroker/iobroker-data/states.jsonl
      500K    /opt/iobroker/iobroker-data/states.json.migrated
      500K    /opt/iobroker/iobroker-data/states.json.bak.migrated
      0       /opt/iobroker/iobroker-data/states.json.broken
      

      Besten Dank nochmals 😀

      posted in ioBroker Allgemein
      T
      Tungild
    • RE: Server Cannot start inMem-objects on port 9001

      @apollon77 entschuldigt bitte meine späte Antwort.
      Habe heute Nacht den Fixer nochmals laufen lassen, scheinbar diesmal mit Erfolg. Gestern hatte ich dies schon mehrfach ohne Erfolg versucht.
      Die Weboberfläche läuft wieder und kann alles wie gewohnt benutzen. Wieso es nun auf einmal wieder geht, kann ich nicht sagen.

      pi@raspberrypi4-iob:~ $ iobroker stop
      pi@raspberrypi4-iob:~ $ iobroker fix
      library: loaded
      Library version=2022-12-09
      
      ==========================================================================
      
          Welcome to the ioBroker installation fixer!
          Script version: 2023-04-02
      
          You might need to enter your password a couple of times.
      
      ==========================================================================
      
      
      ==========================================================================
          Installing prerequisites (1/5)
      ==========================================================================
      
      Holen:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15,0 kB]
      OK:2 http://archive.raspberrypi.org/debian buster InRelease
      OK:3 https://deb.nodesource.com/node_16.x buster InRelease
      Es wurden 15,0 kB in 1 s geholt (14,1 kB/s).
      Paketlisten werden gelesen... Fertig
      Installed gcc-c++
      
      ==========================================================================
          Checking ioBroker user and directory permissions (2/5)
      ==========================================================================
      
      Created /etc/sudoers.d/iobroker
      Fixing directory permissions...
      
      ==========================================================================
          Check and cleanup npm temporary directories (3/5)
      ==========================================================================
      
      Done.
      
      ==========================================================================
          Database maintenance (4/5)
      ==========================================================================
      
      Checking for uncompressed JSONL databases... This might take a while!
      
      Compressing /opt/iobroker/iobroker-data/states.jsonl
      Compressing /opt/iobroker/iobroker-data/objects.jsonl
      Compressed 2 JSONL files. Done
      
      ==========================================================================
          Checking autostart (5/5)
      ==========================================================================
      
      Enabling autostart...
      Autostart enabled!
      
      ==========================================================================
      
          Your installation was fixed successfully
          Run iobroker start to start ioBroker again!
      
      ==========================================================================
      
      pi@raspberrypi4-iob:~ $ iobroker start
      pi@raspberrypi4-iob:~ $ iobroker start admin
      
      
      pi@raspberrypi4-iob:~ $ iobroker status
      iobroker is running on this host.
      
      
      Objects type: jsonl
      States  type: jsonl
      pi@raspberrypi4-iob:~ $
      
      

      Ich werde nun mal versuchen alles auf den neusten Stand zu bringen und hoffe das dann weiterhin alles läuft.
      Danke euch schonmal für eure Beiträge.
      Werde nochmals berichten.

      posted in ioBroker Allgemein
      T
      Tungild
    • RE: Server Cannot start inMem-objects on port 9001
      ======== Start marking the full check here =========
      
      
      Skript v.2023-04-16
      
      *** 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:
       18:30:28 up  1:21,  1 user,  load average: 1.01, 1.08, 0.98
      CPU threads: 4
      
      Raspberry only:
      throttled=0x0
      Other values than 0x0 hint to temperature/voltage problems
      temp=74.0'C
      volt=0.8700V
      
      *** Time and Time Zones ***
                     Local time: Fri 2023-04-28 18:30:28 CEST
                 Universal time: Fri 2023-04-28 16:30:28 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:           7.9G        196M        6.3G        8.0M        1.4G        7.4G
      Swap:           99M          0B         99M
      Total:         8.0G        196M        6.4G
      
               7898 M total memory
                198 M used memory
               1256 M active memory
                258 M inactive memory
               6253 M free memory
                115 M buffer memory
               1331 M swap cache
                 99 M total swap
                  0 M used swap
                 99 M free swap
      
      Raspberry only:
      oom events: 0
      lifetime oom required: 0 Mbytes
      total time in oom handler: 0 ms
      max time spent in oom handler: 0 ms
      
      *** FILESYSTEM ***
      Filesystem     Type      Size  Used Avail Use% Mounted on
      /dev/root      ext4       59G  5.2G   51G  10% /
      devtmpfs       devtmpfs  3.7G     0  3.7G   0% /dev
      tmpfs          tmpfs     3.9G     0  3.9G   0% /dev/shm
      tmpfs          tmpfs     3.9G  8.4M  3.9G   1% /run
      tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
      tmpfs          tmpfs     3.9G     0  3.9G   0% /sys/fs/cgroup
      /dev/mmcblk0p1 vfat      253M   49M  204M  20% /boot
      tmpfs          tmpfs     790M     0  790M   0% /run/user/1000
      
      Messages concerning ext4 filesystem in dmesg:
      [Fri Apr 28 17:09:06 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1  smsc95xx.macaddr=DC:A6:32:BE:A6:4B vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=9fa8c098-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
      [Fri Apr 28 17:09:07 2023] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
      [Fri Apr 28 17:09:07 2023] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
      [Fri Apr 28 17:09:07 2023] EXT4-fs (mmcblk0p2): recovery complete
      [Fri Apr 28 17:09:07 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
      [Fri Apr 28 17:09:07 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
      [Fri Apr 28 17:09:09 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
      `-/boot       /dev/mmcblk0p1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
      
      Files in neuralgic directories:
      
      /var:
      307M    /var/
      109M    /var/cache
      104M    /var/cache/apt
      92M     /var/lib
      69M     /var/lib/apt/lists
      
      Archived and active journals take up 8.0M in the file system.
      
      /opt/iobroker/backups:
      312M    /opt/iobroker/backups/
      
      /opt/iobroker/iobroker-data:
      1.7G    /opt/iobroker/iobroker-data/
      147M    /opt/iobroker/iobroker-data/files
      97M     /opt/iobroker/iobroker-data/backup-objects
      42M     /opt/iobroker/iobroker-data/files/vis
      35M     /opt/iobroker/iobroker-data/files/vis/widgets
      
      The five largest files in iobroker-data are:
      1.5G    /opt/iobroker/iobroker-data/objects.jsonl
      16M     /opt/iobroker/iobroker-data/files/vis.0/IMG/Grundriss 1 EG.jpg
      12M     /opt/iobroker/iobroker-data/files/javascript.admin/static/js/2.ea6ad656.chunk.js.map
      6.4M    /opt/iobroker/iobroker-data/objects.json.migrated
      6.4M    /opt/iobroker/iobroker-data/objects.json.bak.migrated
      
      *** NodeJS-Installation ***
      
      /usr/bin/nodejs         v16.15.1
      /usr/bin/node           v16.15.1
      /usr/bin/npm            8.13.1
      /usr/bin/npx            8.13.1
      
      
      nodejs:
        Installed: 16.15.1-deb-1nodesource1
        Candidate: 16.20.0-deb-1nodesource1
        Version table:
           16.20.0-deb-1nodesource1 500
              500 https://deb.nodesource.com/node_16.x buster/main armhf Packages
       *** 16.15.1-deb-1nodesource1 100
              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
      Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
      
      
      Core adapters versions
      js-controller:  4.0.23
      admin:          6.1.9
      javascript:     5.7.0
      
      Adapters from github:   0
      
      Adapter State
      Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
      
      Enabled adapters with bindings
      
      ioBroker-Repositories
      Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
      
      Installed ioBroker-Instances
      Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
      
      Objects and States
      Please stand by - This may take a while
      Objects:        1
      States:         1
      
      *** OS-Repositories and Updates ***
      Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
      Hit:2 https://deb.nodesource.com/node_16.x buster InRelease
      Hit:3 http://archive.raspberrypi.org/debian buster InRelease
      Reading package lists...
      Pending Updates: 142
      
      *** 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          15294      560/sshd
      tcp6       0      0 :::22                   :::*                    LISTEN      0          15296      560/sshd
      udp        0      0 0.0.0.0:34139           0.0.0.0:*                           108        14057      387/avahi-daemon: r
      udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          14989      552/dhcpcd
      udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        14055      387/avahi-daemon: r
      udp6       0      0 :::60976                :::*                                108        14058      387/avahi-daemon: r
      udp6       0      0 :::5353                 :::*                                108        14056      387/avahi-daemon: r
      
      *** Log File - Last 25 Lines ***
      
      2023-04-28 18:30:10.471  - info: host.raspberrypi4-iob ip addresses: 192.168.188.44 fe80::4f78:66f9:8f3d:2aca
      2023-04-28 18:30:40.494  - error: host.raspberrypi4-iob No connection to databases possible, restart
      2023-04-28 18:30:40.509  - info: host.raspberrypi4-iob iobroker _restart
      2023-04-28 18:30:46.435  - info: host.raspberrypi4-iob iobroker.js-controller version 4.0.23 js-controller starting
      2023-04-28 18:30:46.443  - info: host.raspberrypi4-iob Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
      2023-04-28 18:30:46.444  - info: host.raspberrypi4-iob hostname: raspberrypi4-iob, node: v16.15.1
      2023-04-28 18:30:46.445  - info: host.raspberrypi4-iob ip addresses: 192.168.188.44 fe80::4f78:66f9:8f3d:2aca
      2023-04-28 18:31:16.477  - error: host.raspberrypi4-iob No connection to databases possible, restart
      2023-04-28 18:31:16.499  - info: host.raspberrypi4-iob iobroker _restart
      2023-04-28 18:31:22.410  - info: host.raspberrypi4-iob iobroker.js-controller version 4.0.23 js-controller starting
      2023-04-28 18:31:22.417  - info: host.raspberrypi4-iob Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
      2023-04-28 18:31:22.418  - info: host.raspberrypi4-iob hostname: raspberrypi4-iob, node: v16.15.1
      2023-04-28 18:31:22.419  - info: host.raspberrypi4-iob ip addresses: 192.168.188.44 fe80::4f78:66f9:8f3d:2aca
      2023-04-28 18:31:52.441  - error: host.raspberrypi4-iob No connection to databases possible, restart
      2023-04-28 18:31:52.455  - info: host.raspberrypi4-iob iobroker _restart
      2023-04-28 18:31:58.463  - info: host.raspberrypi4-iob iobroker.js-controller version 4.0.23 js-controller starting
      2023-04-28 18:31:58.470  - info: host.raspberrypi4-iob Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
      2023-04-28 18:31:58.471  - info: host.raspberrypi4-iob hostname: raspberrypi4-iob, node: v16.15.1
      2023-04-28 18:31:58.472  - info: host.raspberrypi4-iob ip addresses: 192.168.188.44 fe80::4f78:66f9:8f3d:2aca
      2023-04-28 18:32:28.520  - error: host.raspberrypi4-iob No connection to databases possible, restart
      2023-04-28 18:32:28.534  - info: host.raspberrypi4-iob iobroker _restart
      2023-04-28 18:32:34.447  - info: host.raspberrypi4-iob iobroker.js-controller version 4.0.23 js-controller starting
      2023-04-28 18:32:34.454  - info: host.raspberrypi4-iob Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
      2023-04-28 18:32:34.456  - info: host.raspberrypi4-iob hostname: raspberrypi4-iob, node: v16.15.1
      2023-04-28 18:32:34.457  - info: host.raspberrypi4-iob ip addresses: 192.168.188.44 fe80::4f78:66f9:8f3d:2aca
      
      
      ============ Mark until here for C&P =============
      
      iob diag has finished.
      
      
      
      ======================= SUMMARY =======================
                           v.2023-04-16
      
      
      Operatingsystem:        Raspbian GNU/Linux 10 (buster)
      Kernel:                 5.10.63-v7l+
      Installation:           Native
      Timezone:               Europe/Berlin (CEST, +0200)
      User-ID:                1000
      X-Server:               false
      Boot Target:            graphical.target
      
      Pending OS-Updates:     142
      Pending iob updates:    0
      
      Nodejs-Installation:    /usr/bin/nodejs         v16.15.1
                              /usr/bin/node           v16.15.1
                              /usr/bin/npm            8.13.1
                              /usr/bin/npx            8.13.1
      
      Recommended versions are nodejs 18.x.y and npm 9.x.y
      Your nodejs installation is correct
      
      MEMORY:
                    total        used        free      shared  buff/cache   available
      Mem:           7.9G         78M        6.4G        8.0M        1.4G        7.6G
      Swap:           99M          0B         99M
      Total:         8.0G         78M        6.5G
      
      Active iob-Instances:   0
      Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
      
      ioBroker Core:          js-controller           4.0.23
                              admin                   6.1.9
      
      ioBroker Status:        Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
      
      Status admin and web instance:
      
      Objects:                1
      States:                 1
      
      Size of iob-Database:
      
      1.5G    /opt/iobroker/iobroker-data/objects.jsonl
      6.4M    /opt/iobroker/iobroker-data/objects.json.migrated
      6.4M    /opt/iobroker/iobroker-data/objects.json.bak.migrated
      592K    /opt/iobroker/iobroker-data/states.jsonl
      500K    /opt/iobroker/iobroker-data/states.json.migrated
      500K    /opt/iobroker/iobroker-data/states.json.bak.migrated
      0       /opt/iobroker/iobroker-data/states.json.broken
      
      
      
      =================== END OF SUMMARY ====================
      
      

      Ergebnisse von

       iob diagt
      
      posted in ioBroker Allgemein
      T
      Tungild
    • RE: Server Cannot start inMem-objects on port 9001

      Hallo zusammen,

      ich habe seit heute dasselbe Problem. Habe auf meinen Raspberry nur iobroker laufen und das letzte Mal etwas vor ca. einem halben Jahr gemacht. Lief alles ohne Probleme.
      Wollte eigentlich nur über die Weboberfläche für meine Automation etwas umstellen und gesehen das es neue Updates gibt.
      Hab mich dann über Putty eingeloggt und „iobroker stop“ ausgeführt. Das war der Anfang vom Ende.

      Muss gestehen das ich ein absoluter Anfänger bin und schon über zwei Stunden den Forumseintrag hier lese ohne, dass ich ein Erfolg verzeichnen kann.

      pi@raspberrypi4-iob:~ $ iobroker status
      No connection to databases possible ...
      pi@raspberrypi4-iob:~ $ iobroker stop
      pi@raspberrypi4-iob:~ $ iobroker status
      No connection to databases possible ...
      pi@raspberrypi4-iob:~ $ iobroker start
      pi@raspberrypi4-iob:~ $ iob start admin
      No connection to databases possibleServer Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
      pi@raspberrypi4-iob:~ $

      Iobroker Fix ohne erfolg.
      Würde mich über Hilfe sehr freuen.

      posted in ioBroker Allgemein
      T
      Tungild
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo