[Freedombox-discuss] After reboot, apache2.service doesn't start, Freedombox unreachable by web.

Sunil Mohan Adapa sunil at medhas.org
Mon Sep 22 16:58:16 BST 2025


On 9/21/25 11:35, A. F. Cano via Freedombox-discuss wrote:
> Hi,
> 
> I noticed that the backups had stopped working.  None were listed even
> though I have plenty of remote backups available.  Tried to turn off and
> then turn on backups, but turning off doesn't work.  After a few seconds
> the slide button remains on.  Tried to reboot in case this would fix it,
> but then noticed that the FreedomBox was not reachable by web.  Luckily
> I could still get in by ssh.
> 
> $ sudo systemctl status apache2.service
> 
> 
> × apache2.service - The Apache HTTP Server
>       Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled; preset: enabled)
>       Active: failed (Result: exit-code) since Sun 2025-09-21 14:18:33 EDT; 34s ago
>   Invocation: f65365461fa44297b30e71e11c2a6ab2
>         Docs: https://httpd.apache.org/docs/2.4/
>      Process: 10204 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
>     Mem peak: 8.7M
>          CPU: 295ms
> 
> Sep 21 14:18:28 fbx systemd[1]: Starting apache2.service - The Apache HTTP Server...
> Sep 21 14:18:32 fbx apachectl[10206]: [core:warn] [pid 10206:tid 10206] AH00114: Useless use of AllowOverride in line 2 of /etc/apache2/includes/freedombox-sharing.conf.
> Sep 21 14:18:32 fbx apachectl[10206]: AH00526: Syntax error on line 15 of macro 'freedomboxtlssitemacro' (defined on line 1 of "/etc/apache2/conf-enabled/freedombox-tls-site-macro.conf") used on line 1 of "/etc/apache2/sites-enabled/fbx.local.conf":
> Sep 21 14:18:32 fbx apachectl[10206]: SSLCertificateFile: file '/etc/letsencrypt/live/fbx.local/fullchain.pem' does not exist or is empty
> Sep 21 14:18:33 fbx systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
> Sep 21 14:18:33 fbx systemd[1]: apache2.service: Failed with result 'exit-code'.
> Sep 21 14:18:33 fbx systemd[1]: Failed to start apache2.service - The Apache HTTP Server.
> 
> Syntax errors?  Did something get messed up in some upgrade?  How do I
> fix this?
> 

1. Does the file 
/etc/apache2/conf-enabled/freedombox-tls-site-macro.conf contain the 
following lines:

<IfFile /etc/letsencrypt/live/$domain/privkey.pem>
     SSLCertificateFile /etc/letsencrypt/live/$domain/fullchain.pem
     SSLCertificateKeyFile /etc/letsencrypt/live/$domain/privkey.pem
</IfFile>
<IfFile !/etc/letsencrypt/live/$domain/privkey.pem>
     SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
     SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
</IfFile>

2. Is the file 
/etc/apache2/conf-available/freedombox-tls-site-macro.conf modified by 
you manually? If so, copy the latest of this file[1].

3. Are you running FreedomBox 25.11?

Links:

1) 
https://salsa.debian.org/freedombox-team/freedombox/-/raw/main/data/etc/apache2/conf-available/freedombox-tls-site-macro.conf?ref_type=heads

-- 
Sunil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x36C361440C9BC971.asc
Type: application/pgp-keys
Size: 54314 bytes
Desc: OpenPGP public key
URL: <http://alioth-lists.debian.net/pipermail/freedombox-discuss/attachments/20250922/32bc31f3/attachment-0001.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/freedombox-discuss/attachments/20250922/32bc31f3/attachment-0001.sig>


More information about the Freedombox-discuss mailing list