PlexWatch and PlexWatchWeb - install.sh - unRAID 5.* only (until webserver)


Recommended Posts

  • Replies 173
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Im having issues with plexWatch where it will work for a few hours and then just stop updating. plexWatchWeb will show what is currently being played but none of the history/charts/etc are updating. I have tried using the killall crond && crond command but that hasnt helped any either.

 

Same thing here. I've reinstalled a couple of times and still have the same result.

 

Same here, now i have another issue. I reinstalled earlier today and configured everythign and when i go to plexWatchWeb it says it cant access the database. Removed/Reinstalled/Reconfigured again and the same thing.

 

Sorry guys.. but I've moved on to V6 on both of my boxes, I don't have anyway to see whats wrong.

 

Hmmm. Okay.

Link to comment

A lamp server? Can you please explain?

 

Thanks

 

a LAMP server is Linux Apache MySQL PHP - I just spun up a virtual ubuntu server and installed the LAMP package on top of it and then followed the instructions on the plex forums for plexwatch and plexwatch/web - I have an ESXi server setup that i add virtual machines to so thats what i used.

Link to comment

A lamp server? Can you please explain?

 

Thanks

 

a LAMP server is Linux Apache MySQL PHP - I just spun up a virtual ubuntu server and installed the LAMP package on top of it and then followed the instructions on the plex forums for plexwatch and plexwatch/web - I have an ESXi server setup that i add virtual machines to so thats what i used.

 

Aha, thanks. That's not an option for me.

Link to comment

With a lot of trail and error, I have got it working for 95% (or so...). In am now experimenting to get Growl working with below result. Any thoughts?

 

As always, many thanks?

 

root@Server:/mnt/cache/_Usenet/appdata/plexWatch# plexWatch.pl
GROWL failed The Walking Dead - A - s04e16 [T] [2014] [TV-14] on iPad van Bart for 42 minutes [100%] : setting growl to back off additional notifications

/usr/local/bin/growlnotify does not exists
IO::Socket::INET: connect: timeout at /usr/lib/perl5/site_perl/5.12.3/Growl/GNTP.pm line 157.

Link to comment
  • 4 weeks later...

It installs everything but when i go o the plexWatch page it has this message:

php5-sqlite is not installed. Please install this requirement and restart your webserver before continuing.

 

when i run  /mnt/cache/appdata/plexWatch/plexWatch.pl i get:

-bash: /mnt/cache/appdata/plexWatch/plexWatch.pl: /usr/bin/perl: bad interpreter: No such file or directory

 

I reinstalled perl and got this:

oot@Tower:/mnt/cache/appdata# installpkg /boot/extra/perl-5.12.3-i486-1.txz

Verifying package perl-5.12.3-i486-1.txz.

xz: (stdin): File format not recognized

Installing package perl-5.12.3-i486-1.txz:

PACKAGE DESCRIPTION:

WARNING:  Package has not been created with 'makepkg'

Package perl-5.12.3-i486-1.txz installed.

 

Any suggestions????

 

Link to comment

Did you update the script? I still can't get it working.

No the script hasnt been updated, I'm having issues getting plexwatch to run I will have to take some time tonight after work and see if I can find where the problem lies for me

Link to comment
  • 2 weeks later...

It installs everything but when i go o the plexWatch page it has this message:

php5-sqlite is not installed. Please install this requirement and restart your webserver before continuing.

 

when i run  /mnt/cache/appdata/plexWatch/plexWatch.pl i get:

-bash: /mnt/cache/appdata/plexWatch/plexWatch.pl: /usr/bin/perl: bad interpreter: No such file or directory

 

I reinstalled perl and got this:

oot@Tower:/mnt/cache/appdata# installpkg /boot/extra/perl-5.12.3-i486-1.txz

Verifying package perl-5.12.3-i486-1.txz.

xz: (stdin): File format not recognized

Installing package perl-5.12.3-i486-1.txz:

PACKAGE DESCRIPTION:

WARNING:  Package has not been created with 'makepkg'

Package perl-5.12.3-i486-1.txz installed.

 

Any suggestions????

 

See mirror for downloading a valid package :

