Opened 7 years ago

Closed 7 years ago

#11471 closed Bug Report - Crash (Invalid)

Web access to recordings crashes

Reported by: mags@… Owned by:
Priority: minor Milestone: unknown
Component: Plugin - MythWeb Version: Unspecified
Severity: medium Keywords:
Cc: Ticket locked: no

Description

I just did an upgrade per the machine's insistence. After completion, I did a mythfilldatabase and then tried to access it from the web interface. I then went to the "recordings" tab and I got the things listed below. I rebooted to see if it would clear up but it did the same thing. "Listings" throws a very similar error.

datetime: 2013-03-29 22:00:01 (MDT)

errornum: 256

error type: User Error

error string: !NoTrans: SQL Error: Table './mythconverg/program' is marked as crashed and last (automatic?) repair failed!!

filename: /usr/share/mythtv/mythweb/modules/tv/classes/Program.php

error line: 311

==========================================================================

Backtrace:

file: /usr/share/mythtv/mythweb/modules/tv/classes/Program.php line: 311

class:

function: trigger_error

type: args: Array

(

[0] => SQL Error: Table './mythconverg/program' is marked as crashed and last (automatic?) repair failed [1] => 256

)

file: /usr/share/mythtv/mythweb/modules/tv/classes/Program.php line: 285

class: Program

function: update_fancy_desc

type: -> args: Array ( ) file: /usr/share/mythtv/mythweb/modules/tv/recorded.php line: 146

class: Program

function: construct

type: -> args: Array

(

[0] => Array

(

[0] => The Twilight Zone [1] => The Odyssey of Flight 33 [2] => On the way from England to America, a jetliner and its crew travel backward in time. [3] => 0 [4] => 0 [5] => Anthology [6] => 1202 [7] => 20_2 [8] => MeTV [9] => MeTV [10] => myth://[::1]:6543/1202_20121223222100.mpg [11] => 272990852 [12] => 1356325200 [13] => 1356327000 [14] => 0 [15] => MythbuntuServer? [16] => 0 [17] => 0 [18] => 0 [19] => 0 [20] => -3 [21] => 6 [22] => 0 [23] => 15 [24] => 6 [25] => 1356326460 [26] => 1356327002 [27] => 4101 [28] => Default [29] => [30] => EP00019110 [31] => EP000191100092 [32] => [33] => 1356327189 [34] => 0 [35] => 1961-02-24 [36] => Default [37] => 0 [38] => 0 [39] => Default [40] => 1 [41] => 32 [42] => 1 [43] => 0

)

)

file: /usr/share/mythtv/mythweb/modules/tv/handler.php line: 82

class:

function: require_once

type: args: Array

(

[0] => /usr/share/mythtv/mythweb/modules/tv/recorded.php

)

file: /usr/share/mythtv/mythweb/mythweb.php line: 35

class:

function: require_once

type: args: Array

(

[0] => /usr/share/mythtv/mythweb/modules/tv/handler.php

)

==========================================================================

$_SESSION: Array (

[language] => English [date_statusbar] => %a %b %e, %Y, %I:%M %p [date_scheduled] => %a %b %e, %Y (%I:%M %p) [date_scheduled_popup] => %a %b %e, %Y [date_recorded] => %a %b %e, %Y (%I:%M %p) [date_search] => %a %b %e, %Y, %I:%M %p [date_listing_key] => %a %b %e, %Y, %I:%M %p [date_listing_jump] => %a %b %e, %Y [date_channel_jump] => %a %b %e, %Y [date_job_status] => %a %b %e, %Y, %I:%M %p [time_format] => %I:%M %p [cache_engine] => Cache_Null [stream] => Array

(

[include_user_and_password] =>

)

[prefer_channum] => 1 [recorded_pixmaps] => 1 [guide_favonly] => [timeslot_size] => 300 [num_time_slots] => 36 [timeslot_blocks] => 3 [timeslotbar_skip] => 20 [max_stars] => 4 [star_character] => ★ [show_popup_info] => 1 [show_channel_icons] => 1 [sortby_channum] => 1 [recorded_paging] => [genre_colors] => 1 [show_video_covers] => 1 [settings] => Array

(

[screens] => Array

(

[tv] => Array

(

[upcoming recordings] => Array

(

[title] => on [channel] => on [record date] => on [length] => on

)

)

)

)

[backend] => Array

(

[127.0.0.1] => Array

(

[proto_version] => Array

(

[last_check_version] => 72 [last_check_time] => 1364615735

)

)

[timezone] => Array

(

[value] => America/Denver? [last_check_time] => 1364615735

)

)

[tv] => Array

(

[last] => Array

(

[0] => recorded

)

)

)

