I’m trying to setup my own copy of container, but I seem to have problems with the cont-init.d/50-confit file in grocy. It fails on the shebang so permissions don’t come out correct. I assume it’s something about my environment, but I have no idea what.
Sorry, I’m expecting something obvious. I’m much better at copying other people’s work than my own, so I’m not actually that good with docker.
I’m not currently connected to that machine, but it’s Ubuntu 18.04 using docker-compose. Running the container directly works great, but if I try to build it locally, I get an error that exec bash can’t be found when trying to run 50-config on startup. All of the other cont-init.d files run fine, just not the custom one. I’m hoping there something super obvious that I’m not doing either during the build (some env thing thing?) or with my docker setup. If it helps, I can try to copy in a docker info?
you have a ton of extra stuff in your compose, i feel like you’re taking something complex and making it more complex here. We provide a compose for you to use in our readme.
that said, when you did the build, did you encounter any errors? You didn’t provide any of that info.
as you can see here, i built this just fine, using the readme directions. I didnt use compose because i was just being quick, but it would work the same.
to tshoot further, we need to know how you built locally, what changes you made to the build (if any), and you probably need to remove all the extra crap in your compose until you actually have it running. https://pastebin.com/RQ0h5Rvv
It appears to have been an encoding issue with the 50-config file. Re-cloning it seemed to fix it, and in my copy for barcodebuddy the issue was replicated. Overwriting that one from the grocy one fixed it. Weird, but it seems to be working now.
Thanks for your time! The testing I did following your steps is what showed me that the new clone worked, so it was very helpful.