OwnCloud CardDAV is frozen
from gedaliyah@lemmy.world to selfhosted@lemmy.world on 19 Jul 23:18
https://lemmy.world/post/33199802

Does anybody here use ownCloud?

I know it’s less popular than NextCloud, and I understand the reasons, but I’m not interested in setting up nextcloud at the moment.

I had owncloud contacts working very well and syncing across my devices through tailscale. Unfortunately, after updating some contacts, the entire contact functionality seems to be frozen. I have my contacts backed up on another device, so I’m fine with wiping it and starting over, but I don’t want to erase my calendar or files that are also hosted through ownCloud.

I haven’t been able to get help on their dedicated forums, but if someone has an idea of a better place to ask, let me know.

Has anyone run into this? Do you know how to erase and reset the contact functionality in owncloud? At the moment, anytime I open up the contacts app, it just spins and spins, and external devices no longer connect. I don’t have the time to relearn a new piece of software at the moment. I suspect that any other card dav that I set up will interfere with what I currently have. I’ve read that running different software of this type from the same server can cause some issues, especially since they tend to want to use the same ports. I just want to reset the contact portion of my owncloud.

I’m running the latest version through Docker. I’m using MariaDB for my database. I’m not sure what details will be useful, but please let me know what I can supply and if necessary how to locate it. TIA

Edit:

Checking the log again, I think it may be related to:

{"reqId":"7e34c78e-49b9-4a97-87db-da79ab0d33bd","level":3,"time":"2025-06-19T22:18:31+00:00","remoteAddr":"XXX.XX.X.X","user":"USERNAME","app":"PHP","method":"GET","url":"\/remote.php\/dav\/files\/USERNAME\/misc\/m-t0627-01511-00434%20(2).jpg?x=336&y=336&c=&preview=1","message":"exif_read_data(): Incorrect APP1 Exif Identifier Code at \/var\/www\/owncloud\/lib\/private\/legacy\/image.php#399"}

(I’ve removed my name and the IP Address listed)

Following this message, there are about 30 errors related to different contacts that look like:

{"reqId":"6fptn8sCXT16xmUGIWc6","level":2,"time":"2025-06-19T09:06:07+00:00","remoteAddr":"XXX.XX.X.X","user":"USERNAME","app":"dav","method":"DELETE","url":"\/remote.php\/dav\/addressbooks\/users\/USERNAME\/contacts\/04bc3d9c-f55a-4241-96a2-929245fe8433.vcf","message":"Could not get node for path: \"addressbooks\/users\/USERNAME\/contacts\/04bc3d9c-f55a-4241-96a2-929245fe8433.vcf\" : Card not found"}

With some searching, it looks like there is something wrong with an image, presumably a contact image, which I was updating around the time the service went down.

I still have no idea what do do with this information.

#selfhosted

threaded - newest

TheFANUM@lemmy.world on 20 Jul 02:21 next collapse

Nope replaced it with nextcloud years ago. Install Ubuntu LTS and then:

sudo snap install nextcloud-server

It’s installed!

gedaliyah@lemmy.world on 20 Jul 02:51 collapse

I appreciate the thought but I do believe that there are some steps involved after installation before it is fully functional.

I am planning to test it in the future at some point, but right now I am looking to get my present server working again.

Given your experience with a similar system, however, do you know if it is possible to reset the cardDAV without disrupting the other components? How would one do it in Nextcloud?

[deleted] on 20 Jul 02:59 collapse

.

JASN_DE@feddit.org on 20 Jul 06:47 next collapse

As always: have you checked the logs?

gedaliyah@lemmy.world on 20 Jul 09:55 collapse

I would love some help with the logs. I’ve been able to locate the logs for owncloud but they are long and complex and I have no idea how to read them.

If I knew what I was looking for in the logs I might be able to find something searchable at least. Are there any key words or phrases that I might look for?

HelloRoot@lemy.lol on 20 Jul 10:16 next collapse

Use pastebin to share them

gedaliyah@lemmy.world on 20 Jul 17:00 collapse

I’m a little hesitant because I may not be able to locate all personally identifying info. I tried searching again and posted what may be related here.

