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

root@Tower:/mnt/cache/appdata/plexWatch# which perl

which: no perl in (.:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/kerberos/bin:/usr/kerberos/sbin)

 

Sounds like it's not auto installing on reboot.  Can you run the run.sh and then do which Perl again

Link to comment

root@Tower:~# sudo sh /mnt/cache/appdata/plexWatch/run.sh

/mnt/cache/appdata/plexWatch/run.sh: line 8: perl: command not found

--2014-02-05 03:23:43--  http://cpanmin.us/

Resolving cpanmin.us (cpanmin.us)... 202.181.96.213

Connecting to cpanmin.us (cpanmin.us)|202.181.96.213|:80... connected.

HTTP request sent, awaiting response... 302 Found

Location: https://raw.github.com/miyagawa/cpanminus/master/cpanm [following]

--2014-02-05 03:23:44--  https://raw.github.com/miyagawa/cpanminus/master/cpanm

Resolving raw.github.com (raw.github.com)... 103.245.222.133

Connecting to raw.github.com (raw.github.com)|103.245.222.133|:443... connected.

WARNING: cannot verify raw.github.com's certificate, issued by `/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3':

  Unable to locally verify the issuer's authority.

HTTP request sent, awaiting response... 200 OK

Length: 268417 (262K) [text/plain]

Saving to: `STDOUT'

 

0% [                                      ] 0          --.-K/s  in 0s

 

 

Cannot write to `-' (Success).

sudo: cpanm: command not found

sudo: cpanm: command not found

sudo: cpanm: command not found

sudo: cpanm: command not found

sudo: cpanm: command not found

sudo: cpanm: command not found

sudo: cpanm: command not found

sudo: cpanm: command not found

sudo: cpanm: command not found

sudo: cpanm: command not found

sudo: cpanm: command not found

sudo: cpanm: command not found

sudo: cpanm: command not found

Cron restarted

root@Tower:~#

 

 

edit1: also seeing these along with the usual sendmail error:

Tower crond[1222]: exit status 127 from user root /usr/bin/perl /mnt/cache/appdata/plexWatch/plexWatch.pl

 

edit2: looks like the restart is fine even without the above. I will have to use it for a while to see if the scripts continues to run properly.

Link to comment

root@Tower:~# sudo sh /mnt/cache/appdata/plexWatch/run.sh

/mnt/cache/appdata/plexWatch/run.sh: line 8: perl: command not found

--2014-02-05 03:23:43--  http://cpanmin.us/

Resolving cpanmin.us (cpanmin.us)... 202.181.96.213

Connecting to cpanmin.us (cpanmin.us)|202.181.96.213|:80... connected.

HTTP request sent, awaiting response... 302 Found

Location: https://raw.github.com/miyagawa/cpanminus/master/cpanm [following]

--2014-02-05 03:23:44--  https://raw.github.com/miyagawa/cpanminus/master/cpanm

Resolving raw.github.com (raw.github.com)... 103.245.222.133

Connecting to raw.github.com (raw.github.com)|103.245.222.133|:443... connected.

WARNING: cannot verify raw.github.com's certificate, issued by `/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3':

  Unable to locally verify the issuer's authority.

HTTP request sent, awaiting response... 200 OK

Length: 268417 (262K) [text/plain]

Saving to: `STDOUT'

 

0% [                                      ] 0          --.-K/s  in 0s

 

 

Cannot write to `-' (Success).

sudo: cpanm: command not found

sudo: cpanm: command not found

sudo: cpanm: command not found

sudo: cpanm: command not found

sudo: cpanm: command not found

sudo: cpanm: command not found

sudo: cpanm: command not found

sudo: cpanm: command not found

sudo: cpanm: command not found

sudo: cpanm: command not found

sudo: cpanm: command not found

sudo: cpanm: command not found

sudo: cpanm: command not found

Cron restarted

root@Tower:~#

 

 

edit1: also seeing these along with the usual sendmail error:

Tower crond[1222]: exit status 127 from user root /usr/bin/perl /mnt/cache/appdata/plexWatch/plexWatch.pl

 

edit2: looks like the restart is fine even without the above. I will have to use it for a while to see if the scripts continues to run properly.

 

..... I wonder it your PERL package on unRAID is corrupt.

 

I would check /boot/packages and /boot/extra for the following and delete (rm command), then reinstall.

 

kernel-headers-2.6.37.6_smp-x86-2.txz

binutils-2.21.51.0.6-i486-1.txz

make-3.81-i486-3.txz

glibc-2.11.1-i486-3.txz

perl-5.12.3-i486-1.txz

libmpc-0.8.2-i486-2.txz

gcc-4.4.4-i486-1.txz

mpfr-3.0.1-i486-1.txz

gcc-g++-4.5.2-i486-2.txz

 

 

Link to comment

They are not present in /boot/packages/ since I've deleted them as requested. They are now in /boot/extra/. Yea I think they are the cause since their size is 0B. It returns a 403 because: Error: blob is too big. I think you have to upload them someplace else. (read http://stackoverflow.com/questions/14909369/error-blob-is-too-big-downloading-a-single-zip-file-from-github-repo)

 

Good find.. I'll move them elsewhere.

 

EDIT:  Moved to dropbox

Link to comment

One possible issue, I tried to stop the array, and this is what I get: Tower crond[3799]: exit status 2 from user root /usr/bin/perl /mnt/cache/appdata/plexWatch/plexWatch.pl

 

Unable to unmount cache drive because of that. Had to manually kill the process. Any ideas?

 

edit: looks like it happens ocassionally and not everytime

Link to comment

One possible issue, I tried to stop the array, and this is what I get: Tower crond[3799]: exit status 2 from user root /usr/bin/perl /mnt/cache/appdata/plexWatch/plexWatch.pl

 

Unable to unmount cache drive because of that. Had to manually kill the process. Any ideas?

 

edit: looks like it happens ocassionally and not everytime

 

There is a cron job that runs it every minute..... if you shut down during that minute.. that would be an issue.  When/If I get this in a package there may be a way to move it out of cron and into something that can be gracefully shutdown.. until then, I think we are out of luck.

Link to comment

Ah I see.. thats fine then :)

 

Also, I think I know why it keep having those sendmail logs. I believe in the crontab you need to append " 1> /dev/null/", otherwise it will attempt to send you a mail with the output of that job. I just read it in the description at the top. I might be wrong though, since I'm not familiar with these stuff.

 

edit: yea that seemed to work fine.

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.