Plex Requests .Net

v1.9.6
Getting this error when I try to look at the scheduled jobs link in settings.

500 - InternalServerError
Something went horribly, horribly wrong while servicing your request.

We're sorry :-(

Error Details

Nancy.RequestExecutionException: Oh noes! ---> System.ArgumentException: An item with the same key has already been added.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
   at PlexRequests.UI.Modules.AdminModule.d__128.MoveNext() in C:\projects\requestplex\PlexRequests.UI\Modules\AdminModule.cs:line 969
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at PlexRequests.UI.Modules.AdminModule.<<-ctor>b__85_42>d.MoveNext() in C:\projects\requestplex\PlexRequests.UI\Modules\AdminModule.cs:line 221
   --- End of inner exception stack trace ---
   at Nancy.NancyEngine.InvokeOnErrorHook(NancyContext context, ErrorPipeline pipeline, Exception ex)

@tidusjar said:

Regarding the URL issue, it’s been fixed at the point of origin, with existing requests it’s hard to fix as the ‘broken’ URL is stored in the db with the request. I’ll see if I can create some cleanup script.

This will be awhile as your out having your first child (Congrats by the way!!), but in between feedings and diapers, this issue still remains in 1.9.6… :slight_smile:

Hi, I just installed this on a fresh install of Ubuntu 16.04 and when I run the command “sudo /usr/bin/mono /opt/PlexRequests/Release/PlexRequests.exe” I am getting the following error:

I followed the guide on this page: https://github.com/tidusjar/PlexRequests.Net/wiki/Installing-on-Debian-Ubuntu Can anyone help? Thanks.

I just got this installed and can’t wait to make it available to all my users. Is there any front-end integration for my end-users to be able to access this or do I have to supply them with a link? I’m not seeing anything in channels, or any special new buttons or anything… thanks!

@PaiNFuLSeDaTiVe said:
I just got this installed and can’t wait to make it available to all my users. Is there any front-end integration for my end-users to be able to access this or do I have to supply them with a link? I’m not seeing anything in channels, or any special new buttons or anything… thanks!

Hello!

It’s self hosting, so you will need to provide them with a link (port forward it). By default it runs on localhost:3579 but you can change that in the settings.

@tidusjar said:

@PaiNFuLSeDaTiVe said:
I just got this installed and can’t wait to make it available to all my users. Is there any front-end integration for my end-users to be able to access this or do I have to supply them with a link? I’m not seeing anything in channels, or any special new buttons or anything… thanks!

Hello!

It’s self hosting, so you will need to provide them with a link (port forward it). By default it runs on localhost:3579 but you can change that in the settings.

Ok thanks for the immediate response! It would be cool if they could get to easier, but I understand :slight_smile: This is why Plex needs to add a MOTD or scrolling banner option to our Plex installs so we can add notifications/recent news for our users :wink:

@tidusjar said:
Hello everyone,

So as you may know I have wrote a .Net version of the original Plex Requests.

I’d like to share with everyone our latest release that now supports Headphones!
Releases · Ombi-app/Ombi · GitHub

Here is our new website!
http://tidusjar.github.io/PlexRequests.Net/

If you have any questions or issues please feel free to post here.

Thanks,
TidusJar.

Tidus Jar has opened a feature request page for his project and also I have created a feature I am trying to see if there is any interest in, a payment system and local user database so that you can have paid plex users without trying to do a bunch of major PLEX changes

http://feathub.com/tidusjar/PlexRequests.Net/+1

@f3rr311 said:

@tidusjar said:
Hello everyone,

So as you may know I have wrote a .Net version of the original Plex Requests.

I’d like to share with everyone our latest release that now supports Headphones!
Releases · Ombi-app/Ombi · GitHub

Here is our new website!
http://tidusjar.github.io/PlexRequests.Net/

If you have any questions or issues please feel free to post here.

Thanks,
TidusJar.

Tidus Jar has opened a feature request page for his project and also I have created a feature I am trying to see if there is any interest in, a payment system and local user database so that you can have paid plex users without trying to do a bunch of major PLEX changes

http://feathub.com/tidusjar/PlexRequests.Net/+1

Good way to get our Plex Pass refunded, or Plex account revoked, as this is against the Plex EULA. But hey, your sandbox…

As of last night I am having problems searching for Movies (Search continues spinning forever).

Nothing is output to the logs. I have tried a fresh install but that has the same problem.

Can anyone confirm if they are also having this issue or if it is just me?

Thanks

Harroguk

Probably a Noob Question…

How do my users that are not part of my local IP connect to my Plexrequest.net? Do I have to setup a website for them to connect?

Update: Nevermind Saw the answer above

@harroguk said:
As of last night I am having problems searching for Movies (Search continues spinning forever).

Nothing is output to the logs. I have tried a fresh install but that has the same problem.

Can anyone confirm if they are also having this issue or if it is just me?

Thanks

Harroguk

I can’t confirm this, pleas open a issue on github to help you out with this!

Hi there! This the SuperPotatomen helping out tidusjar on github.
I’m happy to announce we have a early christmas present for you guys.
The big make-PlexRequest.net-great-again open beta 1.10.0.
Feel free to join the open beta test, you can download the latest build over here:
https://ci.appveyor.com/project/tidusjar/requestplex/build/artifacts

**Pleas note: Unblock the zip file before you unpack the zip file!!! **

(Once updated, to remove the “There is a update” banner you need to go into Admin > Status and change the Code Branch to Early Access Preview)

In this build we fixed 30 reported bugs, implementing 20 community idea’s, closed 51 issues on github, make great new features and do big improvements on the request system.

The biggest new features are: the User management, the Fault Queue, auto updater (hello again ;-)) and the introduction of the different update branches (Development, early access preview and stable)

User management

You can manage every plexrequest user differently, give them the right permissions or deny something.
Multi admin, read only users and add new user accounts is now possible in the User management option!

Fault Queue

Sometimes isn’t possible to add a brand new show or movie to sonarr/SickRage/CouchPotato because the information website tvmaze don’t have all the information yet.
The request failed and the plex request user can’t request that nicely show/movie.
In this release we store the request in the fault queue and try it every 24 hours to add it again.
The server admin will be receive also a email message.

Auto updater

finally it is back! No more manually downloading zip files and unrar the files.

Different update branches

For better support, less bugs and make faster new features we introduce 3 different update branches:
Development, early access preview and stable.
The biggest differents between the 3 update branches is you can now easly helping us out with testing the new upcomming features and bug fixes.
if you like to have a more stable one and don’t like to update a lot of time you can choose the stable branche.

Features added

  • User management (create multiple admins, information page about all of our Plex Users, Allow users to request tv shows, movies, or both per user)
  • Fault Queue feature (Better handle add future tv shows/movies when tv maze don’t have all of the information, Buffer user requests into a waiting queue when CP/Sonarr is offline)
  • Auto updater
  • different update branches
  • override plex machine identifier
  • Change HTTP Listener
  • Copy to clipboard feature for api key
  • Sent a email notification when you deny a request after a approval.

Improvements:

  • Better handle big plex library’s so plex availability checker do his work mutch faster.
  • Newsletter supports now Managed Users under a plex pass account
  • Change retry time when cp/sonarr gives a error
  • Handle duplicate usernames plex.tv - local accounts (dev branch)

Changes:

Remove:

  • Option Whitelist plex users. You can now config that in the user mangement page

Not in this patch

  • Repair automatic brokenimages on the request page

Bug fixed

  • API Key not saving
  • Notification is sent when an item is “Mark Unavailable”
  • Unable to see Requests for approval
  • 403 error when entering the settings page after admin login (dev branch)
  • Email Newsletter Error with Managed Users
  • Crash on migration from 1.9.7 to 1.10.0 (dev branch)
  • Crash on starting up plexrequest 1.10.0 (dev branch)
  • Admin panel and usermanagement page doesn’t work (dev branch)
  • Management system doesn’t support plex users
  • Plexrequest doesn’t send a email notification when a user changes his plex username account
  • Recently Added Email Notification Error
  • Landing page ignores the show before the login button
  • Logs saved where mono command was run
  • no favicon when using reserve proxy
  • api key generation doesn’t work (dev branch)
  • migration error after starting up (dev branch)
  • Dev branch keep saying there is a update (dev branch)
  • Auto updater doesn’t work
  • Can not log out when on Logs page and sticky log level button
  • Can’t see the loading circle on the the user management page (dev branch)
  • Error displaying details for pending and resolved issues (dev branch)
  • Unable to send Newsletter test email to admin (Value cannot be null. Parameter name: source) (dev / stable branch)
  • Can’t view Issues (dev branch)
  • Newsletter sends every time the service starts. (dev branch)
  • Local User can’t request tv shows and movies (dev branch)
  • default permission Recently Added Notifications doesn’t work (dev branch)
  • Unable to input Quartz Cron Job schedule (dev branch)
  • Can’t see the loading circle on the user management page (dev branch)

@plexitnow.net , not seeing where the instructions on updating from a previous build to this new build, i stopped the service and just unzipped this new beta on top of the old install, restarted the service and everything seems to be up. only issue i have is that i am getting a 500 - Internal server error when i go to the Status page to try to get rid of the update banner. any ideas?

@AeroR1 said:
@plexitnow.net , not seeing where the instructions on updating from a previous build to this new build, i stopped the service and just unzipped this new beta on top of the old install, restarted the service and everything seems to be up. only issue i have is that i am getting a 500 - Internal server error when i go to the Status page to try to get rid of the update banner. any ideas?

Hi, that is correct, just overwriting everything will be fine.

Yes a few users reported the 500 internal server error. I cannot reproduce it myself. What OS are you running?

@tidusjar said:

@AeroR1 said:
@plexitnow.net , not seeing where the instructions on updating from a previous build to this new build, i stopped the service and just unzipped this new beta on top of the old install, restarted the service and everything seems to be up. only issue i have is that i am getting a 500 - Internal server error when i go to the Status page to try to get rid of the update banner. any ideas?

Hi, that is correct, just overwriting everything will be fine.

Yes a few users reported the 500 internal server error. I cannot reproduce it myself. What OS are you running?

It’s running on windows 7 ultimate x64. Thanks.

I’m getting the 500 error on the Admin -> Status page as well. Linux running on an Asustor AS-7004T NAS.

Just fyi… Your Google Analytics implementation is causing an error on a fresh install.

Win10 BTW…

That’s strange, never encountered that error before. Thanks for reporting it, I’ll make sure I add some better error handling around that. You can always turn off the analytics in the settings.

Everyone who is having the 500 error when clicking on status, it’s due to the upgrade procedure that you are overwriting everything, in the new version I have slightly restructured a few files so overwriting is not going to work, I suggest you take a copy of the PlexRequests.sqlite file and then extract to a clean location and put the sqlite file in the new location

I keep getting the following when i tried copying the PlexRequests.sqlite file to a new install when starting up.

Starting Up! Please wait, this can usually take a few seconds.
Version: 1.10.0
Location of the database: C:\PlexRequests\Release\PlexRequests.sqlite
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.Reflection.TargetInvocationExceptio
n: Exception has been thrown by the target of an invocation. —> System.NullReferenceException: Object reference not set to an instance of an object.

at PlexRequests.Core.Migration.Migrations.Version1100.UpdateDb(IDbConnection con) in C:\projects\requestplex\PlexRequests.Core.Migration\Migrations
\Version1100.cs:line 247
at PlexRequests.Core.Migration.Migrations.Version1100.Start(IDbConnection con) in C:\projects\requestplex\PlexRequests.Core.Migration\Migrations\Ve
rsion1100.cs:line 76
— End of inner exception stack trace —
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at PlexRequests.Core.Migration.MigrationRunner.MigrateToLatest() in C:\projects\requestplex\PlexRequests.Core.Migration\MigrationRunner.cs:line 43
at PlexRequests.UI.Startup.Configuration(IAppBuilder app) in C:\projects\requestplex\PlexRequests.UI\Startup.cs:line 101
— End of inner exception stack trace —
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Owin.Loader.DefaultLoader.<>c__DisplayClass12.b__b(IAppBuilder builder)
at Owin.Loader.DefaultLoader.<>c__DisplayClass1.b__0(IAppBuilder builder)
at Microsoft.Owin.Hosting.Engine.HostingEngine.ResolveApp(StartContext context)
at Microsoft.Owin.Hosting.Engine.HostingEngine.Start(StartContext context)
at Microsoft.Owin.Hosting.Starter.DirectHostingStarter.Start(StartOptions options)
at Microsoft.Owin.Hosting.Starter.HostingStarter.Start(StartOptions options)
at Microsoft.Owin.Hosting.WebApp.StartImplementation(IServiceProvider services, StartOptions options)
at Microsoft.Owin.Hosting.WebApp.Start(StartOptions options)
at Microsoft.Owin.Hosting.WebApp.Start[TStartup](StartOptions options)
at PlexRequests.UI.Program.Main(String[] args) in C:\projects\requestplex\PlexRequests.UI\Program.cs:line 93

Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.Reflection.Tar
getInvocationException: Exception has been thrown by the target of an invocation. —> System.NullReferenceException: Object reference not set to an i
nstance of an object.
at PlexRequests.Core.Migration.Migrations.Version1100.UpdateDb(IDbConnection con) in C:\projects\requestplex\PlexRequests.Core.Migration\Migrations
\Version1100.cs:line 247
at PlexRequests.Core.Migration.Migrations.Version1100.Start(IDbConnection con) in C:\projects\requestplex\PlexRequests.Core.Migration\Migrations\Ve
rsion1100.cs:line 76
— End of inner exception stack trace —
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at PlexRequests.Core.Migration.MigrationRunner.MigrateToLatest() in C:\projects\requestplex\PlexRequests.Core.Migration\MigrationRunner.cs:line 43
at PlexRequests.UI.Startup.Configuration(IAppBuilder app) in C:\projects\requestplex\PlexRequests.UI\Startup.cs:line 101
— End of inner exception stack trace —
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Owin.Loader.DefaultLoader.<>c__DisplayClass12.b__b(IAppBuilder builder)
at Owin.Loader.DefaultLoader.<>c__DisplayClass1.b__0(IAppBuilder builder)
at Microsoft.Owin.Hosting.Engine.HostingEngine.ResolveApp(StartContext context)
at Microsoft.Owin.Hosting.Engine.HostingEngine.Start(StartContext context)
at Microsoft.Owin.Hosting.Starter.DirectHostingStarter.Start(StartOptions options)
at Microsoft.Owin.Hosting.Starter.HostingStarter.Start(StartOptions options)
at Microsoft.Owin.Hosting.WebApp.StartImplementation(IServiceProvider services, StartOptions options)
at Microsoft.Owin.Hosting.WebApp.Start(StartOptions options)
at Microsoft.Owin.Hosting.WebApp.Start[TStartup](StartOptions options)
at PlexRequests.UI.Program.Main(String[] args) in C:\projects\requestplex\PlexRequests.UI\Program.cs:line 125
Press any key to continue . . .

I have the same issue, I can’t get it to work entirely. I wonder what the c:\projects… references mean since that path obviously doesn’t exist.