-
Notifications
You must be signed in to change notification settings - Fork 2.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
Can't create user #739
Comments
i have the same problem. When i create a user a popup apperas with the message "cant create user. User already exists" there are no errors listed in the owncloud log file and no ones at the apache error log. i am using owncloud 4.5.4 |
What do the user names look like? |
for example: |
Any error in the browser's javascript console? |
I fixed it! Deben Oldert 4V3 Verstuurt vanaf mijn iPhone! Op 18 dec. 2012 om 10:48 heeft Thomas Müller [email protected] het volgende geschreven:
|
i am using Windows7 and Ubuntu entry at java script console (i changed ip adress to 000): i dont want to reinstall my owncloud or OS... |
@ako84 can you please post the request and the response of that POST? THX |
X-Requested-With:XMLHttpRequestUser-Agent:Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20100101 Firefox/17.0requesttoken:4aa13a8722a784e20448Referer:https://00.000.00.000/owncloud/settings/users.phpPragma:no-cacheHost:00.000.00.000Content-Type:application/x-www-form-urlencoded; charset=UTF-8Content-Length:28Connection:keep-aliveCache-Control:no-cacheAccept-Language:de-de,de;q=0.8,en-us;q=0.5,en;q=0.3Accept-Encoding:gzip, deflateAccept:/
X-Powered-By:PHP/5.4.6-1ubuntu1X-Content-Type-Options:nosniffServer:Apache/2.2.22 (Ubuntu)Pragma:no-cacheKeep-Alive:timeout=5, max=100Expires:Thu, 19 Nov 1981 08:52:00 GMTDate:Tue, 18 Dec 2012 10:27:47 GMTContent-Type:application/jsonContent-Length:59Connection:Keep-AliveCache-Control:no-store, no-cache, must-revalidate, post-check=0, pre-check=0 |
@ako84 THX a lot! Can you paste the content as well? I'd like to see the json going back and forth. THX |
how do i get the content? |
with chrome it is possible - no idea about ff |
hm...sure? i could only see contents at warnings and errors... how do you get the content at chrome? |
In Chrome press F12 to get to Developer tools. Select the Network tab, try to create a user and then click on the entry for createuser.php |
ok i installed chrome i have two path to select: createuser.php (i changed the host IP to 00.000...for safety): Preview: Response: CopyAll as HAR: { delete.png(i changed the host IP to 00.000...for safety: { |
one more info: it seems, i configurated my owncloud using SQLite not MySQL during install. I opened owncloud.db from the data directory. The database contains only the 20 existing users. |
I have the same problem. I recently updated my install from 4.5.3 to 4.5.4 following the procedure on owncloud's site. Before hitting the URL again I copied back the config.php file and everything instantly worked. I was able to add users. Now, all of a sudden, I can no longer add users with the same error as the OP. I am using MySQL as the backend and have 23 users. I've read that people have deleted config.php and let owncloud regenerate it, but I'm afraid of doing that in case it tries to wipe my data dir (which contains TBs of data) or wipe my user accounts. If someone can guarantee that deleting config.php and re-setting up owncloud will not destroy any existing data I'll do that and see if it helps. |
hi i deleted config.php and regenerated it. After that, a white screen appears if i logged in... Befor updating my owncloud from 4.5.3 to 4.5.4 adding new users works fine... |
As stated in #1209 already: This is most probably a problem with an authentication app (e.g. webdavauth) being enabled - when the user backend can't search for a user (only authenticate it), these apps return "exists" for every username, therefore preventing creation - what would be nice would be a more fitting message (e.g. "User backend xyz prevents creation of new users"). |
@DeepDiver1975 Is this fixed with you latest changes? |
no, i still cant create users. Only directly in the MySQL database... EDIT: i can create users, if webdav user backend is disabled! (like RandolfCarter wrote above) |
no yet - blocked by another pr at the moment |
@DebenOldert @ako84 Does this problem persist with the latest 4.5.7? THX |
yes, the problem still persists. But only with enabled webdav user backend. |
Okay - this is an acceptable solution to the issue. THX a lot! |
Looks like this bug is back on 6.0.3. I have enabled IMAP logins using the following code in config.php. It's pretty clear that this is replacing rather than augmenting the user backend. Is there a way to use both backends?
|
When i try to add an user i get an popup that says: can't create user. User already exist.
But the user doesn't exist.
The text was updated successfully, but these errors were encountered: