Missing secret key base

acero-adTRIAL

5 months ago

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

```Tasks: TOP => db:migrate => db:load_config => environment

(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

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

Solved

3 Replies

5 months ago

You have not applied the changes yet, click deploy.


acero-adTRIAL

5 months 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!


5 months ago

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


Status changed to Solved brody 5 months ago