Missing secret key base
acero-ad
TRIALOP

a year ago

Im having and issue with the secret key base but at the same time I can see i add it to the variables.


(See full trace by running task with --trace)

bin/rails aborted!

ArgumentError: Missing `secret_key_base` for 'production' environment, set this string with `bin/rails credentials:edit` (ArgumentError)

 

          raise ArgumentError, "Missing `secret_key_base` for '#{Rails.env}' environment, set this string with `bin/rails credentials:edit`"```

[View Deploy details](https://railway.app/project/ade1909a-8dea-411e-ba59-dadcc996af45/service/b97bf77c-b512-4cec-9e77-2dafab5b3719?id=23e4bd16-faf5-44cc-a66a-9b60d160eb5b)

> ⓘ Deployment information is only viewable by project members and Railway employees.
Solved

3 Replies

a year ago

You have not applied the changes yet, click deploy.


acero-ad
TRIALOP

a year ago

Ok, I have to click deploy directly after adding the ENV variables in the settings... jaja I though they would automatically apply in the next deployment.

Thanks!


a year ago

Nope, they are staged until you decide to apply the changes!


Status changed to Solved brody over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...