Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Custom App Packaging problems

    App Packaging & Development
    3
    5
    141
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MisterJD last edited by girish

      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

      fbartels BrutalBirdie 2 Replies Last reply Reply Quote 0
      • fbartels
        fbartels App Dev @MisterJD last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • BrutalBirdie
          BrutalBirdie Staff @MisterJD last edited by

          @MisterJD
          Please always provide the error logs.

          When describing a problem please provide a full "stacktrace" aka. please describe precisely what you did to get to the current state.

          Like my work? Consider donating a beer 🍻 Cheers!

          1 Reply Last reply Reply Quote 0
          • M
            MisterJD last edited by

            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

            BrutalBirdie 1 Reply Last reply Reply Quote 3
            • BrutalBirdie
              BrutalBirdie Staff @MisterJD last edited by

              @MisterJD aahhhhh that bs understandable.

              Like my work? Consider donating a beer 🍻 Cheers!

              1 Reply Last reply Reply Quote 0
              • Topic has been marked as a question  nebulon nebulon 
              • Topic has been marked as solved  nebulon nebulon 
              • First post
                Last post
              Powered by NodeBB