Custom App Packaging problems
-
Hello all,
I am currently trying to install custom apps on my Cloudron. But unfortunately I only get errors at the moment. Maybe I'm missing something where someone can give me a tip.
Currently I'm just trying to get the Node.js tutorial app on the server.
https://git.cloudron.io/cloudron/tutorial-nodejs-app/But when I build the image locally and try to install it on the server the CLI stops at "Wait for health check ..." and the log shows "standard_init_linux.go:228: exec user process caused: no such file or directory". It looks like it can't find "start.sh".
I have also tried to adjust the Dockerfile. The Docker build is executed from the correct directory and so on.
Alternatively I have tried the Cloudron Build Service, but here it comes to a similar error after the install.Has anyone had this problem before and can point me in the right direction?
Thanks and many greetings
-
Hi @MisterJD,
I just did a clone of the tutorial repository and could build and install the resulting app just fine.
For debugging its usually the easiest if you provide access to your modified code. Either as a git repo or by pasting the relevant files as text here.
-
Hello all,
I was able to solve the problem. Once again it was totally simple. At work I only work with Docker on Linux. At home I just wanted to try it out quickly on Windows. Well, that was the problem ... again ...
For all of you who might have this problem, you have to change the "start.sh" file back to UNIX format on Windows. If you have installed e.g. Git Bash you can do this with "$ dos2unix.exe start.sh".
After that you can install the image without any problems. Thanks a lot for your help. Your answers at least showed me that the problem must be on my side.
Shows again why it is better to do the stuff on Linux directly.
Thanks again
-
-