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
  • Brite
  • 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. Rallly
  3. Fix Rallly start.sh

Fix Rallly start.sh

Scheduled Pinned Locked Moved Rallly
14 Posts 5 Posters 109 Views 5 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.
  • jamesJ james

    Hello @andreasdueren
    Like I wrote, I just installed Rallly from the app store where it is:

    export SMTP_PORT=${CLOUDRON_MAIL_SMTP_PORT}
    

    and there was no issue.
    So I must assume there is something else going on.

    andreasduerenA Offline
    andreasduerenA Offline
    andreasdueren
    wrote last edited by
    #5

    @james said in Fix Rallly start.sh:

    Hello @andreasdueren
    Like I wrote, I just installed Rallly from the app store where it is:

    export SMTP_PORT=${CLOUDRON_MAIL_SMTP_PORT}
    

    and there was no issue.
    So I must assume there is something else going on.

    I'm just telling you what I experienced. It kept refusing to load without the quotation marks. 🤷

    1 Reply Last reply
    0
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote last edited by
      #6

      Strange, in bash, both are the same. Given that CLOUDRON_MAIL_SMTP_PORT is just a number.

      andreasduerenA 1 Reply Last reply
      1
      • girishG girish

        Strange, in bash, both are the same. Given that CLOUDRON_MAIL_SMTP_PORT is just a number.

        andreasduerenA Offline
        andreasduerenA Offline
        andreasdueren
        wrote last edited by
        #7

        @girish said in Fix Rallly start.sh:

        Strange, in bash, both are the same. Given that CLOUDRON_MAIL_SMTP_PORT is just a number.

        Yeah no idea. But these were my logs (I think, pulled this out of my clipboard manager):

        Oct 18 08:14:43 => Healthcheck error: Error: connect ECONNREFUSED 172.18.16.158:3000
        Oct 18 08:14:43 => Healthcheck error: Error: connect ECONNREFUSED 172.18.16.158:3000
        Oct 18 08:14:43 => Healthcheck error: Error: connect ECONNREFUSED 172.18.16.158:3000
        Oct 18 08:14:43 => Healthcheck error: Error: connect ECONNREFUSED 172.18.16.158:3000
        Oct 18 08:14:44 /app/pkg/start.sh: line 54: prisma: command not found
        Oct 18 08:14:44 => Updating permissions
        Oct 18 08:14:44 => prisma migrate
        Oct 18 08:14:55 => Healthcheck error: Error: connect EHOSTUNREACH 172.18.16.158:3000
        Oct 18 08:15:03 => Healthcheck error: Error: connect EHOSTUNREACH 172.18.16.158:3000
        Oct 18 08:15:13 => Healthcheck error: Error: connect EHOSTUNREACH 172.18.16.158:3000
        Oct 18 08:15:23 => Healthcheck error: Error: connect EHOSTUNREACH 172.18.16.158:3000
        Oct 18 08:15:33 => Healthcheck error: Error: connect EHOSTUNREACH 172.18.16.158:3000
        Oct 18 08:15:44 => Healthcheck error: Error: connect EHOSTUNREACH 172.18.16.158:3000
        Oct 18 08:15:48 /app/pkg/start.sh: line 54: prisma: command not found
        Oct 18 08:15:48 => Updating permissions
        Oct 18 08:15:48 => prisma migrate
        Oct 18 08:15:57 => Healthcheck error: AbortError: The operation was aborted
        Oct 18 08:16:03 => Healthcheck error: Error: connect EHOSTUNREACH 172.18.16.158:3000
        Oct 18 08:16:13 => Healthcheck error: Error: connect EHOSTUNREACH 172.18.16.158:3000
        Oct 18 08:16:23 => Healthcheck error: Error: connect EHOSTUNREACH 172.18.16.158:3000
        Oct 18 08:16:33 => Healthcheck error: Error: connect EHOSTUNREACH 172.18.16.158:3000
        Oct 18 08:16:43 => Healthcheck error: Error: connect EHOSTUNREACH 172.18.16.158:3000
        Oct 18 08:16:49 => Updating permissions
        Oct 18 08:16:49 => prisma migrate
        Oct 18 08:16:49 /app/pkg/start.sh: line 54: prisma: command not found
        Oct 18 08:17:03 => Healthcheck error: AbortError: The operation was aborted
        Oct 18 08:17:07 => Healthcheck error: AbortError: The operation was aborted
        Oct 18 08:17:13 => Healthcheck error: Error: connect EHOSTUNREACH 172.18.16.158:3000
        Oct 18 08:17:23 => Healthcheck error: Error: connect EHOSTUNREACH 172.18.16.158:3000
        
        1 Reply Last reply
        0
        • jamesJ Offline
          jamesJ Offline
          james
          Staff
          wrote last edited by
          #8

          Hello @andreasdueren
          The error is:

          Oct 18 08:16:49 /app/pkg/start.sh: line 54: prisma: command not found
          
          1 Reply Last reply
          0
          • nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote last edited by
            #9

            That error is even more peculiar. So the start.sh just runs prisma which should be in the path and part of the app image: https://git.cloudron.io/packages/rallly-app/-/blob/main/start.sh?ref_type=heads#L54

            Are there any variables in the /app/data/env which may interfere with prisma or the PATH ?

            andreasduerenA 1 Reply Last reply
            0
            • nebulonN nebulon

              That error is even more peculiar. So the start.sh just runs prisma which should be in the path and part of the app image: https://git.cloudron.io/packages/rallly-app/-/blob/main/start.sh?ref_type=heads#L54

              Are there any variables in the /app/data/env which may interfere with prisma or the PATH ?

              andreasduerenA Offline
              andreasduerenA Offline
              andreasdueren
              wrote last edited by
              #10

              @nebulon said in Fix Rallly start.sh:

              That error is even more peculiar. So the start.sh just runs prisma which should be in the path and part of the app image: https://git.cloudron.io/packages/rallly-app/-/blob/main/start.sh?ref_type=heads#L54

              Are there any variables in the /app/data/env which may interfere with prisma or the PATH ?

              I haven't touched the devault ENV

              SECRET_PASSWORD='STRING'
              NEXTAUTH_SECRET='STRING'
              
              # Comma separated list of email addresses that are allowed to register and login.
              # You can use wildcard syntax to match a range of email addresses.
              # Example: "john@example.com,jane@example.com" or "*@example.com"
              ALLOWED_EMAILS=
              
              1 Reply Last reply
              0
              • K Offline
                K Offline
                keldorn
                wrote last edited by
                #11

                Hello, same error here.

                I did reinstall the application once, from scratch. At first, it did work, until it did not.

                @andreasdueren suggested fix worked for me. Thank you.

                andreasduerenA 1 Reply Last reply
                1
                • K keldorn

                  Hello, same error here.

                  I did reinstall the application once, from scratch. At first, it did work, until it did not.

                  @andreasdueren suggested fix worked for me. Thank you.

                  andreasduerenA Offline
                  andreasduerenA Offline
                  andreasdueren
                  wrote last edited by
                  #12

                  @keldorn yes that’s what I did too. Reinstalled them broke again

                  1 Reply Last reply
                  0
                  • nebulonN Offline
                    nebulonN Offline
                    nebulon
                    Staff
                    wrote last edited by
                    #13

                    would be great to have a way to reproduce this. Especially since prisma is just part of the image itself.

                    Can you for example run which prisma? It should print /tmp/pnpm/prisma if the PATH env is correct. Though I cannot quite see why that wouldn't be the case unless the image is somehow broken locally. Like https://git.cloudron.io/packages/rallly-app/-/blob/main/start.sh?ref_type=heads this is all the app does when the container starts.

                    andreasduerenA 1 Reply Last reply
                    0
                    • nebulonN nebulon

                      would be great to have a way to reproduce this. Especially since prisma is just part of the image itself.

                      Can you for example run which prisma? It should print /tmp/pnpm/prisma if the PATH env is correct. Though I cannot quite see why that wouldn't be the case unless the image is somehow broken locally. Like https://git.cloudron.io/packages/rallly-app/-/blob/main/start.sh?ref_type=heads this is all the app does when the container starts.

                      andreasduerenA Offline
                      andreasduerenA Offline
                      andreasdueren
                      wrote last edited by andreasdueren
                      #14

                      @nebulon im Sorry I don't know what to tell you except for this is what fixed it. which prisma returns nothing:

                      root@37e3d748-cecb-49e4-b218-88d23a2b37a4:/app/pkg# which prisma
                      root@37e3d748-cecb-49e4-b218-88d23a2b37a4:/app/pkg# 
                      
                      1 Reply Last reply
                      0
                      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