Files processed correctly but not attached to the node

com2 - November 19, 2008 - 11:22
Project:FlashVideo
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:critical
Assigned:Unassigned
Status:closed
Description

I just upgraded and found out that processing of video files works correctly but afterwards the files are not attached to the node and therefore useless.

#1

com2 - November 19, 2008 - 11:37

I was able to process normally when I downgraded to beta4

#2

santiajo - November 19, 2008 - 23:20

I confirm the bug.

Some tests:

Uploading a 17M mpg video:
- It create: 17M flv, 3K jpg.
- It attach the 17M mpg, 3k jpg, but NO the flv

Uploading a 17M flv video also fails.
- It create: 3K jpg.
- It attach the 3k jpg, but NO the flv, even it was uploaded OK (it's in "files" folder)

Uploading a 5M mpg video:
- It create: 5M flv, 3K jpg.
- It attach the 5M mpg, 3k jpg, AND the flv (I can see the video!)

#3

travist - November 22, 2008 - 02:57
Status:active» fixed

should be fixed in version 1.4.rc1

#4

System Message - December 6, 2008 - 03:03
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

#5

davidsnyder@me.com - December 29, 2008 - 16:52

I still have this issue with the latest release. Using on a fresh drupal install, just flashvideo installed. I've done testing with all sorts of videos, all with the same outcome. The video is attached, converted, thumbnailed - but fails with SQL errors. Editing the node after reveals the location of the original file and the thumbnail, but the converted FLV is not attached - though visible on the server. Everything works as it should, but the flv is not attached to the node.

#6

rf1 - February 19, 2009 - 19:15
Version:6.x-1.4-beta6» 6.x-1.5-beta1
Status:closed» active

This is happenning with the latest release...

I wonder if it's an issue of flashvideo or my hosting server (cirtex)... every video that I upload gets converted successfully (I've tried with videos of different sizes). The very small ones ( < 3MB ) get converted and attached to nodes successfully... but large videos ( I've tried with 40MB ) get converted, thumbnail generated (the files exist on the output directory), but not attached to the node.

I've checked the ffmpeg_data table and no record is stored about this conversion.
The files table shows only the original .avi and the generated .jpg but not the converted .flv... and in my cck field tables, the converted videos are not showing.

I've checked MIME types and stuff, and everything is correct.

How can I fix this? is it a bug? or a MySQL setting or what can it be?

Thanks

#7

DrPhunk - April 21, 2009 - 06:13

Bumping this thread, we are having the exact same issue on our servers, incredibly frustrating.

Only occurs on files larger than about 16MB or so... just like #2. Thumbnail attaches fine, just not the .flv

Does anyone have any ideas? We've got a couple of clients that are getting quite irate :(

#8

attheshow - April 23, 2009 - 01:42
Status:active» postponed (maintainer needs more info)

Someone mentioned that there are MySQL errors associated with this. Can anyone post what those are?

Also, is this only happening with Cirtex hosting or on other hosts as well?

#9

EkaMei - April 24, 2009 - 13:56

I believe the mysql setting is the issue. I was experiemening with this on my dedicated server, when I set the connection time out to 10 second, sometime cron will say "MYSQL server have gone away" with the SQL query that are unable to insert. At that point, I reviewed the flashvideo, node, files, and upload tables to add the field manually. I found that on all the occasion, only the FLV file are not attached in the database. The jpg and original files are hooked to the node properly.

That happens when I runs cron in ssh with video bigger then 40~ megs.

However, once I increase the time to connection time out in mysql server to 100 second, the problem go away even for videos with the size over 100~ megs.

Of course, this doesn't help people with shared hosting since it is unlikely they can change the mysql server configuration. But from my observation, it lies with the way Flashvideo module use Cron. Are we using the same database connection to attach the flv files with something else? The time gap in between can possibly cause this issue.

#10

sstacks - July 1, 2009 - 22:01

I agree. After much testing and research with a similar problem on my own site, it appears to be related to database connection timing out when the file size exceeds a certain amount.

I talked with my host (Site5) and found that the mysql wait_timeout setting was at 15 (which is very low, 15 seconds) and cannot be changed for shared or reseller hosting.

Not 100% sure this is the culprit, but it's the best theory.

Best,
Shane

#11

attheshow - July 29, 2009 - 00:22
Version:6.x-1.5-beta1» 6.x-1.x-dev
Category:bug report» support request
Status:postponed (maintainer needs more info)» closed

No further discussion after a month. Marking issue as closed.

 
 

Drupal is a registered trademark of Dries Buytaert.