Download & Extend

Too heavy video ? (looks like something around user rights)

Project:Video
Version:7.x-2.9
Component:Video Field
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hi
We're using Video with filefield path and filefieldsource.

Everything's working fine on a test server - we can manage video like 250 Mo using fielfieldsource with Video.

The prob is that, on a qual and a prod server, since the last upgrade of video, we've a message, when we're creating an video content, telling us that the video file is too heavy.
But everything is working fine on the test server, same drupal configuration.

No error messages are logged into Drupal.

Should it be something around the user or www-data group ? I feel something that around ? Which linux user is video using to write video files into the webserver ?

Any help or idea welcome
Best regards
D.

PS : Filefieldsource and fieldfilepath are used with other module and files fields in the same webserver, everything work great, so the problem is not on their, but really around video

Comments

#1

What is the exact error message?

#2

Hi :)
The message is "The file is 205.54 MB exceeding the maximum file size of 2 MB."

It makes no sense, as with another sort of content, using a file field, I can upload some files which are 56 Mo via filefieldsource.
I have that problem only on content type using the video field type :(

#3

The maximum file size settings are set per field. Are you sure your video field has the right settings?

Do you have the FileField Role Limit module on your site?

#4

Hi
No maximum file size settings for that video field.
it should use the one thats is into the php.ini (2Mo) except that FileFiled should overall that limit (and does it on some other simple file upload)

No FileField Role Limit on my site

#5

Another strange thing : video is making an "original" repertory just near the thumbnails repertory where the thumbnails are created and saved

In this /videos/original, i can find videos that I was trying to attach to my content...

#6

Where have you set the overall limit?

#7

There'is no overall limit : the benefit of filefieldsources is that one can attach a file that was uploaded before via FTP on the server - so with filefieldsources there is no limit

#8

I've made a copy of my running website to the server where I've that problem, in order to have the "old" website not working and a version that was supposed to work as it was working on my test server.

Got now that error (on video files only) :

The file permissions could not be set on public://videos/original.
and

File public://file_attach/videos/dan.mp4 could not be copied, because the destination directory /var/www/html/fonds/fichiers/videos/original is not configured correctly.

the right of the directory that is mentionned are.
drwxr-xr-x 3 bu www-data 4096 janv. 29 14:17 videos

#9

Well, it work when I'm administrator only - the prob should be simply on the roles...
Stay tuned i'll post pore information ASAP

#10

Status:active» fixed

Was the role.... Administrator role can, the other can't for the moment...
Closing

I'm a fool
D

#11

Status:fixed» closed (fixed)

#12

Status:closed (fixed)» active

Reopening - there is still a prob, that is that only user 1 can use that tool...
Still can't undersand that...
Any help welcome