server icon indicating copy to clipboard operation
server copied to clipboard

Reboot Ubuntu Server and Nextcloud didn't 'run

Open nacholopex opened this issue 8 years ago • 4 comments

Steps to reproduce

  1. Reboot Ubuntu Server
  2. Start Apache2 (check its running with service apache2 status)
  3. Start mysql service (check its running with service mysql status)

Expected behaviour

Running nextcloud normally when I start apache2 and mysql service.

Actual behaviour

Only see the apache2 website when I visit my IP and cant see anything when I visit the website domain where I pointed my public IP.

Server configuration

Operating system: Ubuntu Server 18.04.1 LTS

Web server: https://lopezdrive.tk

Question

It's possible to run all automatically at the startup?

First time creating a server 😅

nacholopex avatar Sep 18 '18 07:09 nacholopex

GitMate.io thinks possibly related issues are https://github.com/nextcloud/server/issues/4793 (run nextcloud server install), https://github.com/nextcloud/server/issues/7622 (NextCloud Server Listener ), https://github.com/nextcloud/server/issues/11205 ([Nextcloud 14] Internal Server Error), https://github.com/nextcloud/server/issues/237 (503 Error after nextcloud runs a time), and https://github.com/nextcloud/server/issues/8753 (Nextcloud server is not cleaning old uploads entries).

nextcloud-bot avatar Sep 18 '18 07:09 nextcloud-bot

Of course, just enable services for mysql and apache2. "systemctl enable myslq" "systemctl enable apache2"

tomtomas99911 avatar Sep 18 '18 07:09 tomtomas99911

Steps to reproduce

  1. Reboot Ubuntu Server
  2. Start Apache2 (check its running with service apache2 status)
  3. Start mysql service (check its running with service mysql status)

Expected behaviour

Running nextcloud normally when I start apache2 and mysql service.

Actual behaviour

Only see the apache2 website when I visit my IP and cant see anything when I visit the website domain where I pointed my public IP.

Server configuration

Operating system: Ubuntu Server 18.04.1 LTS

Web server: https://lopezdrive.tk

Question

It's possible to run all automatically at the startup?

First time creating a server 😅

  • [x] I solved one of the problem, apache2 its creating conflicts. When apache2 is running the server can't show me the login page of nextcloud.

  • [x] Any solution to run apache2 and nextcloud simultaneously or maybe I don't need to start apache2 to show other websites?

nacholopex avatar Sep 18 '18 08:09 nacholopex

How are you running your Nextcloud instance? Via Docker or is it a local installation? If it's the latter, normally if no web server is running, then requests should be denied at all.

jabouchleih avatar Sep 18 '18 14:09 jabouchleih