Question

Installed nextcloud and apache and now neither one works

Posted November 23, 2020 379 views
ApacheUbuntu 20.04

I installed nextcloud a couple of months ago on my Ubuntu 20.04.1 server. It worked fine but I wasn’t ready to actually use it so I just left it. Then yesterday I installed apache for my wife’s project, not thinking that there might be some conflicts. Now neither one works. Then I set the apache server to listen on port 8080; it also has a redirect for all connections to port 443 SSL. That didn’t help. I disabled snap.nextcloud.apache; that didn’t help. There is nothing in the access.log or error.log, and nothing in syslog that looks relevant. I disabled the firewall but that didn’t help.
I also have a wireguard server/peer on my droplet, and when I turn on the wg VPN then I can get the apache test page to show up, so it looks like the server is installed and configured but it doesn’t show up to the outside world.
Any help would be appreciated.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hello there

Can you confirm that the Apache webserver is up and running using netstat ? You can check this using the following command:

  • netstat -plunta | grep apache

You can also check which service is listening on ports 80 and 443:

  • netstat -plunta | grep 80
  • netstat -plunta | grep 443

I can see that you’ve configured NextCloud via snap, can you clarify if Apache was installed before installing NextCloud using an article like:

https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-ubuntu-20-04

or you’ve installed the Apache webserver as snap as well?

Regards,
Alex

by Erin Glass
The Apache HTTP server is the most widely-used web server in the world. It provides many powerful features including dynamically loadable modules, robust media support, and extensive integration with other popular software. In this guide, we'll explain how to install an Apache web server on your Ubuntu 20.04 server.