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

Baikal 0.2.7 : HTTP 500 #381

Closed
llebegue opened this issue Jul 10, 2015 · 33 comments
Closed

Baikal 0.2.7 : HTTP 500 #381

llebegue opened this issue Jul 10, 2015 · 33 comments
Assignees
Labels
Milestone

Comments

@llebegue
Copy link

When accessing to card.php an error is raised.

curl -so - --digest --user 'user:password' https://myserver/card.php/addressbooks/myuser/default/ -k -S


Fatal error: Call to a member function execute() on boolean in /var/www/baikal/vendor/sabre/dav/lib/Sabre/DAVACL/PrincipalBackend/PDO.php on line 161

In Apache logs:

500 Internal Server Error
/cal.php/calendars/myuser/default/: 25 Time(s)
/card.php/addressbooks/myuser/default/: 8 Time(s)
/: 2 Time(s)
/card.php/addressbooks/myuser/default/0C6 ... 0A-6908F533.vcf: 2 Time(s)
/card.php/addressbooks/myuser/default/643 ... C6-6B8B4567.vcf: 1 Time(s)

@llebegue llebegue changed the title Baikal 0.2.7 : HTTP 200 but error Baikal 0.2.7 : HTTP 500 Jul 11, 2015
@PhilDirty
Copy link

same other here

@evert
Copy link
Member

evert commented Jan 21, 2016

This tells me that there is a database error. Are you still having this issue?

@llebegue
Copy link
Author

My installation has not changed since then .... the error is still there

@evert
Copy link
Member

evert commented Jan 21, 2016

The curl statement you are using doesn't really do a normal supported request. What are you trying to achieve exactly? Does this error prevent you from using the software?

@llebegue
Copy link
Author

The curl statement was a way for me to reproduce the error. Of course my DAV client on Android or Evolution on Gnome makes requests to the server that are also failing.

other_vhosts_access.log:my.server.com:443 89.92.172.41 - - [21/Jan/2016:19:47:56 +0100] "OPTIONS /cal.php/calendars/bestuser/default/ HTTP/1.1" 500 620 "-" "Evolution/3.12.9"
other_vhosts_access.log:my.server.com:443 89.92.172.41 - - [21/Jan/2016:19:47:56 +0100] "OPTIONS /cal.php/calendars/bestuser/default/ HTTP/1.1" 500 620 "-" "Evolution/3.12.9"
other_vhosts_access.log.1:my.server.com:443 89.92.172.41 - - [20/Jan/2016:18:26:21 +0100] "OPTIONS /cal.php/calendars/bestuser/default/ HTTP/1.1" 500 620 "-" "Evolution/3.12.9"
other_vhosts_access.log.1:my.server.com:443 89.92.172.41 - - [20/Jan/2016:18:26:21 +0100] "OPTIONS /cal.php/calendars/bestuser/default/ HTTP/1.1" 500 620 "-" "Evolution/3.12.9"

@evert
Copy link
Member

evert commented Jan 21, 2016

Could you post the full curl response to:

curl -X OPTIONS -v --digest --user 'user:password' https://myserver/cal.php/calendars/bestuser/default/ -k -S

@llebegue
Copy link
Author

curl: (6) Could not resolve host: OPTIONS

And server side log on Apache is :
my.server.com:443 89.92.172.41 - - [21/Jan/2016:20:21:40 +0100] "GET /cal.php/calendars/bestuser/default/ HTTP/1.1" 401 5860 "-" "curl/7.38.0"
my.server.com:443 89.92.172.41 - - [21/Jan/2016:20:21:40 +0100] "GET /cal.php/calendars/bestuser/default/ HTTP/1.1" 500 483 "-" "curl/7.38.0"

@llebegue
Copy link
Author

From DAVDroid Client there are more debug logs :

[info ] *** STARTING COLLECTION DISCOVERY FOR SERVICE CARDDAV***
[info ] Check whether user-given URL is a calendar collection and/or contains home-set and/or has current-user-principal
[trace] --> PROPFIND https://my.server.com/card.php/addressbooks/bestuser/default HTTP/1.1
[trace] Content-Type: application/xml; charset=utf-8
[trace] Content-Length: 320
[trace] Depth: 0
[trace] <?xml version='1.0' encoding='UTF-8' ?><propfind xmlns="DAV:" xmlns:CAL="urn:ietf:par\
[trace] ams:xml:ns:caldav" xmlns:CARD="urn:ietf:params:xml:ns:carddav"><prop><CARD:addressboo\
[trace] k-home-set /><resourcetype /><displayname /><CARD:addressbook-description /><current-\
[trace] user-privilege-set /><current-user-principal /></prop></propfind>
[trace] --> END PROPFIND (320-byte body)
[trace] <-- HTTP/1.1 200 OK (207ms)
[trace] Date: Thu, 21 Jan 2016 19:26:24 GMT
[trace] Server: Apache/2.4.10 (Debian)
[trace] Strict-Transport-Security: max-age=31536000; includeSubDomains
[trace] Expires: Thu, 19 Nov 1981 08:52:00 GMT
[trace] Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
[trace] Pragma: no-cache
[trace] Vary: Accept-Encoding
[trace] Keep-Alive: timeout=5, max=99
[trace] Connection: Keep-Alive
[trace] Content-Type: text/html; charset=UTF-8
[trace] OkHttp-Sent-Millis: 1453404383631
[trace] OkHttp-Received-Millis: 1453404383660
[trace] <br />
[trace] <b>Fatal error</b>:  Call to a member function execute() on boolean in <b>/var/www/ba\
[trace] ikal/vendor/sabre/dav/lib/Sabre/DAVACL/PrincipalBackend/PDO.php</b> on line <b>161</b\
[trace] ><br />
[trace] <-- END HTTP (185-byte body)
[debug] PROPFIND on user-given URL failed - EXCEPTION:
at.bitfire.dav4android.exception.InvalidDavResponseException: Expected 207 Multi-Status
        at at.bitfire.dav4android.DavResource.assertMultiStatus(DavResource.java:295)
        at at.bitfire.dav4android.DavResource.propfind(DavResource.java:251)
        at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:124)
        at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:85)
        at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:164)
        at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:142)
        at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
        at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
        at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
        at android.os.AsyncTask$2.call(AsyncTask.java:288)
        at java.util.concurrent.FutureTask.run(FutureTask.java:237)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
        at java.lang.Thread.run(Thread.java:818)
at.bitfire.dav4android.exception.InvalidDavResponseException: Expected 207 Multi-Status
at.bitfire.dav4android.exception.InvalidDavResponseException: Expected 207 Multi-Status
        at at.bitfire.dav4android.DavResource.assertMultiStatus(DavResource.java:295)
        at at.bitfire.dav4android.DavResource.propfind(DavResource.java:251)
        at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:124)
        at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:85)
        at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:164)
        at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:142)
        at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
        at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
        at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
        at android.os.AsyncTask$2.call(AsyncTask.java:288)
        at java.util.concurrent.FutureTask.run(FutureTask.java:237)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
        at java.lang.Thread.run(Thread.java:818)
[info ] No home sets found, looking for <current-user-principal>
[trace] --> OPTIONS https://my.server.com/card.php/addressbooks/bestuser/default HTTP/1.1
[trace] --> END OPTIONS
[trace] <-- HTTP/1.1 200 OK (86ms)
[trace] Date: Thu, 21 Jan 2016 19:26:24 GMT
[trace] Server: Apache/2.4.10 (Debian)
[trace] Strict-Transport-Security: max-age=31536000; includeSubDomains
[trace] Expires: Thu, 19 Nov 1981 08:52:00 GMT
[trace] Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
[trace] Pragma: no-cache
[trace] Vary: Accept-Encoding
[trace] Keep-Alive: timeout=5, max=97
[trace] Connection: Keep-Alive
[trace] Content-Type: text/html; charset=UTF-8
[trace] OkHttp-Sent-Millis: 1453404383725
[trace] OkHttp-Received-Millis: 1453404383753
[trace] <br />
[trace] <b>Fatal error</b>:  Call to a member function execute() on boolean in <b>/var/www/ba\
[trace] ikal/vendor/sabre/dav/lib/Sabre/DAVACL/PrincipalBackend/PDO.php</b> on line <b>161</b\
[trace] ><br />
[trace] <-- END HTTP (185-byte body)
[info ] User-given URL doesn't contain <current-user-principal>, trying /.well-known/carddav
[trace] --> PROPFIND https://my.server.com/.well-known/carddav HTTP/1.1
[trace] Content-Type: application/xml; charset=utf-8
[trace] Content-Length: 198
[trace] Depth: 0
[trace] <?xml version='1.0' encoding='UTF-8' ?><propfind xmlns="DAV:" xmlns:CAL="urn:ietf:par\
[trace] ams:xml:ns:caldav" xmlns:CARD="urn:ietf:params:xml:ns:carddav"><prop><current-user-pr\
[trace] incipal /></prop></propfind>
[trace] --> END PROPFIND (198-byte body)
[trace] <-- HTTP/1.1 405 Method Not Allowed (29ms)
[trace] Date: Thu, 21 Jan 2016 19:26:24 GMT
[trace] Server: Apache/2.4.10 (Debian)
[trace] Strict-Transport-Security: max-age=31536000; includeSubDomains
[trace] Allow: POST,OPTIONS,GET,HEAD
[trace] Content-Length: 327
[trace] Keep-Alive: timeout=5, max=96
[trace] Connection: Keep-Alive
[trace] Content-Type: text/html; charset=iso-8859-1
[trace] OkHttp-Sent-Millis: 1453404383790
[trace] OkHttp-Received-Millis: 1453404383808
[trace] <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
[trace] <html><head>
[trace] <title>405 Method Not Allowed</title>
[trace] </head><body>
[trace] <h1>Method Not Allowed</h1>
[trace] <p>The requested method PROPFIND is not allowed for the URL /.well-known/carddav.</p>
[trace] <hr>
[trace] <address>Apache/2.4.10 (Debian) Server at my.server.com Port 443</address>
[trace] </body></html>
[trace] <-- END HTTP (327-byte body)
[debug] Couldn't determine <current-user-principal> from well-known carddav path - EXCEPTION:
at.bitfire.dav4android.exception.HttpException: 405 Method Not Allowed
        at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:281)
        at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:286)
        at at.bitfire.dav4android.DavResource.propfind(DavResource.java:250)
        at at.bitfire.davdroid.resource.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.java:444)
        at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:179)
        at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:85)
        at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:164)
        at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:142)
        at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
        at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
        at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
        at android.os.AsyncTask$2.call(AsyncTask.java:288)
        at java.util.concurrent.FutureTask.run(FutureTask.java:237)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
        at java.lang.Thread.run(Thread.java:818)
at.bitfire.dav4android.exception.HttpException: 405 Method Not Allowed
at.bitfire.dav4android.exception.HttpException: 405 Method Not Allowed
        at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:281)
        at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:286)
        at at.bitfire.dav4android.DavResource.propfind(DavResource.java:250)
        at at.bitfire.davdroid.resource.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.java:444)
        at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:179)
        at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:85)
        at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:164)
        at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:142)
        at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
        at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
        at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
        at android.os.AsyncTask$2.call(AsyncTask.java:288)
        at java.util.concurrent.FutureTask.run(FutureTask.java:237)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
        at java.lang.Thread.run(Thread.java:818)
