Skip to content
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

Internal Server Error when logging in #273

Closed
theAlevan opened this issue Feb 7, 2023 · 3 comments · Fixed by #274
Closed

Internal Server Error when logging in #273

theAlevan opened this issue Feb 7, 2023 · 3 comments · Fixed by #274
Assignees
Labels
bug Something isn't working
Milestone

Comments

@theAlevan
Copy link

theAlevan commented Feb 7, 2023

When I log in on the Web UI, I get the Internal Server Error message. I use a Fedora 37 based Docker Swarm.

This is the log about the event:
[error] #PID<0.589.0> running MediaServerWeb.Endpoint (connection #PID<0.581.0>, stream id 5) terminated
Server: 10.0.2.1:4050 (http)
Request: GET /
** (exit) an exception was raised:
** (BadMapError) expected a map, got: nil
(stdlib 3.17.2.1) :maps.find("images", nil)
(media_server 2.0.0) lib/media_server/helpers.ex:40: MediaServer.Helpers.get_background/1
(media_server 2.0.0) lib/media_server_web/live/home_live/index.html.heex:7: anonymous fn/2 in MediaServerWeb.HomeLive.Index.render/1
(phoenix_live_view 0.18.3) lib/phoenix_live_view/diff.ex:387: Phoenix.LiveView.Diff.traverse/7
(phoenix_live_view 0.18.3) lib/phoenix_live_view/diff.ex:521: anonymous fn/4 in Phoenix.LiveView.Diff.traverse_dynamic/7
(elixir 1.13.4) lib/enum.ex:2396: Enum."-reduce/3-lists^foldl/2-0-"/3
(phoenix_live_view 0.18.3) lib/phoenix_live_view/diff.ex:387: Phoenix.LiveView.Diff.traverse/7
(phoenix_live_view 0.18.3) lib/phoenix_live_view/diff.ex:521: anonymous fn/4 in Phoenix.LiveView.Diff.traverse_dynamic/7

@trueChazza
Copy link
Member

Hi thank you for opening this issue.

This is happening due to your latest movie from Radarr not having any images, or no movies at all.

@trueChazza
Copy link
Member

I’ll tag this as a bug for me to follow up on, as ideally it shouldn’t error.

@trueChazza trueChazza self-assigned this Feb 7, 2023
@trueChazza trueChazza added the bug Something isn't working label Feb 7, 2023
@trueChazza trueChazza added this to the v2.1.0 milestone Feb 10, 2023
@trueChazza trueChazza moved this to In Progress in midarrlabs Feb 10, 2023
@trueChazza trueChazza linked a pull request Feb 10, 2023 that will close this issue
@github-project-automation github-project-automation bot moved this from In Progress to Done in midarrlabs Feb 11, 2023
@trueChazza
Copy link
Member

This will be fixed in next release - v2.1.0

Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants