отстал от жизни лет так на 10, сильно не пинайте

система работает и ничего не менялось уже очень давно, но вот жена купила колонку... )))
Модератор: immortal
Вам наверное сюда viewtopic.php?f=5&t=7359
В посте выше - это модуль, чтоб выводить на колонку сообщения. Данный модуль - чтобы своими устройствами управлять с колонки. Во втором посте подробнейшая документация с картинками о том, как всё это настроить.
Условие №1. Публичный (глобальный, белый) IP-адрес, выдаваемый интернет-провадером.
Код: Выделить всё
pi@raspberrypi:~ $ sudo apachectl configtest
AH00526: Syntax error on line 57 of /etc/apache2/sites-enabled/webhooks.conf:
SSLCertificateFile: file '/etc/apache2/ssl/webhooks/fullchain.pem' does not exist or is empty
Action 'configtest' failed.
The Apache error log may have more information.
Код: Выделить всё
root@raspberrypi:/home/pi# sudo systemctl restart apache2
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
Код: Выделить всё
root@raspberrypi:/home/pi# systemctl status apache2.service
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2025-04-27 15:03:30 MSK; 36s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 4795 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
Apr 27 15:03:30 raspberrypi systemd[1]: Starting The Apache HTTP Server...
Apr 27 15:03:30 raspberrypi apachectl[4795]: AH00526: Syntax error on line 57 of /etc/apache2/sites-enabled/webhooks.conf:
Apr 27 15:03:30 raspberrypi apachectl[4795]: SSLCertificateFile: file '/etc/apache2/ssl/webhooks/fullchain.pem' does not exist or is empty
Apr 27 15:03:30 raspberrypi apachectl[4795]: Action 'start' failed.
Apr 27 15:03:30 raspberrypi apachectl[4795]: The Apache error log may have more information.
Apr 27 15:03:30 raspberrypi systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Apr 27 15:03:30 raspberrypi systemd[1]: apache2.service: Failed with result 'exit-code'.
Apr 27 15:03:30 raspberrypi systemd[1]: Failed to start The Apache HTTP Server.