|
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 |
#281
|
|||
|
|||
Quote:
|
#282
|
||||
|
||||
Quote:
I've added an issue for adding LIRC so that I don't forget... if you want to modify the docker file to support lirc and and then create a pull request you can do that as well. Meanwhile, if you want to test lirc, you can get a bash shell into the running docker image by sshing into unRAID server and then running the following command Code:
docker exec -ti sagetv-server /bin/bash
__________________
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 |
#283
|
|||
|
|||
So I was tickled that I could use apt-get to pull packages and was able to get lirc installed (I installed some library files from ftdi that I don't think are necessary in the container). Start-up of the service via the script doesn't currently work, but manual seems to work. I can see the device and listen for data fine using the mode2 command (I haven't verified it is accurate). I have not had success in sending with irsend, but I'll work on it more tonight. I'm getting an error when attempting to send a code. Need to read more of the rather lengthy LIRC documentation instead of skimming it.
One other note that is likely to get boo's from some in the crowd. I consolidated all my storage into my Synology NAS and it worked great under Windows and my Intel NUC (which is running unRAID now). I would like to do the same thing with this unRAID server (all external media Music/Video/Photos as well as the live/recording directory would be only on the NAS). I know performance conscious folks just screamed out loud, but it worked very well for me. I would like to make this set-up work the same way. Any thoughts on how to do it in an automated way? I see a few barriers: First, the unRAID user drive (I have one for the storage of the docker image and such) can not be unmounted if I put any shares to the filesystem upon startup of the O/S and this could require manual mounting and unmapping to be able to use the GUI to manage the drive and the unRAID system (shutdown/restart/etc.). The goal could be to map to the host O/S directories you map to within the docker since they are hard-coded in the SageTV configuration. This would make it transparent to the docker. I do not see how to map these as part of the docker start-up on the host O/S (outside the container). Secondly, if I do the mapping in the docker image, I end up with your mappings and the additional mappings to the Synology. I'd want to have it all point to the Synology with no local storage. I'd need to figure out how to create the map automatically on start-up and shutdown of the image and remove your hard-coded settings for those other local directories. I thought maybe I could just browse using smb://mydrive.synology-nas.local/shares/sagetv/blah within the GUI, but the mappings within the GUI just get set to /tmp/can't remember/mydrive.synology-nas.local/shares/sagetv/blah inside the container, but it isn't actually mapped to anything (as it was in the standard server install on Windows). Any thoughts? I know that I'm using unRAID and should build my array using it, but I didn't (it is running on a little but powerful Intel NUC) and I really like the Synology (it also isn't powerful enough currently to run my SagetV Server). I also like the VM and Docker integration in unRAID as a turn-key solution. Sorry for the long post. I'll keep working on the LIRC stuff, it looks like a fairly robust tool for multiple uses with remote control applications. I would have bought a COMMANDIR in a heartbeat if it was still for sale since others have it working. |
#284
|
||||
|
||||
Doesn't Synology support Docker? Couldn't you run the Sage docker natively there?
|
#285
|
|||
|
|||
It was near the end of the post, but my synology doesn't have nearly enough memory or CPU to take on the Sage server role.
|
#286
|
|||
|
|||
Unsure if anyone can help but I've learned one thing not to do in unRAID. I've been moving data from my NTFS formatted drives to the unRAID array. All of that went fine. Until this morning I thought I was trying to do something smart. I wanted to move files between drives and issued the command:
Code:
mv /mnt/disk1/media/sagetv/tv/* /mnt/user/media/sagetv/tv https://www.cnwrecovery.com/index.html http://www.ufsexplorer.com/download.php Just curious if anyone has any experience with XFS data recovery. Apparently file undeletion with XFS is not as straightforward as other file systems. Also, while I have lots of other storage available I don't have any empty drives I can use. Looking at about 536GB of recordings. I do at least have a list of the files lost.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#287
|
||||
|
||||
Yeah, never move files between disk and user shares. I can't really help you with the recovery, but in the future look at the unbalance plugin, might be helpful.
One thought, do you have a cache drive enabled? If so, that move would have moved the file to the cache drive (I think), and it won't be moved off that until mover runs. |
#288
|
|||
|
|||
Quote:
I've found a couple more recovery utilities. A shady one that is apparently free and the cheapest one from Active@ for only $20. Not what I want to be spending my money on but I guess it could be worse. The recordings are something that could be sacrificed. I would spend $20 if I could recover most of it. What was lost represents probably a little more than 1/4 of our recordings.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#289
|
||||
|
||||
Quote:
https://www.linux.com/learn/get-your...recovery-tools That is very unfortunate, and I'm glad you shared, because, this is tricky situation... I almost wish unRAID would prevent it, but, I can see why it doesn't. /mnt/user/ area are virtual shares that under the hood simply map to one or more /mnt/disk#/ paths. So moving something from /mnt/disk#/ to /mnt/user/ (or vice versa) is really just moving something from itself to itself And the last operation of a move is to remove the other file, and it the other file is itself, it deleted it. Rule of thumb is never manually move/copy data between /mnt/user/ and /mnt/disk#/
__________________
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 |
#290
|
|||
|
|||
Quote:
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#291
|
|||
|
|||
Quote:
Honestly, I'd probably refer to keep them as separate boxes for a handful of reasons, but if I have to move to Linux to get to 64-bit then I'd likely decide to combine it with my unRAID box. |
#292
|
|||
|
|||
I was fairly lucky. After trying several recovery programs I settled on Raise Data Recovery. Between it and UFS Explorer it was able to recover more files. After discovering a bug in their program and contacting them they helped me out remotely this morning. I was able to recover approximately 60% of the files I lost.
Array is back up and I'm currently copying the files back over. Should have my unRAID SageTV back up by the end of the day. A little disappointed I couldn't recover more but it is what it is. Honestly, most of the stuff that was lost can be streamed, albeit at a lower quality.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#293
|
|||
|
|||
I need to backout the automatic updates that have occurred since I restarted the docker, I have a backup but how do I prevent it automatically upgrading again?
__________________
2 X HD300, 2 X HD100 & KVM unRAID Host with SageTV Docker using TBS 6285 Quad DVB-T2 & TBS 6984 Quad DVB-S2 Tuners |
#294
|
||||
|
||||
Quote:
Later if you do want to take an update, just delete the file, and it will pull down the latest version.
__________________
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 |
#295
|
|||
|
|||
Thanks!
__________________
2 X HD300, 2 X HD100 & KVM unRAID Host with SageTV Docker using TBS 6285 Quad DVB-T2 & TBS 6984 Quad DVB-S2 Tuners |
#296
|
|||
|
|||
Quote:
I wonder if it would make sense to do add a VERSION variable to the Docker similar to the Plex Docker by Linuxserver.io. This variable lets you set: latest : will update plex to the latest version available that you are entitled to. public : will update plexpass users to the latest public version <specific version> : will select a specific version Or if you leave the VERSION variable blank, then no updates will happen. https://hub.docker.com/r/linuxserver/plex/ By the way, the update to 9.0.7.362 seemed to go fine for me. I haven't noticed any issues.
__________________
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 |
#297
|
||||
|
||||
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 |
#298
|
|||
|
|||
Hmm, doesn't seem to work, it still upgraded after changing it!
Also tried 9.9.9.999
__________________
2 X HD300, 2 X HD100 & KVM unRAID Host with SageTV Docker using TBS 6285 Quad DVB-T2 & TBS 6984 Quad DVB-S2 Tuners |
#299
|
||||
|
||||
That was me! I can certainly empathize with you on available time.
__________________
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 |
#300
|
||||
|
||||
I've made the changes to the docker file to accept a VERSION environment that you can set to 'latest' or an action version #. I need to do a bunch of testing on this, but if it works, I'll push it out this week.
__________________
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 |
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 |