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

[BUG] - UNRAID - There are no servers available! #288

Closed
1 task done
funnelcloudservices opened this issue Feb 3, 2024 · 13 comments
Closed
1 task done

[BUG] - UNRAID - There are no servers available! #288

funnelcloudservices opened this issue Feb 3, 2024 · 13 comments
Labels
bug Something isn't working

Comments

@funnelcloudservices
Copy link

Checks

  • I have searched the existing issues for a similar bug and it does not exist!

PlexRipper version

v0.14.0

Platform

Unraid

Browsers

Google Chrome, Brave

Description

I can access PlexRipper and can do all the setup steps as well as successfully add my plex account but no servers show up. There should be 3. I see no errors in the logfile

Reproduction steps

After I complete the "add plex account" setup it asks me to do it again.  Servers never show up.

I am running a Plex server on the same machine as well as two servers remotely.

Screenshots

![DESCRIPTION](LINK.png)

Logs

text  error  warn  system  array  login  


07:27:10 [Debug] [RefreshAccessiblePlexServersJob.Execute:24] => Executing job: {NameOfRefreshAccessiblePlexServersJob)} for {NameOfPlexAccountId)} with id: RefreshAccessiblePlexServersJob

07:27:10 [Debug] [PlexServerService.RefreshAccessiblePlexServersAsync:208] => Refreshing Plex servers for PlexAccount: 1

07:27:10 [Information] [PlexApiService.GetPlexApiTokenAsync:324] => Plex AuthToken was still valid, using from local DB

07:27:10 [Debug] [PlexApiClient.SendRequestAsync:58] => Sending request to: https://plex.tv/api/v2/resources?X-Plex-Token=********************-Plex-Client-Identifier=Chrome

07:27:10 [Debug] [RestSharpExtensions.ToResponseResult:92] => 
 - Metadata:
 -- StatusCode - 200

07:28:18 [Debug] [PlexAccountService.GetAllPlexAccountsAsync:172] => Returning all PlexAccounts

07:28:18 [Debug] [PlexAccountController.GetAllAccounts:38] => Returned 1 accounts

07:29:38 [Information] [PlexRipperHost.Setup:18] => Currently running on Linux

07:29:38 [Information] [PlexRipperDbContext.Setup:173] => Setting up the PlexRipper database

07:29:40 [Information] [PlexRipperDbContext.Setup:179] => Attempting to migrate database

07:29:40 [Information] [PlexRipperDbContext.Setup:196] => Database was successfully connected!

07:29:40 [Information] [PlexRipperDbContext.Setup:197] => Database connected at: /Config/PlexRipperDB.db

07:29:40 [Information] [Startup..ctor:20] => PlexRipper running in Production mode

07:29:40 [Debug] [PlexRipperHost.Setup:31] => Setting up Autofac Containers

07:29:41 [Information] [Quartz.DBConnectionManager:0] => Registering datasource 'default' with db provider: 'Quartz.Impl.AdoJobStore.Common.DbProvider'

07:29:41 [Information] [Quartz.StdSchedulerFactory:0] => Using object serializer: Quartz.Simpl.JsonObjectSerializer, Quartz.Serialization.Json

07:29:41 [Information] [Quartz.StdSchedulerFactory:0] => Using custom data access locking (synchronization): Quartz.Impl.AdoJobStore.UpdateLockRowSemaphore

07:29:41 [Information] [Quartz.SchedulerSignalerImpl:0] => Initialized Scheduler Signaller of type: Quartz.Core.SchedulerSignalerImpl

07:29:41 [Information] [Quartz.QuartzScheduler:0] => Quartz Scheduler created

07:29:41 [Information] [Quartz.QuartzScheduler:0] => JobFactory set to: Autofac.Extras.Quartz.AutofacJobFactory

07:29:41 [Information] [Quartz.JobStoreTX:0] => With SQLite we need to set AcquireTriggersWithinLock to true, changing

07:29:41 [Information] [Quartz.JobStoreTX:0] => Detected usage of SQLiteDelegate - defaulting 'txIsolationLevelSerializable' to 'true'

07:29:41 [Information] [Quartz.JobStoreTX:0] => Successfully validated presence of 10 schema objects

07:29:41 [Information] [Quartz.JobStoreTX:0] => JobStoreTX initialized.

07:29:41 [Information] [Quartz.StdSchedulerFactory:0] => Quartz Scheduler 3.5.0.0 - 'PlexRipper Scheduler' with instanceId 'NON_CLUSTERED' initialized

07:29:41 [Information] [Quartz.StdSchedulerFactory:0] => Using thread pool 'Quartz.Simpl.DefaultThreadPool', size: 10

07:29:41 [Information] [Quartz.StdSchedulerFactory:0] => Using job store 'Quartz.Impl.AdoJobStore.JobStoreTX', supports persistence: True, clustered: False

07:29:41 [Information] [Boot.WaitForStartAsync:55] => Initiating boot process

07:29:41 [Information] [ConfigManager.Setup:44] => Checking if PlexRipperSettings.json exists at /Config

07:29:41 [Information] [ConfigManager.Setup:51] => Config directory exists, will use /Config

07:29:41 [Information] [ConfigManager.LoadConfig:77] => Loading user config settings now

07:29:41 [Information] [ConfigManager.LoadConfig:97] => UserSettings were loaded successfully!

07:29:41 [Debug] [SchedulerService.SetupListeners:61] => Setting up Quartz listeners

07:29:41 [Information] [SchedulerService.SetupAsync:42] => Starting Quartz Scheduler

07:29:41 [Information] [Quartz.JobStoreTX:0] => Freed 0 triggers from 'acquired' / 'blocked' state.

07:29:41 [Information] [Quartz.JobStoreTX:0] => Recovering 0 jobs that were in-progress at the time of the last shut-down.

07:29:41 [Information] [Quartz.JobStoreTX:0] => Recovery complete.

07:29:41 [Information] [Quartz.JobStoreTX:0] => Removed 0 'complete' triggers.

07:29:41 [Information] [Quartz.JobStoreTX:0] => Removed 0 stale fired job entries.

07:29:41 [Information] [Quartz.QuartzScheduler:0] => Scheduler PlexRipper Scheduler_$_NON_CLUSTERED started.

07:29:41 [Information] [Boot.WaitForStartAsync:66] => Finished Initiating boot process

07:29:41 [Warning] [Microsoft.FileSystemXmlRepository:0] => Storing keys in a directory '/root/.aspnet/DataProtection-Keys' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed.

07:29:42 [Information] [Microsoft.Lifetime:0] => Now listening on: http://[::]:7000

07:29:42 [Information] [Boot.OnStarted:75] => Boot.OnStarted has been called

07:30:05 [Debug] [PlexAccountService.GetAllPlexAccountsAsync:172] => Returning all PlexAccounts

07:30:05 [Debug] [PlexAccountController.GetAllAccounts:38] => Returned 1 accounts

07:34:08 [Debug] [PlexAccountService.GetAllPlexAccountsAsync:172] => Returning all PlexAccounts

07:34:08 [Debug] [PlexAccountController.GetAllAccounts:38] => Returned 1 accounts

07:34:12 [Debug] [PlexAccountService.GetAllPlexAccountsAsync:172] => Returning all PlexAccounts

07:34:12 [Debug] [PlexAccountController.GetAllAccounts:38] => Returned 1 accounts

07:34:26 [Debug] [PlexAccountService.GetAllPlexAccountsAsync:172] => Returning all PlexAccounts

07:34:26 [Debug] [PlexAccountController.GetAllAccounts:38] => Returned 1 accounts

07:34:40 [Debug] [PlexAccountService.GetAllPlexAccountsAsync:172] => Returning all PlexAccounts

07:34:40 [Debug] [PlexAccountController.GetAllAccounts:38] => Returned 1 accounts

07:36:48 [Debug] [PlexAccountService.GetAllPlexAccountsAsync:172] => Returning all PlexAccounts

07:36:48 [Debug] [PlexAccountController.GetAllAccounts:38] => Returned 1 accounts

07:36:55 [Debug] [RefreshAccessiblePlexServersJob.Execute:24] => Executing job: {NameOfRefreshAccessiblePlexServersJob)} for {NameOfPlexAccountId)} with id: RefreshAccessiblePlexServersJob

07:36:55 [Debug] [PlexServerService.RefreshAccessiblePlexServersAsync:208] => Refreshing Plex servers for PlexAccount: 1

07:36:55 [Information] [PlexApiService.GetPlexApiTokenAsync:324] => Plex AuthToken was still valid, using from local DB

07:36:55 [Debug] [PlexApiClient.SendRequestAsync:58] => Sending request to: https://plex.tv/api/v2/resources?X-Plex-Token=*********************-Plex-Client-Identifier=Chrome

07:36:56 [Debug] [RestSharpExtensions.ToResponseResult:92] => 
 - Metadata:
 -- StatusCode - 200
@funnelcloudservices funnelcloudservices added the bug Something isn't working label Feb 3, 2024
@stromvirvel
Copy link

stromvirvel commented Feb 4, 2024

I have the same issue. @funnelcloudservices do you happen to have MFA enabled on your account?

@funnelcloudservices
Copy link
Author

do you happen to have MFA enabled on your account?

Nope, it is turned off.

@Scottybegood
Copy link

I'm having the same issue but I have this great line in my logs:
"00:30:50 [Error] [Microsoft.Kestrel:0] => Connection id "0HN1D3NMOMB8R", Request id "0HN1D3NMOMB8R:00000017": An unhandled exception was thrown by the application"
Same version.

@Arrheniu2
Copy link

same here :(

@JasonLandbridge
Copy link
Collaborator

Hey sorry for the delay everyone, I will look into it this week!

If you wanna help, can you send your account credentials to plexripper@protonmail.com so I can make sure my fix works? I will just use it for testing and nothing else, thanks!

@Arrheniu2
Copy link

Hey sorry for the delay everyone, I will look into it this week!

If you wanna help, can you send your account credentials to plexripper@protonmail.com so I can make sure my fix works? I will just use it for testing and nothing else, thanks!

ive sent you credential and logs, thanks

@xmutantson
Copy link

Has there been any update on this? Everything was working for a while but then today I started the image on a different server and after adding my account, the dialog box that appears which scans the servers just isn't triggering. I can see from the logs that something is happening when I hit refresh on my account in the top right of the main plexripper UI, but it still says I haven't got any servers associated with my account. I can go to the URL that is seemingly being fetched by "[PlexApiClient.SendRequestAsync:58]" and I get an XML file showing what I expect to see. I can email that if needed. Also, I found the dev image but it has all sorts of problems currently (don't know what I expected to be honest) and so I'm using the regular stable one.

05:04:13 [Information] [PlexRipperHost.Setup:18] => Currently running on "Linux"

05:04:15 [Debug] [PlexRipperHost.Setup:31] => Setting up Autofac Containers
xRipper database

05:04:15 [Information] [PlexRipperDbContext.Setup:179] => Attempting to migrate database

05:04:15 [Information] [PlexRipperDbContext.Setup:196] => Database was successfully connected!

05:04:15 [Information] [PlexRipperDbContext.Setup:197] => Database connected at: /Config/PlexRipperDB.db

05:04:15 [Information] [Startup..ctor:20] => PlexRipper running in Production mode

05:04:16 [Information] [Quartz.DBConnectionManager:0] => Registering datasource 'default' with db provider: 'Quartz.Impl.AdoJobStore.Common.DbProvider'

05:04:16 [Information] [Quartz.StdSchedulerFactory:0] => Using object serializer: Quartz.Simpl.JsonObjectSerializer, Quartz.Serialization.Json

05:04:16 [Information] [Quartz.StdSchedulerFactory:0] => Using custom data access locking (synchronization): Quartz.Impl.AdoJobStore.UpdateLockRowSemaphore

05:04:16 [Information] [Quartz.SchedulerSignalerImpl:0] => Initialized Scheduler Signaller of type: Quartz.Core.SchedulerSignalerImpl

05:04:16 [Information] [Quartz.QuartzScheduler:0] => Quartz Scheduler created

05:04:16 [Information] [Quartz.QuartzScheduler:0] => JobFactory set to: Autofac.Extras.Quartz.AutofacJobFactory

05:04:16 [Information] [Quartz.JobStoreTX:0] => With SQLite we need to set AcquireTriggersWithinLock to true, changing

05:04:16 [Information] [Quartz.JobStoreTX:0] => Detected usage of SQLiteDelegate - defaulting 'txIsolationLevelSerializable' to 'true'

05:04:16 [Information] [Quartz.JobStoreTX:0] => Successfully validated presence of 10 schema objects

05:04:16 [Information] [Quartz.JobStoreTX:0] => JobStoreTX initialized.

05:04:16 [Information] [Quartz.StdSchedulerFactory:0] => Quartz Scheduler 3.5.0.0 - 'PlexRipper Scheduler' with instanceId 'NON_CLUSTERED' initialized

05:04:16 [Information] [Quartz.StdSchedulerFactory:0] => Using thread pool 'Quartz.Simpl.DefaultThreadPool', size: 10

05:04:16 [Information] [Quartz.StdSchedulerFactory:0] => Using job store 'Quartz.Impl.AdoJobStore.JobStoreTX', supports persistence: True, clustered: False

05:04:16 [Information] [Quartz.JobStoreTX:0] => Freed 0 triggers from 'acquired' / 'blocked' state.

05:04:16 [Information] [Quartz.JobStoreTX:0] => Recovering 0 jobs that were in-progress at the time of the last shut-down.

05:04:16 [Information] [Quartz.JobStoreTX:0] => Recovery complete.

05:04:16 [Information] [Quartz.JobStoreTX:0] => Removed 0 'complete' triggers.

05:04:16 [Information] [Quartz.JobStoreTX:0] => Removed 0 stale fired job entries.

05:04:1
05:11:46 [Debug] [RestSharpExtensions.ToResponseResult:92] =>
 - Metadata:
 -- StatusCode - 200
] [Boot.WaitForStartAsync:66] => Finished Initiating boot process

05:04:17 [Information] [Boot.OnStarted:75] => Boot.OnStarted has been called

05:04:18 [Debug] [PlexAccountService.GetAllPlexAccountsAsync:172] => Returning all PlexAccounts

05:04:18 [Debug] [PlexAccountController.GetAllAccounts:38] => Returned 1 accounts

05:11:46 [Debug] [RefreshAccessiblePlexServersJob.Execute:24] => Executing job: {NameOfRefreshAccessiblePlexServersJob)} for {NameOfPlexAccountId)} with id: RefreshAccessiblePlexServersJob

05:11:46 [Debug] [PlexServerService.RefreshAccessiblePlexServersAsync:208] => Refreshing Plex servers for PlexAccount: 1

05:11:46 [Information] [PlexApiService.GetPlexApiTokenAsync:324] => Plex AuthToken was still valid, using from local DB

05:11:46 [Debug] [PlexApiClient.SendRequestAsync:58] => Sending request to: "https://plex.tv/api/v2/resources?X-Plex-Token=**********-Plex-Client-Identifier=Chrome"

@Gabe2K5
Copy link

Gabe2K5 commented Jun 15, 2024

I have the same issue running the docker in both unraid, and docker desktop on windows. I successfully authenticate my account, but I get no servers available on the main page.

log20240615.txt

@JasonLandbridge
Copy link
Collaborator

Due to the age of this issue I'm closing it as a big update (0.15-0.17) with a years worth of updates and fixes has been released. Please let me know if this is still an issue!

@Gabe2K5
Copy link

Gabe2K5 commented Aug 6, 2024

Just updated the docker on unraid and successfully re-authenticated my credentials. The issue remains.

@JasonLandbridge
Copy link
Collaborator

@Gabe2K5 Could you send me your credentials to plexripper@protonmail.com so i can take a look?

@JasonLandbridge
Copy link
Collaborator

Closing as this should have been fixed now

@funnelcloudservices
Copy link
Author

This started working for me on V18.0. I did have to delete and re-add my account info to make it work.

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
None yet
Development

No branches or pull requests

7 participants