it should be noted that Tvheadend runs with the "hts" user using this package. That means if you try to run it with the -C flag you need to make sure its running with the same user. TBH i think this should be the default.
"If no user account exists then create one with no username and no password. Use with care as it will allow world-wide administrative access to your Tvheadend installation until you create or edit the access control from within the Tvheadend web interface."
Arch packages never activate themselves on installation automatically like they do on Debian for example. So explicit action is required to have it exposed like described. The alternative is to create a superuser file in the configuration directory that looks like this:
{ "username": "supersuser", "password": "verysecurepassword" }
So you either do that prior to starting it or start with the first-run flag anyhow. I am not sure if the superuser config file still works when using this flag though, so that might need to be checked first to make the more paranoid people among us happy.
Pinned Comments
francoism90 commented on 2021-03-21 14:16 (UTC) (edited on 2021-03-21 14:16 (UTC) by francoism90)
Warning: if you have previously used this package, you need to reinstall! Sorry for introducing breaking changes, but hopefully the introduced changes will provide a better experience for most users. :)
Backup your configs (if needed) before performing the upgrade!
Changes:
/var/lib/tvheadend
instead of/usr/share/tvheadend
tvheadend
(member of groupvideo
) with config files stored in/etc/tvheadend
, it will not use a home directory anymore.sysusers.d
andtmpfiles.d
permissions should be easier to manage.tvheadend.service
now includes-C
by default.If you have any questions or suggestions, please let me know. :)
luciferin commented on 2017-04-06 14:01 (UTC) (edited on 2019-08-14 12:21 (UTC) by luciferin)
I started up a wiki page for Tvheadend. Input and help is welcome.
https://wiki.archlinux.org/index.php/Tvheadend