Zitat von martinb07
Beitrag anzeigen
Ankündigung
Einklappen
Keine Ankündigung bisher.
LBS19000303 - Telegram Contact I LBS19000304 - Telegram Receiver I LBS19000645 - Telegram Command Validator
Einklappen
X
-
Was sagt denn
an dieser Stelle?Code:git remote -v
Einen Kommentar schreiben:
-
Bekomme folgenden Fehler:
Dabei ist es egal, ob ich 0.64.0 oder 0.74.0 eingebe.Code:[root@edomi php-telegram-bot]# git checkout tags/0.74.0 error: pathspec 'tags/0.74.0' did not match any file(s) known to git. [root@edomi php-telegram-bot]#
Einen Kommentar schreiben:
-
Du könntest mal Post #811 anschauen. Könnte evtl. auch die Lösung für dein Problem sein.
Ich vermute mal, dass es bei dir nie funktioniert hat, da vermutlich die Version des php-telegram-bot zu neu ist. Könnte das sein?
Einen Kommentar schreiben:
-
Ich hatte es schon mal geschrieben:Zitat von jonofe Beitrag anzeigenZitat von martinb07 Beitrag anzeigen
Ich kann keine Kamera-Bilder mehr verschicken, stattdessen hängt sicher LBS dann lieber auf.
Einfach so, von jetzt auf gleich?
Was bedeutet "der LBS hängt sich auf"?
Wenn ich einmal ein Kamerabild verschicke, reagiert der LBS auf keinerlei Eingabe, weder Bild, noch Text lässt sich dann noch verschicken.Hallo
Ich habe beim Überfliegen der 22 Seiten noch keine Lösung zu meinem aktuellen Problem gefunden. Immer, wenn ich ein Bild schicken möchte, stell der Telegram Contact LBS seine Arbeit ein. Das Bild wird Füllen Kamera-Archiv aus DVR (0.7) 19001422 generiert und abgelegt. Der "queued" Ausgang ist auf dem Foto-Eingang angeschlossen. Es hat ja schon mal wunderbar funktioniert. Ich habe damals das System auf CentOS 7 neu aufsetzten müssen und seitdem klappt der Versand von Bildern nicht mehr. Im Laufwerk werden die Bilder nur mit Lese-Berechtigung erzeugt.
Im Fehlerlog finde ich folgendes:
2021-05-21 13:15:05 040853 ? 10086 Datei: /usr/local/edomi/www/data/liveproject/lbs/EXE19000303.php | Fehlercode: 0 | Zeile: 213 | Call to protected method Longman\TelegramBot\Request::encodeFile() from context '' EXCEPTION
Ich bin gerade ratlos und bitte euch um Hilfe.
Einen Kommentar schreiben:
-
Nein, aktuell nicht möglich.Zitat von Martin W Beitrag anzeigenist es möglich wenn man über E9 Cam ein Bild schickt dieses auch einen Titel zu geben ?
Einfach so, von jetzt auf gleich?Zitat von martinb07 Beitrag anzeigenIch kann keine Kamera-Bilder mehr verschicken, stattdessen hängt sicher LBS dann lieber auf.
Was bedeutet "der LBS hängt sich auf"?
Einen Kommentar schreiben:
-
Ich kann keine Kamera-Bilder mehr verschicken, stattdessen hängt sicher LBS dann lieber auf.
Hatte das Problem schon mal jemand?
Einen Kommentar schreiben:
-
ist es möglich wenn man über E9 Cam ein Bild schickt dieses auch einen Titel zu geben ? Habe es über E4 Text versucht aber dann bekomme ich zwei nachrichten.
Einen Kommentar schreiben:
-
Hallo zusammen,
nach Neuinstallation von Centos7 und Edomi erhalte ich
Hat jemand eine Idee, wie ich das lösen kann?Code:Datei: /usr/local/edomi/www/data/liveproject/lbs/EXE19000303.php | Fehlercode: 0 | Zeile: 114 | Class 'Longman\TelegramBot\Entities\Keyboard' not found | EXCEPTION
Composer, telegram--php-bot und dergleichen habe ich bereits neu installiert, hat aber nix geholfen.
Einen Kommentar schreiben:
-
Hi Jonofe,
danke für Deine Hilfe.
Es hat jetzt geklappt! Mein Bot ist arbeitsfähig
Ich verstehe es aber trotzdem nicht, was da im System passiert ist.
Genau so habe ich es gemacht, als ich den Server neu aufgesetzt habe!Am besten ist es immer:- CentOS7 installieren
- EDOMI installieren
- EDOMI Backup einspielen
Wie denn auch sonst? - ich habe keinerlei Verzeichnisse vom alten System rüberkopiert/überschrieben o.ä.
Nur das Backup eingespielt, nachdem Edomi installiert war.
Grüße
KNX2013
Einen Kommentar schreiben:
-
Nein, erst bei der offiziellen EDOMI Installation wird PHP auf 7.x geupgraded.Zitat von KNX2013 Beitrag anzeigenVerstehe ich es richtig, dass beim Einspielen des Backup die PHP Version "ge-downgraded" wurde?!?
CentOS7 wird mit PHP 5.4 installiert. Das Installskript von EDOMI installiert noch einige Pakete (inkl. PHP 7.x).
Vermutlich fehlen also auch noch andere Pakete.
Am besten ist es immer:- CentOS7 installieren
- EDOMI installieren
- EDOMI Backup einspielen
Einen Kommentar schreiben:
-
Hi Jonofe,
vielen Dank, werde ich mal versuchen.
Genau, wie Du es beschrieben hast, habe ich es gemacht - CentOS und Edomi neu aufgesetzt und dann das Backup eingespielt.
Verstehe ich es richtig, dass beim Einspielen des Backup die PHP Version "ge-downgraded" wurde?!? (Sorry für die blöde Frage, bin in den Linux-Kenntnissen vermutlich irgendwo im Mittelfeld
)
Grüße
KNX2013
- Likes 1
Einen Kommentar schreiben:
-
Per Default kommt CentOS7 mit PHP 5.4.
Ich vermute ihr habt CentOS neu aufgesetzt und dann ein EDOMI Backup eingespielt. Somit fehlen natürlich die Anpassungen, die die EDOMI Installationsroutine macht.
Am besten mal folgendes versuchen:
https://www.linuxtechi.com/install-p...rhel-7-server/
Einen Kommentar schreiben:
-
Nein, leider nicht.
composer install meldet folgendes - und dass php <5.6 ist :-(
Warum auch immer... Habe vor einigen Monaten das System komplett mit centos 7 neu aufgesetzt.
Code:[root@edomi php-telegram-bot]# composer install Do not run Composer as root/super user! See https://getcomposer.org/root for details Continue as root/super user [yes]? yes Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Your lock file does not contain a compatible set of packages. Please run composer update. Problem 1 - Root composer.json requires php ^5.5|^7.0 but your php version (5.4.16) does not satisfy that requirement. Problem 2 - guzzlehttp/guzzle is locked to version 7.1.1 and an update of this package was not requested. - guzzlehttp/guzzle 7.1.1 requires php ^7.2.5 -> your php version (5.4.16) does not satisfy that requirement. Problem 3 - guzzlehttp/promises is locked to version 1.4.0 and an update of this package was not requested. - guzzlehttp/promises 1.4.0 requires php >=5.5 -> your php version (5.4.16) does not satisfy that requirement. Problem 4 - psr/http-client is locked to version 1.0.1 and an update of this package was not requested. - psr/http-client 1.0.1 requires php ^7.0 || ^8.0 -> your php version (5.4.16) does not satisfy that requirement. Problem 5 - ralouphie/getallheaders is locked to version 3.0.3 and an update of this package was not requested. - ralouphie/getallheaders 3.0.3 requires php >=5.6 -> your php version (5.4.16) does not satisfy that requirement. Problem 6 - dms/phpunit-arraysubset-asserts is locked to version v0.1.1 and an update of this package was not requested. - dms/phpunit-arraysubset-asserts v0.1.1 requires php ^7.2 -> your php version (5.4.16) does not satisfy that requirement. Problem 7 - doctrine/instantiator is locked to version 1.3.1 and an update of this package was not requested. - doctrine/instantiator 1.3.1 requires php ^7.1 || ^8.0 -> your php version (5.4.16) does not satisfy that requirement. Problem 8 - monolog/monolog is locked to version 2.1.1 and an update of this package was not requested. - monolog/monolog 2.1.1 requires php >=7.2 -> your php version (5.4.16) does not satisfy that requirement. Problem 9 - myclabs/deep-copy is locked to version 1.10.1 and an update of this package was not requested. - myclabs/deep-copy 1.10.1 requires php ^7.1 || ^8.0 -> your php version (5.4.16) does not satisfy that requirement. Problem 10 - phar-io/manifest is locked to version 1.0.3 and an update of this package was not requested. - phar-io/manifest 1.0.3 requires php ^5.6 || ^7.0 -> your php version (5.4.16) does not satisfy that requirement. Problem 11 - phar-io/version is locked to version 2.0.1 and an update of this package was not requested. - phar-io/version 2.0.1 requires php ^5.6 || ^7.0 -> your php version (5.4.16) does not satisfy that requirement. Problem 12 - phpdocumentor/reflection-common is locked to version 2.2.0 and an update of this package was not requested. - phpdocumentor/reflection-common 2.2.0 requires php ^7.2 || ^8.0 -> your php version (5.4.16) does not satisfy that requirement. Problem 13 - phpdocumentor/reflection-docblock is locked to version 5.2.2 and an update of this package was not requested. - phpdocumentor/reflection-docblock 5.2.2 requires php ^7.2 || ^8.0 -> your php version (5.4.16) does not satisfy that requirement. Problem 14 - phpdocumentor/type-resolver is locked to version 1.4.0 and an update of this package was not requested. - phpdocumentor/type-resolver 1.4.0 requires php ^7.2 || ^8.0 -> your php version (5.4.16) does not satisfy that requirement. Problem 15 - phpspec/prophecy is locked to version 1.12.1 and an update of this package was not requested. - phpspec/prophecy 1.12.1 requires php ^7.2 || ~8.0, <8.1 -> your php version (5.4.16) does not satisfy that requirement. Problem 16 - phpunit/php-code-coverage is locked to version 7.0.10 and an update of this package was not requested. - phpunit/php-code-coverage 7.0.10 requires php ^7.2 -> your php version (5.4.16) does not satisfy that requirement. Problem 17 - phpunit/php-file-iterator is locked to version 2.0.2 and an update of this package was not requested. - phpunit/php-file-iterator 2.0.2 requires php ^7.1 -> your php version (5.4.16) does not satisfy that requirement. Problem 18 - phpunit/php-timer is locked to version 2.1.2 and an update of this package was not requested. - phpunit/php-timer 2.1.2 requires php ^7.1 -> your php version (5.4.16) does not satisfy that requirement. Problem 19 - phpunit/php-token-stream is locked to version 3.1.1 and an update of this package was not requested. - phpunit/php-token-stream 3.1.1 requires php ^7.1 -> your php version (5.4.16) does not satisfy that requirement. Problem 20 - phpunit/phpunit is locked to version 8.5.8 and an update of this package was not requested. - phpunit/phpunit 8.5.8 requires php ^7.2 -> your php version (5.4.16) does not satisfy that requirement. Problem 21 - sebastian/code-unit-reverse-lookup is locked to version 1.0.1 and an update of this package was not requested. - sebastian/code-unit-reverse-lookup 1.0.1 requires php ^5.6 || ^7.0 -> your php version (5.4.16) does not satisfy that requirement. Problem 22 - sebastian/comparator is locked to version 3.0.2 and an update of this package was not requested. - sebastian/comparator 3.0.2 requires php ^7.1 -> your php version (5.4.16) does not satisfy that requirement. Problem 23 - sebastian/diff is locked to version 3.0.2 and an update of this package was not requested. - sebastian/diff 3.0.2 requires php ^7.1 -> your php version (5.4.16) does not satisfy that requirement. Problem 24 - sebastian/environment is locked to version 4.2.3 and an update of this package was not requested. - sebastian/environment 4.2.3 requires php ^7.1 -> your php version (5.4.16) does not satisfy that requirement. Problem 25 - sebastian/exporter is locked to version 3.1.2 and an update of this package was not requested. - sebastian/exporter 3.1.2 requires php ^7.0 -> your php version (5.4.16) does not satisfy that requirement. Problem 26 - sebastian/global-state is locked to version 3.0.0 and an update of this package was not requested. - sebastian/global-state 3.0.0 requires php ^7.2 -> your php version (5.4.16) does not satisfy that requirement. Problem 27 - sebastian/object-enumerator is locked to version 3.0.3 and an update of this package was not requested. - sebastian/object-enumerator 3.0.3 requires php ^7.0 -> your php version (5.4.16) does not satisfy that requirement. Problem 28 - sebastian/object-reflector is locked to version 1.1.1 and an update of this package was not requested. - sebastian/object-reflector 1.1.1 requires php ^7.0 -> your php version (5.4.16) does not satisfy that requirement. Problem 29 - sebastian/recursion-context is locked to version 3.0.0 and an update of this package was not requested. - sebastian/recursion-context 3.0.0 requires php ^7.0 -> your php version (5.4.16) does not satisfy that requirement. Problem 30 - sebastian/resource-operations is locked to version 2.0.1 and an update of this package was not requested. - sebastian/resource-operations 2.0.1 requires php ^7.1 -> your php version (5.4.16) does not satisfy that requirement. Problem 31 - sebastian/type is locked to version 1.1.3 and an update of this package was not requested. - sebastian/type 1.1.3 requires php ^7.2 -> your php version (5.4.16) does not satisfy that requirement. Problem 32 - sebastian/version is locked to version 2.0.1 and an update of this package was not requested. - sebastian/version 2.0.1 requires php >=5.6 -> your php version (5.4.16) does not satisfy that requirement. Problem 33 - theseer/tokenizer is locked to version 1.2.0 and an update of this package was not requested. - theseer/tokenizer 1.2.0 requires php ^7.2 || ^8.0 -> your php version (5.4.16) does not satisfy that requirement. Problem 34 - ralouphie/getallheaders 3.0.3 requires php >=5.6 -> your php version (5.4.16) does not satisfy that requirement. - guzzlehttp/psr7 1.7.0 requires ralouphie/getallheaders ^2.0.5 || ^3.0.0 -> satisfiable by ralouphie/getallheaders[3.0.3]. - guzzlehttp/psr7 is locked to version 1.7.0 and an update of this package was not requested.
Einen Kommentar schreiben:

Einen Kommentar schreiben: