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
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?
Hey thanks for the input! Although a bit disappointing to hear your frustrations with nextcloud.
So right now I’m not even trying to setup the “live collaboration” features (although that ultimately was a feature I’m interested in). I guess I’m just testing how well the file syncing works before I commit to moving all my stuff off google drive. Right now I’m just doing tests, I create a .xlsx file from my phone collabora/nextcloud app, make a few edits and save… refresh… wait 10 to 15 minutes, then I try opening the newly saved .xlsx file on my nextcloud desktop file synced folder (after hitting the sync button) with say libre or collabora, and its hit or miss if the file I open is the same as the last edit from my phone. Right now its definitely not at the point where I would trust a large/important file that I frequently collaborate between my phone and desktop. However, the notes, like markdown files or just pdfs are syncing flawlessly between my client devices. So it seams like its got something to do with the office files.
Anyways, I guess I’m just a bit disappointed in the reliability of the syncing with office files and am just curious if anyone else has a nextcloud setup where this all actually works… Also, maybe my expectations are too high coming from my google drive desktop sync which performs very well. Or maybe suggestions to another application that is more reliable and maybe less features and overhead of nextcloud.
I’ve not had any issues with file syncing on desktop. Android has a few issues due to google screwing with permissions and making it unable to sync all file types through nextcloud, but I don’t recall having any issues with collabora on my phone syncing. Nextcloud does seem to have full file sync permissions in it’s android/media/etc. folder, and that’s where I open my documents from, so if you’re not opening your files from there, maybe that’s the issue.

