+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_sms
+ echo 1
+ echo 2
+ sudo killall apt apt-get unattended-upgr
apt: no process found
apt-get: no process found
unattended-upgr: no process found
+ sudo rm /var/lib/apt/lists/lock
+ sudo rm /var/cache/apt/archives/lock
rm: cannot remove '/var/cache/apt/archives/lock': No such file or directory
+ sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend
+ sudo sudo dpkg --configure -a --force-confdef
dpkg: error: parsing file '/var/lib/dpkg/updates/0006' near line 0:
newline in field name '#padding'
+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Hit:1 https://deb.debian.org/debian bullseye InRelease
Hit:2 https://deb.debian.org/debian-security bullseye-security InRelease
Hit:3 https://deb.debian.org/debian bullseye-updates InRelease
Hit:4 https://deb.debian.org/debian bullseye-backports InRelease
Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease
Reading package lists...
Building dependency tree...
Reading state information...
246 packages can be upgraded. Run 'apt list --upgradable' to see them.
+ echo 3
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-dev
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
+ echo 4
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-serial
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
+ echo 5
++ awk '$1 <= 4'
++ cut -f 2-
++ find /usr/local/lib/python3.9/dist-packages/ -mindepth 1 -maxdepth 1 -type d -exec du -ks '{}' +
+ RESULTTODELETE=
++ echo ''
++ sed 's, ,\ ,g'
+ RESULTTODELETE2=
+ echo ''
+ xargs rm -rf
+ echo 6
+ sudo pip3 cache purge
Files removed: 44 (1.1 MB)
+ echo 7
+ sudo pip3 install --upgrade pip
Requirement already satisfied: pip in /usr/local/lib/python3.9/dist-packages (25.1.1)
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ echo 8
+ sudo python3 -m pip install --force-reinstall --upgrade requests
Collecting requests
Downloading requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting charset-normalizer<4,>=2 (from requests)
Downloading charset_normalizer-3.4.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (35 kB)
Collecting idna<4,>=2.5 (from requests)
Downloading idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting urllib3<3,>=1.21.1 (from requests)
Downloading urllib3-2.4.0-py3-none-any.whl.metadata (6.5 kB)
Collecting certifi>=2017.4.17 (from requests)
Downloading certifi-2025.4.26-py3-none-any.whl.metadata (2.5 kB)
Downloading requests-2.32.3-py3-none-any.whl (64 kB)
Downloading charset_normalizer-3.4.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (144 kB)
Downloading idna-3.10-py3-none-any.whl (70 kB)
Downloading urllib3-2.4.0-py3-none-any.whl (128 kB)
Downloading certifi-2025.4.26-py3-none-any.whl (159 kB)
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests
Attempting uninstall: urllib3
Found existing installation: urllib3 2.4.0
Uninstalling urllib3-2.4.0:
Successfully uninstalled urllib3-2.4.0
Attempting uninstall: idna
Found existing installation: idna 3.10
Uninstalling idna-3.10:
Successfully uninstalled idna-3.10
Attempting uninstall: charset-normalizer
Found existing installation: charset-normalizer 3.4.2
Uninstalling charset-normalizer-3.4.2:
Successfully uninstalled charset-normalizer-3.4.2
Attempting uninstall: certifi
Found existing installation: certifi 2025.4.26
Uninstalling certifi-2025.4.26:
Successfully uninstalled certifi-2025.4.26
Attempting uninstall: requests
Found existing installation: requests 2.32.3
Uninstalling requests-2.32.3:
Successfully uninstalled requests-2.32.3
Successfully installed certifi-2025.4.26 charset-normalizer-3.4.2 idna-3.10 requests-2.32.3 urllib3-2.4.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ echo 9
+ sudo python3 -m pip install --force-reinstall --upgrade pyserial
Collecting pyserial
Downloading pyserial-3.5-py2.py3-none-any.whl.metadata (1.6 kB)
Downloading pyserial-3.5-py2.py3-none-any.whl (90 kB)
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
Installing collected packages: pyserial
Attempting uninstall: pyserial
Found existing installation: pyserial 3.5
Uninstalling pyserial-3.5:
Successfully uninstalled pyserial-3.5
Successfully installed pyserial-3.5
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ echo 10
+ sudo python3 -m pip install --force-reinstall --upgrade pyudev
Collecting pyudev
Downloading pyudev-0.24.3-py3-none-any.whl.metadata (4.6 kB)
Downloading pyudev-0.24.3-py3-none-any.whl (62 kB)
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
Installing collected packages: pyudev
Attempting uninstall: pyudev
Found existing installation: pyudev 0.24.3
Uninstalling pyudev-0.24.3:
Successfully uninstalled pyudev-0.24.3
Successfully installed pyudev-0.24.3
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ echo 11
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end sms
+ echo 12
+ rm /tmp/jeedom_install_in_progress_sms
+ echo '*******************End of package installation******************'
*******************End of package installation******************
[2025-05-07 10:20:14] ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2025-05-07 08:20:18] ERROR : Global listen exception of type SerialException occurred: [Errno 16] could not open port /dev/ttyLuna-Lte: [Errno 16] Device or resource busy: '/dev/ttyLuna-Lte'
[2025-05-07 08:20:18] ERROR : Exit 1 because this exeption is fatal
[2025-05-07 10:20:51] ERROR : Impossible de lancer le démon sms, vérifiez le port
[2025-05-07 10:25:15] ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2025-05-07 08:25:20] ERROR : Global listen exception of type SerialException occurred: [Errno 16] could not open port /dev/ttyLuna-Lte: [Errno 16] Device or resource busy: '/dev/ttyLuna-Lte'
[2025-05-07 08:25:20] ERROR : Exit 1 because this exeption is fatal
[2025-05-07 10:25:56] ERROR : Impossible de lancer le démon sms, vérifiez le port
[2025-05-07 10:30:15] ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2025-05-07 08:30:44] ERROR : Global listen exception of type TimeoutException occurred: None
[2025-05-07 08:30:44] ERROR : Exit 1 because this exeption is fatal
[2025-05-07 10:35:43] ERROR : Impossible de lancer le démon sms, vérifiez le port
[2025-05-07 10:40:15] INFO : Lancement démon sms : python3 /var/www/html/plugins/sms/resources/smsd/smsd.py --device /dev/ttyLuna-Lte --loglevel debug --socketport 55002 --serialrate 115200 --pin None --textmode no --smsc None --cycle 30 --callback http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php --apikey 2Ho5X9QuGW1uGIHpUWASLUb09Fbsj7DLk6Va3uPJcLDHIGW7aOxGlyhppkBz08tl --pid /tmp/jeedom/sms/deamon.pid
[2025-05-07 10:40:16] DEBUG : Aucun équipement SMS activé
[2025-05-07 10:40:49] ERROR : Impossible de lancer le démon sms, vérifiez le port
[2025-05-07 10:45:20] INFO : Lancement démon sms : python3 /var/www/html/plugins/sms/resources/smsd/smsd.py --device /dev/ttyLuna-Lte --loglevel debug --socketport 55002 --serialrate 115200 --pin None --textmode no --smsc None --cycle 30 --callback http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php --apikey 2Ho5X9QuGW1uGIHpUWASLUb09Fbsj7DLk6Va3uPJcLDHIGW7aOxGlyhppkBz08tl --pid /tmp/jeedom/sms/deamon.pid
[2025-05-07 10:45:33] DEBUG : Aucun équipement SMS activé
[2025-05-07 10:50:12] INFO : Lancement démon sms : python3 /var/www/html/plugins/sms/resources/smsd/smsd.py --device auto --loglevel debug --socketport 55002 --serialrate 115200 --pin None --textmode no --smsc None --cycle 30 --callback http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php --apikey 2Ho5X9QuGW1uGIHpUWASLUb09Fbsj7DLk6Va3uPJcLDHIGW7aOxGlyhppkBz08tl --pid /tmp/jeedom/sms/deamon.pid
[2025-05-07 10:50:42] ERROR : Impossible de lancer le démon sms, vérifiez le port
[2025-05-07 10:53:11] DEBUG : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php plugin_id=sms function=remove callInstallFunction=1
[2025-05-07 10:53:17] INFO : Début d'activation du plugin
[2025-05-07 10:53:19] INFO : Info sur le démon : {"log":"sms","state":"nok","launchable":"ok","launchable_message":"Gestion automatique d\u00e9sactiv\u00e9e","auto":"0","last_launch":"2025-05-07 10:50:11"}
[2025-05-07 10:53:19] DEBUG : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php plugin_id=sms function=install callInstallFunction=1
[2025-05-07 10:55:11] ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2025-05-07 10:55:49] ERROR : Impossible de lancer le démon sms, vérifiez le port
[2025-05-07 11:00:17] ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
/var/www/html/plugins/sms/resources/smsd/gsmmodem/modem.py:820: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if selected_phonebook is not "ON":
/var/www/html/plugins/sms/resources/smsd/gsmmodem/modem.py:826: SyntaxWarning: "is" with a literal. Did you mean "=="?
if response is "OK": # command is supported, but no number is set
/var/www/html/plugins/sms/resources/smsd/gsmmodem/modem.py:846: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if actual_phonebook is not "ON":
[2025-05-07 09:15:27] ERROR : Global listen exception of type TimeoutException occurred: None
[2025-05-07 09:15:27] ERROR : Exit 1 because this exeption is fatal
[2025-05-07 09:20:18] ERROR : Global listen exception of type SerialException occurred: [Errno 16] could not open port /dev/ttyLuna-Lte: [Errno 16] Device or resource busy: '/dev/ttyLuna-Lte'
[2025-05-07 09:20:18] ERROR : Exit 1 because this exeption is fatal
[2025-05-07 11:20:54] ERROR : Impossible de lancer le démon sms, vérifiez le port
[2025-05-07 09:25:27] ERROR : Global listen exception of type TimeoutException occurred: None
[2025-05-07 09:25:27] ERROR : Exit 1 because this exeption is fatal
[2025-05-07 09:30:17] ERROR : Global listen exception of type SerialException occurred: [Errno 16] could not open port /dev/ttyLuna-Lte: [Errno 16] Device or resource busy: '/dev/ttyLuna-Lte'
[2025-05-07 09:30:17] ERROR : Exit 1 because this exeption is fatal
[2025-05-07 11:30:50] ERROR : Impossible de lancer le démon sms, vérifiez le port
[2025-05-07 11:35:12] ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2025-05-07 11:35:14] ERROR : Erreur sur la fonction deamon_start du plugin : Veuillez vérifier la configuration
[2025-05-07 11:40:11] ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2025-05-07 09:40:15] ERROR : Global listen exception of type SerialException occurred: [Errno 16] could not open port /dev/ttyLuna-Lte: [Errno 16] Device or resource busy: '/dev/ttyLuna-Lte'
[2025-05-07 09:40:15] ERROR : Exit 1 because this exeption is fatal
[2025-05-07 11:40:48] ERROR : Impossible de lancer le démon sms, vérifiez le port
[2025-05-07 11:45:12] ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2025-05-07 09:45:16] ERROR : Global listen exception of type SerialException occurred: [Errno 16] could not open port /dev/ttyLuna-Lte: [Errno 16] Device or resource busy: '/dev/ttyLuna-Lte'
[2025-05-07 09:45:16] ERROR : Exit 1 because this exeption is fatal
[2025-05-07 11:45:50] ERROR : Impossible de lancer le démon sms, vérifiez le port
[2025-05-07 11:50:13] ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2025-05-07 09:50:17] ERROR : Global listen exception of type SerialException occurred: [Errno 16] could not open port /dev/ttyLuna-Lte: [Errno 16] Device or resource busy: '/dev/ttyLuna-Lte'
[2025-05-07 09:50:17] ERROR : Exit 1 because this exeption is fatal
[2025-05-07 11:50:50] ERROR : Impossible de lancer le démon sms, vérifiez le port
[2025-05-07 11:55:11] ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2025-05-07 09:55:25] ERROR : Global listen exception of type TimeoutException occurred: None
[2025-05-07 09:55:25] ERROR : Exit 1 because this exeption is fatal
[2025-05-07 12:00:16] ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2025-05-07 10:00:23] ERROR : Global listen exception of type SerialException occurred: [Errno 16] could not open port /dev/ttyLuna-Lte: [Errno 16] Device or resource busy: '/dev/ttyLuna-Lte'
[2025-05-07 10:00:23] ERROR : Exit 1 because this exeption is fatal
[2025-05-07 12:00:57] ERROR : Impossible de lancer le démon sms, vérifiez le port
[2025-05-07 12:05:13] ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2025-05-07 10:05:17] ERROR : Global listen exception of type SerialException occurred: [Errno 16] could not open port /dev/ttyLuna-Lte: [Errno 16] Device or resource busy: '/dev/ttyLuna-Lte'
[2025-05-07 10:05:17] ERROR : Exit 1 because this exeption is fatal
[2025-05-07 12:05:51] ERROR : Impossible de lancer le démon sms, vérifiez le port
[2025-05-07 08:55:15] ERROR : Global listen exception of type SerialException occurred: [Errno 16] could not open port /dev/ttyLuna-Lte: [Errno 16] Device or resource busy: '/dev/ttyLuna-Lte'
[2025-05-07 08:55:15] ERROR : Exit 1 because this exeption is fatal
[2025-05-07 09:00:32] ERROR : Global listen exception of type TimeoutException occurred: None
[2025-05-07 09:00:32] ERROR : Exit 1 because this exeption is fatal