-
Notifications
You must be signed in to change notification settings - Fork 7
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
The data directory is not mounted. #1
Comments
I found a way to solve it although this warning still appears. Unfortunately I don't know how to make the required directory automatically, but if you make it manually it works - I'll update the repository as soon as possible. |
Oh, nice, i will wait. And it works as well? After restart addon database still fine? |
As far as I can tell, yes. It's survived HA OS updates as well as turning the container off and on. |
OK, I added the changes. You'll need to open a terminal in Home Assistant and do the following before starting the addon:
|
I think you should use addon_configs instead see the end of https://developers.home-assistant.io/docs/add-ons/configuration/ |
Hmm, that directory doesn't exist while the other one does and is used by e.g. mealie... Would still like to find out how to automatically create and chown the directory. |
Sorry for the late reply, Generally it is expected you take care of that with something like a run script, for example This one The default for the container you use is https://github.com/Donkie/Spoolman/blob/master/entrypoint.sh I think if you want to auto create it, you'll need to make your own entry point, and and run that instead. |
Added a PR to make the manual commands more resilient, but will take a look at fixing this too |
i'm looking if i can find a sollution for this, im looking an this one for info to check if i can find a soution. |
Is it any way to solve it? Its impossible to use addon when after reboot database will lost.
The text was updated successfully, but these errors were encountered: