May 24May 24 Hi,after spending way to long to get the DB Connection for dawarich to work, I am now running into an error I can not fix. After starting the dawarich docker the log shows the following:bottom of the log:OIDC: Not configured (missing OIDC_CLIENT_ID or OIDC_CLIENT_SECRET)top of the log: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"I have tried to google myself out of this but had no luck for 2h so far.I added an extra variable to the docker config named secret_key_base based on this https://github.com/truenas/apps/pull/4705 but I have absolutely no idea what value I have to fill in. I tried leaving it empty, I tried <%= ENV["SECRET_KEY_BASE"] %> based of this site https://stackoverflow.com/questions/23180650/how-to-solve-error-missing-secret-key-base-for-production-environment-rai but nothing is working.Can anyone help me with this?
May 24May 24 Author I spend an other 2 hours ... and got it working.To "fix" that bug I had to change Rails Environment (it is under More Settings) to development .... and got a few other errors after that.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.