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

A. F. Cano afc54 at comcast.net
Mon Sep 22 19:48:33 BST 2025


On Mon, Sep 22, 2025 at 08:58:16AM -0700, Sunil Mohan Adapa wrote:
> On 9/21/25 11:35, A. F. Cano via Freedombox-discuss wrote:
> > ...
> > Syntax errors?  Did something get messed up in some upgrade?  How do I
> > fix this?
> > 

Thank you!  Fixed.  Details below.

> 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>

It didn't.

cd /etc/apache2/conf-enabled
$ ls -l freedombox-tls-site-macro.conf
lrwxrwxrwx 1 root root 48 Nov 16  2021 freedombox-tls-site-macro.conf -> ../conf-available/freedombox-tls-site-macro.conf

ls ../conf-available/freedombox-tls-site*
../conf-available/freedombox-tls-site-macro.conf
../conf-available/freedombox-tls-site-macro.conf.dpkg-dist

$ cd ../conf-available

$ ls -l freedombox-tls-site*
-rw-r--r-- 1 root root 1288 Dec 22  2021 freedombox-tls-site-macro.conf
-rw-r--r-- 1 root root 2084 Sep  2 17:07 freedombox-tls-site-macro.conf.dpkg-dist

So, I was using the very old (from 2021) file and some upgrade didn't
replace it, probably because I pressed <ENTER" when asked and it kept
the old one by default.

$ sudo mv freedombox-tls-site-macro.conf.dpkg-dist freedombox-tls-site-macro.con

$ ls -l freedombox-tls-site*
-rw-r--r-- 1 root root 2084 Sep  2 17:07 freedombox-tls-site-macro.conf

This fixed it.

> 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].

It appears that dpkg thought so and kept the old one.

> 3. Are you running FreedomBox 25.11?

Yes.

Thanks again.

Augustine

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



More information about the Freedombox-discuss mailing list