[Support] Ninthwalker - NowShowing


402 posts in this topic Last Reply

Recommended Posts

On 2/7/2018 at 4:35 PM, voicelex said:

Very new unRaid user here with limited linux experience. I'm struggling to get this docker to make a report but feel like I'm missing something simple.

 

When I try using: "docker exec nowshowing webreport"

 

I am getting:
"/usr/local/sbin/webreport: end of file reached (EOFError)"

 

My configuration is shown below but please let me know what other info is needed to help resolve this likely silly goof-up. I have tried using both my username (it has spaces) and my email for the Plex username field.

 

Can you add -vvv to the end of a test command and see if it outputs anything to the log or is it still just outputting that one-line error to the console?

Also, show me your advanced.yml file settings [redact personal info]

 

docker exec nowshowing combinedreport -t -vvv

 

Link to post
  • Replies 401
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

App name: NowShowing v2 Docker Hub: https://hub.docker.com/r/ninthwalker/nowshowing/ Github: https://github.com/ninthwalker/NowShowing Wiki: https://github.com/ninthwalker/NowShowing/wi

Quick new update for the website part of the app.   However, so as to not overwrite people's existing advanced.yaml settings, normal app updates do not replace the appdata config files that

Great. This little Server host/ip quirk was also brought up by @RXWatcher yesterday. I pushed a little fix and added a note next to that field. If an ip is entered it defaults to 32400 for people

Posted Images

Thanks for the reply, I hope we can sort this out - pumped to get this working for my users.

Even with -vvv I get the same error: "/usr/local/sbin/webreport: end of file reached (EOFError)" and I don't see anything new in the log when I enter that into the terminal. 

 

The advanced.yml file is the default still, not sure there is any personal info in this to begin with?
 

---
email:
  title: 'New This Week'
  image: 'http://i.imgur.com/LNTSbFl.png'
  footer: 'Thanks for watching!'
  language: 'en'
web:
  title_image: 'img/nowshowing.png'
  logo: 'img/logo.png'
  headline_title: 'Just added:'
  headliners: 'Laughs, Screams, Thrills, Entertainment'
  footer: 'Thanks for watching!'
  language: 'en'
plex:
  plex_user_emails: 'yes'
mail:
  from: 'Plex Server'
  subject: 'Now Showing'
  recipients_email: ['']
  recipients: ['PLEX_USER']
report:
  interval: 7
  report_type: 'both'
  email_report_time: '30 10 * * 5'
  web_report_time: '2 12 * * *'
  extra_details: 'no'
  test: 'disable'

 

Link to post
On 1/9/2018 at 2:02 PM, ninthwalker said:

@canuck

 

A couple things to try:

 

1. If it was working before, and now it's giving that error, did anything change? A new Library or something possibly?

2. Could try with username/password instead of token see if that changes anything.

3. Can you see the libraries in XML format by going to the following URLS. (External obviously only if you have your own url)

 

192.168.x.x:32400/library/sections

192.168.x.x:32400/library/sections?X-Plex-Token=GNJHFoZyDL45gh8XX3qY

plex.mydomain.com:32400/library/sections?X-Plex-Token=GNJHFoZyDL45gh8XX3qY

 

 

Hi,

 

Figured this one out. The IP address pointing to my local plex server was incorrect. Apologies for the wasted effort and replies. Everything is working now. 

 

Thank you, 

 

c

Link to post
17 hours ago, canuck said:

 

Hi,

 

Figured this one out. The IP address pointing to my local plex server was incorrect. Apologies for the wasted effort and replies. Everything is working now. 

 

Thank you, 

 

c

 

Oh good.

Glad you caught the error and it's working for you now.

 

Link to post
On 2/10/2018 at 3:55 PM, voicelex said:

Thanks for the reply, I hope we can sort this out - pumped to get this working for my users.

Even with -vvv I get the same error: "/usr/local/sbin/webreport: end of file reached (EOFError)" and I don't see anything new in the log when I enter that into the terminal. 

 

The advanced.yml file is the default still, not sure there is any personal info in this to begin with?
 

 

 

I don't see anything inherently wrong in your advanced config file or docker settings.

However since it's just erroring out and not outputting much other log info I'm not sure what else. I'm assuming you have double checked your IP address for plex and other info.

Does it also give the same error if trying just the email part or just the web part?

 

docker exec nowshowing webreport -t -vvv

 

docker exec nowshowing emailreport -t -vvv

 

Link to post
On 2/6/2018 at 8:01 PM, ninthwalker said:

 

As GroxyPod mentioned you can use a subdomain, or as you are referring to it a subdirectory is possible as well.

 

For example, I have mine at mydomain.com/nowshowing

 

I’m not looking at my nginx config right now, but I’ll post an example later. 

 

Here's an example of my nginx proxy for nowshowing:

 

Server block:

location /nowshowing/ {
         include /etc/nginx/proxy.conf;
         proxy_pass http://192.168.1.18:6878/;
        }

 

This is my proxy.conf, but I do a lot of other stuff with my nginx, so you may/may not need any of these:

client_body_buffer_size 128k;
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;
# Advanced Proxy Config
send_timeout 5m;
proxy_read_timeout 240;
proxy_send_timeout 240;
proxy_connect_timeout 240;
# Basic Proxy Config
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https; proxy_redirect http:// $scheme://;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_cache_bypass $cookie_session;
proxy_no_cache $cookie_session;
proxy_buffers 32 4k;
proxy_set_header X-Original-URI $request_uri;

 

Link to post
1 hour ago, ninthwalker said:

 

I don't see anything inherently wrong in your advanced config file or docker settings.

However since it's just erroring out and not outputting much other log info I'm not sure what else. I'm assuming you have double checked your IP address for plex and other info.

Does it also give the same error if trying just the email part or just the web part?

 

Yup, same error for both commands. I have the IP address the same as my unRaid box (which is what Plex shows as my local IP on the settings page). I tried adding the local port Plex uses and I got a new error, so that's progress, I guess?

/usr/lib/ruby/2.3.0/uri/rfc3986_parser.rb:67:in `split': bad URI(is not URI?): http://(LOCAL IP):(PLEX PORT):(PLEX PORT)/library/sections (URI::InvalidURIError)
        from /usr/lib/ruby/2.3.0/uri/rfc3986_parser.rb:73:in `parse'
        from /usr/lib/ruby/2.3.0/uri/common.rb:227:in `parse'
        from /usr/lib/ruby/gems/2.3.0/gems/httparty-0.13.1/lib/httparty/request.rb:58:in `uri'
        from /usr/lib/ruby/gems/2.3.0/gems/httparty-0.13.1/lib/httparty/request.rb:149:in `setup_raw_request'
        from /usr/lib/ruby/gems/2.3.0/gems/httparty-0.13.1/lib/httparty/request.rb:90:in `perform'
        from /usr/lib/ruby/gems/2.3.0/gems/httparty-0.13.1/lib/httparty.rb:521:in `perform_request'
        from /usr/lib/ruby/gems/2.3.0/gems/httparty-0.13.1/lib/httparty.rb:457:in `get'
        from /var/lib/nowshowing/plex.rb:29:in `get'
        from /usr/local/sbin/webreport:104:in `getMovies'
        from /usr/local/sbin/webreport:377:in `main'
        from /usr/local/sbin/webreport:398:in `<main>'

 

As a long shot I also tried the public IP of the server, got the original, short error from that too. 

 

I did notice that the Host Port for NowShowing is defaulted to 6878 but my Plex server is using a different port. I tried swapping the port Plex uses in but the docker no longer will run. 

Link to post

I am receiving an error,  I have confirmed config.yaml and advanced.yaml.

 

root@NAS:~# docker exec nowshowing webreport -t -vvv
/usr/local/sbin/webreport:128:in `block in getMovies': undefined method `each' for nil:NilClass (NoMethodError)
    from /usr/local/sbin/webreport:106:in `each'
    from /usr/local/sbin/webreport:106:in `getMovies'
    from /usr/local/sbin/webreport:377:in `main'
    from /usr/local/sbin/webreport:398:in `<main>'
root@NAS:~# docker exec nowshowing emailreport -t -vvv
/usr/local/sbin/emailreport:128:in `block in getMovies': undefined method `each' for nil:NilClass (NoMethodError)
    from /usr/local/sbin/emailreport:106:in `each'
    from /usr/local/sbin/emailreport:106:in `getMovies'
    from /usr/local/sbin/emailreport:377:in `main'
    from /usr/local/sbin/emailreport:397:in `<main>'
root@NAS:~# docker exec nowshowing cat /opt/config.yaml
---

 

Link to post

 

1 hour ago, fmp4m said:

I am receiving an error,  I have confirmed config.yaml and advanced.yaml.

 

root@NAS:~# docker exec nowshowing webreport -t -vvv
/usr/local/sbin/webreport:128:in `block in getMovies': undefined method `each' for nil:NilClass (NoMethodError)
    from /usr/local/sbin/webreport:106:in `each'
    from /usr/local/sbin/webreport:106:in `getMovies'
    from /usr/local/sbin/webreport:377:in `main'
    from /usr/local/sbin/webreport:398:in `<main>'
root@NAS:~# docker exec nowshowing emailreport -t -vvv
/usr/local/sbin/emailreport:128:in `block in getMovies': undefined method `each' for nil:NilClass (NoMethodError)
    from /usr/local/sbin/emailreport:106:in `each'
    from /usr/local/sbin/emailreport:106:in `getMovies'
    from /usr/local/sbin/emailreport:377:in `main'
    from /usr/local/sbin/emailreport:397:in `<main>'
root@NAS:~# docker exec nowshowing cat /opt/config.yaml
---

 

 

This error is usually related to an empty Library. Check if you have one and delete it and try running again. If that doesn’t work let me know. 

 

I’m also working on version 2.0 that will allow Library Filtering for the future. 

Edited by ninthwalker
Link to post
9 hours ago, ninthwalker said:

 

 

This error is usually related to an empty Library. Check if you have one and delete it and try running again. If that doesn’t work let me know. 

 

I’m also working on version 2.0 that will allow Library Filtering for the future. 

 

Thank you,   I have deleted your docker until this is implemented.  My empty libraries are built in for automation needs.  (uploads from cell phones/tablets etc for processing.)    It sounds like Version 2.0 will work better for me as not all of my libraries are for every user.   IE Adult is not available to all,  nor is UserXUpload or Anime is not for all either.

Link to post

Anyone have a clue why i would be getting this?

 

 

	location /nowshowing/ {
		proxy_pass http://internalip:6878;
		proxy_set_header Host $host:$server_port;
		proxy_set_header X-Real-IP $remote_addr;
		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
		proxy_set_header X-Forwarded-Proto https; proxy_redirect http:// $scheme://;
		proxy_http_version 1.1;
		proxy_set_header Connection "";
		proxy_cache_bypass $cookie_session;
		proxy_no_cache $cookie_session;
		proxy_buffers 32 4k;
		proxy_set_header X-Original-URI $request_uri;
	}

 

nowshowing.png

Link to post

I'm thinking about moving media files between libraries and remove a couple of libraries; however, I don't want NowShowing to think the media files that have been moved are considered new content and therefore send out a notification.   Is there a way this can be done?

Link to post
3 hours ago, luisv said:

I'm thinking about moving media files between libraries and remove a couple of libraries; however, I don't want NowShowing to think the media files that have been moved are considered new content and therefore send out a notification.   Is there a way this can be done?

 

If Plex detects it as new, then NowShowing will too.

 

However, there are a cpl other options you could try:

 

You can run a test report after to see what it will generate. After that you could either:

 

1 - Let it send the full report

2 - Skip this week. Just stop the Docker, then start it again after your normal email schedule. 

2a - enable ‘webonly’ for this week so the email doesn’t go out but your webpage will show everything still. 

3 - change days to report on to say ‘3’ and make your Library moves 4 days before the report. Will only report on last 3 days. 

 

Restart the docker to have your changes take effect.

 

I have a new version coming out soon that has a Web UI that will make all this easier as well. 

Link to post

Will 2.0's Library filtering also allow me to skip my HAMA plugin agent based Anime Libraries?

 

I was an avid plexReport user, but had to stop using it and the subsequent NowShowing replacement because they just failed when encountering my non-standard Libraries.

Edited by jedimstr
Link to post
  • 2 weeks later...
On 3/6/2018 at 9:46 AM, jedimstr said:

Will 2.0's Library filtering also allow me to skip my HAMA plugin agent based Anime Libraries?

 

I was an avid plexReport user, but had to stop using it and the subsequent NowShowing replacement because they just failed when encountering my non-standard Libraries.

The new version will allow you to skip any libraries by name.

So if all your anime is on a library called 'Anime' then you can specify to skip that one and it should continue to report on the rest.

I plan on being done end of month with the new version.

Link to post
4 hours ago, drsparks68 said:

Am I missing something?  I'm trying to install this docker through CA, but the template page I'm seeing doesn't look anything like the others in this thread.  It's missing quite a bit of info.  Yes, I've checked Advanced View.

 

It looks like you grabbed the new v2 beta one I am working on.

I am making tweaks to that version still so it isn't quite ready.

(The template looks a lot different since the new version has a web interface now.)

 

If you do another search you should see a 'Now Showing' in community apps. Get that one, not the one that says v2 / beta.

Link to post

ninthwalker

Downloaded your v2 beta, but when I try to login with

/admin

it asks me for username and password with "Forgot Password" link that just points to github wiki. Do you know which credentials I need to use to access web interface?

Link to post
3 minutes ago, yfed said:

ninthwalker

Downloaded your v2 beta, but when I try to login with


/admin

it asks me for username and password with "Forgot Password" link that just points to github wiki. Do you know which credentials I need to use to access web interface?

 

Did you read the post just before yours? The one ninthwalker posted today which said don't use the v2 beta?

Link to post
On 3/17/2018 at 6:40 PM, yfed said:

ninthwalker

Downloaded your v2 beta, but when I try to login with


/admin

it asks me for username and password with "Forgot Password" link that just points to github wiki. Do you know which credentials I need to use to access web interface?

 

v2 is in Community Apps for testing purposes, but marked as Beta.

Please use the Original Now Showing app for now. Thanks.

 

 

Link to post
4 hours ago, ninthwalker said:

 

v2 is in Community Apps for testing purposes, but marked as Beta.

Please use the Original Now Showing app for now. Thanks.

 

 

 

Is there a post that highlights the differences between the two versions or what's new?  

 

Link to post
7 hours ago, luisv said:

 

Is there a post that highlights the differences between the two versions or what's new?  

 

 

I'll post that information soon. It's a large rework and includes a front end web gui and other fixes, improvements and enhancements.

Link to post

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.