Plex Request NET don't work

Just ran some test against this and that is what was happening.

# apt-get install mono-complete
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mono-complete : Depends: mono-devel (= 4.4.2.11-0xamarin1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Then using the install with mono-devel, you can imagine this happened:

# apt-get install mono-complete mono-devel
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  ca-certificates-mono gamin libart-2.0-2 libbonoboui2-0 libbonoboui2-common libgail18 libgamin0 libgnome-keyring-common libgnome-keyring0
  libgnomecanvas2-0 libgnomecanvas2-common libgnomeui-0 libgnomeui-common libmono-cscompmgd0.0-cil libmono-smdiagnostics0.0-cil
  libmono-system-data-entity4.0-cil libmono-system-numerics-vectors4.0-cil libmono-system-reflection-context4.0-cil
  libmono-system-runtime-interopservices-runtimeinformation4.0-cil libmono-system-servicemodel-internals0.0-cil libmonosgen-2.0-dev librsvg2-2
  librsvg2-common
The following packages will be upgraded:
  libmono-2.0-1 libmono-2.0-dev libmono-accessibility4.0-cil libmono-cairo4.0-cil libmono-cecil-private-cil libmono-cil-dev
  libmono-codecontracts4.0-cil libmono-compilerservices-symbolwriter4.0-cil libmono-corlib2.0-cil libmono-corlib4.0-cil libmono-corlib4.5-cil
  libmono-csharp4.0c-cil libmono-custommarshalers4.0-cil libmono-data-tds4.0-cil libmono-db2-1.0-cil libmono-debugger-soft4.0a-cil libmono-http4.0-cil
  libmono-i18n-cjk4.0-cil libmono-i18n-mideast4.0-cil libmono-i18n-other4.0-cil libmono-i18n-rare4.0-cil libmono-i18n-west4.0-cil libmono-i18n4.0-all
  libmono-i18n4.0-cil libmono-ldap4.0-cil libmono-management4.0-cil libmono-messaging-rabbitmq4.0-cil libmono-messaging4.0-cil
  libmono-microsoft-build-engine4.0-cil libmono-microsoft-build-framework4.0-cil libmono-microsoft-build-tasks-v4.0-4.0-cil
  libmono-microsoft-build-utilities-v4.0-4.0-cil libmono-microsoft-build4.0-cil libmono-microsoft-csharp4.0-cil libmono-microsoft-visualc10.0-cil
  libmono-microsoft-web-infrastructure1.0-cil libmono-oracle4.0-cil libmono-parallel4.0-cil libmono-peapi4.0a-cil libmono-posix4.0-cil libmono-profiler
  libmono-rabbitmq4.0-cil libmono-relaxng4.0-cil libmono-security4.0-cil libmono-sharpzip4.84-cil libmono-simd4.0-cil libmono-sqlite4.0-cil
  libmono-system-componentmodel-composition4.0-cil libmono-system-componentmodel-dataannotations4.0-cil libmono-system-configuration-install4.0-cil
  libmono-system-configuration4.0-cil libmono-system-core4.0-cil libmono-system-data-datasetextensions4.0-cil libmono-system-data-linq4.0-cil
  libmono-system-data-services-client4.0-cil libmono-system-data-services4.0-cil libmono-system-data4.0-cil libmono-system-design4.0-cil
  libmono-system-drawing-design4.0-cil libmono-system-drawing4.0-cil libmono-system-dynamic4.0-cil libmono-system-enterpriseservices4.0-cil
  libmono-system-identitymodel-selectors4.0-cil libmono-system-identitymodel4.0-cil libmono-system-io-compression-filesystem4.0-cil
  libmono-system-io-compression4.0-cil libmono-system-json-microsoft4.0-cil libmono-system-json4.0-cil libmono-system-ldap-protocols4.0-cil
  libmono-system-ldap4.0-cil libmono-system-management4.0-cil libmono-system-messaging4.0-cil libmono-system-net-http-formatting4.0-cil
  libmono-system-net-http-webrequest4.0-cil libmono-system-net-http4.0-cil libmono-system-net4.0-cil libmono-system-numerics4.0-cil
  libmono-system-reactive-core2.2-cil libmono-system-reactive-debugger2.2-cil libmono-system-reactive-experimental2.2-cil
  libmono-system-reactive-interfaces2.2-cil libmono-system-reactive-linq2.2-cil libmono-system-reactive-observable-aliases0.0-cil
  libmono-system-reactive-platformservices2.2-cil libmono-system-reactive-providers2.2-cil libmono-system-reactive-runtime-remoting2.2-cil
  libmono-system-reactive-windows-forms2.2-cil libmono-system-reactive-windows-threading2.2-cil libmono-system-runtime-caching4.0-cil
  libmono-system-runtime-durableinstancing4.0-cil libmono-system-runtime-serialization-formatters-soap4.0-cil
  libmono-system-runtime-serialization4.0-cil libmono-system-runtime4.0-cil libmono-system-security4.0-cil
  libmono-system-servicemodel-activation4.0-cil libmono-system-servicemodel-discovery4.0-cil libmono-system-servicemodel-routing4.0-cil
  libmono-system-servicemodel-web4.0-cil libmono-system-servicemodel4.0a-cil libmono-system-serviceprocess4.0-cil
  libmono-system-threading-tasks-dataflow4.0-cil libmono-system-transactions4.0-cil libmono-system-web-abstractions4.0-cil
  libmono-system-web-applicationservices4.0-cil libmono-system-web-dynamicdata4.0-cil libmono-system-web-extensions-design4.0-cil
  libmono-system-web-extensions4.0-cil libmono-system-web-http-selfhost4.0-cil libmono-system-web-http-webhost4.0-cil libmono-system-web-http4.0-cil
  libmono-system-web-mvc3.0-cil libmono-system-web-razor2.0-cil libmono-system-web-routing4.0-cil libmono-system-web-services4.0-cil
  libmono-system-web-webpages-deployment2.0-cil libmono-system-web-webpages-razor2.0-cil libmono-system-web-webpages2.0-cil libmono-system-web4.0-cil
  libmono-system-windows-forms-datavisualization4.0a-cil libmono-system-windows-forms4.0-cil libmono-system-windows4.0-cil libmono-system-xaml4.0-cil
  libmono-system-xml-linq4.0-cil libmono-system-xml-serialization4.0-cil libmono-system-xml4.0-cil libmono-system2.0-cil libmono-system4.0-cil
  libmono-tasklets4.0-cil libmono-webbrowser4.0-cil libmono-webmatrix-data4.0-cil libmono-windowsbase4.0-cil libmono-xbuild-tasks4.0-cil
  libmonoboehm-2.0-1 libmonoboehm-2.0-dev libmonosgen-2.0-1 mono-4.0-gac mono-4.0-service mono-complete mono-csharp-shell mono-devel mono-gac mono-jay
  mono-mcs mono-runtime mono-runtime-common mono-runtime-sgen mono-utils mono-xbuild monodoc-base monodoc-manual
150 upgraded, 23 newly installed, 44 to remove and 8 not upgraded.
Need to get 71.4 MB of archives.
After this operation, 46.2 MB of additional disk space will be used.
Do you want to continue? [Y/n]

After updating/upgrading was completed I can confirm that Plex Requests is now running without issue.

# systemctl status plexrequests
● plexrequests.service
   Loaded: loaded (/etc/systemd/system/plexrequests.service; enabled)
   Active: active (running) since Tue 2016-08-23 14:29:56 CDT; 11s ago
  Process: 11813 ExecStart=/usr/bin/screen -f -a -d -m -S plexrequests mono /opt/plexrequests/PlexRequests.exe -p 3000 (code=exited, status=0/SUCCESS)
 Main PID: 11814 (screen)
   CGroup: /system.slice/plexrequests.service
           ├─11814 /usr/bin/SCREEN -f -a -d -m -S plexrequests mono /opt/plexrequests/PlexRequests.exe -p 3000
           └─11815 mono /opt/plexrequests/PlexRequests.exe -p 3000

It looks like we need to address this on the installer:

  apt-get update -q >/dev/null 2>&1
  apt-get install -q -y mono-complete unzip >/dev/null 2>&1

I dislike mono. That is a shit-ton of extra depends :expressionless:

Edit: Wait – upgrades? Seems more like their repo is slightly borked more than anything. Sigh. I will add mono-devel for those few extra depends that are holding back the upgrade/install of mono-complete

1 Like

I agree. Just about everything you can imagine.

Edit: yes, all 150 of them

Well I guess complete should be “complete” Ah well.

Still want me to fire your commands or wait a bit?

No need as I think we have a handle on this.

box upgrade

and try again :slight_smile:

edit:its still dead…

After the
box upgrade

I ran box again and removed and reinstalled

TheBox:~# box
Removing plexrequests
Removed symlink /etc/systemd/system/multi-user.target.wants/plexrequests.service.
Installing plexrequests
Plex Requests Installation Complete!.
TheBox:~#

Finally disabled/enabled the serice controller…

Waiting for the website to show though…

Nahh turned red…still dead!

Do me a favor @Globber and run the following:

apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
    echo "deb http://download.mono-project.com/repo/debian wheezy main" > /etc/apt/sources.list.d/mono-xamarin.list
    echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" >> /etc/apt/sources.list.d/mono-xamarin.list
    echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" >> /etc/apt/sources.list.d/mono-xamarin.list
apt-get update
apt-get install -y mono-complete mono-devel
systemctl restart plexrequests
1 Like

Its now alive and running like a charm! :slight_smile:

Awesome! Now to string together why the installer isn’t making use of the needed resources.

Same issue here, on v2.4.8 and Debian GNU/Linux 8.6 (jessie)

The solution proposed by JMSolo works but seems to be a bit too disproportionate/inappropriate… :worried:

What? I don’t understand your meaning.

Try installing PlexRequests via the cli package installer with the following command box install plexrequests. If you have it installed, you will need to remove it first with box remove plexrequests.

The solution that I/we have proposed for this is straight from Plex Requests when attempting to garner mono dependencies, not a solution that we came up with.

I think install the complete mono library (170 packages approx) to solve the problem is a little “light”. No offense here, just an opinion :wink:

Right, it’s just a solution that you suggested, not found. I do not disagree

You’re right and I suppose I will attempt to find a much more elegant solution to this as the installer will need an additional step that I am now noticing it doesn’t have apt autoremove… otherwise that bulky set of mono dependencies are floating around.

1 Like

apt-get autoremove done.

The following packages will be REMOVED:
  libmono-c5-1.1-cil libmono-corlib2.0-cil libmono-entityframework-sqlserver6.0-cil 
  libmono-entityframework6.0-cil libmono-opensystem-c4.0-cil libmono-sharpzip2.6-cil

Is this still open? Ive done a complete install and found i have this issue.
Service Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Apache/2.4.18 (Ubuntu) Server at xx.xx.xx.xx.xx Port 443

To answer your question kerbys:

To confirm this works!
Have a beer donation on me!

[Annnndd its gone](http://cart.mn/Poof)

We’re working on patching a fix for this at the moment.