To solve it:
Check 'Force auto-update, even if some files were modified' in Settings >> Site Settings.