MikeB2013 wrote: ↑Tue Aug 13, 2019 8:56 am
As a guess, you might have hit the problem discussed in mythtv trac ticket
https://code.mythtv.org/trac/ticket/13256
I provided a patch to fix the issue a little while ago, I presume it is waiting for review by mythtv developers, it not strictly a mythtv issue, as it relates to packaging, so it could well be a lower priority.
In the meantime, there is a fix using a terminal session (don't use the menu option to run mythtv-setup app)
1. Add current user to mythtv group (this should fix the loop issue you are seeing) and then reboot for it to take effect, this only needs to be done once.
Code: Select all
sudo adduser $USER mythtv
sudo reboot
Thanks, I saw this in one of your earlier posts, so I manually added my user to the mythtv group (using a sligfhtly different syntax, "usermog -aG <usermname>" but that shouldn't make a difference.
Now granted, I did this AFTER importing the database, so maybe that messed something up? I recall the database wouldn't impoirt from my main user account, so I had to su into the mythtv account in order to import it.
Maybe I'll try to go back and reimport the database. The lovely part about running this ontop of ZFS is that I snapshotted every step along the way, so I can easily revert to the pre-database import state and try again.
MikeB2013 wrote: ↑Tue Aug 13, 2019 8:56 am
For later versions of *ubuntu e.g. 16.04, 18.04 which use systemd, your previous 14.04 used upstart, you need to control mythtv-setup and mythbackend using terminal commands:
To stop mythbackend
Code: Select all
sudo systemctl stop mythtv-backend
To start mythbackend
Code: Select all
sudo systemctl start mythtv-backend
To check mythbackend status (running, failed etc)
So to use mythtv-setup you need to :
Code: Select all
sudo systemctl stop mythtv-backend
mythtv-setup
when finished in mythtv-setup, say no to the prompts (start mythbackend, run mythfilldatabase) when exiting mythtv-setup
Code: Select all
sudo systemctl daemon-reload
sudo systemctl start mythtv-backend
Note the "sudo systemctl daemon-reload" is not normally necessary but will be the first time on a new installation as systemd will have "failed" mythbackend as it will not have been configured (it will try and start too many times). The command does no harm if run when not needed.
These should be very useful in the future, but I don't think they are the source of my problems right now. "ps -A" does not show mythbackend running, so there is nothing to kill.
The odd part to me is myth-setup does not launch. It errors out at some point, but it fails silently without an apparent error message, and thus goes directly to the "do you want to launch the backend" which also fails, and "do you want to run mythfilldatabase" which fails because the schema has not been updated, because mythtv-setup never runs, so the conversion process never happens.
I wish I could figure out why myth-setup never launches when called from either the command line or from the gui menu. The console window gives no indication of why other than this:
Code: Select all
Gtk-Message: 06:19:22.068: GtkDialog mapped without a transient parent. This is discouraged.
/usr/bin/mythtv-setup: 68: /usr/bin/mythtv-setup: gksu: not found
Gtk-Message: 06:19:38.300: GtkDialog mapped without a transient parent. This is discouraged.
I also recall seeing it complain about a UTF8 warning at some point, but I am not sure what the problem there may be.
The error about gksu is odd, considering gksu has been deprecated and removed for some time now...
I wonder if it is bevcause myth-setup cannot connect to mysql?
The first time I tried to run mythsetup and it prompted me for the connection information I entered "localhost" as the host. I have read that doing this causes connection problems, so I switched it to my IP (by editing
/etc/mythtv/config.xml) and this made things worse. Not only does myth-setup not launch, but now mythfilldatabase complains of not being able to connect to host, which it didn't before.
Side note, is editing
/etc/mythtv/config.xml the right place to make these changes? There also appears to be an identical configuration file in
/home/mythtv/.mythtv/config.xml. Or is there a different way all together to tell mythtv-setup and the backend how to connect to the database?
MikeB2013 wrote: ↑Tue Aug 13, 2019 8:56 am
Finally mythtv 30 has a new user interface for setup options in both mythfrontend and mythtv-setup, which is different from what you are used to in mythtv 0.27.
EDIT
see Host Address Backend Setup (v29), it applies to 30 as well,
https://www.mythtv.org/wiki/Setup_General
Mike
Thanks, I'll keep this in mind when I get there. I did read a little bit about it in the release notes before starting.
At this point I'll cross this bridge when I get there. For now I can't even get into mythtv-setup and my database to convert to the current schema.
Any ideas, thoughts, prayers ( :p ) appreciated.
I'm pretty close to another in the long line of "why can't we have a normal TV like everyone else" conversation with the significant other, if this doesn't go up ASAP :p
v33 backend in 22.04 LTS w. LXDE, in LXC on server w. 16C/32T Xeon E5-2650v2, 256GB RAM. 6C & 8GB assigned to container.