Bug brew cask upgrade overwrites settings and database
#1
Bug 
MacOS 10.13.6
brew 1.7.2

logs: https://paste.ubuntu.com/p/wRRCB4t628/

brew update
brew upgrade

overwrites tinymediamanager settings and database

just like a initial install

this happened previously, and it's the only cask that i've had this issue with
#2
Quote:tinyMediaManager stores all data (internal database, logs, cache, ..) inside its own folder. Depending on the size of your media library this could be over 100MB.

https://github.com/tinyMediaManager/tiny...diamanager

AFAIK, this is a cask problem and not a tinyMediaManager one. Casks upgrades usually remove the whole application and if the settings are inside the application folder they will be removed as well.

So, you have 3 options:

- Wait for v3 that will add the option to different location of settings and database: https://github.com/tinyMediaManager/tiny...issues/126
- Ask for some guidance in https://github.com/Homebrew/homebrew-cas...manager.rb, to see if something can be done in Cask Formula;
- Create symbolic links for the data folder before installing the application, so when doing cask upgrade nothing is lost.

Logout Mark Read Team Forum Stats Members Help
brew cask upgrade overwrites settings and database0