Skip to content
Snippets Groups Projects
Verified Commit 0155bade authored by David Beniamine's avatar David Beniamine
Browse files

Update all apps before and after nextcloud upgrade

parent 6b373058
Branches
No related tags found
No related merge requests found
......@@ -35,6 +35,7 @@ then
exit 1
fi
sudo -u www-data php /var/www/nextcloud/occ app:update --all
current_vesion=`sudo -u www-data php /var/www/nextcloud/occ status \
| awk '/versionstring/{print $3}'`
echo "Nextclous is installed, version $current_vesion"
......@@ -89,5 +90,6 @@ if [ "$FAILED" != "" ]
then
echo "Failed to enable some apps: '$FAILED'"
fi
sudo -u www-data php /var/www/nextcloud/occ app:update --all
echo "Please check difference between old and new .htaccess file"
vimdiff $NEXTCLOUD_INSTALL_DIR{,.bak}/.htaccess
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment