Project

General

Profile

Bug #3697

TVH config not saved anymore?

Added by Nihil Baxter over 8 years ago. Updated over 8 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
Configuration
Target version:
-
Start date:
2016-04-06
Due date:
% Done:

0%

Estimated time:
Found in version:
1802 and before
Affected Versions:

Description

Maybe i missed something but somebody else has this? Seems that in latest builds config isn't saved anymore. I didn't change any permission but all settings i change are not saved to config. I tried everything ( setting full permissions fpr all) but it dont work.

History

#1

Updated by Markus Wölfer over 8 years ago

Good to know I'm not the only one.
see https://tvheadend.org/issues/3691

#2

Updated by Nihil Baxter over 8 years ago

Forgot to say that it seems that its not only the config, new sat/ip devices which are not in list before (and has no config file in config folder) was forgotten too.

#3

Updated by Jaroslav Kysela over 8 years ago

Provide '--trace settings' when you change something in Configuration / General / Base (like Cookie Expiration field).

https://tvheadend.org/projects/tvheadend/wiki/Traces

#4

Updated by Nihil Baxter over 8 years ago

I did that, but in trace.log found nothing:

2016-04-06 18:06:18.220 [  DEBUG]:eit: completed pid 18 table 00000000 / 00000000
2016-04-06 18:06:31.861 [   INFO]:htsp: Got connection from 127.0.0.1
2016-04-06 18:06:31.862 [   INFO]:htsp: 127.0.0.1: Disconnected

I made trace with webui, like i did it some time before, +all (debugsubsystems) and +settings (tracesubsystems). And as i said, no save of uuid on satip server, only old settings exist and connecting with that devices works. Have that on 3 devices, all same, no save of newer settings or devices, after restart all resetted to old settings.

#5

Updated by Nihil Baxter over 8 years ago

I tried to change ui theme, that works if set in per user config, but not in main config.

#6

Updated by Nihil Baxter over 8 years ago

Another info: i uninstalled it completely on one device (with purge), reinstalled, assistant starts, i made some config but no config file in tvh directory unter user hts.

#7

Updated by Michael Marley over 8 years ago

I am having a similar problem. If I add a new show for recording and then restart, the new episodes that were added for recording show without the recording scheduled icon and appear as "" in the description. Here is a log with all debugging and tracing enabled of scheduling a new series to record:

Apr  6 12:45:49 mamarley-desktop tvheadend[19082]: http: HTTP/1.1 POST /api/dvr/autorec/create_by_series?event_id=139407&config_uuid={{Referer=http://mamarley-desktop:9981/extjs.html,Origin=http://mamarley-desktop:9981,X-Requested-With=XMLHttpRequest,User-Agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Arora/0.11.0 Safari/538.1,Content-Type=application/x-www-form-urlencoded,Accept=*/*,Content-Length=28,Connection=Keep-Alive,Accept-Encoding=gzip, deflate,Accept-Language=en-US,*,Host=mamarley-desktop:9981,Authorization=Basic}}
Apr  6 12:45:49 mamarley-desktop tvheadend[19082]: idnode: find node  class dvrconfig
Apr  6 12:45:49 mamarley-desktop tvheadend[19082]: idnode: insert node 20ccfb14a3ecb35589ca65be3a568e98
Apr  6 12:45:49 mamarley-desktop tvheadend[19082]: idnode: find node WNCN-HD class channel
Apr  6 12:45:49 mamarley-desktop tvheadend[19082]: idnode: find node 58e2b7ca1ecadeb5863ee264f0bc9ec0 class dvrconfig
Apr  6 12:45:49 mamarley-desktop tvheadend[19082]: epg: eo [0x2b11c50, 16, 5, ddprogid:///usr/bin/tv_grab_na_dd/EP01568604] getref 5
Apr  6 12:45:49 mamarley-desktop tvheadend[19082]: idnode: insert node c426f81504efe8eaf5faa5122eff49e0
Apr  6 12:45:49 mamarley-desktop tvheadend[19082]: idnode: find node bb5a1efa7b23ab669a8102439f6cc114 class channel
Apr  6 12:45:49 mamarley-desktop tvheadend[19082]: idnode: find node 58e2b7ca1ecadeb5863ee264f0bc9ec0 class dvrconfig
Apr  6 12:45:49 mamarley-desktop tvheadend[19082]: idnode: find node 20ccfb14a3ecb35589ca65be3a568e98 class dvrautorec
Apr  6 12:45:49 mamarley-desktop tvheadend[19082]: epg: eo [0x2ff03f0, 139407, 4, (null)] getref 2
Apr  6 12:45:49 mamarley-desktop tvheadend[19082]: dvr: entry timer scheduled for 1460336370
Apr  6 12:45:49 mamarley-desktop tvheadend[19082]: dvr: entry c426f81504efe8eaf5faa5122eff49e0 "Elementary" on "WNCN-HD" starting at 2016-04-10 20:59:30, scheduled for recording by "michael" 
Apr  6 12:45:49 mamarley-desktop tvheadend[19082]: idnode: insert node 16e4048419fe3635786d75c8b9511ce5
Apr  6 12:45:49 mamarley-desktop tvheadend[19082]: idnode: find node bb5a1efa7b23ab669a8102439f6cc114 class channel
Apr  6 12:45:49 mamarley-desktop tvheadend[19082]: idnode: find node 58e2b7ca1ecadeb5863ee264f0bc9ec0 class dvrconfig
Apr  6 12:45:49 mamarley-desktop tvheadend[19082]: idnode: find node 20ccfb14a3ecb35589ca65be3a568e98 class dvrautorec
Apr  6 12:45:49 mamarley-desktop tvheadend[19082]: epg: eo [0x2ff0530, 139409, 4, (null)] getref 2
Apr  6 12:45:49 mamarley-desktop tvheadend[19082]: dvr: entry timer scheduled for 1460339970
Apr  6 12:45:49 mamarley-desktop tvheadend[19082]: dvr: entry 16e4048419fe3635786d75c8b9511ce5 "Elementary" on "WNCN-HD" starting at 2016-04-10 21:59:30, scheduled for recording by "michael" 
Apr  6 12:45:49 mamarley-desktop tvheadend[19082]: idnode: insert node 2018027fb0da0d0ccd8d5c31e2f7cc5b
Apr  6 12:45:49 mamarley-desktop tvheadend[19082]: idnode: find node bb5a1efa7b23ab669a8102439f6cc114 class channel
Apr  6 12:45:49 mamarley-desktop tvheadend[19082]: idnode: find node 58e2b7ca1ecadeb5863ee264f0bc9ec0 class dvrconfig
Apr  6 12:45:49 mamarley-desktop tvheadend[19082]: idnode: find node 20ccfb14a3ecb35589ca65be3a568e98 class dvrautorec
Apr  6 12:45:49 mamarley-desktop tvheadend[19082]: epg: eo [0x3006ec0, 151101, 4, (null)] getref 2
Apr  6 12:45:49 mamarley-desktop tvheadend[19082]: dvr: entry timer scheduled for 1460944770
Apr  6 12:45:49 mamarley-desktop tvheadend[19082]: dvr: entry 2018027fb0da0d0ccd8d5c31e2f7cc5b "Elementary" on "WNCN-HD" starting at 2016-04-17 21:59:30, scheduled for recording by "michael" 
#8

Updated by Michael Marley over 8 years ago

Sorry, what I meant to say was that all the scheduling recordings appear with a status of "Invalid" after restarting. Here is the log from viewing the information page for one of these recordings:

Apr  6 12:55:22 mamarley-desktop tvheadend[14612]: http: HTTP/1.1 POST /api/idnode/load?uuid=241f60e161fbe54684cd0799beaa3da0&list=channel_icon,disp_title,disp_subtitle,episode,start_real,stop_real,duration,disp_description,status,filesize,comment,duplicate,autorec_caption,timerec_caption{{Referer=http://mamarley-desktop:9981/extjs.html,Origin=http://mamarley-desktop:9981,X-Requested-With=XMLHttpRequest,User-Agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Arora/0.11.0 Safari/538.1,Content-Type=application/x-www-form-urlencoded,Accept=*/*,Content-Length=227,Connection=Keep-Alive,Accept-Encoding=gzip, deflate,Accept-Language=en-US,*,Host=mamarley-desktop:9981,Authorization=Basic}}
Apr  6 12:55:22 mamarley-desktop tvheadend[14612]: idnode: find node 241f60e161fbe54684cd0799beaa3da0 class (null)
Apr  6 12:55:22 mamarley-desktop tvheadend[14612]: http: HTTP/1.1 POST /comet/poll?boxid=cb4726ca006f41a77b6cb9b00e095054098d9311&immediate=0{{Referer=http://mamarley-desktop:9981/extjs.html,Origin=http://mamarley-desktop:9981,X-Requested-With=XMLHttpRequest,User-Agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Arora/0.11.0 Safari/538.1,Content-Type=application/x-www-form-urlencoded,Accept=*/*,Content-Length=58,Connection=Keep-Alive,Accept-Encoding=gzip, deflate,Accept-Language=en-US,*,Host=mamarley-desktop:9981,Authorization=Basic}}
#9

Updated by Nihil Baxter over 8 years ago

Next test: going back to build 1727, after that config is saved normally again if i change something.

#10

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.

#11

Updated by Anonymous over 8 years ago

I have noticed the same problem. After doing some testing I notest that in the systemd log that tvheadend was taking a long time to shutdown and would timeout after 90 seconds. Then systemd would just -9 kill the process, which would prevent tvheadend from saving the configuration.
After some more testing I found that it would only happen when tvheadend was started with the -f, --fork flag.


Apr 06 19:21:33 ArchTVH systemd[1]: Stopping tvheadend...
Apr 06 19:23:03 ArchTVH systemd[1]: tvheadend.service: State 'stop-sigterm' timed out. Killing.
Apr 06 19:23:03 ArchTVH systemd[1]: tvheadend.service: Main process exited, code=killed, status=9/KILL

#13

Updated by Nihil Baxter over 8 years ago

Tried build 1777, save works, tried 1787, works not, but seems Michael Marley found the problem, great :)

#14

Updated by Ceasar Contreras over 8 years ago

unsing 4.1-1834~g957b835, also dont create the config file

#15

Updated by Jaroslav Kysela over 8 years ago

Could you retest with v4.1-1836-g1681799 ?

#16

Updated by Anonymous over 8 years ago

Jaroslav Kysela wrote:

Could you retest with v4.1-1836-g1681799 ?

On my sys this is working :) (Ubuntu 15.10 x64 server)

#17

Updated by Nihil Baxter over 8 years ago

Seems to work now, changes are written to config right after clicking save.

#18

Updated by Jaroslav Kysela over 8 years ago

  • Status changed from New to Fixed

Also available in: Atom PDF