http://search.slackware.eu/cgi-bin/package.cgi/view/slackware-13.37/slackware/d/perl-5.12.3-i486-1.txz

Link to comment
  • 4 weeks later...
  • 1 month later...

I had a powercut and my box restarted itself. However upon boot-up for some reason plexWatch is failing to run.

 

When i try to perl plexWatch.pl i'm greeted with the following error

 

Can't locate LWP/UserAgent.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.12.3/i486-linux-thread-multi /usr/lib/perl5/site_perl/5.12.3 /usr/lib/perl5/vendor_perl/5.12.3/i486-linux-thread-multi /usr/lib/perl5/vendor_perl/5.12.3 /usr/lib/perl5/5.12.3/i486-linux-thread-multi /usr/lib/perl5/5.12.3 /usr/lib/perl5/site_perl/5.10.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.10.1 /usr/lib/perl5/vendor_perl .) at /mnt/user/apps/plexWatch/plexWatch.pl line 16.

 

I've tried reinstalling the perl pkg however it still fails. Whats missing here? I've gone through the first page trying to see if ive missed a step anywhere, but it seems fine. The install.sh just adds all the pkgs to /boot/extra which have all been installed (Tried running installpkg * inside that folder just to be sure)

Link to comment
  • 4 months later...
  • 3 months later...

I'm also getting that error as well too.

 

Building and testing CPAN-Meta-YAML-0.013 ... FAIL

! Installing CPAN::Meta::YAML failed. See /root/.cpanm/work/1426524274.29407/bui        ld.log for details. Retry with --force to force install it.

! Installing the dependencies failed: Installed version (0.008) of CPAN::Meta::Y        AML is not in range '0.011'

! Bailing out the installation for Parse-CPAN-Meta-1.4414.

! Installing the dependencies failed: Installed version (1.4405) of Parse::CPAN:        :Meta is not in range '1.4414'

! Bailing out the installation for CPAN-Meta-2.150001.

! Installing the dependencies failed: Installed version (2.120351) of CPAN::Meta          is not in range '2.142060'

! Bailing out the installation for Module-Build-0.4211.

! Installing the dependencies failed: Installed version (0.3603) of Module::Buil        d is not in range '0.38'

! Bailing out the installation for App-cpanminus-1.7027.

 

Link to comment

Here's the build log. Hope someone knows how to read and fix

 

cpanm (App::cpanminus) 1.7027 on perl 5.012003 built for i486-linux-thread-multi
Work directory is /root/.cpanm/work/1426924107.10719
You have make /usr/bin/make
You have /usr/bin/wget
You have /usr/bin/tar: tar (GNU tar) 1.23
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
Searching LWP::Protocol::https on cpanmetadb ...
--> Working on LWP::Protocol::https
Fetching http://www.cpan.org/authors/id/M/MS/MSCHILLI/LWP-Protocol-https-6.06.tar.gz
-> OK
Unpacking LWP-Protocol-https-6.06.tar.gz
Entering LWP-Protocol-https-6.06
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04)
Configuring LWP-Protocol-https-6.06
Running Makefile.PL
Warning: prerequisite IO::Socket::SSL 1.54 not found.
Warning: prerequisite LWP::UserAgent 6.06 not found.
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for LWP::Protocol::https
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have IO::Socket::SSL 1.54 ... No
Checking if you have LWP::UserAgent 6.06 ... No
Checking if you have Mozilla::CA 20110101 ... Yes (20141217)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04)
Checking if you have Net::HTTPS 6 ... Yes (6.04)
==> Found dependencies: IO::Socket::SSL, LWP::UserAgent
Searching IO::Socket::SSL on cpanmetadb ...
--> Working on IO::Socket::SSL
Fetching http://www.cpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-2.012.tar.gz
-> OK
Unpacking IO-Socket-SSL-2.012.tar.gz
Entering IO-Socket-SSL-2.012
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04)
Configuring IO-Socket-SSL-2.012
Running Makefile.PL
Should I do external tests?
These test will detect if there are network problems and fail soft,
so please disable them only if you definitely don't want to have any
network traffic to external sites.   [Y/n] [y] y
Checking if your kit is complete...
Looks good
Warning: prerequisite Net::SSLeay 1.46 not found.
Generating a Unix-style Makefile
Writing Makefile for IO::Socket::SSL
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Net::SSLeay 1.46 ... No
Checking if you have Scalar::Util 0 ... Yes (1.22)
Checking if you have Mozilla::CA 0 ... Yes (20141217)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04)
==> Found dependencies: Net::SSLeay
Searching Net::SSLeay on cpanmetadb ...
--> Working on Net::SSLeay
Fetching http://www.cpan.org/authors/id/M/MI/MIKEM/Net-SSLeay-1.68.tar.gz
-> OK
Unpacking Net-SSLeay-1.68.tar.gz
Entering Net-SSLeay-1.68
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 6.36 ... Yes (7.04)
Configuring Net-SSLeay-1.68
Running Makefile.PL
NA: Unable to build distribution on this platform.
Unresolvable missing external dependency.
This package requires a C compiler.
-> N/A
-> FAIL Configure failed for Net-SSLeay-1.68. See /root/.cpanm/work/1426924107.10719/build.log for details.
-> FAIL Installing the dependencies failed: Module 'Net::SSLeay' is not installed
-> FAIL Bailing out the installation for IO-Socket-SSL-2.012.
Searching LWP::UserAgent on cpanmetadb ...
--> Working on LWP::UserAgent
Fetching http://www.cpan.org/authors/id/E/ET/ETHER/libwww-perl-6.13.tar.gz
-> OK
Unpacking libwww-perl-6.13.tar.gz
Entering libwww-perl-6.13
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04)
Configuring libwww-perl-6.13
Running Makefile.PL
Warning: prerequisite HTML::Entities 0 not found.
Warning: prerequisite HTML::HeadParser 0 not found.
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for LWP
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have FindBin 0 ... Yes (1.50)
Checking if you have URI::Escape 0 ... Yes (3.31)
Checking if you have LWP::MediaTypes 6 ... Yes (6.02)
Checking if you have Encode::Locale 0 ... Yes (1.04)
Checking if you have HTTP::Status 6 ... Yes (6.03)
Checking if you have Encode 2.12 ... Yes (2.39)
Checking if you have File::Listing 6 ... Yes (6.04)
Checking if you have HTTP::Negotiate 6 ... Yes (6.01)
Checking if you have HTML::Entities 0 ... No
Checking if you have Digest::MD5 0 ... Yes (2.39)
Checking if you have Test 0 ... Yes (1.25_02)
Checking if you have HTTP::Daemon 6 ... Yes (6.01)
Checking if you have Net::HTTP 6.07 ... Yes (6.07)
Checking if you have URI 1.10 ... Yes (1.67)
Checking if you have Net::FTP 2.58 ... Yes (3.05)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04)
Checking if you have HTML::HeadParser 0 ... No
Checking if you have HTTP::Cookies 6 ... Yes (6.01)
Checking if you have HTTP::Request::Common 6 ... Yes (6.04)
Checking if you have HTTP::Date 6 ... Yes (6.02)
Checking if you have Test::More 0 ... Yes (1.001014)
Checking if you have IO::Socket 0 ... Yes (1.31)
Checking if you have IO::Select 0 ... Yes (1.17)
Checking if you have HTTP::Response 6 ... Yes (6.04)
Checking if you have MIME::Base64 2.1 ... Yes (3.08)
Checking if you have HTTP::Request 6 ... Yes (6.00)
Checking if you have WWW::RobotRules 6 ... Yes (6.02)
==> Found dependencies: HTML::Entities, HTML::HeadParser
Searching HTML::Entities on cpanmetadb ...
--> Working on HTML::Entities
Fetching http://www.cpan.org/authors/id/G/GA/GAAS/HTML-Parser-3.71.tar.gz
-> OK
Unpacking HTML-Parser-3.71.tar.gz
Entering HTML-Parser-3.71
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04)
Configuring HTML-Parser-3.71
Running Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for HTML::Parser
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have XSLoader 0 ... Yes (0.10)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04)
Checking if you have HTML::Tagset 3 ... Yes (3.20)
Building and testing HTML-Parser-3.71
cp lib/HTML/PullParser.pm blib/lib/HTML/PullParser.pm
cp lib/HTML/Entities.pm blib/lib/HTML/Entities.pm
cp Parser.pm blib/lib/HTML/Parser.pm
cp lib/HTML/TokeParser.pm blib/lib/HTML/TokeParser.pm
cp lib/HTML/LinkExtor.pm blib/lib/HTML/LinkExtor.pm
cp lib/HTML/HeadParser.pm blib/lib/HTML/HeadParser.pm
cp lib/HTML/Filter.pm blib/lib/HTML/Filter.pm
Running Mkbootstrap for HTML::Parser ()
chmod 644 "Parser.bs"
"/usr/bin/perl5.12.3" "/usr/lib/perl5/5.12.3/ExtUtils/xsubpp"  -typemap "/usr/lib/perl5/5.12.3/ExtUtils/typemap" -typemap "typemap"  Parser.xs > Parser.xsc && mv Parser.xsc Parser.c
"/usr/bin/perl5.12.3" mkhctype >hctype.h
"/usr/bin/perl5.12.3" mkpfunc >pfunc.h
cc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i486 -mtune=i686   -DVERSION=\"3.71\" -DXS_VERSION=\"3.71\" -fPIC "-I/usr/lib/perl5/5.12.3/i486-linux-thread-multi/CORE"  -DMARKED_SECTION Parser.c
/bin/sh: cc: command not found
make: *** [Parser.o] Error 127
-> FAIL Installing HTML::Entities failed. See /root/.cpanm/work/1426924107.10719/build.log for details. Retry with --force to force install it.
Searching HTML::HeadParser on cpanmetadb ...
Already tried HTML-Parser-3.71. Skipping.
-> FAIL Installing the dependencies failed: Module 'HTML::Entities' is not installed, Module 'HTML::HeadParser' is not installed
-> FAIL Bailing out the installation for libwww-perl-6.13.
-> FAIL Installing the dependencies failed: Module 'IO::Socket::SSL' is not installed, Module 'LWP::UserAgent' is not installed
-> FAIL Bailing out the installation for LWP-Protocol-https-6.06.

 

