Raspberry Pi 4

OK, I renamed the drive, with no space in the name, and reinstalled channels-dvr. This time I was able to get to the config with the web interface, and there is a log file in the data folder.
Thanks VERY much for the help!!

Hi there, when you say you you ran the script on the locally mounted HDD, how do I do that? I want to set up my RPi4 with an external HDD but do not know how to run the install command to install Channels to the HDD as recommended by the official instructions.

You can specify the DVR directory once it is set up. If you want to Channels data directory to be on the external, you could copy the install dir to the HDD and put a symlink in place. Or just mount the HDD to the install location.

My external HDD had an Icon on the desktop, I right clicked on the Icon and choose "open in terminal" (or something similar to that) and the opened a terminal window in the HDD folder. I ran the script for Channels in terminal window in the HDD folder.
Hope that helps

Just want to chime in here and mention how exceptional the progress on the RPI4 as a Channels/DVR server has been. With hardware encoding enabled, I can easily use the server for other things while it works. For example right now 1080i content over the air is being transcoded to 720p 6mbps with <100% CPU usage (of a total 400% on the quad-core RPI4), and two Macs are backing up to the same external USB3 10TB drive Channels uses, via Time Machine. And I still have plenty of free CPU for other things. This was not just a simple port of the Intel hardware acceleration, but required significant new development specific to the RPI4's Arm architecture. Thanks to our developers for their efforts!

7 Likes

Kudos! I am porting my Mac Mini setup over to the P4, and did not expect this so soon either!

For your gear jdts, are you drive mapping the Pi over Ethernet to store content on an Apple Time Machine drive? Or are you using the Pi as a Time Machine?

What library are you using for either?

I went with an old 1TB drive on the Pi4 as it has USB 3, to keep that drive firewalled as well as the I/O loads for media segmented. A couple years ago, I had a Plex server mapped to a Time Machine on a Pi3, and ended up going to direct USB, as the Ethernet suffered on the shared bus of USB on that platform.

I'm using the PI as timemachine server and general network file server, all on the same external disk Channels uses. Not too long ago Apple switched to the (Microsoft standard) SMB file sharing protocol so it's pretty trivial. I'm using samba, the default SMB linux server, which now has built in support for TimeMachine specific stuff (all the fruit stuff). Here's the setup (at the end of /etc/samba/smb.conf):

# New Time Machine share
[timepi]
    comment = Time Machine
    path = /data/timemachine
    browseable = yes
    writeable = yes
    create mask = 0600
    directory mask = 0700
    spotlight = yes
    vfs objects = catia fruit streams_xattr
    fruit:aapl = yes
    fruit:time machine = yes

That said the actual I/O speeds on disk are pretty low, so you could likely use channels on a network mounted drive without issue.

1 Like

Is there any value in using a 4GB or 8GB Pi 4? Will it provide any functional enhancement/performance? I can understand that if you add other services onto the box outside of SAMBA it will have some value. Or is anything over a 2B Pi 4 a waste?

Thoughts?

I have a box running UnRAID, running Channels in a Docker, and I use 4GB of RAM. I will even tell you that less than 2GB of RAM is utilized, even when using all 4 tuners of my HDHOMERUN device.

I use an Intel i3 processor, not the ARM that's built into a Pi, but I hope that helps.

If you’re intending to use it as a dedicated Channels DVR server, I’d say anything larger than 2GB is a waste.

2 Likes

I am using a Argon 1 m.2 case that has a builtin fan control and power button. To use them I need to install a script from argon.

curl https://download.argon40.com/argon1.sh | bash

I am getting an error that "apt-get command not found". Can I install apt-get on this? or any ideas how to deal with this. Would really like the power button control and the fan control would be nice..

You'll need to read through that install script, source the missing programs, and manually install and configure their programs.

The Raspberry Pi 4 image is a minimal operating system, and not meant to be a general purpose system. In your case, you might be better off installing the Raspberry Pi OS, and treating it like a regular Linux system if you can't get Argon tools manually installed.

Does anyone know what the base image is for this? Is it the Raspberian??

Thank You!!!

I just bought a 4GB one I’m happy with, way better than using my WD My Cloud Home

I went with the larger Pi just because I may repurpose it later for another use where I want to take advantage of Ram Disk.

I have the Channels DVR (Raspberry Pi 4) using an Argon case (ON/OFF button & Auto-Fan) do we need to install the Argon Scrips for the features (ON/OFF button & Auto-Fan) to work.

This was answered a few posts up.