New home drive on MacOS

I just installed a wavlink TB3 NVMe external SSD and moved my home directory to there. After doing that, I just realized that my DVR will not start. I have uninstalled/reinstalled but I can't get it to start. When I click on the downloaded installer, it says that its running and I can stop or uninstall. I stopped it, uninstalled it, reinstalled it but nothing is happening. The recordings are on a different external which I did not touch. Help!

Try running in Terminal:

~/Library/Application\ Support/ChannelsDVR/uninstall.sh

Does activity monitor show channels-dvr running?

I see the installer running. Not the DVR service.

I tried running that command in terminal. It ran fine. When I ran the installer again it said the DVR was running and asked to stop it...which I did. Next time I ran it, it said it was installed but not running, so I clicked the uninstall. When I run it a third time, it acts like it is installing, when it gets to Installation complete, it tries to launch the settings page, but nothing displays.

What does the log file show:

~/Library/Application\ Support/ChannelsDVR/data/channels-dvr.log

Sounds like maybe the permissions are messed up somewhere.

You can delete that entire ChannelsDVR folder from Application Support via Finder

I did delete that and tried to install again. Same thing.

Looking into a few things here:

Scotts-Mac-mini:ChannelsDVR sdenninger$ ./install.sh

/Volumes/Macintosh SSD/Users/sdenninger/Library/LaunchAgents/com.getchannels.dvr.plist: Path had bad ownership/permissions

So I went into the channels install and found the channels startup script:

cotts-Mac-mini:2019.09.23.2227 sdenninger$ ./channels-dvr

2019/10/25 09:14:23 [SYS] Starting Channels DVR v2019.09.23.2227 (darwin-x86_64 pid:1010) in /Volumes/Macintosh SSD/Users/sdenninger/Library/Application Support/ChannelsDVR/2019.09.23.2227

2019/10/25 09:14:23 [HDR] Found 2 devices

2019/10/25 09:14:23 [ERR] Failed to refresh auth: missing oauth client

2019/10/25 09:14:23 [SYS] Started HTTP Server

2019/10/25 09:14:24 [SYS] Bonjour service registered with Scotts-Mac-mini.local


^C2019/10/25 09:15:40 [SYS] Shutting down...

2019/10/25 09:15:40 [SYS] Bonjour service stopped.

2019/10/25 09:15:40 [SYS] Goodbye.

Scotts-Mac-mini:2019.09.23.2227 sdenninger$

I was able to have it start...and without getting out of the process I was able to get into the DVR settings page. I did a restore and it went back to the settings page, but it did not show any of the system stats nor did it show anything below the TV Sources.

I executed ./channels-dvr again and this time the process started fine and the dvr was working! But when I close the terminal it closes the process down

Fixed it! Unfortunately I missed some recordings last night...but to fix it I had to go to my new thunderbolt 3 drive and right click then "Get Info". At the bottom there is a setting to "Ignore ownership of this volume". It was checked. I unchecked it, uninstalled, restarted, installed and everything came up as it should.

That was a fun one. Hopefully this helps others that run their home directory off an external thunderbolt drive.

1 Like

This seems to be the root cause.

Running the dvr like this manually will not work. It has to be run from a specific directory. I assume once you fixed the permissions it's now running automatically in the background again?

Correct, it is now running automatically after fixing the ownership perms