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 https://download.nextcloud.com/server/releases/nextcloud-19.0.1.zip
unzip the file:
- unzip nextcloud-19.0.1.zip
And move the nextcloud folder to your
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
http://your_hostname/nextcloud via your browser and complete the installation.
Hope that this helps.
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.