==========================================================================

$_SERVER: Array (

[REDIRECT_STATUS] => 200 [HTTP_HOST] => 192.168.88.250 [HTTP_CONNECTION] => keep-alive [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 [HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit?/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22 [HTTP_REFERER] => http://192.168.88.250/mythweb/ [HTTP_ACCEPT_ENCODING] => gzip,deflate,sdch [HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.8 [HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.3 [HTTP_COOKIE] => mythweb_id=scpc8h6rgbn4kg71g71id988j7 [PATH] => /usr/local/bin:/usr/bin:/bin [SERVER_SIGNATURE] => <address>Apache/2.2.22 (Ubuntu) Server at 192.168.88.250 Port 80</address>

[SERVER_SOFTWARE] => Apache/2.2.22 (Ubuntu) [SERVER_NAME] => 192.168.88.250 [SERVER_ADDR] => 192.168.88.250 [SERVER_PORT] => 80 [REMOTE_ADDR] => 192.168.88.242 [DOCUMENT_ROOT] => /var/www [SERVER_ADMIN] => webmaster@localhost [SCRIPT_FILENAME] => /var/www/mythweb/mythweb.php [REMOTE_PORT] => 50210 [REDIRECT_URL] => /mythweb/tv/recorded [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => GET [QUERY_STRING] => [REQUEST_URI] => /tv/recorded [SCRIPT_NAME] => /mythweb/mythweb.php [PATH_INFO] => /tv/recorded [PATH_TRANSLATED] => /var/www/tv/recorded [PHP_SELF] => /mythweb/mythweb.php/tv/recorded [REQUEST_TIME] => 1364616001 [STATUS] => 200 [URL] => /mythweb/tv/recorded [HTTP_PORT] => 80

)

==========================================================================

$constant_listuser?: Array (

[ERROR] => 512 [E_ASSERT_ERROR] => 4096 [FATAL] => 256 [PHP_MIN_VERSION] => 5.3 [WARNING] => 1024 [WebDBSchemaVer] => 3 [dupsin_all] => 15 [dupsin_newepisodes] => 16 [dupsin_oldrecorded] => 2 [dupsin_recorded] => 1 [error_email] => [gb] => 1073741824 [hostname] => MythbuntuServer? [http_host] => 192.168.88.250 [kb] => 1024 [max_stars] => 4 [mb] => 1048576 [module] => tv [modules_path] => /usr/share/mythtv/mythweb/modules [num_time_slots] => 36 [prefer_channum] => 1 [rectype_always] => 4 [rectype_channel] => 3 [rectype_daily] => 2 [rectype_dontrec] => 8 [rectype_finddaily] => 9 [rectype_findone] => 6 [rectype_findweekly] => 10 [rectype_once] => 1 [rectype_override] => 7 [rectype_weekly] => 5 [root] => /mythweb/ [root_auth_url] => http://192.168.88.250/mythweb/ [root_url] => http://192.168.88.250/mythweb/ [searchtype_keyword] => 3 [searchtype_manual] => 5 [searchtype_people] => 4 [searchtype_power] => 1 [searchtype_title] => 2 [skin] => default [skin_img_url] => http://192.168.88.250/mythweb/skins/default/img/ [skin_url] => http://192.168.88.250/mythweb/skins/default/ [star_character] => &#9733; [stream_url] => http://192.168.88.250:80//mythweb/ [tb] => 1099511627776 [timeslot_blocks] => 3 [timeslot_size] => 300 [timeslotbar_skip] => 20 [tmpl] => default [tmpl_dir] => modules/tv/tmpl/default/

)

Change History (1)

comment:1 Changed 7 years ago by Kenni Lund [kenni a kelu dot dk]

Component: MythTV - GeneralPlugin - MythWeb
Priority: majorminor
Resolution: Invalid
Status: newclosed

Your database is damaged, you need to repair it. If you need help with it, please ask on the mythtv-users mailing list.

Note: See TracTickets for help on using tickets.