[info ] No principal URL yet, trying SRV/TXT records with domain my.server.com
[debug] Looking up SRV records for _carddavs._tcp.my.server.com
[info ] *** STARTING COLLECTION DISCOVERY FOR SERVICE CALDAV***
[info ] Check whether user-given URL is a calendar collection and/or contains home-set and/or has current-user-principal
[trace] --> PROPFIND https://my.server.com/card.php/addressbooks/bestuser/default HTTP/1.1
[trace] Content-Type: application/xml; charset=utf-8
[trace] Content-Length: 435
[trace] Depth: 0
[trace] <?xml version='1.0' encoding='UTF-8' ?><propfind xmlns="DAV:" xmlns:CAL="urn:ietf:par\
[trace] ams:xml:ns:caldav" xmlns:CARD="urn:ietf:params:xml:ns:carddav"><prop><CAL:calendar-ho\
[trace] me-set /><CAL:supported-calendar-component-set /><resourcetype /><displayname /><n0:c\
[trace] alendar-color xmlns:n0="http://apple.com/ns/ical/" /><CAL:calendar-description /><CAL\
[trace] :calendar-timezone /><current-user-privilege-set /><current-user-principal /></prop><\
[trace] /propfind>
[trace] --> END PROPFIND (435-byte body)
[trace] <-- HTTP/1.1 200 OK (80ms)
[trace] Date: Thu, 21 Jan 2016 19:26:24 GMT
[trace] Server: Apache/2.4.10 (Debian)
[trace] Strict-Transport-Security: max-age=31536000; includeSubDomains
[trace] Expires: Thu, 19 Nov 1981 08:52:00 GMT
[trace] Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
[trace] Pragma: no-cache
[trace] Vary: Accept-Encoding
[trace] Keep-Alive: timeout=5, max=94
[trace] Connection: Keep-Alive
[trace] Content-Type: text/html; charset=UTF-8
[trace] OkHttp-Sent-Millis: 1453404383875
[trace] OkHttp-Received-Millis: 1453404383901
[trace] <br />
[trace] <b>Fatal error</b>:  Call to a member function execute() on boolean in <b>/var/www/ba\
[trace] ikal/vendor/sabre/dav/lib/Sabre/DAVACL/PrincipalBackend/PDO.php</b> on line <b>161</b\
[trace] ><br />
[trace] <-- END HTTP (185-byte body)
[debug] PROPFIND on user-given URL failed - EXCEPTION:
at.bitfire.dav4android.exception.InvalidDavResponseException: Expected 207 Multi-Status
        at at.bitfire.dav4android.DavResource.assertMultiStatus(DavResource.java:295)
        at at.bitfire.dav4android.DavResource.propfind(DavResource.java:251)
        at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:117)
        at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:86)
        at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:164)
        at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:142)
        at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
        at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
        at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
        at android.os.AsyncTask$2.call(AsyncTask.java:288)
        at java.util.concurrent.FutureTask.run(FutureTask.java:237)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
        at java.lang.Thread.run(Thread.java:818)
at.bitfire.dav4android.exception.InvalidDavResponseException: Expected 207 Multi-Status
at.bitfire.dav4android.exception.InvalidDavResponseException: Expected 207 Multi-Status
        at at.bitfire.dav4android.DavResource.assertMultiStatus(DavResource.java:295)
        at at.bitfire.dav4android.DavResource.propfind(DavResource.java:251)
        at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:117)
        at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:86)
        at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:164)
        at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:142)
        at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
        at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
        at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
        at android.os.AsyncTask$2.call(AsyncTask.java:288)
        at java.util.concurrent.FutureTask.run(FutureTask.java:237)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
        at java.lang.Thread.run(Thread.java:818)
[info ] No home sets found, looking for <current-user-principal>
[trace] --> OPTIONS https://my.server.com/card.php/addressbooks/bestuser/default HTTP/1.1
[trace] --> END OPTIONS
[trace] <-- HTTP/1.1 200 OK (79ms)
[trace] Date: Thu, 21 Jan 2016 19:26:25 GMT
[trace] Server: Apache/2.4.10 (Debian)
[trace] Strict-Transport-Security: max-age=31536000; includeSubDomains
[trace] Expires: Thu, 19 Nov 1981 08:52:00 GMT
[trace] Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
[trace] Pragma: no-cache
[trace] Vary: Accept-Encoding
[trace] Keep-Alive: timeout=5, max=92
[trace] Connection: Keep-Alive
[trace] Content-Type: text/html; charset=UTF-8
[trace] OkHttp-Sent-Millis: 1453404383968
[trace] OkHttp-Received-Millis: 1453404383995
[trace] <br />
[trace] <b>Fatal error</b>:  Call to a member function execute() on boolean in <b>/var/www/ba\
[trace] ikal/vendor/sabre/dav/lib/Sabre/DAVACL/PrincipalBackend/PDO.php</b> on line <b>161</b\
[trace] ><br />
[trace] <-- END HTTP (185-byte body)
[info ] User-given URL doesn't contain <current-user-principal>, trying /.well-known/caldav
[trace] --> PROPFIND https://my.server.com/.well-known/caldav HTTP/1.1
[trace] Content-Type: application/xml; charset=utf-8
[trace] Content-Length: 198
[trace] Depth: 0
[trace] <?xml version='1.0' encoding='UTF-8' ?><propfind xmlns="DAV:" xmlns:CAL="urn:ietf:par\
[trace] ams:xml:ns:caldav" xmlns:CARD="urn:ietf:params:xml:ns:carddav"><prop><current-user-pr\
[trace] incipal /></prop></propfind>
[trace] --> END PROPFIND (198-byte body)
[trace] <-- HTTP/1.1 405 Method Not Allowed (30ms)
[trace] Date: Thu, 21 Jan 2016 19:26:25 GMT
[trace] Server: Apache/2.4.10 (Debian)
[trace] Strict-Transport-Security: max-age=31536000; includeSubDomains
[trace] Allow: POST,OPTIONS,GET,HEAD
[trace] Content-Length: 326
[trace] Keep-Alive: timeout=5, max=91
[trace] Connection: Keep-Alive
[trace] Content-Type: text/html; charset=iso-8859-1
[trace] OkHttp-Sent-Millis: 1453404384012
[trace] OkHttp-Received-Millis: 1453404384031
[trace] <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
[trace] <html><head>
[trace] <title>405 Method Not Allowed</title>
[trace] </head><body>
[trace] <h1>Method Not Allowed</h1>
[trace] <p>The requested method PROPFIND is not allowed for the URL /.well-known/caldav.</p>
[trace] <hr>
[trace] <address>Apache/2.4.10 (Debian) Server at my.server.com Port 443</address>
[trace] </body></html>
[trace] <-- END HTTP (326-byte body)
[debug] Couldn't determine <current-user-principal> from well-known caldav path - EXCEPTION:
at.bitfire.dav4android.exception.HttpException: 405 Method Not Allowed
        at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:281)
        at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:286)
        at at.bitfire.dav4android.DavResource.propfind(DavResource.java:250)
        at at.bitfire.davdroid.resource.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.java:444)
        at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:179)
        at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:86)
        at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:164)
        at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:142)
        at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
        at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
        at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
        at android.os.AsyncTask$2.call(AsyncTask.java:288)
        at java.util.concurrent.FutureTask.run(FutureTask.java:237)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
        at java.lang.Thread.run(Thread.java:818)
at.bitfire.dav4android.exception.HttpException: 405 Method Not Allowed
at.bitfire.dav4android.exception.HttpException: 405 Method Not Allowed
        at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:281)
        at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:286)
        at at.bitfire.dav4android.DavResource.propfind(DavResource.java:250)
        at at.bitfire.davdroid.resource.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.java:444)
        at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:179)
        at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:86)
        at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:164)
        at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:142)
        at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
        at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
        at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
        at android.os.AsyncTask$2.call(AsyncTask.java:288)
        at java.util.concurrent.FutureTask.run(FutureTask.java:237)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
        at java.lang.Thread.run(Thread.java:818)
[info ] No principal URL yet, trying SRV/TXT records with domain my.server.com
[debug] Looking up SRV records for _caldavs._tcp.my.server.com

SOFTWARE INFORMATION
DAVdroid version: 0.9.1.3 (87) Sun Jan 03 08:04:57 GMT+01:00 2016
Installed from: org.fdroid.fdroid
JB Workaround installed: no

CONFIGURATION
System-wide synchronization: manually

SYSTEM INFORMATION
Android version: 5.0.1 (LRX22C.I9505XXUHOJ2)
Device: Samsung GT-I9505 (jflte)

@evert
Copy link
Member

evert commented Jan 21, 2016

