1152 shaares
4 private links
4 private links
Récupérer config et .htaccess et utiliser adminer pour récupérer la base de données
cd /var/www
wget https://download.nextcloud.com/server/releases/nextcloud-16.0.4.tar.bz2
tar -xvf nextcloud-*.tar.bz2
sudo service apache2 stop
mv html html-old
mv nextcloud html
mysqldump -u nextcloud_web -p --databases nextcloud > nextcloud.sql
cp html-old/config/config.php html/config/
copier apps manquantes
sudo chown -R www-data:www-data html
sudo chmod -R g+w html
sudo find html/ -type d -exec chmod 750 {} \;
sudo find html/ -type f -exec chmod 640 {} \;
sudo service apache2 start
cd html
sudo -u www-data php occ upgrade
Mettre à jour .htaccess