View Issue Details

IDProjectCategoryView StatusLast Update
0013525MMADBpublic2017-02-22 16:13
Reporterrusty Assigned To 
PriorityimmediateSeveritymajorReproducibilitysometimes
Status closedResolutionfixed 
Product Version1.2.0 
Target Version1.3.0Fixed in Version1.3.0 
Summary0013525: All data lost upon running MMA Beta
DescriptionI just ran MMA (after not having used it for a couple of days). When I ran it, content initially appeared and then after half a second, it was all deleted!

i.e. MMA now shows 0 tracks on the device even though the files physically appear on the device.

Log ID: R8YLIFY1Z1
DB: uploaded to the ftp server

Note:
- The three playlists that had been synced still show up (though all three are empty)
- Content still appears within Google Play Music (or other android apps)
TagsNo tags attached.
Fixed in build669

Relationships

related to 0013246 closedmarek Rework the way how the path to file is stored to DB and preferences 

Activities

rusty

2016-09-16 19:24

administrator   ~0045682

Additional possible clue: upon attempting to sync MMA, a new profile was generated in MMW!

peke

2016-09-16 20:16

developer   ~0045683

Last edited: 2016-09-16 20:16

I can't replicate, but this looks like SDCard failed for a moment.

rusty

2016-09-16 21:49

administrator   ~0045685

The only solution seemed to be to reconfigure the new profile that had been generated with my old settings, and then resync.

marek

2016-11-02 08:27

developer   ~0046081

Last edited: 2016-12-01 14:48

Unfortunately, I do not see the cause in the log. But it is most probably caused by the same issue that was fixed as part of 0013246

peke

2016-12-01 15:14

developer   ~0046353

Reopen see 0013246

rusty

2016-12-19 19:40

administrator   ~0046617

Another report: http://www.mediamonkey.com/forum/viewtopic.php?f=21&t=86631

marek

2016-12-20 17:42

developer   ~0046647

This is fixed as 0013246 in 1.3.0

peke

2016-12-21 09:48

developer   ~0046683

Verified 657

rusty

2016-12-29 00:14

administrator   ~0046796

I experienced this again with MMA 1.3.0 (unfortunately I didn't generate a log). I think that the trigger was that I'd Wi-Fi synced and lost the Wi-Fi connection. Sometime later when I ran MM, the library was empty.

Tested on a Nexus 5x running Android 7.1.

peke

2016-12-29 01:31

developer   ~0046797

Still can't replicate.
Steps I used:
1. Do a WiFi Sync (Aprox 100 Tracks)
2. Play number of tracks so that MMW gets updated Counters
3. Start another sync (added to profile another few hundred tracks)
4. Tried to turn off router/WiFi on device/Move out of range
5. Sync Cancels but original tracks and tracks that were synced are in library
6. Tried to Reconnect in Timeout period and all tracks gets synced
7. tried to Cancel sync to while connection is lost and also to regain connection while MMA show canceling
8. Even tried to Delete tracks that are not yet sync and not synced dialog showed correctly
9. Tried to be on reception/signal end to simulate timeout

All MMA and MMW behavior was as expected

rusty

2017-01-05 19:58

administrator   ~0046852

Re-resolving as fixed. Marek indicated that in order to fix any residual issues, a log has to be sent immediately after the library is lost.

peke

2017-01-27 08:46

developer   ~0047092

Verified 667 Not seeing this in few past versions.

peke

2017-01-27 22:13

developer   ~0047107

Verified 667 during tests in 0013246:0047106

peke

2017-01-27 22:14

developer   ~0047108

Can you confirm this?

rusty

2017-01-30 22:24

administrator   ~0047117

As I'd indicated I've been unable to replicate this. I'll reverify with 668 once it's ready.

rusty

2017-01-31 00:30

administrator   ~0047118

Tested with build 668 and this bug occurred upon running 668.

Debug log: QQGJ4SB898

Tested as follows:
1 Clean install of 1.2.624
2 Sync playlist 'new download' and 'Shlomo Katz' after checking off auto-conversion for tracks > 192 kbps
--> Tracks/Playlists sync and work as expected
3 Install 1.3.0.668
4 Click 'Tracks'
--> No tracks appear
5 Click 'Playlists'
--> 2 Playlists appear, but both are empty
Note: an examination of /Music shows that the tracks do in fact exist
6 Click 'Sync'
--> Sync proceeds as if no tracks are on the device (i.e. all 34 tracks resync)

marek

2017-02-05 21:51

developer   ~0047186

Last edited: 2017-02-05 21:55

Fixed in build 669

It was caused by following situation:
1. Install MMA 1.2.0
2. Go to Library Folders and remove /Music folder
3. Go to sync settings in MMA (/Music folder will be automatically re-added)
4. Update to MMA 1.3.0
5. Sometimes /Music sync folder was not correctly migrated from 1.2.0 to 1.3.0 and was removed from Library - including all tracks

That is the usecase that should be tested mainly. But a refactor was needed so other parts of Library folders management should be tested too.

peke

2017-02-06 11:40

developer   ~0047192

Verified 670

I've tested on three devices 4.1.2, 4.2.2, 5.1 with no regressions

rusty

2017-02-06 14:53

administrator   ~0047198

Verified 670 on Android 7, and the issue seems to be resolved, however, there's a regression in 0013957 re. playlist matching.

Leaving this as 'resolved' since we'll need to retest once 0013957 is resolved.

rusty

2017-02-07 05:56

administrator   ~0047208

Verified 671.