Alright, the error at least seems very consistent everywhere... Would you be able to share the schema and perhaps even do a dump of the 'principals' table. Either there's something broken in that database table, or that table doesn't exist at all. It's unfortunate that we can't see the real underlying MySQL error :(

@llebegue
Copy link
Author

The isntallation is configured to NOT use MySQL
screenshot from 2016-01-21 21 12 12

@evert
Copy link
Member

evert commented Jan 21, 2016

Sorry about that, the same thing applies then to sqlite. You can get the information by running:

.schema principals
.dump principals

from the sqlite3 console.

@llebegue
Copy link
Author

I found /var/www/baikal/Core/Resources/Db/SQLite/db.sqlite file but is it the same as the PROJECT_PATH_SPECIFIC "db/sqlite" that can be seen in System settings?


/var/www/baikal/Core/Resources/Db/SQLite# sqlite3
SQLite version 3.8.7.1 2014-10-29 13:59:56
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
sqlite> .open db.sqlite 
sqlite> .schema princopals
sqlite> .schema principals
CREATE TABLE principals (
    id INTEGER PRIMARY KEY ASC,
    uri TEXT,
    email TEXT,
    displayname TEXT,
    vcardurl TEXT,
    UNIQUE(uri)
);

@llebegue
Copy link
Author

Perhaps is it /var/www/baikal/Specific/db/db.sqlite ?

@evert
Copy link
Member

evert commented Jan 21, 2016

I think it should be the latter, yes.. the schema looks fine here though. Are there any entries inside of the table (.dump should give you this). Feel free to censor as you see fit.

@llebegue
Copy link
Author

root@my.server.com:/var/www/baikal/Specific/db# sqlite3
SQLite version 3.8.7.1 2014-10-29 13:59:56
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
sqlite> .open db.sqlite
sqlite> .schema principals
CREATE TABLE principals (
    id INTEGER PRIMARY KEY ASC, 
    uri TEXT,
    email TEXT,
    displayname TEXT,
    UNIQUE(uri)
);
sqlite> .dump principals
PRAGMA foreign_keys=OFF;
BEGIN TRANSACTION;
CREATE TABLE principals (
    id INTEGER PRIMARY KEY ASC, 
    uri TEXT,
    email TEXT,
    displayname TEXT,
    UNIQUE(uri)
);
INSERT INTO "principals" VALUES(1,'principals/bestuser','bestuser@my.server.com','The Best User');
COMMIT;
sqlite> 

@evert
Copy link
Member

evert commented Jan 21, 2016

Nothing out of the ordinary... what are the file permissions for that database file? Both the file as well as the parent directory of the file need to be accessible by the webserver. The easiest way to do this is:

chmod -Rv a+rw Specific/

But don't do this if this is a shared server and you are concerned about other users on the same user accessing that database.

@llebegue
Copy link
Author

-rw-r--r-- 1 www-data www-data 14336 Jul 10 2015 db.sqlite

www-data is debian user that runs apache http server

@evert
Copy link
Member

evert commented Jan 21, 2016

What about its parent folder? Same thing?

@llebegue
Copy link
Author

Yes up to install directory

tree -ug
.
├── [www-data www-data]  ChangeLog.md
├── [www-data www-data]  Core
│   ├── [www-data www-data]  Distrib.php
│   ├── [www-data www-data]  Frameworks
│   │   ├── [www-data www-data]  Baikal
│   │   │   ├── [www-data www-data]  Core
│   │   │   │   ├── [www-data www-data]  PDOBasicAuth.php
│   │   │   │   └── [www-data www-data]  Tools.php
│   │   │   ├── [www-data www-data]  Framework.php
│   │   │   ├── [www-data www-data]  Model
│   │   │   │   ├── [www-data www-data]  AddressBook
│   │   │   │   │   └── [www-data www-data]  Contact.php
│   │   │   │   ├── [www-data www-data]  AddressBook.php
│   │   │   │   ├── [www-data www-data]  Calendar
│   │   │   │   │   └── [www-data www-data]  Event.php
│   │   │   │   ├── [www-data www-data]  Calendar.php
│   │   │   │   ├── [www-data www-data]  Config
│   │   │   │   │   ├── [www-data www-data]  Database.php
│   │   │   │   │   ├── [www-data www-data]  Distrib.php
│   │   │   │   │   ├── [www-data www-data]  Standard.php
│   │   │   │   │   └── [www-data www-data]  System.php
│   │   │   │   ├── [www-data www-data]  Config.php
│   │   │   │   ├── [www-data www-data]  Principal.php
│   │   │   │   └── [www-data www-data]  User.php
│   │   │   └── [www-data www-data]  WWWRoot
│   │   │       ├── [www-data www-data]  cal.php
│   │   │       ├── [www-data www-data]  card.php
│   │   │       └── [www-data www-data]  index.php
│   │   ├── [www-data www-data]  BaikalAdmin
│   │   │   ├── [www-data www-data]  config.php
│   │   │   ├── [www-data www-data]  Controller
│   │   │   │   ├── [www-data www-data]  Dashboard.php
│   │   │   │   ├── [www-data www-data]  Install
│   │   │   │   │   ├── [www-data www-data]  Database.php
│   │   │   │   │   ├── [www-data www-data]  Initialize.php
│   │   │   │   │   └── [www-data www-data]  VersionUpgrade.php
│   │   │   │   ├── [www-data www-data]  Login.php
│   │   │   │   ├── [www-data www-data]  Logout.php
│   │   │   │   ├── [www-data www-data]  Navigation
│   │   │   │   │   ├── [www-data www-data]  Topbar
│   │   │   │   │   │   ├── [www-data www-data]  Anonymous.php
│   │   │   │   │   │   └── [www-data www-data]  Install.php
│   │   │   │   │   └── [www-data www-data]  Topbar.php
│   │   │   │   ├── [www-data www-data]  Settings
│   │   │   │   │   ├── [www-data www-data]  Standard.php
│   │   │   │   │   └── [www-data www-data]  System.php
│   │   │   │   ├── [www-data www-data]  User
│   │   │   │   │   ├── [www-data www-data]  AddressBooks.php
│   │   │   │   │   └── [www-data www-data]  Calendars.php
│   │   │   │   └── [www-data www-data]  Users.php
│   │   │   ├── [www-data www-data]  Core
│   │   │   │   ├── [www-data www-data]  Auth.php
│   │   │   │   └── [www-data www-data]  View.php
│   │   │   ├── [www-data www-data]  Framework.php
│   │   │   ├── [www-data www-data]  Resources
│   │   │   │   ├── [www-data www-data]  GlyphiconsPro
│   │   │   │   │   ├── [www-data www-data]  generate-sprite.php
│   │   │   │   │   ├── [www-data www-data]  glyph2x-dark.png
│   │   │   │   │   ├── [www-data www-data]  glyph-dark.png
│   │   │   │   │   ├── [www-data www-data]  glyphpro-2x.css
│   │   │   │   │   ├── [www-data www-data]  glyphpro.css
│   │   │   │   │   └── [www-data www-data]  test-glyphpro2x.html
│   │   │   │   ├── [www-data www-data]  html5.js
│   │   │   │   ├── [www-data www-data]  Images
│   │   │   │   │   └── [www-data www-data]  logo-framboise.png
│   │   │   │   ├── [www-data www-data]  Strings
│   │   │   │   │   └── [www-data www-data]  EN
│   │   │   │   │       └── [www-data www-data]  Exceptions.json
│   │   │   │   └── [www-data www-data]  Templates
│   │   │   │       ├── [www-data www-data]  Dashboard.html
│   │   │   │       ├── [www-data www-data]  Install
│   │   │   │       │   ├── [www-data www-data]  Database.html
│   │   │   │       │   └── [www-data www-data]  Initialize.html
│   │   │   │       ├── [www-data www-data]  Login.html
│   │   │   │       ├── [www-data www-data]  Navigation
│   │   │   │       │   ├── [www-data www-data]  Topbar
│   │   │   │       │   │   ├── [www-data www-data]  Anonymous.html
│   │   │   │       │   │   └── [www-data www-data]  Install.html
│   │   │   │       │   └── [www-data www-data]  Topbar.html
│   │   │   │       ├── [www-data www-data]  Page
│   │   │   │       │   ├── [www-data www-data]  baikal-text-20.png
│   │   │   │       │   ├── [www-data www-data]  index.html
│   │   │   │       │   └── [www-data www-data]  style.css
│   │   │   │       ├── [www-data www-data]  Settings
│   │   │   │       │   ├── [www-data www-data]  Standard.html
│   │   │   │       │   └── [www-data www-data]  System.html
│   │   │   │       ├── [www-data www-data]  User
│   │   │   │       │   ├── [www-data www-data]  AddressBooks.html
│   │   │   │       │   └── [www-data www-data]  Calendars.html
│   │   │   │       └── [www-data www-data]  Users.html
│   │   │   ├── [www-data www-data]  Route
│   │   │   │   ├── [www-data www-data]  Dashboard.php
│   │   │   │   ├── [www-data www-data]  Logout.php
│   │   │   │   ├── [www-data www-data]  Settings
│   │   │   │   │   ├── [www-data www-data]  Standard.php
│   │   │   │   │   └── [www-data www-data]  System.php
│   │   │   │   ├── [www-data www-data]  User
│   │   │   │   │   ├── [www-data www-data]  AddressBooks.php
│   │   │   │   │   └── [www-data www-data]  Calendars.php
│   │   │   │   └── [www-data www-data]  Users.php
│   │   │   ├── [www-data www-data]  View
│   │   │   │   ├── [www-data www-data]  Dashboard.php
│   │   │   │   ├── [www-data www-data]  Install
│   │   │   │   │   ├── [www-data www-data]  Database.php
│   │   │   │   │   └── [www-data www-data]  Initialize.php
│   │   │   │   ├── [www-data www-data]  Login.php
│   │   │   │   ├── [www-data www-data]  Navigation
│   │   │   │   │   ├── [www-data www-data]  Topbar
│   │   │   │   │   │   ├── [www-data www-data]  Anonymous.php
│   │   │   │   │   │   └── [www-data www-data]  Install.php
│   │   │   │   │   └── [www-data www-data]  Topbar.php
│   │   │   │   ├── [www-data www-data]  Settings
│   │   │   │   │   ├── [www-data www-data]  Standard.php
│   │   │   │   │   └── [www-data www-data]  System.php
│   │   │   │   ├── [www-data www-data]  User
│   │   │   │   │   ├── [www-data www-data]  AddressBooks.php
│   │   │   │   │   └── [www-data www-data]  Calendars.php
│   │   │   │   └── [www-data www-data]  Users.php
│   │   │   └── [www-data www-data]  WWWRoot
│   │   │       ├── [www-data www-data]  index.php
│   │   │       └── [www-data www-data]  install
│   │   │           └── [www-data www-data]  index.php
│   │   ├── [www-data www-data]  Flake
│   │   │   ├── [www-data www-data]  config.php
│   │   │   ├── [www-data www-data]  Controller
│   │   │   │   ├── [www-data www-data]  Cli.php
│   │   │   │   ├── [www-data www-data]  HtmlBlock.php
│   │   │   │   ├── [www-data www-data]  HtmlBlockTemplated.php
│   │   │   │   ├── [www-data www-data]  Page.php
│   │   │   │   └── [www-data www-data]  Rpc.php
│   │   │   ├── [www-data www-data]  Core
│   │   │   │   ├── [www-data www-data]  Collection.php
│   │   │   │   ├── [www-data www-data]  CollectionTyped.php
│   │   │   │   ├── [www-data www-data]  Controller.php
│   │   │   │   ├── [www-data www-data]  Database
│   │   │   │   │   ├── [www-data www-data]  Mysql.php
│   │   │   │   │   ├── [www-data www-data]  Sqlite.php
│   │   │   │   │   └── [www-data www-data]  Statement.php
│   │   │   │   ├── [www-data www-data]  Database.php
│   │   │   │   ├── [www-data www-data]  Datastructure
│   │   │   │   │   ├── [www-data www-data]  Chainable.php
│   │   │   │   │   ├── [www-data www-data]  ChainLink.php
│   │   │   │   │   └── [www-data www-data]  Chain.php
│   │   │   │   ├── [www-data www-data]  DOM
│   │   │   │   │   └── [www-data www-data]  HTMLElement.php
│   │   │   │   ├── [www-data www-data]  FLObject.php
│   │   │   │   ├── [www-data www-data]  Framework.php
│   │   │   │   ├── [www-data www-data]  Model
│   │   │   │   │   ├── [www-data www-data]  Db.php
│   │   │   │   │   └── [www-data www-data]  NoDb.php
│   │   │   │   ├── [www-data www-data]  Model.php
│   │   │   │   ├── [www-data www-data]  PostConnectionService.php
│   │   │   │   ├── [www-data www-data]  Render
│   │   │   │   │   ├── [www-data www-data]  Container.php
│   │   │   │   │   └── [www-data www-data]  Zone.php
│   │   │   │   ├── [www-data www-data]  Requester
│   │   │   │   │   └── [www-data www-data]  Sql.php
│   │   │   │   ├── [www-data www-data]  Requester.php
│   │   │   │   ├── [www-data www-data]  Route.php
│   │   │   │   ├── [www-data www-data]  Template.php
│   │   │   │   └── [www-data www-data]  View.php
│   │   │   ├── [www-data www-data]  Framework.php
│   │   │   ├── [www-data www-data]  Model
│   │   │   │   ├── [www-data www-data]  IUser.php
│   │   │   │   └── [www-data www-data]  User
│   │   │   │       ├── [www-data www-data]  Admin.php
│   │   │   │       └── [www-data www-data]  Customer.php
│   │   │   └── [www-data www-data]  Util
│   │   │       ├── [www-data www-data]  Frameworks.php
│   │   │       ├── [www-data www-data]  Profiler.php
│   │   │       ├── [www-data www-data]  Router
│   │   │       │   └── [www-data www-data]  QuestionMarkRewrite.php
│   │   │       ├── [www-data www-data]  Router.php
│   │   │       ├── [www-data www-data]  Tools.php
│   │   │       └── [www-data www-data]  Twig
│   │   │           ├── [www-data www-data]  AUTHORS
│   │   │           ├── [www-data www-data]  CHANGELOG
│   │   │           ├── [www-data www-data]  lib
│   │   │           │   └── [www-data www-data]  Twig
│   │   │           │       ├── [www-data www-data]  Autoloader.php
│   │   │           │       ├── [www-data www-data]  CompilerInterface.php
│   │   │           │       ├── [www-data www-data]  Compiler.php
│   │   │           │       ├── [www-data www-data]  Environment.php
│   │   │           │       ├── [www-data www-data]  Error
│   │   │           │       │   ├── [www-data www-data]  Loader.php
│   │   │           │       │   ├── [www-data www-data]  Runtime.php
│   │   │           │       │   └── [www-data www-data]  Syntax.php
│   │   │           │       ├── [www-data www-data]  Error.php
│   │   │           │       ├── [www-data www-data]  ExpressionParser.php
│   │   │           │       ├── [www-data www-data]  Extension
│   │   │           │       │   ├── [www-data www-data]  Core.php
│   │   │           │       │   ├── [www-data www-data]  Debug.php
│   │   │           │       │   ├── [www-data www-data]  Escaper.php
│   │   │           │       │   ├── [www-data www-data]  Optimizer.php
│   │   │           │       │   └── [www-data www-data]  Sandbox.php
│   │   │           │       ├── [www-data www-data]  ExtensionInterface.php
│   │   │           │       ├── [www-data www-data]  Extension.php
│   │   │           │       ├── [www-data www-data]  Filter
│   │   │           │       │   ├── [www-data www-data]  Function.php
│   │   │           │       │   ├── [www-data www-data]  Method.php
│   │   │           │       │   └── [www-data www-data]  Node.php
│   │   │           │       ├── [www-data www-data]  FilterInterface.php
│   │   │           │       ├── [www-data www-data]  Filter.php
│   │   │           │       ├── [www-data www-data]  Function
│   │   │           │       │   ├── [www-data www-data]  Function.php
│   │   │           │       │   ├── [www-data www-data]  Method.php
│   │   │           │       │   └── [www-data www-data]  Node.php
│   │   │           │       ├── [www-data www-data]  FunctionInterface.php
│   │   │           │       ├── [www-data www-data]  Function.php
│   │   │           │       ├── [www-data www-data]  LexerInterface.php
│   │   │           │       ├── [www-data www-data]  Lexer.php
│   │   │           │       ├── [www-data www-data]  Loader
│   │   │           │       │   ├── [www-data www-data]  Array.php
│   │   │           │       │   ├── [www-data www-data]  Chain.php
│   │   │           │       │   ├── [www-data www-data]  Filesystem.php
│   │   │           │       │   └── [www-data www-data]  String.php
│   │   │           │       ├── [www-data www-data]  LoaderInterface.php
│   │   │           │       ├── [www-data www-data]  Markup.php
│   │   │           │       ├── [www-data www-data]  Node
│   │   │           │       │   ├── [www-data www-data]  AutoEscape.php
│   │   │           │       │   ├── [www-data www-data]  Block.php
│   │   │           │       │   ├── [www-data www-data]  BlockReference.php
│   │   │           │       │   ├── [www-data www-data]  Body.php
│   │   │           │       │   ├── [www-data www-data]  Do.php
│   │   │           │       │   ├── [www-data www-data]  Embed.php
│   │   │           │       │   ├── [www-data www-data]  Expression
│   │   │           │       │   │   ├── [www-data www-data]  Array.php
│   │   │           │       │   │   ├── [www-data www-data]  AssignName.php
│   │   │           │       │   │   ├── [www-data www-data]  Binary
│   │   │           │       │   │   │   ├── [www-data www-data]  Add.php
│   │   │           │       │   │   │   ├── [www-data www-data]  And.php
│   │   │           │       │   │   │   ├── [www-data www-data]  BitwiseAnd.php
│   │   │           │       │   │   │   ├── [www-data www-data]  BitwiseOr.php
│   │   │           │       │   │   │   ├── [www-data www-data]  BitwiseXor.php
│   │   │           │       │   │   │   ├── [www-data www-data]  Concat.php
│   │   │           │       │   │   │   ├── [www-data www-data]  Div.php
│   │   │           │       │   │   │   ├── [www-data www-data]  Equal.php
│   │   │           │       │   │   │   ├── [www-data www-data]  FloorDiv.php
│   │   │           │       │   │   │   ├── [www-data www-data]  GreaterEqual.php
│   │   │           │       │   │   │   ├── [www-data www-data]  Greater.php
│   │   │           │       │   │   │   ├── [www-data www-data]  In.php
│   │   │           │       │   │   │   ├── [www-data www-data]  LessEqual.php
│   │   │           │       │   │   │   ├── [www-data www-data]  Less.php
│   │   │           │       │   │   │   ├── [www-data www-data]  Mod.php
│   │   │           │       │   │   │   ├── [www-data www-data]  Mul.php
│   │   │           │       │   │   │   ├── [www-data www-data]  NotEqual.php
│   │   │           │       │   │   │   ├── [www-data www-data]  NotIn.php
│   │   │           │       │   │   │   ├── [www-data www-data]  Or.php
│   │   │           │       │   │   │   ├── [www-data www-data]  Power.php
│   │   │           │       │   │   │   ├── [www-data www-data]  Range.php
│   │   │           │       │   │   │   └── [www-data www-data]  Sub.php
│   │   │           │       │   │   ├── [www-data www-data]  Binary.php
│   │   │           │       │   │   ├── [www-data www-data]  BlockReference.php
│   │   │           │       │   │   ├── [www-data www-data]  Conditional.php
│   │   │           │       │   │   ├── [www-data www-data]  Constant.php
│   │   │           │       │   │   ├── [www-data www-data]  ExtensionReference.php
│   │   │           │       │   │   ├── [www-data www-data]  Filter
│   │   │           │       │   │   │   └── [www-data www-data]  Default.php
│   │   │           │       │   │   ├── [www-data www-data]  Filter.php
│   │   │           │       │   │   ├── [www-data www-data]  Function.php
│   │   │           │       │   │   ├── [www-data www-data]  GetAttr.php
│   │   │           │       │   │   ├── [www-data www-data]  MethodCall.php
│   │   │           │       │   │   ├── [www-data www-data]  Name.php
│   │   │           │       │   │   ├── [www-data www-data]  Parent.php
│   │   │           │       │   │   ├── [www-data www-data]  TempName.php
│   │   │           │       │   │   ├── [www-data www-data]  Test
│   │   │           │       │   │   │   ├── [www-data www-data]  Constant.php
│   │   │           │       │   │   │   ├── [www-data www-data]  Defined.php
│   │   │           │       │   │   │   ├── [www-data www-data]  Divisibleby.php
│   │   │           │       │   │   │   ├── [www-data www-data]  Even.php
│   │   │           │       │   │   │   ├── [www-data www-data]  Null.php
│   │   │           │       │   │   │   ├── [www-data www-data]  Odd.php
│   │   │           │       │   │   │   └── [www-data www-data]  Sameas.php
│   │   │           │       │   │   ├── [www-data www-data]  Test.php
│   │   │           │       │   │   ├── [www-data www-data]  Unary
│   │   │           │       │   │   │   ├── [www-data www-data]  Neg.php
│   │   │           │       │   │   │   ├── [www-data www-data]  Not.php
│   │   │           │       │   │   │   └── [www-data www-data]  Pos.php
│   │   │           │       │   │   └── [www-data www-data]  Unary.php
│   │   │           │       │   ├── [www-data www-data]  Expression.php
│   │   │           │       │   ├── [www-data www-data]  Flush.php
│   │   │           │       │   ├── [www-data www-data]  ForLoop.php
│   │   │           │       │   ├── [www-data www-data]  For.php
│   │   │           │       │   ├── [www-data www-data]  If.php
│   │   │           │       │   ├── [www-data www-data]  Import.php
│   │   │           │       │   ├── [www-data www-data]  Include.php
│   │   │           │       │   ├── [www-data www-data]  Macro.php
│   │   │           │       │   ├── [www-data www-data]  Module.php
│   │   │           │       │   ├── [www-data www-data]  Print.php
│   │   │           │       │   ├── [www-data www-data]  SandboxedModule.php
│   │   │           │       │   ├── [www-data www-data]  SandboxedPrint.php
│   │   │           │       │   ├── [www-data www-data]  Sandbox.php
│   │   │           │       │   ├── [www-data www-data]  Set.php
│   │   │           │       │   ├── [www-data www-data]  SetTemp.php
│   │   │           │       │   ├── [www-data www-data]  Spaceless.php
│   │   │           │       │   └── [www-data www-data]  Text.php
│   │   │           │       ├── [www-data www-data]  NodeInterface.php
│   │   │           │       ├── [www-data www-data]  NodeOutputInterface.php
│   │   │           │       ├── [www-data www-data]  Node.php
│   │   │           │       ├── [www-data www-data]  NodeTraverser.php
│   │   │           │       ├── [www-data www-data]  NodeVisitor
│   │   │           │       │   ├── [www-data www-data]  Escaper.php
│   │   │           │       │   ├── [www-data www-data]  Optimizer.php
│   │   │           │       │   ├── [www-data www-data]  SafeAnalysis.php
│   │   │           │       │   └── [www-data www-data]  Sandbox.php
│   │   │           │       ├── [www-data www-data]  NodeVisitorInterface.php
│   │   │           │       ├── [www-data www-data]  ParserInterface.php
│   │   │           │       ├── [www-data www-data]  Parser.php
│   │   │           │       ├── [www-data www-data]  Sandbox
│   │   │           │       │   ├── [www-data www-data]  SecurityError.php
│   │   │           │       │   ├── [www-data www-data]  SecurityPolicyInterface.php
│   │   │           │       │   └── [www-data www-data]  SecurityPolicy.php
│   │   │           │       ├── [www-data www-data]  TemplateInterface.php
│   │   │           │       ├── [www-data www-data]  Template.php
│   │   │           │       ├── [www-data www-data]  Test
│   │   │           │       │   ├── [www-data www-data]  Function.php
│   │   │           │       │   ├── [www-data www-data]  Method.php
│   │   │           │       │   └── [www-data www-data]  Node.php
│   │   │           │       ├── [www-data www-data]  TestInterface.php
│   │   │           │       ├── [www-data www-data]  TokenParser
│   │   │           │       │   ├── [www-data www-data]  AutoEscape.php
│   │   │           │       │   ├── [www-data www-data]  Block.php
│   │   │           │       │   ├── [www-data www-data]  Do.php
│   │   │           │       │   ├── [www-data www-data]  Embed.php
│   │   │           │       │   ├── [www-data www-data]  Extends.php
│   │   │           │       │   ├── [www-data www-data]  Filter.php
│   │   │           │       │   ├── [www-data www-data]  Flush.php
│   │   │           │       │   ├── [www-data www-data]  For.php
│   │   │           │       │   ├── [www-data www-data]  From.php
│   │   │           │       │   ├── [www-data www-data]  If.php
│   │   │           │       │   ├── [www-data www-data]  Import.php
│   │   │           │       │   ├── [www-data www-data]  Include.php
│   │   │           │       │   ├── [www-data www-data]  Macro.php
│   │   │           │       │   ├── [www-data www-data]  Sandbox.php
│   │   │           │       │   ├── [www-data www-data]  Set.php
│   │   │           │       │   ├── [www-data www-data]  Spaceless.php
│   │   │           │       │   └── [www-data www-data]  Use.php
│   │   │           │       ├── [www-data www-data]  TokenParserBrokerInterface.php
│   │   │           │       ├── [www-data www-data]  TokenParserBroker.php
│   │   │           │       ├── [www-data www-data]  TokenParserInterface.php
│   │   │           │       ├── [www-data www-data]  TokenParser.php
│   │   │           │       ├── [www-data www-data]  Token.php
│   │   │           │       └── [www-data www-data]  TokenStream.php
│   │   │           ├── [www-data www-data]  LICENSE
│   │   │           └── [www-data www-data]  README.markdown
│   │   ├── [www-data www-data]  Formal
│   │   │   ├── [www-data www-data]  Core
│   │   │   │   └── [www-data www-data]  Message.php
│   │   │   ├── [www-data www-data]  Element
│   │   │   │   ├── [www-data www-data]  Checkbox.php
│   │   │   │   ├── [www-data www-data]  Listbox.php
│   │   │   │   ├── [www-data www-data]  Password.php
│   │   │   │   └── [www-data www-data]  Text.php
│   │   │   ├── [www-data www-data]  Element.php
│   │   │   ├── [www-data www-data]  Form
│   │   │   │   └── [www-data www-data]  Morphology.php
│   │   │   ├── [www-data www-data]  Form.php
│   │   │   └── [www-data www-data]  Framework.php
│   │   └── [www-data www-data]  TwitterBootstrap
│   │       ├── [www-data www-data]  css
│   │       │   ├── [www-data www-data]  bootstrap.css
│   │       │   ├── [www-data www-data]  bootstrap.min.css
│   │       │   ├── [www-data www-data]  bootstrap-responsive.css
│   │       │   └── [www-data www-data]  bootstrap-responsive.min.css
│   │       ├── [www-data www-data]  img
│   │       │   ├── [www-data www-data]  glyphicons-halflings-orig.png
│   │       │   ├── [www-data www-data]  glyphicons-halflings.png
│   │       │   └── [www-data www-data]  glyphicons-halflings-white.png
│   │       └── [www-data www-data]  js
│   │           ├── [www-data www-data]  bootstrap.js
│   │           ├── [www-data www-data]  bootstrap.min.js
│   │           ├── [www-data www-data]  bootstrap-popover.js
│   │           ├── [www-data www-data]  bootstrap-tooltip.js
│   │           └── [www-data www-data]  jquery-1.7.1.min.js
│   └── [www-data www-data]  Resources
│       ├── [www-data www-data]  Db
│       │   ├── [www-data www-data]  MySQL
│       │   │   └── [www-data www-data]  db.sql
│       │   └── [www-data www-data]  SQLite
│       │       ├── [www-data www-data]  db.sql
│       │       └── [www-data www-data]  db.sqlite
│       ├── [www-data www-data]  System
│       │   ├── [www-data www-data]  htaccess-documentroot
│       │   └── [www-data www-data]  htaccess-specific
│       └── [www-data www-data]  Web
│           ├── [www-data www-data]  BaikalAdmin -> ../../Frameworks/BaikalAdmin/Resources
│           ├── [www-data www-data]  README.md
│           └── [www-data www-data]  TwitterBootstrap -> ../../Frameworks/TwitterBootstrap
├── [www-data www-data]  html
│   ├── [www-data www-data]  admin
│   │   ├── [www-data www-data]  index.php -> ../../Core/Frameworks/BaikalAdmin/WWWRoot/index.php
│   │   └── [www-data www-data]  install
│   │       └── [www-data www-data]  index.php -> ../../../Core/Frameworks/BaikalAdmin/WWWRoot/install/index.php
│   ├── [www-data www-data]  cal.php -> ../Core/Frameworks/Baikal/WWWRoot/cal.php
│   ├── [www-data www-data]  card.php -> ../Core/Frameworks/Baikal/WWWRoot/card.php
│   ├── [www-data www-data]  index.php -> ../Core/Frameworks/Baikal/WWWRoot/index.php
│   └── [www-data www-data]  res
│       └── [www-data www-data]  core -> ../../Core/Resources/Web
├── [www-data www-data]  INSTALL.md
├── [www-data www-data]  LICENSE.txt
├── [www-data www-data]  README.md
├── [www-data www-data]  Specific
│   ├── [www-data www-data]  config.php
│   ├── [www-data www-data]  config.system.php
│   ├── [www-data www-data]  db
│   │   └── [www-data www-data]  db.sqlite
│   ├── [www-data www-data]  ENABLE_INSTALL
│   └── [www-data www-data]  virtualhosts
│       ├── [www-data www-data]  baikal.apache2
│       └── [www-data www-data]  baikal.nginx
├── [www-data www-data]  TROUBLESHOOTING.md
├── [www-data www-data]  UPGRADE.md
└── [www-data www-data]  vendor
    ├── [www-data www-data]  autoload.php
    ├── [www-data www-data]  bin
    │   ├── [www-data www-data]  sabredav -> ../sabre/dav/bin/sabredav
    │   └── [www-data www-data]  vobjectvalidate.php -> ../sabre/vobject/bin/vobjectvalidate.php
    ├── [www-data www-data]  composer
    │   ├── [www-data www-data]  autoload_classmap.php
    │   ├── [www-data www-data]  autoload_namespaces.php
    │   ├── [www-data www-data]  autoload_psr4.php
    │   ├── [www-data www-data]  autoload_real.php
    │   ├── [www-data www-data]  ClassLoader.php
    │   └── [www-data www-data]  installed.json
    └── [www-data www-data]  sabre
        ├── [www-data www-data]  dav
        │   ├── [www-data www-data]  bin
        │   │   ├── [www-data www-data]  googlecode_upload.py
        │   │   ├── [www-data www-data]  migrateto17.php
        │   │   ├── [www-data www-data]  naturalselection.py
        │   │   ├── [www-data www-data]  sabredav
        │   │   └── [www-data www-data]  sabredav.php
        │   ├── [www-data www-data]  build.xml
        │   ├── [www-data www-data]  ChangeLog
        │   ├── [www-data www-data]  composer.json
        │   ├── [www-data www-data]  docs
        │   │   ├── [www-data www-data]  caldav-ctag.txt
        │   │   ├── [www-data www-data]  caldav-notifications.txt
        │   │   ├── [www-data www-data]  caldav-proxy.txt
        │   │   ├── [www-data www-data]  caldav-sharing.txt
        │   │   ├── [www-data www-data]  draft-daboo-carddav-directory-gateway-02.txt
        │   │   ├── [www-data www-data]  draft-desruisseaux-caldav-sched-10.txt
        │   │   ├── [www-data www-data]  draft-ietf-httpbis-p1-messaging-11.txt
        │   │   ├── [www-data www-data]  draft-ietf-httpbis-p4-conditional-11.txt
        │   │   ├── [www-data www-data]  draft-ietf-httpbis-p5-range-11.txt
        │   │   ├── [www-data www-data]  draft-ietf-httpbis-p6-cache-11.txt
        │   │   ├── [www-data www-data]  draft-nottingham-http-new-status-04.txt
        │   │   ├── [www-data www-data]  rfc2425.txt
        │   │   ├── [www-data www-data]  rfc2426.txt
        │   │   ├── [www-data www-data]  rfc2518.txt
        │   │   ├── [www-data www-data]  rfc2616.txt
        │   │   ├── [www-data www-data]  rfc2617.txt
        │   │   ├── [www-data www-data]  rfc3253.pdf
        │   │   ├── [www-data www-data]  rfc3744.pdf
        │   │   ├── [www-data www-data]  rfc4437.pdf
        │   │   ├── [www-data www-data]  rfc4790.txt
        │   │   ├── [www-data www-data]  rfc4791.txt
        │   │   ├── [www-data www-data]  rfc4918.pdf
        │   │   ├── [www-data www-data]  rfc5051.txt
        │   │   ├── [www-data www-data]  rfc5397.txt
        │   │   ├── [www-data www-data]  rfc5545.txt
        │   │   ├── [www-data www-data]  rfc5546.txt
        │   │   ├── [www-data www-data]  rfc5689.txt
        │   │   ├── [www-data www-data]  rfc5785.txt
        │   │   ├── [www-data www-data]  rfc5789.txt
        │   │   ├── [www-data www-data]  rfc6047.txt
        │   │   ├── [www-data www-data]  rfc6321.txt
        │   │   ├── [www-data www-data]  rfc6350.txt
        │   │   ├── [www-data www-data]  rfc6351.txt
        │   │   └── [www-data www-data]  rfc6352.txt
        │   ├── [www-data www-data]  examples
        │   │   ├── [www-data www-data]  addressbookserver.php
        │   │   ├── [www-data www-data]  basicauth.php
        │   │   ├── [www-data www-data]  calendarserver.php
        │   │   ├── [www-data www-data]  digestauth.php
        │   │   ├── [www-data www-data]  fileserver.php
        │   │   ├── [www-data www-data]  groupwareserver.php
        │   │   ├── [www-data www-data]  simplefsserver.php
        │   │   ├── [www-data www-data]  sql
        │   │   │   ├── [www-data www-data]  mysql.addressbook.sql
        │   │   │   ├── [www-data www-data]  mysql.calendars.sql
        │   │   │   ├── [www-data www-data]  mysql.locks.sql
        │   │   │   ├── [www-data www-data]  mysql.principals.sql
        │   │   │   ├── [www-data www-data]  mysql.users.sql
        │   │   │   ├── [www-data www-data]  pgsql.addressbook.sql
        │   │   │   ├── [www-data www-data]  pgsql.calendars.sql
        │   │   │   ├── [www-data www-data]  pgsql.locks.sql
        │   │   │   ├── [www-data www-data]  pgsql.principals.sql
        │   │   │   ├── [www-data www-data]  pgsql.users.sql
        │   │   │   ├── [www-data www-data]  sqlite.addressbooks.sql
        │   │   │   ├── [www-data www-data]  sqlite.calendars.sql
        │   │   │   ├── [www-data www-data]  sqlite.locks.sql
        │   │   │   ├── [www-data www-data]  sqlite.principals.sql
        │   │   │   └── [www-data www-data]  sqlite.users.sql
        │   │   └── [www-data www-data]  webserver
        │   │       ├── [www-data www-data]  apache2_htaccess.conf
        │   │       ├── [www-data www-data]  apache2_vhost_cgi.conf
        │   │       └── [www-data www-data]  apache2_vhost.conf
        │   ├── [www-data www-data]  lib
        │   │   └── [www-data www-data]  Sabre
        │   │       ├── [www-data www-data]  autoload.php
        │   │       ├── [www-data www-data]  CalDAV
        │   │       │   ├── [www-data www-data]  Backend
        │   │       │   │   ├── [www-data www-data]  AbstractBackend.php
        │   │       │   │   ├── [www-data www-data]  BackendInterface.php
        │   │       │   │   ├── [www-data www-data]  NotificationSupport.php
        │   │       │   │   ├── [www-data www-data]  PDO.php
        │   │       │   │   └── [www-data www-data]  SharingSupport.php
        │   │       │   ├── [www-data www-data]  CalendarObject.php
        │   │       │   ├── [www-data www-data]  Calendar.php
        │   │       │   ├── [www-data www-data]  CalendarQueryParser.php
        │   │       │   ├── [www-data www-data]  CalendarQueryValidator.php
        │   │       │   ├── [www-data www-data]  CalendarRootNode.php
        │   │       │   ├── [www-data www-data]  Exception
        │   │       │   │   └── [www-data www-data]  InvalidComponentType.php
        │   │       │   ├── [www-data www-data]  ICalendarObject.php
        │   │       │   ├── [www-data www-data]  ICalendar.php
        │   │       │   ├── [www-data www-data]  ICSExportPlugin.php
        │   │       │   ├── [www-data www-data]  IShareableCalendar.php
        │   │       │   ├── [www-data www-data]  ISharedCalendar.php
        │   │       │   ├── [www-data www-data]  Notifications
        │   │       │   │   ├── [www-data www-data]  Collection.php
        │   │       │   │   ├── [www-data www-data]  ICollection.php
        │   │       │   │   ├── [www-data www-data]  INode.php
        │   │       │   │   ├── [www-data www-data]  INotificationType.php
        │   │       │   │   ├── [www-data www-data]  Node.php
        │   │       │   │   └── [www-data www-data]  Notification
        │   │       │   │       ├── [www-data www-data]  Invite.php
        │   │       │   │       ├── [www-data www-data]  InviteReply.php
        │   │       │   │       └── [www-data www-data]  SystemStatus.php
        │   │       │   ├── [www-data www-data]  Plugin.php
        │   │       │   ├── [www-data www-data]  Principal
        │   │       │   │   ├── [www-data www-data]  Collection.php
        │   │       │   │   ├── [www-data www-data]  IProxyRead.php
        │   │       │   │   ├── [www-data www-data]  IProxyWrite.php
        │   │       │   │   ├── [www-data www-data]  ProxyRead.php
        │   │       │   │   ├── [www-data www-data]  ProxyWrite.php
        │   │       │   │   └── [www-data www-data]  User.php
        │   │       │   ├── [www-data www-data]  Property
        │   │       │   │   ├── [www-data www-data]  AllowedSharingModes.php
        │   │       │   │   ├── [www-data www-data]  Invite.php
        │   │       │   │   ├── [www-data www-data]  ScheduleCalendarTransp.php
        │   │       │   │   ├── [www-data www-data]  SupportedCalendarComponentSet.php
        │   │       │   │   ├── [www-data www-data]  SupportedCalendarData.php
        │   │       │   │   └── [www-data www-data]  SupportedCollationSet.php
        │   │       │   ├── [www-data www-data]  Schedule
        │   │       │   │   ├── [www-data www-data]  IMip.php
        │   │       │   │   ├── [www-data www-data]  IOutbox.php
        │   │       │   │   └── [www-data www-data]  Outbox.php
        │   │       │   ├── [www-data www-data]  ShareableCalendar.php
        │   │       │   ├── [www-data www-data]  SharedCalendar.php
        │   │       │   ├── [www-data www-data]  SharingPlugin.php
        │   │       │   ├── [www-data www-data]  UserCalendars.php
        │   │       │   └── [www-data www-data]  Version.php
        │   │       ├── [www-data www-data]  CardDAV
        │   │       │   ├── [www-data www-data]  AddressBook.php
        │   │       │   ├── [www-data www-data]  AddressBookQueryParser.php
        │   │       │   ├── [www-data www-data]  AddressBookRoot.php
        │   │       │   ├── [www-data www-data]  Backend
        │   │       │   │   ├── [www-data www-data]  AbstractBackend.php
        │   │       │   │   ├── [www-data www-data]  BackendInterface.php
        │   │       │   │   └── [www-data www-data]  PDO.php
        │   │       │   ├── [www-data www-data]  Card.php
        │   │       │   ├── [www-data www-data]  IAddressBook.php
        │   │       │   ├── [www-data www-data]  ICard.php
        │   │       │   ├── [www-data www-data]  IDirectory.php
        │   │       │   ├── [www-data www-data]  Plugin.php
        │   │       │   ├── [www-data www-data]  Property
        │   │       │   │   └── [www-data www-data]  SupportedAddressData.php
        │   │       │   ├── [www-data www-data]  UserAddressBooks.php
        │   │       │   ├── [www-data www-data]  VCFExportPlugin.php
        │   │       │   └── [www-data www-data]  Version.php
        │   │       ├── [www-data www-data]  DAV
        │   │       │   ├── [www-data www-data]  Auth
        │   │       │   │   ├── [www-data www-data]  Backend
        │   │       │   │   │   ├── [www-data www-data]  AbstractBasic.php
        │   │       │   │   │   ├── [www-data www-data]  AbstractDigest.php
        │   │       │   │   │   ├── [www-data www-data]  Apache.php
        │   │       │   │   │   ├── [www-data www-data]  BackendInterface.php
        │   │       │   │   │   ├── [www-data www-data]  File.php
        │   │       │   │   │   └── [www-data www-data]  PDO.php
        │   │       │   │   └── [www-data www-data]  Plugin.php
        │   │       │   ├── [www-data www-data]  Browser
        │   │       │   │   ├── [www-data www-data]  assets
        │   │       │   │   │   ├── [www-data www-data]  favicon.ico
        │   │       │   │   │   └── [www-data www-data]  icons
        │   │       │   │   │       ├── [www-data www-data]  addressbook.png
        │   │       │   │   │       ├── [www-data www-data]  calendar.png
        │   │       │   │   │       ├── [www-data www-data]  card.png
        │   │       │   │   │       ├── [www-data www-data]  collection.png
        │   │       │   │   │       ├── [www-data www-data]  file.png
        │   │       │   │   │       ├── [www-data www-data]  parent.png
        │   │       │   │   │       └── [www-data www-data]  principal.png
        │   │       │   │   ├── [www-data www-data]  GuessContentType.php
        │   │       │   │   ├── [www-data www-data]  MapGetToPropFind.php
        │   │       │   │   └── [www-data www-data]  Plugin.php
        │   │       │   ├── [www-data www-data]  Client.php
        │   │       │   ├── [www-data www-data]  Collection.php
        │   │       │   ├── [www-data www-data]  Exception
        │   │       │   │   ├── [www-data www-data]  BadRequest.php
        │   │       │   │   ├── [www-data www-data]  ConflictingLock.php
        │   │       │   │   ├── [www-data www-data]  Conflict.php
        │   │       │   │   ├── [www-data www-data]  FileNotFound.php
        │   │       │   │   ├── [www-data www-data]  Forbidden.php
        │   │       │   │   ├── [www-data www-data]  InsufficientStorage.php
        │   │       │   │   ├── [www-data www-data]  InvalidResourceType.php
        │   │       │   │   ├── [www-data www-data]  Locked.php
        │   │       │   │   ├── [www-data www-data]  LockTokenMatchesRequestUri.php
        │   │       │   │   ├── [www-data www-data]  MethodNotAllowed.php
        │   │       │   │   ├── [www-data www-data]  NotAuthenticated.php
        │   │       │   │   ├── [www-data www-data]  NotFound.php
        │   │       │   │   ├── [www-data www-data]  NotImplemented.php
        │   │       │   │   ├── [www-data www-data]  PaymentRequired.php
        │   │       │   │   ├── [www-data www-data]  PreconditionFailed.php
        │   │       │   │   ├── [www-data www-data]  ReportNotSupported.php
        │   │       │   │   ├── [www-data www-data]  RequestedRangeNotSatisfiable.php
        │   │       │   │   ├── [www-data www-data]  ServiceUnavailable.php
        │   │       │   │   └── [www-data www-data]  UnsupportedMediaType.php
        │   │       │   ├── [www-data www-data]  Exception.php
        │   │       │   ├── [www-data www-data]  File.php
        │   │       │   ├── [www-data www-data]  FS
        │   │       │   │   ├── [www-data www-data]  Directory.php
        │   │       │   │   ├── [www-data www-data]  File.php
        │   │       │   │   └── [www-data www-data]  Node.php
        │   │       │   ├── [www-data www-data]  FSExt
        │   │       │   │   ├── [www-data www-data]  Directory.php
        │   │       │   │   ├── [www-data www-data]  File.php
        │   │       │   │   └── [www-data www-data]  Node.php
        │   │       │   ├── [www-data www-data]  ICollection.php
        │   │       │   ├── [www-data www-data]  IExtendedCollection.php
        │   │       │   ├── [www-data www-data]  IFile.php
        │   │       │   ├── [www-data www-data]  INode.php
        │   │       │   ├── [www-data www-data]  IProperties.php
        │   │       │   ├── [www-data www-data]  IQuota.php
        │   │       │   ├── [www-data www-data]  Locks
        │   │       │   │   ├── [www-data www-data]  Backend
        │   │       │   │   │   ├── [www-data www-data]  AbstractBackend.php
        │   │       │   │   │   ├── [www-data www-data]  BackendInterface.php
        │   │       │   │   │   ├── [www-data www-data]  File.php
        │   │       │   │   │   ├── [www-data www-data]  FS.php
        │   │       │   │   │   └── [www-data www-data]  PDO.php
        │   │       │   │   ├── [www-data www-data]  LockInfo.php
        │   │       │   │   └── [www-data www-data]  Plugin.php
        │   │       │   ├── [www-data www-data]  Mount
        │   │       │   │   └── [www-data www-data]  Plugin.php
        │   │       │   ├── [www-data www-data]  Node.php
        │   │       │   ├── [www-data www-data]  ObjectTree.php
        │   │       │   ├── [www-data www-data]  PartialUpdate
        │   │       │   │   ├── [www-data www-data]  IFile.php
        │   │       │   │   └── [www-data www-data]  Plugin.php
        │   │       │   ├── [www-data www-data]  Property
        │   │       │   │   ├── [www-data www-data]  GetLastModified.php
        │   │       │   │   ├── [www-data www-data]  HrefList.php
        │   │       │   │   ├── [www-data www-data]  Href.php
        │   │       │   │   ├── [www-data www-data]  IHref.php
        │   │       │   │   ├── [www-data www-data]  LockDiscovery.php
        │   │       │   │   ├── [www-data www-data]  ResourceType.php
        │   │       │   │   ├── [www-data www-data]  ResponseList.php
        │   │       │   │   ├── [www-data www-data]  Response.php
        │   │       │   │   ├── [www-data www-data]  SupportedLock.php
        │   │       │   │   └── [www-data www-data]  SupportedReportSet.php
        │   │       │   ├── [www-data www-data]  PropertyInterface.php
        │   │       │   ├── [www-data www-data]  Property.php
        │   │       │   ├── [www-data www-data]  Server.php
        │   │       │   ├── [www-data www-data]  ServerPlugin.php
        │   │       │   ├── [www-data www-data]  SimpleCollection.php
        │   │       │   ├── [www-data www-data]  SimpleFile.php
        │   │       │   ├── [www-data www-data]  StringUtil.php
        │   │       │   ├── [www-data www-data]  TemporaryFileFilterPlugin.php
        │   │       │   ├── [www-data www-data]  Tree
        │   │       │   │   └── [www-data www-data]  Filesystem.php
        │   │       │   ├── [www-data www-data]  Tree.php
        │   │       │   ├── [www-data www-data]  URLUtil.php
        │   │       │   ├── [www-data www-data]  UUIDUtil.php
        │   │       │   ├── [www-data www-data]  Version.php
        │   │       │   └── [www-data www-data]  XMLUtil.php
        │   │       ├── [www-data www-data]  DAVACL
        │   │       │   ├── [www-data www-data]  AbstractPrincipalCollection.php
        │   │       │   ├── [www-data www-data]  Exception
        │   │       │   │   ├── [www-data www-data]  AceConflict.php
        │   │       │   │   ├── [www-data www-data]  NeedPrivileges.php
        │   │       │   │   ├── [www-data www-data]  NoAbstract.php
        │   │       │   │   ├── [www-data www-data]  NotRecognizedPrincipal.php
        │   │       │   │   └── [www-data www-data]  NotSupportedPrivilege.php
        │   │       │   ├── [www-data www-data]  IACL.php
        │   │       │   ├── [www-data www-data]  IPrincipalCollection.php
        │   │       │   ├── [www-data www-data]  IPrincipal.php
        │   │       │   ├── [www-data www-data]  Plugin.php
        │   │       │   ├── [www-data www-data]  PrincipalBackend
        │   │       │   │   ├── [www-data www-data]  AbstractBackend.php
        │   │       │   │   ├── [www-data www-data]  BackendInterface.php
        │   │       │   │   └── [www-data www-data]  PDO.php
        │   │       │   ├── [www-data www-data]  PrincipalCollection.php
        │   │       │   ├── [www-data www-data]  Principal.php
        │   │       │   ├── [www-data www-data]  Property
        │   │       │   │   ├── [www-data www-data]  Acl.php
        │   │       │   │   ├── [www-data www-data]  AclRestrictions.php
        │   │       │   │   ├── [www-data www-data]  CurrentUserPrivilegeSet.php
        │   │       │   │   ├── [www-data www-data]  Principal.php
        │   │       │   │   └── [www-data www-data]  SupportedPrivilegeSet.php
        │   │       │   └── [www-data www-data]  Version.php
        │   │       └── [www-data www-data]  HTTP
        │   │           ├── [www-data www-data]  AbstractAuth.php
        │   │           ├── [www-data www-data]  AWSAuth.php
        │   │           ├── [www-data www-data]  BasicAuth.php
        │   │           ├── [www-data www-data]  DigestAuth.php
        │   │           ├── [www-data www-data]  Request.php
        │   │           ├── [www-data www-data]  Response.php
        │   │           ├── [www-data www-data]  Util.php
        │   │           └── [www-data www-data]  Version.php
        │   ├── [www-data www-data]  LICENSE
        │   ├── [www-data www-data]  README.md
        │   └── [www-data www-data]  tests
        │       ├── [www-data www-data]  bootstrap.php
        │       ├── [www-data www-data]  composer.vobject3.json
        │       ├── [www-data www-data]  phpunit.xml
        │       └── [www-data www-data]  Sabre
        │           ├── [www-data www-data]  CalDAV
        │           │   ├── [www-data www-data]  Backend
        │           │   │   ├── [www-data www-data]  AbstractPDOTest.php
        │           │   │   ├── [www-data www-data]  AbstractTest.php
        │           │   │   ├── [www-data www-data]  Mock.php
        │           │   │   ├── [www-data www-data]  PDOMySQLTest.php
        │           │   │   └── [www-data www-data]  PDOSqliteTest.php
        │           │   ├── [www-data www-data]  CalendarObjectTest.php
        │           │   ├── [www-data www-data]  CalendarQueryParserTest.php
        │           │   ├── [www-data www-data]  CalendarQueryVAlarmTest.php
        │           │   ├── [www-data www-data]  CalendarQueryValidatorTest.php
        │           │   ├── [www-data www-data]  CalendarTest.php
        │           │   ├── [www-data www-data]  ExpandEventsDoubleEventsTest.php
        │           │   ├── [www-data www-data]  ExpandEventsDTSTARTandDTENDbyDayTest.php
        │           │   ├── [www-data www-data]  ExpandEventsDTSTARTandDTENDTest.php
        │           │   ├── [www-data www-data]  FreeBusyReportTest.php
        │           │   ├── [www-data www-data]  FreeBusyRequestTest.php
        │           │   ├── [www-data www-data]  GetEventsByTimerangeTest.php
        │           │   ├── [www-data www-data]  ICSExportPluginTest.php
        │           │   ├── [www-data www-data]  Issue166Test.php
        │           │   ├── [www-data www-data]  Issue172Test.php
        │           │   ├── [www-data www-data]  Issue203Test.php
        │           │   ├── [www-data www-data]  Issue205Test.php
        │           │   ├── [www-data www-data]  Issue211Test.php
        │           │   ├── [www-data www-data]  Issue220Test.php
        │           │   ├── [www-data www-data]  Issue228Test.php
        │           │   ├── [www-data www-data]  Notifications
        │           │   │   ├── [www-data www-data]  CollectionTest.php
        │           │   │   ├── [www-data www-data]  NodeTest.php
        │           │   │   └── [www-data www-data]  Notification
        │           │   │       ├── [www-data www-data]  InviteReplyTest.php
        │           │   │       ├── [www-data www-data]  InviteTest.php
        │           │   │       └── [www-data www-data]  SystemStatusTest.php
        │           │   ├── [www-data www-data]  OutboxPostTest.php
        │           │   ├── [www-data www-data]  PluginTest.php
        │           │   ├── [www-data www-data]  Principal
        │           │   │   ├── [www-data www-data]  CollectionTest.php
        │           │   │   ├── [www-data www-data]  ProxyReadTest.php
        │           │   │   ├── [www-data www-data]  ProxyWriteTest.php
        │           │   │   └── [www-data www-data]  UserTest.php
        │           │   ├── [www-data www-data]  Property
        │           │   │   ├── [www-data www-data]  AllowedSharingModesTest.php
        │           │   │   ├── [www-data www-data]  InviteTest.php
        │           │   │   ├── [www-data www-data]  ScheduleCalendarTranspTest.php
        │           │   │   ├── [www-data www-data]  SupportedCalendarComponentSetTest.php
        │           │   │   ├── [www-data www-data]  SupportedCalendarDataTest.php
        │           │   │   └── [www-data www-data]  SupportedCollationSetTest.php
        │           │   ├── [www-data www-data]  Schedule
        │           │   │   ├── [www-data www-data]  IMip
        │           │   │   │   └── [www-data www-data]  Mock.php
        │           │   │   └── [www-data www-data]  OutboxTest.php
        │           │   ├── [www-data www-data]  ShareableCalendarTest.php
        │           │   ├── [www-data www-data]  SharedCalendarTest.php
        │           │   ├── [www-data www-data]  SharingPluginTest.php
        │           │   ├── [www-data www-data]  TestUtil.php
        │           │   ├── [www-data www-data]  UserCalendarsSharedCalendarsTest.php
        │           │   ├── [www-data www-data]  UserCalendarsTest.php
        │           │   ├── [www-data www-data]  ValidateICalTest.php
        │           │   └── [www-data www-data]  VersionTest.php
        │           ├── [www-data www-data]  CardDAV
        │           │   ├── [www-data www-data]  AbstractPluginTest.php
        │           │   ├── [www-data www-data]  AddressBookQueryParserTest.php
        │           │   ├── [www-data www-data]  AddressBookQueryTest.php
        │           │   ├── [www-data www-data]  AddressBookRootTest.php
        │           │   ├── [www-data www-data]  AddressBookTest.php
        │           │   ├── [www-data www-data]  Backend
        │           │   │   ├── [www-data www-data]  AbstractPDOTest.php
        │           │   │   ├── [www-data www-data]  Mock.php
        │           │   │   ├── [www-data www-data]  PDOMySQLTest.php
        │           │   │   └── [www-data www-data]  PDOSqliteTest.php
        │           │   ├── [www-data www-data]  CardTest.php
        │           │   ├── [www-data www-data]  IDirectoryTest.php
        │           │   ├── [www-data www-data]  MultiGetTest.php
        │           │   ├── [www-data www-data]  PluginTest.php
        │           │   ├── [www-data www-data]  Property
        │           │   │   └── [www-data www-data]  SupportedAddressDataTest.php
        │           │   ├── [www-data www-data]  SogoStripContentTypeTest.php
        │           │   ├── [www-data www-data]  TestUtil.php
        │           │   ├── [www-data www-data]  UserAddressBooksTest.php
        │           │   ├── [www-data www-data]  ValidateFilterTest.php
        │           │   ├── [www-data www-data]  ValidateVCardTest.php
        │           │   ├── [www-data www-data]  VCFExportTest.php
        │           │   └── [www-data www-data]  VersionTest.php
        │           ├── [www-data www-data]  DAV
        │           │   ├── [www-data www-data]  AbstractServer.php
        │           │   ├── [www-data www-data]  Auth
        │           │   │   ├── [www-data www-data]  Backend
        │           │   │   │   ├── [www-data www-data]  AbstractBasicTest.php
        │           │   │   │   ├── [www-data www-data]  AbstractDigestTest.php
        │           │   │   │   ├── [www-data www-data]  AbstractPDOTest.php
        │           │   │   │   ├── [www-data www-data]  ApacheTest.php
        │           │   │   │   ├── [www-data www-data]  FileTest.php
        │           │   │   │   ├── [www-data www-data]  Mock.php
        │           │   │   │   ├── [www-data www-data]  PDOMySQLTest.php
        │           │   │   │   └── [www-data www-data]  PDOSqliteTest.php
        │           │   │   └── [www-data www-data]  PluginTest.php
        │           │   ├── [www-data www-data]  BasicNodeTest.php
        │           │   ├── [www-data www-data]  Browser
        │           │   │   ├── [www-data www-data]  GuessContentTypeTest.php
        │           │   │   ├── [www-data www-data]  MapGetToPropFindTest.php
        │           │   │   └── [www-data www-data]  PluginTest.php
        │           │   ├── [www-data www-data]  ClientMock.php
        │           │   ├── [www-data www-data]  ClientTest.php
        │           │   ├── [www-data www-data]  Exception
        │           │   │   ├── [www-data www-data]  LockedTest.php
        │           │   │   └── [www-data www-data]  PaymentRequiredTest.php
        │           │   ├── [www-data www-data]  ExceptionTest.php
        │           │   ├── [www-data www-data]  FSExt
        │           │   │   ├── [www-data www-data]  FileTest.php
        │           │   │   ├── [www-data www-data]  NodeTest.php
        │           │   │   └── [www-data www-data]  ServerTest.php
        │           │   ├── [www-data www-data]  HTTPPreferParsingTest.php
        │           │   ├── [www-data www-data]  Issue33Test.php
        │           │   ├── [www-data www-data]  Locks
        │           │   │   ├── [www-data www-data]  Backend
        │           │   │   │   ├── [www-data www-data]  AbstractTest.php
        │           │   │   │   ├── [www-data www-data]  FileTest.php
        │           │   │   │   ├── [www-data www-data]  FSTest.php
        │           │   │   │   ├── [www-data www-data]  PDOMySQLTest.php
        │           │   │   │   └── [www-data www-data]  PDOTest.php
        │           │   │   ├── [www-data www-data]  GetIfConditionsTest.php
        │           │   │   ├── [www-data www-data]  MSWordTest.php
        │           │   │   └── [www-data www-data]  PluginTest.php
        │           │   ├── [www-data www-data]  Mount
        │           │   │   └── [www-data www-data]  PluginTest.php
        │           │   ├── [www-data www-data]  ObjectTreeTest.php
        │           │   ├── [www-data www-data]  PartialUpdate
        │           │   │   ├── [www-data www-data]  FileMock.php
        │           │   │   └── [www-data www-data]  PluginTest.php
        │           │   ├── [www-data www-data]  Property
        │           │   │   ├── [www-data www-data]  GetLastModifiedTest.php
        │           │   │   ├── [www-data www-data]  HrefListTest.php
        │           │   │   ├── [www-data www-data]  HrefTest.php
        │           │   │   ├── [www-data www-data]  ResourceTypeTest.php
        │           │   │   ├── [www-data www-data]  ResponseListTest.php
        │           │   │   ├── [www-data www-data]  ResponseTest.php
        │           │   │   └── [www-data www-data]  SupportedReportSetTest.php
        │           │   ├── [www-data www-data]  ServerCopyMoveTest.php
        │           │   ├── [www-data www-data]  ServerEventsTest.php
        │           │   ├── [www-data www-data]  ServerFinderBlockTest.php
        │           │   ├── [www-data www-data]  ServerMKCOLTest.php
        │           │   ├── [www-data www-data]  ServerPluginTest.php
        │           │   ├── [www-data www-data]  ServerPreconditionTest.php
        │           │   ├── [www-data www-data]  ServerPropsTest.php
        │           │   ├── [www-data www-data]  ServerRangeTest.php
        │           │   ├── [www-data www-data]  ServerSimpleTest.php
        │           │   ├── [www-data www-data]  ServerUpdatePropertiesTest.php
        │           │   ├── [www-data www-data]  SimpleFileTest.php
        │           │   ├── [www-data www-data]  StringUtilTest.php
        │           │   ├── [www-data www-data]  TemporaryFileFilterTest.php
        │           │   ├── [www-data www-data]  TestPlugin.php
        │           │   ├── [www-data www-data]  Tree
        │           │   │   └── [www-data www-data]  FilesystemTest.php
        │           │   ├── [www-data www-data]  TreeTest.php
        │           │   ├── [www-data www-data]  URLUtilTest.php
        │           │   ├── [www-data www-data]  UUIDUtilTest.php
        │           │   └── [www-data www-data]  XMLUtilTest.php
        │           ├── [www-data www-data]  DAVACL
        │           │   ├── [www-data www-data]  ACLMethodTest.php
        │           │   ├── [www-data www-data]  AllowAccessTest.php
        │           │   ├── [www-data www-data]  BlockAccessTest.php
        │           │   ├── [www-data www-data]  Exception
        │           │   │   ├── [www-data www-data]  AceConflictTest.php
        │           │   │   ├── [www-data www-data]  NeedPrivilegesExceptionTest.php
        │           │   │   ├── [www-data www-data]  NoAbstractTest.php
        │           │   │   ├── [www-data www-data]  NotRecognizedPrincipalTest.php
        │           │   │   └── [www-data www-data]  NotSupportedPrivilegeTest.php
        │           │   ├── [www-data www-data]  ExpandPropertiesTest.php
        │           │   ├── [www-data www-data]  MockACLNode.php
        │           │   ├── [www-data www-data]  MockPrincipal.php
        │           │   ├── [www-data www-data]  PluginAdminTest.php
        │           │   ├── [www-data www-data]  PluginPropertiesTest.php
        │           │   ├── [www-data www-data]  PluginUpdatePropertiesTest.php
        │           │   ├── [www-data www-data]  PrincipalBackend
        │           │   │   ├── [www-data www-data]  AbstractPDOTest.php
        │           │   │   ├── [www-data www-data]  Mock.php
        │           │   │   ├── [www-data www-data]  PDOMySQLTest.php
        │           │   │   └── [www-data www-data]  PDOSqliteTest.php
        │           │   ├── [www-data www-data]  PrincipalCollectionTest.php
        │           │   ├── [www-data www-data]  PrincipalPropertySearchTest.php
        │           │   ├── [www-data www-data]  PrincipalSearchPropertySetTest.php
        │           │   ├── [www-data www-data]  PrincipalTest.php
        │           │   ├── [www-data www-data]  Property
        │           │   │   ├── [www-data www-data]  ACLRestrictionsTest.php
        │           │   │   ├── [www-data www-data]  ACLTest.php
        │           │   │   ├── [www-data www-data]  CurrentUserPrivilegeSetTest.php
        │           │   │   ├── [www-data www-data]  PrincipalTest.php
        │           │   │   └── [www-data www-data]  SupportedPrivilegeSetTest.php
        │           │   ├── [www-data www-data]  SimplePluginTest.php
        │           │   └── [www-data www-data]  VersionTest.php
        │           ├── [www-data www-data]  DAVServerTest.php
        │           ├── [www-data www-data]  HTTP
        │           │   ├── [www-data www-data]  AWSAuthTest.php
        │           │   ├── [www-data www-data]  BasicAuthTest.php
        │           │   ├── [www-data www-data]  DigestAuthTest.php
        │           │   ├── [www-data www-data]  RequestTest.php
        │           │   ├── [www-data www-data]  ResponseMock.php
        │           │   ├── [www-data www-data]  ResponseTest.php
        │           │   ├── [www-data www-data]  UtilTest.php
        │           │   └── [www-data www-data]  VersionTest.php
        │           └── [www-data www-data]  TestUtil.php
        └── [www-data www-data]  vobject
            ├── [www-data www-data]  bin
            │   ├── [www-data www-data]  bench.php
            │   ├── [www-data www-data]  generateicalendardata.php
            │   └── [www-data www-data]  vobjectvalidate.php
            ├── [www-data www-data]  ChangeLog
            ├── [www-data www-data]  composer.json
            ├── [www-data www-data]  lib
            │   └── [www-data www-data]  Sabre
            │       └── [www-data www-data]  VObject
            │           ├── [www-data www-data]  Component
            │           │   ├── [www-data www-data]  VAlarm.php
            │           │   ├── [www-data www-data]  VCalendar.php
            │           │   ├── [www-data www-data]  VCard.php
            │           │   ├── [www-data www-data]  VEvent.php
            │           │   ├── [www-data www-data]  VFreeBusy.php
            │           │   ├── [www-data www-data]  VJournal.php
            │           │   └── [www-data www-data]  VTodo.php
            │           ├── [www-data www-data]  Component.php
            │           ├── [www-data www-data]  DateTimeParser.php
            │           ├── [www-data www-data]  Document.php
            │           ├── [www-data www-data]  ElementList.php
            │           ├── [www-data www-data]  FreeBusyGenerator.php
            │           ├── [www-data www-data]  includes.php
            │           ├── [www-data www-data]  Node.php
            │           ├── [www-data www-data]  Parameter.php
            │           ├── [www-data www-data]  ParseException.php
            │           ├── [www-data www-data]  Property
            │           │   ├── [www-data www-data]  Compound.php
            │           │   ├── [www-data www-data]  DateTime.php
            │           │   └── [www-data www-data]  MultiDateTime.php
            │           ├── [www-data www-data]  Property.php
            │           ├── [www-data www-data]  Reader.php
            │           ├── [www-data www-data]  RecurrenceIterator.php
            │           ├── [www-data www-data]  Splitter
            │           │   ├── [www-data www-data]  ICalendar.php
            │           │   ├── [www-data www-data]  SplitterInterface.php
            │           │   └── [www-data www-data]  VCard.php
            │           ├── [www-data www-data]  StringUtil.php
            │           ├── [www-data www-data]  TimeZoneUtil.php
            │           └── [www-data www-data]  Version.php
            ├── [www-data www-data]  LICENSE
            ├── [www-data www-data]  README.md
            └── [www-data www-data]  tests
                ├── [www-data www-data]  bootstrap.php
                ├── [www-data www-data]  phpunit.xml
                └── [www-data www-data]  Sabre
                    └── [www-data www-data]  VObject
                        ├── [www-data www-data]  Component
                        │   ├── [www-data www-data]  VAlarmTest.php
                        │   ├── [www-data www-data]  VCalendarTest.php
                        │   ├── [www-data www-data]  VCardTest.php
                        │   ├── [www-data www-data]  VEventTest.php
                        │   ├── [www-data www-data]  VFreeBusyTest.php
                        │   ├── [www-data www-data]  VJournalTest.php
                        │   └── [www-data www-data]  VTodoTest.php
                        ├── [www-data www-data]  ComponentTest.php
                        ├── [www-data www-data]  DateTimeParserTest.php
                        ├── [www-data www-data]  DocumentTest.php
                        ├── [www-data www-data]  ElementListTest.php
                        ├── [www-data www-data]  EmClientTest.php
                        ├── [www-data www-data]  FreeBusyGeneratorTest.php
                        ├── [www-data www-data]  Issue153Test.php
                        ├── [www-data www-data]  issue153.vcf
                        ├── [www-data www-data]  Issue154Test.php
                        ├── [www-data www-data]  Issue48Test.php
                        ├── [www-data www-data]  Issue50Test.php
                        ├── [www-data www-data]  ParameterTest.php
                        ├── [www-data www-data]  Property
                        │   ├── [www-data www-data]  CompoundTest.php
                        │   ├── [www-data www-data]  DateTimeTest.php
                        │   └── [www-data www-data]  MultiDateTimeTest.php
                        ├── [www-data www-data]  PropertyTest.php
                        ├── [www-data www-data]  ReaderTest.php
                        ├── [www-data www-data]  RecurrenceIteratorFifthTuesdayProblemTest.php
                        ├── [www-data www-data]  RecurrenceIteratorIncorrectExpandTest.php
                        ├── [www-data www-data]  RecurrenceIteratorInfiniteLoopProblemTest.php
                        ├── [www-data www-data]  RecurrenceIteratorMinusOneProblemTest.php
                        ├── [www-data www-data]  RecurrenceIteratorMissingOverriddenTest.php
                        ├── [www-data www-data]  RecurrenceIteratorTest.php
                        ├── [www-data www-data]  SlashRTest.php
                        ├── [www-data www-data]  Splitter
                        │   ├── [www-data www-data]  ICalendarTest.php
                        │   └── [www-data www-data]  VCardTest.php
                        ├── [www-data www-data]  StringUtilTest.php
                        ├── [www-data www-data]  TimeZoneUtilTest.php
                        └── [www-data www-data]  VersionTest.php

@llebegue
Copy link
Author

Could it have anything to do with apache 2.4 ? It was running smoothly on apache 2.2

@evert
Copy link
Member

evert commented Jan 21, 2016

I think that's highly doubtful, you're getting a clear PHP error.

@llebegue
Copy link
Author

And admin page can detect that there is one user declared :
screenshot from 2016-01-21 21 37 32
screenshot from 2016-01-21 21 38 29

@evert
Copy link
Member

evert commented Jan 21, 2016

I'm running out of ideas :( I guess there's nothing interesting in the error logs either?

@llebegue
Copy link
Author

display-errors is On in php.ini file but I don't know where to find these logs ... I'm not familiar with php ;-)

