After upgrading an Ubuntu 24.04 system to 26.04, Apache wouldn't load. I'm creating this issue so others in this situation can find the solution.
The systemd service definition for Apache2 in Ubuntu 26.04 includes the directive: ProtectHome=read-only.
I created an override that fixed this. I ran sudo systemctl edit apache2 and inserted the following:
# /etc/systemd/system/apache2.service.d/override.conf
[Service]
ReadWritePaths=/home/jon/.amp/log
This restored functionality.
After upgrading an Ubuntu 24.04 system to 26.04, Apache wouldn't load. I'm creating this issue so others in this situation can find the solution.
The systemd service definition for Apache2 in Ubuntu 26.04 includes the directive:
ProtectHome=read-only.I created an override that fixed this. I ran
sudo systemctl edit apache2and inserted the following:This restored functionality.