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
To address your android permission comment, I’m opening all my office files on my phone from the nextcloud app, not the actual storage on my phone.
Are you saying you edit documents stored on your phone storage and nextcloud syncs your phone folder?
I am seeing an issue with nextcloud not syncing a file within the folder that should automatically two-way sync. I have found that the file needs to be uploaded to nextcloud in order for syncing to happen, but once it is uploaded, it syncs normally when two way sync is enabled. I don’t think that has anything to do with you’re issues, but it’s food for thought.
It should be saving the file you open to that folder, then. It needs a local copy in some capacity for you to edit it, and that’s where it should be at. Once you’re done editing, it should upload automatically. I should also note that I’m using the F-droid version of nextcloud on android, they did have to make changes to the play store version due to syncing policies from google messing things up.
I both open from nextcloud and from the folder. I did just check my settings, and I have two-way folder sync on the folder that I edit locally. Everything seems to update correctly if it was opened through nextcloud regardless of which folder it’s in, but only the folder I have sync setup on my phone updates if edited locally and only every 15 minutes. I’ll test some more things and check if something isn’t working as I expect. I did notice some settings had been changed and I wasn’t uploading from my phone as expected, so I have some confirmations to do on my end before I can absolutely confirm my phone is working properly.
As far as desktop goes though, I haven’t had any issues with it being unable to sync.