@evert
Copy link
Member

evert commented Jan 21, 2016

On most systems php errors would just appear in the apache error log. The thing I'm really looking for is an error thrown specifically by PDO /Sqlite3.

@llebegue
Copy link
Author

There are many lines in logs file but they don't contain more information than in my original post.

ser.log.1:Jan 16 20:05:24 my.server.com apache2: PHP Fatal error:  Call to a member function execute() on boolean in /var/www/baikal/vendor/sabre/dav/lib/Sabre/DAVACL/PrincipalBackend/PDO.php on line 161
user.log.1:Jan 16 20:05:41 my.server.com apache2: PHP Fatal error:  Call to a member function execute() on boolean in /var/www/baikal/vendor/sabre/dav/lib/Sabre/DAVACL/PrincipalBackend/PDO.php on line 161
user.log.1:Jan 16 20:09:20 my.server.com apache2: PHP Fatal error:  Call to a member function execute() on boolean in /var/www/baikal/vendor/sabre/dav/lib/Sabre/DAVACL/PrincipalBackend/PDO.php on line 161
user.log.1:Jan 16 20:09:20 my.server.com apache2: PHP Fatal error:  Call to a member function execute() on boolean in /var/www/baikal/vendor/sabre/dav/lib/Sabre/DAVACL/PrincipalBackend/PDO.php on line 161
user.log.1:Jan 16 20:09:20 my.server.com apache2: PHP Fatal error:  Call to a member function execute() on boolean in /var/www/baikal/vendor/sabre/dav/lib/Sabre/DAVACL/PrincipalBackend/PDO.php on line 161
user.log.1:Jan 16 20:10:07 my.server.com apache2: PHP Fatal error:  Call to a member function execute() on boolean in /var/www/baikal/vendor/sabre/dav/lib/Sabre/DAVACL/PrincipalBackend/PDO.php on line 161
user.log.1:Jan 16 20:10:08 my.server.com apache2: PHP Fatal error:  Call to a member function execute() on boolean in /var/www/baikal/vendor/sabre/dav/lib/Sabre/DAVACL/PrincipalBackend/PDO.php on line 161
user.log.1:Jan 16 20:10:08 my.server.com apache2: PHP Fatal error:  Call to a member function execute() on boolean in /var/www/baikal/vendor/sabre/dav/lib/Sabre/DAVACL/PrincipalBackend/PDO.php on line 161
user.log.1:Jan 16 20:44:51 my.server.com apache2: PHP Fatal error:  Call to a member function execute() on boolean in /var/www/baikal/vendor/sabre/dav/lib/Sabre/DAVACL/PrincipalBackend/PDO.php on line 161
user.log.1:Jan 16 20:44:51 my.server.com apache2: PHP Fatal error:  Call to a member function execute() on boolean in /var/www/baikal/vendor/sabre/dav/lib/Sabre/DAVACL/PrincipalBackend/PDO.php on line 161
user.log.1:Jan 16 20:44:51 my.server.com apache2: PHP Fatal error:  Call to a member function execute() on boolean in /var/www/baikal/vendor/sabre/dav/lib/Sabre/DAVACL/PrincipalBackend/PDO.php on line 161
user.log.1:Jan 16 20:45:27 my.server.com apache2: PHP Fatal error:  Call to a member function execute() on boolean in /var/www/baikal/vendor/sabre/dav/lib/Sabre/DAVACL/PrincipalBackend/PDO.php on line 161
user.log.1:Jan 16 20:45:27 my.server.com apache2: PHP Fatal error:  Call to a member function execute() on boolean in /var/www/baikal/vendor/sabre/dav/lib/Sabre/DAVACL/PrincipalBackend/PDO.php on line 161
user.log.1:Jan 16 20:45:27 my.server.com apache2: PHP Fatal error:  Call to a member function execute() on boolean in /var/www/baikal/vendor/sabre/dav/lib/Sabre/DAVACL/PrincipalBackend/PDO.php on line 161

