R
Railway

βœ‹ο½œhelp

Template variable function ${{ secret() }} broken for new template deploys

Mmykalcodes8/29/2023
Hey, I have a plausible analytics template on railway. I just got an issue on my GitHub repo for the template citing some issues and it seems that the ${{ secret() }} functionality documented here (https://docs.railway.app/reference/templates#template-variable-functions) is no longer working for newly generated templates.

I just created a new instance of Plausible using my template (https://railway.app/template/mzYEXO) and I can see that the service set the environment variables CLICKHOUSE_PASSWORD and SECRET_KEY_BASE to equal ${{secret(32)}} and ${{secret(64)}} as strings respectively, not an actual generated secret.

Did something change in the implementation here that's causing this?
Any help in sorting this out would be awesome.
Mmykalcodes8/29/2023
Project ID: 1254242b-3d20-417d-8538-1d7dcb4ebdbd
Bbrody1928/29/2023
that's definitely the correct syntax
@jr - any idea whats going on?
Ccoffeecup8/29/2023
Afk atm but will take a look in a few hours/tomorrow morning
Mmykalcodes8/31/2023
Did we ever figure out the issue here? I'm assuming if I'm the only person having issues it's something specific to my template?
Ccoffeecup8/31/2023
Yes we have found the bug. Will be fixed soon
Kkytechinc8/31/2023
Thanks @Mykal & @jr, I was the GitHub issue submitter. I was able to get my templating going after Mykal helped guide me through some manual secret generation steps. glad to hear a fix is coming for 1 click deployment!
Ccoffeecup9/1/2023
This should be all fixed now
Mmykalcodes9/1/2023
Awesome! thank you πŸ™‚

Looking for more? Join the community!

R
Railway

βœ‹ο½œhelp

Join Server
Recommended Posts
Repo changes not being deployed automaticallyHi, I've made some fixes on my GitHub repository and the changes are not being deployed automaticallConnecting to custom postgres instanceHello! I have just set up a postgres service with custom dockerfile because I'm starting a new proje2 days in a row 7am server stops respondingI have a weird issue with my deployment. Nothing like that happened before. For the last 2 days aroui need help setting up my discord boti need someone to help me configure the database [ i am extremely new to this ]Time between new deploymentsSince I can't find this question, how many seconds does a deployment get removed after a new one goeHobby plan paymentHey do railway accept debit cards ? If yes then why isn't it working?Nobody answering emails on billingHow come nobody is answering the emails i send to billing@railway.app?Access Railway server via http, not https?Hello guys, any one can let me know to access my railway server using http link? ex: http://myservePR environments are not being deployed for the project ownerFollowup to https://discord.com/channels/713503345364697088/1006629907067064482/threads/114578691488Railway PaymentI don't have credit card and unable to get one in our country. Can i make payment using debit card ?Django project: install phase times outWe're currently evaluating Railway because we want to move away from AWS and have a more pleasant anNew to railwaysTrying to move my stuff from a VPS to railwayCancel subscription and then switch to credit, but between...?Hello, I have a doubt about the procedure to switch hobby plan from usage to credit based. Maybe theQuestion: When pushing updates to GitHub repo, will those changes be updated in my custom domain?I pushed a fix into my GitHub repo, which my site is being deployed from, merged to the main branch Template Submission Next StepsHey, I made this post over in #⚑|templates but I think it got deleted for some reason? so going to Nextjs build fail - runc run failed: unable to start container processDeployment ID dd25dd4a-51bd-489e-94a0-387b5ef51852 and [github repo](https://github.com/ballermatic/SSH tunnelingHi all, I'm deploying a django project with ssh tunneling to connect to a remote database. For this PR environments are not being deployed for the project ownerI have created a PR on my repo but I dont see any ephemeral deployment being createdGetting deployment error:11.24 error Your lockfile needs to be updated, but yarn was run with `--frozen-lockfile`. Tried difEstimated usage very similar to current cost?Is the estimate usage working properly, or does it take a while to provide accurate estimates? I a