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

Run required db updates after nc upgrade

parent b36448c2
Branches
No related tags found
No related merge requests found
......@@ -72,6 +72,10 @@ echo "Giving all permissions to $htuser"
chown -R $htuser: $NEXTCLOUD_INSTALL_DIR
sudo -u $htuser php $ocupdater --no-interaction --verbose
sudo -u $htuser php $occ maintenance:mode --off
echo "Updating DB if required"
sudo -u $htuser php $occ db:add-missing-indices
sudo -u $htuser php $occ db:convert-filecache-bigint
echo "Removing backup htaccess file"
rm $NEXTCLOUD_INSTALL_DIR/.htaccess.bak
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment