Database location #2364

Closed
opened 2026-03-22 14:04:31 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @Alfly-Alyx on GitHub (Sep 24, 2025).

Description

Hi,

Maybe a bug, maybe a request, maybe neither.

I found 2 locations for the Vikunja Database, the first one at the root of Vikunja and the second one under C:\Windows\System32.

Wouldn't be more convenient to have a single one or have the second one into for example C:\Users*UserName*\ ?

These 2 DB are currently used, as I try to reproducted this on my laptop and delete both, the DB are created again while Vikunja Server is launched.

Vikunja Version

1.0.2-RC

Browser and version

No response

Can you reproduce the bug on the Vikunja demo site?

No

Screenshots

No response

Originally created by @Alfly-Alyx on GitHub (Sep 24, 2025). ### Description Hi, Maybe a bug, maybe a request, maybe neither. I found 2 locations for the Vikunja Database, the first one at the root of Vikunja and the second one under C:\Windows\System32. Wouldn't be more convenient to have a single one or have the second one into for example C:\Users\*UserName*\ ? These 2 DB are currently used, as I try to reproducted this on my laptop and delete both, the DB are created again while Vikunja Server is launched. ### Vikunja Version 1.0.2-RC ### Browser and version _No response_ ### Can you reproduce the bug on the Vikunja demo site? No ### Screenshots _No response_
Author
Owner

@kolaente commented on GitHub (Sep 24, 2025):

Not sure why this is happening, the location of the database should be only dependent on the configured path.

Does this happen as well if you configure a database path?

@kolaente commented on GitHub (Sep 24, 2025): Not sure why this is happening, the location of the database should be only dependent on the configured path. Does this happen as well if you configure a [database path](https://vikunja.io/docs/config-options/#1-database-path)?
Author
Owner

@Alfly-Alyx commented on GitHub (Sep 24, 2025):

Yes, I configured ./vikunja.db as path in the database section of the yml

Do you want I share my config.yml in an attached file?

Edit : I've just tried to delete the C:\Windows\System32\vikunja.db on my server. It was locked, I force deleting. Vikunja is still running. I will control if it comes again when I will reboot the server. Previously it did.

@Alfly-Alyx commented on GitHub (Sep 24, 2025): Yes, I configured ./vikunja.db as path in the database section of the yml Do you want I share my config.yml in an attached file? Edit : I've just tried to delete the C:\Windows\System32\vikunja.db on my server. It was locked, I force deleting. Vikunja is still running. I will control if it comes again when I will reboot the server. Previously it did.
Author
Owner

@Alfly-Alyx commented on GitHub (Sep 24, 2025):

After reboot it comes back (system32 database)

@Alfly-Alyx commented on GitHub (Sep 24, 2025): After reboot it comes back (system32 database)
Author
Owner

@kolaente commented on GitHub (Oct 9, 2025):

Should be fixed in https://github.com/go-vikunja/vikunja/pull/1616, please check with the next unstable build (should be ready for deployment in ~30min, also on try).

@kolaente commented on GitHub (Oct 9, 2025): Should be fixed in https://github.com/go-vikunja/vikunja/pull/1616, please check with the next unstable build (should be ready for deployment in ~30min, also on [try](https://try.vikunja.io)).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#2364