bmcclure937
Contributor
- Joined
- Jul 13, 2012
- Messages
- 110
This whole issue really makes me want to automate the config and database backups for CP, SR, SAB, and Emby on my FreeNAS box.
...
It didnt backup my wanted list but I dont have to many movies in my wanted so its easy to go take care of later or when I got free time. Also all my settings were good didnt need to reconfigure anything which is all I need.
...
This whole issue really makes me want to automate the config and database backups for CP, SR, SAB, and Emby on my FreeNAS box.
I REALLY don't want to delete my database, what will I lose in there? I have like 100 movies configured or something and all kinds of very refined and tweaked settings for the application.Eh, same issue we are seeing here. They just need to stop the plugin, delete the /var/db/couchpotato/database directory. Restart and configure as I did in my previous post.
Is that even possible (easily?)
cp -r /mnt/tank/jails/sabnzbd_1/var/db/couchpotato/ /mnt/tank/backup/FreeNAS/CouchPotato/ cp -r /mnt/tank/jails/sabnzbd_1/var/db/sickrage/ /mnt/tank/backup/FreeNAS/SickRage/ cp -r /mnt/tank/jails/sabnzbd_1/var/db/sabnzbd/ /mnt/tank/backup/FreeNAS/SABnzbd/ cp -r /mnt/tank/jails/sabnzbd_1/var/db/sabnzbd/ /mnt/tank/backup/FreeNAS/SABnzbd/ cp -r /mnt/tank/jails/emby_1/var/db/emby-server/ /mnt/tank/backup/FreeNAS/Emby/
I REALLY don't want to delete my database, what will I lose in there? I have like 100 movies configured or something and all kinds of very refined and tweaked settings for the application.
Is there a way to either, a) NOT delete the database or b) back it ALL up?
I have a snapshot of my working couchpotato on my drive, I can restore the snapshot, but it quickly kills itself with the update (maybe if I can block external networking somehow?)
cp -r /var/db/couchpotato/database/ /insert/backup/path/here
This fix seems pretty fragile and the CP dev closed the issue on Github and just said "reinstall".
I just did a fresh install but kept my data directory in place. Don't really want to lose my library, wanted list, etc..
great! I'm guessing there's something wrong with FreeNAS user's data-directory caused by the recent update. Hopefully we'll find a proper solution soon.
Hmm, I wonder if this has to do with CouchPotato changing their update URL.
https://github.com/CouchPotato/CouchPotatoServer/commit/cc98412f9a5554c5c05ff90276febcbc158caf60
I could build an new plugin release using the new URL and see if that solves it for people.
I think it would fix people's broken versions. It would replace people's source directories. It seems couchpotato's update process is messing up somewhere when transitioning repo URLs.I kept a copy of my old "broken one" in a state ready for me to repair it at any time (rollback snapshot)
But are you saying your fix would fix old peoples broken versions or it would just fix it ongoing (it seems to be working fine to do a fresh install? Mine is)
I pushed version autoupdate.9_5 to the repo, should be available tomorrow for upgrades or fresh installs (and you can restore your /var/db/couchpotato)