Skip to content
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

Addressbook can not be created #4262

Closed
ghost opened this issue Apr 9, 2017 · 9 comments
Closed

Addressbook can not be created #4262

ghost opened this issue Apr 9, 2017 · 9 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap feature: dav needs info

Comments

@ghost
Copy link

ghost commented Apr 9, 2017

Steps to reproduce

  1. Contacts>Settings>

  2. type addressbook name>hit enter>refresh page

Expected behaviour

new addressbook should be created

Actual behaviour

no new addressbook is created

Server configuration

ubuntu 16.04

apache

mysql

php7

NC 11

updated from 10

Where did you install Nextcloud from:

Signing status:

Signing status
Login as admin user into your Nextcloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results here.

List of activated apps:

App list
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder

Nextcloud configuration:

Config report
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

or 

Insert your config.php content here. 
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)

Are you using external storage, if yes which one: local/smb/sftp/...

Are you using encryption: yes/no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

LDAP configuration (delete this part if not used)

LDAP config
With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your Nextcloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';


Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.

Client configuration

Browser:

Operating system:

Logs

Web server error log

Web server error log
Insert your webserver log here

Nextcloud log (data/nextcloud.log)

Nextcloud log
Insert your Nextcloud log here

Browser log

Browser log
Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...
@MorrisJobke
Copy link
Member

cc @georgehrke

@MorrisJobke
Copy link
Member

@lepidas Any special characters in the address book name or spaces or slashes?

@MorrisJobke MorrisJobke added 0. Needs triage Pending check for reproducibility or if it fits our roadmap feature: dav needs info labels Apr 10, 2017
@ghost
Copy link
Author

ghost commented Apr 10, 2017

no special characters.
I wonder if that the root of the NC installation is a problem with that
/var/www/nextcloud/html

apache error logs 0
NC logs
`Fatal
webdav
Sabre\DAV\Exception\MethodNotAllowed: HTTP/1.1 405 The resource you tried to create already exists

/var/www/nextcloud/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 590: Sabre\DAV\Server->createCollection('addressbooks/us...', Object(Sabre\DAV\MkCol))
[internal function] Sabre\DAV\CorePlugin->httpMkcol(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/var/www/nextcloud/html/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array)
/var/www/nextcloud/html/3rdparty/sabre/dav/lib/DAV/Server.php - line 479: Sabre\Event\EventEmitter->emit('method MKCOL', Array)
/var/www/nextcloud/html/3rdparty/sabre/dav/lib/DAV/Server.php - line 254: Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/var/www/nextcloud/html/apps/dav/lib/Server.php - line 227: Sabre\DAV\Server->exec()
/var/www/nextcloud/html/apps/dav/appinfo/v2/remote.php - line 30: OCA\DAV\Server->exec()
/var/www/nextcloud/html/remote.php - line 165: require_once('/var/www/nextcl...')
{main}`

@georgehrke
Copy link
Member

The resource you tried to create already exists

Are you trying to create an address book with a name, that already exists?

@ghost
Copy link
Author

ghost commented Apr 10, 2017

No but....I was trying to create a new with the same name an address book couldn't be created.
reproducing:
create address book name: "sync"
never was created name: "sync" but I can see it on Settings gear with it's options (share,delete,etc)
delete address book name: "sync"
create address book name: "sync"
screenshot from 2017-04-10 09-00-46

@georgehrke
Copy link
Member

but I can see it on Settings gear with it's options (share,delete,etc)

Well, but if you see it in settings, it was created just fine

@ghost
Copy link
Author

ghost commented Apr 10, 2017

In Settings it's there but to say that is created must be usable and under there like I have with "Customers", otherwise maybe I have problem understanding how to work with it. Not sure yet...

screenshot from 2017-04-10 09-00-46

@georgehrke
Copy link
Member

Customers is a group, not an address book

@ghost ghost closed this as completed Apr 10, 2017
@ghost
Copy link
Author

ghost commented Apr 10, 2017

False alarm. Sorry for your time.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap feature: dav needs info
Projects
None yet
Development

No branches or pull requests

2 participants