BBB 2.3 "Failed to process office document. Please upload a PDF instead"

406 views
Skip to first unread message

davorb...@gmail.com

unread,
May 10, 2021, 12:08:54 PM5/10/21
to BigBlueButton-Setup
Hey guys,

Is anyone else having issues with document conversion? I'm seeing this error below when I try to upload any non-pdf document:

preuzmi (1).png
Screenshot_43.png
Screenshot_44.png
No errors with bbb-conf --check. I installed 2.3 with install script on clean Ubuntu 18.04 bare metal dedicated server.

Is there anything else I can check?

Thank you!

davorb...@gmail.com

unread,
May 12, 2021, 1:47:12 PM5/12/21
to BigBlueButton-Setup
I've followed some advices I could find on the internet (https://github.com/bigbluebutton/bigbluebutton/issues/11089), and it looks like bbb-libreoffice service is not running on my server.

# docker build -t bbb-libreoffice docker/
Sending build context to Docker daemon  2.048kB
Step 1/6 : FROM openjdk:11-jre
 ---> b1c114f22fc7
Step 2/6 : ENV DEBIAN_FRONTEND noninteractive
 ---> Using cache
 ---> c0e7cec2fa94
Step 3/6 : RUN echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list
 ---> Using cache
 ---> ee87e14bdf10
Step 4/6 : RUN apt update
 ---> Using cache
 ---> 796a52c42a39
Step 5/6 : RUN apt -y install locales-all fontconfig libxt6 libxrender1
 ---> Using cache
 ---> 91a03db01069
Step 6/6 : RUN apt install -y -t buster-backports libreoffice
 ---> Using cache
 ---> 513f1d4da2ad
Successfully built 513f1d4da2ad
Successfully tagged bbb-libreoffice:latest


# /usr/share/bbb-libreoffice # docker image list bbb-libreoffice
REPOSITORY        TAG       IMAGE ID       CREATED        SIZE
bbb-libreoffice   latest    513f1d4da2ad   30 hours ago   2.13GB


# /usr/share/bbb-libreoffice# systemctl restart bbb-lib...@1.service bbb-lib...@2.service bbb-lib...@3.service bbb-lib...@4.service
Failed to restart bbb-lib...@1.service: Unit bbb-lib...@1.service not found.
Failed to restart bbb-lib...@2.service: Unit bbb-lib...@2.service not found.
Failed to restart bbb-lib...@3.service: Unit bbb-lib...@3.service not found.
Failed to restart bbb-lib...@4.service: Unit bbb-lib...@4.service not found.

(it says "Failed to start" if I use systemctl start)

Can someone just tell me how to run these four services? Because document conversion is still not working on newly installed bbb 2.3.

Thanks in advance guys!

daniel1s...@gmail.com

unread,
May 13, 2021, 3:22:19 AM5/13/21
to BigBlueButton-Setup
Is it really bbb-libreoffice?
Looks more like bbb-soffice on my site (bbb 2.3.1)
# docker image list bbb-soffice
REPOSITORY    TAG       IMAGE ID       CREATED      SIZE
bbb-soffice   latest    7f4cf3980247   5 days ago   2.13GB

I also have no bbb-libreoffice (or bbb-soffice) service on my system.

Maybe you can try
apt-get --reinstall install bbb-libreoffice-docker

Bye

davorb...@gmail.com

unread,
May 13, 2021, 6:24:14 AM5/13/21
to BigBlueButton-Setup
Thank you very much for your response. You've been correct about the bbb-libreoffice and bbb-soffice. However, it didn't solve the issue, documents are still failing to convert.

What I did was I've removed all manually installed bbb-libreoffice containers and images on docker, reinstalled docker-compose and trigger reinstall of bbb-libreoffice-docker

# docker container kill $some_id
# docker image rm $some_id
# sudo service docker restart
# apt-get --reinstall install bbb-libreoffice-docker
# bbb-conf --restart

after that I see this:

# docker-compose -v
docker-compose version 1.29.2, build 5becea4c

# docker -v
Docker version 20.10.6, build 370c289

# docker image ls
REPOSITORY    TAG           IMAGE ID       CREATED          SIZE
bbb-soffice   latest        acdc969a235f   10 minutes ago   2.13GB

Reinstallation of bbb-libreoffice-docker took some time, but it successfully installed

Successfully built acdc969a235f
Successfully tagged bbb-soffice:latest

But still failing to convert documents in BBB :/

Any other advice I can try?

davorb...@gmail.com

unread,
May 13, 2021, 6:28:58 AM5/13/21
to BigBlueButton-Setup
PS. I tried with jpg, png images and no issues or whatsoever, only office documents are failing to convert

Screenshot_42.png

Screenshot_43.png

anton.g...@blindsidenetworks.com

unread,
May 13, 2021, 11:01:23 AM5/13/21
to BigBlueButton-Setup
Hi davorb...,

Please list the conversion scripts
$ ls -la /usr/share/bbb-libreoffice-conversion/

We want to check how old the bbb-soffice image is
$ docker images


Please list the exact version of BigBlueButton
$ bbb-conf --version

Please list the version of package bbb-libreoffice-docker
$ dpkg -l | grep bbb-libreoffice*


Quite a few things changed with bbb-libreoffice-docker in the last few iterations of BBB 2.3 but the systems I have access to seem to operate the conversion correctly.

Regards,
-Anton

davorb...@gmail.com

unread,
May 13, 2021, 11:23:41 AM5/13/21
to BigBlueButton-Setup
Once again, thank you for your response and for helping me. Here is it:

# ls -la /usr/share/bbb-libreoffice-conversion/
total 20
drwxr-xr-x   2 root root 4096 May 13 12:06 .
drwxr-xr-x 157 root root 4096 May 13 11:50 ..
-rwxr-xr-x   1 root root 1260 Apr 30 00:14 convert-local.sh
-rwxr-xr-x   1 root root  936 Apr 30 00:14 convert-remote.sh
lrwxrwxrwx   1 root root   54 May  9 09:11 convert.sh -> /usr/share/bbb-libreoffice-conversion/convert-local.sh
-rwxr-xr-x   1 root root  347 Apr 30 00:14 etherpad-export.sh

# docker images
REPOSITORY                 TAG           IMAGE ID       CREATED       SIZE
bbb-soffice                latest        acdc969a235f   5 hours ago   2.13GB
bigbluebutton/greenlight   v2            f4110e8a5165   6 days ago    240MB
openjdk                    11-jre        b1c114f22fc7   3 weeks ago   301MB
postgres                   13.2-alpine   e43172f9204f   4 weeks ago   160MB

# dpkg -l | grep bbb-libreoffice*
ii  bbb-libreoffice-docker                 1:2.3.0-53                                      amd64        BigBlueButton setup for LibreOffice running in docker

I assume these are the latest versions?
Reply all
Reply to author
Forward
0 new messages