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

Cannot get through initial setup #756

Closed
1 task done
Octelly opened this issue May 20, 2024 · 6 comments
Closed
1 task done

Cannot get through initial setup #756

Octelly opened this issue May 20, 2024 · 6 comments

Comments

@Octelly
Copy link

Octelly commented May 20, 2024

Description

When trying to sign in for the first time, the web interface shows a "Something went wrong while trying to sign in." and in Chromium DevTools all I can see is a 500 for api/v1/auth/jellyfin. journactl -fu jellyseerr does not yield any useful information. (see logs section)

I have tried nuking all off Jellyseerr's saved data that I could find several times already, including deleting all site cookies in my browser with no result. I've tried configuring it both through my reverse proxy and directly with no change. Using local IP/public URL for Jellyfin also didn't change anything.

I did get to the second step once, but was unable to replicate this.

Version

Nixpkgs for my system version reports version 1.7.0

Steps to Reproduce

My server runs NixOS

services.jellyseerr.enable = true;

This runs the Jellyseerr executable through systemd, the exact service configuration used can be found here (it is Nix code, but should be readable for anyone with systemd experience).

Screenshots

Screenshot_20240520_174714

Logs

May 20 17:26:49 (server name redacted) jellyseerr[348095]: 2024-05-20T15:26:49.746Z [info][Notifications]: Registered notification agents
May 20 17:26:49 (server name redacted) jellyseerr[348095]: 2024-05-20T15:26:49.866Z [info][Jobs]: Scheduled jobs loaded
May 20 17:26:50 (server name redacted) jellyseerr[348095]: 2024-05-20T15:26:50.436Z [info][Server]: Server ready on port 5055
May 20 17:27:00 (server name redacted) jellyseerr[348095]: 2024-05-20T15:27:00.020Z [debug][Jobs]: Starting scheduled job: Download Sync
May 20 17:28:00 (server name redacted) jellyseerr[348095]: 2024-05-20T15:28:00.021Z [debug][Jobs]: Starting scheduled job: Download Sync
May 20 17:29:00 (server name redacted) jellyseerr[348095]: 2024-05-20T15:29:00.021Z [debug][Jobs]: Starting scheduled job: Download Sync
May 20 17:30:00 (server name redacted) jellyseerr[348095]: 2024-05-20T15:30:00.023Z [debug][Jobs]: Starting scheduled job: Download Sync
May 20 17:30:00 (server name redacted) jellyseerr[348095]: 2024-05-20T15:30:00.039Z [info][Jobs]: Starting scheduled job: Jellyfin Recently Added Sync
May 20 17:30:00 (server name redacted) jellyseerr[348095]: 2024-05-20T15:30:00.042Z [info][Jellyfin Sync]: Jellyfin Sync Starting {"sessionId":"7879db48-f637-462d-b422-6885594c9074"}
May 20 17:30:00 (server name redacted) jellyseerr[348095]: 2024-05-20T15:30:00.086Z [info][Jellyfin Sync]: Recently Added Scan Complete
May 20 17:31:00 (server name redacted) jellyseerr[348095]: 2024-05-20T15:31:00.026Z [debug][Jobs]: Starting scheduled job: Download Sync
May 20 17:32:00 (server name redacted) jellyseerr[348095]: 2024-05-20T15:32:00.019Z [debug][Jobs]: Starting scheduled job: Download Sync
May 20 17:33:00 (server name redacted) jellyseerr[348095]: 2024-05-20T15:33:00.026Z [debug][Jobs]: Starting scheduled job: Download Sync
May 20 17:34:00 (server name redacted) jellyseerr[348095]: 2024-05-20T15:34:00.029Z [debug][Jobs]: Starting scheduled job: Download Sync
May 20 17:35:00 (server name redacted) jellyseerr[348095]: 2024-05-20T15:35:00.025Z [debug][Jobs]: Starting scheduled job: Download Sync
May 20 17:35:00 (server name redacted) jellyseerr[348095]: 2024-05-20T15:35:00.042Z [info][Jobs]: Starting scheduled job: Jellyfin Recently Added Sync
May 20 17:35:00 (server name redacted) jellyseerr[348095]: 2024-05-20T15:35:00.043Z [info][Jellyfin Sync]: Jellyfin Sync Starting {"sessionId":"695ba04b-e1c3-4b0c-b5d5-6fcaf08125d1"}
May 20 17:35:00 (server name redacted) jellyseerr[348095]: 2024-05-20T15:35:00.065Z [info][Jellyfin Sync]: Recently Added Scan Complete
May 20 17:36:00 (server name redacted) jellyseerr[348095]: 2024-05-20T15:36:00.024Z [debug][Jobs]: Starting scheduled job: Download Sync
May 20 17:37:00 (server name redacted) jellyseerr[348095]: 2024-05-20T15:37:00.014Z [debug][Jobs]: Starting scheduled job: Download Sync
May 20 17:38:00 (server name redacted) jellyseerr[348095]: 2024-05-20T15:38:00.024Z [debug][Jobs]: Starting scheduled job: Download Sync
May 20 17:39:00 (server name redacted) jellyseerr[348095]: 2024-05-20T15:39:00.025Z [debug][Jobs]: Starting scheduled job: Download Sync

