Skip to content

presentation conversion fails after update to 2.2.17 #9867

@rottaran

Description

@rottaran

Describe the bug
The default presentation is no longer shown. Uploading a new presentation PDF hangs without error message in the HTML5 client.

To Reproduce
Steps to reproduce the behavior:

  1. update BBB to 2.2.17
  2. start a session
  3. no default presentation slides are visible

/var/log/syslog

Jun 17 19:50:13  run-prod.sh[1829]: 2020-06-17T19:50:13.409+02:00 INFO  o.b.p.DocumentConversionServiceImp -  --analytics--data={"current":true,"filename":"default.pdf","logCode":"presentation_conversion_start","authzToken":"preupload-download-authz-token","meetingId":"736ba4c820f3415549098a42a0ecf8b5ae148ba2-1592416207749"
,"message":"Start presentation conversion.","podId":"DEFAULT_PRESENTATION_POD","presId":"d2d9a672040fbde2a47a10
bf6c37b6a4b5ae187f-1592416208394"}
Jun 17 19:50:13  run-prod.sh[1829]: Exception in thread "default.pdf" java.lang.NullPointerException
Jun 17 19:50:13  run-prod.sh[1829]: #011at org.bigbluebutton.presentation.SupportedDocumentFilter.isSupported(SupportedDocumentFilter.java:42)
Jun 17 19:50:13  run-prod.sh[1829]: #011at org.bigbluebutton.presentation.DocumentConversionServiceImp.processDocumentStart(DocumentConversionServiceImp.java:59)
Jun 17 19:50:13  run-prod.sh[1829]: #011at org.bigbluebutton.presentation.DocumentConversionServiceImp.processDocument(DocumentConversionServiceImp.java:54)
Jun 17 19:50:13  run-prod.sh[1829]: #011at org.bigbluebutton.presentation.DocumentConversionService$processDocument.call(Unknown Source)
Jun 17 19:50:13  run-prod.sh[1829]: #011at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
Jun 17 19:50:13  run-prod.sh[1829]: #011at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
Jun 17 19:50:13  run-prod.sh[1829]: #011at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
Jun 17 19:50:13  run-prod.sh[1829]: #011at org.bigbluebutton.web.services.PresentationService$_closure5$_closure16.doCall(PresentationService.groovy:85)
Jun 17 19:50:13  run-prod.sh[1829]: #011at org.bigbluebutton.web.services.PresentationService$_closure5$_closure16.doCall(PresentationService.groovy)
Jun 17 19:50:13  run-prod.sh[1829]: #011at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Jun 17 19:50:13  run-prod.sh[1829]: #011at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Jun 17 19:50:13  run-prod.sh[1829]: #011at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Jun 17 19:50:13  run-prod.sh[1829]: #011at java.lang.reflect.Method.invoke(Method.java:498)
Jun 17 19:50:13  run-prod.sh[1829]: #011at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
Jun 17 19:50:13  run-prod.sh[1829]: #011at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
Jun 17 19:50:13  run-prod.sh[1829]: #011at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264)
Jun 17 19:50:13  run-prod.sh[1829]: #011at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
Jun 17 19:50:13  run-prod.sh[1829]: #011at groovy.lang.Closure.call(Closure.java:418)
Jun 17 19:50:13  run-prod.sh[1829]: #011at groovy.lang.Closure.call(Closure.java:412)
Jun 17 19:50:13  run-prod.sh[1829]: #011at org.codehaus.groovy.runtime.DefaultGroovyMethods$2.run(DefaultGroovyMethods.java:15553)
Jun 17 19:50:13  run-prod.sh[1829]: #011at java.util.TimerThread.mainLoop(Timer.java:555)
Jun 17 19:50:13  run-prod.sh[1829]: #011at java.util.TimerThread.run(Timer.java:505)

bbb-conf --check

bbb-conf --check

BigBlueButton Server 2.2.17 (2034)
                    Kernel version: 4.15.0-106-generic
                      Distribution: Ubuntu 16.04.6 LTS (64-bit)
                            Memory: 16359 MB
                         CPU cores: 8

/usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties (bbb-web)
       bigbluebutton.web.serverURL: https://bbb.XXX.de
                defaultGuestPolicy: ALWAYS_ACCEPT
                 svgImagesRequired: true

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: bbb.XXX.de
                              port: 80, [::]:80
                              port: 443 ssl
                    bbb-client dir: /var/www/bigbluebutton

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
                Port test (tunnel): rtmp://bbb.XXX.de
                              red5: bbb.XXX.de
              useWebrtcIfAvailable: true

/opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)
                       local_ip_v4: XXX
                   external_rtp_ip: XXX
                   external_sip_ip: XXX

/opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (FreeSWITCH)
                        ext-rtp-ip: $${local_ip_v4}
                        ext-sip-ip: $${local_ip_v4}
                        ws-binding: :5066
                       wss-binding: XXX:7443

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback_host: bbb.XXX.de
                 playback_protocol: https
                            ffmpeg: 4.2.2-1bbb1~ubuntu16.04

/etc/bigbluebutton/nginx/sip.nginx (sip.nginx)
                        proxy_pass: XXX

/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento SFU)
                        kurento.ip: XXX
                       kurento.url: ws://127.0.0.1:8888/kurento
                    kurento.sip_ip: XXX
                    localIpAddress: XXX
               recordScreenSharing: true
                     recordWebcams: true
                  codec_video_main: VP8
               codec_video_content: VP8

/usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml (HTML5 client)
                             build: 937
                        kurentoUrl: wss://bbb.XXX.de/bbb-webrtc-sfu
                  enableListenOnly: true


# Potential problems described below

bbb-conf --status

nginx —————————————————► [✔ - active]
freeswitch ————————————► [✔ - active]
redis-server ——————————► [✔ - active]
bbb-apps-akka —————————► [✔ - active]
bbb-transcode-akka ————► [✔ - active]
bbb-fsesl-akka ————————► [✔ - active]
red5 ——————————————————► [✔ - active]
mongod ————————————————► [✔ - active]
bbb-html5 —————————————► [✔ - active]
bbb-webrtc-sfu ————————► [✔ - active]
kurento-media-server ——► [✔ - active]
etherpad ——————————————► [✔ - active]
bbb-web ———————————————► [✔ - active]
bbb-webhooks ——————————► [✔ - active]

ps aux contains

bigblue+  4427  0.0  0.4 940172 76952 ?        Sl   19:40   0:00 /usr/lib/libreoffice/program/soffice.bin --accept=socket,host=127.0.0.1,port=8100,tcpNoDelay=1;urp;StarOffice.ServiceManager --headless --invisible --nocrashreport --nodefault --nofirststartwizard --nolockcheck --nologo --norestore -env:UserInstallation=file:///tmp/.jodconverter_socket_host-127.0.0.1_port-8100_tcpNoDelay-1
bigblue+  4500  0.0  0.4 940176 76676 ?        Sl   19:40   0:00 /usr/lib/libreoffice/program/soffice.bin --accept=socket,host=127.0.0.1,port=8101,tcpNoDelay=1;urp;StarOffice.ServiceManager --headless --invisible --nocrashreport --nodefault --nofirststartwizard --nolockcheck --nologo --norestore -env:UserInstallation=file:///tmp/.jodconverter_socket_host-127.0.0.1_port-8101_tcpNoDelay-1
bigblue+  4586  0.0  0.4 940176 76436 ?        Sl   19:40   0:00 /usr/lib/libreoffice/program/soffice.bin --accept=socket,host=127.0.0.1,port=8102,tcpNoDelay=1;urp;StarOffice.ServiceManager --headless --invisible --nocrashreport --nodefault --nofirststartwizard --nolockcheck --nologo --norestore -env:UserInstallation=file:///tmp/.jodconverter_socket_host-127.0.0.1_port-8102_tcpNoDelay-1
bigblue+  4650  0.0  0.4 940172 76760 ?        Sl   19:41   0:00 /usr/lib/libreoffice/program/soffice.bin --accept=socket,host=127.0.0.1,port=8103,tcpNoDelay=1;urp;StarOffice.ServiceManager --headless --invisible --nocrashreport --nodefault --nofirststartwizard --nolockcheck --nologo --norestore -env:UserInstallation=file:///tmp/.jodconverter_socket_host-127.0.0.1_port-8103_tcpNoDelay-1
bigblue+  4718  0.0  0.4 940172 76872 ?        Sl   19:41   0:00 /usr/lib/libreoffice/program/soffice.bin --accept=socket,host=127.0.0.1,port=8104,tcpNoDelay=1;urp;StarOffice.ServiceManager --headless --invisible --nocrashreport --nodefault --nofirststartwizard --nolockcheck --nologo --norestore -env:UserInstallation=file:///tmp/.jodconverter_socket_host-127.0.0.1_port-8104_tcpNoDelay-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions