-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Cannot create new users after upgrade #2358
Comments
@asterismo Could you check the web developer tools in your webbrowser when you click the create user button. (Open them and then click the button) There the console and the network tab are of interest. Best would be to send over a screenshot of those two tabs. |
Additionally it would be good to know the Nextcloud version you are using. Thanks! |
its 10.0.1 stable |
No clue... still cannot. |
What else can i provide to try to fix this? |
TypeError: result.responseJSON is undefined |
That happened when clicking the button on developer console |
any other info that i can provide to help solve this problem? |
@asterismo Could I ask you for opening the developer console and click the button. Then check the network tab. There must happen a request when clicking the button. The content of that request would be really nice to have. Maybe took some screenshots of the content of the response and the headers that are send. |
This is from the Net tab in developer console, TypeError: result.responseJSON is undefined This is from the Security tab in developer console, TypeError: result.responseJSON is undefined I'm running Debian 8 Jessie, nginx/1.6.2 and PHP 5.6.28-0+deb8u1 (cli) |
Sorry I meant the details about what request is sent to the server and what the response is (especially HTTP response code and actual response) The errors you wrote are the symptoms of this wrong response |
This is the log i get from access.log in nginx, error.log shows nothing. |
Inoticed a POST XHR line in the browser console with this error POST |
This is indeed interesting. You are using an admin user? Or is this only a group admin? |
I'm the admin user, and on this account i have created the other 2 accounts... its wierd |
@asterismo What apps are enabled? |
Should i try disabling all and then create new user? |
Yes - maybe disable one app after another to see which one is the app that maybe causes this. |
Well, it was the "Password Policy" module causing the problem. I disabled it and i could create accounts. Its wierd because it shows no error, it should prompt some message as a feedback. The module was activated but i had not defined any password policy whatsoever. I'm closing this issue. Thanks @MorrisJobke |
Yeah, i have no feedback whatsoever... so thst is why i had no clue about the error... |
I have this problem, too. |
Hi, i updated next cloud a couple of times and now i cannot create new users using the admin webpage
I get this error in nginx log:
2016/11/27 20:24:45 [error] 1544#0: *4937 FastCGI sent in stderr: "PHP message: {"reqId":"g2Ph8j0eXyEt3XhF5+2A","remoteAddr":"127.0.0.1","app":"core","message":"Login failed: 'admin' (Remote IP: '127.0.0.1')","level":2,"time":"2016-11-27T20:24:45+00:00","method":"POST","url":"/index.php/login","user":"--"}" while reading response header from upstream, client: 127.0.0.1, server: nextcloud.mydomain.com, request: "POST /index.php/login HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "nextcloud.mydomain.com"
I hit the create button and nothing happens. Nothing is logged in nextcloud.log
any ideas? it seems a misconfiuguration of php?
The text was updated successfully, but these errors were encountered: