-
Please change line
44
fromexport 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.
-
J james moved this topic from Support
-
J james marked this topic as a regular topic
-
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?@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. -
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.@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.
-
@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
-
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#L54Are there any variables in the /app/data/env which may interfere with prisma or the PATH ?
-
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#L54Are there any variables in the /app/data/env which may interfere with prisma or the PATH ?
@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#L54Are 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=
-
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.
-
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.
@keldorn yes that’s what I did too. Reinstalled them broke again