Project

General

Profile

Bug #3691

Is there any problem with the raspberry pi builds?

Added by Al Bundy over 8 years ago. Updated over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2016-04-04
Due date:
% Done:

0%

Estimated time:
Found in version:
4.1-1429~ge29df17~jessie
Affected Versions:

Description

After your switch to bintray I've added this to my sources.list
deb https://dl.bintray.com/tvheadend/deb/ jessie unstable
on my raspberry pi.
sudo apt-get update shows no errors but
sudo apt-get upgrade does not find any new version.

My current version is 4.1-1429~ge29df17~jessie

Is this a problem of my configuration or is this a problem on your side?


Files

tvh.zip (202 KB) tvh.zip Markus Wölfer, 2016-04-06 07:12

History

#1

Updated by Mark Clarkstone over 8 years ago

Al Bundy wrote:

After your switch to bintray I've added this to my sources.list
deb https://dl.bintray.com/tvheadend/deb/ jessie unstable
on my raspberry pi.
sudo apt-get update shows no errors but
sudo apt-get upgrade does not find any new version.

My current version is 4.1-1429~ge29df17~jessie

Is this a problem of my configuration or is this a problem on your side?

There are currently no unstable builds for armhf only release. if you want unstable you'll have to build it yourself.

Yes there are issues with the build system (again).

#2

Updated by Markus Wölfer over 8 years ago

I tried to build a tvheadend build on my raspberry pi 3 on my own by just executing Autobuild.sh.

After that I upgraded from the previous 4.1-1429 (from official repository) to my self compiled build with:
dpkg -i tvheadend_4.1-1797~g2aa055d_armhf.deb

Everything seemed fine so far.
But I have one huge problem! If I Restart my raspberry or execute '/etc/init.d/tvheadend restart', all configs get reverted back to the point, before I upgraded to my own compiled build.

Is this problem known?

Anything I can do?

#3

Updated by Mark Clarkstone over 8 years ago

Markus Wölfer wrote:

I tried to build a tvheadend build on my raspberry pi 3 on my own by just executing Autobuild.sh.

After that I upgraded from the previous 4.1-1429 (from official repository) to my self compiled build with:
dpkg -i tvheadend_4.1-1797~g2aa055d_armhf.deb

Everything seemed fine so far.
But I have one huge problem! If I Restart my raspberry or execute '/etc/init.d/tvheadend restart', all configs get reverted back to the point, before I upgraded to my own compiled build.

Is this problem known?

Anything I can do?

Check the config folder permissions (/home/hts/.hts), make sure it's owned by hts/user tvheadend runs under..

#4

Updated by Markus Wölfer over 8 years ago

I tried it by 'chown -R hts /home/hts/.hts'.

this is the output of ls -l

hts@raspberrypi:~$ ls -l /home/hts/.hts
insgesamt 4
drwxr-xr-x 7 hts hts 4096 Apr 4 16:16 tvheadend

Tvheadend is running by hts user:

hts@raspberrypi:~$ ps aux | grep tvheadend
hts 18807 0.4 1.3 373532 12712 ? Ssl 16:43 0:01 /usr/bin/tvheadend -f -u hts -g video

But my problem still exists :(

#5

Updated by Markus Wölfer over 8 years ago

Just to be save I also did 'chmod -R 777 /home/hts/.hts'.
but same behavior :(

#6

Updated by Mark Clarkstone over 8 years ago

Markus Wölfer wrote:

Just to be save I also did 'chmod -R 777 /home/hts/.hts'.
but same behavior :(

Ok kill tvheadend then do.

sudo -u hts /usr/bin/tvheadend -c /home/hts/.hts/tvheadend --noacl

And post the output here :)

#7

Updated by Markus Wölfer over 8 years ago

root@raspberrypi:/home/hts# sudo -u hts /usr/bin/tvheadend -c /home/hts/.hts/tvheadend --noacl
2016-04-04 18:05:46.201 [ INFO] main: Log started
2016-04-04 18:05:46.203 [ INFO] http: Starting HTTP server 0.0.0.0:9981
2016-04-04 18:05:46.203 [ INFO] htsp: Starting HTSP server 0.0.0.0:9982
2016-04-04 18:05:46.246 [ INFO] config: loaded
2016-04-04 18:05:46.247 [ INFO] config: scanfile (re)initialization with path <none>
2016-04-04 18:05:46.260 [ INFO] dvr: Creating new configuration ''
2016-04-04 18:05:46.260 [WARNING] access: Access control checking disabled
2016-04-04 18:05:46.262 [ INFO] CSA: Using 32bit parallel descrambling
2016-04-04 18:05:46.263 [ INFO] descrambler: adding CAID 0963 as quick ECM (Sky UK)
2016-04-04 18:05:46.263 [ INFO] descrambler: adding CAID 098C as quick ECM (Sky DE)
2016-04-04 18:05:46.263 [ INFO] descrambler: adding CAID 09C4 as quick ECM (Sky DE)
2016-04-04 18:05:46.263 [ INFO] descrambler: adding CAID 09CD as quick ECM (Sky IT)
2016-04-04 18:05:46.263 [ INFO] descrambler: adding CAID 2600 as constant crypto-word (BISS)
2016-04-04 18:05:46.264 [ INFO] epggrab: module eit created
2016-04-04 18:05:46.264 [ INFO] epggrab: module uk_freesat created
2016-04-04 18:05:46.264 [ INFO] epggrab: module uk_freeview created
2016-04-04 18:05:46.264 [ INFO] epggrab: module viasat_baltic created
2016-04-04 18:05:46.264 [ INFO] epggrab: module Bulsatcom_39E created
2016-04-04 18:05:46.264 [ INFO] epggrab: module psip created
2016-04-04 18:05:46.287 [ INFO] epggrab: module opentv-skyit created
2016-04-04 18:05:46.294 [ INFO] epggrab: module opentv-skynz created
2016-04-04 18:05:46.295 [ INFO] epggrab: module opentv-ausat created
2016-04-04 18:05:46.296 [ INFO] epggrab: module opentv-skyuk created
2016-04-04 18:05:46.303 [ INFO] epggrab: module pyepg created
2016-04-04 18:05:46.304 [ INFO] epggrab: module xmltv created
2016-04-04 18:05:46.312 [ INFO] spawn: Executing "/usr/bin/tv_find_grabbers"
2016-04-04 18:05:47.620 [ INFO] scanfile: DVB-S - loaded 1 regions with 86 networks
2016-04-04 18:05:47.620 [ INFO] scanfile: DVB-T - loaded 44 regions with 1105 networks
2016-04-04 18:05:47.621 [ INFO] scanfile: DVB-C - loaded 17 regions with 53 networks
2016-04-04 18:05:47.621 [ INFO] scanfile: ATSC-T - loaded 2 regions with 9 networks
2016-04-04 18:05:47.621 [ INFO] scanfile: ATSC-C - loaded 1 regions with 5 networks
2016-04-04 18:05:47.621 [ INFO] scanfile: ISDB-T - loaded 2 regions with 1000 networks
2016-04-04 18:05:51.773 [ INFO] epggrab: module /usr/bin/tv_grab_pt_meo created
2016-04-04 18:05:51.773 [ INFO] epggrab: module /usr/bin/tv_grab_uk_bleb created
2016-04-04 18:05:51.773 [ INFO] epggrab: module /usr/bin/tv_grab_il created
2016-04-04 18:05:51.773 [ INFO] epggrab: module /usr/bin/tv_grab_es_laguiatv created
2016-04-04 18:05:51.773 [ INFO] epggrab: module /usr/bin/tv_grab_fr created
2016-04-04 18:05:51.773 [ INFO] epggrab: module /usr/bin/tv_grab_se_tvzon created
2016-04-04 18:05:51.773 [ INFO] epggrab: module /usr/bin/tv_grab_se_swedb created
2016-04-04 18:05:51.773 [ INFO] epggrab: module /usr/bin/tv_grab_fr_kazer created
2016-04-04 18:05:51.773 [ INFO] epggrab: module /usr/bin/tv_grab_combiner created
2016-04-04 18:05:51.773 [ INFO] epggrab: module /usr/bin/tv_grab_na_dd created
2016-04-04 18:05:51.773 [ INFO] epggrab: module /usr/bin/tv_grab_is created
2016-04-04 18:05:51.773 [ INFO] epggrab: module /usr/bin/tv_grab_za created
2016-04-04 18:05:51.773 [ INFO] epggrab: module /usr/bin/tv_grab_fi created
2016-04-04 18:05:51.773 [ INFO] epggrab: module /usr/bin/tv_grab_ar created
2016-04-04 18:05:51.773 [ INFO] epggrab: module /usr/bin/tv_grab_na_dtv created
2016-04-04 18:05:51.773 [ INFO] epggrab: module /usr/bin/tv_grab_ch_search created
2016-04-04 18:05:51.773 [ INFO] epggrab: module /usr/bin/tv_grab_eu_epgdata created
2016-04-04 18:05:51.773 [ INFO] epggrab: module /usr/bin/tv_grab_no_gfeed created
2016-04-04 18:05:51.773 [ INFO] epggrab: module /usr/bin/tv_grab_eu_egon created
2016-04-04 18:05:51.773 [ INFO] epggrab: module /usr/bin/tv_grab_it created
2016-04-04 18:05:51.773 [ INFO] epggrab: module /usr/bin/tv_grab_hr created
2016-04-04 18:05:51.773 [ INFO] epggrab: module /usr/bin/tv_grab_dk_dr created
2016-04-04 18:05:51.773 [ INFO] epggrab: module /usr/bin/tv_grab_in created
2016-04-04 18:05:51.773 [ INFO] epggrab: module /usr/bin/tv_grab_uk_rt created
2016-04-04 18:05:51.773 [ INFO] epggrab: module /usr/bin/tv_grab_huro created
2016-04-04 18:05:51.775 [ INFO] epgdb: gzip format detected, inflating (ratio 71.8%)
2016-04-04 18:05:51.779 [ INFO] epgdb: loaded v2
2016-04-04 18:05:51.779 [ INFO] epgdb: config 1
2016-04-04 18:05:51.779 [ INFO] epgdb: channels 0
2016-04-04 18:05:51.779 [ INFO] epgdb: brands 0
2016-04-04 18:05:51.779 [ INFO] epgdb: seasons 0
2016-04-04 18:05:51.779 [ INFO] epgdb: episodes 0
2016-04-04 18:05:51.779 [ INFO] epgdb: broadcasts 0
2016-04-04 18:05:51.779 [ NOTICE] START: HTS Tvheadend version 4.1-1797~g2aa055d started, running as PI D:22843 UID:109 GID:115, CWD:/home/hts CNF:/home/hts/.hts/tvheadend
2016-04-04 18:05:51.780 [ INFO] tvhdhomerun: Found HDHomerun device 1410415e with 4 tuners
2016-04-04 18:05:51.792 [ INFO] tvheadend: Using Network type : DVB-C
2016-04-04 18:05:51.792 [ INFO] tvhdhomerun: Created frontend 1410415E tuner 0
2016-04-04 18:05:51.792 [ INFO] tvhdhomerun: Created frontend 1410415E tuner 1
2016-04-04 18:05:51.792 [ INFO] tvhdhomerun: Created frontend 1410415E tuner 2
2016-04-04 18:05:51.792 [ INFO] tvhdhomerun: Created frontend 1410415E tuner 3
2016-04-04 18:05:51.888 [ ERROR] AVAHI: Service name collision, renaming service to 'Tvheadend #2'
2016-04-04 18:05:53.588 [ INFO] AVAHI: Service 'Tvheadend #2' successfully established.

Running tvheadend whith your command let me save my config.
Do you have an idea what's wrong with just starting with '/etc/init.d/tvheadend start' ?

#8

Updated by Markus Wölfer over 8 years ago

Do you see any anomalies?

#9

Updated by Mark Clarkstone over 8 years ago

Markus Wölfer wrote:

Do you see any anomalies?

Nope, I don't looks normal to me.

try changing the ARGS param in /etc/init.d/tvheadend to something like.

ARGS="-f --debug all --trace all --logfile /home/hts/tvh.log" 

and see if that gives more info :)

#10

Updated by Markus Wölfer over 8 years ago

Thank you!

Here ist my log.

FYI:
-I added the above mentioned args, then I did a '/etc/init.d/tvheadend restart'
-User Language under 'Genereal' was set to 'Bulgarian' and I changed that to 'German'. Then clicked on 'save'.
-again did a '/etc/init.d/tvheadend restart'

=>User Language is still set to 'Bulgarian'

#11

Updated by Mark Clarkstone over 8 years ago

Markus Wölfer wrote:

Thank you!

Here ist my log.

FYI:
-I added the above mentioned args, then I did a '/etc/init.d/tvheadend restart'
-User Language under 'Genereal' was set to 'Bulgarian' and I changed that to 'German'. Then clicked on 'save'.
-again did a '/etc/init.d/tvheadend restart'

=>User Language is still set to 'Bulgarian'

Nothing stands out still..

This is the perms my Tvheadend config has..

drwxr-xr-x 14 hts  hts   4.0K Apr  5 22:44 .
drwxr-xr-x  3 hts  hts   4.0K Mar 26 17:12 ..
drwx------  2 hts  hts   4.0K Apr  1 23:13 accesscontrol
drwx------  2 hts  video 4.0K Apr  5 22:44 backup
-rw-r--r--  1 root root  2.0M Mar 24 14:16 backup.tar
drwx------  2 hts  hts    32K Apr  5 16:47 bouquet
drwx------  2 hts  hts   4.0K Mar 24 14:39 caclient
drwx------  4 hts  hts   4.0K Mar 24 13:21 channel
-rw-------  1 hts  video  887 Mar 30 12:24 config
drwx------  5 hts  hts   4.0K Mar 25 19:27 dvr
-rw-------  1 hts  hts   5.8M Apr  5 22:43 epgdb.v2
drwx------  4 hts  hts   4.0K Mar 24 14:32 epggrab
drwx------  4 hts  hts   4.0K Mar 28 15:37 imagecache
drwx------  4 hts  hts   4.0K Mar 24 12:21 input
-rw-r--r--  1 hts  video   22 Apr  5 22:44 .lock
drwx------  2 hts  hts   4.0K Mar 24 12:13 profile
drwx------  2 hts  hts   4.0K Apr  5 20:30 service_mapper
-rw-------  1 hts  hts     47 Apr  5 22:44 superuser
drwx------  2 hts  hts   4.0K Mar 24 14:08 timeshift

Does yours look any different?

ls -lah /home/hts/.hts/tvheadend/

You can try to temporarily use a new config, edit the init script and change the args to something like.

sudo service tvheadend stop
sudo nano /etc/init.d/tvheadend
ARGS="-f -c /home/hts/.hts/tvheadend_config"  
sudo service tvheadend start

See if you're able to make and save changes.

#12

Updated by Markus Wölfer over 8 years ago

I removed tvheadend completely (apt-get remove --purge tvheadend) and did a fresh install.

Before opened the web interface for the first time, my config looked like this:

root@raspberrypi:/usr/src# ls lah /home/hts/.hts/tvheadend/
insgesamt 36K
drwxr-xr-x 6 hts hts 4,0K Apr 6 18:45 .
drwxr-xr-x 3 hts hts 4,0K Apr 6 18:35 ..
drwx-----
3 hts video 4,0K Apr 6 18:37 dvr
rw------ 1 hts video 138 Apr 6 18:37 epgdb.v2
drwx------ 3 hts video 4,0K Apr 6 18:45 epggrab
drwx------ 4 hts video 4,0K Apr 6 18:37 input
rw-r--r- 1 hts video 11 Apr 6 18:38 .lock
drwx------ 2 hts video 4,0K Apr 6 18:37 profile
rw------ 1 hts hts 50 Apr 6 18:35 superuser

after adding user, adding muxes and scan some channel, it looked like this:
root@raspberrypi:/usr/src# ls lah /home/hts/.hts/tvheadend/
insgesamt 44K
drwxr-xr-x 8 hts hts 4,0K Apr 6 18:47 .
drwxr-xr-x 3 hts hts 4,0K Apr 6 18:35 ..
drwx-----
2 hts video 4,0K Apr 6 18:47 accesscontrol
drwx------ 3 hts video 4,0K Apr 6 18:37 dvr
rw------ 1 hts video 138 Apr 6 18:37 epgdb.v2
drwx------ 3 hts video 4,0K Apr 6 18:45 epggrab
drwx------ 5 hts video 4,0K Apr 6 18:47 input
rw-r--r- 1 hts video 11 Apr 6 18:47 .lock
drwx------ 2 hts video 4,0K Apr 6 18:47 passwd
drwx------ 2 hts video 4,0K Apr 6 18:37 profile
rw------ 1 hts hts 50 Apr 6 18:35 superuser

So it seemd that files and folders are not written.

Next I edited the init script as your example.
This was the result:
root@raspberrypi:/home/hts/.hts/tvheadend_config# ls lah /home/hts/.hts/tvheadend_config/
insgesamt 28K
drwx-----
5 hts video 4,0K Apr 6 18:50 .
drwxr-xr-x 4 hts hts 4,0K Apr 6 18:49 ..
drwx------ 3 hts video 4,0K Apr 6 18:50 dvr
rw------ 1 hts video 138 Apr 6 18:52 epgdb.v2
drwx------ 4 hts video 4,0K Apr 6 18:50 input
rw-r--r- 1 hts video 11 Apr 6 18:52 .lock
drwx------ 2 hts video 4,0K Apr 6 18:50 profile

you see, even the file superuser is missing. So I wasn't able to login to the web interface.
so I made a copy of superuser from tvheadend folder to tvhadend_config.

Login was now possible, but config will not be saved.

I'll try now with older builds

#13

Updated by Markus Wölfer over 8 years ago

ok I tried tvheadend_4.1-1751~g81e0093 and everything is fine. Config is saving as expected.

#14

Updated by Al Bundy over 8 years ago

Back to topic. :-)

Is there any timeline when we get the raspberry builds back?

Also available in: Atom PDF