JASN_DE@feddit.org on 20 Jul 10:26 collapse

You can narrow it down: attach to the container, this’ll give you a life “feed” of all messages the container produces. Then with that running, open your app and see if the container has anything to say about the sync process.

gedaliyah@lemmy.world on 20 Jul 16:59 collapse

Added what may be related log info here.

aksdb@lemmy.world on 20 Jul 11:20 next collapse

Just to clarify: OwnCloud or OwnCloud Infinite Scale (OCIS)?

gedaliyah@lemmy.world on 20 Jul 13:42 collapse

I’m pretty sure it’s just owncloud. It’s the home self server.

gedaliyah@lemmy.world on 20 Jul 16:57 next collapse

Checking the log again, I think it may be related to:

{"reqId":"7e34c78e-49b9-4a97-87db-da79ab0d33bd","level":3,"time":"2025-06-19T22:18:31+00:00","remoteAddr":"XXX.XX.X.X","user":"USERNAME","app":"PHP","method":"GET","url":"\/remote.php\/dav\/files\/USERNAME\/misc\/m-t0627-01511-00434%20(2).jpg?x=336&y=336&c=&preview=1","message":"exif_read_data(): Incorrect APP1 Exif Identifier Code at \/var\/www\/owncloud\/lib\/private\/legacy\/image.php#399"}

(I’ve removed my name and the IP Address listed)

Following this message, there are about 30 errors related to different contacts that look like:

{"reqId":"6fptn8sCXT16xmUGIWc6","level":2,"time":"2025-06-19T09:06:07+00:00","remoteAddr":"XXX.XX.X.X","user":"USERNAME","app":"dav","method":"DELETE","url":"\/remote.php\/dav\/addressbooks\/users\/USERNAME\/contacts\/04bc3d9c-f55a-4241-96a2-929245fe8433.vcf","message":"Could not get node for path: \"addressbooks\/users\/USERNAME\/contacts\/04bc3d9c-f55a-4241-96a2-929245fe8433.vcf\" : Card not found"}

With some searching, it looks like there is something wrong with an image, presumably a contact image, which I was updating around the time the service went down.

I still have no idea what do do with this information.

tofubl@discuss.tchncs.de on 20 Jul 21:06 collapse

What happens if you delete this contact from the web UI?

Edit: Unclear whether the web UI is functional. If it isn’t, try deleting it from the database directly.

gedaliyah@lemmy.world on 20 Jul 21:32 collapse

I don’t know how to find it in the database or even how to access it directly. The WebUI is frozen.

I’m also not sure if I could identify the specific contact, but if not, I’d be fine to delete and re-add the entire contact book.

Thank you again for the help.

tofubl@discuss.tchncs.de on 21 Jul 00:43 collapse

As a first step, why don’t you try to trigger a rescan sudo -u www-data php occ files:scan --all

If that doesn’t improve things, try to find and delete the image file the log complains about misc/m-t0627-01511-00434 (2).jpg.

Still nothing after that, I’d try to hunt down individual contacts in the DB.

alfredb@discuss.tchncs.de on 21 Jul 08:30 collapse

Did you try to remove and reinstall the contacts app?

gedaliyah@lemmy.world on 21 Jul 12:55 collapse

Certainly. I found through some reading that the contacts app seems to be more or less a front end for some cardDAV functionality built into ownCloud.

If I could remove or reinstall the cardDAV function itself, that would be ideal.

alfredb@discuss.tchncs.de on 21 Jul 18:27 collapse

If I could remove or reinstall the cardDAV function itself, that would be ideal.

This is not possible (built-in). But as long as you have backups of the CardDAV, you could try to wipe out the address books from the DB tables.

gedaliyah@lemmy.world on 21 Jul 18:58 collapse

Thank you - I’m researching how to do this. I am using mariaDB and it’s all running in docker, so I think if I can learn how to get terminal access within the docker container, and what commands I will need to access mariaDB, then I should be able to do so. I’m hoping that everything will be labeled in such a way that I can locate those records that are part of the carddav database only to clear them and start over.