Ankündigung

Einklappen

Serverwartung 21.2.



Am 21.2. im Laufe des späten Abends wird eine Serverwartung durchgeführt. Das Forum ist dadurch für gut zwei Stunden nicht erreichbar.
Es wird eine Wartungsseite geschaltet.

Mehr anzeigen
Weniger anzeigen

MQTT Publish Client 19001053 läuft nicht mehr

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    MQTT Publish Client 19001053 läuft nicht mehr

    Nach Restore läuft der 19001053 (&Co) nicht mehr:

    Code:
     2023-12-23 18:30:35    562346    ?    25881    Datei: /usr/local/edomi/www/data/liveproject/lbs/EXE19001054.php | Fehlercode: 1 | Zeile: 49 | Class 'Mosquitto\Client' not found    FATALERROR
    2023-12-23 18:31:01    202815    ?    26003    Datei: /usr/local/edomi/www/data/liveproject/lbs/EXE19001053.php | Fehlercode: 1 | Zeile: 56 | Class 'Mosquitto\Client' not found    FATALERROR
    2023-12-23 18:32:01    115811    ?    8497    Datei: /usr/local/edomi/www/data/liveproject/lbs/EXE19001053.php | Fehlercode: 1 | Zeile: 56 | Class 'Mosquitto\Client' not found    FATALERROR
    2023-12-23 18:33:01    143460    ?    8946    Datei: /usr/local/edomi/www/data/liveproject/lbs/EXE19001053.php | Fehlercode: 1 | Zeile: 56 | Class 'Mosquitto\Client' not found    FATALERROR
    2023-12-23 18:34:01    273524    ?    9376    Datei: /usr/local/edomi/www/data/liveproject/lbs/EXE19001053.php | Fehlercode: 1 | Zeile: 56 | Class 'Mosquitto\Client' not found    FATALERROR
    2023-12-23 18:35:01    445699    ?    9869    Datei: /usr/local/edomi/www/data/liveproject/lbs/EXE19001053.php | Fehlercode: 1 | Zeile: 56 | Class 'Mosquitto\Client' not found    FATALERROR
    2023-12-23 18:36:01    206731    ?    10361    Datei: /usr/local/edomi/www/data/liveproject/lbs/EXE19001053.php | Fehlercode: 1 | Zeile: 56 | Class 'Mosquitto\Client' not found    FATALERROR
    2023-12-23 18:37:01    127856    ?    10808    Datei: /usr/local/edomi/www/data/liveproject/lbs/EXE19001053.php | Fehlercode: 1 | Zeile: 56 | Class 'Mosquitto\Client' not found    FATALERROR
    2023-12-23 18:38:01    199026    ?    11392    Datei: /usr/local/edomi/www/data/liveproject/lbs/EXE19001053.php | Fehlercode: 1 | Zeile: 56 | Class 'Mosquitto\Client' not found​
     ​
    Code:
    yum install mosquitto
    wget [URL]http://rpms.remirepo.net/enterprise/remi-release-7.rpm[/URL] && rpm -Uvh remi-release-7.rpm
    wurde bereits erledigt. Fehlt sonst noch was? Das mosquitto-php? Wie installiere ich das?

    #2
    Auszug aus der Hilfe:
    No further installations required. In case mosquitto php module is missing, it will be installed automagically.​
    Gab es bei der Installation irgendwelche Fehlermeldungen?

    Du kannst nachschauen, ob das Repo installert wurde:
    $ sudo dnf repolist

    repo id repo name
    appstream Rocky Linux 9 - AppStream
    baseos Rocky Linux 9 - BaseOS
    cloud-kernel Rocky Linux 9 - Cloud Kernel
    epel Extra Packages for Enterprise Linux 9 - x86_64
    epel-cisco-openh264 Extra Packages for Enterprise Linux 9 openh264 (From Cisco) - x86_64
    extras Rocky Linux 9 - Extras
    google-cloud-sdk Google Cloud SDK
    google-compute-engine Google Compute Engine
    remi-modular Remi's Modular repository for Enterprise Linux 9 - x86_64
    remi-safe Safe Remi's RPM repository for Enterprise Linux 9 - x86_64
    Dort sollte dann die 7er Version auftauchen.
    Zuletzt geändert von McJameson; 23.12.2023, 19:07.

    Kommentar


      #3
      Ah, ich hab's eben gerade gefunden:
      Code:
      yum -y install php-pecl-mosquitto.x86_64
      ...hat gefehlt.

      Kommentar


        #4
        Der Subscribe-Client macht schon wieder Probleme. Ich frage damit mein Victron-System ab und bis heute Mittag hat das einwandfrei funktioniert. Hab heute nur etwas umgebaut, der Victron hat einen neuen Platz bekommen, eine neue IP-Adresse und ein Firmware-Update. Jetzt bekomme ich keine Daten mehr, obwohl ich am Edomi nichts (außer die geänderte IP-Adresse) geändert habe:

        Code:
        2024-02-24 23:16:12 396038 12299 debug EXE19001054 [v0.10]: Disconnected unexpectedly (5534)
        2024-02-24 23:16:12 400119 12299 debug EXE19001054 [v0.10]: Exception caught: The connection was lost. (5534)
        2024-02-24 23:16:15 419338 12299 debug EXE19001054 [v0.10]: Disconnected unexpectedly (5534)
        2024-02-24 23:16:15 436258 12299 debug EXE19001054 [v0.10]: Exception caught: The connection was lost. (5534)
        2024-02-24 23:16:18 448601 12299 debug EXE19001054 [v0.10]: Disconnected unexpectedly (5534)
        2024-02-24 23:16:18 451225 12299 debug EXE19001054 [v0.10]: Exception caught: The connection was lost. (5534)
        2024-02-24 23:16:21 466913 12299 debug EXE19001054 [v0.10]: Disconnected unexpectedly (5534)
        2024-02-24 23:16:21 472534 12299 debug EXE19001054 [v0.10]: Exception caught: The connection was lost. (5534)
        ​
        Mit dem MQTT-Explorer unter Windows komme ich problemlos an die Daten - OHNE Username, Passwort, TLS, etc.

        Was kann das sein?

        Kommentar


          #5
          Victron hat von Mosquitto auf FlasMQ gewechselt. Bei FlasMQ muss auch bei anonymer Anmeldung ein Username gesetzt sein.
          Einfach „x“ bei User und Passwort eintragen, dann gehts wieder.

          Kommentar

          Lädt...
          X