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

Indexing files are stored in /tmp instead of storage path #504

Closed
albert200000 opened this issue Apr 24, 2020 · 3 comments
Closed

Indexing files are stored in /tmp instead of storage path #504

albert200000 opened this issue Apr 24, 2020 · 3 comments

Comments

@albert200000
Copy link

This makes my projects to reindex often

@Gert-dev
Copy link
Owner

Hi.

Have you tried manually setting up your project via Set Up Current Project via the action in the command palette? Afterwards you can configure where the database should be saved in the indexDatabaseUri setting in .serenata/config.json, see also the wiki for more information.

Or did you perhaps already do this, but did you mean that the path is being ignored?

@albert200000
Copy link
Author

Set Up Current Project from command palette fixed the issue. Now the storagePath config is used. But before executing this command it used /tmp directory.

@Gert-dev
Copy link
Owner

Gert-dev commented May 31, 2020

Yes, that is expected behavior since 5.0 to allow for easier setup towards new users; this way you can just start working with the package without having to do any additional setup - it should then just work.

Of course, if you don't want /tmp to be used (i.e. because it is cleared by certain tools or, after reboot, or stored in memory), you will likely want to actually set it up yourself.

I'll close this since the original issue is solved, but thanks for taking the time to report issues!

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

No branches or pull requests

2 participants