著者: James Abernathy 日付: To: dmo-discussion 題目: Re: mythtv v34 installation if user 'mythtv' is already created?
On Fri, Mar 1, 2024 at 3:15 PM James Abernathy <jfabernathy@???> wrote: >
> To clear up some things I decided to create a few different test
> cases. My previous test had a restore database involved that could
> have confused the results.
>
> On a clean system (restored Timeshift snapshot after system setup but
> prior to DMO repo added and mythtv installed) I started from scratch.
>
> After the stable-backports repo was added I installed mythtv from the backport.
> Next I changed the mythtv-backend.service to have
> Environment=Home=/home/mythtv and rebooted.
> I used the Web App setup and no issue with the database or anything else.
> After testing the frontend with LiveTV, I shut it down and ran
> /usr/share/doc/mythtv/examples/maintenance/optimize_mythdb.pl and it
> worked without any issues. I didn't have to copy the config.xml
>
> So I'm going to do the exact same install but with the Environment=
> statement completely removed.
>
> More later
>
> JIm A
In the second test case, I commented out the Environment=HOME
statement in mythrv-backend.service.
Same results; everything worked including optimize_mythdb.pl and find_orphans.py
So unless something pops up, I'd say the correct solution is to just
remove the Environment=HOME=/var/lib/mythtv statement.