Problems after Migration/Update to Nextcloud/9.0.52

  • Migrated from ownCloud to Nextcloud 9.0.50
  • After some time could not log in over Web-GUI
  • Updated to 9.0.52

Had this effects:

  • Cannot save anything under “Administration” and “Personal”

  • Cannot open “Activity”

  • Cannot open “Apps”

  • Logged out

  • Cannot login again

  • No relevant loggings

These apps are active:

  • activity: 2.2.1
  • admin_audit: 1.0.0
  • bookmarks: 0.7
  • calendar: 1.2.2
  • comments: 0.2
  • contacts: 1.3.1.0
  • dav: 0.1.6
  • delete_confirmation: 2.0.0
  • documents: 0.12.0
  • external: 1.2
  • federatedfilesharing: 0.1.0
  • federation: 0.0.4
  • files: 1.4.4
  • files_external: 0.5.2
  • files_pdfviewer: 0.8.1
  • files_sharing: 0.9.1
  • files_texteditor: 2.1
  • files_trashbin: 0.8.0
  • files_versions: 1.2.0
  • files_videoplayer: 0.9.8
  • firstrunwizard: 1.1
  • notifications: 0.2.3
  • provisioning_api: 0.4.1
  • systemtags: 0.2
  • templateeditor: 0.1
  • theming: 0.1.0

Rights checked for www-data in data- and nextcloud-folder.

sudo -u www-data ./occ config:list

Summary

