Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Docker Request (PlexReport / PlexNotify)

Featured Replies

  • Replies 55
  • Views 11.7k
  • Created
  • Last Reply

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.

  • Author

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.

+1, that would be sweet. Thank you!

liking the looks of this one :)

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?

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?

Okay... I have it up and running in my beta repo with the example CRON settings from the git page. 

 

To change cron:

docker exec -it plexReport crontab -e

 

and pick option 3 for /usr/bin/vim.tiny to edit it.

 

 

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.

Okay.. inotify will now watch /config/crons.conf for changes.  It will wait 5 seconds then update crontab....  give it a whirl everyone

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!

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

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!

 

  • Author

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>'

Thanks a lot for this one! Silly question, but where can I find my Plex API key?

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 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.

  • 2 weeks later...
  • Author

looks like they just updated the master with a PlexHome fix, does your docker autoupdate or do you need to edit it?

looks like they just updated the master with a PlexHome fix, does your docker autoupdate or do you need to edit it?

 

It only pulls from GIT.  So a delete and a redownload will get the newest version

 

EDIT: Update still doesn't work for me...

  • Author

ya, same here :(

 

His reply is we aren't using the right pull... is there a way I can tell what git pull down we got?

Are yall using "HOST" and not "BRIDGE" on your Docker?  I had to change that to get it to work.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.