mpmc / tvheadend

Tvheadend is a TV streaming server for Linux supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV,SAT>IP and other formats through the unix pipe as input sources.
https://tvheadend.org
Other
0 stars 2 forks source link

Persistance Problem using Raspberry Build 4.2.5-18~g951777a51 #91

Closed Marty56 closed 6 years ago

Marty56 commented 6 years ago

I am using build 4.2.5-18~g951777a51 on Raspberry Stretch. I also have to use IP binding for my tuners. Two persistance bugs

  1. Every time the tvheadend service is stopped the related IPs in the tuner settings are lost.

  2. Also I noted that this build is lossing track of recorded TV shows when the raspi reboots Right now e.g. it shows 0 recorded shows allthough the related folder contains 10 recordings

mpmc commented 6 years ago
  1. 4.2.5.18 is old. 4.2.6.16 is out now.
  2. Do you see any errors when starting tvheadend? Stop the current service & run it from terminal.
sudo service tvheadend stop
sudo -u hts /usr/bin/tvheadend -c /home/hts/.hts/tvheadend
  1. The startup log may show why the recordings are missing. However there was an issue on tvheadend.org mentioning issues with recordings disappearing and the latest Chrome. Try another browser.
Marty56 commented 6 years ago

Thanks for the reply!

Could please do me another favour. Since I am very new to tvheadend could you please provide instructions how to upgrade tvheadend without loosing the configuration,

mpmc commented 6 years ago

If you're on Raspbian Stretch & using my repo, you just need to sudo apt update;sudo apt upgrade :)

Marty56 commented 6 years ago

Thanks. The update ran through but tvheadend was not updated. So probably I am not using your repro. When I installed tvheadend 8 months ago I followed the instruction given under https://tvheadend.org/projects/tvheadend/wiki/AptRepository further down the page.

I seems that you repro was not added. Is is possible to "add" you repro after the fact?

mpmc commented 6 years ago

Yes.

Marty56 commented 6 years ago

Good. I have tried echo "deb https://dl.bintray.com/mpmc/deb raspbianstretch stable-4.2" | sudo tee /etc/apt/sources.list.d/tvheadend.list

and then sudo apt update;sudo apt upgrade but no success. Sorry I am not the Linux expert.

mpmc commented 6 years ago

Go to the about page in the webui and copy/paste the version/or a screenshot :)

Also do apt show tvheadend, see what version it lists. :)

Marty56 commented 6 years ago

the version shown by apt show tvheadend

`Package: tvheadend Version: 4.2.5-18~g951777a51~raspbianstretch Status: install ok installed Priority: extra Section: video

Maintainer: Adam Sutton aps@tvheadend.org Installed-Size: 19.9 MB Depends: libavahi-client3 (>= 0.6.16), libavahi-common3 (>= 0.6.16), libc6 (>= 2.14), libdbus-1-3 (>= 1.9.14), libssl1.1 (>= 1.1.0), liburiparser1 (>= 0.6.0), zlib1g (>= 1:1.1.4), dvb-apps, bzip2 Recommends: xmltv-util Replaces: hts-tvheadend Enhances: showtime Homepage: https://tvheadend.org Download-Size: unknown APT-Manual-Installed: yes APT-Sources: /var/lib/dpkg/status Description: Tvheadend Tvheadend is a TV streaming server and digital video recorder.

and the about screen says

`HTS Tvheadend 4.2.5-18~g951777a51 © 2006 - 2017 Andreas Öman, Jaroslav Kysela, Adam Sutton, et al.

https://tvheadend.org Based on software from ExtJS. Icons from FamFamFam Build: 4.2.5-18~g951777a51 (2018-01-23T02:08:20+0000) Toggle details If you'd like to support the project, please consider a donation. All proceeds are used to support server infrastructure and buy test equipment.`

Marty56 commented 6 years ago

Ok. I think I could solve it by changing the rights of file and folder unter /home/hts to 777. The inability not to update is not so important anymore because stability wise the old version is running perfectly fine.

mpmc commented 6 years ago

Well, from that info, you manually installed it via dpkg (at least someone did). If you wanted to use the latest you could just sudo apt-get remove tvheadend;sudo apt-get autoremove.

Then follow the Apt repo instructions and you should be good to go. Setting 777 on folders is never a good idea.

If you don't mind redoing the config, just purge the package, user and home folder & re-install :)

Marty56 commented 6 years ago

Thanks for the support.

Marty56 commented 6 years ago

Ok. I have changed the owner of /home/hts to hts and then changed permissions to 744. This should be better. I was not sure whether the right "execute" is needed or not.