You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Eric Boudrand <de...@boudrand.net> on 2013/06/24 18:24:02 UTC

Importing document

Hello,

When I am importing an Excel file to the whiteboard, I get "Deleted"
image. I found the following logs :

DEBUG 06-24 17:38:17.132 o.a.o.s.o.DownloadHandler:81
[http-bio-0.0.0.0-5080-exec-7] - 

parentPath = /5a80ac8f234f2c92e3d256abe0800d0e/
DEBUG 06-24 17:38:17.132 o.a.o.s.o.DownloadHandler:94
[http-bio-0.0.0.0-5080-exec-7] - sid: 96a4fd675e5f62d5950fe3e7b2ac3293
DEBUG 06-24 17:38:17.157 o.a.o.s.o.DownloadHandler:174
[http-bio-0.0.0.0-5080-exec-7] - requestedFile:
5a80ac8f234f2c92e3d256abe0800d0e.swf
current_dir: /usr/lib/red5/webapps/openmeetings/upload/files/5a80ac8f234f2c92e3d256abe0800d0e
DEBUG 06-24 17:38:17.158 o.a.o.s.o.DownloadHandler:184
[http-bio-0.0.0.0-5080-exec-7] - LOG DownloadHandler: The request file
is not readable 
DEBUG 06-24 17:38:17.158 o.a.o.s.o.DownloadHandler:188
[http-bio-0.0.0.0-5080-exec-7] - LOG ERROR requestedFile:
5a80ac8f234f2c92e3d256abe0800d0e.swf
DEBUG 06-24 17:38:17.158 o.a.o.s.o.DownloadHandler:214
[http-bio-0.0.0.0-5080-exec-7] -
full_path: /usr/lib/red5/webapps/openmeetings/default/deleted.swf

Permission to /usr/lib/red5/webapps/openmeetings/upload/files is 
drwxrwxr-x 3 nobody nogroup 4096 juin  24 17:38 files

What should I look at for solving this issue ?

Regards

Éric Boudrand



Re: Importing document

Posted by Eric Boudrand <de...@boudrand.net>.
Le mardi 25 juin 2013 à 19:26 +0200, Alfonso Gonzalez Perez a écrit :
> That's the problem, the subdirectories' permissions. Try using chmod
> -r 777 on the files directory, that should fix it.
> 
I have already done this and done it again. It doesn't work. I even ran
openmeetings as root with the same result.

Éric




Re: Importing document

Posted by Alfonso Gonzalez Perez <go...@gmail.com>.
That's the problem, the subdirectories' permissions. Try using chmod -r 777
on the files directory, that should fix it.


2013/6/25 Eric Boudrand <de...@boudrand.net>

> Le mardi 25 juin 2013 à 17:41 +0200, Alfonso Gonzalez Perez a écrit :
>
> > Check the permissions of the directories that openmeetings creates
> > inside the upload/files directory. I think your problem is that you
> > have given 777 permissions to the upload/files directory, but not to
> > the directories that are being created inside of that one.
> >
> Once I upload a file, a directory is created. upload/files permissions
> is 775 but subdirectory is 755. The user and the group of the new
> directory are the same than upload/files (nobody/nogrup)
>
> I can find an Excel document in it (for example
> 5acabb7d9aa14fe939fff696f4b7d141.xlsx) and a XML file :
> <?xml version="1.0" encoding="UTF-8"?>
> <presentation>
> <originalDocument lastmod="1372178934000" size="123139">
> 5acabb7d9aa14fe939fff696f4b7d141.xlsx
> </originalDocument>
> <pdfDocument lastmod="0" size="0">
> 5acabb7d9aa14fe939fff696f4b7d141.pdf
> </pdfDocument>
> <swfDocument lastmod="1372178934000" size="123139">
> 5acabb7d9aa14fe939fff696f4b7d141.swf
> </swfDocument>
> <thumbs/>
> </presentation>
> But, there are no 5acabb7d9aa14fe939fff696f4b7d141.swf and
> 5acabb7d9aa14fe939fff696f4b7d141.pdf files in the directory.
>
> I can upload and watch pdf or PNG file in the whitedashboard but no
> Excel or ODT file. Maybe I have an issue with the converter. How I can I
> increase the logs and check the JOD converter is working ?
>
> Regards.
>
> Éric
>
>
>
> >
> >
> >
>
>

Re: Importing document

Posted by Alvaro <zu...@gmail.com>.
Hi Eric,

Do it telling you Alfonso and after this...

...take a look the path to OpenOffice or LibreOffice
it is the rihgt in your Administration --> Configuration
OpenMeetings.

OpenOffice convert ODT files to pdf, and swftools convert
this pdf to swf file that you will see in the whiteboard.




El mar, 25-06-2013 a las 19:10 +0200, Eric Boudrand escribió:
> Le mardi 25 juin 2013 à 17:41 +0200, Alfonso Gonzalez Perez a écrit :
> 
> > Check the permissions of the directories that openmeetings creates
> > inside the upload/files directory. I think your problem is that you
> > have given 777 permissions to the upload/files directory, but not to
> > the directories that are being created inside of that one.
> > 
> Once I upload a file, a directory is created. upload/files permissions
> is 775 but subdirectory is 755. The user and the group of the new
> directory are the same than upload/files (nobody/nogrup)
> 
> I can find an Excel document in it (for example
> 5acabb7d9aa14fe939fff696f4b7d141.xlsx) and a XML file :
> <?xml version="1.0" encoding="UTF-8"?>
> <presentation>
> <originalDocument lastmod="1372178934000" size="123139">
> 5acabb7d9aa14fe939fff696f4b7d141.xlsx
> </originalDocument>
> <pdfDocument lastmod="0" size="0">
> 5acabb7d9aa14fe939fff696f4b7d141.pdf
> </pdfDocument>
> <swfDocument lastmod="1372178934000" size="123139">
> 5acabb7d9aa14fe939fff696f4b7d141.swf
> </swfDocument>
> <thumbs/>
> </presentation>
> But, there are no 5acabb7d9aa14fe939fff696f4b7d141.swf and
> 5acabb7d9aa14fe939fff696f4b7d141.pdf files in the directory.
> 
> I can upload and watch pdf or PNG file in the whitedashboard but no
> Excel or ODT file. Maybe I have an issue with the converter. How I can I
> increase the logs and check the JOD converter is working ?
> 
> Regards.
> 
> Éric
> 
> 
> 
> >         
> > 
> > 
> 



Re: Importing document

Posted by Eric Boudrand <de...@boudrand.net>.
Le mardi 25 juin 2013 à 17:41 +0200, Alfonso Gonzalez Perez a écrit :

> Check the permissions of the directories that openmeetings creates
> inside the upload/files directory. I think your problem is that you
> have given 777 permissions to the upload/files directory, but not to
> the directories that are being created inside of that one.
> 
Once I upload a file, a directory is created. upload/files permissions
is 775 but subdirectory is 755. The user and the group of the new
directory are the same than upload/files (nobody/nogrup)

I can find an Excel document in it (for example
5acabb7d9aa14fe939fff696f4b7d141.xlsx) and a XML file :
<?xml version="1.0" encoding="UTF-8"?>
<presentation>
<originalDocument lastmod="1372178934000" size="123139">
5acabb7d9aa14fe939fff696f4b7d141.xlsx
</originalDocument>
<pdfDocument lastmod="0" size="0">
5acabb7d9aa14fe939fff696f4b7d141.pdf
</pdfDocument>
<swfDocument lastmod="1372178934000" size="123139">
5acabb7d9aa14fe939fff696f4b7d141.swf
</swfDocument>
<thumbs/>
</presentation>
But, there are no 5acabb7d9aa14fe939fff696f4b7d141.swf and
5acabb7d9aa14fe939fff696f4b7d141.pdf files in the directory.

I can upload and watch pdf or PNG file in the whitedashboard but no
Excel or ODT file. Maybe I have an issue with the converter. How I can I
increase the logs and check the JOD converter is working ?

Regards.

Éric



>         
> 
> 


Re: Importing document

Posted by Alfonso Gonzalez Perez <go...@gmail.com>.
You can change the nobody in the "-c nobody" for the user you want to run
the red5 server.

Check the permissions of the directories that openmeetings creates inside
the upload/files directory. I think your problem is that you have given 777
permissions to the upload/files directory, but not to the directories that
are being created inside of that one.


2013/6/25 Eric Boudrand <de...@boudrand.net>

>
>
> > I use the www-data user to run openmeetings, so it owns all the files,
> > but you should have those files to be owned by the user you have
> > running openmeetings, or change the user running the red5 server to be
> > www-data.
>
> How do you configure www-data user to run openmeetings ?
> In /etc/init.d/red5 file (I am using a Debian 7) ?
> For exemple, I have in that file :
> start-stop-daemon --start -c nobody --pidfile $PIDFILE --chdir
> $RED5_HOME --background --make-pidfile --exec $DAEMON >/dev/null
>
> I feel misunderstanding something.
> >
> > Did you upload the file again when you changed the permissions or you
> > just tried to open the same file? I think openmeetings converts the
> > files only on new upload, so you would have to upload the file again
> > after changing the permissions.
> >
> I tried another file. I even restarted the red5 server.
>
> Éric
>
>
> >
>
>

Re: Importing document

Posted by Eric Boudrand <de...@boudrand.net>.

> I use the www-data user to run openmeetings, so it owns all the files,
> but you should have those files to be owned by the user you have
> running openmeetings, or change the user running the red5 server to be
> www-data.

How do you configure www-data user to run openmeetings ?
In /etc/init.d/red5 file (I am using a Debian 7) ?
For exemple, I have in that file :
start-stop-daemon --start -c nobody --pidfile $PIDFILE --chdir
$RED5_HOME --background --make-pidfile --exec $DAEMON >/dev/null

