Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions nextcloud_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1102,6 +1102,15 @@ do
fi
done

# Update all Nextcloud apps a second time (if the old backup was outdated)
if [ "${CURRENTVERSION%%.*}" -ge "15" ]
then
nextcloud_occ maintenance:mode --off
# Check for upgrades
print_text_in_color "$ICyan" "Trying to automatically update all Nextcloud apps again..."
nextcloud_occ_no_check app:update --all
fi

# Remove header for Nextcloud 14 (already in .htaccess)
if [ -f /etc/apache2/sites-available/"$(hostname -f)".conf ]
then
Expand Down