-
Notifications
You must be signed in to change notification settings - Fork 260
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
Docker install errors #14
Comments
I have the same issue on Debian Testing |
Interesting, are you using the latest |
Here is my compose file https://bin.privacytools.io/?dbcb4689efcf04fd#gcHvb0/cCkD2bjbvHBJFWajAHiGrmUuixBXCje1OYcA= |
Here is mine:
|
And yes, I am using latest version |
The error above is basically saying that the container can't find the app.js file. This file gets copied in when the image gets built -- this is something I do on my end. It's weird that your containers can't find it, I even tried @gerroon's docker-compose and I still couldn't replicate.. There must be something else going on. Just to clarify @maltokyo, other than the modifications you made to docker-compose (they seem harmless), the only commands you ran are:
|
correct @Tzahi12345 only those two.. and still get the error. I cannot work it out. One hint, when I run
|
I was able to get it running after I pruned Docker images,containers and and networks , |
@gerroon that's strange.. you should not need to do that ;) |
Interesting hint! When I run
I think there is something wrong with your image. Really weird that this is happening to multiple people, and making everyone who has this prune everything is unreasonable. Let me know if pruning the image and re-downloading helps. |
pruned everything and tried again, no luck and the same outcome. I just cant work out why it is doing it... |
I put together a zip where you can quickly build the image yourself (hopefully this fixes your image): In the extracted directory, run:
Then try running |
This worked!! So, whatever is different in this zip file, now works. Thanks! Trying now. |
Lit, I didn't actually change anything, just put together the folder structure that I build with. I suspect something went wrong (and kept going wrong) in the pulling of the docker image, but that's a guess. I'll leave this issue open until I'm able to fix or find out more about this bug. Anyways, I appreciate the help! |
I'm currently trying to generate an unRAID-ready docker for this (basically, it's an XML-based instruction for unRAID's Docker how to execute the Docker run command) See: I'm not having any luck though... It generates a container successfully, but then nothing happens... Oddly enough when I run a shell in that container it has pulled Windows binaries???? Here's my docker create command for your debugging pleasure :P
|
@GlassedSilver The Windows binary thing is my bad, accidentally included that in the container.. oops! :) will fix that in the next update Perhaps the image you're using isn't the correct version? Try using the image Btw, the audio and video file paths are relative to the /app folder in the container (so I believe the volumes should point to /app/video/). Just something I noticed. Anyways, let me know if that fixes things for you. |
Something else I noticed... where are configs stored? Like preferences I set etc within the app? Because I have mapped audio and video folders, but nothing for the configs. That would mean my settings get wiped everytime I reinstall or update the docker container... A docker image file should ONLY carry the programs, no settings or user data. Logs as well, but nothing more. At least that's my understanding, new to docker deployment beyond unRAID's glorious point and click system for easy docker installs. Anyhow, I got it to work. I had to append a version, went with :latest though. Also I mixed up the port with the host port. So that helped as well. |
The settings are stored in the
Your environment variables are checked on startup, so if you set the config through there it will update if you restart the container. But you are right in that without these environment variables, the original config is lost.
Right, I agree. It's why I made the environment variables write-through (meaning if you update them, the config will auto update accordingly). You can sort of use the
Cool, great to hear :) Lmk if you have any additional issues/questions |
See above seems to be the theme now. So far so good. I'll give it a test a little later and eventually release your docker as an unRAID-ready template to the Community Applications repo. Maybe an official logo would do this project fine. Something that isn't black on transparent background. :P Let me show you what I mean: (dark backgrounds kill this icon haha) |
Sounds awesome!
Yup, I see what you mean. I'll make a note to create one for the next update. |
I was able to track down this bug! I had to install a Debian Testing on a virtual machine, and I was finally able to reproduce it. Basically, on some systems, Removing Anyways, thanks for the help @maltokyo! |
Great news. Thanks!! |
I get this error after the initial image build:
The text was updated successfully, but these errors were encountered: