[mythtv-users] mythweb - 0.28 - partially displayed page only

Mark Perkins perkins1724 at hotmail.com
Tue Feb 21 03:33:19 UTC 2017



> -----Original Message-----
> From: mythtv-users [mailto:mythtv-users-bounces at mythtv.org] On Behalf
> Of Stuart Auchterlonie
> Sent: Tuesday, 21 February 2017 12:41 AM
> To: mythtv-users at mythtv.org
> Subject: Re: [mythtv-users] mythweb - 0.28 - partially displayed page only
> 
> On 20/02/17 11:00, Mark Perkins wrote:
> > I'm struggling to get mythweb working. I will admit it is not a standard
....
> > Any assistance or advice greatly appreciated.
> >
> 
> Start by changing
> 
> error_log /var/log/nginx/error.log;
> 
> to
> 
> error_log /var/log/nginx/error.log debug;
> 
> You seem to be partly trying to setup mythweb under
> /mythweb_0_28 and partly under /.
> 
> Which of the 2 paths to mythweb are you expecting it to be accessible via?
> 
> 
> Regards
> Stuart
> 

Thanks Stuart. Ideally I would like to access via /mythweb_0_28/ as I would like to have a number of virtual sites all on the one host. For example:
xxx.xxx.xxx.xxx/mythweb_0_27/
xxx.xxx.xxx.xxx/mythweb_0_28/
xxx.xxx.xxx.xxx/mythweb_0_29/
xxx.xxx.xxx.xxx/other_site_1/
xxx.xxx.xxx.xxx/other_site_2/

But for now I am quite happy to keep it at the base / if it simplifies things. I have tried that this morning, by starting from scratch and trying hard to RTFM. But I've ended up at the same spot again so (whatever it is) I keep repeating the same mistake.

I enabled
error_log /var/log/nginx/error.log debug
and it is putting out a fair bit of info but I can't really see anything in there that looks like an error as such. I've attached essentially the last page of a mythweb.php request below. To me it just seems to end happily.

One error I did fix this morning is that the mythweb/data directory and files were not writable, changing that now means that browsing my mythweb.php page only has one mythtv logo not two, but otherwise things are the same as described in the original post. I also changed everything to permissions 777.

Just a note - I am not using the default ports 6543 and 6544 for my fixes/0.28 backend. Those ports are not likely to be hard baked into the mythweb code somewhere are they? It is successfully accessing the database (port 3306) because if I corrupt the password in the conf file it throws access denied errors everywhere.

Thanks again for your suggestions, greatly appreciated.

2017/02/21 13:14:20 [debug] 28981#0: *6 write new buf t:1 f:0 00007FED98FE6D90, pos 00007FED98FE6D90, size: 254 file: 0, size: 0
2017/02/21 13:14:20 [debug] 28981#0: *6 http write filter: l:0 f:0 s:254
2017/02/21 13:14:20 [debug] 28981#0: *6 http output filter "/js/table_sort.js?"
2017/02/21 13:14:20 [debug] 28981#0: *6 http copy filter: "/js/table_sort.js?"
2017/02/21 13:14:20 [debug] 28981#0: *6 http postpone filter "/js/table_sort.js?" 00007FFC287A67B0
2017/02/21 13:14:20 [debug] 28981#0: *6 write old buf t:1 f:0 00007FED98FE6D90, pos 00007FED98FE6D90, size: 254 file: 0, size: 0
2017/02/21 13:14:20 [debug] 28981#0: *6 write new buf t:0 f:1 0000000000000000, pos 0000000000000000, size: 0 file: 0, size: 19752
2017/02/21 13:14:20 [debug] 28981#0: *6 http write filter: l:1 f:0 s:20006
2017/02/21 13:14:20 [debug] 28981#0: *6 http write filter limit 0
2017/02/21 13:14:20 [debug] 28981#0: *6 writev: 254 of 254
2017/02/21 13:14:20 [debug] 28981#0: *6 sendfile: @0 19752
2017/02/21 13:14:20 [debug] 28981#0: *6 sendfile: 19752 of 19752 @0
2017/02/21 13:14:20 [debug] 28981#0: *6 http write filter 0000000000000000
2017/02/21 13:14:20 [debug] 28981#0: *6 http copy filter: 0 "/js/table_sort.js?"
2017/02/21 13:14:20 [debug] 28981#0: *6 http finalize request: 0, "/js/table_sort.js?" a:1, c:1
2017/02/21 13:14:20 [debug] 28981#0: *6 set http keepalive handler
2017/02/21 13:14:20 [debug] 28981#0: *6 http close request
2017/02/21 13:14:20 [debug] 28981#0: *6 http log handler
2017/02/21 13:14:20 [debug] 28981#0: *6 run cleanup: 00007FED98FE6720
2017/02/21 13:14:20 [debug] 28981#0: *6 file cleanup: fd:16
2017/02/21 13:14:20 [debug] 28981#0: *6 free: 00007FED98FE59A0, unused: 32
2017/02/21 13:14:20 [debug] 28981#0: *6 free: 00007FED98FE69B0, unused: 2562
2017/02/21 13:14:20 [debug] 28981#0: *6 free: 00007FED98FF0E40
2017/02/21 13:14:20 [debug] 28981#0: *6 hc free: 0000000000000000 0
2017/02/21 13:14:20 [debug] 28981#0: *6 hc busy: 0000000000000000 0
2017/02/21 13:14:20 [debug] 28981#0: *6 reusable connection: 1
2017/02/21 13:14:20 [debug] 28981#0: *6 event timer add: 14: 65000:1487645125676
2017/02/21 13:14:20 [debug] 28981#0: *6 post event 00007FED99012780
2017/02/21 13:14:20 [debug] 28981#0: *6 delete posted event 00007FED99012780
2017/02/21 13:14:20 [debug] 28981#0: *6 http keepalive handler
2017/02/21 13:14:20 [debug] 28981#0: *6 malloc: 00007FED98FF0E40:1024
2017/02/21 13:14:20 [debug] 28981#0: *6 recv: fd:14 -1 of 1024
2017/02/21 13:14:20 [debug] 28981#0: *6 recv() not ready (11: Resource temporarily unavailable)
2017/02/21 13:14:20 [debug] 28981#0: *6 free: 00007FED98FF0E40
2017/02/21 13:14:20 [debug] 28981#0: *5 http keepalive handler
2017/02/21 13:14:20 [debug] 28981#0: *5 malloc: 00007FED98FF0E40:1024
2017/02/21 13:14:20 [debug] 28981#0: *5 recv: fd:13 430 of 1024
2017/02/21 13:14:20 [debug] 28981#0: *5 reusable connection: 0
2017/02/21 13:14:20 [debug] 28981#0: *5 posix_memalign: 00007FED98FE59A0:4096 @16
2017/02/21 13:14:20 [debug] 28981#0: *5 event timer del: 13: 1487645125671
2017/02/21 13:14:20 [debug] 28981#0: *5 http process request line
2017/02/21 13:14:20 [debug] 28981#0: *5 http request line: "GET /js/recommend.js HTTP/1.1"
2017/02/21 13:14:20 [debug] 28981#0: *5 http uri: "/js/recommend.js"
2017/02/21 13:14:20 [debug] 28981#0: *5 http args: ""
2017/02/21 13:14:20 [debug] 28981#0: *5 http exten: "js"
2017/02/21 13:14:20 [debug] 28981#0: *5 posix_memalign: 00007FED98FE69B0:4096 @16
2017/02/21 13:14:20 [debug] 28981#0: *5 http process request header line
2017/02/21 13:14:20 [debug] 28981#0: *5 http header: "Host: 192.168.1.101"
2017/02/21 13:14:20 [debug] 28981#0: *5 http header: "Connection: keep-alive"
2017/02/21 13:14:20 [debug] 28981#0: *5 http header: "Pragma: no-cache"
2017/02/21 13:14:20 [debug] 28981#0: *5 http header: "Cache-Control: no-cache"
2017/02/21 13:14:20 [debug] 28981#0: *5 http header: "User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"
2017/02/21 13:14:20 [debug] 28981#0: *5 http header: "Accept: */*"
2017/02/21 13:14:20 [debug] 28981#0: *5 http header: "Referer: http://192.168.1.101/mythweb.php"
2017/02/21 13:14:20 [debug] 28981#0: *5 http header: "Accept-Encoding: gzip, deflate, sdch"
2017/02/21 13:14:20 [debug] 28981#0: *5 http header: "Accept-Language: en-GB,en-US;q=0.8,en;q=0.6"
2017/02/21 13:14:20 [debug] 28981#0: *5 http header: "Cookie: mythweb_id=h4m1rq9ft9te40sdvve5mtmkt1"
2017/02/21 13:14:20 [debug] 28981#0: *5 http header done
2017/02/21 13:14:20 [debug] 28981#0: *5 generic phase: 0
2017/02/21 13:14:20 [debug] 28981#0: *5 rewrite phase: 1
2017/02/21 13:14:20 [debug] 28981#0: *5 test location: "/"
2017/02/21 13:14:20 [debug] 28981#0: *5 test location: "50x.html"
2017/02/21 13:14:20 [debug] 28981#0: *5 test location: ~ "/\.ht"
2017/02/21 13:14:20 [debug] 28981#0: *5 test location: ~ "\.php$"
2017/02/21 13:14:20 [debug] 28981#0: *5 using configuration "/"
2017/02/21 13:14:20 [debug] 28981#0: *5 http cl:-1 max:1048576
2017/02/21 13:14:20 [debug] 28981#0: *5 rewrite phase: 3
2017/02/21 13:14:20 [debug] 28981#0: *5 post rewrite phase: 4
2017/02/21 13:14:20 [debug] 28981#0: *5 generic phase: 5
2017/02/21 13:14:20 [debug] 28981#0: *5 generic phase: 6
2017/02/21 13:14:20 [debug] 28981#0: *5 generic phase: 7
2017/02/21 13:14:20 [debug] 28981#0: *5 generic phase: 8
2017/02/21 13:14:20 [debug] 28981#0: *5 access phase: 9
2017/02/21 13:14:20 [debug] 28981#0: *5 access phase: 10
2017/02/21 13:14:20 [debug] 28981#0: *5 post access phase: 11
2017/02/21 13:14:20 [debug] 28981#0: *5 try files phase: 12
2017/02/21 13:14:20 [debug] 28981#0: *5 content phase: 13
2017/02/21 13:14:20 [debug] 28981#0: *5 content phase: 14
2017/02/21 13:14:20 [debug] 28981#0: *5 content phase: 15
2017/02/21 13:14:20 [debug] 28981#0: *5 content phase: 16
2017/02/21 13:14:20 [debug] 28981#0: *5 content phase: 17
2017/02/21 13:14:20 [debug] 28981#0: *5 content phase: 18
2017/02/21 13:14:20 [debug] 28981#0: *5 http filename: "/usr/share/nginx/html/mythweb/js/recommend.js"
2017/02/21 13:14:20 [debug] 28981#0: *5 add cleanup: 00007FED98FE6720
2017/02/21 13:14:20 [debug] 28981#0: *5 http static fd: 16
2017/02/21 13:14:20 [debug] 28981#0: *5 http set discard body
2017/02/21 13:14:20 [debug] 28981#0: *5 HTTP/1.1 200 OK
Server: nginx/1.10.2
Date: Tue, 21 Feb 2017 02:44:20 GMT
Content-Type: application/javascript
Content-Length: 2550
Last-Modified: Tue, 29 Nov 2016 07:18:40 GMT
Connection: keep-alive
ETag: "583d2bd0-9f6"
Accept-Ranges: bytes

2017/02/21 13:14:20 [debug] 28981#0: *5 write new buf t:1 f:0 00007FED98FE6D90, pos 00007FED98FE6D90, size: 252 file: 0, size: 0
2017/02/21 13:14:20 [debug] 28981#0: *5 http write filter: l:0 f:0 s:252
2017/02/21 13:14:20 [debug] 28981#0: *5 http output filter "/js/recommend.js?"
2017/02/21 13:14:20 [debug] 28981#0: *5 http copy filter: "/js/recommend.js?"
2017/02/21 13:14:20 [debug] 28981#0: *5 http postpone filter "/js/recommend.js?" 00007FFC287A67B0
2017/02/21 13:14:20 [debug] 28981#0: *5 write old buf t:1 f:0 00007FED98FE6D90, pos 00007FED98FE6D90, size: 252 file: 0, size: 0
2017/02/21 13:14:20 [debug] 28981#0: *5 write new buf t:0 f:1 0000000000000000, pos 0000000000000000, size: 0 file: 0, size: 2550
2017/02/21 13:14:20 [debug] 28981#0: *5 http write filter: l:1 f:0 s:2802
2017/02/21 13:14:20 [debug] 28981#0: *5 http write filter limit 0
2017/02/21 13:14:20 [debug] 28981#0: *5 writev: 252 of 252
2017/02/21 13:14:20 [debug] 28981#0: *5 sendfile: @0 2550
2017/02/21 13:14:20 [debug] 28981#0: *5 sendfile: 2550 of 2550 @0
2017/02/21 13:14:20 [debug] 28981#0: *5 http write filter 0000000000000000
2017/02/21 13:14:20 [debug] 28981#0: *5 http copy filter: 0 "/js/recommend.js?"
2017/02/21 13:14:20 [debug] 28981#0: *5 http finalize request: 0, "/js/recommend.js?" a:1, c:1
2017/02/21 13:14:20 [debug] 28981#0: *5 set http keepalive handler
2017/02/21 13:14:20 [debug] 28981#0: *5 http close request
2017/02/21 13:14:20 [debug] 28981#0: *5 http log handler
2017/02/21 13:14:20 [debug] 28981#0: *5 run cleanup: 00007FED98FE6720
2017/02/21 13:14:20 [debug] 28981#0: *5 file cleanup: fd:16
2017/02/21 13:14:20 [debug] 28981#0: *5 free: 00007FED98FE59A0, unused: 32
2017/02/21 13:14:20 [debug] 28981#0: *5 free: 00007FED98FE69B0, unused: 2564
2017/02/21 13:14:20 [debug] 28981#0: *5 free: 00007FED98FF0E40
2017/02/21 13:14:20 [debug] 28981#0: *5 hc free: 0000000000000000 0
2017/02/21 13:14:20 [debug] 28981#0: *5 hc busy: 0000000000000000 0
2017/02/21 13:14:20 [debug] 28981#0: *5 reusable connection: 1
2017/02/21 13:14:20 [debug] 28981#0: *5 event timer add: 13: 65000:1487645125682
2017/02/21 13:14:20 [debug] 28981#0: *5 post event 00007FED99012720
2017/02/21 13:14:20 [debug] 28981#0: *5 delete posted event 00007FED99012720
2017/02/21 13:14:20 [debug] 28981#0: *5 http keepalive handler
2017/02/21 13:14:20 [debug] 28981#0: *5 malloc: 00007FED98FF0E40:1024
2017/02/21 13:14:20 [debug] 28981#0: *5 recv: fd:13 -1 of 1024
2017/02/21 13:14:20 [debug] 28981#0: *5 recv() not ready (11: Resource temporarily unavailable)
2017/02/21 13:14:20 [debug] 28981#0: *5 free: 00007FED98FF0E40
2017/02/21 13:14:20 [debug] 28981#0: *6 http keepalive handler
2017/02/21 13:14:20 [debug] 28981#0: *6 malloc: 00007FED98FF0E40:1024
2017/02/21 13:14:20 [debug] 28981#0: *6 recv: fd:14 473 of 1024
2017/02/21 13:14:20 [debug] 28981#0: *6 reusable connection: 0
2017/02/21 13:14:20 [debug] 28981#0: *6 posix_memalign: 00007FED98FE59A0:4096 @16
2017/02/21 13:14:20 [debug] 28981#0: *6 event timer del: 14: 1487645125676
2017/02/21 13:14:20 [debug] 28981#0: *6 http process request line
2017/02/21 13:14:20 [debug] 28981#0: *6 http request line: "GET /skins/default/img/mythtv-logo.png HTTP/1.1"
2017/02/21 13:14:20 [debug] 28981#0: *6 http uri: "/skins/default/img/mythtv-logo.png"
2017/02/21 13:14:20 [debug] 28981#0: *6 http args: ""
2017/02/21 13:14:20 [debug] 28981#0: *6 http exten: "png"
2017/02/21 13:14:20 [debug] 28981#0: *6 posix_memalign: 00007FED98FE69B0:4096 @16
2017/02/21 13:14:20 [debug] 28981#0: *6 http process request header line
2017/02/21 13:14:20 [debug] 28981#0: *6 http header: "Host: 192.168.1.101"
2017/02/21 13:14:20 [debug] 28981#0: *6 http header: "Connection: keep-alive"
2017/02/21 13:14:20 [debug] 28981#0: *6 http header: "Pragma: no-cache"
2017/02/21 13:14:20 [debug] 28981#0: *6 http header: "Cache-Control: no-cache"
2017/02/21 13:14:20 [debug] 28981#0: *6 http header: "User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"
2017/02/21 13:14:20 [debug] 28981#0: *6 http header: "Accept: image/webp,image/*,*/*;q=0.8"
2017/02/21 13:14:20 [debug] 28981#0: *6 http header: "Referer: http://192.168.1.101/mythweb.php"
2017/02/21 13:14:20 [debug] 28981#0: *6 http header: "Accept-Encoding: gzip, deflate, sdch"
2017/02/21 13:14:20 [debug] 28981#0: *6 http header: "Accept-Language: en-GB,en-US;q=0.8,en;q=0.6"
2017/02/21 13:14:20 [debug] 28981#0: *6 http header: "Cookie: mythweb_id=h4m1rq9ft9te40sdvve5mtmkt1"
2017/02/21 13:14:20 [debug] 28981#0: *6 http header done
2017/02/21 13:14:20 [debug] 28981#0: *6 generic phase: 0
2017/02/21 13:14:20 [debug] 28981#0: *6 rewrite phase: 1
2017/02/21 13:14:20 [debug] 28981#0: *6 test location: "/"
2017/02/21 13:14:20 [debug] 28981#0: *6 test location: "50x.html"
2017/02/21 13:14:20 [debug] 28981#0: *6 test location: ~ "/\.ht"
2017/02/21 13:14:20 [debug] 28981#0: *6 test location: ~ "\.php$"
2017/02/21 13:14:20 [debug] 28981#0: *6 using configuration "/"
2017/02/21 13:14:20 [debug] 28981#0: *6 http cl:-1 max:1048576
2017/02/21 13:14:20 [debug] 28981#0: *6 rewrite phase: 3
2017/02/21 13:14:20 [debug] 28981#0: *6 post rewrite phase: 4
2017/02/21 13:14:20 [debug] 28981#0: *6 generic phase: 5
2017/02/21 13:14:20 [debug] 28981#0: *6 generic phase: 6
2017/02/21 13:14:20 [debug] 28981#0: *6 generic phase: 7
2017/02/21 13:14:20 [debug] 28981#0: *6 generic phase: 8
2017/02/21 13:14:20 [debug] 28981#0: *6 access phase: 9
2017/02/21 13:14:20 [debug] 28981#0: *6 access phase: 10
2017/02/21 13:14:20 [debug] 28981#0: *6 post access phase: 11
2017/02/21 13:14:20 [debug] 28981#0: *6 try files phase: 12
2017/02/21 13:14:20 [debug] 28981#0: *6 content phase: 13
2017/02/21 13:14:20 [debug] 28981#0: *6 content phase: 14
2017/02/21 13:14:20 [debug] 28981#0: *6 content phase: 15
2017/02/21 13:14:20 [debug] 28981#0: *6 content phase: 16
2017/02/21 13:14:20 [debug] 28981#0: *6 content phase: 17
2017/02/21 13:14:20 [debug] 28981#0: *6 content phase: 18
2017/02/21 13:14:20 [debug] 28981#0: *6 http filename: "/usr/share/nginx/html/mythweb/skins/default/img/mythtv-logo.png"
2017/02/21 13:14:20 [debug] 28981#0: *6 add cleanup: 00007FED98FE6730
2017/02/21 13:14:20 [debug] 28981#0: *6 http static fd: 16
2017/02/21 13:14:20 [debug] 28981#0: *6 http set discard body
2017/02/21 13:14:20 [debug] 28981#0: *6 HTTP/1.1 200 OK
Server: nginx/1.10.2
Date: Tue, 21 Feb 2017 02:44:20 GMT
Content-Type: image/png
Content-Length: 12004
Last-Modified: Tue, 29 Nov 2016 07:18:40 GMT
Connection: keep-alive
ETag: "583d2bd0-2ee4"
Accept-Ranges: bytes

2017/02/21 13:14:20 [debug] 28981#0: *6 write new buf t:1 f:0 00007FED98FE6D90, pos 00007FED98FE6D90, size: 241 file: 0, size: 0
2017/02/21 13:14:20 [debug] 28981#0: *6 http write filter: l:0 f:0 s:241
2017/02/21 13:14:20 [debug] 28981#0: *6 http output filter "/skins/default/img/mythtv-logo.png?"
2017/02/21 13:14:20 [debug] 28981#0: *6 http copy filter: "/skins/default/img/mythtv-logo.png?"
2017/02/21 13:14:20 [debug] 28981#0: *6 http postpone filter "/skins/default/img/mythtv-logo.png?" 00007FFC287A67B0
2017/02/21 13:14:20 [debug] 28981#0: *6 write old buf t:1 f:0 00007FED98FE6D90, pos 00007FED98FE6D90, size: 241 file: 0, size: 0
2017/02/21 13:14:20 [debug] 28981#0: *6 write new buf t:0 f:1 0000000000000000, pos 0000000000000000, size: 0 file: 0, size: 12004
2017/02/21 13:14:20 [debug] 28981#0: *6 http write filter: l:1 f:0 s:12245
2017/02/21 13:14:20 [debug] 28981#0: *6 http write filter limit 0
2017/02/21 13:14:20 [debug] 28981#0: *6 writev: 241 of 241
2017/02/21 13:14:20 [debug] 28981#0: *6 sendfile: @0 12004
2017/02/21 13:14:20 [debug] 28981#0: *6 sendfile: 12004 of 12004 @0
2017/02/21 13:14:20 [debug] 28981#0: *6 http write filter 0000000000000000
2017/02/21 13:14:20 [debug] 28981#0: *6 http copy filter: 0 "/skins/default/img/mythtv-logo.png?"
2017/02/21 13:14:20 [debug] 28981#0: *6 http finalize request: 0, "/skins/default/img/mythtv-logo.png?" a:1, c:1
2017/02/21 13:14:20 [debug] 28981#0: *6 set http keepalive handler
2017/02/21 13:14:20 [debug] 28981#0: *6 http close request
2017/02/21 13:14:20 [debug] 28981#0: *6 http log handler
2017/02/21 13:14:20 [debug] 28981#0: *6 run cleanup: 00007FED98FE6730
2017/02/21 13:14:20 [debug] 28981#0: *6 file cleanup: fd:16
2017/02/21 13:14:20 [debug] 28981#0: *6 free: 00007FED98FE59A0, unused: 16
2017/02/21 13:14:20 [debug] 28981#0: *6 free: 00007FED98FE69B0, unused: 2558
2017/02/21 13:14:20 [debug] 28981#0: *6 free: 00007FED98FF0E40
2017/02/21 13:14:20 [debug] 28981#0: *6 hc free: 0000000000000000 0
2017/02/21 13:14:20 [debug] 28981#0: *6 hc busy: 0000000000000000 0
2017/02/21 13:14:20 [debug] 28981#0: *6 reusable connection: 1
2017/02/21 13:14:20 [debug] 28981#0: *6 event timer add: 14: 65000:1487645125695
2017/02/21 13:14:20 [debug] 28981#0: *6 post event 00007FED99012780
2017/02/21 13:14:20 [debug] 28981#0: *6 delete posted event 00007FED99012780
2017/02/21 13:14:20 [debug] 28981#0: *6 http keepalive handler
2017/02/21 13:14:20 [debug] 28981#0: *6 malloc: 00007FED98FF0E40:1024
2017/02/21 13:14:20 [debug] 28981#0: *6 recv: fd:14 -1 of 1024
2017/02/21 13:14:20 [debug] 28981#0: *6 recv() not ready (11: Resource temporarily unavailable)
2017/02/21 13:14:20 [debug] 28981#0: *6 free: 00007FED98FF0E40



More information about the mythtv-users mailing list