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
10 Posts 4 Posters 90 Views 4 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.
  • andreasduerenA Offline
    andreasduerenA Offline
    andreasdueren
    wrote last edited by
    #1

    Please change line 44 from

    export SMTP_PORT=${CLOUDRON_MAIL_SMTP_PORT}
    

    to

    export SMTP_PORT="${CLOUDRON_MAIL_SMTP_PORT}"
    

    As it otherwise won't start. And manually changing it via the CLI is not persistent.

    1 Reply Last reply
    2
    • jamesJ james moved this topic from Support
    • jamesJ Online
      jamesJ Online
      james
      Staff
      wrote last edited by
      #2

      Hello @andreasdueren
      I have just installed the Rallly app and there was no issue with the startup.
      Could you please elaborate why this causes issues for you?

      andreasduerenA 1 Reply Last reply
      0
      • jamesJ james marked this topic as a regular topic
      • jamesJ james

        Hello @andreasdueren
        I have just installed the Rallly app and there was no issue with the startup.
        Could you please elaborate why this causes issues for you?

        andreasduerenA Offline
        andreasduerenA Offline
        andreasdueren
        wrote last edited by
        #3

        @james This line in the start.sh file breaks the app. At some point it didn't start anymore after an update and the logs led me to it, thought I may have done something and manually changed it. But I think every upgrade changes it back and breaks it again.

        1 Reply Last reply
        0
        • jamesJ Online
          jamesJ Online
          james
          Staff
          wrote last edited by
          #4

          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 1 Reply Last reply
          0
          • 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 Online
                  jamesJ Online
                  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
                      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