I had a power outage and am unable to fix my Channels install.
Here is my history:
I am running a Synology DS918+ with Disk Manager 7.1.1 and have been running Channels DVR for over a year. My DS918+ is connected to an APC, so it nicely turns off as expected when the power goes out. I changed the default directory, but knew how to move it back and forth to other directories by giving the internal system user "channels" the appropriate read/write permissions. I have a mix of clients, but mostly firesticks and my network is mostly ubiquiti (7 wired access points, 2 internet (1 main and 1 backup).
Here is my issue:
I lost power this morning for about 2 hours, the UPS's exhausted and shut down the netork equipment nicely (including the Synology). I was about to turn on the generator, but then power came back on, so I manually powered up the Synology, however, the power cut again and the betteries didn't have enough charge in them to let it shut down gracefully. The power stayed off for another hour. When it came back on, I let it charge the batteries a little longer and then powered up the Synology. Everything came up OK on the Synology (everything in Docker, pi-hole, echo-speaks (for Hubitat) and other various projects) as well as my drives reporting well. It did start a data scrub because of the earlier abnormal power failure. However, Channels did not start, it was reporting:
within Package Center "Unable to run "Channels DVR". ChannelsDVR is already running."
So I opened Package Center and it showed Channels DVR at the top with "Failed to start "Channels DVR". Please try again later or contact the package developer." and it had an orange Repair button to the right. I restarted Synology hoping for a fluke after I checked to make sure the appropriate folders were still intact. It came up the same way after a reboot. So I hit the repair, and it ran through what appear to act like an install but it ended with "Failed o run the package service. ChannelsDVR is already running".
Channels was definitely not running, I couldn't get to the administration on port 8089, nor could any of my clients get to it and the firewall is definitely not blocking it. So, I thought, no biggie, I'll reinstall it and reimport the database. I went back to the package center, hit the Repair a couple more times, then it changed to give me an uninstall option which I chose. After it uninstalled, I reinstalled using ChannelsDVR_1.1.0.spk. I had the same issues as I did when running the repair. So I uninstalled again. This time I noticed the volume "ChannelsDVR" never uninstalled. Ok, so I removed it. Same issue after reinstalling - said it was already running. Each time I looked for a /volume1/@appstore/ChannelsDVR/channels-dvr/data/channels-dvr.log and it just never got that far, as a matter of fact, no logs were created in that folder. I also noticed the system user channels wasn't getting removed so I would do a cd /usr/syno/sbin/ then a sudo synouser --del channels after each attempt (which showed successful) of an uninstall.
I'm fairly confident I'm removing all traces of Channels when I uninstall it, so I can't for the life of me figure out why I can't get it installed (I've tried it on a clean reboot, not rebooting, many different ways - removing the folders, the system user channels, etc). Perhaps the install package doesn't like DM 7.1.1? As I stated earlier I was using a different root folder than the default ChannelsDVR, but I removed them and opted for a fresh start in the name of just getting it installed as a clean slate ... and still could not. Heck, I even temporarily stopped some processes and removed some like tailscale (since thats a new thing with Channels) in the hopes that none were interfering.
Any help would be appreciated, I'm at a loss.