Calendar missing from user after upgrade but still visible to those it was shared to
Created by: chenein
Steps to reproduce
Have not tried to reproduce (don't have a spare server) but what I did was
- Had a working OwnCloud 8 installation with calendar app installed
- Had 2 users: A and B with 1 calendar each
- Shared these calendars between the users (i.e. A->B, B->A) as read-only
- Upgrade to OwnCloud 9.0.0 (Have since upgraded to 9.0.1 and problem remains unchanged.)
Expected behaviour
Upon re-enabling new Calendar application, user A should see calendars A and B, and user B should also see Calendars A and B. Just as before.
Actual behaviour
- User A sees calendars A and B (B's calendar is shown correctly as a subscription in A's account)
- However, User B does not see any calendars (neither A's nor B's).
This is odd. I could understand if the calendar had been lost, but A sees B's shared calendar just fine. But to B it is as if they have never created any calendar, and they can't see A's either.
Server configuration
Operating system: FreeBSD 9.3
Web server: Apache 2.4.18
Database: mysql 5.6.30
PHP version: 5.6.20, Zend Engine v2.6.0, with Zend OPcache v7.0.6-dev
ownCloud version: (see ownCloud admin page) 9.0.1 (stable)
Calendar version: (see ownCloud apps page) 1.1
Updated from an older ownCloud or fresh install: Upgrade
Signing status (ownCloud 9.0 and above):
No errors have been found.
List of activated apps:
Enabled:
- activity: 2.2.1
- calendar: true
- comments: 0.2
- contacts: true
- dav: 0.1.6
- external: 1.2
- federatedfilesharing: 0.1.0
- federation: 0.0.4
- files: 1.4.4
- files_pdfviewer: 0.8
- files_sharing: 0.9.1
- files_texteditor: 2.1
- files_trashbin: 0.8.0
- files_versions: 1.2.0
- files_videoplayer: 0.9.8
- firstrunwizard: 1.1
- gallery: 14.5.0
- notifications: 0.2.3
- provisioning_api: 0.4.1
- systemtags: 0.2
- templateeditor: 0.1
- updatenotification: 0.1.0 Disabled:
- encryption
- files_external
- user_external
- user_ldap
The content of config/config.php:
{ "system": { "instanceid": "oce64cdb2f04", "passwordsalt": "REMOVED SENSITIVE VALUE", "secret": "REMOVED SENSITIVE VALUE", "trusted_domains": [ "secure.orange-carb.org" ], "datadirectory": "/usr/local/owncloud-data", "overwrite.cli.url": "https://secure.orange-carb.org/owncloud", "overwritewebroot": "/owncloud", "dbtype": "mysql", "version": "9.0.1.3", "dbname": "owncloud", "dbhost": "127.0.0.1", "dbtableprefix": "oc_", "dbuser": "REMOVED SENSITIVE VALUE", "dbpassword": "REMOVED SENSITIVE VALUE", "installed": true, "forcessl": true, "mail_smtpmode": "sendmail", "mail_from_address": "owncloud", "mail_domain": "orange-carb.org", "memcache.local": "\OC\Memcache\APCu", "defaultapp": "calendar", "theme": "", "maintenance": false, "loglevel": 2, "trashbin_retention_obligation": "auto" } }
Are you using external storage, if yes which one: local/smb/sftp/...
local
Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no
Client configuration
Browser: Safari
Operating system: Mac OS X
CalDAV-clients: Apple Calendar, Android CalDAV-Sync
Logs
Web server error log
Nothing relevant
ownCloud log (data/owncloud.log)
{"reqId":"UZrfDeunWFAQb3/39DM2","remoteAddr":"10.0.2.1","app":"OCP\Share","message":"Sharing backend for principals not found","level":3,"time":"2016-05-06T01:48:13+00:00","method":"GET","url":"/owncloud/ocs/v1.php/apps/files_sharing/api/v1/sharees?format=json&search=j&perPage=200&itemType=principals","user":"cmh"} {"reqId":"BZqcOmr70gvT4kMqSEsu","remoteAddr":"10.0.2.1","app":"OCP\Share","message":"Sharing backend for principals not found","level":3,"time":"2016-05-06T01:48:13+00:00","method":"GET","url":"/owncloud/ocs/v1.php/apps/files_sharing/api/v1/sharees?format=json&search=je&perPage=200&itemType=principals","user":"cmh"} {"reqId":"3ro6XfVNQYyGeqwS+lty","remoteAddr":"10.0.2.1","app":"OCP\Share","message":"Sharing backend for principals not found","level":3,"time":"2016-05-06T01:48:13+00:00","method":"GET","url":"/owncloud/ocs/v1.php/apps/files_sharing/api/v1/sharees?format=json&search=jes&perPage=200&itemType=principals","user":"cmh"} {"reqId":"irnt9dL6YpBHUnAna1IV","remoteAddr":"10.0.2.1","app":"OCP\Share","message":"Sharing backend for principals not found","level":3,"time":"2016-05-06T01:48:14+00:00","method":"GET","url":"/owncloud/ocs/v1.php/apps/files_sharing/api/v1/sharees?format=json&search=jesc&perPage=200&itemType=principals","user":"cmh"} {"reqId":"1UZkMpmjQD2MKc1JGtx/","remoteAddr":"10.0.2.1","app":"OCP\Share","message":"Sharing backend for principals not found","level":3,"time":"2016-05-06T01:48:14+00:00","method":"GET","url":"/owncloud/ocs/v1.php/apps/files_sharing/api/v1/sharees?format=json&search=jesch&perPage=200&itemType=principals","user":"cmh"} {"reqId":"DvagbazUuySGX7TB6DhL","remoteAddr":"10.0.2.1","app":"OCP\Share","message":"Sharing backend for principals not found","level":3,"time":"2016-05-06T01:48:14+00:00","method":"GET","url":"/owncloud/ocs/v1.php/apps/files_sharing/api/v1/sharees?format=json&search=jesche&perPage=200&itemType=principals","user":"cmh"} {"reqId":"KvoFSa2H0Dd+Bpmo2rDy","remoteAddr":"10.0.2.1","app":"OCP\Share","message":"Sharing backend for principals not found","level":3,"time":"2016-05-06T01:48:15+00:00","method":"GET","url":"/owncloud/ocs/v1.php/apps/files_sharing/api/v1/sharees?format=json&search=jeschel&perPage=200&itemType=principals","user":"cmh"}
Browser log
Nothing in javascript console.