=== croppa_ is now known as croppa | ||
bdmurray | Hi, I'm having some difficulty with mythweb after upgrading from Trusty to Xenial. Here's a traceback - http://pastebin.ubuntu.com/19187384/ | 16:23 |
---|---|---|
tgm4883 | bdmurray: have you enabled the mythbuntu repos? | 19:21 |
tgm4883 | http://www.mythbuntu.org/repos | 19:22 |
bdmurray | tgm4883: I'm using the 0.28 ppa | 19:42 |
bdmurray | tgm4883: and php7.0 fwiw | 19:45 |
tgm4883 | bdmurray: hmm. Can you check your mythweb.conf file and see if it specifies the db credentials | 19:46 |
tgm4883 | I know they tried to get that to autoconf in 0.28 but I don't think it was working properly | 19:46 |
bdmurray | tgm4883: it does and they are correct | 19:47 |
bdmurray | tgm4883: I tried writing some php to dump the _SERVER array and none of the db_ stuff is in there though | 19:48 |
bdmurray | tgm4883: you meant /etc/apache2/sites-enabled/mythweb.conf right? | 19:48 |
tgm4883 | yea | 19:49 |
tgm4883 | let me ssh to my backend | 19:49 |
tgm4883 | bdmurray: can you pastebin a "dpkg -l | grep -E '(php|myth)'" | 19:52 |
bdmurray | https://paste.ubuntu.com/19206185/ | 19:54 |
tgm4883 | bdmurray: hmm, that all looks good to me | 19:56 |
tgm4883 | bdmurray: I assume you've tried restarted apache already? | 19:56 |
tgm4883 | bdmurray: can you pastebin your mythweb.conf file? | 19:56 |
bdmurray | tgm4883: Restarted lots of times. ;-) https://paste.ubuntu.com/19206532/ | 19:58 |
tgm4883 | hmm | 19:59 |
tgm4883 | lines 29 and 32 are wrong | 20:00 |
tgm4883 | well, probably wrong | 20:00 |
tgm4883 | bdmurray: what's the output of "ls /var/www/" | 20:00 |
bdmurray | bdmurray@flash:~$ ls /var/www/ | 20:00 |
bdmurray | html index.html mythweb | 20:00 |
bdmurray | mythweb is a symlink to /usr/share/mythtv/mythweb/ | 20:01 |
tgm4883 | bdmurray: what's the output of "ls /var/www/html" and "ls /var/www/mythweb" | 20:01 |
tgm4883 | ok | 20:01 |
tgm4883 | what about that html dir | 20:01 |
tgm4883 | /var/www/html | 20:01 |
bdmurray | that contains the same mythweb symlink | 20:02 |
tgm4883 | hmm ok | 20:02 |
tgm4883 | I know apache started using /var/www/html in 2.4, but I don't see why that would be causing issues since you have the symlink in the old location | 20:03 |
tgm4883 | bdmurray: is any part of mythweb working? | 20:04 |
tgm4883 | I'm not a PHP expert, but that error seems to be a connection issue with the DB | 20:05 |
bdmurray | tgm4883: no, I just get a dir listing and the error message I originally paste binned | 20:05 |
tgm4883 | the host was just upgraded? same hostname/IP? | 20:05 |
bdmurray | tgm4883: yes, as a debugging step I modify database.php to print the _SERVER array and get nothing | 20:07 |
bdmurray | http://pastebin.ubuntu.com/19207358/ | 20:07 |
bdmurray | lines 3 and 4 | 20:07 |
bdmurray | but I don't know php at all | 20:09 |
tgm4883 | Yea I don't really know PHP either | 20:09 |
tgm4883 | I suppose it's possible it's broken in your version. I've got the june 9th build. I can upgrade when I get home to test | 20:10 |
tgm4883 | I'd try just flipping the two directories in the mythweb.conf file and see if it gets any better, if not then maybe ask in #mythtv-users | 20:10 |
tgm4883 | I'll be home in about 4 hours | 20:10 |
bdmurray | tgm4883: okay, thanks | 20:11 |
tgm4883 | bdmurray: if it helps, here's my mythweb.conf | 20:12 |
tgm4883 | http://termbin.com/9sa9 | 20:12 |
bdmurray | tgm4883: hmm, its mostly working now. However, there are a couple of errors. | 20:16 |
tgm4883 | what did you change? just the dir? | 20:16 |
bdmurray | tgm4883: yeah, just the two directory entries | 20:17 |
tgm4883 | ok | 20:17 |
tgm4883 | so what's still erroring? | 20:18 |
bdmurray | Warning: Unknown: function '0' not found or invalid function name in Unknown on line 0 | 20:20 |
bdmurray | Warning at /usr/share/mythtv/mythweb/includes/session.php, line 21: | 20:20 |
bdmurray | !!NoTrans: session_start(): Cannot send session cookie - headers already sent!! | 20:20 |
bdmurray | tgm4883: ah, that was likely because of enabling these two lines | 20:25 |
bdmurray | # php_value display_startup_errors On | 20:25 |
bdmurray | # php_value display_errors On | 20:25 |
tgm4883 | hmm ok | 20:25 |
bdmurray | I don't see the warnings after commenting them out. | 20:25 |
tgm4883 | so then is everything working? | 20:25 |
bdmurray | seems like it, beers to you! | 20:25 |
tgm4883 | bdmurray: careful what you say, I think we're relatively not far apart | 20:36 |
bdmurray | But its separate states! | 20:37 |
tgm4883 | bdmurray: are you not in Oregon anymore? | 20:37 |
bdmurray | tgm4883: I'm in Camas, WA. Its still the Portland Metropolitan Statistical Area though. | 20:38 |
tgm4883 | ah | 20:39 |
* mschoolbus is at war with mysql. | 21:14 | |
mschoolbus | i guess updating breaks everything on 16.04? | 21:25 |
mschoolbus | ffs | 22:11 |
mschoolbus | does 16.04 work? | 22:13 |
mschoolbus | found my answer: no | 22:18 |
mschoolbus | seriously what is mysql's problem? now it's failing on 14.04.4?! | 22:59 |
mschoolbus | Errors were encountered while processing: | 23:00 |
mschoolbus | mysql-server-5.7 | 23:00 |
mschoolbus | mysql-server | 23:00 |
mschoolbus | mythtv-backend-master | 23:00 |
mschoolbus | E: Sub-process /usr/bin/dpkg returned an error code (1) | 23:00 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!