Navigation

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

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 15
    • Posts 79
    • Best 0
    • Groups 1

    Surfer2010

    @Surfer2010

    0
    Reputation
    26
    Profile views
    79
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Surfer2010 Follow
    Starter

    Latest posts made by Surfer2010

    • MQTT bug "forced conversion to string?"
      Systemdata Bitte Ausfüllen
      Hardwaresystem: NUC
      Arbeitsspeicher: 4GB
      Festplattenart: SSD
      Betriebssystem: Debian
      Image genutzt: Ja DockerContainer
      Ort/Name der Imagedatei: https://github.com/buanet/ioBroker.docker

      The Problem is, i want to get a MAP sent as a base64 decoded png.

      Valetudo Robot

      Decode by "I can't believe it's not valetudo" (https://github.com/Hypfer/ICantBelieveItsNotValetudo/blob/54cc0d96a6c03ee4dc92b86e533c0cd3999a7068/lib/MqttClient.js#L133)

      ErrorMessage:
      https://pastebin.com/bUPTaiPc

      The Programmer of Valetudo & ICANTBELIEVEITSNOTVALETUDO says:

      then I'd assume that their mqtt broker implementation is broken
      yeah pretty sure that it's a bug in that
      https://github.com/ioBroker/ioBroker.mqtt/blob/master/lib/server.js
      
      somewhere something is forcefully transforming the topics payload to a string
      which is not according to MQTT spec
      
      yep
      https://github.com/ioBroker/ioBroker.mqtt/blob/556e60f30cbe5ae3571a8738eb6e927ee9c0ad98/lib/server.js#L481-L502
      
      I'd guess that it's this code
      although I haven't thoroughly understood the whole module yet
      it just looks like it would cause this
      

      Is this a bug/intentional? Can this be fixed?
      Thanks for your help

      posted in Error/Bug
      S
      Surfer2010
    • RE: mqtt - verstümmelte Relikte

      @watcherkb

      Wie genau mache ich das?

      posted in ioBroker Allgemein
      S
      Surfer2010
    • RE: mqtt - verstümmelte Relikte

      keiner eine Idee wie ich dieses Problem beheben kann? (außer MQTT löschen und neu installieren? (was ja wieder Änderungen in der Datenbank nach sich ziehen würde?)

      posted in ioBroker Allgemein
      S
      Surfer2010
    • mqtt - verstümmelte Relikte

      Hallo,

      ich habe in meinem ioBroker (docker) in der Objektanzeige bei den mqtt-Werten verstümmelte Werte/Überschriften/Ordner die ich nicht löschen kann (weil "nicht mehr vorhanden") und sie aber weiterhin angezeigt werden. Geben keinerlei Sinn aber sind da.

      alt text

      posted in ioBroker Allgemein
      S
      Surfer2010
    • RE: Füllstandsmesser / -anzeige

      Hallo,

      diese Art der Messung (mit Ultraschall) habe ich zuletzt aufgegeben, da mir der Ultraschall Sensor
      a) zu Corrosionsanfällig ist, es hat ihn in 3 Monaten richtig zerfressen
      b) viel wichtiger er völlig wirre Werte zwischendrin ausgibt, Ursache sind wohl die mini rippel auf dem Wasser, die den Sensor total durcheinander bringen. Ich weiß nicht wie ihr das geschafft habt, aber bei mir ... keine Chance etwas vernünftiges zu Messen bzw. es gibt ausreißer ohne Ende.
      Beispielmessungen hier:

      ![https://ibb.co/KhKxdWM](image url)

      posted in Praktische Anwendungen (Showcase)
      S
      Surfer2010
    • RE: Problem iobroker as docker-installation (solved)

      Problem solved ...
      after hunting down the error even further (script wasn't executed ...) i found the error beeing at my mounted folder.

      but it wasn't really the permission on the folder but the drive this folder was on has been mounted as "noexec" (fstab).

      posted in ioBroker general
      S
      Surfer2010
    • RE: ioBroker on docker - Problem (solved)

      Problem gelöst!

      Ursache war, dass der Ordner den ich in den Container gemountet habe auf einem Laufwerk liegt, das als "noexec" gemountet war.
      Daher konnte das Script nicht vollständig ausgeführt werden.

      posted in ioBroker Allgemein
      S
      Surfer2010
    • Problem iobroker as docker-installation (solved)

      Hello,

      the problem i have with the docker container of the buanet/iobroker:latest docker image is:

      the container starts, but docker is not accessable.
      If i start the container with NO volume mounted, it works, but if I start it with an empty folder mounted, it does not work properly (see below)

      here is the only error i can see, but i have no clue if this really is the problem:

      /opt/scripts/iobroker_startup.sh: Zeile 49: /usr/bin/iobroker: Keine Berechtigung
      

      first the docker command with NO MOUNT - and following the docker log

      docker run -d --network dockernet --name=iobrokertest -p 8085:8081 -p 8086:8082 --restart=always -e PUID=1000 -e PGID=996 -e TZ=Europe/Berlin buanet/iobroker:latest
      a4951e00b49cba2a8d80c336a4af3f18d53241ab1261abcfa95771be58deffcc
      root@FriedbergServer:~# docker logs -f iobroker
      iobroker      iobrokertest
      root@FriedbergServer:~# docker logs -f iobrokertest
      
      ----------------------------------------
      -----     Image-Version: 3.0.0     -----
      -----      2019-06-25 18:28:50     -----
      ----------------------------------------
      
      Startupscript running...
      
      Installing additional packages...
      The following packages will be installed: nano
      Installing additional packages done...
      
      This is the first run of an new installation...
      Hostname given is a4951e00b49c...
      Renaming ioBroker...
      Instance host changed for "system.adapter.admin.0" from "a284247a5edd" to "a4951e00b49c".
      Instance host changed for "system.adapter.discovery.0" from "a284247a5edd" to "a4951e00b49c".
      Renaming ioBroker done...
      
      Changing permissions upon first run (This might take a while! Please be patient!)...
      Changing permissions done...
      
      Starting ioBroker...
      Starting ioBroker done...
      

      second the docker command with MOUNT - and following the docker log

      docker run -d --network dockernet --name=iobroker -p 1880:1880 -p 1883:1883 -p 1887:1887 -p 8081:8081 -p 8082:8082 --restart=always -e PUID=1000 -e PGID=996 -e TZ=Europe/Berlin -v /sharedfolders/DockerData/ioBroker:/opt/iobroker/ buanet/iobroker:latest
      d7f3866b96e5d72674af26f86dc3cb0e569728e5a9655b71e0468b330b86f80e
      root@FriedbergServer:/sharedfolders/DockerData# docker logs -f iobroker
      
      ----------------------------------------
      -----     Image-Version: 3.0.0     -----
      -----      2019-06-25 18:27:23     -----
      ----------------------------------------
      
      Startupscript running...
      
      Installing additional packages...
      The following packages will be installed: nano
      Installing additional packages done...
      
      Directory /opt/iobroker is empty!
      Restoring data from image...
      Restoring done...
      
      This is the first run of an new installation...
      Hostname given is d7f3866b96e5...
      Renaming ioBroker...
      /opt/scripts/iobroker_startup.sh: Zeile 49: /usr/bin/iobroker: Keine Berechtigung
      Renaming ioBroker done...
      
      Changing permissions upon first run (This might take a while! Please be patient!)...
      Changing permissions done...
      
      Starting ioBroker...
      Starting ioBroker done...
      
      

      here I show you the mounted directory with permissions

      /sharedfolders# ls -ll
      total 8
      drwx--s--x+ 14 dom users 4096 Jun 25 15:32 DockerData
      

      and

      /sharedfolders/DockerData# ls -ll
      total 96
      drwxrwsr-x+ 11 dom  docker 4096 Jun 10 14:36 LetsEncrypt
      drwxrwsr-x+  4 root root   4096 Jun 22 23:06 MariaDB
      drwxr-xr-x+  3 root root   4096 Jun 25 18:21 Quassel
      drwxrwxr-x+  7 dom  docker 4096 Jun 25 00:10 ioBroker
      

      here are the running procceses (top) in the container with NO-MOUNT

      PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
      274 iobroker  20   0 1239372  96924  23096 S   0,3  1,2   0:06.46 iobroker.js-con
      290 iobroker  20   0 1096988  92844  22888 S   0,3  1,2   0:07.64 io.admin.0
      304 iobroker  20   0  985476  39032  22784 S   0,3  0,5   0:01.81 io.discovery.0
        1 root      20   0   21176   3284   2988 S   0,0  0,0   0:00.07 iobroker_startu
      272 root      20   0   52716   3696   3276 S   0,0  0,0   0:00.00 sudo
      273 root      20   0    7404    784    724 S   0,0  0,0   0:00.00 tail
      332 root      20   0   21404   3668   3232 S   0,0  0,0   0:00.05 bash
      337 root      20   0   44220   3680   3196 R   0,0  0,0   0:00.01 top
      

      and with MOUNT

      PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
        1 root      20   0   21176   3468   3176 S   0,0  0,0   0:00.08 iobroker_startu
      308 root      20   0   52716   3696   3288 S   0,0  0,0   0:00.00 sudo
      309 root      20   0    7404    688    628 S   0,0  0,0   0:00.00 tail
      310 iobroker  20   0  924456  45660  22728 S   0,0  0,6   0:00.56 iobroker.js-con
      326 root      20   0   21404   3652   3220 S   0,0  0,0   0:00.05 bash
      331 root      20   0   44220   3668   3180 R   0,0  0,0   0:00.01 top
      
      posted in ioBroker general
      S
      Surfer2010
    • RE: ioBroker on docker - Problem (solved)
      iobroker host $(cat /opt/iobroker/.install_host)
      rm -f /opt/iobroker/.install_host
      

      hier scheint das Problem zu sein ... ?!

      posted in ioBroker Allgemein
      S
      Surfer2010
    • RE: ioBroker on docker - Problem (solved)

      Also ein Problem könnte gewesen sein, dass ich mein Docker-Root VZ verlegt habe ...
      Nachdem ich den ganzen Server noch einmal neu aufgesetzt habe, und das Docker Root-VZ nun wieder dort ist wo es "hin gehört" ... habe ich den Container jetzt mehrfach neu erstellt (und wieder gelöscht) OHNE ein mount ... und da klappt das alles super.
      Hier der Startbefehl und der docker-log

      docker run -d --network dockernet --name=iobrokertest -p 8085:8081 -p 8086:8082 --restart=always -e PUID=1000 -e PGID=996 -e TZ=Europe/Berlin buanet/iobroker:latest
      a4951e00b49cba2a8d80c336a4af3f18d53241ab1261abcfa95771be58deffcc
      root@FriedbergServer:~# docker logs -f iobroker
      iobroker      iobrokertest
      root@FriedbergServer:~# docker logs -f iobrokertest
      
      ----------------------------------------
      -----     Image-Version: 3.0.0     -----
      -----      2019-06-25 18:28:50     -----
      ----------------------------------------
      
      Startupscript running...
      
      Installing additional packages...
      The following packages will be installed: nano
      Installing additional packages done...
      
      This is the first run of an new installation...
      Hostname given is a4951e00b49c...
      Renaming ioBroker...
      Instance host changed for "system.adapter.admin.0" from "a284247a5edd" to "a4951e00b49c".
      Instance host changed for "system.adapter.discovery.0" from "a284247a5edd" to "a4951e00b49c".
      Renaming ioBroker done...
      
      Changing permissions upon first run (This might take a while! Please be patient!)...
      Changing permissions done...
      
      Starting ioBroker...
      Starting ioBroker done...
      

      Was nach wie vor NICHT geht, ist das ganze mit dem Mount. Hier mein Startbefehl:

      docker run -d --network dockernet --name=iobroker -p 1880:1880 -p 1883:1883 -p 1887:1887 -p 8081:8081 -p 8082:8082 --restart=always -e PUID=1000 -e PGID=996 -e TZ=Europe/Berlin -v /sharedfolders/DockerData/ioBroker:/opt/iobroker/ buanet/iobroker:latest
      d7f3866b96e5d72674af26f86dc3cb0e569728e5a9655b71e0468b330b86f80e
      root@FriedbergServer:/sharedfolders/DockerData# docker logs -f iobroker
      
      ----------------------------------------
      -----     Image-Version: 3.0.0     -----
      -----      2019-06-25 18:27:23     -----
      ----------------------------------------
      
      Startupscript running...
      
      Installing additional packages...
      The following packages will be installed: nano
      Installing additional packages done...
      
      Directory /opt/iobroker is empty!
      Restoring data from image...
      Restoring done...
      
      This is the first run of an new installation...
      Hostname given is d7f3866b96e5...
      Renaming ioBroker...
      /opt/scripts/iobroker_startup.sh: Zeile 49: /usr/bin/iobroker: Keine Berechtigung
      Renaming ioBroker done...
      
      Changing permissions upon first run (This might take a while! Please be patient!)...
      Changing permissions done...
      
      Starting ioBroker...
      Starting ioBroker done...
      
      

      und hier das VZ

      /sharedfolders# ls -ll
      total 8
      drwx--s--x+ 14 dom users 4096 Jun 25 15:32 DockerData
      

      bzw.

      /sharedfolders/DockerData# ls -ll
      total 96
      drwxrwsr-x+ 11 dom  docker 4096 Jun 10 14:36 LetsEncrypt
      drwxrwsr-x+  4 root root   4096 Jun 22 23:06 MariaDB
      drwxr-xr-x+  3 root root   4096 Jun 25 18:21 Quassel
      drwxrwxr-x+  7 dom  docker 4096 Jun 25 00:10 ioBroker
      

      Ich hoffe SEHR jemand von euch findet wo mein Problem her rührt ...
      wenn ich den Container MIT mount starte, sieht es im docker log file identisch aus, nur werden weniger Prozesse (top) gestartet

      PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
      274 iobroker  20   0 1239372  96924  23096 S   0,3  1,2   0:06.46 iobroker.js-con
      290 iobroker  20   0 1096988  92844  22888 S   0,3  1,2   0:07.64 io.admin.0
      304 iobroker  20   0  985476  39032  22784 S   0,3  0,5   0:01.81 io.discovery.0
        1 root      20   0   21176   3284   2988 S   0,0  0,0   0:00.07 iobroker_startu
      272 root      20   0   52716   3696   3276 S   0,0  0,0   0:00.00 sudo
      273 root      20   0    7404    784    724 S   0,0  0,0   0:00.00 tail
      332 root      20   0   21404   3668   3232 S   0,0  0,0   0:00.05 bash
      337 root      20   0   44220   3680   3196 R   0,0  0,0   0:00.01 top
      

      und mit mounted volume

      PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
        1 root      20   0   21176   3468   3176 S   0,0  0,0   0:00.08 iobroker_startu
      308 root      20   0   52716   3696   3288 S   0,0  0,0   0:00.00 sudo
      309 root      20   0    7404    688    628 S   0,0  0,0   0:00.00 tail
      310 iobroker  20   0  924456  45660  22728 S   0,0  0,6   0:00.56 iobroker.js-con
      326 root      20   0   21404   3652   3220 S   0,0  0,0   0:00.05 bash
      331 root      20   0   44220   3668   3180 R   0,0  0,0   0:00.01 top
      
      posted in ioBroker Allgemein
      S
      Surfer2010
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo