-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to login to Unraid Container #608
Comments
hey,
Did you also deal with this? My redis container is accessible and working. Thank you very much and happy new year! |
Heya: I didn’t have that issue. Postgres gave me some trouble but it was as much a matter of checking URLs and some trial and error. Redis went though right away. That almost looks like an issue with maybe what you might be using as authentication? |
I actually removed the password from my redis container and it worked. Thanks and sorry for the hijack :-) EDIT: what URL did you put for the postgres? was it http:// or postres:// ? |
I can't really support on Unraid related questions as I'm not familiar with it that much, but @awra2001 your problem seems like the demo user wasn't created in the database. You can do the following in the console: User.create!(email: '[email protected]', password: 'new_password', admin: true) @ahatdude I probably will have to see what needs to be done to support redis auth to resolve that, thanks for pointing out |
I can also confirm that the initial user is not created when using this on unraid (this may be specific to the unraid deployment, but I'm not seeing anything in the docker-compose.yml file that stood out that was different from what was used in the unraid deployment). When we start dawarich, it prompts to run db:migrate (either from browser or cli), but no user is added to the users table. |
Also having the same issue with UNRAID. I tried executing the command line in the Dawarich console and receive the following error. Any help with how to create a user would be greatly appreciated! sh: syntax error: unexpected word (expecting ")") |
Make sure you are in the dawarich console before executing the user.create command. See FAQ. |
While I get dawarich's Unraid Community Template to work (it is missing a DATABASE_PORT variable and it also has the above user-issue) I still can't use the application as expected. E.g. the file-import for GPX files doesn't give me an error (neither on the webfront-end nor on the console, the import results in an entry with 0 points. The GPX file is an actually recorded track and not a planned route. So my assumption is, that the Docker Community Template has more flaws then the above ones. Just to verify. Is there any way to test if dawarich runs as expected? I have added the gpx file for reference just to ensure it's not the cause of the issue. 23.07.2017_9_58_46_vorm..gpx.zip I just tried to edit this "0 points import" and I get an error... maybe this helps to identify if it has to do with the Unraid Template |
Could you specify how you added the postgres adress? I'm struggling to get it connected to the postgres database. Thanks! |
(this is my first bug I'm doing... ever, so forgive me if it's not what it should be!)
Describe the bug
I am unable to login to demo login.
Version
Unraid docker version latest.
To Reproduce
Steps to reproduce the behavior:
[1] pry(main)> User.find_by(email: '[email protected]').update(password: 'new_password', password_confirmation: 'new_password')
D, [2024-12-31T17:47:22.599026 #147] DEBUG -- : User Load (3.7ms) SELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2 [["email", "[email protected]"], ["LIMIT", 1]]
NoMethodError: undefined method `update' for nil
Expected behavior
The ability to log in, and I can't.
Additional context
I also attempted to use my own email, hoping there might be some magic, but there wasn't.
I suppose if I understood Ruby better I could just add a user via the console.
The text was updated successfully, but these errors were encountered: