Hi all,
some users cannot change there default profile language.
No default language is configured from admin.
The Basics
- Nextcloud Server version (e.g., 29.x.x):
31.0.12
- Operating system and version (e.g., Ubuntu 24.04):
officialy nextcloud Docker container
- Web server and version (e.g, Apache 2.4.25):
officialy nextcloud Docker container
- Reverse proxy and version _(e.g. nginx 1.27.2)
nginx proxy manaer
- PHP version (e.g, 8.3):
replace me
- Is this the first time you’ve seen this error? (Yes / No):
officialy nextcloud Docker container
- When did this problem seem to first start?
5.01.2026
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
docker
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
nothing like that
Summary of the issue you are facing:
User cannot change the language within there profiles.
Error message: “unable to update language“
Steps to replicate it (hint: details matter!):
-
go to profile
-
change the language
Log entries
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.
{"reqId":"Y0HYUFM8UReDDxE8S5LM","level":3,"time":"2026-01-05T14:48:14+00:00","remoteAddr":"172.25.26.5","user":"--RWM--","app":"no app in context","method":"PUT","url":"/ocs/v2.php/cloud/users/--RWM--","message":"conflict between new type (mixed) and old type (string)","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36","version":"31.0.11.2","exception":{"Exception":"NCU\\Config\\Exceptions\\TypeConflictException","Message":"conflict between new type (mixed) and old type (string)","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Config/UserConfig.php","line":843,"function":"setTypedValue","class":"OC\\Config\\UserConfig","type":"->","args":["--RWM--","core","lang","de",false,0,{"__class__":"NCU\\Config\\ValueType","name":"MIXED","value":0}]},{"file":"/var/www/html/lib/private/AllConfig.php","line":256,"function":"setValueMixed","class":"OC\\Config\\UserConfig","type":"->","args":["--RWM--","core","lang","de"]},{"file":"/var/www/html/apps/provisioning_api/lib/Controller/UsersController.php","line":1113,"function":"setUserValue","class":"OC\\AllConfig","type":"->","args":["--RWM--","core","lang","de"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":200,"function":"editUser","class":"OCA\\Provisioning_API\\Controller\\UsersController","type":"->","args":["--RWM--","language","de"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Provisioning_API\\Controller\\UsersController"},"editUser"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Provisioning_API\\Controller\\UsersController"},"editUser"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Provisioning_API\\Controller\\UsersController","editUser",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"userId":"--RWM--","_route":"ocs.provisioning_api.users.edituser"}]},{"file":"/var/www/html/ocs/v1.php","line":49,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/cloud/users/--RWM--"]},{"file":"/var/www/html/ocs/v2.php","line":7,"args":["/var/www/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Config/UserConfig.php","Line":1167,"message":"conflict between new type (mixed) and old type (string)","exception":[],"CustomMessage":"conflict between new type (mixed) and old type (string)"},"id":"695bcf9c51e34"}
Thanks a lot
chris

