Docker Request (PlexReport / PlexNotify)


Recommended Posts

  • Replies 55
  • Created
  • Last Reply

Top Posters In This Topic

PlexReport looks pretty simple to setup, I'll take a stab at it in a bit.  PlexNotify is Windows only, so that won't work.

 

ya, I noticed that after I added it to my post (well noticed it was a windows service).

 

Thanks for any work on the PlexReport one, it would be much appreciated, feel free to use me as a beta tester as well if you need help.

Link to comment

Have it just about ready.  Only problem I see is adjusting the cron if someone wants to run it daily or weekly or twice a day.  How often would you want the e-mail going out?

 

Maybe you could have a Watchdog looking for a Cron.txt file on the /config and people can add the cron they want on 1st line.  Then, your script could read the txt and set the Cron accordingly?

Link to comment

Have it just about ready.  Only problem I see is adjusting the cron if someone wants to run it daily or weekly or twice a day.  How often would you want the e-mail going out?

 

Maybe you could have a Watchdog looking for a Cron.txt file on the /config and people can add the cron they want on 1st line.  Then, your script could read the txt and set the Cron accordingly?

 

Thats not a bad idea.. i'll play around with inotify.

Link to comment

Not sure what Im doing wrong.  I'm unable to use plexReport.rb to manually send an email and test.

 

This is all I get in the log:

 


*** Running /etc/my_init.d/firstrun.sh...
Using existing config file.
Using existing cron file.
*** Running /etc/rc.local...
*** Booting runit daemon...
*** Runit started as PID 10
Setting up watches.
Watches established.

The command finished successfully!

Link to comment

Not sure what Im doing wrong.  I'm unable to use plexReport.rb to manually send an email and test.

 

This is all I get in the log:

 


*** Running /etc/my_init.d/firstrun.sh...
Using existing config file.
Using existing cron file.
*** Running /etc/rc.local...
*** Booting runit daemon...
*** Runit started as PID 10
Setting up watches.
Watches established.

The command finished successfully!

 

My understanding of the program is its just a ruby script that is called by cron how often as you set it.  The default command does not send the test.  You can use docker exec if you want.

 

docker exec -it plexReport /opt/plexReport/bin/plexReport.rb --test-email

Link to comment

Not sure what Im doing wrong.  I'm unable to use plexReport.rb to manually send an email and test.

 

This is all I get in the log:

 


*** Running /etc/my_init.d/firstrun.sh...
Using existing config file.
Using existing cron file.
*** Running /etc/rc.local...
*** Booting runit daemon...
*** Runit started as PID 10
Setting up watches.
Watches established.

The command finished successfully!

 

My understanding of the program is its just a ruby script that is called by cron how often as you set it.  The default command does not send the test.  You can use docker exec if you want.

 

docker exec -it plexReport /opt/plexReport/bin/plexReport.rb --test-email

 

That worked!  Thanks!

 

Link to comment

So I suppose getting the below error means all is well but we just need to wait for the full update to allow Plex Home?

 

C:/plexReport/bin/plexReport.rb:92:in `getMovies': undefined method `[]' for nil
:NilClass (NoMethodError)
        from C:/plexReport/bin/plexReport.rb:321:in `main'
        from C:/plexReport/bin/plexReport.rb:340:in `<main>'

Link to comment

I'm not using Plex Home but still get the same error when trying to test.

 

Tower login: root
Password:
Linux 3.17.4-unRAID.
Last login: Thu Jan  1 17:38:12 -0800 2015 on /dev/pts/0 from Toshiba.ftrdhcpuse
r.net.
root@Tower:~# docker exec -it plexReport /opt/plexReport/bin/plexReport.rb --tes
t-email
/opt/plexReport/bin/plexReport.rb:92:in `getMovies': undefined method `[]' for n
il:NilClass (NoMethodError)
        from /opt/plexReport/bin/plexReport.rb:321:in `main'
        from /opt/plexReport/bin/plexReport.rb:340:in `<main>'
root@Tower:~#

Link to comment

I'm not using Plex Home but still get the same error when trying to test.

 

Tower login: root
Password:
Linux 3.17.4-unRAID.
Last login: Thu Jan  1 17:38:12 -0800 2015 on /dev/pts/0 from Toshiba.ftrdhcpuse
r.net.
root@Tower:~# docker exec -it plexReport /opt/plexReport/bin/plexReport.rb --tes
t-email
/opt/plexReport/bin/plexReport.rb:92:in `getMovies': undefined method `[]' for n
il:NilClass (NoMethodError)
        from /opt/plexReport/bin/plexReport.rb:321:in `main'
        from /opt/plexReport/bin/plexReport.rb:340:in `<main>'
root@Tower:~#

 

I'm getting that as well.. when you run in verbose and look at the logs its a authentication issue... so I think it is all related.

Link to comment
  • 2 weeks later...

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.