[Bug]: BadFunctionCallException: token is not a valid attribute during the upgrade of nexcloud 20.0.14
⚠️ This issue respects the following points: ⚠️
- [X] This is a bug, not a question or a configuration/webserver/proxy issue.
- [X] This issue is not already reported on Github (I've searched it).
- [X] Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- [X] Nextcloud Server is running on 64bit capable CPU, PHP and OS.
- [X] I agree to follow Nextcloud's Code of Conduct.
Bug description
When try owncloud migration to nexcloud using the manual upgrade method. I get this error BadFunctionCallException: token is not a valid attribute on nextcloud 20.0.14
Steps to reproduce
1.sudo -u www-data php occ upgrade 2. 3.
Expected behavior
i expect it to successfully upgrade to the latest version.
Installation method
Community Manual installation with Archive
Operating system
Debian/Ubuntu
PHP engine version
PHP 7.4
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
- [ ] Default user-backend (database)
- [X] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
Configuration report
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"logfile": "\/var\/log\/apache2\/nextcloud.log",
"dbtype": "mysql",
"version": "10.5.0.10",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"ldapIgnoreNamingRules": false,
"theme": "",
"maintenance": true,
"forcessl": true,
"token_auth_enforced": false,
"token_auth_activity_update": 60,
"updatechecker": true,
"updater.server.url": "https:\/\/updates.nextcloud.com\/updater_server\/",
"updater.release.channel": "stable",
"trusted_domains": [
"cloud.ucu.ac.ug",
"cloud-test.ucu.ac.ug"
],
"0": [],
"secret": "***REMOVED SENSITIVE VALUE***",
"share_folder": "\/Shared",
"mail_smtpmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25",
"loglevel": 3,
"appstore.experimental.enabled": false,
"trashbin_retention_obligation": "auto",
"appstoreurl": "https:\/\/apps.nextcloud.com\/api\/v1",
"filelocking.enabled": true,
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379,
"timeout": 0,
"password": "***REMOVED SENSITIVE VALUE***"
},
"singleuser": false,
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_smtpsecure": "ssl",
"onlyoffice": {
"verify_peer_off": true,
"jwt_header": "AuthorizationJwt"
}
}
}
List of activated Apps
Enabled:
- cloud_federation_api: true
- comments: 0.3.0
- dav: 0.6.0
- federatedfilesharing: 0.5.0
- federation: 1.10.1
- files: 1.5.2
- files_external: 0.7.1
- files_pdfviewer: 0.11.1
- files_sharing: 0.13.0
- files_trashbin: 0.9.1
- files_versions: 1.3.0
- files_videoplayer: 0.10.1
- firstrunwizard: 1.2.0
- lookup_server_connector: true
- notifications: 0.5.2
- oauth2: 0.4.3
- provisioning_api: 0.5.0
- settings: true
- systemtags: 0.3.0
- twofactor_backupcodes: true
- user_ldap: 0.15.2
- viewer: true
- workflowengine: true
Disabled:
- accessibility
- activity
- admin_audit
- calendar
- contactsinteraction
- dashboard
- encryption
- files_rightclick
- logreader
- nextcloud_announcements
- password_policy
- photos
- privacy
- recommendations
- serverinfo
- sharebymail
- support
- survey_client
- text
- theming
- updatenotification
- user_status
- weather_status
Nextcloud Signing status
I am not able to login at the moment because the upgrade has failed.
Nextcloud Logs
No response
Additional info
No response
Hi, since Nextcloud 20 is not supported anymore, you should probably rather try to upgrade to owncloud 10.11 and afterwards to Nextcloud 25.0.2
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.