Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Failing CalDav synchronization #115

Open
MaggiWuerze opened this issue Apr 8, 2023 · 6 comments
Open

Failing CalDav synchronization #115

MaggiWuerze opened this issue Apr 8, 2023 · 6 comments

Comments

@MaggiWuerze
Copy link

Since updating to the latest version syncing my calendar with DavX5 fails with a "server side error"

Looking in the Nextcloud protocol it says:

Allowed memory size of 536870912 bytes exhausted (tried to allocate 4096 bytes) at /nextcloud/3rdparty/sabre/vobject/lib/Recur/RRuleIterator.php#680

@MaggiWuerze
Copy link
Author

MaggiWuerze commented Apr 9, 2023

Increasing the MEMORY_LIMIT to 1G did not help as it just ran past that:
Allowed memory size of 1073741824 bytes exhausted (tried to allocate 4096 bytes) at /nextcloud/3rdparty/sabre/vobject/lib/Recur/RRuleIterator.php#680
Neither did 2G:
Allowed memory size of 2147483648 bytes exhausted (tried to allocate 4096 bytes) at /nextcloud/3rdparty/sabre/vobject/lib/Recur/RRuleIterator.php#680

@MaggiWuerze
Copy link
Author

Also opened a PR on nextcloud/server, since there are a couple of similar issues:
nextcloud/server#37673

@jmhbnz
Copy link

jmhbnz commented May 14, 2023

Hey @MaggiWuerze - I was able to resolve this situation temporarily by disabling PHP hardening, refer: acfab6c

@MaggiWuerze
Copy link
Author

@jmhbnz So you build the image yourself with those changes? Or would it be possible to add that change without rebuilding?

@jmhbnz
Copy link

jmhbnz commented May 17, 2023

A rebuild is required, my process is:

git clone https://github.com/jmhbnz/docker-nextcloud
cd docker-nextcloud
podman build -t ghcr.io/jmhbnz/nextcloud:25.0.5 .

Then you can just update your compose file to use your new locally available tagged image ghcr.io/jmhbnz/nextcloud:25.0.5.

Edit: Perhaps in future this could be a customisation via https://github.com/Wonderfall/docker-nextcloud#build-time-variables

@MaggiWuerze
Copy link
Author

That worked, thanks for the help. At least now I can still sync until this is fixed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants