Installed nextcloud and apache and now neither one works

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.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello there

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

  1. netstat -plunta | grep apache

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

  1. netstat -plunta | grep 80
  1. 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:

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

Regards, Alex