Tautulli / Tautulli-Issues

Bug reports for Tautulli
18 stars 3 forks source link

Updating from earlier unofficial snap caused data and config lost #294

Closed capruro closed 3 years ago

capruro commented 3 years ago

Bug Report I’m really happy to see that tautulli snap is finally a thing, officially!! Nevertheless, I'm sad to report an issue with the update. I don’t want to question why data and config folders were moved, however, this change caused all snap users that were using previous unofficial version (tautulli snap <= v2.6.2) to lose their history without being informed. Hopefully the data are still in the old path and I describe below how to mitigate the problem. I understand this is the first official snap release, but I would like to see more notifications about possible destructive changes in the future cause snap have auto-update and in case like this the users needs to be informed in advance. Thank you!

Steps to Fix

  1. Stop the snap sudo snap stop tautulli
  2. Copy your previous folder to the new path sudo cp -r /var/snap/tautulli/common /root/snap/tautulli/common
  3. Restart your tautulli snap sudo snap start tautulli
  4. Enjoy your amazing monitoring tool!

Tautulli and System Info (see Tautulli settings page)

JonnyWong16 commented 3 years ago

Updating the Snap package from v2.6.4 --> 2.6.5 should migrate the user data to /root/snap/tautulli/common/Tautulli.

If you end up with an extra subdirectory /root/snap/tautulli/common/Tautulli/tautulli, then run the following commands.

sudo snap stop tautulli
sudo cp -r /root/snap/tautulli/common/Tautulli/tautulli /root/snap/tautulli/common/Tautulli
sudo rm -r /root/snap/tautulli/common/Tautulli/tautulli
sudo snap start tautulli