Auto Organize Script - Potential Data Loss!

To get bugs in the current release fixed, please report them here.

Moderator: Gurus

GibsonXXI
Posts: 11
Joined: Thu Nov 17, 2011 5:51 pm

Auto Organize Script - Potential Data Loss!

Post by GibsonXXI » Fri Mar 21, 2014 3:50 pm

With the current version of MM (4.10.1692) there is a serious bug with the Auto Organize functionality built into MM.

When doing a "Move" files to new path, The process will complete successfully for the first attempt. For the second attempt (i.e: differing album / files from first attempt, or indeed same files, but different move settings), the file list will be blank. Nothing in source or destination. It is nessecary to exit out of MM, and restart it to get it to correctly show the files source and destination.

If "OK" is selected, when nothing appears in the source / destination parts of the dialog box instead of "Cancel", MM will assume the files have been moved and DELETE the source files regardless, even though NO movement of those source files has taken place.

I have witnessed the above (first paragraph) multiple times on my own PC, and my friend who i've been introducing MM to was unfortunate enough to have at least one album deleted by this bug.

There's also an general stability issue with large libraries, where MM is hanging when clicking on an album after the re-scan / monitoring stage at start-up, but this may be down to a corrupted/problematic Db so will hold off on this issue for now.

nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Re: Auto Organize Script - Potential Data Loss!

Post by nohitter151 » Fri Mar 21, 2014 5:07 pm

I don't understand. How do you reproduce this problem? It sounds like you mean if you use auto-organize multiple times while MM is open, after the first time it can delete your files. But that can't be the case, no one else has reported anything like that and I can't reproduce it.
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?

Please no PMs in reply to a post. Just reply in the thread.

Lowlander
Posts: 45441
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: Auto Organize Script - Potential Data Loss!

Post by Lowlander » Fri Mar 21, 2014 5:19 pm

I presume you're using Auto-Organize Files and are in the Art with Details view, if so you're probably seeing: http://www.ventismedia.com/mantis/view.php?id=11965
Lowlander (MediaMonkey user since 2003)

GibsonXXI
Posts: 11
Joined: Thu Nov 17, 2011 5:51 pm

Re: Auto Organize Script - Potential Data Loss!

Post by GibsonXXI » Sun Mar 23, 2014 6:40 am

Looks like that's the one.

Seems to happen more towards the beginning of a run though. If MM has been open a while and no databases accesses are happening, it works every time. But as stated, on the one time my friend tried it (yes we're both using Art + Details View) he clicked OK instead of cancel, and MM deleted the album outright. No recycle bin.

GibsonXXI
Posts: 11
Joined: Thu Nov 17, 2011 5:51 pm

Re: Auto Organize Script - Potential Data Loss!

Post by GibsonXXI » Sun Mar 23, 2014 6:47 am

With regards the crashing issue. I think that's a permissions issue. I store my media on a ReadyNAS Pro, syncing to a local folder via Rsync / DeltaCopy. However, "pulling" files to the local machine (as a pose to pushing files from the NAS) doesn't work properly as DeltaCopy doesn't set file permissions properly during a "Restore" operation, so MM and Windows in general can't access the files until a "Take Ownership" command is paseed on the suspect folder. However no error messages are generated by MM saying it can't access the files/folders. But since fixing the permissions I've had no crashes / freezes of this nature.

Lowlander
Posts: 45441
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: Auto Organize Script - Potential Data Loss!

Post by Lowlander » Sun Mar 23, 2014 12:30 pm

Are you saying the freezing occurred using Auto-Organize Files on read-only files?
Lowlander (MediaMonkey user since 2003)

veroK
Posts: 22
Joined: Wed Aug 13, 2014 1:28 am

Re: Auto Organize Script - Potential Data Loss!

Post by veroK » Sun Aug 24, 2014 3:02 pm

Lowlander wrote:Are you saying the freezing occurred using Auto-Organize Files on read-only files?
I noticed that most of my music folders are "read only". I assume this is by default when you rip an CD through itunes or MM?
Does your question above imply that you should not try to auto-organize files in read-only folders? Do I need to modify the permissions in the folders w/my music before I try moving them around w/ mediamonkey?

Lowlander
Posts: 45441
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: Auto Organize Script - Potential Data Loss!

Post by Lowlander » Sun Aug 24, 2014 3:11 pm

Any moving files would fail on read-only folders/files as it won't allow the files to be deleted after the move. Any tagging would also fail to update the files (database would be updated). Unless you're trying to protect files from editing/deletion you should not have them read-only (and I'm not aware that MM rips them to be read-only).
Lowlander (MediaMonkey user since 2003)

GibsonXXI
Posts: 11
Joined: Thu Nov 17, 2011 5:51 pm

Re: Auto Organize Script - Potential Data Loss!

Post by GibsonXXI » Tue Nov 18, 2014 12:38 pm

Lowlander wrote:Are you saying the freezing occurred using Auto-Organize Files on read-only files?
Sorry to resurrect this thread after so long, but I never checked back for replies after posting my initial report. To answer your question, no, freezing occurs once a startup scan is in process if any files are locked by the file system (in use by say Winamp or another media player) or otherwise read-only and you attempt to do anything in MediaMonkey which also makes use of it's database / library.

Meaning - in short, i have to wait for my startup scan / monitoring pass to complete before i do anything in MM to avoid the risk of a complete lockup. This issue is present up to version 4.1.4.170x. Not tested with the latest version yet as I've only just applied the update.

Lowlander
Posts: 45441
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: Auto Organize Script - Potential Data Loss!

Post by Lowlander » Tue Nov 18, 2014 1:42 pm

You may want capture the behavior in a debug log (step 4b) and send the log to support: http://www.mediamonkey.com/forum/viewtopic.php?f=7&t=69
Lowlander (MediaMonkey user since 2003)

Post Reply