I upgraded NC some days ago from 11.0.3 to 12 BETA3 and moved back because of calendar loading problems.
Yesterday I updated again 11.0.3 to 12 final (over Beta channel) and am still having the same calendar problem:
“Calendar loading..” icon turning endlessly, not loading calendar.
“php-fpm” eating up an entire CPU of the VM. This happens per loaded calendar instance, when I start multiple sessions in same or different browser, each php-fpm eats up 100% of a CPU.
I have tried to avoid my reverse proxy for troubleshooting and browsed directly to http:/ip-of-server , but same problem.
System VM:
Debian 9 - SMP Debian 3.16.43-2
Apache/2.4.10 (Debian)
PHP 7.0.19-1~dotdeb+8.1
$OC_Version = array(12,0,0,27);
$OC_Build = '2017-05-21T15:21:48+00:00
Clients:
Browsers used: Firefox 53.0.2 x64, Iridium 58
Browsing OS: Win7, Deb 9
CalDav Synchronisation has aswell a problem.
“top” on NC server:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1730 web-user 20 0 730064 62816 43576 R 100.0 4.9 3:44.48 php-fpm: pool www +
1813 web-user 20 0 728080 59952 42656 S 2.0 4.7 1:13.36 php-fpm: pool www +
1210 web-user 20 0 727156 55436 40616 S 1.7 4.3 1:24.42 php-fpm: pool www +
Hi @werki - I’m right now on a trip to check @steffen s hint, and since his posting I had to reconfigure my nextcloud DB, killed my nextcloud VM, because I updated my cluster (another challenge), had some other infrastructure problems and was only able to restore the VM 5 mins ago… man, man
So i’ll now be able to try to add the ‘publicuri’ field to ‘oc_dav_shares’ and let you know.
edit: I will not try to add the column, as I just saw you do have that field and it still doesn’t work.
{“reqId”:“ICgV9TItYUixHmTXZx44”,“level”:0,“time”:“2017-05-24T21:47:36+00:00”,“remoteAddr”:“12.34.56.78”,“user”:"–",“app”:“webdav”,“method”:“REPORT”,“url”:"/remote.php/dav/calendars/user/default%20calendar/",“message”:“Exception: {“Message”:“HTTP\/1.1 401 No public access to this resource., No ‘Authorization: Bearer’ header found. Either the client didn’t send one, or the server is mis-configured, No ‘Authorization: Basic’ header found. Either the client didn’t send one, or the server is misconfigured”,“Exception”:“Sabre\\DAV\\Exception\\NotAuthenticated”,“Code”:0,“Trace”:”#0 [internal function]: Sabre\\DAV\\Auth\\Plugin->beforeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#1 \/srv\/http\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#2 \/srv\/http\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(466): Sabre\\Event\\EventEmitter->emit(‘beforeMethod’, Array)\n#3 \/srv\/http\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#4 \/srv\/http\/nextcloud\/apps\/dav\/lib\/Server.php(253): Sabre\\DAV\\Server->exec()\n#5 \/srv\/http\/nextcloud\/apps\/dav\/appinfo\/v2\/remote.php(33): OCA\\DAV\\Server->exec()\n#6 \/srv\/http\/nextcloud\/remote.php(162): require_once(’\/srv\/http\/nextc…’)\n#7 {main}",“File”:"\/srv\/http\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php",“Line”:168,“User”:false}",“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0”,“version”:“12.0.0.29”}
After a new attempt to upgrade 11.0.3 to 12.0.final, calendar loading still doesn’t complete and php-fpm CPU usage still goes to 100% (per calendar loading attempt).
FF Console additionally shows:
Error in parsing value for ‘top’. Declaration dropped. calendar
Error in parsing value for ‘left’. Declaration dropped. calendar
And:
“
JQMIGRATE: Migrate is installed, version 1.4.0 core.js:7:542
"Deprecation warning: use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info.” core.js:1563:2834
/remote.php/dav/calendars/ncuser01/defaultalendar/
"
“/defaultalendar/” ?? for “Default Calendar”?? Is there something missing? Or is there something about a NC message, just after upgrade, for MySQL like “convert to UTF8…”?
The same here. After Upgrade, calendar is not working anymore. Some of the calendars working, others (shared or not) infinite spin and 100% CPU Load.
This is a serious issue for me, because nextcloud-installation is prodactiv.
Is ist possible do downgrade the installation without any loss?
I’m not sure, if downgrading is possible without a lot of hassle…
I’m lucky to be able to create VM snapshots, before I upgrade. Additionally I’ve got nightly DB and data backup scripts. Without those I think I’d be lost.
My new attempt to upgrade 11.0.3 to 12.0.x still gives the same calendar loading issues. No entries in Webui Logviewer.
Webconsole shows:
JQMIGRATE: Migrate is installed, version 1.4.0 core.js:7:542
"Deprecation warning: use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info." core.js:1563:2834
/remote.php/dav/calendars/ncuser01/defaultalendar/
Config.php is configured with respect to my reverse proxy.