-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
Steps to reproduce
- create an empty mysql 8.0.15 database
- run occ db:convert-type
Expected behaviour
converted mysql database
Actual behaviour
conversion fails on oc_authtoken
An exception occurred while executing 'INSERT INTO oc_authtoken (id, uid, login_name, password, name, token, type, remember, last_activity, last_check, scope, expires, private_key, public_key, version, password_invalid) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [33, "...", "...", "...", 2, false]:
SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'password_invalid' at row 1
I guess it is trying to insert false value into mysql tinyint column, false should be translated to 0b0, true to 0b1 for the statement to be correct
Server configuration
Operating system: centos7
Web server: apache
Database: postgres
PHP version: 7.2.10
Nextcloud version: (see Nextcloud admin page) 15.0.5
Updated from an older Nextcloud/ownCloud or fresh install: updated from 13
Where did you install Nextcloud from: nextcloud web site
Signing status: No errors have been found.
List of activated apps:
Enabled:
- accessibility: 1.1.0
- activity: 2.8.2
- calendar: 1.6.4
- cloud_federation_api: 0.1.0
- comments: 1.5.0
- contacts: 3.0.5
- dav: 1.8.1
- federatedfilesharing: 1.5.0
- federation: 1.5.0
- files: 1.10.0
- files_pdfviewer: 1.4.0
- files_sharing: 1.7.0
- files_texteditor: 2.7.0
- files_trashbin: 1.5.0
- files_versions: 1.8.0
- files_videoplayer: 1.4.0
- firstrunwizard: 2.4.0
- gallery: 18.2.0
- groupfolders: 2.0.4
- logreader: 2.0.0
- lookup_server_connector: 1.3.0
- nextcloud_announcements: 1.4.0
- notifications: 2.3.0
- oauth2: 1.3.0
- password_policy: 1.5.0
- provisioning_api: 1.5.0
- serverinfo: 1.5.0
- sharebymail: 1.5.0
- support: 1.0.0
- survey_client: 1.3.0
- systemtags: 1.5.0
- theming: 1.6.0
- twofactor_backupcodes: 1.4.1
- updatenotification: 1.5.0
- user_ldap: 1.5.0
- workflowengine: 1.5.0
Disabled:
- admin_audit
- encryption
- files_external
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: openldap