Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

notes.sqlite: "Unable to establish a database connection with file" after first launch #211

Open
tesfabpel opened this issue Nov 18, 2023 · 0 comments

Comments

@tesfabpel
Copy link

I reported the issue here but it seems only the flatpak version is affected...
Still present with version 23.11.2 - GitHub - build 1063.

To recap:

Using the flatpak version (QOwnNotes - version 23.11.1 - GitHub - build 1062), trying to open the app, it greets me with the message: "Unable to establish a database connection with file '/run/user/1000/doc/ff2a565b/Notes/notes.sqlite'. Are the folder and the file writeable?"
Entering the flatpak environment with flatpak enter org.qownnotes.QOwnNotes bash, and issuing the command ls -al /run/user/1000/doc/ff2a565b/Notes/ it reports:
-rw-r--r-- 1 tesx tesx 0 Nov 11 09:41 notes.sqlite
So the file is indeed writable.
[...]
So I tried to delete the file and run the app again and no message were shown this time and the file was recreated (but still empty).
Closing the app, and restarting it, the message reappeared...

With the app installed from ArchLinux's AUR, it does create the new file correctly (and it doesn't complain afterwards)...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant