View Issue Details

IDProjectCategoryView StatusLast Update
0019865MMW 5Install/Configpublic2023-10-06 07:36
Reporterpeke Assigned To 
PriorityhighSeverityminorReproducibilityN/A
Status assignedResolutionopen 
Product Version5.0 
Target Version5.1.1 
Summary0019865: Make Backup of mediamonkey.ini (Portable Version)
DescriptionIn case of Portble version MediaMonkey.ini gets corrupted, MM automatically revert to be Normal install version which can lead of wrong MM5.DB loaded.

We should make backup of MediaMonkey.ini on MM start, right after MM is fully loaded (we already detect that in debug log messages) so that working Mediamonkey.ini is saved in case of anything happen during start or MM do not start correctly eg. Backup is Portable and newly created MediaMonkey.ini is not it will ask to restore backup of INI and restart.
Steps To Reproduce1. Install MM as portable
2. Start MM
3. close MM
4. Delete Mediamonkey.ini from portable folder
5. Start MM -> Library is lost or normal version is used.

Test note: user in question used MM installed as portable on external drive.
Additional InformationTicket # 5552 happened for this user twice.
TagsNo tags attached.
Fixed in build

Activities

Ludek

2023-03-06 19:14

developer   ~0071304

I wonder how can MediaMonkey.ini gets corrupted in the first place?
I doubt that users have reasons to delete MediaMonkey.ini manually?

rusty

2023-10-05 17:59

administrator   ~0073019

Unless corruption of .ini files is a common issue, I'd suggest that this is low priority. Peke is this a common occurence (please provide links to cases)?

If we believe that it's now low priority, then I'd expect that all settings should be backed up periodically in the same manner.

peke

2023-10-06 07:36

developer   ~0073029

This is very rare issue when user is using portable version of MM and System cleaners deletes MediaMonkey.ini from Portable folder and/or isportable=1 is missing them MM starts as normal install which is presented to user as new library.

We can consider this a lower priority and review what else needs to be backup periodically. Pushed to review for 5.1.1

Re @Ludek: My bat file eliminates reason for user to edit INI file and add isportable=1 but simply delete corrupted/wrong ini and replace it with one that have isportable=1 inside, making MM work as portable once again.