Hi there!
I try to use Logseq because of the privacy opportunities. I store my Logseq files on a Synology NAS with Synology Drive. It works on my Laptop and my normal PC.
I’d like to enhance it to use it on my Samsung Tab S7 where I installed Synology Drive too. But I cannot choose my Synology as a Folder on the app. On the menu I can only choose local files.
You can try Syncthing. It sync folders peer-to-peer when at least two devices are online. If you already have a NAS, you could install Syncthing there too to ensure that at least one device is always online.
I just got it set up between my Desktop and Android device. I can’t use the drive directly as a cloud (but I don’t want to since I don’t expose my NAS to the internet), so I am using the built in local sync. I sync at home via WAN on my WiFi only. Here are the steps that worked for me.
Check your DSM and Synology Drive Client versions. It was a big headache before I figured this out. Without an up to date version you won’t even see the Backup and Sync menu (but the App tells you nothing). Synology Docs for Android
Desktop: Create the LogSeq Graph on My Drive in Synology Drive via Desktop
Desktop: Right click the LogSeq folder and select SynologyDrive - Pin Local Copy Permanently to make it accessible offline. (Optional)
Android (Synology Drive App): In Files, click the three dots to the right of your LogSeq folder and select Enable Sync Task
Android: Go to More (bottom menu) - Backup and Sync Tasks - Sync Tasks
Android: Click the three dots to the right of your LogSeq folder and select Edit Task
Android: Set a local path where you want the LogSeq folder to reside in your Android file system. (e.g. Internal storage/Documents/LogSeq)
Android: Open LogSeq and set up your new graph, using the local folder from step 6.
This will provide a synced solution on as many devices as you like, just be careful about using multiple devices at the same time. You may need to play around with the sync settings (I am keeping the latest modified versions) and frequency, or manually initiate a sync before switching devices.
I haven’t been testing this solution for long. It seems that Android may require a refresh (but happily not reindex) when a change is pushed from Desktop. I think the sync to the local folder is actually the bottleneck here and I may need more testing on the sync frequency side. Desktop seems to refresh automatically.
I started with a Graph on my Android device before I set this up. I exported it as JSON, started my new Graph on desktop, then imported said JSON between steps 1 and 2 to get it off to a good start from the Desktop side.
Probably too late for OP, but hopefully it helps someone else.
Thank you @Loggits . This is quite helpful. I am dealing also with this and have a question you most likely know.
If we want to have a 2-way-synch between the mobile graph folder and the NAS, using Synology drive client we need to download the files we edit to our mobile, right? We cannot just edit the original files from the NAS. At least this is what I have seeing while testing the syno drive app. So my questions are:
Is this happening also on your side? Or Aam I doing something wrong?
Did you manage to edit the files from your mobile app without really downloading them into the deveice? I do not want to dowload files. Just directly edit them in the NAS. Like we would to on a SMB network folder mapping on the desktop.
Sorry for how long a reply took. That’s right it makes a local copy of the files for editing and just handles automatic upload/download of changes to the NAS.
If you want to edit the files directly on the NAS, it will only work while you have a connection (mine isn’t visible outside our local network) and you run the risk of corrupting the copies on the NAS if there are access collisions or connection issues. I believe Logseq recommends against directly manipulating network drive files for that reason.
I don’t have any method to recommend for live editing as I haven’t looked into it.