'vikunja doctor' assumes pwd is VIKUNJA_FILES_BASEPATH

Hello.

When running the command ‘vikunja doctor’ a directory named ‘files’ is created in the current working directory the command is run from.

E.g. when running ‘vikunja doctor’ while standing in directory ‘/srv/backups’, the output is:
[…]
Files (local)
✓ Path: /srv/backups/files
[…]

And the directory ‘/srv/backups/files’ is created.

It took me some time to notice this as I first thought this output meant config.yml wasn’t used correctly. In /etc/vikunja/config.yml I have set VIKUNJA_FILES_BASEPATH to ‘/srv/vikunja/files’.

EDIT: Running vikunja bare metal on Debian 13 server.

There’s now a PR that fixes this: fix(doctor): stop creating files and database during diagnostics by tink-bot · Pull Request #3646 · go-vikunja/vikunja · GitHub