Waiting for PHP ...

Posted July 16, 2020 1.8k views
Debian 10

After sudo -i nextcloud.manual-install sammy passwordthe script crashes or just stuck in Waiting for PHP ...just on debian 10, on ubuntu, fedora droplet works fine.
Any idea whats wrong?

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
2 answers

Hi there @xashak,

It looks like that the snap installation does not work for Debian 10.

What you need to do is to manually install LAMP on Debian by following the steps here:

After that manually download the specific NextCloud version that you want to install from here:

For example if you want to go for NextCloud 19.0.1, you could run the following command:

  • wget

After that unzip the file:

  • unzip

And move the nextcloud folder to your /var/www/html folder:

mv nextcloud /var/www/html

Finally change the ownership to www-data so that Apache could have access to those files:

sudo chown -R www-data:www-data /var/www/html/nextcloud

You should also, change the file permissions:

  • sudo chmod -R 755 /var/www/html/nextcloud

Then visit http://your_hostname/nextcloud via your browser and complete the installation.

Hope that this helps.

by Mark Drake
by Erika Heidi
A "LAMP" stack is a group of open source software that is typically installed together to enable a server to host dynamic websites and web apps. This term is actually an acronym which represents the Linux operating system, with the Apache web server. The site data is stored in a MariaDB database, and dynamic content is processed by PHP. In this guide, we will install a LAMP stack on a Debian 10 server.

Even with external raid disks on ubuntu is buggy, i’ve reported 7 months ago to the snap, but today tested is the same. I’ve already removed snap completely.