|
SageTV for unRAID/Docker Discussion related to SageTV for unRAID/Docker. Questions, issues, problems, suggestions, etc. relating to SageTV for unRAID/Docker should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#321
|
|||
|
|||
Quote:
__________________
"Keep your goals away from the trolls" Last edited by BobPhoenix; 09-15-2016 at 03:47 PM. |
#322
|
||||
|
||||
Quote:
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#323
|
||||
|
||||
Quote:
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#324
|
||||
|
||||
Quote:
#3 was odd as well... since I routinely blow away my clients directory in my dev environment, but I never remove them from my production server.... I have about 50+ file in my production clients directory... almost all of which are not used, but since I never clean it out, it keep growing.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#325
|
||||
|
||||
Thanks Fuzzy, I'll try to take a look at that today. And if anybody has logs from either of the other 2 problems, please post them so I can take a look.
__________________
Jeffrey Kardatzke Founder of SageTV |
#326
|
||||
|
||||
Quote:
My goal, if I can get time, is to create a similar situation, ie, phoenix/bmt install (older version) and then do the upgrade and figure out what is happening during the upgarde. As I said, I've seen this a happen a few times, even in v7, where a plugin would upgrade/install but not actually install/upgrade all files. I've seen it especially when a plugin is upgrading a jar file with the same name. It's odd that linux would even fail here, since, in linux there are no file locks, so you can overwrite/replace a file and not get a "write" error because you can't update it. Anyways, if I can do some testing and reproduce it... I'll capture those clean logs and maybe I'll even figure out what is going on.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#327
|
||||
|
||||
Thanks Fuzzy for providing the file. I found the bug and just submitted a fix to GitHub. The problem was in the buffered file reader that was added, there was a case where if the read request was larger than the read buffer size that it would first take from the buffer what it could and then do a direct read from the file source after that. When it was doing that direct read it was not properly updating the file pointer.
https://github.com/google/sagetv/com...3f92587c170d24
__________________
Jeffrey Kardatzke Founder of SageTV |
#328
|
||||
|
||||
That was subtle, but very a important detail. Thanks!
What it's doing is pulling what it can from the buffer (if anything), then if the remaining data needed would not actually fit in the buffer if we were to fill it again, it reads it from disk directly. This is an effort to not need to manually tell the reader when it should optimize for bulk reads and when it should fully buffer.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#329
|
||||
|
||||
Quote:
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#330
|
||||
|
||||
Correct.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#331
|
||||
|
||||
In light of Jeff's fix, I've updated the SageTV build to 9.0.7.369 to include this fix.
The Docker container now supports are VERSION variable. By default it is set to 'latest' and it will check and grab the latest on every restart. If you set to a version, such as, 9.0.7.369, then it will ALWAYS use that version until you change it. Keep in mind, if you give it an invalid version, like, 9.0.7.360, then it will just bomb out since it won't find it.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#332
|
|||
|
|||
I just installed the docker.
It loads to the Guacamole page but that is it. If I look at the log I see Changing to SageTV directory /opt/sagetv/server cat: activkey: No such file or directory Executing pre-scripts Starting server mode ./startsagecore: line 47: /var/run/sagetv.pid: Permission denied Java HotSpot(TM) 64-Bit Server VM warning: -XX:ThreadPriorityPolicy requires root privilege on Linux |
#333
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#334
|
|||
|
|||
Quote:
Code:
/mnt/disks/myNAS_Fileshare/directory/ to /var/media /mnt/disks/myNAS_Fileshare2/directory/ to /var/mediaext Now I have to get my IR blasting working for changing channels on my DISH receivers. I have both USB UIRT and HD PVR's with IR tuners and the proper kernels on unRAID see them, but I have more work to do with lirc. |
#335
|
|||
|
|||
I am really getting frustrated with SageTV's wiz.bin always getting corrupted. Originally I had a windows based machine and it gotten to the point that the wiz.bin would get corrupted once a month. Fast forward 4 months ago I upgraded using unraid and the docker. Also before upgrading I used the webpage plugin to export the favorites so I could start with fresh wiz.bin.
Today the wiz.bin somehow got corrupted again on the unraid server losing my favorites . On my old windows server I would backup the wiz.bin daily with a batch file. Unfortunately I never script the unraid server to backup it up automatically. This means the only backup I had was about a week old from when I upgraded to SageTV V9.0.4.287. This lost any data changes (watched, new fav, etc) that has happened before it. Currently I'm using version SageTV V9.0.7.369 and my wiz.bin file is about 18mb. Can someone can tell me why the wiz.bin keeps getting corrupted? Also can someone help with a cron script that can be added to the docker to allow backup wiz.bin and sage.properties daily? I wish that the guide data and the favorites where not in the same database. I feel the constant updates of the guide data is what causes the file to get corrupted. Last edited by hvymetal; 09-25-2016 at 09:49 AM. |
#336
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#337
|
|||
|
|||
Quote:
Just in case if anyone else wants a daily backup Script for Unraid open shell and do the following 1. nano /etc/cron.daily/SageTV.sh 2. **PASTE BELOW tar -cf /mnt/user/apps/sagetv/server/backups/SageTVBackup-`date +%Y%m%d-%s`.tar /mnt/user/apps/sagetv/server/Wiz.bin /mnt/user/apps/sagetv/server/Sage.properties 3. **SAVE CTRL-X 4. chmod 777 /etc/cron.daily/SageTV.sh Last edited by hvymetal; 09-25-2016 at 07:44 PM. |
#338
|
|||
|
|||
Quote:
__________________
Server: SageTV v9 on unRAID Docker; i5-2400; 16GB RAM; 9TB storage array; SiliconDust HDHR3 Client: Windows10; Intel Core2Duo; 4GB RAM; NVIDIA GeForce GT 1030 Client: NVIDIA ShieldTV Client: Fire TV Stick 4K |
#339
|
||||
|
||||
Quote:
Quote:
As for the what is causing it... I'm not sure. The 9.0.7 release there was a bug that caused Wiz.bin corruption on some Wiz.bin files. If your's is corrupting everytime, then, I'm not sure what could be causing that. BTW the bug is fixed in the 9.0.8 release.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#340
|
||||
|
||||
Quote:
If you're on the latest version, next time it happens, feel free to send it to me and I'll take a look at why.
__________________
Jeffrey Kardatzke Founder of SageTV |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SageTV on Unraid server | JonL | SageTV Linux | 11 | 10-27-2019 02:48 PM |
Docker Image for unRaid | ChaOConnor | SageTV Linux | 73 | 05-28-2017 11:57 AM |
Interactive Docker Container for building SageTV (Linux) | stuckless | SageTV Github Development | 4 | 09-04-2016 03:14 PM |
Another esxi unraid thread - questions | jdc | Hardware Support | 16 | 11-14-2012 12:08 PM |
New Server - SageTV+unRAID under ESXi 4.1 | stanger89 | Hardware Support | 211 | 01-07-2012 10:38 PM |