I currently use Nextcloud to manage syncing between macOS, iOS, Windows, and Linux. This will probably not be relevant to most people since this setup requires a home server, but I figured I would outline it here incase people find it interesting.
To put it simply, I created my logseq graph in a folder on Nextcloud. I then installed the Nextcloud client on all of my devices.
Installing the Nextcloud app also allows you to browse it’s files in the iOS native files app like it’s a local drive, and this is what allows syncing to work.
When you install the logseq iOS app, you can use the iOS file picker to choose what directory to open. Here we just navigate to the Nextcloud drive, then to our logseq folder and open it.
This way we use Nextcloud as our database backend and leverage its syncing capabilities. This step can be repeated for Windows and MacOS as well.
Apologies for the misunderstanding! I went back and double checked my setup and it looks like the Nextcloud iOS app doesn’t support opening a folder from the native files app.
Personally I use logseq as mostly a desktop app and the only logseq file I open on my phone is an org-mode file that I use for task management. If you use an org-mode task management app like beOrg, you can sync your tasks using Nextcloud+webDAV as the backend.
At the moment, if you want cloud sync to work, you will have to save your logseq graph directly to iCloud Drive and use the iOS file picker to open the folder. If you click on the browse tab at the bottom of the file picker, then click on the back button, the app will ask you if you want to use a location on your iPhone or on a cloud provider. From here you can select a folder in iCloud drive.
If you are still interested in Nextcloud support, not being able to select a folder is a known issue and heres the Github issue discussing it:
An alternative would be using Nextcloud’s built in webDAV server for syncing but that’s a little more temperamental. I was able to connect to my Nextcloud instance from the files app but was unable to get any of the files to actually load in the logseq file picker.
thx for clarification. I had the icloud integration. But that setup sucks really hard. Every now and than (every 1-2 minute) you get an error for duplicate file. And than you have to clean up it manually. I do it now with git. On PC and Laptop it is easy. You can use “ctrl + shift + 1” and make and git push or git pull. On IOS you can use the “Working Copy” App there you can link a folder on the IPhone and use git pull and git push.
I have a Windows PC, a Linux PC and an iOS. I can only sync Logseq between Windows and iOS. No solution for Linux. (crying)
I would be happy with any of the followings: Google Drive, OneDrive, Synology Drive, Webdav… Whatever works on all the platforms.
As a longtime Logseq user of several minutes, I have successfully synced my Linux machines and Android phone through syncthing. I do believe there’s a version for Windows as well. Don’t know about iOS. Never used it.
I was able to get around with this by just using iCloud for Windows installed on my PC and syncing it directly to there. For Linux, I’m not exactly sure what the method is, but iCloud sync works for my particular use case.
WebDAV would be a nice cross-platform standards-compliant way to do this.
I’m not super hot on supporting an ever growing boat-load of proprietary sync standards. The only reason I think even WebDAV or something like that should be supported is because some poor users are stuck on operating systems that don’t give them any choice & force them into a specific platform (iOS limiting users to Apple Cloud Storage), and I barely feel bad enough for them.
Ideally, the operating systems should just make this happen. I’m using DriveSync on Android for example, and it works wonderfully to help me sync my local files with the cloud; I didn’t need Logseq to do anything, and I can also use this same tool with other applications: this is such a huge win & shows why this approach ought be preferred.
Its bananas that this has not been sorted out yet. I dropped Logseq about a year ago because of lack of cross-platform sync, and returned now assuming “surely they’ve got sync working by now”. Lack of sync is a total deal-breaker, and there seems to be no urgency in implementing it.
I’m in a similar situation, switched back to Joplin because third party (and encrypted!) sync works so much better one iOS. Would love to see Logseq implement a similar solution.
However, I might just be making this up but I feel like I remember reading somewhere that the approach taken by Joplin would not work for logseq as it has to constantly has to think the whole graph (or at least a bunch of linked notes) as opposed to Joplin, which works on a strict note by note basis.
This might just be fake news though