Platform

desktop

Device

n/a

Operating System

GNU/Linux based

Browser

Brave (Chromium)

Additional Context

No response

Code of Conduct

  • I agree to follow Jellyseerr's Code of Conduct
@Fallenbagel
Copy link
Owner

Fallenbagel commented May 20, 2024

Can you hop onto discord. We don't carry out troubleshooting on github issues.

(P.s I also use jellyseerr nixpkg but i use 1.8.1 from the unstable channel)

@Octelly
Copy link
Author

Octelly commented May 24, 2024

Didn't have time to go on Discord yet, but this issue is indeed still relevant.

@gauthier-th
Copy link
Collaborator

This looks like a configuration issue. If after checking the configuration this is still a problem, we can reopen the issue.

@Fallenbagel
Copy link
Owner

Didn't have time to go on Discord yet, but this issue is indeed still relevant.

This is definitely a configuration problem. I am running nixos on all my servers and it is indeed working. We don't carry out support issues on github issues so as to keep github clean for bugs and feature requests and other issues

@Octelly
Copy link
Author

Octelly commented May 25, 2024

Hey, I don't wanna argue, but this is quite literally just default settings.

All Jellyfin/Jellyseerr related lines in my main server's config (does not use a flake):

  services.jellyfin.enable = true;
  services.jellyseerr.enable = true;

Here are all the relevant virtualhost definitions in services.nginx.virtualHosts on my reverse proxy (also doesn't use a flake) - Jellyseerr is currently commented out as it's not working:

      # Jellyfin
      "[domain redacted]" = {
        forceSSL = true;
        useACMEHost = "[domain redacted]";
        locations."/" = {
          proxyPass = "http://${hosts.ocean-server}:8096";
          proxyWebsockets = true;
          recommendedProxySettings = true;
        };
      };

      ## Jellyseerr
      #"[domain redacted]" = {
      #  forceSSL = true;
      #  useACMEHost = "[domain redacted]";
      #  locations."/" = {
      #    proxyPass = "http://${hosts.ocean-server}:5055";
      #    proxyWebsockets = true;
      #    recommendedProxySettings = true;
      #  };
      #};

Both are on stable Nixpkgs.

@Fallenbagel
Copy link
Owner

Fallenbagel commented May 25, 2024

Hey, I don't wanna argue, but this is quite literally just default settings.

All Jellyfin/Jellyseerr related lines in my main server's config (does not use a flake):

  services.jellyfin.enable = true;
  services.jellyseerr.enable = true;

Here are all the relevant virtualhost definitions in services.nginx.virtualHosts on my reverse proxy (also doesn't use a flake) - Jellyseerr is currently commented out as it's not working:

      # Jellyfin
      "[domain redacted]" = {
        forceSSL = true;
        useACMEHost = "[domain redacted]";
        locations."/" = {
          proxyPass = "http://${hosts.ocean-server}:8096";
          proxyWebsockets = true;
          recommendedProxySettings = true;
        };
      };

      ## Jellyseerr
      #"[domain redacted]" = {
      #  forceSSL = true;
      #  useACMEHost = "[domain redacted]";
      #  locations."/" = {
      #    proxyPass = "http://${hosts.ocean-server}:5055";
      #    proxyWebsockets = true;
      #    recommendedProxySettings = true;
      #  };
      #};

Both are on stable Nixpkgs.

Not arguing. But there's a lot of troubleshooting steps I want to carry out and we don't carry out support here. Including something went wrong which can be explained by steps.

If you dont want to comply, i really cant help you. Because i am also running nix, on all my machines and i cant reproduce this so i am going to need your cooperation to figure out whats wrong in your instance. Without troubleshooting and understanding what's going on your system i cannot help fix it. Especially something I cannot reproduce given we're on the same platform. It is not an issue. But a configuration problem. Which i can help. If you help me figure out what it is.

I believe this might an issue where jellyfin hostname is already set in settings.json so it's throwing a 500 saying that. A suggestion i could give then is, go to /var/lib/private/jellyseerr/ then clean out your entire config directory and Retry. And for best effect, try overlaying it to use unstable nixpkg for jellyseerr only. It should be 1.8.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants