Jump to content
ninthwalker

[Support] Ninthwalker - NowShowing

388 posts in this topic Last Reply

Recommended Posts

6 minutes ago, ninthwalker said:

 

 

Correct.

I haven't supported the old v1 since releasing v2.

Looks like Squid got around to marking the old version as deprecated in Community Applications.

You can just keep using the old one, or you can install v2 as a fresh install and try it out along side the old one if needed.

Just change the port and name of the new docker to something not currently being used.

 

 

 

I am running version 2

Share this post


Link to post
2 hours ago, rmilyard said:

I am running version 2

Why didn't you say so to begin with. In other words, you are asking a question about Fix Common Problems instead of a question about this docker. Maybe you are on the wrong thread.

Share this post


Link to post

Got docker setup and running.  Problem is that it won't run the report.  I see this error in the log file.


/usr/lib/ruby/2.3.0/net/http.rb:882:in `rescue in block in connect': Failed to open TCP connection to 192.168.73.3:32400 (Host is unreachable - connect(2) for "192.168.73.3" port 32400) (Errno::EHOSTUNREACH)

 

Any ideas?

Edited by BigWorm

Share this post


Link to post
On 2/7/2019 at 8:00 PM, BigWorm said:

Got docker setup and running.  Problem is that it won't run the report.  I see this error in the log file.


/usr/lib/ruby/2.3.0/net/http.rb:882:in `rescue in block in connect': Failed to open TCP connection to 192.168.73.3:32400 (Host is unreachable - connect(2) for "192.168.73.3" port 32400) (Errno::EHOSTUNREACH)

 

Any ideas?

I've been moving to a new state so haven't been around as much, sorry.

 

I know this was posted last month, so hopefully you figured out the issue.

That log error you pasted though is basically saying it cant connect to your plex server. So have to make sure that is reachable.

Share this post


Link to post
4 hours ago, ninthwalker said:

I've been moving to a new state so haven't been around as much, sorry.

 

I know this was posted last month, so hopefully you figured out the issue.

That log error you pasted though is basically saying it cant connect to your plex server. So have to make sure that is reachable.

No worries.  I did get it fixed.   I had my Plex container setup wrong.  :) 
Thanks!

Share this post


Link to post

I take it there are no more updates to this docker? I posted a bug back in February on Github that has gone unanswered.

 

Most watched movie: Last Man Standing (2011)

Most watched TV show: Queen

Most listened to artist:  

Most popular day to watch movies: Sunday

Most popular time to watch movies: 9:00 AM

Most popular day to watch TV: Wednesday

Most popular time to watch TV: 10:00 AM

New Movies:  5   |   New Episodes:  22   |   New Seasons:  2

Total Movies:  6698  |  Total TV Shows:  278   |  Total Songs:  22118

 

Also the color in E-Mail is totally unreadable. It should be the same as the website.

Share this post


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

 

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;

 

I have tried and tried to get this working. I currently have my proxy working with everything except this one. I can get the site to show, but all the CSS styling is gone.

 

image.thumb.png.6855c8117374d86f5cbbdea0b899d592.png

Share this post


Link to post

My testing of report and email generation are successful. Email is sent and webpage is updated. However, regular use with the cron job set does not generate either.

 

EDIT:

This may be the reason.

 

/usr/local/sbin/webreport:135:in `block in getMovies': undefined method `each' for nil:NilClass (NoMethodError)
from /usr/local/sbin/webreport:112:in `each'
from /usr/local/sbin/webreport:112:in `getMovies'
from /usr/local/sbin/webreport:397:in `main'
from /usr/local/sbin/webreport:454:in `<main>'

 

EDIT AGAIN:

I have removed all traces of the docker and reinstalled. Checked Plex to make sure I have no empty libraries. Used the filtering to filter all but one. No go. I have auto updates on for my dockers (maybe I should turn this off) and the last time I had a successful run was August 21. Email and report were generated. Since then, the above error is generated. I will just turn it off till it is sorted out.

Edited by TristBella
More Info

Share this post


Link to post
On 5/9/2019 at 10:17 AM, TristBella said:

I have tried and tried to get this working. I currently have my proxy working with everything except this one. I can get the site to show, but all the CSS styling is gone.

 

image.thumb.png.6855c8117374d86f5cbbdea0b899d592.png

 

Forgot to mention that I have solved this issue. I use OrganizrV2. Here is the nginx config.

 

# Now Showing redirect
    location /nowshowing {
        return 301 /nowshowing/;
    }

location /nowshowing/ {
        auth_request off;

        #Timeout if the real server is dead
        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 X-Real-IP $remote_addr;
        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 $scheme; ## Swapped with line below for parity among others
        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_headers_hash_max_size 1024;
        proxy_headers_hash_bucket_size 256;
        proxy_pass http://xxx.xxx.xxx.xxx:6878/;
}

location /nowshowing/admin/ {
        auth_request off;

        #Timeout if the real server is dead
        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 X-Real-IP $remote_addr;
        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 $scheme; ## Swapped with line below for parity among others
        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_headers_hash_max_size 1024;
        proxy_headers_hash_bucket_size 256;
        proxy_pass http://xxx.xxx.xxx.xxx:6878/admin;
}

 

Share this post


Link to post
On 9/10/2019 at 11:47 AM, TristBella said:

 

Forgot to mention that I have solved this issue. I use OrganizrV2. Here is the nginx config.

 

...

 

 

 

Thanks for sharing. Sorry I wasn't able to help more for it, but glad you figured out the proxy config w/ Organizr

Share this post


Link to post
On 9/10/2019 at 9:43 AM, TristBella said:

My testing of report and email generation are successful. Email is sent and webpage is updated. However, regular use with the cron job set does not generate either.

 

EDIT:

This may be the reason.

 

/usr/local/sbin/webreport:135:in `block in getMovies': undefined method `each' for nil:NilClass (NoMethodError)
from /usr/local/sbin/webreport:112:in `each'
from /usr/local/sbin/webreport:112:in `getMovies'
from /usr/local/sbin/webreport:397:in `main'
from /usr/local/sbin/webreport:454:in `<main>'

 

EDIT AGAIN:

I have removed all traces of the docker and reinstalled. Checked Plex to make sure I have no empty libraries. Used the filtering to filter all but one. No go. I have auto updates on for my dockers (maybe I should turn this off) and the last time I had a successful run was August 21. Email and report were generated. Since then, the above error is generated. I will just turn it off till it is sorted out.

 

To narrow it down, do you also get the error if you just do a TV library and not a movie one? Opposite as well, just movie and not TV?

Did you happen to install a 3rd party agent like the HAMA Anime Agent?

Did you get that same error after you filtered out the empty library or did it return a different one?

 

Share this post


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.