Update page stuck after update

Nextcloud version: 14.0.1
Operating system and version: Ubuntu 16.04.5 LTS
Apache or nginx version: Apache

The issue you are facing:

I finished installing but the web installer is stuck and I can’t install from the command prompt. When I do update from the command line it says it’s successful but the webpage still shows the update in progress.

Is this the first time you’ve seen this error? (Y/N):y

The output of your Nextcloud log in Admin > Logging:

PASTE HERE

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

$CONFIG = array (
  'passwordsalt' => 'xxxx',
  'secret' => 'xxxx',
  'trusted_domains' => 
  array (
    0 => 'domain',
    1 => 'ip_address',
  ),
  'datadirectory' => '/var/www/nextcloud/data',
  'overwrite.cli.url' => 'domain',
  'htaccess.RewriteBase' => '/',
  'defaultapp' => 'files',
  'theme' => '',
  'dbtype' => 'mysql',
  'version' => '14.0.1.1',
  'dbname' => 'xxxx',
  'dbhost' => 'xxxx',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'xxxx',
  'dbpassword' => 'xxxx',
  'instanceid' => 'xxxx',
  'installed' => true,
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => '/var/run/redis/redis.sock',
     'port' => 0,
    'dbindex' => 0,
    'password' => 'xxxx',
    'timeout' => 1.5,
  ),
  'maintenance' => false,
  'updater.release.channel' => 'stable',
  'updater.secret' => 'xxxx'
  'loglevel' => 2,
);

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

I tried

sudo chmod a+r updater.phar
sudo chown -R www-data:www-data /var/www/nextcloud/

When I run sudo -u www-data php updater/updater.phar, here is the error:
PHP Fatal error: Uncaught PharException: phar “/var/www/nextcloud/updater/updater.phar” has a broken signature in /var/www/nextcloud/updater/updater.phar:9
Stack trace:
#0 /var/www/nextcloud/updater/updater.phar(9): Phar::mapPhar(‘default.phar’)
#1 {main}
thrown in /var/www/nextcloud/updater/updater.phar on line 9

When I run:

sudo -u www-data php occ integrity:check-core

Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade

  • INVALID_HASH:
    • .user.ini:
      • expected: 467d4f028c447895716a2b7859ed6e569f8ee34b87b51d73dab2e6a9ca4fbe63172c7be3e365ae864a60408286afcce852dd38ee544b61685ed4ee5e021fecb0
      • current: 333839b28bb32d4132a4a199bb71a99971f455783c998b3b52b2f905830bdb33932819ef76ebe02be09fa9efda7a1448813564a90868b3340fc5390bd34fc2ef
    • version.php:
      • expected: d508ba9867bcecaba3fa3d4c61653ab5e43589ea1267dc7618cbeaa3233ab3ee030d88a779941439477e6ed245b6d92029731f0cd4614d2cfe72eee1dfdc89e7
      • current: d1c6619b1bf3fe803f37f4579af2329d4c0412987d56bf0b3f9545f0cdd04aaef80a4f56fc8dfacac33d704df490fd7ffbaead0e144a45fc57da0574320b99b2
  • FILE_MISSING:
    • core/js/mimetypelist.js:
      • expected: ca08cddcbc7e65823271893ead9aa0c2cade17b2d6dd94d6ff6ed9fa1edca902f952d6066fa1cd60caa412ebcba14267805fc12ab6d9cde6e140cbed2007d891
      • current: