logins broken after updating from 4.2.5 to 4.2.6
Added by Number B almost 8 years ago
OS: CentOS 7
Version was:tvheadend-4.2.5-50~g1997b34.el7.centos.x86_64
Version NOW: tvheadend-4.2.6-7~g5613551.el7.centos.x86_64
From repo: bintray-tvheadend-stable
I did a full system update to go from CentOS 7.4 to 7.5, and tvheadend also updated from the bintray stable repo at the same time. After updating and rebooting (for kernel) I immediately noticed Kodi was showing up in the logs as an unauthorized user. I tried to login to the web interface and could not.
I know I can reset the logins with the "-C" option, but is there a way to avoid this? What changed from 4.2.5 to 4.2.6 that would break authentication? Or do you think it's somehow related to the CentOS updates?
Permissions are fine (haven't changed). I have 3 files under the accesscontrol directory for my accounts. I'll look into any suggestions, but if it comes to it I can wipe and re-make users- it just seems sloppy and unnecessary. A minor update shouldn't break authentication.
Replies (1)
RE: logins broken after updating from 4.2.5 to 4.2.6
-
Added by Number B almost 8 years ago
Checking back in because I figured this out. It looks like the update either changed or added the default tvheadend config directory to point to "/var/lib/tvheadend/config" instead of where I had it.
This is set in the OPTIONS variable string in /etc/sysconfig/tvheadend (specifically the "-c" option).
I'm guessing this is a change in the packaging that might have come with what looks like a new setup wizard? If so that's great, but there should be a check for an existing config directory and not change it if it already exists. I like the new default under /var/lib though to be honest.