Skip to content

TypeConflictException in logs #347

@Pimmie32

Description

@Pimmie32

Which version of integration_google are you using?

4.3.0

Which version of Nextcloud are you using?

32.0.5

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

No response

Describe the Bug

When i start the import the log gives me this error. Also the import will start but extremly slow. I'm 2 days in and still at 1%.

{"reqId":"cscUcqvYi1UtqJLbCUJk","level":3,"time":"2026-02-16T09:41:27+00:00","remoteAddr":"172.16.1.1","user":"PimH","app":"index","method":"PUT","url":"/apps/integration_google/config","scriptName":"/index.php","message":"conflict with value type from database","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36","version":"32.0.5.0","exception":{"Exception":"OCP\\Config\\Exceptions\\TypeConflictException","Message":"conflict with value type from database","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Config/UserConfig.php","line":1131,"function":"getTypedValue","class":"OC\\Config\\UserConfig","type":"->","args":["PimH","integration_google","last_drive_import_timestamp","0",true,{"__class__":"OCP\\Config\\ValueType","name":"STRING","value":1}]},{"file":"/var/www/html/lib/private/Config/UserConfig.php","line":911,"function":"setTypedValue","class":"OC\\Config\\UserConfig","type":"->","args":["PimH","integration_google","last_drive_import_timestamp","0",true,0,{"__class__":"OCP\\Config\\ValueType","name":"STRING","value":1}]},{"file":"/var/www/html/custom_apps/integration_google/lib/Controller/ConfigController.php","line":75,"function":"setValueString","class":"OC\\Config\\UserConfig","type":"->","args":["PimH","integration_google","last_drive_import_timestamp","0",true]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":204,"function":"setConfig","class":"OCA\\Google\\Controller\\ConfigController","type":"->","args":[{"importing_drive":"0","last_drive_import_timestamp":"0","nb_imported_files":"0","drive_imported_size":"0"}]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":118,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Google\\Controller\\ConfigController"},"setConfig"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Google\\Controller\\ConfigController"},"setConfig"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Google\\Controller\\ConfigController","setConfig",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"integration_google.config.setconfig"}]},{"file":"/var/www/html/lib/base.php","line":1061,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/integration_google/config"]},{"file":"/var/www/html/index.php","line":25,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Config/UserConfig.php","Line":766,"message":"conflict with value type from database","exception":[],"CustomMessage":"conflict with value type from database"},"id":"6992e8c4383c5"}

Also there is a Warning conflict with value type from database:
'{"reqId":"cscUcqvYi1UtqJLbCUJk","level":2,"time":"2026-02-16T09:41:27+00:00","remoteAddr":"172.16.1.1","user":"PimH","app":"integration_google","method":"PUT","url":"/apps/integration_google/config","scriptName":"/index.php","message":"conflict with value type from database","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36","version":"32.0.5.0","data":{"app":"integration_google","key":"last_drive_import_timestamp","type":"{"[object] (OCP\Config\ValueType)":{"name":"STRING","value":1}}","knownType":"{"[object] (OCP\Config\ValueType)":{"name":"INT","value":2}}"},"id":"6992e8c4383ce"}'

Expected Behavior

no errors

To Reproduce

Just start the import then this appears

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions