Question

Waiting for PHP ...

Hi, 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?


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.

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. Thanks

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:

https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mariadb-php-lamp-stack-on-debian-10

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

https://download.nextcloud.com/server/releases/

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

  1. wget https://download.nextcloud.com/server/releases/nextcloud-19.0.1.zip

After that unzip the file:

  1. unzip nextcloud-19.0.1.zip

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:

  1. 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. Regards, Bobby