edit: someone was wondering about the install.sh, here it is (could be an old version since i haven't download it for quite some time, but it was working a couple of weeks ago until now for me, hopefully it works for you)

#PlexWatch/PlexWatchWeb install
#smdion
#Version .0.8
#curl http://www.seandion.com/unraid/pw/install.sh | sudo sh


#Build Perl files
wget --no-check-certificate -O - http://cpanmin.us | perl - App::cpanminus
sudo cpanm HTML::Entities
sudo cpanm HTML::Parser
sudo cpanm LWP::UserAgent
sudo cpanm Time::Duration
sudo cpanm Time::ParseDate
sudo cpanm XML::Simple
sudo cpanm DBI
sudo cpanm JSON
sudo cpanm IO::Socket::SSL
sudo cpanm DBD::SQLite
sudo cpanm LWP::Protocol::http::Socket
sudo cpanm LWP::Protocol::https

#Needed for Twitter
#sudo cpanm Net::Twitter::Lite::WithAPIv1_1
#sudo cpanm Net::OAuth

#Needed for GNTP
#sudo cpanm Growl::GNTP

#Needed for Client IP Logging
sudo cpanm File::ReadBackwards

#Restart cron
killall crond && crond
echo "Cron restarted"

 

 

edit2 I've fixed it. it was because my gcc was the wrong package.. reinstalled it and now it's all working fine again! Thanks smdion! For reference I installed the 4.4.4 gcc package here http://slackware.osuosl.org/slackware-13.1/slackware/d/gcc-4.4.4-i486-1.txz listed in http://lime-technology.com/wiki/index.php/Installing_VirtualBox_in_unRAID

 

edit3: still encountered error, openssl wasn't installed, so I got the 13.37 from here http://www.slackware.com/security/viewer.php?l=slackware-security&y=2015&m=slackware-security.782231 (couldn't find a more updated version zf), installed it, and still couldn't install properly. still works though without the ssl stuff

 

edit4: in order for me to get it to work properly i had to install these specific package versions,

openssl-0.9.8zd-i486-1_slack13.37

glibc-2.11.1-i486-3.txz

gcc-4.5.2-i486-2.txz

zlib-1.2.5-i486-4.txz

Link to comment
  • 3 weeks later...

I know this isn't supported anymore, but does anyone have any idea why my pushover alerts are no longer working?

 

I rebooted my system earlier and reinstalled plexwatch, and everything came right back up, and it seems to be working fine other than the pushover alerts.

 

The only thing out of the ordinary I saw that when I run sudo sh run.sh i get a FAIL return on the below line:

 

! Installing LWP::Protocol::https failed. See /root/.cpanm/work/1428431810.20153/build.log for details. Retry with --force to force install it.

 

Would that have something to do with it?

Link to comment
  • 1 month later...

Here's the log if someone understands what package we might need to fix the error

 

cpanm (App::cpanminus) 1.7034 on perl 5.012003 built for i486-linux-thread-multi

Work directory is /root/.cpanm/work/1431234398.10293

You have make /usr/bin/make

You have LWP 6.13

You have /usr/bin/tar: tar (GNU tar) 1.23

Copyright © 2010 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.

 

Written by John Gilmore and Jay Fenlason.

You have /usr/bin/unzip

Searching LWP::Protocol::https () on cpanmetadb ...

--> Working on LWP::Protocol::https

Fetching http://www.cpan.org/authors/id/M/MS/MSCHILLI/LWP-Protocol-https-6.06.tar.gz

-> OK

Unpacking LWP-Protocol-https-6.06.tar.gz

Entering LWP-Protocol-https-6.06

Checking configure dependencies from META.yml

Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.04)

Configuring LWP-Protocol-https-6.06

Running Makefile.PL

Checking if your kit is complete...

Looks good

Generating a Unix-style Makefile

Writing Makefile for LWP::Protocol::https

Writing MYMETA.yml and MYMETA.json

-> OK

Checking dependencies from MYMETA.json ...

Checking if you have IO::Socket::SSL 1.54 ... Yes (2.014)

Checking if you have LWP::UserAgent 6.06 ... Yes (6.13)

Checking if you have Mozilla::CA 20110101 ... Yes (20141217)

Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04)

Checking if you have Net::HTTPS 6 ... Yes (6.04)

Building and testing LWP-Protocol-https-6.06

cp lib/LWP/Protocol/https.pm blib/lib/LWP/Protocol/https.pm

Manifying 1 pod document

PERL_DL_NONLAZY=1 "/usr/bin/perl5.12.3" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t

 

#  Failed test at t/apache.t line 15.

 

#  Failed test at t/apache.t line 18.

#                  'Can't connect to www.apache.org:443

#

# LWP::Protocol::https::Socket: hostname verification failed at /usr/lib/perl5/site_perl/5.12.3/LWP/Protocol/http.pm line 47.

# '

#    doesn't match '(?-xism:Apache Software Foundation)'

# Looks like you failed 2 tests of 5.

t/apache.t .......

Dubious, test returned 2 (wstat 512, 0x200)

Failed 2/5 subtests

# creating cert for direct.ssl.access

# creating cert for direct.ssl.access

# creating cert for foo

# creating cert for bar

# creating cert for foo

# creating cert for foo

# creating cert for bar

# creating cert for bar

t/https_proxy.t .. ok

 

Test Summary Report

-------------------

t/apache.t    (Wstat: 512 Tests: 5 Failed: 2)

  Failed tests:  1, 3

  Non-zero exit status: 2

Files=2, Tests=61,  3 wallclock secs ( 0.01 usr  0.00 sys +  0.36 cusr  0.00 csys =  0.37 CPU)

Result: FAIL

Failed 1/2 test programs. 2/61 subtests failed.

make: *** [test_dynamic] Error 255

-> FAIL Installing LWP::Protocol::https failed. See /root/.cpanm/work/1431234398.10293/build.log for details. Retry with --force to force install it.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.