Dear Invenio team,

It is always faild when I upload a video for the doctype DEMOVID.
I always got the error

Your video could not be processed. The file might be corrupted or its codec(s) 
might not be supported by Invenio. Please verify your video or see the video 
submission guidelines. 

I have tried many others, e.g. modify access permission of directory,  owner of 
dir, etc. I have also connected any user to the action "submit" for the doctype 
DEMOVID. But I always  get the message in apacha.log

tail -f /opt/invenio/var/log/apache.log
202.122.39.77 - - [08/Feb/2013:15:54:40 +0800] "POST /submit/upload_video 
HTTP/1.1" 403 8434 "-" "Shockwave Flash" 55326580

I really do not know what cause the error.
I would ask you login to my invenio server to have a look at. Is it Ok for you? 
If yes, I will tell you the password.  

Thanks a lot,

Best regards,
Lanxin

________________________________________
From: Lanxin Ma
Sent: 05 February 2013 10:50
To: Jerome Caffaro
Cc: Samuele Kaplun; project-invenio-general (Invenio users)
Subject: RE: vedio upload

Hello,

I have done with updating  CFG_SITE_SECURE_URL in my invenio-local.conf

vi  invenio-local.conf
CFG_SITE_SECURE_URL = http://invenio.ihep.ac.cn

sudo -u apache /opt/invenio/bin/inveniocfg --update-config-py
/etc/init.d/httpd reload

The error is still there.
I use 'sudo -u apache ...',  Does it matter?

I checked role/user,  there is no role/user conncted to the action "submit" for 
DEMOVID.
Even, when I use super admin account to submit a video file, I got the same 
error.

Any clue?

Thanks a lot,

Best regards,
Lanxin

________________________________________
From: Jerome Caffaro
Sent: 05 February 2013 08:44
To: Lanxin Ma
Cc: Samuele Kaplun; project-invenio-general (Invenio users)
Subject: Re: vedio upload

Dear Lanxin,

On 02/05/2013 04:46 AM, Lanxin Ma wrote:
> I have switched off SSL( 443 port ) and commented the lines below in httpd 
> .conf in my invenio server, restart httpd. But I still got the same error.

One additional step to switch off SSL (you might have done it, but not
explicitly stated above) is to update CFG_SITE_SECURE_URL in your
invenio-local.conf to replace 'httpS' with 'http', and propagate the
change:

$ emacs /opt/invenio/etc/invenio-local.conf
$ sudo -u www-data /opt/invenio/bin/inveniocfg --update-config-py
$ sudo /etc/init.d/httpd reload

> There is a message in apache.log
>
> tail -f /opt/invenio/var/log/apache.log
> 202.122.32.43 - - [05/Feb/2013:11:24:49 +0800] "POST /submit/upload_video 
> HTTP/1.1" 403 8434 "-" "Shockwave Flash" 4708858

Good, that is one step in the right direction! This line means
that the Flash plugin tried to upload the file, but the server
returned a '403' HTTP error code, i.e. the access is not granted.

Do you have some role/user connected to the action "submit" for the
doctype corresponding to your submission ("DEMOVID" I presume) and
corresponding action (probably "SBI")? In principle user having
access to the submission should also be able to upload the file, but
let's try to understand what is happening.

Best regards
--
Jerome Caffaro ** CERN Document Server ** <http://cds.cern.ch/>

Reply via email to