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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Packaging & Development
  3. Custom App Packaging problems

Custom App Packaging problems

Scheduled Pinned Locked Moved Solved App Packaging & Development
5 Posts 3 Posters 975 Views 3 Watching
  • 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 Offline
    M Offline
    MisterJD
    wrote on last edited by girish
    #1

    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

    fbartelsF BrutalBirdieB 2 Replies Last reply
    0
    • M MisterJD

      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

      fbartelsF Offline
      fbartelsF Offline
      fbartels
      App Dev
      wrote on last edited by
      #2

      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
      0
      • M MisterJD

        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

        BrutalBirdieB Offline
        BrutalBirdieB Offline
        BrutalBirdie
        Partner
        wrote on last edited by
        #3

        @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 drink. Cheers!

        1 Reply Last reply
        0
        • M Offline
          M Offline
          MisterJD
          wrote on last edited by
          #4

          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

          BrutalBirdieB 1 Reply Last reply
          3
          • M MisterJD

            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

            BrutalBirdieB Offline
            BrutalBirdieB Offline
            BrutalBirdie
            Partner
            wrote on last edited by
            #5

            @MisterJD aahhhhh that bs understandable.

            Like my work? Consider donating a drink. Cheers!

            1 Reply Last reply
            0
            • nebulonN nebulon marked this topic as a question on
            • nebulonN nebulon has marked this topic as solved on
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search