Task 3‐2: Broken Owncloud - KeegMitch/Operations-Engineering-group-c GitHub Wiki
The etc/apache2/sites-availble/owncloud.conf was changed so the route document pointed towards nonexistent instead of owncloud
group-c@app-c:/etc/apache2/sites-available$ sudo systemctl restart apache2
group-c@app-c:/etc/apache2/sites-available$ sudo systemctl status apache2
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2024-06-05 10:54:43 NZST; 1s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 354645 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
Main PID: 354649 (apache2)
Tasks: 6 (limit: 4647)
Memory: 14.9M
CGroup: /system.slice/apache2.service
├─354649 /usr/sbin/apache2 -k start
├─354650 /usr/sbin/apache2 -k start
├─354651 /usr/sbin/apache2 -k start
├─354652 /usr/sbin/apache2 -k start
├─354653 /usr/sbin/apache2 -k start
└─354654 /usr/sbin/apache2 -k start
Jun 05 10:54:43 app-c systemd[1]: Starting The Apache HTTP Server...
Jun 05 10:54:43 app-c apachectl[354648]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 13.75.139.57. Set the 'ServerName' directive globally to suppress this message
Jun 05 10:54:43 app-c systemd[1]: Started The Apache HTTP Server.
group-c@app-c:/etc/apache2/sites-available$ sudo chmod 755 -Rf /var/www/owncloud/
group-c@app-c:/etc/apache2/sites-available$ sudo chmod 755 -Rf /var/www/owncloud/