CharlesChiuGit / Logseq-Git-Sync-101

This repo aims to help Logseq users to sync their data with Git and GitHub.
MIT License
1.06k stars 88 forks source link

Bug: Invalid path when loading graph from `Termux` #34

Closed pandasAtHome closed 9 months ago

pandasAtHome commented 1 year ago

I follow the doc

open logseq and selected the directory, but it throw error:

image

CharlesChiuGit commented 1 year ago

I don't have an android device, so i can assist u in a certain level.

It seems like your a super random path, does this folder actually exist on your device? Can u show me your file manager's screenshot?

CharlesChiuGit commented 1 year ago

Close as there's no further response.

misketmuskat commented 9 months ago

Reopen it please. Having the same issue on Android:

https://github.com/CharlesChiuGit/Logseq-Git-Sync-101/assets/71901736/78d6b78c-2571-4640-ad46-5fdcd0e8a9c8

CharlesChiuGit commented 9 months ago

@misketmuskat what's your termux version? (use termux-info to check termux version)

a friend of mine helped me test it on android, he suggest ppl with similar issues try placing the git repo under ~/storage/shared.

he's env: OS: android 13 Logseq: 0.9.19 Termux: 0.118.0

misketmuskat commented 9 months ago

Yes, thank you, placing the git repo under "shared" folder solved the issue. Didn't use Termux:Widget extension tho. Just set two aliases "pull" and "push" and directed to them to bash scripts.

Thank you, everything works as expected now.

misketmuskat commented 9 months ago

Also, found that it is possible to autosync the git repo without hassling with Termux:Widgets. Here is the related guide for autosync: https://gist.github.com/Makeshift/43c7ecb3f1c28a623ea4386552712114

CharlesChiuGit commented 9 months ago

Also, found that it is possible to autosync the git repo without hassling with Termux:Widgets. Here is the related guide for autosync: gist.github.com/Makeshift/43c7ecb3f1c28a623ea4386552712114

This seems interesting! Will add it to the wiki, tks! Tho autosync via cronjob seems like a battery killer lol.