Yesterday I was cleaning out some old configuration files on my Ubuntu 20.04 LTS server.
Somehow something necessary for Egroupware was accidently removed. Now Egroupware will not start. I get the Egroupware setup page. It says I have not created a header.inc.php file, yet looking at the file system I have created it. It exists and I have a lot of older versions of it.
I don’t see the apache process running but when I go to my server, I get the setup page.
When I run systemctl status apache2.service I get apache won’t start and get an error
apache2: Syntax error on line 307 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/conf.d/egroupware: No such file or directory
/etc/apache2/conf.d/egroupware is a link to …/…/egroupware/apache.conf which does not exist.
I should have backups of the database but so far I haven’t located them.