Unable to upgrade to new version: button loops to Overview

Nextcloud version (eg, 20.0.5): 22.1.0
Operating system and version (eg, Ubuntu 20.04): Debian 11
Apache or nginx version (eg, Apache 2.4.25): nginx/1.18.0
PHP version (eg, 7.4): 7.4.22

The issue you are facing:
To fix an issue with the user list not displaying when sharing an item, I’ve tried to upgrade to the new 22.1.2 version, got to the Settings > Overview page and clicked on the Upgrade button… which brings me back to the Overview page! Hovering mouse above the button confirms the link is “https://nc.mydomain.com/settings/admin/overview#

Is this the first time you’ve seen this error? Y:

Steps to replicate it:

  1. Go to Settings > Overview
  2. Click on Upgrade button

The output of your Nextcloud log in Admin > Logging:

{"reqId":"xVQhsusGhLP3fDsPZFen","level":3,"time":"2021-09-16T21:09:55+00:00","remoteAddr":"45.146.164.110","user":"--","app":"index","method":"POST","url":"/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php","message":"File does not exist","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36","version":"22.1.0.1","exception":{"Exception":"OCP\\Files\\NotFoundException","Message":"File does not exist","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/SimpleFS/SimpleFile.php","line":93,"function":"checkFile","class":"OC\\Files\\SimpleFS\\SimpleFile","type":"->","args":[]},{"file":"/var/www/html/lib/private/Template/IconsCacher.php","line":115,"function":"getContent","class":"OC\\Files\\SimpleFS\\SimpleFile","type":"->","args":[]},{"file":"/var/www/html/lib/private/Template/SCSSCacher.php","line":350,"function":"setIconsCss","class":"OC\\Template\\IconsCacher","type":"->","args":[":root{--color-main-text: #222;--color-main-background: #fff;--color-main-background-translucent: rgba(255, 255, 255, 0.97);--gradient-main-background: var(--color-main-background) 0%, var(--color-main-background-translucent) 85%, transparent 100%;--color-background-hover: whitesmoke;--color-background-dark: #ededed;--color-background-darker: #dbdbdb;--color-placeholder-light: #e6e6e6;--color-placeholder-dark: #ccc;--color-primary: #0082c9;--color-primary-light: #e6f3fa;--color-primary-text: #ffffff;--color-primary-text-dark: #ededed;--color-primary-element: #0082c9;--color-primary-element-light: #17adff;--color-error: #e9322d;--color-warning: #eca700;--color-success: #46ba61;--color-text-maxcontrast: #767676;--color-text-light: #222;--color-text-lighter: #767676;--image-logo: url('../img/logo/logo.svg?v=1');--image-login-background: url('../img/background.png?v=2');--image-logoheader: url('../img/logo/logo.svg?v=1');--image-favicon: url('../img/logo/logo.svg?v=1');--color-loading-light: #ccc;--color-loading-dark: #444;--color-box-shadow: rgba(77, 77, 77, 0.5);--color-border: #ededed;--color-border-dark: #dbdbdb;--border-radius: 3px;--border-radius-large: 10px;--border-radius-pill: 100px;--font-face: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Cantarell, Ubuntu, Helvetica Neue, Arial, Noto Color Emoji, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;--default-font-size: 15px;--default-line-height: 24px;--animation-quick: 100ms;--animation-slow: 300ms;--header-height: 50px}"]},{"file":"/var/www/html/lib/private/Template/SCSSCacher.php","line":188,"function":"cache","class":"OC\\Template\\SCSSCacher","type":"->","args":["/var/www/html/core/css","cbe0-6b7c-css-variables.css","css-variables.scss",{"__class__":"OC\\Files\\SimpleFS\\SimpleFolder"},"/core/css"]},{"file":"/var/www/html/lib/private/Template/CSSResourceLocator.php","line":110,"function":"process","class":"OC\\Template\\SCSSCacher","type":"->","args":["/var/www/html","core/css/css-variables.scss","core"]},{"file":"/var/www/html/lib/private/Template/CSSResourceLocator.php","line":62,"function":"cacheAndAppendScssIfExist","class":"OC\\Template\\CSSResourceLocator","type":"->","args":["/var/www/html","core/css/css-variables.scss"]},{"file":"/var/www/html/lib/private/Template/ResourceLocator.php","line":78,"function":"doFind","class":"OC\\Template\\CSSResourceLocator","type":"->","args":["css/css-variables"]},{"file":"/var/www/html/lib/private/TemplateLayout.php","line":339,"function":"find","class":"OC\\Template\\ResourceLocator","type":"->","args":[["css/server","css/css-variables","css/guest"]]},{"file":"/var/www/html/lib/private/TemplateLayout.php","line":247,"function":"findStylesheetFiles","class":"OC\\TemplateLayout","type":"::","args":[["css/server","css/css-variables","css/guest"]]},{"file":"/var/www/html/lib/private/legacy/OC_Template.php","line":182,"function":"__construct","class":"OC\\TemplateLayout","type":"->","args":["guest","core"]},{"file":"/var/www/html/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"/var/www/html/lib/base.php","line":786,"function":"printPage","class":"OC\\Template\\Base","type":"->","args":[]},{"file":"/var/www/html/lib/base.php","line":1083,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Files/SimpleFS/SimpleFile.php","Line":138,"CustomMessage":"--"}}
{"reqId":"vCimENxJeG37q32mBOIB","level":3,"time":"2021-09-17T14:13:10+00:00","remoteAddr":"176.161.232.82","user":"--","app":"index","method":"GET","url":"/apps/polls/s/4hmd8eg5mhl5Jqsl/watch?offset=1631887990","message":"denied permission view","userAgent":"Mozilla/5.0 (Linux; Android 11; SAMSUNG SM-G973F) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/14.2 Chrome/87.0.4280.141 Mobile Safari/537.36","version":"22.1.0.1","exception":{"Exception":"OCA\\Polls\\Exceptions\\NotAuthorizedException","Message":"denied permission view","Code":0,"Trace":[{"file":"/var/www/html/custom_apps/polls/lib/Model/Acl.php","line":109,"function":"request","class":"OCA\\Polls\\Model\\Acl","type":"->","args":["view"]},{"file":"/var/www/html/custom_apps/polls/lib/Controller/PublicController.php","line":163,"function":"setToken","class":"OCA\\Polls\\Model\\Acl","type":"->","args":["4hmd8eg5mhl5Jqsl"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":217,"function":"watchPoll","class":"OCA\\Polls\\Controller\\PublicController","type":"->","args":["4hmd8eg5mhl5Jqsl",1631887990]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":126,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Polls\\Controller\\PublicController"},"watchPoll"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":156,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Polls\\Controller\\PublicController"},"watchPoll"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":301,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Polls\\Controller\\PublicController","watchPoll",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"token":"4hmd8eg5mhl5Jqsl","_route":"polls.public.watch_poll"}]},{"file":"/var/www/html/lib/base.php","line":1000,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/polls/s/4hmd8eg5mhl5Jqsl/watch"]},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/custom_apps/polls/lib/Model/Acl.php","Line":230,"CustomMessage":"--"}}
{"reqId":"tEIVFpu23cWO0G3EnQ9Z","level":2,"time":"2021-09-21T08:20:19+00:00","remoteAddr":"185.174.184.98","user":"--","app":"no app in context","method":"POST","url":"/login","message":"Login failed: admin8520 (Remote IP: 185.174.184.98)","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:92.0) Gecko/20100101 Firefox/92.0","version":"22.1.0.1"}

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

<?php
$CONFIG = array (
  'default_phone_region' => 'BE',
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'instanceid' => 'instance-id',
  'passwordsalt' => 'SALT',
  'secret' => 'SECRET',
  'trusted_domains' => 
  array (
    0 => '192.168.1.34:8088',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'mysql',
  'version' => '22.1.0.1',
  'overwrite.cli.url' => 'http://192.168.1.34:8088',
  'dbname' => 'nextcloud',
  'dbhost' => 'mariadb',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'db-user',
  'dbpassword' => 'db-pwd',
  'installed' => true,
  'mail_from_address' => 'nextcloud',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'mydomain.com',
  'mail_smtpsecure' => 'ssl',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'smtp-host',
  'mail_smtpport' => '465',
  'mail_smtpname' => 'smtp-name',
  'mail_smtppassword' => 'mail-pwd',
  'allow_local_remote_servers' => true,
  'app_install_overwrite' => 
  array (
    0 => 'groupfolders',
  ),
);

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

N/A