{
“system”: {
“updatechecker”: false,
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“secret”: “REMOVED SENSITIVE VALUE”,
“trusted_domains”: [
“localhost”,
“192.168.178.37”,
mynextcloud.selfhost.bz”,
“owncloud”
],
“datadirectory”: “/var/ocdata”,
“overwrite.cli.url”: “https://mynextcloud.selfhost.bz/”,
“dbtype”: “mysql”,
“version”: “9.0.52.0”,
“dbname”: “owncloud_db”,
“dbhost”: “localhost”,
“dbtableprefix”: “oc_”,
“dbuser”: “REMOVED SENSITIVE VALUE”,
“dbpassword”: “REMOVED SENSITIVE VALUE”,
“logtimezone”: “UTC”,
“installed”: true,
“instanceid”: “oc20lsc8addr”,
“appstore.experimental.enabled”: “true”,
“mail_smtpmode”: “smtp”,
“mail_smtpauth”: 1,
“mail_smtpport”: “587”,
“mail_smtphost”: “mail.gmx.net”,
“mail_smtpauthtype”: “PLAIN”,
“mail_from_address”: “mynextcloud”,
“mail_domain”: “gmx.de”,
“mail_smtpsecure”: “tls”,
“mail_smtpname”: “REMOVED SENSITIVE VALUE”,
“mail_smtppassword”: “REMOVED SENSITIVE VALUE”,
“preview_libreoffice_path”: “/usr/bin/libreoffice”,
“memcache.local”: “\OC\Memcache\Redis”,
“filelocking.enabled”: “true”,
“memcache.distributed”: “\OC\Memcache\Redis”,
“memcache.locking”: “\OC\Memcache\Redis”,
“redis”: {
“host”: “/var/run/redis/redis.sock”,
“port”: 0,
“timeout”: 0,
“dbindex”: 0
},
“loglevel”: 0,
“maintenance”: false,
“htaccess.RewriteBase”: “/”,
“singleuser”: false,
“theme”: “”
},
“apps”: {
“activity”: {
“enabled”: “yes”,
“installed_version”: “2.2.1”,
“types”: “filesystem”
},
“admin_audit”: {
“enabled”: “yes”,
“installed_version”: “1.0.0”,
“types”: “logging”
},
“announcementcenter”: {
“enabled”: “no”,
“installed_version”: “1.1.2”,
“ocsid”: “173921”,
“signed”: “true”,
“types”: “”
},
“audios”: {
“enabled”: “no”,
“installed_version”: “1.2.5”,
“ocsid”: “170562”,
“types”: “”
},
“backgroundjob”: {
“lastjob”: “2”
},
“bookmarks”: {
“enabled”: “yes”,
“installed_version”: “0.7”,
“ocsid”: “168710”,
“types”: “”
},
“calendar”: {
“enabled”: “yes”,
“installed_version”: “1.2.2”,
“ocsid”: “168707”,
“types”: “”
},
“comments”: {
“enabled”: “yes”,
“installed_version”: “0.2”,
“types”: “logging”
},
“contacts”: {
“enabled”: “yes”,
“installed_version”: “1.3.1.0”,
“ocsid”: “168708”,
“types”: “”
},
“core”: {
“backgroundjobs_mode”: “cron”,
“installedat”: “1462031795.8748”,
“lastcron”: “1468650602”,
“lastupdatedat”: “0”,
“oc.integritycheck.checker”: “[]”,
“public_documents”: “documents/public.php”,
“public_files”: “files_sharing/public.php”,
“public_webdav”: “dav/appinfo/v1/publicwebdav.php”,
“remote_caldav”: “dav/appinfo/v1/caldav.php”,
“remote_calendar”: “dav/appinfo/v1/caldav.php”,
“remote_carddav”: “dav/appinfo/v1/carddav.php”,
“remote_contacts”: “dav/appinfo/v1/carddav.php”,
“remote_dav”: “dav/appinfo/v2/remote.php”,
“remote_files”: “dav/appinfo/v1/webdav.php”,
“remote_webdav”: “dav/appinfo/v1/webdav.php”,
“repairlegacystoragesdone”: “yes”,
“shareapi_allow_mail_notification”: “yes”,
“shareapi_allow_public_notification”: “yes”,
“shareapi_default_expire_date”: “yes”,
“shareapi_exclude_groups”: “no”,
“shareapi_exclude_groups_list”: “[”"]",
“shareapi_only_share_with_group_members”: “yes”,
“umgmt_send_email”: “true”,
“umgmt_show_backend”: “false”,
“umgmt_show_email”: “true”,
“umgmt_show_last_login”: “true”,
“umgmt_show_storage_location”: “false”
},
“dav”: {
“enabled”: “yes”,
“installed_version”: “0.1.6”,
“types”: “filesystem”
},
“delete_confirmation”: {
“enabled”: “yes”,
“installed_version”: “2.0.0”,
“types”: “”
},
“documents”: {
“converter”: “local”,
“enabled”: “yes”,
“installed_version”: “0.12.0”,
“ocsid”: “168711”,
“types”: “”
},
“external”: {
“enabled”: “yes”,
“installed_version”: “1.2”,
“ocsid”: “166046”,
“sites”: “[[“mynextcloud live”,“https:\/\/slashcam.doubleslash.de\/”,“external.svg”],[“Telegram Bots”,“https:\/\/storebot.me\/”,“external.svg”],[“Spitalkeller”,“https:\/\/cdn.website-start.de\/proxy\/apps\/ilai8i\/uploads\/gleichzwei\/instances\/DC22D7A5-2EB9-4D60-8DA8-D65D90A4E7AF\/wcinstances\/epaper\/04894415-c959-4bdd-ad8e-740fed34b3d0\/pdf\/Speisekarte_Spitalkeller_V10.pdf”,“external.svg”]]”,
“types”: “”
},
“federatedfilesharing”: {
“enabled”: “yes”,
“installed_version”: “0.1.0”,
“types”: “”
},
“federation”: {
“enabled”: “yes”,
“installed_version”: “0.0.4”,
“types”: “authentication”
},
“files”: {
“cronjob_scan_files”: “500”,
“default_quota”: “10 GB”,
“enabled”: “yes”,
“installed_version”: “1.4.4”,
“types”: “filesystem”
},
“files_external”: {
“allow_user_mounting”: “yes”,
“enabled”: “yes”,
“installed_version”: “0.5.2”,
“ocsid”: “166048”,
“types”: “filesystem”,
“user_mounting_backends”: “ftp,dav,owncloud,sftp,amazons3,dropbox,googledrive,swift,smb,\OC\Files\Storage\SFTP_Key,\OC\Files\Storage\SMB_OC”
},
“files_mv”: {
“enabled”: “no”,
“installed_version”: “0.8.2”,
“ocsid”: “150271”,
“types”: “filesystem”
},
“files_pdfviewer”: {
“enabled”: “yes”,
“installed_version”: “0.8.1”,
“ocsid”: “166049”,
“types”: “”
},
“files_sharing”: {
“enabled”: “yes”,
“installed_version”: “0.9.1”,
“types”: “filesystem”
},
“files_texteditor”: {
“enabled”: “yes”,
“installed_version”: “2.1”,
“ocsid”: “166051”,
“types”: “”
},
“files_trashbin”: {
“enabled”: “yes”,
“installed_version”: “0.8.0”,
“types”: “filesystem”
},
“files_versions”: {
“enabled”: “yes”,
“installed_version”: “1.2.0”,
“types”: “filesystem”
},
“files_videoplayer”: {
“enabled”: “yes”,
“installed_version”: “0.9.8”,
“types”: “”
},
“firstrunwizard”: {
“enabled”: “yes”,
“installed_version”: “1.1”,
“ocsid”: “166055”,
“types”: “”
},
“gallery”: {
“enabled”: “no”,
“installed_version”: “14.5.0”,
“types”: “”
},
“galleryplus”: {
“enabled”: “no”,
“installed_version”: “0”,
“ocsid”: “169116”,
“types”: “”
},
“mail”: {
“enabled”: “no”,
“installed_version”: “0.5.2”,
“ocsid”: “169914”,
“signed”: “true”,
“types”: “”
},
“music”: {
“enabled”: “no”,
“installed_version”: “0.3.11”,
“ocsid”: “164319”,
“types”: “filesystem”
},
“news”: {
“enabled”: “no”,
“installed_version”: “8.8.0”,
“ocsid”: “168040”,
“types”: “”
},
“notes”: {
“enabled”: “no”,
“installed_version”: “2.0.1”,
“ocsid”: “174554”,
“types”: “”
},
“notifications”: {
“enabled”: “yes”,
“installed_version”: “0.2.3”,
“types”: “logging”
},
“ownnote”: {
“enabled”: “no”,
“folder”: “ownNote”,
“installed_version”: “1.08”,
“ocsid”: “168512”,
“types”: “”
},
“password_policy”: {
“enabled”: “no”,
“installed_version”: “1.0.0”,
“types”: “”
},
“provisioning_api”: {
“enabled”: “yes”,
“installed_version”: “0.4.1”,
“types”: “prevent_group_restriction”
},
“shorten”: {
“enabled”: “no”,
“installed_version”: “0.0.15”,
“type”: “internal”,
“types”: “filesystem”
},
“spreedme”: {
“enabled”: “no”,
“installed_version”: “0”,
“ocsid”: “174436”,
“types”: “”
},
“systemtags”: {
“enabled”: “yes”,
“installed_version”: “0.2”,
“types”: “logging”
},
“tasks”: {
“enabled”: “no”,
“installed_version”: “0.9.1”,
“ocsid”: “164356”,
“types”: “”
},
“templateeditor”: {
“enabled”: “yes”,
“installed_version”: “0.1”,
“types”: “”
},
“theming”: {
“enabled”: “yes”,
“installed_version”: “0.1.0”,
“types”: “”
},
“updatenotification”: {
“enabled”: “no”,
“installed_version”: “0.1.0”,
“types”: “”
},
“weather”: {
“enabled”: “no”,
“installed_version”: “1.3.3”,
“ocsid”: “170605”,
“types”: “”
}
}
}

sudo -u www-data ./occ maintenance:repair -vvv

Summary
  • Repair mime types
  • Repair legacy storages
  • Clear asset cache after upgrade
    • Asset pipeline disabled -> nothing to do
  • Generate ETags for file where no ETag is present.
    • ETags have been fixed for 0 files/folders.
  • Clean tags and favorites
    • 0 tags for delete files have been removed.
    • 0 tag entries for deleted tags have been removed.
    • 0 tags with no entries have been removed.
  • Drop old database tables
  • Drop old background jobs
  • Remove getetag entries in properties table
    • Removed 0 unneeded “{DAV:}getetag” entries from properties table.
  • Repair outdated OCS IDs
  • Repair invalid shares
  • Fix permissions so avatars can be stored again
  • Moves the stored release channel to the config file

owncloud.log

[details=Summary]{“reqId”:“3YpdzML2FsUbGRVkAqcP”,“remoteAddr”:“52.71.155.179”,“app”:“no app in context”,“message”:“Current user is not logged in”,“level”:0,“time”:“2016-07-17T09:16:25+00:00”,“method”:“GET”,“url”:"/settings/apps",“user”:"–"}
{“reqId”:“ASszT32j1C2pRONESfFU”,“remoteAddr”:“52.71.155.179”,“app”:“no app in context”,“message”:“Current user is not logged in”,“level”:0,“time”:“2016-07-17T09:16:27+00:00”,“method”:“GET”,“url”:"/apps/files/",“user”:"–"}
{“reqId”:“hU6mfjuwwYmwhXCdAjh2”,“remoteAddr”:“52.71.155.179”,“app”:“no app in context”,“message”:“Current user is not logged in”,“level”:0,“time”:“2016-07-17T09:17:33+00:00”,“method”:“GET”,“url”:"/apps/files/",“user”:"–"}
{“reqId”:“CsJ3vzbt5KO6qCFZswUh”,“remoteAddr”:“52.71.155.179”,“app”:“no app in context”,“message”:“Current user is not logged in”,“level”:0,“time”:“2016-07-17T09:17:46+00:00”,“method”:“GET”,“url”:"/settings/apps",“user”:"–"}
{“reqId”:“MI9HeZBQW0axEEQCIJCg”,“remoteAddr”:“52.71.155.179”,“app”:“no app in context”,“message”:“Current user is not logged in”,“level”:0,“time”:“2016-07-17T09:20:38+00:00”,“method”:“GET”,“url”:"/settings/apps",“user”:"–"}
{“reqId”:“YiiH+zCHDF4IRKQEuFuU”,“remoteAddr”:“52.71.155.179”,“app”:“no app in context”,“message”:“Current user is not logged in”,“level”:0,“time”:“2016-07-17T09:21:00+00:00”,“method”:“GET”,“url”:"/apps/activity/",“user”:"–"}
{“reqId”:“9LWq9Q4H8bpon+5yXhOz”,“remoteAddr”:“52.71.155.179”,“app”:“no app in context”,“message”:“Current user is not logged in”,“level”:0,“time”:“2016-07-17T09:30:19+00:00”,“method”:“GET”,“url”:"/settings/apps",“user”:"–"}
{“reqId”:“Pvi6c2AWziTDB8fMC4aE”,“remoteAddr”:“52.71.155.179”,“app”:“no app in context”,“message”:“Current user is not logged in”,“level”:0,“time”:“2016-07-17T09:33:34+00:00”,“method”:“GET”,“url”:"/apps/activity/",“user”:"–"}
[/details]

What does your web server log say? /var/log/http or apache or apache2, depending on your distro and setup, likely error.log or something like it.

moved this post to category support

Apache logs:

  • /var/log/apache2/access.log
  • /var/log/apache2/error.log
    Nothing!

Made update to Nextcloud 9.0.53 with this result:

Updating Nextcloud to version 9.0.53, this may take a while.

Preparing update
Set log level to debug
Turned on maintenance mode
Checking whether the database schema can be updated (this can take a long time depending on the database size)
Checked database schema update
Checking updates of apps
Checked database schema update for apps
Updating database schema
Updated database
Starting code integrity check
Finished code integrity check
Turned off maintenance mode
Reset log level
Following apps have been disabled: bookmarks (3rdparty), calendar (3rdparty), contacts (3rdparty), delete_confirmation (3rdparty), documents (3rdparty)

The update was successful. There were warnings.
Please reload the page.

Now I can login again! :slight_smile:

Now I will enable app by app …