Unable to login after upgrading from 13.0.4 -> 13.0.5

Hi.

I need some assistance to why users can’t login when debug is set to false. This happened after I upgraded from 13.0.4 -> 13.0.5 - And this puzzles me a little. There were no errors during the upgrade.
If a user is logged in there is no issue, but he can’t log out and then back in. The “Log in” button is not reacting.

There is no errors related to this in the nginx, php and nextcloud.log files. I upgraded PHP 7.1 to 7.2 to see if it could be related, this was not the case.

Some system info:
user@host:~> lsb_release -drc
Description: Debian GNU/Linux testing (buster)
Release: testing
Codename: buster
user@host:~> dpkg -l php7.2-fpm nginx
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
++±=====================================================-
ii nginx 1.13.12-1 all small, powerful, scalable web/proxy server
ii php7.2-fpm 7.2.4-1+b2 amd64 server-side, HTML-embedded scripting language (FPM-CGI binary)
user@host:~> sudo -u www-data php /home/path/nextcloud/occ status

  • installed: true
  • version: 13.0.5.2
  • versionstring: 13.0.5
  • edition:

user@host:~> sudo -u www-data php /home/path/nextcloud/occ config:list

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "mimer.c0urier.net"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/mimer.c0urier.net",
        "dbtype": "mysql",
        "version": "13.0.5.2",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "debug": true,
        "theme": "nextcloud-breeze-dark",
        "maintenance": false,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "dbindex": 0
        },
        "filelocking.ttl": 3600,+
		
		
        "filelocking.enabled": "true",
        "memcache.distributed": "\\OC\\Memcache\\Memcached",
        "memcached_servers": [
            [
                "localhost",
                11211
            ]
        ],
        "loglevel": 2,
        "mysql.utf8mb4": true
    },
    "apps": {
        "activity": {
            "enabled": "yes",
            "installed_version": "2.6.1",
            "types": "filesystem"
        },
        "admin_notifications": {
            "enabled": "yes",
            "installed_version": "1.0.1",
            "types": "logging"
        },
        "backgroundjob": {
            "lastjob": "1518"
        },
        "bookmarks": {
            "enabled": "yes",
            "installed_version": "0.11.0",
            "types": ""
        },
        "bruteForce": {
            "whitelist_1": "10.2.0.0\/24",
            "whitelist_2": "10.3.0.0\/24",
            "whitelist_3": "10.6.0.0\/24"
        },
        "bruteforcesettings": {
            "enabled": "yes",
            "installed_version": "1.1.0",
            "types": ""
        },
        "calendar": {
            "enabled": "yes",
            "installed_version": "1.6.1",
            "types": ""
        },
        "circles": {
            "enabled": "yes",
            "installed_version": "0.14.1",
            "types": ""
        },
        "comments": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "types": "logging"
        },
        "contacts": {
            "enabled": "yes",
            "installed_version": "2.1.5",
            "types": ""
        },
        "core": {
            "backgroundjobs_mode": "cron",
            "installedat": "1522491707.6391",
            "lastcron": "1533226682",
            "lastupdateResult": "[]",
            "lastupdatedat": "1533225750",
            "moveavatarsdone": "yes",
            "oc.integritycheck.checker": "[]",
            "previewsCleanedUp": "1",
            "public_files": "files_sharing\/public.php",
            "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
            "scss.variables": "4e54116c991c4053703f9da4c8fe3d5f",
            "shareapi_default_expire_date": "no",
            "umgmt_send_email": "false",
            "umgmt_show_backend": "true",
            "umgmt_show_email": "false",
            "umgmt_show_last_login": "true",
            "umgmt_show_storage_location": "true",
            "updater.secret.created": "1532889587",
            "vendor": "nextcloud"
        },
        "dav": {
            "buildCalendarSearchIndex": "yes",
            "enabled": "yes",
            "installed_version": "1.4.7",
            "types": "filesystem"
        },
        "deck": {
            "enabled": "yes",
            "installed_version": "0.4.1",
            "types": ""
        },
        "federatedfilesharing": {
            "enabled": "yes",
            "installed_version": "1.3.1",
            "types": ""
        },
        "federation": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "types": "authentication"
        },
        "files": {
            "cronjob_scan_files": "500",
            "default_quota": "20 GB",
            "enabled": "yes",
            "installed_version": "1.8.0",
            "types": "filesystem"
        },
        "files_antivirus": {
            "av_path": "\/usr\/bin\/clamscan",
            "enabled": "no",
            "installed_version": "1.3.1",
            "types": "filesystem"
        },
        "files_downloadactivity": {
            "enabled": "yes",
            "installed_version": "1.2.0",
            "types": "filesystem"
        },
        "files_pdfviewer": {
            "enabled": "yes",
            "installed_version": "1.2.1",
            "types": ""
        },
        "files_sharing": {
            "enabled": "yes",
            "installed_version": "1.5.0",
            "types": "filesystem"
        },
        "files_texteditor": {
            "enabled": "yes",
            "installed_version": "2.5.1",
            "types": ""
        },
        "files_trashbin": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "types": "filesystem"
        },
        "files_versions": {
            "enabled": "yes",
            "installed_version": "1.6.0",
            "types": "filesystem"
        },
        "files_videoplayer": {
            "enabled": "yes",
            "installed_version": "1.2.0",
            "types": ""
        },
        "firstrunwizard": {
            "enabled": "yes",
            "installed_version": "2.2.1",
            "types": "logging"
        },
        "flowupload": {
            "enabled": "no",
            "installed_version": "0.0.7",
            "types": ""
        },
        "gallery": {
            "enabled": "yes",
            "installed_version": "18.0.0",
            "types": ""
        },
        "logreader": {
            "enabled": "yes",
            "installed_version": "2.0.0",
            "ocsid": "170871",
            "types": ""
        },
        "lookup_server_connector": {
            "enabled": "yes",
            "installed_version": "1.1.0",
            "types": "authentication"
        },
        "mindmaps": {
            "enabled": "yes",
            "installed_version": "0.1.0",
            "types": ""
        },
        "nextcloud_announcements": {
            "enabled": "yes",
            "installed_version": "1.2.0",
            "pub_date": "Sat, 10 Dec 2016 00:00:00 +0100",
            "types": "logging"
        "notes": {
            "enabled": "yes",
            "installed_version": "2.3.2",
            "types": ""
        },
        "notifications": {
            "enabled": "yes",
            "installed_version": "2.1.2",
            "types": "logging"
        },
        "oauth2": {
            "enabled": "yes",
            "installed_version": "1.1.1",
            "types": "authentication"
        },
        "password_policy": {
            "enabled": "yes",
            "enforceHaveIBeenPwned": "1",
            "enforceNumericCharacters": "1",
            "enforceUpperLowerCase": "1",
            "installed_version": "1.3.0",
            "types": ""
        },
        "passwords": {
            "SSEv1ServerKey": "REMOVED",
            "database_version": "1",
            "deleted_users": "[]",
            "enabled": "yes",
            "entity\/purge\/timeout": "31536000",
            "installed_version": "2018.7.0",
            "migration\/hibp": "1",
            "service\/favicon": "fg",
            "service\/preview": "pageres",
            "types": ""
        },
        "previewgenerator": {
            "enabled": "yes",
            "installed_version": "1.1.0",
            "types": "filesystem"
        },
        "provisioning_api": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "types": "prevent_group_restriction"
        },
        "quota_warning": {
            "enabled": "yes",
            "installed_version": "1.2.0",
            "types": "filesystem"
        },
        "richdocuments": {
            "enabled": "yes",
            "installed_version": "2.0.10",
            "types": "prevent_group_restriction",
            "wopi_url": "https:\/\/office.c0urier.net"
        },
        "serverinfo": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "types": ""
        },
        "sharebymail": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "types": "filesystem"
        },
        "socialsharing_email": {
            "enabled": "yes",
            "installed_version": "1.0.3",
            "types": ""
        },
        "socialsharing_facebook": {
            "enabled": "yes",
            "installed_version": "1.0.2",
            "types": ""
        },
        "socialsharing_googleplus": {
            "enabled": "yes",
            "installed_version": "1.0.2",
            "types": ""
        },
        "socialsharing_twitter": {
            "enabled": "yes",
            "installed_version": "1.0.2",
            "types": ""
        },
        "spreed": {
            "enabled": "yes",
            "installed_version": "3.2.5",
            "stun_servers": "[\"stun.nextcloud.com:443\"]",
            "types": "prevent_group_restriction"
        },
        "survey_client": {
            "enabled": "yes",
            "installed_version": "1.1.0",
            "types": ""
        },
        "systemtags": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "types": "logging"
        },
        "tasks": {
            "enabled": "no",
            "installed_version": "0.9.6",
            "types": ""
        },
        "theming": {
            "cachebuster": "2",
            "enabled": "yes",
            "installed_version": "1.4.5",
            "name": "Host - Cloudstorage",
            "types": "logging",
            "url": "https:\/\/mimer.c0urier.net"
        },
        "twofactor_backupcodes": {
            "enabled": "yes",
            "installed_version": "1.2.3",
            "types": ""
        },
        "twofactor_totp": {
            "enabled": "yes",
            "installed_version": "1.4.1",
            "types": ""
        },
        "twofactor_u2f": {
            "enabled": "no",
            "installed_version": "1.5.5",
            "types": ""
        },
        "updatenotification": {
            "bruteforcesettings": "1.1.0",
            "circles": "0.14.1",
            "contacts": "2.1.5",
            "core": "13.0.5.2",
            "deck": "0.4.1",
            "enabled": "yes",
            "files_pdfviewer": "1.2.1",
            "installed_version": "1.3.0",
            "passwords": "2018.7.0",
            "previewgenerator": "1.1.0",
            "richdocuments": "2.0.10",
            "spreed": "3.2.5",
            "theming": "1.4.5",
            "twofactor_u2f": "1.5.5",
            "types": "",
            "update_check_errors": "0"
        },
        "user_usage_report": {
            "enabled": "yes",
            "installed_version": "1.0.1",
            "types": "filesystem"
        },
        "workflowengine": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "types": "filesystem"
        }
    }
}

Any advice would be greatly appreciated.

I had the same problem. I was getting in Firefox console log:

Source map error: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data 
Resource URL: https://...../core/vendor/core.js?v=e5864988-0 
Source Map URL: purify.min.js.map

so I tried to load /purify.min.js.map to see what is wrong.

After just accessing /purify.min.js.map the login page started to work. I think it had to be regenerated in the cache.

Rares