- информация по установке с сайта https://tavportal.ru/blog/linux/229-ustanovka-i-nastrojka-nextcloud-v-debian-12
apt install php php-fpm php-common php-zip php-xml php-intl php-gd php-mysql php-mbstring php-curl php-imagick libapache2-mod-fcgid php-gmp php-bcmath libmagickcore-6.q16-6-extra
a2enmod proxy_fcgi setenvif
a2enconf php8.2-fpm
mcedit /etc/php/8.2/fpm/php.ini
memory_limit = 512M
opcache.enable_cli=1
opcache.interned_strings_buffer=32
opcache.revalidate_freq=1
systemctl restart apache2 php8.2-fpm
wget https://download.nextcloud.com/server/releases/latest.zip
unzip latest.zip
mv -v nextcloud /var/www/ipnetcat.ddns.net/
chown -R www-data:www-data /var/www/ipnetcat.ddns.net/nextcloud
mysql -proot -p<password>
CREATE DATABASE nextcloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
GRANT ALL ON nextcloud.* TO ‘<user>’@’localhost’ IDENTIFIED BY ‘password’;
FLUSH PRIVILEGES;
EXIT;
sudo -u www-data php /var/www/<site>/nextcloud/occ db:convert-filecache-bigint
sudo -u www-data php /var/www/<site>/nextcloud/occ db:add-missing-indices
/var/www/<site>/nextcloud/config/config.php
sudo -u www-data php occ maintenance:install —database «mysql» —database-name «nextcloud» —database-user «root» —database-pass «<password>» —admin-user «admin» —admin-pass «<password>»