6.0a Can not create new user - The username is already being used
After the update to oc 6.0a I am not abel to create new users.
The message is: "Beim Erstellen des Benutzers ist ein Fehler aufgetreten The username is already being used"
Can you create a full bug report as described here? https://github.com/owncloud/core/blob/master/CONTRIBUTING.md
@mat-l I had a similar problem: I wanted to install the new 6.0.0 version of ownCloud (using the same database). On the installation page I entered the admin username which was used for the previous 5.0.x installation, the ownCloud installer then responded that the "Admin" user is already assigned and refused to upgrade.
I was puzzled and decided then to delete the database of the previous 5.0.x installation (which was possible for me, because the previous installation was only a test installation).
Wait, you should not set "installed" to false when upgrading and also should not re-run the setup script with an existing install. This is only intended for a brand new install.
To upgrade you should remove all folders except config and data, then extract the new version, then open the index.php page. That would run the upgrade.
Hi, I installed a fresh 6a OC version and I face the same problem : I can't create a new user (at the moment there is just admin) I get the message : The username is already being used
again. We can't help here without a full bug report as described here: https://github.com/owncloud/core/blob/master/CONTRIBUTING.md
Sorry, was out of time. That's why I am writing so late.
owncloud Log: Debug core Adding default user backend WEBDAVAUTH. 2013-12-28T13:53:08+00:00 Debug core include path for class "OC_INT_MESSAGES" starts with "apps/" 2013-12-28T13:53:08+00:00 Debug core include path for class "OC_INT_MESSAGES" starts with "apps/" 2013-12-28T13:53:08+00:00 Debug core Adding default user backend WEBDAVAUTH. 2013-12-28T13:53:09+00:00 Debug core include path for class "OC_INT_MESSAGES" starts with "apps/" 2013-12-28T13:53:09+00:00 Debug core Adding default user backend WEBDAVAUTH. 2013-12-28T13:53:09+00:00 Debug core include path for class "OC_INT_MESSAGES" starts with "apps/" 2013-12-28T13:53:09+00:00 Debug core Adding default user backend WEBDAVAUTH. 2013-12-28T13:53:09+00:00 Debug core include path for class "OC_INT_MESSAGES" starts with "apps/" 2013-12-28T13:53:09+00:00 Debug core Adding default user backend WEBDAVAUTH. 2013-12-28T13:53:09+00:00 Debug core include path for class "OC_INT_MESSAGES" starts with "apps/" 2013-12-28T13:53:09+00:00 Debug core Adding default user backend WEBDAVAUTH. 2013-12-28T13:53:09+00:00 Debug core include path for class "OC_INT_MESSAGES" starts with "apps/" 2013-12-28T13:53:08+00:00 Debug core Adding default user backend WEBDAVAUTH. 2013-12-28T13:53:09+00:00 Debug core include path for class "OC_INT_MESSAGES" starts with "apps/" 2013-12-28T13:53:08+00:00 Debug core Adding default user backend WEBDAVAUTH. 2013-12-28T13:53:08+00:00 Debug core include path for class "OC_INT_MESSAGES" starts with "apps/" 2013-12-28T13:53:08+00:00 Debug core Adding default user backend WEBDAVAUTH. 2013-12-28T13:53:08+00:00 Debug core include path for class "OC_INT_MESSAGES" starts with "apps/" 2013-12-28T13:53:08+00:00 Debug core Adding default user backend WEBDAVAUTH. 2013-12-28T13:53:08+00:00 Debug core Adding default user backend WEBDAVAUTH. 2013-12-28T13:53:08+00:00 Debug core Adding default user backend WEBDAVAUTH. 2013-12-28T13:53:08+00:00 Debug core include path for class "OC_INT_MESSAGES" starts with "apps/" 2013-12-28T13:53:08+00:00 Debug core Adding default user backend WEBDAVAUTH. 2013-12-28T13:53:08+00:00
/.../apache2/access.log:
_..**._ - - [28/Dec/2013:14:41:34 +0100] "GET /index.php/settings/ajax/userlist?offset=30&limit=10 HTTP/1.1" 200 446 "http://****.de/index.php/settings/users" "Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0"
/.../apache2/error.log: [Sat Dec 28 14:38:30 2013] [error] [client 127.0.0.1] client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt [Sat Dec 28 14:41:18 2013] [error] [client 212.201.31.80] Negotiation: discovered file(s) matching request: /var/www/owncloud/settings/users (None could be negotiated)., referer: http://_.de/ [Sat Dec 28 14:41:34 2013] [error] [client 212.201.31.80] Negotiation: discovered file(s) matching request: /var/www/owncloud/settings/ajax/userlist (None could be negotiated)., referer: http://__.de/index.php/settings/users [Sat Dec 28 14:41:35 2013] [error] [client 212.201.31.80] Negotiation: discovered file(s) matching request: /var/www/owncloud/settings/ajax/userlist (None could be negotiated)., referer: http://_**.de/index.php/settings/users
Oh hmm think I found a problem.
There is a problem with the app "WebDAV user backend1.1.0.0". If I deactivate the app "WebDAV user backend1.1.0.0" the problem is solved and I can create new users in the admin panel.
It is also possible to replicate the problem. Activating "WebDAV user backend1.1.0.0" gives me again the error message: "Beim Erstellen des Benutzers ist ein Fehler aufgetreten The username is already being used"
maybe you can move the issue to /owncloud/apps. Thanks.
@cedrik72 @Wikinaut seem to have used an existing database but tried to re-run the setup. In which case the installed needs to be left on true.
As for the original poster @mat-l it seems to be related to the WebDAV user backend app.
Not sure who maintains this app ? @karlitschek any idea ?
@mat-l can I ask you to create an issue in "owncloud/apps" (moving issues isn't possible AFAIK) and then link back to this one for details ? Thanks.
Think I will not reopen an new issue, because the problem is solved.
@mat-l thanks for the feedback. Glad to hear that it works now.
As a workaround until it is fixed, you can disable WebDAV, add the user and then enable WebDAV again.
Question: How do I disable the WebDAV App in Owncloud?
To see which applications are enabled, click on Apps button on the web interface navigation. on the left side at the very bottom, to go into applications page.
seems to be fixed.
I have the same problem with owncloud 6.0.3. I could not create users with the WebDAV user backend1.1.0.0 enabled. I as soon as I disabled the app, I was able to add users.
i have oc 7.0.4 and the problem persist, install again 8.0.0 and problem persists, why i must have disabled the webdav app, so if the app are internal and enabled by default!?