Replies: 1 comment
|
Reinstalling the package does not remove the per-user configuration database, so the old settings survive. HyperHDR has a built-in --deleteDatabase option specifically for starting over: https://github.com/awawa-dev/HyperHDR/blob/master/sources/hyperhdr/main.cpp#L112-L116. First identify the service instance (on a typical Pi it will look like hyperhdr@pi.service): systemctl list-units --all "hyperhdr@*.service"Then replace pi below with the username shown by that command: sudo systemctl stop hyperhdr@pi.service
sudo -u pi -H /usr/bin/hyperhdr --deleteDatabase --serviceWait until it reports that the configuration database was deleted, then press Ctrl+C and restart the managed service: sudo systemctl start hyperhdr@pi.serviceThis deletes all HyperHDR configuration. If you may want to restore it, back up ~/.hyperhdr/db/hyperhdr.db for that service user first. The username matters because the packaged systemd template runs HyperHDR as the user in hyperhdr@USER.service: https://github.com/awawa-dev/HyperHDR/blob/master/cmake/linux/service/hyperhdr%40.service. HyperHDR normally stores the database below that users home directory, which is why using sudo -u USER -H reaches the same database as the service. If the unit was customized with --userdata, pass that same path to the reset command. |
Uh oh!
There was an error while loading. Please reload this page.
Hi, can somebody help me with resetting all of the configuration to default? I reinstalled and rebooted the Pi, disabled/enabled the service but the settings which don't work for me are not removed. If I have to do a clean installation I will but whatever I have tried does not work. Thanks!
All reactions