I feel misunderstanding something.
> 
> Did you upload the file again when you changed the permissions or you
> just tried to open the same file? I think openmeetings converts the
> files only on new upload, so you would have to upload the file again
> after changing the permissions.
> 
I tried another file. I even restarted the red5 server.

Éric


> 


Re: Importing document

Posted by Alfonso Gonzalez Perez <go...@gmail.com>.
That's because you are using another user to run openmeetings.

I use the www-data user to run openmeetings, so it owns all the files, but
you should have those files to be owned by the user you have running
openmeetings, or change the user running the red5 server to be www-data.

Put it back the way it was and check the permissions in the upload/files
directory.

Did you upload the file again when you changed the permissions or you just
tried to open the same file? I think openmeetings converts the files only
on new upload, so you would have to upload the file again after changing
the permissions.


2013/6/25 Eric Boudrand <de...@boudrand.net>

>
> Le mardi 25 juin 2013 à 11:09 +0200, Alfonso Gonzalez Perez a écrit :
> > I use the apache user to execute openmeetings.
> >
> If I do chown -R www-data.www-data /usr/lib/red5 I have a HTTP error
> 500. Same thing if I do a chown root.root to /usr/lib/red5
>
> Do you use www-data user ?
>
> Regards.
>
> Éric
>
>

Re: Importing document

Posted by Eric Boudrand <de...@boudrand.net>.
Le mardi 25 juin 2013 à 11:09 +0200, Alfonso Gonzalez Perez a écrit :
> I use the apache user to execute openmeetings.
> 
If I do chown -R www-data.www-data /usr/lib/red5 I have a HTTP error
500. Same thing if I do a chown root.root to /usr/lib/red5

Do you use www-data user ?

Regards.

Éric


Re: Importing document

Posted by Alfonso Gonzalez Perez <go...@gmail.com>.
I use the apache user to execute openmeetings.


2013/6/25 Eric Boudrand <de...@boudrand.net>

>
>
> > Change the owner to be the one that is executing openmeetings or give
> > write permissions to everybody.
>
> What is the name of the owner of executed openmeetings ? Do you use
> "nobody" ?
> >
> Éric
>
>
>

Re: Importing document

Posted by Eric Boudrand <de...@boudrand.net>.

> Change the owner to be the one that is executing openmeetings or give
> write permissions to everybody.

What is the name of the owner of executed openmeetings ? Do you use
"nobody" ?
> 
Éric



Re: Importing document

Posted by Eric Boudrand <de...@boudrand.net>.
Hi

Le lundi 24 juin 2013 à 20:46 +0200, Alfonso Gonzalez Perez a écrit :
> I had the same problem. 
> 
> Change the owner to be the one that is executing openmeetings or give
> write permissions to everybody.
> 
I changed the permissions to 777 and I still have the same problem.

Éric


Re: Importing document

Posted by Alfonso Gonzalez Perez <go...@gmail.com>.
I had the same problem.

Change the owner to be the one that is executing openmeetings or give write
permissions to everybody.


2013/6/24 Eric Boudrand <de...@boudrand.net>

> Hello,
>
> When I am importing an Excel file to the whiteboard, I get "Deleted"
> image. I found the following logs :
>
> DEBUG 06-24 17:38:17.132 o.a.o.s.o.DownloadHandler:81
> [http-bio-0.0.0.0-5080-exec-7] -
>
> parentPath = /5a80ac8f234f2c92e3d256abe0800d0e/
> DEBUG 06-24 17:38:17.132 o.a.o.s.o.DownloadHandler:94
> [http-bio-0.0.0.0-5080-exec-7] - sid: 96a4fd675e5f62d5950fe3e7b2ac3293
> DEBUG 06-24 17:38:17.157 o.a.o.s.o.DownloadHandler:174
> [http-bio-0.0.0.0-5080-exec-7] - requestedFile:
> 5a80ac8f234f2c92e3d256abe0800d0e.swf
> current_dir:
> /usr/lib/red5/webapps/openmeetings/upload/files/5a80ac8f234f2c92e3d256abe0800d0e
> DEBUG 06-24 17:38:17.158 o.a.o.s.o.DownloadHandler:184
> [http-bio-0.0.0.0-5080-exec-7] - LOG DownloadHandler: The request file
> is not readable
> DEBUG 06-24 17:38:17.158 o.a.o.s.o.DownloadHandler:188
> [http-bio-0.0.0.0-5080-exec-7] - LOG ERROR requestedFile:
> 5a80ac8f234f2c92e3d256abe0800d0e.swf
> DEBUG 06-24 17:38:17.158 o.a.o.s.o.DownloadHandler:214
> [http-bio-0.0.0.0-5080-exec-7] -
> full_path: /usr/lib/red5/webapps/openmeetings/default/deleted.swf
>
> Permission to /usr/lib/red5/webapps/openmeetings/upload/files is
> drwxrwxr-x 3 nobody nogroup 4096 juin  24 17:38 files
>
> What should I look at for solving this issue ?
>
> Regards
>
> Éric Boudrand
>
>
>