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

Fail to start if file 'sqlite.db' does not exists #959

Open
knalltuete86 opened this issue Dec 4, 2024 · 0 comments
Open

Fail to start if file 'sqlite.db' does not exists #959

knalltuete86 opened this issue Dec 4, 2024 · 0 comments

Comments

@knalltuete86
Copy link

Describe the bug

While using a different database filename than sqlite.db, PG2 fails to start. In my case I renamed the database to media.db in the settings, saved it and restarted the server. Everything works fine, while the old file sqlite.db was available.

After removing the file sqlite.db from the folder, the server fails to start, even while the config.json contains the right filename and this file exists.

It is possible to work-around this issue by just creating an empty sqlite.db in the database-folder. It will not be written while running PG2, but enables it to start up.

Environment (please complete the following information):

  • OS: Armbian V24.8

Used app version:

  • V2.0.3-edge compiled from source
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