{"action":"created","issue":{"url":"https://api.github.com/repos/nextcloud/calendar/issues/126","repository_url":"https://api.github.com/repos/nextcloud/calendar","labels_url":"https://api.github.com/repos/nextcloud/calendar/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/calendar/issues/126/comments","events_url":"https://api.github.com/repos/nextcloud/calendar/issues/126/events","html_url":"https://github.com/nextcloud/calendar/issues/126","id":182764498,"number":126,"title":"Entries which are entered in a shared calendar disappear","user":{"login":"razorfall","id":22813989,"avatar_url":"https://avatars.githubusercontent.com/u/22813989?v=3","gravatar_id":"","url":"https://api.github.com/users/razorfall","html_url":"https://github.com/razorfall","followers_url":"https://api.github.com/users/razorfall/followers","following_url":"https://api.github.com/users/razorfall/following{/other_user}","gists_url":"https://api.github.com/users/razorfall/gists{/gist_id}","starred_url":"https://api.github.com/users/razorfall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/razorfall/subscriptions","organizations_url":"https://api.github.com/users/razorfall/orgs","repos_url":"https://api.github.com/users/razorfall/repos","events_url":"https://api.github.com/users/razorfall/events{/privacy}","received_events_url":"https://api.github.com/users/razorfall/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nextcloud/calendar/labels/1%20-%20to%20develop","name":"1 - to develop","color":"C0E4C0"},{"url":"https://api.github.com/repos/nextcloud/calendar/labels/bug","name":"bug","color":"F92D33"},{"url":"https://api.github.com/repos/nextcloud/calendar/labels/needs%20info","name":"needs info","color":"FAC92F"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-10-13T11:29:46Z","updated_at":"2016-10-18T20:14:44Z","closed_at":null,"body":"Heyy guys,\r\n\r\nFirst of all, English is not my native language =)\r\n\r\nI hope you can help me with my issue!\r\n\r\n### Steps to reproduce\r\n1. User A creates a calendar and shares it with user B, who is in the same group.\r\n2. User B creates a calendar entry in this shared calendar.\r\n3. After a few seconds, the entry for user B disappears and is displayed at user A at the same time.\r\n4. User A creates an entry in his calendar, which is not displayed to user B.\r\n\r\n\r\n### Expected behaviour\r\nIt should be possible to create an entry in a shared calendar and both sides should be able to see this entry.\r\n\r\n### Actual behaviour\r\nThe owner of the shared calendar is always given the entries while the shared users can not see the entries.\r\nIt does not matter with which user I try this.\r\nInfo: none of the two users has admin rights.\r\n\r\n### Server configuration\r\n**Operating system**:\r\nUbuntu 16.04\r\n\r\n**Web server:**\r\nApache 2.4\r\n\r\n**Database:**\r\nMySQL\r\n\r\n**PHP version:**\r\n7.0\r\n\r\n**Server version:** (see your admin page)\r\nNextcloud 10.0.1 (stable)\r\n\r\n**Calendar version:** (see the apps page)\r\n1.4.0\r\n\r\n**Updated from an older installed version or fresh install:**\r\nFresh install\r\n\r\n**Signing status (ownCloud/Nextcloud 9.0 and above):**\r\n\r\n```\r\nNo errors have been found.\r\n```\r\n\r\n**List of activated apps:**\r\n\r\n```\r\nUSER@HOST:~$ sudo -u www-data php occ app:list\r\nCould not open input file: occ\r\n\r\n```\r\nManually copied:\r\n```\r\nActivity - 2.3.2\r\nAuditing / Logging - 1.0.0\r\nCollaborative tags - 1.0.2\r\nComments - 1.0.0\r\nDefault encryption module - 1.3.1\r\nDeleted files - 1.0.0\r\nFederation - 1.0.1\r\nFile sharing - 1.0.0\r\nFirst run wizard - 1.1\r\nGallery - 15.0.0\r\nNotifications - 0.3.0\r\nPassword policy - 1.0.0\r\nPDF viewer - 0.8.1\r\nProvisioning API - 1.0.0\r\nServer info - 1.1.1\r\nText editor - 2.1\r\nTheming - 1.0.1\r\nUpdate notification - 1.0.1\r\nUsage report - 0.1.5\r\nVersions - 1.3.0\r\nVideo player - 0.9.8\r\nBookmarks - 0.9.0\r\nCalendar - 1.4.0\r\nContacts - 1.4.0.0\r\nTasks - 0.9.3\r\n```\r\n**The content of config/config.php:**\r\n\r\n```\r\n<?php\r\n$CONFIG = array (\r\n  'instanceid' => 'PRIVATE',\r\n  'passwordsalt' => 'PRIVATE',\r\n  'secret' => 'PRIVATE',\r\n  'trusted_domains' => \r\n  array (\r\n    0 => 'MYDOMAIN',\r\n  ),\r\n  'datadirectory' => '/home/CLOUDFOLDER/data',\r\n  'overwrite.cli.url' => 'https://MYDOMAIN/NEXTCLOUD',\r\n  'dbtype' => 'mysql',\r\n  'version' => '9.1.1.5',\r\n  'dbname' => 'CLOUDDATABASE',\r\n  'dbhost' => 'localhost',\r\n  'dbport' => '',\r\n  'dbtableprefix' => 'DATABASEPREFIX',\r\n  'dbuser' => 'DATABASEUSER',\r\n  'dbpassword' => 'PRIVATE',\r\n  'logtimezone' => 'UTC',\r\n  'installed' => true,\r\n  'memcache.local' => '\\\\OC\\\\Memcache\\\\APCu',\r\n  'memcache.locking' => '\\\\OC\\\\Memcache\\\\Redis',\r\n  'memcache.distributed' => '\\\\OC\\\\Memcache\\\\Redis',\r\n  'filelocking.enabled' => 'true',\r\n  'redis' => \r\n  array (\r\n    'host' => 'localhost',\r\n    'port' => 6379,\r\n    'timeout' => 0.0,\r\n  ),\r\n  'loglevel' => 3,\r\n  'versions_retention_obligation' => 'auto',\r\n  'appcodechecker' => true,\r\n  'updatechecker' => true,\r\n  'updater.server.url' => 'https://updates.nextcloud.com/updater_server/',\r\n);\r\n```\r\n\r\n**Are you using external storage, if yes which one:**\r\n/home/Cloudfolder/data\r\n\r\n**Are you using encryption:** yes/no\r\nYes\r\n\r\n**Are you using an external user-backend, if yes which one:**\r\nWebdav\r\n\r\n### Client configuration\r\n**Browser:**\r\nFirefox\r\nAndroid Browser\r\n\r\n**Operating system:**\r\nWin7 64Bit\r\nAndroid 5 and 6\r\n\r\n**CalDAV-clients:**\r\nDavDroid 1.3.2.2\r\n\r\n### Logs\r\n#### Web server error log\r\n```\r\nThis log is too big (about 6500 lines) to upload @ pastebin.org\r\n```\r\n\r\n#### Log file (data/owncloud.log)\r\n```\r\n{\"reqId\":\"oQMHwd3XXtIIczPsm8ye\",\"remoteAddr\":\"IPADRESS\",\"app\":\"PHP\",\"message\":\"mkdir(): No such file or directory at \\/var\\/www\\/html\\/CLOUDFOLDER\\/lib\\/private\\/Setup.php#289\",\"level\":3,\"time\":\"2016-10-10T20:58:31+00:00\",\"method\":\"POST\",\"url\":\"\\/CLOUDFOLDER\\/index.php\",\"user\":\"--\"}\r\n{\"reqId\":\"aC5pWneMfRyb+SP2cGL8\",\"remoteAddr\":\"IPADRESS\",\"app\":\"PHP\",\"message\":\"mkdir(): No such file or directory at \\/var\\/www\\/html\\/CLOUDFOLDER\\/lib\\/private\\/Setup.php#289\",\"level\":3,\"time\":\"2016-10-10T21:00:11+00:00\",\"method\":\"POST\",\"url\":\"\\/CLOUDFOLDER\\/index.php\",\"user\":\"--\"}\r\n{\"reqId\":\"NEULxRLP2NxZdKXG52ou\",\"remoteAddr\":\"IPADRESS\",\"app\":\"mysql.setup\",\"message\":\"Specific user creation failed: An exception occurred while executing 'SELECT user FROM mysql.user WHERE user=?' with params [\\\"oc_USER\\\"]:\\n\\nSQLSTATE[42000]: Syntax error or access violation: 1142 SELECT command denied to user 'CLOUDFOLDERuser'@'localhost' for table 'user'\",\"level\":3,\"time\":\"2016-10-10T21:00:47+00:00\",\"method\":\"POST\",\"url\":\"\\/CLOUDFOLDER\\/index.php\",\"user\":\"--\"}\r\n{\"reqId\":\"NEULxRLP2NxZdKXG52ou\",\"remoteAddr\":\"IPADRESS\",\"app\":\"mysql.setup\",\"message\":\"Database creation failed: An exception occurred while executing 'GRANT ALL PRIVILEGES ON `CLOUDFOLDER` . * TO 'CLOUDFOLDERuser'':\\n\\nSQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user 'CLOUDFOLDERuser'@'localhost' to database 'CLOUDFOLDER'\",\"level\":3,\"time\":\"2016-10-10T21:00:47+00:00\",\"method\":\"POST\",\"url\":\"\\/CLOUDFOLDER\\/index.php\",\"user\":\"--\"}\r\n\r\n```\r\n\r\n#### Browser log\r\n```\r\nI don't know how to get this, sry =/\r\n```\r\n\r\n\r\n#### Edit:\r\n\r\nI've added all the protocols that I could find.\r\n\r\nI realized that my server runs on 4 GB RAM! o.O\r\nThis is the maximum of my vserver!\r\nAny ideas what's going on?\r\n\r\nI've also noticed that my weblog in nextcloud is only the following error:\r\n```\r\nError\tPHP\tUndefined index: MemAvailable at /var/www/html/nextcloud/apps/serverinfo/lib/SystemStatistics.php#85\t2016-10-14T05:01:04+00:00\tUSER\r\nError\tPHP\tUndefined index: MemAvailable at /var/www/html/nextcloud/apps/serverinfo/lib/SystemStatistics.php#85\t2016-10-14T05:01:04+00:00\tUSER\r\nError\tPHP\tUndefined index: MemAvailable at /var/www/html/nextcloud/apps/serverinfo/lib/SystemStatistics.php#85\t2016-10-14T05:01:02+00:00\tUSER\r\nError\tPHP\tUndefined index: MemAvailable at /var/www/html/nextcloud/apps/serverinfo/lib/SystemStatistics.php#85\t2016-10-14T05:00:54+00:00\tUSER\r\nError\tPHP\tUndefined index: MemAvailable at /var/www/html/nextcloud/apps/serverinfo/lib/SystemStatistics.php#85\t2016-10-14T05:00:53+00:00\tUSER\r\nError\tPHP\tUndefined index: MemAvailable at /var/www/html/nextcloud/apps/serverinfo/lib/SystemStatistics.php#85\t2016-10-14T05:00:52+00:00\tUSER\r\nError\tPHP\tUndefined index: MemAvailable at /var/www/html/nextcloud/apps/serverinfo/lib/SystemStatistics.php#85\t2016-10-14T05:00:51+00:00\tUSER\r\nError\tPHP\tUndefined index: MemAvailable at /var/www/html/nextcloud/apps/serverinfo/lib/SystemStatistics.php#85\t2016-10-14T05:00:50+00:00\tUSER\r\nError\tPHP\tUndefined index: MemAvailable at /var/www/html/nextcloud/apps/serverinfo/lib/SystemStatistics.php#85\t2016-10-14T05:00:49+00:00\tUSER\r\nError\tPHP\tUndefined index: MemAvailable at /var/www/html/nextcloud/apps/serverinfo/lib/SystemStatistics.php#85\t2016-10-14T05:00:48+00:00\tUSER\r\nError\tPHP\tUndefined index: MemAvailable at /var/www/html/nextcloud/apps/serverinfo/lib/SystemStatistics.php#85\t2016-10-14T05:00:47+00:00\tUSER\r\nError\tPHP\tUndefined index: MemAvailable at /var/www/html/nextcloud/apps/serverinfo/lib/SystemStatistics.php#85\t2016-10-14T05:00:46+00:00\tUSER\r\nError\tPHP\tUndefined index: MemAvailable at /var/www/html/nextcloud/apps/serverinfo/lib/SystemStatistics.php#85\t2016-10-14T05:00:45+00:00\tUSER\r\n```\r\n\r\nGreetz\r\nrazorfall"},"comment":{"url":"https://api.github.com/repos/nextcloud/calendar/issues/comments/254625806","html_url":"https://github.com/nextcloud/calendar/issues/126#issuecomment-254625806","issue_url":"https://api.github.com/repos/nextcloud/calendar/issues/126","id":254625806,"user":{"login":"razorfall","id":22813989,"avatar_url":"https://avatars.githubusercontent.com/u/22813989?v=3","gravatar_id":"","url":"https://api.github.com/users/razorfall","html_url":"https://github.com/razorfall","followers_url":"https://api.github.com/users/razorfall/followers","following_url":"https://api.github.com/users/razorfall/following{/other_user}","gists_url":"https://api.github.com/users/razorfall/gists{/gist_id}","starred_url":"https://api.github.com/users/razorfall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/razorfall/subscriptions","organizations_url":"https://api.github.com/users/razorfall/orgs","repos_url":"https://api.github.com/users/razorfall/repos","events_url":"https://api.github.com/users/razorfall/events{/privacy}","received_events_url":"https://api.github.com/users/razorfall/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T20:14:43Z","updated_at":"2016-10-18T20:14:43Z","body":"@georgehrke I mentioned before, that I use DavDroid:\r\n```\r\nCalDAV-clients:\r\nDavDroid 1.3.2.2\r\n´´´\r\nBut I'm not sure where the source of this problem lies."}}
{"actor":{"display_login":"razorfall"}}