When I view my media mover config (there's only one) It says:
There are 2948 files that Media Mover has not finished processing. These files may not ever finish. You can remove them all at once.
All the config does is FTP the files to a remote FTP server and I can confirm that they all got there ok..
However mysql says there are no files that are not status #8 (COMPLETE_COMPLETE)
mysql> select count(mmfid) from media_mover_files where status !=8;
+--------------+
| count(mmfid) |
+--------------+
| 0 |
+--------------+
1 row in set (0.98 sec)
mysql> select count(mmfid) from media_mover_files where status !=8 and status !=-1;
+--------------+
| count(mmfid) |
+--------------+
| 0 |
+--------------+
1 row in set (0.01 sec)
Comments
Comment #1
arthurf commentedThere is a cache issue that can cache the file before it is completed, despite the fact that the file did actually complete. This has been fixed in the development branch. Try going to admin > settings > performance and flushing your caches- this should hopefully take care of the issue
Comment #2
arthurf commentedOh, and if you can confirm that your files arrived, you can always just set those files status with mysql until we get this figured out.
Comment #3
bumbaclaat commentedthanks I will try the development version of the code - in which table should i set their status ?
Comment #4
arthurf commentedYou'd just need to do it in media_mover_files, something like:
UPDATE {media_mover_files} SET status = 8 WHERE status != 8 AND status != -1
Comment #5
Rhino commentedBut, his statuses are correct in that table already, didn't he just say that?
I've run into a similar issue, my files are all status 8, 2 or 0 in the media_mover_files table though.
edit: ignore that, I misunderstood, I'll hunt elsewhere for my bug.
Comment #6
arthurf commented@Rhino - sorry, not totally clear on what issue you're having. It sounds like there is just an issue with the sql that reports file status. Can you give me a screen shot or something that I can reference to figure out where to look for the issue?
Comment #7
Rhino commentedHi, thanks. I'm not sure if it is related.
I recently upgraded to D20 from D19 and have been squashing mystery quirks (not related) ever since. My media mover module is 6.x-1.0-beta2 and has been manually patched to play nice with other modules, it hasn't been updated. I turned non-core modules off before upgrading, and back on after upgrade, and that's where this phenomena happened: Media mover does 3 things for me - harvest & make HD film, Harvest & make small film, Harvest & make screendump. There are currently no files that haven't been passed through media-mover at some point and are "finished"- but when I turned it on again it tells me that I have these files to process:
Files / Files in process
config1 - 515/ 0
config2 - 53301 / 0
config3 - 350 / 0
I need it to stop thinking this, so that it won't re-process 53301 files and eat up all my serverspace. I can not use the link in "These files may not ever finish. You can remove them all at once." as that doesn't remove any of the files when clicked. I just want these out of the queue.
Comment #8
Rhino commented(turns out I can delete the files *one at a time* just fine though...)
Comment #9
arthurf commentedStill not quite sure what you're end goal is. If all your files are good but media mover is reporting bad information, set the file status like:
If you need to delete these files in bulk, here's some rough code: