Comments (6)
Thank for the report! It seems that HASS requires data to be stored in the path /data, which means that the base docker image needs to be modified. I created an issue in the repo Forceu/barcodebuddy-docker#14 and will have a look at it in the next days.
from barcodebuddy-homeassistant.
Not totally sure about that, as the WORKDIR
in almost all addOns (official ones) use only /
and not /data
? The letsencrypt
and homematic
addOns are the only ones with a specific notation to /usr/src
.
See here: https://github.com/home-assistant/addons/search?q=WORKDIR
I'll install a changed version (just setting WORKDIR
to /
) in the next days and see what comes up. :) I'll report back. In the meantime I'll just do a partial snapshot only for BCB and restore if necessary.
Should I use this issue or Forceu/barcodebuddy-docker#14 to report?
from barcodebuddy-homeassistant.
No workdir has nothing to do with it, HASS only mounts the a /data volume by default. I modified the config file, can you try if it works now?
from barcodebuddy-homeassistant.
Unfortunately it doesn't seem to fix the issue.
But I have to admit I'm not sure how that worked... I didn't do anything to update the HA-addOn, but it seems it was updated automatically (I don't have the option for automatic update enabled)? Nonetheless I checked the file config.json
and your changes were in there. After that I restarted the addOn (three times), it unfortunately didn't work. It still doesn't save the data. :(
from barcodebuddy-homeassistant.
Edit: re-wrote this after some new input on another addon, now much shorter.
You probably want to store files in /data
and not use /config
at all. If you make sure barcodebuddy.db
is somewhere in /data
I believe that would be enough.
from barcodebuddy-homeassistant.
I am really sorry guys, I completely forgot about this issue, as I am not using the HA image. I linked the /config volume to /data in the current image, does this fix the issue?
from barcodebuddy-homeassistant.
Related Issues (14)
- Upgrade HOT 2
- Error preventing use
- Can not install the Addon HOT 3
- s6-overlay-suexec: fatal: can only run as pid 1 HOT 12
- Won't Start Anymore HOT 4
- Cant access the web ui HOT 3
- Unable to connect to API: Invalid API key
- Feature Request: Support hassio ingress
- AddOn doesn't run after installation with fatal error HOT 2
- Redis cannot connect?
- Files are stored directly in config folder of Home Assistant
- BCB Grocy addon not showing up in HA Supervised HOT 2
- Physical barcode scanner on homeassistant add-on HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from barcodebuddy-homeassistant.