flathub / flathub/org.qownnotes.QOwnNotes

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

Open
#211 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
3
Forks
5
Avg merge
4h 38m
Merged PRs (30d)
10

Description

I reported the issue [here](https://github.com/pbek/QOwnNotes/issues/2901) 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)...

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.