dawarich icon indicating copy to clipboard operation
dawarich copied to clipboard

Brand new installation get 500 error on login

Open brettjenkins opened this issue 7 months ago • 3 comments

OS & Hardware Running on a k8s cluster via a helm chart and flux

Version 0.25.9

Describe the bug On first login with the default parameters I get a 500 error (and have to clear my cookies in order to see the login page again).

To Reproduce Steps to reproduce the behavior:

  1. Access the login page
  2. Login

Expected behavior I expected to be able to login

Screenshots n/a

Logs ERROR -- : │ │ dawarich TypeError (no implicit conversion of nil into String): │ │ dawarich │ │ dawarich config/routes.rb:13:in 'Digest::Class.digest' │ │ dawarich config/routes.rb:13:in 'Digest::Class.hexdigest' │ │ dawarich config/routes.rb:13:in 'block (2 levels) in

'

Additional context Brand new install, fresh database, so migration shouldn't be a factor.

brettjenkins avatar May 09 '25 15:05 brettjenkins

I can't really consult you on k8s setups, sorry

Freika avatar May 12 '25 19:05 Freika

There should be nothing odd about running it in k8s though? Could you at least point me into what that error is referring to?

brettjenkins avatar May 12 '25 21:05 brettjenkins

Sorry, really don't know. It's an error on the line containing ::Digest::SHA256.hexdigest(username) and it indicates that something wrong with ruby installation itself probably

Freika avatar May 16 '25 19:05 Freika