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
No related branches found
No related tags found
No related merge requests found
...@@ -35,6 +35,7 @@ then ...@@ -35,6 +35,7 @@ then
exit 1 exit 1
fi 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 \ current_vesion=`sudo -u www-data php /var/www/nextcloud/occ status \
| awk '/versionstring/{print $3}'` | awk '/versionstring/{print $3}'`
echo "Nextclous is installed, version $current_vesion" echo "Nextclous is installed, version $current_vesion"
...@@ -89,5 +90,6 @@ if [ "$FAILED" != "" ] ...@@ -89,5 +90,6 @@ if [ "$FAILED" != "" ]
then then
echo "Failed to enable some apps: '$FAILED'" echo "Failed to enable some apps: '$FAILED'"
fi fi
sudo -u www-data php /var/www/nextcloud/occ app:update --all
echo "Please check difference between old and new .htaccess file" echo "Please check difference between old and new .htaccess file"
vimdiff $NEXTCLOUD_INSTALL_DIR{,.bak}/.htaccess 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