Journals are nested, why and how to fix?

Hello, I just set up a git repository on the desktop and noticed the file path is
/home/rapi5/Documents/logseq-repo/journals/journals

This doesn’t seem right as these are the files in /home/rapi5/Documents/logseq-repo/journals

 rapi5  raspberrypi  ~  Documents  logseq-repo  journals  main  $  ls
2024_03_18.md    2024_08_19.md  2024_10_21.md  2024_11_11.md  2024_12_10.md
2024_03_22.md    2024_08_24.md  2024_10_22.md  2024_11_12.md  2024_12_11.md
2024_03_23.md    2024_09_09.md  2024_10_24.md  2024_11_13.md  2024_12_12.md
2024_03_29.md    2024_09_10.md  2024_10_27.md  2024_11_14.md  2024_12_13.md
2024_04_03.md    2024_09_12.md  2024_10_28.md  2024_11_15.md  2024_12_14.md
2024_04_15.md    2024_10_03.md  2024_10_29.md  2024_11_16.md  2024_12_17.md
2024_04_21.md    2024_10_04.md  2024_10_30.md  2024_11_18.md  2024_12_18.md
2024_04_22.md    2024_10_07.md  2024_10_31.md  2024_11_21.md  2024_12_19.md
2024_04_22.md-2  2024_10_08.md  2024_11_01.md  2024_11_22.md  2024_12_20.md
2024_05_08.md    2024_10_09.md  2024_11_03.md  2024_11_23.md  2024_12_21.md
2024_06_08.md    2024_10_10.md  2024_11_04.md  2024_12_04.md  2024_12_22.md
2024_07_01.md    2024_10_13.md  2024_11_05.md  2024_12_05.md  2024_12_23.md
2024_07_03.md    2024_10_15.md  2024_11_06.md  2024_12_06.md  assets
2024_07_03.md-2  2024_10_16.md  2024_11_07.md  2024_12_07.md  journals
2024_08_08.md    2024_10_18.md  2024_11_09.md  2024_12_08.md  logseq
2024_08_15.md    2024_10_19.md  2024_11_10.md  2024_12_09.md  pages

and these are the files in /home/rapi5/Documents/logseq-repo/journals/journals

rapi5  raspberrypi  ~  Documents  logseq-repo  journals  journals  main  $  ls
2024_12_24.md  2025_01_06.md  2025_01_25.md  2025_02_07.md  2025_02_22.md
2024_12_26.md  2025_01_07.md  2025_01_26.md  2025_02_08.md  2025_02_23.md
2024_12_27.md  2025_01_08.md  2025_01_27.md  2025_02_10.md  2025_02_24.md
2024_12_28.md  2025_01_09.md  2025_01_28.md  2025_02_11.md  2025_02_25.md
2024_12_29.md  2025_01_10.md  2025_01_30.md  2025_02_12.md  2025_02_27.md
2024_12_30.md  2025_01_13.md  2025_01_31.md  2025_02_13.md  2025_03_02.md
2024_12_31.md  2025_01_15.md  2025_02_01.md  2025_02_14.md  2025_03_03.md
2025_01_01.md  2025_01_18.md  2025_02_02.md  2025_02_15.md  2025_03_05.md
2025_01_02.md  2025_01_21.md  2025_02_03.md  2025_02_17.md  2025_03_06.md
2025_01_03.md  2025_01_22.md  2025_02_04.md  2025_02_18.md  2025_03_07.md
2025_01_04.md  2025_01_23.md  2025_02_05.md  2025_02_19.md  2025_03_08.md
2025_01_05.md  2025_01_24.md  2025_02_06.md  2025_02_20.md

Just synced the Desktop Logseq 0.10.9 to the Github repository and Logseq prompts; these errors;

My Logseq data is now on the Desktop, however I am confused what needs cleaning up.

Also, is it possible to create a new graph which stays local and private without syncing?

As the error says, it looks like you’ve somehow nested a graph into another graph. That’s possible when you tried to create another graph but did so within an existing graph folder (in this case it seems like you’ve created it inside the journals folder?).

As you use GitHub, it could also be an improperly setup repo which caused this nesting.

The best solution now is to manually untangle it, by moving the nested folders out of the journals folder (it should not contain any subfolders).

Yes, Logseq is a local app and all you do by creating a graph is selecting a folder on your device’s disk where to store your notes. It’s best to store your graph in a local folder. Unless you want share a graph between devices or want automated backups, there’s no need to have a syncing solution in place.

However, as you use GitHub I assume you have a need for it?

1 Like

Thank you, I’ll try that manual corrections.
Well, I use a public graph which syncs from desktop to github to phone.
I would like to also have a private local graph.
Having the public and private graphs I can switch around in would be ideal.

You can. Just create a new graph and point it to a local folder (that’s not synced with any tool like iCloud, Dropbox, Google Drive, etc.). Now you have a local-only graph.

You can switch between graphs by clicking your graph name in the top left sidebar. The name of a graph is the name of the local folder you selected/created when creating your graph.

1 Like