macielbombonato / bigbluebutton

Automatically exported from code.google.com/p/bigbluebutton
0 stars 0 forks source link

Can't upload a presentation #939

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi there,

I have issues uploading a presentation. I have tried to upload different 
formats (office 2003 .doc and .pdf). Both of those files are less than 1 mb.

Each time I try to upload a file, it stucks at the following message:

"Upload completed. Please wait while we convert the document" (see attached 
screenshot)

The loading bar stucks at 0%. After 30 minutes, I logout...

now here my bbb-conf -c output:

==========BEGIN OUTPUT===========================

root@mus:~# bbb-conf -c

BigBlueButton Server 0.71a
                    Kernel version: 2.6.18-028stab089.1
                      Distribution: Ubuntu 10.04.2 LTS (64-bit)
                            Memory: 1824 MB

/var/www/bigbluebutton/client/conf/config.xml
                Port test (tunnel): 184.172.163.110
                              Red5: 184.172.163.110

/etc/nginx/sites-available/bigbluebutton
                       server name: 184.172.163.110
                              port: 80
                    bbb-client dir: /var/www/bigbluebutton

/var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties 
(bbb-web)
                      bbb-web host: 184.172.163.110

/var/lib/tomcat6/webapps/bigbluebutton/demo/bbb_api_conf.jsp (API demos)
                  bbb-web-api host: 184.172.163.110

/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml
                  voice conference: FreeSWITCH

** Potential problems described below **
root@mus:~#

=============END OUTPUT====================

As you can see, it's pretty clean...

Below here an output from my /var/log/bigbluebutton/bbb-web.log after I try to 
upload a presentation

==========BEGIN OUTPUT===========================

2011-05-19 14:40:26,576 DEBUG 
[grails.app.controller.org.bigbluebutton.web.controllers.ApiController] - join 
successful - setting session parameters and redirecting to join
2011-05-19 14:40:26,576 DEBUG 
[org.codehaus.groovy.grails.web.metaclass.RedirectDynamicMethod] - Dynamic 
method [redirect] forwarding request to 
[http://184.172.163.110/client/BigBlueButton.html]
2011-05-19 14:40:26,577 DEBUG 
[org.codehaus.groovy.grails.web.metaclass.RedirectDynamicMethod] - Executing 
redirect with response 
[org.codehaus.groovy.grails.web.sitemesh.GrailsContentBufferingResponse@6564e67f
]
2011-05-19 14:41:06,020 DEBUG 
[org.codehaus.groovy.grails.web.multipart.ContentLengthAwareCommonsMultipartReso
lver] - Found multipart file [fileUpload] of size 26112 bytes with original 
filename [test_office2003.doc], stored at 
[/var/lib/tomcat6/work/Catalina/localhost/bigbluebutton/upload_6e1cdbb6_12fe09ee
c63__7ffe_00000094.tmp]
2011-05-19 14:41:06,022 DEBUG 
[grails.app.controller.org.bigbluebutton.web.controllers.PresentationController]
 - Uploaded presentation name : test_office2003
2011-05-19 14:41:06,023 DEBUG 
[grails.app.controller.org.bigbluebutton.web.controllers.PresentationController]
 - Uploaded presentation name : test_office2003
2011-05-19 14:41:07,045 INFO 
[org.bigbluebutton.presentation.SupportedDocumentFilter] - Received supported 
file 
/var/bigbluebutton/d4a479c3-f42b-4807-af16-cb3f34bce19a/d4a479c3-f42b-4807-af16-
cb3f34bce19a/test_office2003/test_office2003.doc
2011-05-19 14:41:07,046 DEBUG 
[com.artofsolving.jodconverter.openoffice.connection.SocketOpenOfficeConnection]
 - connecting
2011-05-19 14:41:07,057 INFO 
[com.artofsolving.jodconverter.openoffice.connection.SocketOpenOfficeConnection]
 - connected
2011-05-19 14:41:07,057 DEBUG 
[org.bigbluebutton.presentation.imp.Office2PdfPageConverter] - Converting 
/var/bigbluebutton/d4a479c3-f42b-4807-af16-cb3f34bce19a/d4a479c3-f42b-4807-af16-
cb3f34bce19a/test_office2003/test_office2003.doc to 
/var/bigbluebutton/d4a479c3-f42b-4807-af16-cb3f34bce19a/d4a479c3-f42b-4807-af16-
cb3f34bce19a/test_office2003/test_office2003.pdf
2011-05-19 14:41:07,624 DEBUG 
[com.artofsolving.jodconverter.openoffice.connection.SocketOpenOfficeConnection]
 - disconnecting
2011-05-19 14:41:07,624 INFO 
[com.artofsolving.jodconverter.openoffice.connection.SocketOpenOfficeConnection]
 - disconnected
2011-05-19 14:41:07,624 INFO 
[org.bigbluebutton.presentation.imp.OfficeToPdfConversionService] - 
Successfully converted office file to pdf.
2011-05-19 14:41:07,625 INFO 
[org.bigbluebutton.presentation.OfficeToPdfConversionSuccessFilter] - Notifying 
of OFFICE_DOC_CONVERSION_SUCCESS for 
/var/bigbluebutton/d4a479c3-f42b-4807-af16-cb3f34bce19a/d4a479c3-f42b-4807-af16-
cb3f34bce19a/test_office2003/test_office2003.pdf
2011-05-19 14:41:07,675 INFO 
[org.bigbluebutton.presentation.SupportedDocumentFilter] - Received supported 
file 
/var/bigbluebutton/d4a479c3-f42b-4807-af16-cb3f34bce19a/d4a479c3-f42b-4807-af16-
cb3f34bce19a/test_office2003/test_office2003.pdf
2011-05-19 14:41:07,676 DEBUG 
[org.bigbluebutton.presentation.imp.PdfToSwfSlidesGenerationService] - 
Generating slides
2011-05-19 14:41:07,676 DEBUG 
[org.bigbluebutton.presentation.imp.PageCounterService] - Counting pages for pdf
2011-05-19 14:41:07,751 DEBUG 
[org.bigbluebutton.presentation.imp.PageCounterService] - There are 1
2011-05-19 14:41:07,752 DEBUG 
[org.bigbluebutton.presentation.imp.PageCounterService] - Counting pages for 
pdf 1
2011-05-19 14:41:07,752 DEBUG 
[org.bigbluebutton.presentation.imp.PdfToSwfSlidesGenerationService] - 
Determined number of pages 1
2011-05-19 14:41:07,753 DEBUG 
[org.bigbluebutton.presentation.imp.Pdf2SwfPageConverter] - /bin/pdf2swf -T9 -F 
/usr/share/fonts -p 1 
/var/bigbluebutton/d4a479c3-f42b-4807-af16-cb3f34bce19a/d4a479c3-f42b-4807-af16-
cb3f34bce19a/test_office2003/test_office2003.pdf -o 
/var/bigbluebutton/d4a479c3-f42b-4807-af16-cb3f34bce19a/d4a479c3-f42b-4807-af16-
cb3f34bce19a/test_office2003/slide-1.swf
2011-05-19 14:41:07,837 DEBUG 
[org.bigbluebutton.presentation.imp.PdfToSwfSlidesGenerationService] - Creating 
thumbnails.
2011-05-19 14:49:21,638 DEBUG 
[grails.app.controller.org.bigbluebutton.web.controllers.ApiController] - 
ApiController#index

=============END OUTPUT====================

I can't see any issue on the log. It seems it generates properly the PDF. Any 
idea why it doesn't input anything on the client side?

Please help!

Best regards

Original issue reported on code.google.com by chris....@gmail.com on 19 May 2011 at 2:54

Attachments:

GoogleCodeExporter commented 9 years ago
Following your FAQ about slices never finish converting, I tried to restart 
Tomcat6 and Red5 services, but I still have the same issue

Original comment by chris....@gmail.com on 19 May 2011 at 3:56

GoogleCodeExporter commented 9 years ago
I read that the issue might be caused by a lack of RAM. So I asked my hosting 
provider to raise my RAM above 2 gigs. Here my new bbb-conf -c output

==========BEGIN OUTPUT===========================
root@mus:~# bbb-conf -c

BigBlueButton Server 0.71a
                    Kernel version: 2.6.18-028stab089.1
                      Distribution: Ubuntu 10.04.2 LTS (64-bit)
                            Memory: 2304 MB

/var/www/bigbluebutton/client/conf/config.xml
                Port test (tunnel): 184.172.163.110
                              Red5: 184.172.163.110

/etc/nginx/sites-available/bigbluebutton
                       server name: 184.172.163.110
                              port: 80
                    bbb-client dir: /var/www/bigbluebutton

/var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties 
(bbb-web)
                      bbb-web host: 184.172.163.110

/var/lib/tomcat6/webapps/bigbluebutton/demo/bbb_api_conf.jsp (API demos)
                  bbb-web-api host: 184.172.163.110

/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml
                  voice conference: FreeSWITCH

** Potential problems described below **

=============END OUTPUT====================

But still no luck :( same issue :( Help please

Original comment by chris....@gmail.com on 20 May 2011 at 1:20

GoogleCodeExporter commented 9 years ago
hi...does anyone have an idea? :( Dont know what to do anymore. Please help!!!

Original comment by chris....@gmail.com on 24 May 2011 at 9:25

GoogleCodeExporter commented 9 years ago
Is your hosting provider providing you 2G of dedicated RAM or "burst ram".  
We've seen examples where the "burst ram" doesn't work and the slide conversion 
just dies on one of the processes.

Original comment by ffdixon@gmail.com on 24 May 2011 at 10:03

GoogleCodeExporter commented 9 years ago
Try to add a crossdomain.xml file for the flash client in the root of your 
domain with this content:

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM 
"http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
  <allow-access-from domain="*" />
</cross-domain-policy>

File must be world-visible, no start/end leading spaces, and try again. 

Original comment by marco...@gmail.com on 31 May 2011 at 9:38

GoogleCodeExporter commented 9 years ago
I had a similar issue and my system consumed more than 2,4 GB of RAM while 
converting.

Original comment by peter.j....@googlemail.com on 17 Jun 2011 at 4:33

GoogleCodeExporter commented 9 years ago
We're trying to narrow down this problem.  So far ... from the logs, it seems 
the process hangs in line 92 of

https://github.com/bigbluebutton/bigbluebutton/blob/master/bigbluebutton-web/gra
ils-app/services/org/bigbluebutton/web/services/PresentationService.groovy#L92

which is

def processUploadedPresentation = {uploadedPres ->
// Run conversion on another thread.
new Timer().runAfter(1000)
   {
      documentConversionService.processDocument(uploadedPres)
   }
}

never gets executed.  It's not clear why this works consistently on some 
servers and not others.  

Original comment by ffdixon@gmail.com on 12 Sep 2011 at 10:43

GoogleCodeExporter commented 9 years ago
Is this still occurring in 0.8-beta?

Original comment by ritza...@gmail.com on 6 Oct 2011 at 3:51

GoogleCodeExporter commented 9 years ago
I have the same problem. I watch log at var/log/bigbluebutton and see that i 
miss som folders at var/lib/tomcat6/work such as 
Catalina/localhost/bigbluebutton . I create thiese folders and gave chown 
tomcat6:admin and chmod-R 777
This help to resolve problem.

Original comment by TopT...@gmail.com on 16 Jan 2012 at 4:18

GoogleCodeExporter commented 9 years ago
Problem was update messages were being lost when sending to red5.

We put in some fixes to upload presentation problems related to the conversion 
process hanging.

Original comment by ritza...@gmail.com on 28 Mar 2012 at 6:38

GoogleCodeExporter commented 9 years ago
Hi

My big blue button install is disconnecting my host user after they upload a 
document...just at the converting stage.

Looking at the last post on this...can you share what the fixes were please? It 
would be greatly appreciated.

Thanks
Stuart

Original comment by anotherb...@gmail.com on 29 Nov 2013 at 8:52

GoogleCodeExporter commented 9 years ago
Hi Stuart,

Your commenting on a different issue.  Can you post your question to 
BigBlueButton Setup mailing list, see

  http://groups.google.com/group/bigbluebutton-setup/topics?gvc=2

and we'll help you there.

Original comment by ffdi...@blindsidenetworks.com on 29 Nov 2013 at 12:43