@evert
Copy link
Member

evert commented Jan 21, 2016

Alright, I do have a hunch. I looks like baikal copies over a default sqlite database (from Db/Sqlite/db.sqlite) and uses that as a 'starting database'. I don't know how good of an idea that is. I have a feeling it could mess up if the sqlite used to create the file is not identical to the sqlite that you are running.

Since you are just getting started, I think I would recommend just re-creating the database manually.

You can do so by running:

sqlite3 Specific/db/db.sqlite < Core/Resources/Db/db.sqlite

Make sure you move the original database out of the way.
note that this creates a completely new database, and you need to re-create that username. I hope that's not too much trouble.

This might fix the problem, but I'm not 100% sure. If it does, we need to make sure that Baikal does this by default during installation.

@llebegue
Copy link
Author

sqlite3 Specific/db/db.sqlite < Core/Resources/Db/SQLite/db.sqlite
Error: incomplete SQL: SQLite format 3$    id integer primary key asc, 
    principaluri text, 
    displayname text, 
    uri text,
    ctag integer, 
    description text,
    calendarorder integer,
    calendarcolor text,
    timezone text,
    components text
, transparent bool)����++��utablecalendarobjectscalendarobjects�CREATE TABLE calendarobjects ( 
    id integer primary key asc, 
    calendardata blob, 
    uri text, 
    calendarid integer, 
    lastmodified integer
, etag text, size integer, componenttype text, firstoccurence integer, lastoccurence integer)�$������'tablecardscards�CREATE TABLE cards ( 
    id integer primary key asc, 
    addressbookid integer, 
    carddata blob, 
    uri text, 
    lastmodified integer
)�D��%%��Ktableaddressbooksaddressbooks�CREATE TABLE addressbooks (
    id integer primary key asc, 
    principaluri text, 
    displayname text, 
    uri text,
    description text,
    ctag integer
�� principals (
    id INTEGER PRIMARY KEY ASC,
    uri TEXT,
    email TEXT,
    displayname TEXT,
    vcardurl TEXT,
    UNIQUE(uri)
)�:�����Stablelockslocks�CREATE TABLE locks ( 
    id integer primary key asc, 
    owner text, 
    timeout integer, 
    created integer, 
    token text, 
    scope integer, 
    depth integer, 
    uri text
)�k id INTEGER PRIMARY KEY ASC,
    principal_id INTEGER,
    member_id INTEGER,
    UNIQUE(principal_id, member_id)
CREATE TABLE users (ableusersusers
    id integer primary key asc, 
    username TEXT,
    digesta1 TEXT,
    UNIQUE(username)
))
  ��=��

@evert
Copy link
Member

evert commented Jan 21, 2016

wow wtf.. there's somethign really weird going on with that output!

@llebegue
Copy link
Author

Looks like I agree with you ;)

@evert
Copy link
Member

evert commented Jan 21, 2016

no, wait.. I gave you the wrong command:

sqlite3 Specific/db/db.sqlite < Core/Resources/Db/db.sql

Note the missing 'ite' at the end. We need the orginal text .sql file

@llebegue
Copy link
Author

It did the trick !!!
I'll just have to repopulate the database ....

Thank you very much.

I'll make some real-life test cases and I'll tell you.

@evert evert added bug and removed question labels Jan 21, 2016
@evert
Copy link
Member

evert commented Jan 21, 2016

Great to hear. I'm keeping this ticket open because we need to prevent this from ever happening.

@evert evert added this to the version-0.3 milestone Jan 21, 2016
@evert evert self-assigned this Jan 21, 2016
@evert evert removed the branch1 label Jan 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants