ninthwalker Posted June 21, 2018 Author Share Posted June 21, 2018 9 hours ago, boxland said: Is it possible to make the statistic show 24-hour time instead of AM/PM? No, time format is hard coded since I have to do a conversion on it. I don't have plans to make a separate conversion/24 hour option, sorry. Quote Link to comment
Chad Kunsman Posted June 21, 2018 Share Posted June 21, 2018 (edited) On 5/14/2018 at 11:29 AM, ninthwalker said: @Chad Kunsman and @nerbonne Alright, so the internal cron looks like it set correctly to what you specified in the GUI so I don't see any issue there. Try this next. Go into the web gui. Set test cron schedule to 'yes' on the report tab. Select web & email for report type. The enter in cron times for the web and email. Make the cron's like 5 minutes apart and to go off in the next 30 min's. This should only send an email to your main plex account and also generate the website. Wait like 5 minutes after your last cron time to give the report time to run. Then show me your NowShowing and Docker logs. Also let me know what time you specified in your cron settings to cross-reference the log timestamps. The logs that you posted earlier didn't show me anything abnormal. Thanks. @ninthwalker No action at all after cron time has passed. Nothing added to docker log and nothing added to nowshowing.log. I have my report type set to both email and web. I have my email report time cron set as: 1/6 * * * * I have my web report time cron set as: 1/12 * * * * Executing 'crontab -u xyz - l' from within the container outputs as "1/6 * * * * combinedreport -t &> /dev/null/" which I find odd since the timing is different on both as set in GUI. Here's the last few lines of my docker logs for this container: Please go to http://hostIP:hostPort/admin to configure settings[cont-init.d] 20-setup: exited 0.[cont-init.d] done.[services.d] starting services[services.d] done.2018-06-21 21:46:16: (log.c.217) server started Should I be concerned about the line that is asking me to configure settings even though everything is configured? Any ideas? Edit: So I finally did get email reports generated/sent but it took until the next hour to flip over before it started sending them. I was under the impression that if I set it to send every 5 minutes between minutes 1 and 59, that it would start immediately but for some reason it waited until the hour turned to next. Anyway, I've adjusted the cron to something longer (10 min of every hour and 20 min of every hour) for both email and web report and will leave it like that for a few hours to see how it behaves and report back. Cron listing in container still only says 'combinedreport' of 10 minutes, though. Edited June 21, 2018 by Chad Kunsman updates Quote Link to comment
CyberMew Posted June 22, 2018 Share Posted June 22, 2018 (edited) I just started using this app again, and I have everything set up but sending the Test Report via the admin page seems to do nothing. Any ideas? Quote Advanced config file detected. Checking version ..Version 2.0.2 found.Backing up files to /config/backup/ & upgrading to 2.0.3 release.Server readyPlease go to http://hostIP:hostPort/admin to configure settings[cont-init.d] 20-setup: exited 0.[cont-init.d] done.[services.d] starting services[services.d] done.2018-06-23 02:10:59: (log.c.217) server started/usr/lib/ruby/2.3.0/uri/rfc3986_parser.rb:67:in `split': bad URI(is not URI?): http://192.168.1.102:32400:32400/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:35:in `get'from /usr/local/sbin/combinedreport:110:in `getMovies'from /usr/local/sbin/combinedreport:396:in `main'from /usr/local/sbin/combinedreport:460:in `<main>'/usr/lib/ruby/2.3.0/uri/rfc3986_parser.rb:67:in `split': bad URI(is not URI?): http://192.168.1.102:32400:32400/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:35:in `get'from /usr/local/sbin/combinedreport:110:in `getMovies'from /usr/local/sbin/combinedreport:396:in `main'from /usr/local/sbin/combinedreport:460:in `<main>' Edit: Removing port from the ip:port seems to do the trick. The UI is a little misleading Edit2: seems like the viewer buttons in Log Viewer dont work too Edited June 22, 2018 by CyberMew Quote Link to comment
ninthwalker Posted June 22, 2018 Author Share Posted June 22, 2018 (edited) 23 hours ago, Chad Kunsman said: @ninthwalker No action at all after cron time has passed. Nothing added to docker log and nothing added to nowshowing.log. I have my report type set to both email and web. I have my email report time cron set as: 1/6 * * * * I have my web report time cron set as: 1/12 * * * * Executing 'crontab -u xyz - l' from within the container outputs as "1/6 * * * * combinedreport -t &> /dev/null/" which I find odd since the timing is different on both as set in GUI. Here's the last few lines of my docker logs for this container: Please go to http://hostIP:hostPort/admin to configure settings[cont-init.d] 20-setup: exited 0.[cont-init.d] done.[services.d] starting services[services.d] done.2018-06-21 21:46:16: (log.c.217) server started Should I be concerned about the line that is asking me to configure settings even though everything is configured? Any ideas? Edit: So I finally did get email reports generated/sent but it took until the next hour to flip over before it started sending them. I was under the impression that if I set it to send every 5 minutes between minutes 1 and 59, that it would start immediately but for some reason it waited until the hour turned to next. Anyway, I've adjusted the cron to something longer (10 min of every hour and 20 min of every hour) for both email and web report and will leave it like that for a few hours to see how it behaves and report back. Cron listing in container still only says 'combinedreport' of 10 minutes, though. If your "crontab -u xyz - l" is showing ".. combinedreport -t .." that means it is in test mode. (the "-t" switch). So that is probably what is messing up your cron schedule. You probably at some point set the 'Test Cron Schedule' to 'Yes' on the Report tab. That tool-tip displays the following: For testing cron schedule. See Tools section for On-demand test. Enabling this will test both email and web reports using the email report cron time. Only the admin will be sent an email, users will NOT receive one. Try changing that setting to NO, then save, then check the docker crontab again and it should be showing your 2 entries you set in the GUI. Let me know. Thanks. PS: The "Please go to http://hostIP:hostPort/admin to configure settings" is just shown everytime the docker starts for people to know where to go to for the admin page. Edited June 22, 2018 by ninthwalker Quote Link to comment
ninthwalker Posted June 22, 2018 Author Share Posted June 22, 2018 (edited) 2 hours ago, CyberMew said: I just started using this app again, and I have everything set up but sending the Test Report via the admin page seems to do nothing. Any ideas? Edit: Removing port from the ip:port seems to do the trick. The UI is a little misleading Edit2: seems like the viewer buttons in Log Viewer dont work too Glad you figured out the port part. The tool-tip for the Plex Server Field has details and examples. Let me know if you think I should word it differently. People all have different setups and proxy'ing they do, so tried to make it so it could work for anyone's setup even if the plex server is in a different location than this docker. Currently it states: Uses port 32400 if no 'http/s' protocol specified. ie: 192.168.1.20 http://plex.mydomain.com https://plex.mydomain.com:32400 https://mydomain.com:12345 Haven't had anyone yet tell me the log viewer buttons don't work. None of them do anything? Do you get an error or have an example of what it does when you click one of the buttons? Edited June 22, 2018 by ninthwalker Quote Link to comment
CyberMew Posted June 23, 2018 Share Posted June 23, 2018 15 hours ago, ninthwalker said: Glad you figured out the port part. The tool-tip for the Plex Server Field has details and examples. Let me know if you think I should word it differently. People all have different setups and proxy'ing they do, so tried to make it so it could work for anyone's setup even if the plex server is in a different location than this docker. Currently it states: Uses port 32400 if no 'http/s' protocol specified. ie: 192.168.1.20 http://plex.mydomain.com https://plex.mydomain.com:32400 https://mydomain.com:12345 Haven't had anyone yet tell me the log viewer buttons don't work. None of them do anything? Do you get an error or have an example of what it does when you click one of the buttons? Hmm now that I tried it again, the log viewer buttons are working now, not sure if it's because I restarted the browser due to os update.. I think the issue is that one usually would expect to write the ip and port themselves, and not expect the default port to be appended by default. In fact I could be using localip with a custom port of say 84280 and it would probably try to append :32400 behind (did not try). I think the confusion comes because the tooltip examples mixes both ip without port and ip with port. Naturally I would think that since I input the port myself, it should take precedence and not have the system append :32400 for me automatically. Maybe it would be better to have 2 text boxes separated by ":" and have the user fill in the port textbox themselves (and maybe default the textbox field to 32400)? One other question that I have is I just tried to do a on-demand report, and I'm the only one receiving the emails. Are my friends who have access to my server suppose to get these reports as well? And what if some of them don't have/or have access to some libraries only, will they still see those in their email or would it be personalised for them? Thank you for the reply! Quote Link to comment
CyberMew Posted July 22, 2018 Share Posted July 22, 2018 For some reason I’m the only one to get the emails. Others don’t get them at all even if they have access to the libraries. Weird.. Quote Link to comment
rmilyard Posted July 26, 2018 Share Posted July 26, 2018 I believe I have most current version of Now Showing v2 and Tautulli. I don’t have a stats tab to setup. What might I be missing? Quote Link to comment
ninthwalker Posted July 31, 2018 Author Share Posted July 31, 2018 On 7/25/2018 at 8:08 PM, rmilyard said: I believe I have most current version of Now Showing v2 and Tautulli. I don’t have a stats tab to setup. What might I be missing? I replied to you on your github issue, we can talk about it there. Thanks Quote Link to comment
ninthwalker Posted July 31, 2018 Author Share Posted July 31, 2018 (edited) On 7/22/2018 at 3:49 AM, CyberMew said: For some reason I’m the only one to get the emails. Others don’t get them at all even if they have access to the libraries. Weird.. What options have you selected on the email and report tabs? The on demand uses the current email/report settings. To have it email all users on your server you would want to select 'yes' on the email tab for the 'email plex users' option. Is that selected? Also to make sure on the 'report > report type' includes an email option. Also, check the logs, does it say anything else? Logs can be found in 'Tools > Log Viewer' as well as the docker log from the unRAID menu for the docker. For your second question, it will email all users all libraries whether they have access or not. If you want to exclude a library you can do so in the 'Plex > Libraries to Skip' box. So you could put your xxx or 4k section there for example to not have anything there sent out. Edited July 31, 2018 by ninthwalker Quote Link to comment
rmilyard Posted July 31, 2018 Share Posted July 31, 2018 Here are pics. I don't have log option under Tools. Log.txt Quote Link to comment
CyberMew Posted July 31, 2018 Share Posted July 31, 2018 1 hour ago, ninthwalker said: What options have you selected on the email and report tabs? The on demand uses the current email/report settings. To have it email all users on your server you would want to select 'yes' on the email tab for the 'email plex users' option. Is that selected? Also to make sure on the 'report > report type' includes an email option. Also, check the logs, does it say anything else? Logs can be found in 'Tools > Log Viewer' as well as the docker log from the unRAID menu for the docker. For your second question, it will email all users all libraries whether they have access or not. If you want to exclude a library you can do so in the 'Plex > Libraries to Skip' box. So you could put your xxx or 4k section there for example to not have anything there sent out. I have Email Plex Users: Yes Report type is Email and Web. Recent NowShowing Logs (last 25 lines) is not showing anything weird, just tv/movie updates. For some reason I have not been getting emails (even to myself!) for the past 1-2 weeks now (last sent was 20th July), not sure what's up. New movies/episodes have been added a lot over the past 10 days. Though at the top of the screen i see a "TEST CRON ENABLED" message. What's that about? I think it could be better if there is an inclusions field instead of an exclusions field. Different users have different accesses to different libraries, and the ones that overlap isn't a lot. Actually might be better if both in/ex fields are there with the ex field taking higher precedence. Anyway looking forward to test my exclusions once the email bug is solved! Quote Link to comment
ninthwalker Posted July 31, 2018 Author Share Posted July 31, 2018 1 hour ago, CyberMew said: I have Email Plex Users: Yes Report type is Email and Web. Recent NowShowing Logs (last 25 lines) is not showing anything weird, just tv/movie updates. For some reason I have not been getting emails (even to myself!) for the past 1-2 weeks now (last sent was 20th July), not sure what's up. New movies/episodes have been added a lot over the past 10 days. Though at the top of the screen i see a "TEST CRON ENABLED" message. What's that about? I think it could be better if there is an inclusions field instead of an exclusions field. Different users have different accesses to different libraries, and the ones that overlap isn't a lot. Actually might be better if both in/ex fields are there with the ex field taking higher precedence. Anyway looking forward to test my exclusions once the email bug is solved! Disable the test cron, that's why no emails. The banner at the top is warning that it's on. It is an option under the Plex tab. As the tooltip for it states: For testing cron schedule. See Tools section for On-demand test. Enabling this will test both email and web reports using the email report cron time. Only the admin will be sent an email, users will NOT receive one. Disabling that should let the on-demand and test report functions and everything to work. Let me know after you do that. Try a test one first just so you get one and confirm that email settings are correct. then you can run an on-demand one to see if it goes to your users as expected. Quote Link to comment
ninthwalker Posted July 31, 2018 Author Share Posted July 31, 2018 3 hours ago, rmilyard said: Here are pics. I don't have log option under Tools. Your install is def messed up and missing system files. See my explanation on github to re-install. Quote Link to comment
rmilyard Posted July 31, 2018 Share Posted July 31, 2018 3 minutes ago, ninthwalker said: Your install is def messed up and missing system files. See my explanation on github to re-install. I changed to a new Appdata folder and setup again. Then copied the files from new one to old one and changed it back to pointing at the old appdata. I now see STATS tab. Running on demand report now. Will take sometime since large server. Quote Link to comment
rmilyard Posted July 31, 2018 Share Posted July 31, 2018 1 hour ago, ninthwalker said: Your install is def messed up and missing system files. See my explanation on github to re-install. Send you logs on GitHub. But On Demand or test doesn't seem to work. I am seeing this error in logs and not sure if this might be cause: /usr/lib/ruby/2.3.0/uri/rfc3986_parser.rb:67:in `split': bad URI(is not URI?): http://10.0.1.100:32400:32400/library/sections (URI::InvalidURIError) Quote Link to comment
rmilyard Posted July 31, 2018 Share Posted July 31, 2018 Found my issue. Working fine now! Thanks for help! Quote Link to comment
ninthwalker Posted August 1, 2018 Author Share Posted August 1, 2018 1 hour ago, rmilyard said: Found my issue. Working fine now! Thanks for help! Great, glad it's all working for you. Quote Link to comment
CyberMew Posted August 1, 2018 Share Posted August 1, 2018 (edited) 20 hours ago, ninthwalker said: Disable the test cron, that's why no emails. The banner at the top is warning that it's on. It is an option under the Plex tab. As the tooltip for it states: For testing cron schedule. See Tools section for On-demand test. Enabling this will test both email and web reports using the email report cron time. Only the admin will be sent an email, users will NOT receive one. Disabling that should let the on-demand and test report functions and everything to work. Let me know after you do that. Try a test one first just so you get one and confirm that email settings are correct. then you can run an on-demand one to see if it goes to your users as expected. Thanks for the info! The option is under Report tab instead of the Plex tab. I changed the setting to NO, and did a on demand report (not sure how to do the test one but I know now). Seems like the email is sent successfully I like the stats too, but I selected Grid and it gave me Table layout instead though. Tested with the on demand report and test report. Tried both grid and table options, same effect. I think this is a bug? Edit: I think a textfield for us to type in html into the report would be a very nice addition as well! Edited August 1, 2018 by CyberMew Quote Link to comment
Rookie Posted August 8, 2018 Share Posted August 8, 2018 (edited) I, [2018-08-08T00:35:51.324544 #1850] INFO -- : SMTP mailing failed! execution expired["/usr/lib/ruby/2.3.0/net/smtp.rb:542:in `initialize'", "/usr/lib/ruby/2.3.0/net/smtp.rb:542:in `open'", "/usr/lib/ruby/2.3.0/net/smtp.rb:542:in `tcp_socket'", "/usr/lib/ruby/2.3.0/net/smtp.rb:552:in `block in do_start'", "/usr/lib/ruby/2.3.0/timeout.rb:101:in `timeout'", "/usr/lib/ruby/2.3.0/net/smtp.rb:551:in `do_start'", "/usr/lib/ruby/2.3.0/net/smtp.rb:521:in `start'", "/usr/lib/ruby/gems/2.3.0/gems/mail-2.6.3/lib/mail/network/delivery_methods/smtp.rb:112:in `deliver!'", "/usr/lib/ruby/gems/2.3.0/gems/mail-2.6.3/lib/mail/message.rb:252:in `deliver!'", "/var/lib/nowshowing/mailReport.rb:99:in `sendMail'", "/usr/local/sbin/combinedreport:452:in `main'", "/usr/local/sbin/combinedreport:460:in `<main>'"] I, [2018-08-08T00:35:51.332451 #1850] INFO -- : Script complete. Ran in 82.942580012 seconds I, [2018-08-08T00:44:08.911692 #2402] INFO -- : SMTP mailing failed! execution expired["/usr/lib/ruby/2.3.0/net/smtp.rb:542:in `initialize'", "/usr/lib/ruby/2.3.0/net/smtp.rb:542:in `open'", "/usr/lib/ruby/2.3.0/net/smtp.rb:542:in `tcp_socket'", "/usr/lib/ruby/2.3.0/net/smtp.rb:552:in `block in do_start'", "/usr/lib/ruby/2.3.0/timeout.rb:101:in `timeout'", "/usr/lib/ruby/2.3.0/net/smtp.rb:551:in `do_start'", "/usr/lib/ruby/2.3.0/net/smtp.rb:521:in `start'", "/usr/lib/ruby/gems/2.3.0/gems/mail-2.6.3/lib/mail/network/delivery_methods/smtp.rb:112:in `deliver!'", "/usr/lib/ruby/gems/2.3.0/gems/mail-2.6.3/lib/mail/message.rb:252:in `deliver!'", "/var/lib/nowshowing/mailAnnouncement.rb:100:in `sendMail'", "/usr/local/sbin/announcementreport:87:in `main'", "/usr/local/sbin/announcementreport:91:in `<main>'"] I, [2018-08-08T00:44:08.911929 #2402] INFO -- : Announcement Email Sent. I, [2018-08-08T00:49:30.518572 #2413] INFO -- : SMTP mailing failed! execution expired["/usr/lib/ruby/2.3.0/net/smtp.rb:542:in `initialize'", "/usr/lib/ruby/2.3.0/net/smtp.rb:542:in `open'", "/usr/lib/ruby/2.3.0/net/smtp.rb:542:in `tcp_socket'", "/usr/lib/ruby/2.3.0/net/smtp.rb:552:in `block in do_start'", "/usr/lib/ruby/2.3.0/timeout.rb:101:in `timeout'", "/usr/lib/ruby/2.3.0/net/smtp.rb:551:in `do_start'", "/usr/lib/ruby/2.3.0/net/smtp.rb:521:in `start'", "/usr/lib/ruby/gems/2.3.0/gems/mail-2.6.3/lib/mail/network/delivery_methods/smtp.rb:112:in `deliver!'", "/usr/lib/ruby/gems/2.3.0/gems/mail-2.6.3/lib/mail/message.rb:252:in `deliver!'", "/var/lib/nowshowing/mailAnnouncement.rb:100:in `sendMail'", "/usr/local/sbin/announcementreport:87:in `main'", "/usr/local/sbin/announcementreport:91:in `<main>'"] I, [2018-08-08T00:49:30.518776 #2413] INFO -- : Announcement Email Sent. I, [2018-08-08T00:52:07.166504 #1248] INFO -- : SMTP mailing failed! execution expired["/usr/lib/ruby/2.3.0/net/smtp.rb:542:in `initialize'", "/usr/lib/ruby/2.3.0/net/smtp.rb:542:in `open'", "/usr/lib/ruby/2.3.0/net/smtp.rb:542:in `tcp_socket'", "/usr/lib/ruby/2.3.0/net/smtp.rb:552:in `block in do_start'", "/usr/lib/ruby/2.3.0/timeout.rb:101:in `timeout'", "/usr/lib/ruby/2.3.0/net/smtp.rb:551:in `do_start'", "/usr/lib/ruby/2.3.0/net/smtp.rb:521:in `start'", "/usr/lib/ruby/gems/2.3.0/gems/mail-2.6.3/lib/mail/network/delivery_methods/smtp.rb:112:in `deliver!'", "/usr/lib/ruby/gems/2.3.0/gems/mail-2.6.3/lib/mail/message.rb:252:in `deliver!'", "/var/lib/nowshowing/mailAnnouncement.rb:100:in `sendMail'", "/usr/local/sbin/announcementreport:87:in `main'", "/usr/local/sbin/announcementreport:91:in `<main>'"] I, [2018-08-08T00:52:07.166967 #1248] INFO -- : Announcement Email Sent. So I completed deleted the appdata folder and did a fresh install. (I did this because I have not been able to get the email to send). After the fresh install I went to http:\\Host IP:port\Admin. I get the welcome screen then click next and nothing happens. I can't get into the admin portion to reconfigure everything so I can try to get this working. Thoughts? So I got around this by grabbing the default password and going to admin/index.php so I guess its kinda fixed however I still can not send emails Edited August 8, 2018 by Rookie solved first problem...ish Quote Link to comment
ninthwalker Posted August 10, 2018 Author Share Posted August 10, 2018 (edited) On 8/7/2018 at 9:44 PM, Rookie said: So I completed deleted the appdata folder and did a fresh install. (I did this because I have not been able to get the email to send). After the fresh install I went to http:\\Host IP:port\Admin. I get the welcome screen then click next and nothing happens. I can't get into the admin portion to reconfigure everything so I can try to get this working. Thoughts? So I got around this by grabbing the default password and going to admin/index.php so I guess its kinda fixed however I still can not send emails Can you provide other logs possibly when sending a report fails? There is the docker log you can get from unraid by clicking on the log icon on the docker settings page. Also the logs from within the app from the tools > Log Viewer menu. Also your smtp settings used? Make sure to replace any username/password/ip type info with redacted versions if you want. It's not liking some setting/configuration you have in there it seems. Thanks. Edited August 10, 2018 by ninthwalker Quote Link to comment
ninthwalker Posted August 10, 2018 Author Share Posted August 10, 2018 (edited) On 8/1/2018 at 10:28 AM, CyberMew said: Thanks for the info! The option is under Report tab instead of the Plex tab. I changed the setting to NO, and did a on demand report (not sure how to do the test one but I know now). Seems like the email is sent successfully I like the stats too, but I selected Grid and it gave me Table layout instead though. Tested with the on demand report and test report. Tried both grid and table options, same effect. I think this is a bug? Edit: I think a textfield for us to type in html into the report would be a very nice addition as well! Glad you got it mostly working. You are the first to say the grid/table was funky. I'll have to see if I can replicate the error. This was on the webpage correct? As the tooltip states, that setting is only for the web, the email is always table layout. grid doesn't look good in email. For your html suggestion, where would you want that field to show in the report? Like under the title but before the Movies section for like a special message or something? You can always edit the report file in the appdata directly and put whatever html/css or images or different formatting you want in it that was as well. That's the main way to fully customize how you want the report to look if you don't want the default out-of-box look. I have mine modified that way as well. Edited August 10, 2018 by ninthwalker 1 Quote Link to comment
CyberMew Posted August 10, 2018 Share Posted August 10, 2018 6 hours ago, ninthwalker said: Glad you got it mostly working. You are the first to say the grid/table was funky. I'll have to see if I can replicate the error. This was on the webpage correct? As the tooltip states, that setting is only for the web, the email is always table layout. grid doesn't look good in email. For your html suggestion, where would you want that field to show in the report? Like under the title but before the Movies section for like a special message or something? You can always edit the report file in the appdata directly and put whatever html/css or images or different formatting you want in it that was as well. That's the main way to fully customize how you want the report to look if you don't want the default out-of-box look. I have mine modified that way as well. Ah I see, I thought the grid was for email, no worries. I don't use the web portion at all since I don't want to expose it out. Actually I was thinking of like putting a link to a telegram group chat so people know we have a chat group, and maybe to write important annoucements that I want to make, that's why I wanted a text field where we can write stuff and be shown at the top of the email when sent out. Quote Link to comment
Rookie Posted August 13, 2018 Share Posted August 13, 2018 On 8/9/2018 at 7:12 PM, ninthwalker said: Can you provide other logs possibly when sending a report fails? There is the docker log you can get from unraid by clicking on the log icon on the docker settings page. Also the logs from within the app from the tools > Log Viewer menu. Also your smtp settings used? Make sure to replace any username/password/ip type info with redacted versions if you want. It's not liking some setting/configuration you have in there it seems. Thanks. Webserver logs x.x.x.x x.x.x.x:xxxx - [12/Aug/2018:20:53:33 -0500] "POST /admin/test_report.php HTTP/1.1" 200 16 "http://x.x.x.x:xxxx/admin/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36" x.x.x.x x.x.x.x:xxxx - [12/Aug/2018:20:51:46 -0500] "POST /admin/test_report.php HTTP/1.1" 200 16 "http://x.x.x.x:xxxx/admin/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36" x.x.x.x x.x.x.x:xxxx - [12/Aug/2018:20:46:18 -0500] "GET /admin/logs.php?p=%252Fconfig%252Flogs%252Fnowshowing.log HTTP/1.1" 200 6234 "http://x.x.x.x:xxxx/admin/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36" now showing logs I, [2018-08-12T20:47:32.374959 #4282] INFO -- : Starting up NowShowing I, [2018-08-12T20:47:34.458613 #4282] INFO -- : Reporting Movie: Deadpool 2 I, [2018-08-12T20:47:35.583122 #4282] INFO -- : Reporting Movie: Hunger I, [2018-08-12T20:47:36.654296 #4282] INFO -- : Reporting Movie: In Darkness I, [2018-08-12T20:47:37.821793 #4282] INFO -- : Reporting Movie: Like Father I, [2018-08-12T20:47:38.943489 #4282] INFO -- : Reporting Movie: Skyscraper I, [2018-08-12T20:47:40.115009 #4282] INFO -- : Reporting Movie: Tag I, [2018-08-12T20:47:41.228461 #4282] INFO -- : Reporting Movie: Wildling I, [2018-08-12T20:47:43.588940 #4282] INFO -- : Reporting Alone Season 5 Episode 9 I, [2018-08-12T20:48:22.096238 #4282] INFO -- : Reporting Big Brother Season 20 Episode 20 E, [2018-08-12T20:48:22.096586 #4282] ERROR -- : Something failed. Most likely metadata related. If you see this error all the time, turn on debugging and open an issue on github. I, [2018-08-12T20:48:49.353611 #1251] INFO -- : Reporting Making It Season 1 Episode 2 I, [2018-08-12T20:48:54.909170 #4282] INFO -- : Reporting Castle Rock Season 1 Episode 5 I, [2018-08-12T20:49:35.644725 #1251] INFO -- : Reporting Queen of the South Season 3 Episode 8 I, [2018-08-12T20:50:13.587649 #1251] INFO -- : Reporting Suits Season 8 Episode 4 I, [2018-08-12T20:50:47.224917 #4282] INFO -- : Reporting Making It Season 1 Episode 2 I, [2018-08-12T20:51:09.311769 #1251] INFO -- : Reporting Yellowstone (2018) Season 1 Episode 7 I, [2018-08-12T20:51:15.593231 #1251] INFO -- : Adding Statistics from Tautulli I, [2018-08-12T20:51:30.919555 #4282] INFO -- : Reporting Queen of the South Season 3 Episode 8 I, [2018-08-12T20:51:46.554145 #1251] INFO -- : SMTP mailing failed! execution expired["/usr/lib/ruby/2.3.0/net/smtp.rb:542:in `initialize'", "/usr/lib/ruby/2.3.0/net/smtp.rb:542:in `open'", "/usr/lib/ruby/2.3.0/net/smtp.rb:542:in `tcp_socket'", "/usr/lib/ruby/2.3.0/net/smtp.rb:552:in `block in do_start'", "/usr/lib/ruby/2.3.0/timeout.rb:101:in `timeout'", "/usr/lib/ruby/2.3.0/net/smtp.rb:551:in `do_start'", "/usr/lib/ruby/2.3.0/net/smtp.rb:521:in `start'", "/usr/lib/ruby/gems/2.3.0/gems/mail-2.6.3/lib/mail/network/delivery_methods/smtp.rb:112:in `deliver!'", "/usr/lib/ruby/gems/2.3.0/gems/mail-2.6.3/lib/mail/message.rb:252:in `deliver!'", "/var/lib/nowshowing/mailReport.rb:99:in `sendMail'", "/usr/local/sbin/combinedreport:452:in `main'", "/usr/local/sbin/combinedreport:460:in `<main>'"] I, [2018-08-12T20:51:46.559671 #1251] INFO -- : Script complete. Ran in 390.029264528 seconds I, [2018-08-12T20:52:06.561907 #4282] INFO -- : Reporting Suits Season 8 Episode 4 I, [2018-08-12T20:52:58.048268 #4282] INFO -- : Reporting Yellowstone (2018) Season 1 Episode 7 I, [2018-08-12T20:53:03.580459 #4282] INFO -- : Adding Statistics from Tautulli I, [2018-08-12T20:53:34.513395 #4282] INFO -- : SMTP mailing failed! execution expired["/usr/lib/ruby/2.3.0/net/smtp.rb:542:in `initialize'", "/usr/lib/ruby/2.3.0/net/smtp.rb:542:in `open'", "/usr/lib/ruby/2.3.0/net/smtp.rb:542:in `tcp_socket'", "/usr/lib/ruby/2.3.0/net/smtp.rb:552:in `block in do_start'", "/usr/lib/ruby/2.3.0/timeout.rb:101:in `timeout'", "/usr/lib/ruby/2.3.0/net/smtp.rb:551:in `do_start'", "/usr/lib/ruby/2.3.0/net/smtp.rb:521:in `start'", "/usr/lib/ruby/gems/2.3.0/gems/mail-2.6.3/lib/mail/network/delivery_methods/smtp.rb:112:in `deliver!'", "/usr/lib/ruby/gems/2.3.0/gems/mail-2.6.3/lib/mail/message.rb:252:in `deliver!'", "/var/lib/nowshowing/mailReport.rb:99:in `sendMail'", "/usr/local/sbin/combinedreport:452:in `main'", "/usr/local/sbin/combinedreport:460:in `<main>'"] I, [2018-08-12T20:53:34.523801 #4282] INFO -- : Script complete. Ran in 362.149994013 seconds docker log ----------------------------------------- NowShowing ----------------------------------------- Brought to you by: Ninthwalker/GroxyPod/Limen75 ----------------------------------------- User xyz set to: 99 Group xyz set to: 100 ----------------------------------------- [cont-init.d] 10-set-uidgid: exited 0. [cont-init.d] 20-setup: executing... Advanced config file detected. Checking version .. Latest 2.0.3 release found. Nothing to update. Server ready Please go to http://hostIP:hostPort/admin to configure settings [cont-init.d] 20-setup: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. 2018-08-12 20:28:26: (log.c.217) server started for the email setting I just selected Yahoo from the drop down and provided the email address and password. Just in case it helps I'm adding the advanced.yaml 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" libraries_to_skip: - "" server: "x.x.x.x" mail: from: "Plex Server" subject: "Now Showing" recipients_email: - "" recipients: - "" provider: "yahoo" address: "smtp.mail.yahoo.com" port: "587" username: "[email protected]" password: "xxxxxxxxxxx" report: interval: "7" report_type: "both" email_report_time: '30 10 * * 5' web_report_time: '0 23 * * *' extra_details: "yes" test: "enable" tautulli: server: "x.x.x.x" port: "xxxx" https: "no" httproot: "" api_key: "xxxxxxxxxxxxxxxxxxxxxx" title: 'Statistics:' stats: "LBmv" token: api_key: "xxxxxxxxxxxxxxxxxxxx" Thats everything I can think of to send you. Quote Link to comment
CyberMew Posted August 19, 2018 Share Posted August 19, 2018 Now I'm thinking is it possible to add a opt-out section for emails? I have it set to email all users and one guy wanted to opt out, so it would be great if I could do that. Also now I think that adding a custom message section in the email would be good because I can then say something like "email sent weekly, if you want to opt out, contact me at +xxxxxxxx or reply to the email directly" or something like that too Quote Link to comment
Recommended Posts
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.