logseq / logseq

A privacy-first, open-source platform for knowledge management and collaboration. Download link: http://github.com/logseq/logseq/releases. roadmap: http://trello.com/b/8txSM12G/roadmap
https://logseq.com
GNU Affero General Public License v3.0
30.07k stars 1.76k forks source link

Read-only preferences.json #11249

Open backuitist opened 4 weeks ago

backuitist commented 4 weeks ago

Search first

What Happened?

Starting the App with a read-only preferences.json file produces the following error notification:

Write to the file /home/bruno/.logseq/preferences.json failed, Error: EROFS: read-only file system, chmod '/home/bruno/.logseq/preferences.json'

Reproduce the Bug

  1. make ~/.logseq/preferences.json read-only
  2. start logseq
  3. witness the error message

Expected Behavior

no error message, as there is no reason to write to preferences.json on startup.

Screenshots

No response

Desktop or Mobile Platform Information

App 0.10.8

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

backuitist commented 4 weeks ago

2024-04-19T16:08:52+02:00

andelf commented 4 weeks ago

It's the theme and plugin settings. I guess the write operation is introduced by some plugin. Could you disable the plugin and try again?