Nextcloud - Libre Office On Desktop not Syncing
from angelfish@lemmy.world to selfhosted@lemmy.world on 11 Jul 17:59
https://lemmy.world/post/49319060

Hey everybody, first time post here.

Here’s a quick rundown of my setup. I’m running an ubuntu server with a Nextcloud/redis/maria db stack. I’ve enabled collabora online built in CODE server for my online nextcloud office. On my pixel i use the collabora app and my linux mint desktop I’m using either libre office or collabora office. I’m currently just a single user and I use a wireguard server on my router for remote access. I’m fine with not having live web based editing for now as I’m the only user. My syncs between my phone and my nextcloud server UI are flawless.

The PROBLEM I’m experiencing is on my desktop when I open say a .xls(using calc) or .docx(using writer), libre office or collabora opens them with a “.~lock.” When this is opened it wipes the data in the file and resyncs my nextcloud server UI and my phone nexctcloud app with the wiped version.

Has anyone else experienced this and found a solution??

I’ve also only recently been tinkering with servers and self hosted applications for about 5 months, so this is all new to me and I could easily be overlooking a few things.

Many thanks in advance

#selfhosted

threaded - newest

cenzorrll@piefed.ca on 12 Jul 14:18 collapse

I’ve rarely had nextcloud office work well, to the point that I’ve given up. That said, it’s supposed to work through the web interface to properly track different users and changes like a google doc. Opening up the file in libreoffice/collabora on desktop is a different process and works just as normally opening a file on your computer, including creating the lock files. I don’t think there’s a way to use a desktop office suite with nextcloud office to leverage the collaborative aspect of it.

Now that I think about it, I don’t think any collaborative office suite has figured that out without it actually being a web app disguised as a desktop app.

The lock file is there to prevent another person from opening up the document at the same time as you, when you save the document in your desktop app, close it then let it sync, is the document still wiped or are you and you open it with the correct changes on your other devices?