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
Comment #1
Jorrit CreditAttribution: Jorrit commentedWhat is the exact error message?
Comment #2
dbourrion CreditAttribution: dbourrion commentedHi :)
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 :(
Comment #3
Jorrit CreditAttribution: Jorrit commentedThe 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?
Comment #4
dbourrion CreditAttribution: dbourrion commentedHi
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
Comment #5
dbourrion CreditAttribution: dbourrion commentedAnother 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...
Comment #6
Jorrit CreditAttribution: Jorrit commentedWhere have you set the overall limit?
Comment #7
dbourrion CreditAttribution: dbourrion commentedThere'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
Comment #8
dbourrion CreditAttribution: dbourrion commentedI'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
Comment #9
dbourrion CreditAttribution: dbourrion commentedWell, it work when I'm administrator only - the prob should be simply on the roles...
Stay tuned i'll post pore information ASAP
Comment #10
dbourrion CreditAttribution: dbourrion commentedWas the role.... Administrator role can, the other can't for the moment...
Closing
I'm a fool
D
Comment #11
JvE CreditAttribution: JvE commentedComment #12
dbourrion CreditAttribution: dbourrion commentedReopening - there is still a prob, that is that only user 1 can use that tool...
Still can't undersand that...
Any help welcome
Comment #13
brycefisherfleig CreditAttribution: brycefisherfleig commented