2325 Database and Settings are not imported from MMW4

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: 2325 Database and Settings are not imported from MMW4

Re: 2325 Database and Settings are not imported from MMW4

by IanRTaylorUK » Tue Mar 16, 2021 6:06 am

Ludek wrote: Mon Mar 15, 2021 3:56 pm Normal is preferred and if it fails to locate then it searches desktop for a link to MediaMonkey.exe
It cannot search whole PC for a portable install (would be too slow)
That makes sense. Removing the MM5.DB and using the "chosen" MMW4 MM.DB seems the most controlled way.

The other thing that is time consuming is populating the Publishers and Composers tile images. I have taken to "folder" matching the older version's Portable/ArtistImages sub-folders with the new version. This is simply because I install each portable version in a separate folder as I can then compare more easily and revert to the old version if needed.

Re: 2325 Database and Settings are not imported from MMW4

by Lowlander » Tue Mar 16, 2021 12:33 am

I believe that Custom field names are in the MediaMonkey.ini.

Re: 2325 Database and Settings are not imported from MMW4

by 1001Musik » Tue Mar 16, 2021 12:02 am

Lowlander wrote: Mon Mar 15, 2021 11:24 am If you want to use the database from an MMW4 Portable install you should remove the MM5.DB from the MM5 Portable install after installation and put the MMW4 MM.DB in that location.
That's how I do it and it works. Only the naming of the user-defined fields is not adopted. I have to do this manually after every new version of MM5.

Re: 2325 Database and Settings are not imported from MMW4

by Ludek » Mon Mar 15, 2021 3:56 pm

Normal is preferred and if it fails to locate then it searches desktop for a link to MediaMonkey.exe
It cannot search whole PC for a portable install (would be too slow)

Re: 2325 Database and Settings are not imported from MMW4

by IanRTaylorUK » Mon Mar 15, 2021 3:07 pm

Lowlander wrote: Mon Mar 15, 2021 2:12 pm A portable install doesn't import the database of a different portable install unless you have link to MediaMonkey.exe on the Desktop.

Installing a Portable Install on top of a Portable Install (to update) it does use the database.
Interesting!

So what is likely to happen when you have several Desktop links, such as:
Media Monkey 4 1919 (Normal Installation in C:\Program Files (x86)\MediaMonkey )
Media Monkey 4 1919 (Portable Installation in C:\MediaMonkey 4 1919)
Media Monkey 5 1916 (Portable Installation in C:\MediaMonkey 5 2316)

When installing Media Monkey 5 2325 (as a portable installation in C:\MediaMonkey 5 2325) - when it asks about importing the MMW 4 database - will it use the normal or portable installation?

Re: 2325 Database and Settings are not imported from MMW4

by Lowlander » Mon Mar 15, 2021 2:12 pm

A portable install doesn't import the database of a different portable install unless you have link to MediaMonkey.exe on the Desktop.

Installing a Portable Install on top of a Portable Install (to update) it does use the database.

Re: 2325 Database and Settings are not imported from MMW4

by Snofru » Mon Mar 15, 2021 2:03 pm

I always install MMW4 and MMW5 in different folders (didn't change between 2316 and 2325):

D:\MediaMonkey 4\MediaMonkey and

D:\MediaMonkey 5

Re: 2325 Database and Settings are not imported from MMW4

by Ludek » Mon Mar 15, 2021 12:19 pm

Snofru wrote: Mon Mar 15, 2021 11:36 am Thanks to all of you, the combination of the information you gave made it clear to me:

I did have installed MMW4 as a regular version but switched to portable more than a year ago. I have deleted the MM.db file long ago (and forgot about it) but not the other files in Appdata\Roaming. Maybe the remaining .ini file made MMW5 look into this folder?

I now deleted everything concerning MediaMonkey from AppData and the settings and database are imported correctly.
Thanks, this confirms what I've seen in the log.
Snofru wrote: Mon Mar 15, 2021 11:36 am The question that remains for me (maybe purely academic) why it worked with 2316 and not with 2325.
That's really strange, as there haven't been a single change in this area between 2316 and 2325 (at least I am not aware of any).
Did you install to the same directory as MM4 portable or to a different folder? I guess that's the difference?

Re: 2325 Database and Settings are not imported from MMW4

by Snofru » Mon Mar 15, 2021 11:36 am

Thanks to all of you, the combination of the information you gave made it clear to me:

I did have installed MMW4 as a regular version but switched to portable more than a year ago. I have deleted the MM.db file long ago (and forgot about it) but not the other files in Appdata\Roaming. Maybe the remaining .ini file made MMW5 look into this folder?

I now deleted everything concerning MediaMonkey from AppData and the settings and database are imported correctly.

The question that remains for me (maybe purely academic) why it worked with 2316 and not with 2325.

Re: 2325 Database and Settings are not imported from MMW4

by Lowlander » Mon Mar 15, 2021 11:24 am

If you want to use the database from an MMW4 Portable install you should remove the MM5.DB from the MM5 Portable install after installation and put the MMW4 MM.DB in that location.

You may have had MediaMonkey installed as a regular install (uninstalling it wouldn't have removed the database file).


Note: If you install MM4 Portable on top of a MMW4 Portable you should get the database from MMW4 updated into MM5.

Re: 2325 Database and Settings are not imported from MMW4

by Ludek » Mon Mar 15, 2021 11:07 am

Hi, in the log I see that it
Imported MediaMonkey.ini from MM4: C:\Users\Peter\AppData\Roaming\MediaMonkey\MediaMonkey.ini -> D:\MediaMonkey 5\Portable\MediaMonkey.ini
MM4IniPath exists: C:\Users\Peter\AppData\Roaming\MediaMonkey\MediaMonkey.ini, and includes DBName: C:\Users\Peter\AppData\Roaming\MediaMonkey\MM.DB

But subsequently I don't see the "Copying MM4 > MM5 database" debug message.
Checking the conditions it looks that the file C:\Users\Peter\AppData\Roaming\MediaMonkey\MM.DB does not exist ?
Can you check C:\Users\Peter\AppData\Roaming\MediaMonkey\MM.DB for existence ?

Re: 2325 Database and Settings are not imported from MMW4

by rusty » Mon Mar 15, 2021 9:54 am

Thanks!
fyi, I tested MM5 portable installation / DB import from a non-portable installation and it worked correctly. Hopefully the devs can find something in the log.

-Rusty

EDIT: I had misread your post and assumed that you were trying to updated the DB from an MM4 'normal' installation, a usecase that MM supports. MM does _not_ support importing MM4 settings from a different portable installation--only from an MM4 non-portable installation.

2325 Database and Settings are not imported from MMW4

by Snofru » Mon Mar 15, 2021 6:17 am

Both MMW4 and MMW5 are installed as portable. I have deleted the MediaMonkey 5 folder and installed 5.0.0.2325 as Debug.exe. I was asked to use settings and database from MMW4 and said yes. MMW5 starts as normal but nothing was imported from MMW4.
This has worked without issue with 2316.

I can download a DebugView log from here.

Top