Configuration not reloading into web page
Added by Adrian K over 9 years ago
Hi
I'm running a Synology NAS (DS 1815+) with Disk Station Manager ver 5.2-5565 Update 2
For the past few weeks I have installed and uninstalled tvheadend numerous times and searched this forum, the synology forum and google in general to no avail.
The problem:
I installed and configured tvheadend and have successfully recorded tv programs.
Next day, I log into the web page only to find that all my configuration has disappeared.
I can still log in and I can see all the tabs, but there is no data showing - no EPG, no tuners showing, no users, nothing (yet I can still log in).
Any scheduled recordings no longer occur.
To the best of my knowledge, Synoloyg saves the config files in /volume1/@appstore/tvheadend/var/
At least, this was the location where files were created as I went through the configuration last time.
If I check this location, the config files are still there, they are just not loading into the web page.
Searching seems to suggest it is an ownership or permission problem, but I have also played around with this.
I noticed that the user "tvheadend" is created upon installation (regardless of the user I create at the start) and that ownership of the tvheadend folder is tvheadend:root. Given this, I have tried:
1. Creating tvheadend as the user when first prompted to create a login and then creating a second user (root) via the web portal.
2. Using root when first prompted to create a login and then creating a second user (tvheadend) via the web portal.
Still, the configuration is lost from the web page when I log in the next day.
Permissions on the tvheadend folder are below:
DiskStation> ls -la tv* drwxr-xr-x 7 tvheaden root 4096 Jul 11 19:04 . drwxrwxrwx 21 root root 4096 Jul 11 19:04 .. drwxr-xr-x 3 tvheaden root 4096 Dec 30 2014 app drwxr-xr-x 2 tvheaden root 4096 Jul 11 19:04 bin drwxr-xr-x 3 tvheaden root 4096 Dec 30 2014 lib -rw-r--r-- 1 tvheaden root 10835 Dec 30 2014 openssl.cnf drwxr-xr-x 3 tvheaden root 4096 Dec 30 2014 share drwxr-sr-x 12 tvheaden root 4096 Jul 11 21:54 var DiskStation> ls -la tvheadend/var/ drwxr-sr-x 12 tvheaden root 4096 Jul 11 21:54 . drwxr-xr-x 7 tvheaden root 4096 Jul 11 19:04 .. drwxr-xr-x 2 tvheaden root 4096 Jul 11 19:14 accesscontrol drwx--S--- 2 tvheaden root 4096 Jul 11 21:57 autorec drwx--S--- 2 tvheaden root 4096 Jul 11 21:52 channels drwx--S--- 2 tvheaden root 4096 Jul 11 19:25 channeltags -rwx------ 1 tvheaden root 47 Jul 11 21:54 config drwx--S--- 2 tvheaden root 4096 Jul 11 19:57 dvbadapters drwx--S--- 4 tvheaden root 4096 Jul 11 19:21 dvbmuxes drwx--S--- 13 tvheaden root 4096 Jul 11 20:07 dvbtransports drwx--S--- 3 tvheaden root 4096 Jul 11 21:58 dvr -rwx------ 1 tvheaden root 3089826 Jul 11 20:03 epgdb.v2 drwx--S--- 2 tvheaden root 4096 Jul 11 21:39 epggrab drwx--S--- 2 tvheaden root 4096 Jul 11 19:53 timeshift -rw-r--r-- 1 tvheaden root 6 Jul 11 21:18 tvheadend.pid
It is my understanding that on standard linux OS, tvheadend config files are saved in /$HOME/.hts/
After installing and running tvheadend initially, I have searched for the .hts folder but it does not exist, yet I can still record tv (until I lose the configuration).
Other information:
The NAS box is on 24/7 so there is no rebooting, etc
I have tried Chrome, Firefox, Internet Explorer to eliminate any browser issue.
Synology logs to a "messages" file. Entries for tvheadend are below. Can't sya I understand half the entries and the log probably includes a number of installation attempts:
DiskStation> grep tvhead messages Jul 11 00:09:17 DiskStation tvheadend[19739]: TS: DiBcom 7000PC/Nine Network Australia: 191,625 kHz: MPEG2VIDEO @ #519: Continuity counter error Jul 11 00:09:18 DiskStation tvheadend[19739]: mkv: Live stream: Write failed -- Broken pipe Jul 11 00:09:18 DiskStation tvheadend[19739]: webui: Stop streaming /stream/channelid/17?ticket=4AE56992780EF900B2A2ED18EF82F0FEE57CC018&mux=matroska, muxer reported errors Jul 11 00:09:20 DiskStation tvheadend[19739]: mkv: Live stream: Write failed -- Connection reset by peer Jul 11 00:09:20 DiskStation tvheadend[19739]: webui: Stop streaming /stream/channelid/17?ticket=4AE56992780EF900B2A2ED18EF82F0FEE57CC018&mux=matroska, muxer reported errors Jul 11 00:09:21 DiskStation tvheadend[19739]: mkv: Live stream: Write failed -- Broken pipe Jul 11 00:09:21 DiskStation tvheadend[19739]: webui: Stop streaming /stream/channelid/17?ticket=4AE56992780EF900B2A2ED18EF82F0FEE57CC018&mux=matroska, muxer reported errors Jul 11 00:09:29 DiskStation tvheadend[19739]: mkv: Live stream: Write failed -- Connection reset by peer Jul 11 00:09:29 DiskStation tvheadend[19739]: webui: Stop streaming /stream/channelid/17?ticket=4AE56992780EF900B2A2ED18EF82F0FEE57CC018&mux=matroska, muxer reported errors Jul 11 00:09:29 DiskStation tvheadend[19739]: mkv: Live stream: Write failed -- Broken pipe Jul 11 00:09:29 DiskStation tvheadend[19739]: webui: Stop streaming /stream/channelid/17?ticket=4AE56992780EF900B2A2ED18EF82F0FEE57CC018&mux=matroska, muxer reported errors Jul 11 00:09:33 DiskStation tvheadend[19739]: mkv: Live stream: Write failed -- Connection reset by peer Jul 11 00:09:33 DiskStation tvheadend[19739]: webui: Stop streaming /stream/channelid/17?ticket=4AE56992780EF900B2A2ED18EF82F0FEE57CC018&mux=matroska, muxer reported errors Jul 11 00:10:00 DiskStation tvheadend[19739]: webui: Couldn't start streaming /stream/channelid/26?ticket=DA827ED3BF0F512F26284B9DD893B62A2FE113A7&mux=matroska, No input detected Jul 11 00:10:12 DiskStation tvheadend[19739]: webui: Couldn't start streaming /stream/channelid/26?ticket=DA827ED3BF0F512F26284B9DD893B62A2FE113A7&mux=matroska, No input detected Jul 11 00:10:24 DiskStation tvheadend[19739]: webui: Couldn't start streaming /stream/channelid/26?ticket=DA827ED3BF0F512F26284B9DD893B62A2FE113A7&mux=matroska, No input detected Jul 11 00:10:36 DiskStation tvheadend[19739]: webui: Couldn't start streaming /stream/channelid/26?ticket=DA827ED3BF0F512F26284B9DD893B62A2FE113A7&mux=matroska, No input detected Jul 11 00:10:48 DiskStation tvheadend[19739]: webui: Couldn't start streaming /stream/channelid/26?ticket=DA827ED3BF0F512F26284B9DD893B62A2FE113A7&mux=matroska, No input detected Jul 11 12:20:47 DiskStation tvheadend[19739]: HTTP: 192.168.1.4: /extjs.html -- 401 Jul 11 12:24:17 DiskStation tvheadend[19739]: HTTP: 192.168.1.70: /extjs.html -- 401 Jul 11 12:32:03 DiskStation tvheadend[19739]: HTTP: 192.168.1.4: /extjs.html -- 401 Jul 11 12:32:17 DiskStation tvheadend[19739]: HTTP: 192.168.1.4: /extjs.html -- 401 Jul 11 12:36:00 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:00 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:01 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:02 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:03 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:03 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:04 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:04 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:05 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:05 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:06 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:06 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:07 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:07 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:08 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:08 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:09 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:09 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:10 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:10 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:11 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:11 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:12 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:12 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:13 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:13 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:14 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:14 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:15 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:15 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:16 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:16 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:17 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:17 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:18 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:18 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:19 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:19 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:20 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:20 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:21 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:21 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:22 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:22 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:23 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:23 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:24 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:24 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:25 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:25 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:26 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:26 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:27 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:27 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:28 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:28 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:29 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:29 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:30 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:30 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 12:36:32 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend (deleted). Jul 11 19:04:05 DiskStation tvheadend[13777]: dvr: Output directory for video recording is not yet configured for DVR configuration "". Defaulting to to "/usr/local/tvheadend/var". This can be changed from the web user interface. Jul 11 19:04:52 DiskStation tvheadend[13777]: HTTP: 192.168.1.4: /extjs.html -- 401 Jul 11 19:23:45 DiskStation tvheadend[13777]: TS: DiBcom 7000PC/177,500 kHz/TV4ME: MPEG2VIDEO @ #881: Continuity counter error Jul 11 19:25:07 DiskStation tvheadend[13777]: TS: DiBcom 7000PC/219,500 kHz/SpreeTV: MPEG2VIDEO @ #520: Continuity counter error Jul 11 19:25:09 DiskStation tvheadend[13777]: TS: DiBcom 7000PC/557,625 kHz/C31: MPEG2AUDIO @ #102: Continuity counter error Jul 11 19:59:33 DiskStation tvheadend[13777]: HTTP: 192.168.1.4: /extjs.html -- 401 Jul 11 20:05:09 DiskStation s30_synocheckuser: CheckGUserListRemainder(1843): user [tvheadend] not found in /usr/syno/etc/private/smbpasswd. add it! Jul 11 20:05:09 DiskStation s42_synocheckgrp: SYNOICheckLocalGrp(317): replace szBuf=[users:x:100:couchpotatoserver,sabnzbd,transmission,sickbeard,tvheadend] with szOutBuf=[users:x:100:couchpotatoserver,tvheadend,sabnzbd,transmission,sickbeard]! Jul 11 21:02:39 DiskStation tvheadend[15897]: HTTP: 192.168.1.4: /extjs.html -- 401 Jul 11 21:05:47 DiskStation tvheadend[15897]: HTTP: 192.168.1.4: /extjs.html -- 401 Jul 11 21:13:40 DiskStation tvheadend[15897]: HTTP: 192.168.1.4: /extjs.html -- 401 Jul 11 21:15:42 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:42 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:42 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:15:43 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:43 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:43 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:15:44 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:44 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:44 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:15:45 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:45 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:45 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:15:46 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:46 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:46 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:15:47 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:47 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:47 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:15:48 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:48 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:48 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:15:49 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:49 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:49 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:15:50 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:50 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:50 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:15:51 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:51 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:51 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:15:52 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:52 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:52 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:15:53 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:53 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:53 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:15:54 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:54 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:54 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:15:55 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:55 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:55 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:15:56 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:56 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:56 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:15:57 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:57 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:57 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:15:58 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:58 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:58 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:15:59 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:59 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:15:59 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:16:00 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:16:00 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:16:00 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:16:01 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:16:01 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:16:01 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:16:02 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:16:02 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:16:02 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:16:03 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:16:03 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:16:03 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:16:04 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:16:04 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:16:04 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:16:05 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:16:05 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:16:05 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:16:06 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:16:06 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:16:06 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:16:07 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:16:07 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:16:07 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:16:08 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:16:08 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:16:08 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:16:09 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:16:09 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:16:09 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:16:10 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:16:10 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:16:10 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:16:11 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:16:11 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:16:11 DiskStation killps: kill the process "tvheadend" [pid = 15897] using /volume1/@appstore/tvheadend/bin/tvheadend Jul 11 21:16:12 DiskStation killps: Kill the process "tvheadend" with /volume1/@appstore/tvheadend/bin/tvheadend. Jul 11 21:35:09 DiskStation tvheadend[15860]: HTTP: 192.168.1.4: /extjs.html -- 401 Jul 11 21:36:00 DiskStation tvheadend[15860]: HTTP: 192.168.1.4: /extjs.html -- 401 Jul 11 21:36:23 DiskStation tvheadend[15860]: HTTP: 192.168.1.4: /extjs.html -- 401 Jul 11 21:37:01 DiskStation tvheadend[15860]: TS: DiBcom 7000PC/C31: 557,625 kHz/C31: MPEG2VIDEO @ #101: Continuity counter error Jul 11 21:37:02 DiskStation tvheadend[15860]: TS: DiBcom 7000PC/ABC Melbourne: 226,500 kHz/ABC2/KIDS: MPEG2VIDEO @ #2307: Continuity counter error Jul 11 21:37:02 DiskStation tvheadend[15860]: TS: DiBcom 7000PC/ABC Melbourne: 226,500 kHz/ABC2/KIDS: MPEG2AUDIO @ #2308: Continuity counter error Jul 11 21:37:03 DiskStation tvheadend[15860]: TS: DiBcom 7000PC/Network TEN: 219,500 kHz/ONE: MPEG2VIDEO @ #514: Continuity counter error Jul 11 21:37:05 DiskStation tvheadend[15860]: TS: DiBcom 7000PC/Seven Network: 177,500 kHz/TV4ME: MPEG2VIDEO @ #881: Continuity counter error Jul 11 21:46:10 DiskStation tvheadend[15860]: TS: DiBcom 7000PC/Nine Network Australia: 191,625 kHz/Nine Melbourne: MPEG2VIDEO @ #519: Continuity counter error Jul 11 21:46:10 DiskStation tvheadend[15860]: TS: DiBcom 7000PC/Nine Network Australia: 191,625 kHz/Nine Melbourne: MPEG2AUDIO @ #720: Continuity counter error Jul 11 22:15:34 DiskStation tvheadend[15860]: TS: DiBcom 7000PC/Nine Network Australia: 191,625 kHz/Nine Melbourne: MPEG2VIDEO @ #519: Continuity counter error Jul 11 22:28:12 DiskStation tvheadend[15860]: TS: DiBcom 7000PC/Nine Network Australia: 191,625 kHz/Nine Melbourne: MPEG2VIDEO @ #519: Continuity counter error Jul 11 22:28:12 DiskStation tvheadend[15860]: TS: DiBcom 7000PC/Nine Network Australia: 191,625 kHz/Nine Melbourne: MPEG2AUDIO @ #720: Continuity counter error Jul 12 00:03:03 DiskStation tvheadend[15860]: TS: DiBcom 7000PC/Nine Network Australia: 191,625 kHz/Nine Melbourne: MPEG2VIDEO @ #519: Continuity counter error Jul 12 08:57:31 DiskStation tvheadend[15860]: TS: DiBcom 7000PC/ABC Melbourne: 226,500 kHz/ABC3: MPEG2VIDEO @ #2311: Continuity counter error Jul 12 09:09:55 DiskStation tvheadend[15860]: TS: DiBcom 7000PC/ABC Melbourne: 226,500 kHz/ABC3: MPEG2VIDEO @ #2311: Continuity counter error Jul 12 09:09:55 DiskStation tvheadend[15860]: TS: DiBcom 7000PC/ABC Melbourne: 226,500 kHz/ABC3: MPEG2AUDIO @ #2312: Continuity counter error Jul 13 08:33:59 DiskStation tvheadend[15860]: HTTP: 192.168.1.70: /extjs.html -- 401 Jul 13 08:51:05 DiskStation tvheadend[15860]: HTTP: 192.168.1.70: /extjs.html -- 401 Jul 13 22:22:05 DiskStation tvheadend[15860]: HTTP: 192.168.1.70: /extjs.html -- 401 Jul 14 10:31:51 DiskStation tvheadend[15860]: HTTP: 192.168.1.70: /extjs.html -- 401
Any help greatly appreciated.
Capture.JPG (86.5 KB) Capture.JPG |
Replies (8)
RE: Configuration not reloading into web page - Added by Mihail sovaby over 9 years ago
Where the home directory ? From which the user starts tvhedend - sapmple tvheadend
/$HOME/tvheadend/.hts/
.hts - stores settings and is not the home folder.
where is your $HOME - Users directory ?
/home/admin
/home/tvheadend
/home/Adrian =)
user [tvheadend] not found in /usr/syno/etc/private/smbpasswd. add it!
http://www.sbras.ru/cgi-bin/www/unix_help/unix-man?smbpasswd+8
RE: Configuration not reloading into web page - Added by Adrian K over 9 years ago
Thanks for the reply.
First, tvheadend was in /usr/syno/etc/private/smbpassed.
Second, there is no home directory for tvheadend user ie no /home/tvheadend.
I decided to uninstall tvheadend and this time I created a user "tvheadend" from within synology before reinstalling tvheadend.
This way synology creates a home directory for tvheadend.
I then re-installed tvheadend.
At the time of writing, tvheadend is working but there is still no .hts folder.
DiskStation> find / -name .hts DiskStation>
So why is there no .hts folder and how can tvheadend be working without one?
The log file from the time of reinstalling tvheadend is:
Jul 14 20:12:57 DiskStation tvheadend[24720]: dvr: Output directory for video recording is not yet configured for DVR configuration "". Defaulting to to "/var/services/homes/tvheadend". This can be changed from the web user interface. Jul 14 20:13:58 DiskStation tvheadend[24720]: HTTP: 192.168.1.4: /extjs.html -- 401 Jul 14 20:18:50 DiskStation tvheadend[24720]: TS: DiBcom 7000PC/557,625 kHz/C31: MPEG2VIDEO @ #101: Continuity counter error Jul 14 20:18:52 DiskStation tvheadend[24720]: TS: DiBcom 7000PC/191,625 kHz/EXTRA 2: MPEG2VIDEO @ #521: Continuity counter error Jul 14 20:18:53 DiskStation tvheadend[24720]: TS: DiBcom 7000PC/177,500 kHz/RACING.COM: H264 @ #897: Continuity counter error Jul 14 20:21:34 DiskStation tvheadend[24720]: TS: DiBcom 7000PC/Seven Network: 177,500 kHz: MPEG2VIDEO @ #769: Continuity counter error Jul 14 20:21:35 DiskStation tvheadend[24720]: TS: DiBcom 7000PC/Nine Network Australia: 191,625 kHz: MPEG2VIDEO @ #519: Continuity counter error Jul 14 20:21:36 DiskStation tvheadend[24720]: TS: DiBcom 7000PC/Network TEN: 219,500 kHz: MPEG2VIDEO @ #514: Continuity counter error Jul 14 20:21:37 DiskStation tvheadend[24720]: TS: DiBcom 7000PC/ABC Melbourne: 226,500 kHz: MPEG2VIDEO @ #2314: Continuity counter error Jul 14 20:21:38 DiskStation tvheadend[24720]: TS: DiBcom 7000PC/C31: 557,625 kHz: MPEG2VIDEO @ #101: Continuity counter error Jul 14 20:35:08 DiskStation tvheadend[24720]: TS: DiBcom 7000PC/Network TEN: 219,500 kHz: MPEG2VIDEO @ #514: Continuity counter error Jul 14 20:35:08 DiskStation tvheadend[24720]: TS: DiBcom 7000PC/Network TEN: 219,500 kHz: AC3 @ #672: Continuity counter error Jul 14 20:35:52 DiskStation tvheadend[24720]: dvr: Recording unable to start: "The Voice - New": Adapter in use by other subscription Jul 14 20:56:36 DiskStation tvheadend[1907]: HTTP: 192.168.1.4: /extjs.html -- 401 Jul 14 20:56:44 DiskStation tvheadend[1907]: TS: DiBcom 7000PC/Nine Network Australia: 191,625 kHz/Nine Melbourne: MPEG2VIDEO @ #519: Continuity counter error Jul 14 20:56:55 DiskStation tvheadend[1907]: TS: DiBcom 7000PC/Nine Network Australia: 191,625 kHz/Nine Melbourne: MPEG2VIDEO @ #519: Continuity counter error Jul 14 20:56:58 DiskStation tvheadend[1907]: TS: DiBcom 7000PC/Nine Network Australia: 191,625 kHz/Nine Melbourne: MPEG2VIDEO @ #519: Continuity counter error, 1 duplicate log lines suppressed Jul 14 20:57:06 DiskStation tvheadend[1907]: TS: DiBcom 7000PC/Nine Network Australia: 191,625 kHz/Nine Melbourne: MPEG2VIDEO @ #519: Continuity counter error, 2 duplicate log lines suppressed Jul 14 20:58:12 DiskStation tvheadend[1907]: TS: DiBcom 7000PC/Nine Network Australia: 191,625 kHz/Nine Melbourne: MPEG2VIDEO @ #519: Continuity counter error Jul 14 20:59:12 DiskStation tvheadend[1907]: TS: DiBcom 7000PC/Nine Network Australia: 191,625 kHz/Nine Melbourne: MPEG2VIDEO @ #519: Continuity counter error Jul 14 20:59:42 DiskStation tvheadend[1907]: TS: DiBcom 7000PC/Nine Network Australia: 191,625 kHz/Nine Melbourne: MPEG2VIDEO @ #519: Continuity counter error Jul 14 21:01:08 DiskStation tvheadend[1907]: TS: DiBcom 7000PC/Nine Network Australia: 191,625 kHz/Nine Melbourne: MPEG2VIDEO @ #519: Continuity counter error Jul 14 21:01:51 DiskStation tvheadend[1907]: TS: DiBcom 7000PC/Nine Network Australia: 191,625 kHz/Nine Melbourne: MPEG2VIDEO @ #519: Continuity counter error Jul 14 21:02:13 DiskStation tvheadend[1907]: TS: DiBcom 7000PC/Nine Network Australia: 191,625 kHz/Nine Melbourne: MPEG2VIDEO @ #519: Continuity counter error Jul 14 21:02:34 DiskStation tvheadend[1907]: TS: DiBcom 7000PC/Nine Network Australia: 191,625 kHz/Nine Melbourne: MPEG2VIDEO @ #519: Continuity counter error Jul 14 21:02:34 DiskStation tvheadend[1907]: TS: DiBcom 7000PC/Nine Network Australia: 191,625 kHz/Nine Melbourne: MPEG2AUDIO @ #720: Continuity counter error Jul 14 21:03:14 DiskStation tvheadend[1907]: TS: DiBcom 7000PC/Nine Network Australia: 191,625 kHz/Nine Melbourne: MPEG2VIDEO @ #519: Continuity counter error Jul 14 21:03:57 DiskStation tvheadend[1907]: TS: DiBcom 7000PC/Nine Network Australia: 191,625 kHz/Nine Melbourne: MPEG2VIDEO @ #519: Continuity counter error DiskStation>
What is puzzling from this log file is that I changed the default recording location but this is change is not showing in the log file. Hmmm?
By this time tomorrow, if the past is any indication, tvheadend will stop working and I will not know why.
RE: Configuration not reloading into web page - Added by Mihail sovaby over 9 years ago
without home it's impossible
We use Synology admin home ? like "/var/services/homes/admin"
Create tvheadend user ! like "/var/services/homes/tvheadend"
The complexity of the language barrier =) Sorry
RE: Configuration not reloading into web page - Added by Adrian K over 9 years ago
Thanks Mihail for your reply.
As expected, my configuration has been lost, yet all the config files are under /volume1/@appstore/tvheadend/var/
I am not sure if synology configures tvheadend differently to other linux installations. I also run an arch linux box and the file structure between the two are different in places. But I shall press on.
To show you how /home works under synology, synology creates symboic links:
DiskStation> ls -l /var/services/ lrwxrwxrwx 1 root root 14 Jul 14 23:54 homes -> /volume1/homes
So, /var/services/homes points to /volume1/homes.
Now, if I examine /volume1/homes
DiskStation> ls -la /volume1/homes drwxrwx--x 2 tvheaden users 4096 Jul 14 21:03 tvheadend DiskStation> ls -la /volume1/homes/tvheadend/ drwxrwx--x 2 tvheaden users 4096 Jul 14 21:03 . drwx--x--x 10 root root 4096 Jul 14 19:48 ..
So, there is no .hts folder under /homes/tvheadend/
If there should be one, can you tell me what should be in the folder. I can then create the folder and link the relevant config files to that folder.
Thanks (and the language barrier is no barrier)
RE: Configuration not reloading into web page - Added by Mihail sovaby over 9 years ago
Just a home, it's just a directory and nothing else!
It is necessary that,
System variable $ HOME pointed to this place.
Chances are you have it /volume1/homes/users
give the command
echo $HOME
else create dir - /opt/tvh_config
and edit startup script
start -C -u hts -g video -c /opt/tvh_config
chown hts.video /opt/tvh_config
chmod 775 /opt/tvh_config
tvh_config Will instead .hts
RE: Configuration not reloading into web page - Added by Adrian K over 9 years ago
There is a homes folder, with tvheadend as a user under the homes folder:
/volume1/homes/tvheadend/
But there is no .hts folder on the system. Where should the .hts folder be located and what should be in it?
Thanks
RE: Configuration not reloading into web page - Added by Mihail sovaby over 9 years ago
Try to change the startup script like the above .
There is nothing else in my head no
In .hts should itself will be created if all okay
.htc must store all the changes that are made through the web-ui and read on startup.
and should be in the home directory of the user who started from tvheadend.
RE: Configuration not reloading into web page - Added by Adrian K over 9 years ago
Thanks Mihail
I think I have solved my problem.
I didn't change the start up scripts.
Instead I created a symbolic link between /homes/tvheadend/.hts and the config files in /tvheadend/var.
This seems to work (at least my web page is now showing the data).
I will give it a day or two to see how it goes.
Appreciate your input - you were able to give me enough info to work out the above solution.
Thanks
Adrian