You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Robert Steinmetz AIA <ro...@steinmetznet.com> on 2015/03/10 18:30:23 UTC

3.0.4 Upload Failure HTTP: 500

I have just installed OpenMeetings 3.0.4 on Ubuntu 12.04. I am going 
through trying to verify that everything is working.

I have created some users and they can login. They users can write to 
the Whiteboard. However when I try to upload any file I get a progress 
bar followed by a HTTP: 500 error. The only log entry I can find that 
relates to file I'm trying to upload is below. I've tried PDF's and .odt 
file with the same result. It appears that the upload is not succeeding 
at all.

0.0.0.0_access.2015-03-10.log:108.236.69.119 - - [10/Mar/2015:12:39:32 
-0400] "POST 
/openmeetings/file.upload?moduleName=videoconf1&publicSID=363930e96591c085619f823f01afcd0a&filename=remus%5Fexploit%2Etxt&parentFolderId=0&room_id=11&secondid=0&isOwner=false&sid=99fc608811fb14169c61f9822e1c6e6f 
HTTP/1.1" 500 3316

I gather the files are supposed to end up in 
/opt/red5/webapps/openmeetings/upload/files/ When I checked the was no 
files directory so I created one.


Re: 3.0.4 Upload Failure .txt and .odt files not converted

Posted by Maxim Solodovnik <so...@gmail.com>.
everything except for pdf handled by jodconverter first
2.2.2 will not work
you need
https://code.google.com/p/jodconverter/downloads/detail?name=jodconverter-core-3.0-beta-4-dist.zip&can=2&q=

On Wed, Mar 11, 2015 at 10:25 PM, Robert Steinmetz AIA <rob@steinmetznet.com
> wrote:

> Thanks again for your help. See my response below.
>
> Maxim Solodovnik wrote:
>
>> pdf2swf will be called while converting any office file
>> for pdf it is first step
>> for other formats it is second step
>>
>> we need to figure out what is the main cause of the error.
>>
>> can you check the ownership of /opt/red5/webapps/openmeetings/upload and
>> /opt/red5/webapps/openmeetings/uploadtemp ?
>>
> Here are the permissions.
>
>> /opt/red5/webapps/openmeetings$ ls -ld u*
>> drwxr-xr-x 4 nobody nogroup 160 Mar 10 12:46 upload
>> drwxr-xr-x 3 nobody nogroup  72 Mar 10 14:28 uploadtemp
>>
> The original files do get uploaded into the upload directory.
>
> When I reported the original error the upload directory was owned by root.
> I changed it to match the other directories and the HTTP:-500 error went
> away. So I am making progress with your help.
>
>> /opt/red5/webapps/openmeetings/uploadtemp$ ls -l
>> drwxr-xr-x 2 nobody nogroup 48 Mar 10 14:49 files
>>
> The files directory is empty.
>
> I assume the jodconnector is the first step for .odt files what about
> .txt? I assumed that txt files would be handled directly and not need the
> jodconverter.
> I have the Ubuntu 12.04 system jodconnector and it is version 2.2.2 could
> that be the problem? In order to simplify administration and maintenance I
> have a strong preference to use the systems standard packages whenever
> possible.
>
>


-- 
WBR
Maxim aka solomax

Re: 3.0.4 Upload Failure .txt and .odt files not converted

Posted by Robert Steinmetz AIA <ro...@steinmetznet.com>.
Thanks again for your help. See my response below.

Maxim Solodovnik wrote:
> pdf2swf will be called while converting any office file
> for pdf it is first step
> for other formats it is second step
>
> we need to figure out what is the main cause of the error.
>
> can you check the ownership of /opt/red5/webapps/openmeetings/upload 
> and /opt/red5/webapps/openmeetings/uploadtemp ?
Here are the permissions.
> /opt/red5/webapps/openmeetings$ ls -ld u*
> drwxr-xr-x 4 nobody nogroup 160 Mar 10 12:46 upload
> drwxr-xr-x 3 nobody nogroup  72 Mar 10 14:28 uploadtemp
The original files do get uploaded into the upload directory.

When I reported the original error the upload directory was owned by 
root. I changed it to match the other directories and the HTTP:-500 
error went away. So I am making progress with your help.
> /opt/red5/webapps/openmeetings/uploadtemp$ ls -l
> drwxr-xr-x 2 nobody nogroup 48 Mar 10 14:49 files
The files directory is empty.

I assume the jodconnector is the first step for .odt files what about 
.txt? I assumed that txt files would be handled directly and not need 
the jodconverter.
I have the Ubuntu 12.04 system jodconnector and it is version 2.2.2 
could that be the problem? In order to simplify administration and 
maintenance I have a strong preference to use the systems standard 
packages whenever possible.


Re: 3.0.4 Upload Failure HTTP: 500

Posted by Maxim Solodovnik <so...@gmail.com>.
pdf2swf will be called while converting any office file
for pdf it is first step
for other formats it is second step

we need to figure out what is the main cause of the error.

can you check the ownership of /opt/red5/webapps/openmeetings/upload and
/opt/red5/webapps/openmeetings/uploadtemp ?

On Wed, Mar 11, 2015 at 12:46 AM, Robert Steinmetz AIA <rob@steinmetznet.com
> wrote:

> Thanks again, The ownership of the work directory was incorrect. I changed
> it and I can now upload files however only PDF files work properly.
>
> .odt and .txt files both fail. It seems to think every uploaded file is a
> .pdf, even it is uploaded correctly.
>
>  command: pdf2swf -s insertstop -s poly2bitmap -i -j 85 -s zoom=100
>> /opt/red5/webapps/openmeetings/upload/files/
>> 6fdea64f525cad43034d0114ef2ec5fe/6fdea64f525cad43034d0114ef2ec5fe.pdf
>> /opt/red5/webapps/openmeetings/upload/files/
>> 6fdea64f525cad43034d0114ef2ec5fe/6fdea64f525cad43034d0114ef2ec5fe.swf
>> exception: null
>> error: Error: Couldn't open file '/opt/red5/webapps/
>> openmeetings/upload/files/6fdea64f525cad43034d0114ef2ec5fe/
>> 6fdea64f525cad43034d0114ef2ec5fe.pdf'
>>
>
>
>
> Maxim Solodovnik wrote:
>
>> error 500 means you need to check openmeetings.log for the error
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>


-- 
WBR
Maxim aka solomax

Re: 3.0.4 Upload Failure HTTP: 500

Posted by Robert Steinmetz AIA <ro...@steinmetznet.com>.
Thanks again, The ownership of the work directory was incorrect. I 
changed it and I can now upload files however only PDF files work properly.

.odt and .txt files both fail. It seems to think every uploaded file is 
a .pdf, even it is uploaded correctly.

> command: pdf2swf -s insertstop -s poly2bitmap -i -j 85 -s zoom=100 
> /opt/red5/webapps/openmeetings/upload/files/6fdea64f525cad43034d0114ef2ec5fe/6fdea64f525cad43034d0114ef2ec5fe.pdf 
> /opt/red5/webapps/openmeetings/upload/files/6fdea64f525cad43034d0114ef2ec5fe/6fdea64f525cad43034d0114ef2ec5fe.swf 
>
> exception: null
> error: Error: Couldn't open file 
> '/opt/red5/webapps/openmeetings/upload/files/6fdea64f525cad43034d0114ef2ec5fe/6fdea64f525cad43034d0114ef2ec5fe.pdf'



Maxim Solodovnik wrote:
> error 500 means you need to check openmeetings.log for the error
>
> -- 
> WBR
> Maxim aka solomax


Re: 3.0.4 Upload Failure HTTP: 500

Posted by Maxim Solodovnik <so...@gmail.com>.
error 500 means you need to check openmeetings.log for the error

On Tue, Mar 10, 2015 at 11:30 PM, Robert Steinmetz AIA <rob@steinmetznet.com
> wrote:

> I have just installed OpenMeetings 3.0.4 on Ubuntu 12.04. I am going
> through trying to verify that everything is working.
>
> I have created some users and they can login. They users can write to the
> Whiteboard. However when I try to upload any file I get a progress bar
> followed by a HTTP: 500 error. The only log entry I can find that relates
> to file I'm trying to upload is below. I've tried PDF's and .odt file with
> the same result. It appears that the upload is not succeeding at all.
>
> 0.0.0.0_access.2015-03-10.log:108.236.69.119 - - [10/Mar/2015:12:39:32
> -0400] "POST /openmeetings/file.upload?moduleName=videoconf1&publicSID=
> 363930e96591c085619f823f01afcd0a&filename=remus%5Fexploit%
> 2Etxt&parentFolderId=0&room_id=11&secondid=0&isOwner=false&sid=
> 99fc608811fb14169c61f9822e1c6e6f HTTP/1.1" 500 3316
>
> I gather the files are supposed to end up in /opt/red5/webapps/openmeetings/upload/files/
> When I checked the was no files directory so I created one.
>
>


-- 
WBR
Maxim aka solomax