Tuesday, June 12th, 2018, 00:07 UTC | ||
[00:07:19] | mengoshmink (mengoshmink!~mengoshmi@marks3plus.plus.com) has quit (Remote host closed the connection) | |
[00:11:17] | nephyrin` (nephyrin`!~neph@67.183.153.159) has joined #mythtv-users | |
[00:11:20] | nephyrin (nephyrin!~neph@67.183.153.159) has quit (Ping timeout: 260 seconds) | |
[01:01:58] | oozer (oozer!~oozer@user-10mt7in.cable.mindspring.com) has joined #mythtv-users | |
[01:39:33] | oozer (oozer!~oozer@user-10mt7in.cable.mindspring.com) has quit (Remote host closed the connection) | |
[02:33:33] | Roklobster (Roklobster!~Dirkka@119-18-8-177.cust.aussiebb.net) has joined #mythtv-users | |
[02:39:25] | amessina (amessina!~amessina@unaffiliated/amessina) has quit (Quit: Konversation terminated!) | |
[03:25:27] | Esteban (Esteban!~Esteban@203-59-75-31.perm.iinet.net.au) has quit (Ping timeout: 240 seconds) | |
[03:27:13] | Esteban (Esteban!~Esteban@203-59-75-31.perm.iinet.net.au) has joined #mythtv-users | |
[04:26:30] | tonsofpcs (tonsofpcs!~mythbuntu@2001:470:e0b2:1:ed28:1053:11f8:e106) has quit (Ping timeout: 245 seconds) | |
[04:27:22] | tonsofpcs (tonsofpcs!~mythbuntu@2001:470:e0b2:1:85ab:b7b3:dcec:ea39) has joined #mythtv-users | |
[04:44:41] | [R] ([R]!~rbox@unaffiliated/rbox) has joined #mythtv-users | |
[06:22:11] | [R] ([R]!~rbox@unaffiliated/rbox) has quit (Quit: Leaving) | |
[07:54:58] | willcooke (willcooke!~willcooke@host86-163-238-227.range86-163.btcentralplus.com) has joined #mythtv-users | |
[07:54:58] | willcooke (willcooke!~willcooke@ubuntu/member/willcooke) has joined #mythtv-users | |
[07:54:59] | willcooke (willcooke!~willcooke@host86-163-238-227.range86-163.btcentralplus.com) has quit (Changing host) | |
[07:58:10] | PetrN (PetrN!~Petr_Nyc@141.143.213.52) has quit (Remote host closed the connection) | |
[07:58:26] | PetrN (PetrN!~Petr_Nyc@141.143.213.52) has joined #mythtv-users | |
[08:04:45] | Steve-Goodey (Steve-Goodey!~steve@host86-177-42-99.range86-177.btcentralplus.com) has joined #mythtv-users | |
[08:09:58] | _McGuyver (_McGuyver!mcguyver@unaffiliated/mcguyver) has quit (Ping timeout: 264 seconds) | |
[08:23:07] | _McGuyver (_McGuyver!mcguyver@unaffiliated/mcguyver) has joined #mythtv-users | |
[08:25:48] | PetrN (PetrN!~Petr_Nyc@141.143.213.52) has quit (Remote host closed the connection) | |
[08:36:05] | Moscherkobold (Moscherkobold!moscherkob@2a01:4f8:173:1ed5::3) has quit (Write error: Connection reset by peer) | |
[08:38:22] | Moscherkobold (Moscherkobold!quassel@2a01:4f8:173:1ed5::3) has joined #mythtv-users | |
[09:05:35] | Merlin83b (Merlin83b!~Daniel@office.34sp.com) has joined #mythtv-users | |
[09:13:10] | sutula (sutula!~sutula@207-118-150-188.dyn.centurytel.net) has quit (Ping timeout: 245 seconds) | |
[09:13:26] | sutula (sutula!~sutula@207-118-150-188.dyn.centurytel.net) has joined #mythtv-users | |
[09:27:25] | Steve-Goodey (Steve-Goodey!~steve@host86-177-42-99.range86-177.btcentralplus.com) has quit (Ping timeout: 265 seconds) | |
[09:33:49] | Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7da3:4501:9200:4eff:feb3:e38b) has joined #mythtv-users | |
[09:47:49] | SteveGoodey (SteveGoodey!~steve@host86-149-199-158.range86-149.btcentralplus.com) has joined #mythtv-users | |
[09:58:35] | Roklobster (Roklobster!~Dirkka@119-18-8-177.cust.aussiebb.net) has quit (Ping timeout: 240 seconds) | |
[10:16:59] | Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7da3:4501:9200:4eff:feb3:e38b) has quit (Quit: Konversation terminated!) | |
[10:20:14] | SteveGoodey (SteveGoodey!~steve@host86-149-199-158.range86-149.btcentralplus.com) has quit (Quit: Konversation terminated!) | |
[10:27:01] | mad_enz (mad_enz!~mad_enz@2607:fea8:bdf:e784:d4b7:7540:d3e5:9305) has quit (Ping timeout: 260 seconds) | |
[10:27:28] | mad_enz (mad_enz!~mad_enz@2607:fea8:bdf:e784:5c95:97c:994f:3e8e) has joined #mythtv-users | |
[11:03:34] | oozer (oozer!~oozer@user-10mt7in.cable.mindspring.com) has joined #mythtv-users | |
[11:05:11] | Toast (Toast!~quassel@w-247.cust-16293.ip.static.uno.uk.net) has joined #mythtv-users | |
[12:18:46] | Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7da3:4501:9200:4eff:feb3:e38b) has joined #mythtv-users | |
[12:28:28] | willcooke (willcooke!~willcooke@ubuntu/member/willcooke) has quit (Quit: Do your hobbies) | |
[12:31:14] | oozer (oozer!~oozer@user-10mt7in.cable.mindspring.com) has quit (Remote host closed the connection) | |
[12:55:25] | Roklobster (Roklobster!~Dirkka@119-18-8-177.cust.aussiebb.net) has joined #mythtv-users | |
[13:29:31] | Roklobster (Roklobster!~Dirkka@119-18-8-177.cust.aussiebb.net) has quit (Remote host closed the connection) | |
[15:34:56] | SteveGoodey (SteveGoodey!~steve@2a00:23c5:7da3:4501:7a24:afff:fe9d:c233) has joined #mythtv-users | |
[15:36:36] | marlo_ (marlo_!~mark@static-71-170-246-90.dlls.tx.frontiernet.net) has quit (Remote host closed the connection) | |
[15:41:53] | marlo_ (marlo_!~mark@static-71-170-246-90.dlls.tx.frontiernet.net) has joined #mythtv-users | |
[16:52:05] | Merlin83b (Merlin83b!~Daniel@office.34sp.com) has quit (Quit: Leaving) | |
[17:09:36] | louisdk (louisdk!~louisdk@static-5-103-138-205.ip.fibianet.dk) has joined #mythtv-users | |
[17:49:47] | gregbert (gregbert!~gregbert@unaffiliated/gregbert) has joined #mythtv-users | |
[18:36:12] | gregbert (gregbert!~gregbert@unaffiliated/gregbert) has quit (Remote host closed the connection) | |
[19:29:07] | tonsofpcs (tonsofpcs!~mythbuntu@2001:470:e0b2:1:85ab:b7b3:dcec:ea39) has quit (Changing host) | |
[19:29:07] | tonsofpcs (tonsofpcs!~mythbuntu@rivendell/member/tonsofpcs) has joined #mythtv-users | |
[19:41:51] | louisdk: | I have this strange issue. I'm unable to start mythbackend as the mythtv user but using my regular user and root is no problem. |
[19:45:55] | mack-: | louisdk: any clues in the syslog? Have you ever been able to do this on this machine? |
[19:46:43] | mack-: | and what does the CLI say when you try to start it? |
[19:49:26] | mack-: | mythtv user a member of the audio and video groups? have a .mythtv/ directory in your mythtv user $HOME? with proper config.xml ? |
[19:50:48] | Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7da3:4501:9200:4eff:feb3:e38b) has quit (Quit: Konversation terminated!) | |
[19:56:49] | louisdk: | mack-: yes. Some output: https://pastebin.com/qQcjW7ic |
[19:59:37] | louisdk: | mack-: Trying starting it w/ debug option: https://pastebin.com/CF7FRENG – refilling db options in the end doesn't help. |
[20:01:18] | louisdk: | mack-: My install was working prior to 2 months ago. Running mythtv from deb multimedia and currently on Debian testing. I tried updating from Debian stable didn't help. |
[20:16:41] | louisdk: | It's pretty strange that I can start mythbackend as my regular user or user but it fails with the mythtv user. Tried changing the shell to /bin/bash and ensuring all files under /var/lib/mythtv are owned by mythtv:mythtv |
[20:21:53] | cspack: | one thing that looks odd to me is your database port is set to 0 |
[20:32:45] | mack-: | louisdk: if the port 0 isn't the problem, can mythtv-backend run successfully as mythtv user without systemd config? sudo -u mythtv mythtv-backend |
[20:33:06] | mack-: | oops, no hyphen in mythtv-backend I don't think |
[20:36:52] | louisdk: | Should I remove /usr/lib/mythtv/.mythtv/config.xml before trying that command? |
[20:39:00] | louisdk: | I've changed the port to 3306. Same error as before. |
[20:41:32] | louisdk: | mack-: I've tried making some adjustments, but the systemd service fails as shown: https://pastebin.com/eb8gj1FM |
[20:44:57] | mack-: | your log will have a line saying which config.xml it's trying to use |
[20:45:22] | Roklobster (Roklobster!~Dirkka@119-18-8-177.cust.aussiebb.net) has joined #mythtv-users | |
[20:46:05] | mack-: | yep, there it is.. you have /etc/mythtv in your systemd service file, so that's where it's looking for config.xml |
[20:46:42] | mack-: | (line 115 of your second pastebin) |
[20:50:32] | louisdk: | Strange. I changed <Host> in ~mythtv/.mythtv/config.xml from localhost to 192.168.1.103 (lan IP of PC) and now it works. |
[20:51:12] | SteveGoodey (SteveGoodey!~steve@2a00:23c5:7da3:4501:7a24:afff:fe9d:c233) has quit (Quit: Konversation terminated!) | |
[20:51:19] | louisdk: | It's pretty stange I can't use localhost. Connecting to mythtv database on command line using -hlocalhost works fine. |
[20:54:41] | louisdk: | Changed host in /etc/mythtv/config.xml to 192.168.1.103 and it works with systemd now but still strange I can't use localhost. |
[21:00:38] | mack-: | louisdk: any reason you have <LocalHostName> set to my-unique-identifier, etc ? |
[21:01:17] | mack-: | that line isn't needed if your database has been using the hostname of your server already |
[21:01:34] | mack-: | I'm guessing that was copy-paste from a wiki entry or something |
[21:10:38] | mkbloke: | mack-: that seems to be how the set-up comes in the deb-multimedia 0.28 version. I have the same thing under <LocalHostName> in my config.xml too. It doesn't seem to be causing any issues here that I'm aware of. I'm not quite sure what the significance of the field is, i.e. where it's actually used within mythtv? |
[21:11:57] | louisdk: | mkbloke: it is yes. |
[21:14:01] | louisdk: | Now my only reaming issue is that I set host to either localhost or 127.0.0.1. It has to be server-ip or server-hostname. Using "mysql -umythtv -pPASS -hlocalhost mythconverg" works fine. |
[21:14:20] | louisdk: | *remaining |
[21:16:27] | Roklobster (Roklobster!~Dirkka@119-18-8-177.cust.aussiebb.net) has quit (Ping timeout: 245 seconds) | |
[21:22:53] | mkbloke: | The *as it came configured* setting in mine is localhost with the port defined as the usual 3306 – not 0 as I read above that yours was set to... |
[21:26:56] | louisdk: | mkbloke: it is now set to 3306 and works fine with localhost as host. Just have to edit mythweb to use localhost instead if 192.168.1.103. Will look at that. Thanks mkbloke and mack- very much for your help :) |
[21:29:46] | louisdk: | louisdk: thinks it's a backend setting instead. Maybe I shouldn't change it to localhost as I'd like to be able to connect my frontend. |
[21:29:58] | louisdk (louisdk!~louisdk@static-5-103-138-205.ip.fibianet.dk) has quit (Quit: Ex-Chat) | |
[21:34:33] | Roklobster (Roklobster!~Dirkka@119-18-8-177.cust.aussiebb.net) has joined #mythtv-users | |
[21:37:40] | ** mkbloke thinks I'd like to look into that <LocalHostName> field at some point in th future... ** | |
[21:40:12] | mkbloke: | It's not clear that it has to be a DNS hostname, the 'unique identifer' suggests possibly not, but who know... I have other things I want to sort out before I worry about that though, as mythtv seems to be working with the placeholder text for me, although I'm not using a frontend. |
[21:57:01] | Roklobster (Roklobster!~Dirkka@119-18-8-177.cust.aussiebb.net) has quit (Ping timeout: 256 seconds) | |
[22:13:48] | Roklobster (Roklobster!~Dirkka@119-18-8-177.cust.aussiebb.net) has joined #mythtv-users | |
[22:25:04] | bill6502 (bill6502!~bill@205.178.24.168) has joined #mythtv-users | |
[22:26:22] | bill6502: | mkbloke: It's rare that LocalHostName needs to be changed. It's really a profile name. For example used in settings and other tables. |
[22:27:05] | bill6502: | whenever something myth starts from one user and not from another, finding out which config.xml file is being used is important... |
[22:27:46] | bill6502: | your .service uses: Environment=MYTHCONFDIR=/etc/mythtv, which overrides HOME, so that's where config.xml lives when started by systemd |
[22:29:00] | bill6502: | Never a need to guess though, look in mythAnyProgramName log and there will be a line containing: ... Using configuration directory = ... |
[22:29:16] | bill6502: | That's he config.xml in play at the time. |
[22:43:43] | mkbloke: | bill6502: Thanks for the info. I might update mine to something better than the current "my-unique-identifier-goes-here" eventually, but it can stay as it is right now! |
[22:45:25] | bill6502: | mkbloke: right, if the value is empty or = my-unique..., then the hostname of the box is used. E.g. the same value returned from the command line when you type: hostname |
[22:47:37] | mkbloke: | That makes sense, as I was thinking about it a little bit earlier and noticed that the backend status page lists the encoder(s) as being on the hostname for my eth0 IP address, even though I've configured the mythtv backend to only use the loopback addr. |
[22:55:08] | bill6502: | I suspect you're referring to <Host> being set to localhost, which is good when the backend and mysql server are on the same box. The value in LocalHostName has nothing to do with the connection to the DB. |
[22:56:12] | mkbloke: | I should have been clearer – I was referring to the listening addresses as configured via mythtv-setup. |
[22:57:31] | bill6502: | Ah, understood. |
[22:57:40] | bill6502: | If we could invent a time machine and go back years, LocalHostName would probably be named MythTVProfileNameOverride (or something like that.) |
[23:00:02] | mkbloke: | That would be nice! Still, if it's documented properly somewhere, then it's not too bad I 'spose! I have not as yet looked to see if that's the case, but I would hope so. |
[23:07:38] | bill6502: | mkbloke: https://www.mythtv.org/wiki/Config.xml#Template . |
IRC Logs collected by
BeirdoBot.
Please use the above link to report any bugs.