На команду
mmcli -m wbc --messaging-create-sms=“text=‘Test’,number=‘+7xxxxxxxxxx’”
ответ
error: couldn’t find modem
Команда
mmcli -m any
выдает много информации похожей на правду
SMS пробовали и из модуля уведомлений. В логах встречаются красные записи
08-08-2023 19:18:39.125 [wb-rules] ERROR: [rule error] error sending sms to +7xxxxxxxxxx:
/bin/sh: 1: WB7:: not found
Доступ к Интернет через сотовый модуль работает (если принудиительно отключить сетевой кабель).
Нашел в телефоне сообщения ранние. Так что когда-то это работало.
В целом очень странное сейчас состояние у системы. Не обновляется. На root места нет. Чем занято - не получается понять. Можно как-то все-все сбросить-переустановить с сохранением настроек или даже и без них? (из сильно внешнего был только node red для бота telegram, можем пока и без него обойтись).
apt update; apt upgrade
Hit:1 http://deb.debian.org/debian bullseye InRelease
Get:2 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:3 http://deb.debian.org/debian bullseye-backports InRelease [49.0 kB]
Err:1 http://deb.debian.org/debian bullseye InRelease
Splitting up /var/lib/apt/lists/deb.debian.org_debian_dists_bullseye_InRelease into data and signature failed
Err:2 http://deb.debian.org/debian bullseye-updates InRelease
Splitting up /var/lib/apt/lists/partial/deb.debian.org_debian_dists_bullseye-updates_InRelease into data and signature failed
Err:3 http://deb.debian.org/debian bullseye-backports InRelease
Splitting up /var/lib/apt/lists/partial/deb.debian.org_debian_dists_bullseye-backports_InRelease into data and signature failed
Get:4 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Err:4 http://security.debian.org/debian-security bullseye-security InRelease
Splitting up /var/lib/apt/lists/partial/security.debian.org_debian-security_dists_bullseye-security_InRelease into data and signature failed
Hit:5 https://deb.nodesource.com/node_16.x bullseye InRelease
Err:5 https://deb.nodesource.com/node_16.x bullseye InRelease
Splitting up /var/lib/apt/lists/deb.nodesource.com_node%5f16.x_dists_bullseye_InRelease into data and signature failed
Get:6 http://deb.wirenboard.com/wb7/bullseye stable InRelease [3939 B]
Err:6 http://deb.wirenboard.com/wb7/bullseye stable InRelease
Splitting up /var/lib/apt/lists/partial/deb.wirenboard.com_wb7_bullseye_dists_stable_InRelease into data and signature failed
Fetched 145 kB in 1s (182 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
15 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.debian.org/debian bullseye InRelease: Splitting up /var/lib/apt/lists/deb.debian.org_debian_dists_bullseye_InRelease into data and signature failed
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.debian.org/debian bullseye-updates InRelease: Splitting up /var/lib/apt/lists/partial/deb.debian.org_debian_dists_bullseye-updates_InRelease into data and signature failed
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.debian.org/debian bullseye-backports InRelease: Splitting up /var/lib/apt/lists/partial/deb.debian.org_debian_dists_bullseye-backports_InRelease into data and signature failed
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.debian.org/debian-security bullseye-security InRelease: Splitting up /var/lib/apt/lists/partial/security.debian.org_debian-security_dists_bullseye-security_InRelease into data and signature failed
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://deb.nodesource.com/node_16.x bullseye InRelease: Splitting up /var/lib/apt/lists/deb.nodesource.com_node%5f16.x_dists_bullseye_InRelease into data and signature failed
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.wirenboard.com/wb7/bullseye stable InRelease: Splitting up /var/lib/apt/lists/partial/deb.wirenboard.com_wb7_bullseye_dists_stable_InRelease into data and signature failed
W: Failed to fetch http://deb.debian.org/debian/dists/bullseye/InRelease Splitting up /var/lib/apt/lists/deb.debian.org_debian_dists_bullseye_InRelease into data and signature failed
W: Failed to fetch http://deb.debian.org/debian/dists/bullseye-updates/InRelease Splitting up /var/lib/apt/lists/partial/deb.debian.org_debian_dists_bullseye-updates_InRelease into data and signature failed
W: Failed to fetch http://deb.debian.org/debian/dists/bullseye-backports/InRelease Splitting up /var/lib/apt/lists/partial/deb.debian.org_debian_dists_bullseye-backports_InRelease into data and signature failed
W: Failed to fetch http://security.debian.org/debian-security/dists/bullseye-security/InRelease Splitting up /var/lib/apt/lists/partial/security.debian.org_debian-security_dists_bullseye-security_InRelease into data and signature failed
W: Failed to fetch https://deb.nodesource.com/node_16.x/dists/bullseye/InRelease Splitting up /var/lib/apt/lists/deb.nodesource.com_node%5f16.x_dists_bullseye_InRelease into data and signature failed
W: Failed to fetch http://deb.wirenboard.com/wb7/bullseye/dists/stable/InRelease Splitting up /var/lib/apt/lists/partial/deb.wirenboard.com_wb7_bullseye_dists_stable_InRelease into data and signature failed
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
bind9-host bind9-libs libmm-glib0 libwbmqtt1-3 libwbmqtt1-4 linux-image-wb7 openssl python3-wb-diag-collect wb-diag-collect wb-hwconf-manager wb-mqtt-homeui wb-mqtt-mbgate
wb-release-info wb-rules wb-utils
15 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 34.7 MB of archives.
After this operation, 4096 B disk space will be freed.
Do you want to continue? [Y/n]
Очевидно из вывода что на разделе нет места.
Если не хотите его очищать - выполните сброс, с последующим обновлением до актуального релиза 2307. Ну или сразу на него.
Еще вопрос про старые конфигурационные файлы. Когда пробовали modbus tcp и snmp не запустилось как требуется. Есть вариант на новую систему не переносить именно эти настройки? (использовать файлы по умолчанию из прошивки)
Значит будем вспоминать, что где настроенное лежит. Не все настройки на /mnt/data на самом деле. Например wb-connection-manager.conf, ssmtp.conf, шаблоны устройств snmp. Неудобно конечно.
Может быть в нашем случае лучше вместе с /mnt/data сбросить и снова с нуля устанавливать уже записывая что где меняется?
Не подскажете еще про /mnt/data/var/log/journal/9565b98a32c74eaa8e446f57a2fbad5c на 470 МБ. Понятно, что это не /, но тоже немало.