-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nc v12.0.1 - Not possible to change the language of an user #6617
Comments
It seems there were changes between 12.0.0 and 12.0.1. In 12.0.0, it was a POST request I also checked with curl:
|
In the meantime, I really need to change the language of users because the calendars show the dates in the wrong format. Can I just change a value in the db for each user and that will be enough to activate everything needed? |
Yes, that should work. The error you are seeing above seems to point to an authentication error. $ curl -k -v https://nextcloud13.local/ocs/v2.php/cloud/users/admin -d key=language -d value=sv -u admin:admin -H 'OCS-APIRequest: true' -X PUT
< HTTP/1.1 200 OK
< Date: Mon, 25 Sep 2017 14:41:11 GMT
< Server: Apache/2.4.27 (Ubuntu)
<?xml version="1.0"?>
<ocs>
<meta>
<status>ok</status>
<statuscode>200</statuscode>
<message>OK</message>
</meta>
<data/>
</ocs> |
I didn't know the curl command and more or less copied from another post/
and the answer is:
You say you need more infos. |
Well 997 means the user trying to perform the request is invalid or the password is wrong |
I'm sorry, but my login / passwd are good I have the same problem when I try to change from inside the web interface, and if I'm there, it means I'm logged correctly. |
But I just discovered that v12.0.3 doesn't have the problem. I can change the language. Thanks a lot for having taken the time to help me. |
Steps to reproduce
Expected behaviour
UI in the new selected language
Actual behaviour
Page reload with Ui in the same language
Server configuration
Operating system:
Nextcloud version: (see Nextcloud admin page)
&
Updated from an older Nextcloud/ownCloud or fresh install:
Both
Where did you install Nextcloud from:
Nextcloud v12.0.0 => deb [arch=amd64] https://repo.morph027.de/nextcloud jessie
Nextcloud v12.0.1 => deb http://apt.jurisic.org/debian/ stretch
Signing status:
Signing status
List of activated apps:
App list
Nextcloud v12.0.0:
Nextcloud v12.0.1:
PS: I tried also to disable all the apps
Nextcloud configuration:
Config report
Nextcloud v12.0.0:
Nextcloud v12.0.1:
Are you using external storage, if yes which one: local/smb/sftp/...
No
Are you using encryption: yes/no
No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
No
Logs
Web server error log
Web server error log
Nextcloud 12.0.0
Nextcloud v12.0.1:
Nextcloud log (data/nextcloud.log)
Nextcloud log
Nothing
Browser log
Browser log
Nextcloud 12.0.0
Nextcloud 12.0.1:
The text was updated successfully, but these errors were encountered: