You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Sandro Isoletta <sa...@pl.rlp.de> on 2015/07/09 09:28:22 UTC
Can't Upload/Convert Documents (libreoffice? jodconverter?)
Hey, after I could not find a solution for my "HTTP-Error: 302" issue, I
just generated a new VM and installed a new OpenMeetings Instance.
It's working fine and finally I am able to upload pictures (jpg, png and
so on).
But when I try to upload an office document like .doc, .odt, .txt or
.xls I get only an image written "deleted" on it.
My suggestion is that there is something wrong with the path variable,
but I tried a lot of different paths and nothing worked. These are my paths:
swftools_path -> /usr/bin
imagemagick_path -> /usr/bin
sox_path -> /usr/bin
ffmpeg_path -> /usr/bin
office_path -> /usr/bin/libreoffice
jod.path -> /opt/jodconverter/lib
For the office path I also tried: /usr/bin,
/usr/lib/libreoffice/program/soffice and /usr/bin/soffice. No of them
worked.
I've got the jodconverter from here:
https://code.google.com/p/jodconverter/downloads/detail?name=jodconverter-core-3.0-beta-4-dist.zip
and unziped it into /opt/jodconverter
Everything else is working fine, I can upload jpg, png, pdf, mp4... just
the office function will not work.
These are my installed packages, maybe something is missing:
dpkg -l | grep office
ii libreoffice
1:4.3.3-2+deb8u1 amd64 office productivity suite
(metapackage)
ii libreoffice-avmedia-backend-gstreamer
1:4.3.3-2+deb8u1 amd64 GStreamer backend for
LibreOffice
ii libreoffice-base
1:4.3.3-2+deb8u1 amd64 office productivity suite
-- database
ii libreoffice-base-core
1:4.3.3-2+deb8u1 amd64 office productivity suite
-- shared library
ii libreoffice-base-drivers
1:4.3.3-2+deb8u1 amd64 Database connectivity
drivers for LibreOffice
ii libreoffice-calc
1:4.3.3-2+deb8u1 amd64 office productivity suite
-- spreadsheet
ii libreoffice-common
1:4.3.3-2+deb8u1 all office productivity suite
-- arch-independent files
ii libreoffice-core
1:4.3.3-2+deb8u1 amd64 office productivity suite
-- arch-dependent files
ii libreoffice-draw
1:4.3.3-2+deb8u1 amd64 office productivity suite
-- drawing
ii libreoffice-impress
1:4.3.3-2+deb8u1 amd64 office productivity suite
-- presentation
ii libreoffice-java-common
1:4.3.3-2+deb8u1 all office productivity suite
-- arch-independent Java support files
ii libreoffice-math
1:4.3.3-2+deb8u1 amd64 office productivity suite
-- equation editor
ii libreoffice-report-builder-bin
1:4.3.3-2+deb8u1 amd64 LibreOffice component for
building database reports -- libraries
ii libreoffice-sdbc-firebird
1:4.3.3-2+deb8u1 amd64 Firebird SDBC driver for
LibreOffice
ii libreoffice-sdbc-hsqldb
1:4.3.3-2+deb8u1 amd64 HSQLDB SDBC driver for
LibreOffice
ii libreoffice-style-galaxy
1:4.3.3-2+deb8u1 all office productivity suite
-- Galaxy (Default) symbol style
ii libreoffice-writer
1:4.3.3-2+deb8u1 amd64 office productivity suite
-- word processor
dpkg -l | grep jre
rc openjdk-7-jre-headless:amd64
7u79-2.5.5-1~deb8u1 amd64 OpenJDK Java runtime,
using Hotspot JIT (headless)
ii openjdk-8-jre-headless:amd64
8u45-b14-2~bpo8+2 amd64 OpenJDK Java runtime,
using Hotspot JIT (headless)
dpkg -l | grep imagemagick
ii imagemagick
8:6.8.9.9-5 amd64 image manipulation
programs -- binaries
ii imagemagick-6.q16
8:6.8.9.9-5 amd64 image manipulation
programs -- quantum depth Q16
ii imagemagick-common
8:6.8.9.9-5 all image manipulation
programs -- infrastructure
dpkg -l | grep sox
ii libsox-fmt-alsa:amd64
14.4.1-5 amd64 SoX alsa format I/O library
ii libsox-fmt-base:amd64
14.4.1-5 amd64 Minimal set of SoX format
libraries
ii libsox2:amd64
14.4.1-5 amd64 SoX library of audio
effects and processing
ii sox
14.4.1-5 amd64 Swiss army knife of sound
processing
dpkg -l | grep ffmpeg
ii ffmpeg
10:2.6.3-dmo1 amd64 audio/video encoder,
streaming server & audio/video file converter
I have put you the openmeetings.log messages into this email, what is
happening when I try to upload an .odt
Kind Regards
--
Sandro Isoletta
Abteilung 4 Zentrale Dienste und IT-Dienste
Referat 4.07 Schulische IT-Dienstleistungen
PÄDAGOGISCHES LANDESINSTITUT RHEINLAND-PFALZ
Hofstraße 257c
56077 Koblenz
0261 9702 317
it-support@pl.rlp.de
www.pl.rlp.de
Re: Can't Upload/Convert Documents (libreoffice? jodconverter?)
Posted by Maxim Solodovnik <so...@gmail.com>.
usually correct path is determined as follows:
solomax@solomax-desktop-work:~$ locate soffice.bin
/home/solomax/.cache/upstart/update-notifier-crash-_var_crash__usr_lib_libreoffice_program_soffice.bin.1000.crash.log.1.gz
/home/solomax/.cache/upstart/update-notifier-crash-_var_crash__usr_lib_libreoffice_program_soffice.bin.1000.crash.log.2.gz
/home/solomax/.cache/upstart/update-notifier-crash-_var_crash__usr_lib_libreoffice_program_soffice.bin.1000.crash.log.3.gz
*/usr/lib/libreoffice/program/soffice.bin*
in this case office.path will be */usr/lib/libreoffice*
but as first step I would leave it empty and see what will happens
On Thu, Jul 9, 2015 at 1:28 PM, Sandro Isoletta <sa...@pl.rlp.de>
wrote:
> Hey, after I could not find a solution for my "HTTP-Error: 302" issue, I
> just generated a new VM and installed a new OpenMeetings Instance.
> It's working fine and finally I am able to upload pictures (jpg, png and
> so on).
>
> But when I try to upload an office document like .doc, .odt, .txt or
> .xls I get only an image written "deleted" on it.
>
> My suggestion is that there is something wrong with the path variable,
> but I tried a lot of different paths and nothing worked. These are my
> paths:
>
>
> swftools_path -> /usr/bin
> imagemagick_path -> /usr/bin
> sox_path -> /usr/bin
> ffmpeg_path -> /usr/bin
> office_path -> /usr/bin/libreoffice
> jod.path -> /opt/jodconverter/lib
>
>
> For the office path I also tried: /usr/bin,
> /usr/lib/libreoffice/program/soffice and /usr/bin/soffice. No of them
> worked.
> I've got the jodconverter from here:
>
> https://code.google.com/p/jodconverter/downloads/detail?name=jodconverter-core-3.0-beta-4-dist.zip
> and unziped it into /opt/jodconverter
>
> Everything else is working fine, I can upload jpg, png, pdf, mp4... just
> the office function will not work.
>
> These are my installed packages, maybe something is missing:
>
> dpkg -l | grep office
> ii libreoffice
> 1:4.3.3-2+deb8u1 amd64 office productivity suite
> (metapackage)
> ii libreoffice-avmedia-backend-gstreamer
> 1:4.3.3-2+deb8u1 amd64 GStreamer backend for
> LibreOffice
> ii libreoffice-base
> 1:4.3.3-2+deb8u1 amd64 office productivity suite
> -- database
> ii libreoffice-base-core
> 1:4.3.3-2+deb8u1 amd64 office productivity suite
> -- shared library
> ii libreoffice-base-drivers
> 1:4.3.3-2+deb8u1 amd64 Database connectivity
> drivers for LibreOffice
> ii libreoffice-calc
> 1:4.3.3-2+deb8u1 amd64 office productivity suite
> -- spreadsheet
> ii libreoffice-common
> 1:4.3.3-2+deb8u1 all office productivity suite
> -- arch-independent files
> ii libreoffice-core
> 1:4.3.3-2+deb8u1 amd64 office productivity suite
> -- arch-dependent files
> ii libreoffice-draw
> 1:4.3.3-2+deb8u1 amd64 office productivity suite
> -- drawing
> ii libreoffice-impress
> 1:4.3.3-2+deb8u1 amd64 office productivity suite
> -- presentation
> ii libreoffice-java-common
> 1:4.3.3-2+deb8u1 all office productivity suite
> -- arch-independent Java support files
> ii libreoffice-math
> 1:4.3.3-2+deb8u1 amd64 office productivity suite
> -- equation editor
> ii libreoffice-report-builder-bin
> 1:4.3.3-2+deb8u1 amd64 LibreOffice component for
> building database reports -- libraries
> ii libreoffice-sdbc-firebird
> 1:4.3.3-2+deb8u1 amd64 Firebird SDBC driver for
> LibreOffice
> ii libreoffice-sdbc-hsqldb
> 1:4.3.3-2+deb8u1 amd64 HSQLDB SDBC driver for
> LibreOffice
> ii libreoffice-style-galaxy
> 1:4.3.3-2+deb8u1 all office productivity suite
> -- Galaxy (Default) symbol style
> ii libreoffice-writer
> 1:4.3.3-2+deb8u1 amd64 office productivity suite
> -- word processor
>
>
> dpkg -l | grep jre
> rc openjdk-7-jre-headless:amd64
> 7u79-2.5.5-1~deb8u1 amd64 OpenJDK Java runtime,
> using Hotspot JIT (headless)
> ii openjdk-8-jre-headless:amd64
> 8u45-b14-2~bpo8+2 amd64 OpenJDK Java runtime,
> using Hotspot JIT (headless)
>
> dpkg -l | grep imagemagick
> ii imagemagick
> 8:6.8.9.9-5 amd64 image manipulation
> programs -- binaries
> ii imagemagick-6.q16
> 8:6.8.9.9-5 amd64 image manipulation
> programs -- quantum depth Q16
> ii imagemagick-common
> 8:6.8.9.9-5 all image manipulation
> programs -- infrastructure
>
>
> dpkg -l | grep sox
> ii libsox-fmt-alsa:amd64
> 14.4.1-5 amd64 SoX alsa format I/O library
> ii libsox-fmt-base:amd64
> 14.4.1-5 amd64 Minimal set of SoX format
> libraries
> ii libsox2:amd64
> 14.4.1-5 amd64 SoX library of audio
> effects and processing
> ii sox
> 14.4.1-5 amd64 Swiss army knife of sound
> processing
>
>
> dpkg -l | grep ffmpeg
> ii ffmpeg
> 10:2.6.3-dmo1 amd64 audio/video encoder,
> streaming server & audio/video file converter
>
>
> I have put you the openmeetings.log messages into this email, what is
> happening when I try to upload an .odt
>
> Kind Regards
>
> --
> Sandro Isoletta
> Abteilung 4 Zentrale Dienste und IT-Dienste
> Referat 4.07 Schulische IT-Dienstleistungen
> PÄDAGOGISCHES LANDESINSTITUT RHEINLAND-PFALZ
>
>
> Hofstraße 257c
> 56077 Koblenz
> 0261 9702 317
> it-support@pl.rlp.de
> www.pl.rlp.de
>
>
>
>
--
WBR
Maxim aka solomax
Re: Can't Upload/Convert Documents (libreoffice? jodconverter?)
Posted by Sandro Isoletta <sa...@pl.rlp.de>.
Thank you very much!
I've left the path empty and now it's working corectly!
Best regards
--
Sandro Isoletta
Abteilung 4 Zentrale Dienste und IT-Dienste
Referat 4.07 Schulische IT-Dienstleistungen
PÄDAGOGISCHES LANDESINSTITUT RHEINLAND-PFALZ
Hofstraße 257c
56077 Koblenz
0261 9702 317
it-support@pl.rlp.de
www.pl.rlp.de
Am 09.07.2015 um 10:24 schrieb Maxim Solodovnik:
> usually correct path is determined as follows:
>
> solomax@solomax-desktop-work:~$ locate soffice.bin
> /home/solomax/.cache/upstart/update-notifier-crash-_var_crash__usr_lib_libreoffice_program_soffice.bin.1000.crash.log.1.gz
> /home/solomax/.cache/upstart/update-notifier-crash-_var_crash__usr_lib_libreoffice_program_soffice.bin.1000.crash.log.2.gz
> /home/solomax/.cache/upstart/update-notifier-crash-_var_crash__usr_lib_libreoffice_program_soffice.bin.1000.crash.log.3.gz
> */usr/lib/libreoffice/program/soffice.bin*
>
> in this case office.path will be */usr/lib/libreoffice*
>
> but as first step I would leave it empty and see what will happens
>
>
>
> On Thu, Jul 9, 2015 at 1:28 PM, Sandro Isoletta
> <sandro.isoletta@pl.rlp.de <ma...@pl.rlp.de>> wrote:
>
> Hey, after I could not find a solution for my "HTTP-Error: 302"
> issue, I
> just generated a new VM and installed a new OpenMeetings Instance.
> It's working fine and finally I am able to upload pictures (jpg,
> png and
> so on).
>
> But when I try to upload an office document like .doc, .odt, .txt or
> .xls I get only an image written "deleted" on it.
>
> My suggestion is that there is something wrong with the path variable,
> but I tried a lot of different paths and nothing worked. These are
> my paths:
>
>
> swftools_path -> /usr/bin
> imagemagick_path -> /usr/bin
> sox_path -> /usr/bin
> ffmpeg_path -> /usr/bin
> office_path -> /usr/bin/libreoffice
> jod.path -> /opt/jodconverter/lib
>
>
> For the office path I also tried: /usr/bin,
> /usr/lib/libreoffice/program/soffice and /usr/bin/soffice. No of them
> worked.
> I've got the jodconverter from here:
> https://code.google.com/p/jodconverter/downloads/detail?name=jodconverter-core-3.0-beta-4-dist.zip
> and unziped it into /opt/jodconverter
>
> Everything else is working fine, I can upload jpg, png, pdf,
> mp4... just
> the office function will not work.
>
> These are my installed packages, maybe something is missing:
>
> dpkg -l | grep office
> ii libreoffice
> 1:4.3.3-2+deb8u1 amd64 office productivity
> suite
> (metapackage)
> ii libreoffice-avmedia-backend-gstreamer
> 1:4.3.3-2+deb8u1 amd64 GStreamer backend for
> LibreOffice
> ii libreoffice-base
> 1:4.3.3-2+deb8u1 amd64 office productivity
> suite
> -- database
> ii libreoffice-base-core
> 1:4.3.3-2+deb8u1 amd64 office productivity
> suite
> -- shared library
> ii libreoffice-base-drivers
> 1:4.3.3-2+deb8u1 amd64 Database connectivity
> drivers for LibreOffice
> ii libreoffice-calc
> 1:4.3.3-2+deb8u1 amd64 office productivity
> suite
> -- spreadsheet
> ii libreoffice-common
> 1:4.3.3-2+deb8u1 all office productivity
> suite
> -- arch-independent files
> ii libreoffice-core
> 1:4.3.3-2+deb8u1 amd64 office productivity
> suite
> -- arch-dependent files
> ii libreoffice-draw
> 1:4.3.3-2+deb8u1 amd64 office productivity
> suite
> -- drawing
> ii libreoffice-impress
> 1:4.3.3-2+deb8u1 amd64 office productivity
> suite
> -- presentation
> ii libreoffice-java-common
> 1:4.3.3-2+deb8u1 all office productivity
> suite
> -- arch-independent Java support files
> ii libreoffice-math
> 1:4.3.3-2+deb8u1 amd64 office productivity
> suite
> -- equation editor
> ii libreoffice-report-builder-bin
> 1:4.3.3-2+deb8u1 amd64 LibreOffice
> component for
> building database reports -- libraries
> ii libreoffice-sdbc-firebird
> 1:4.3.3-2+deb8u1 amd64 Firebird SDBC
> driver for
> LibreOffice
> ii libreoffice-sdbc-hsqldb
> 1:4.3.3-2+deb8u1 amd64 HSQLDB SDBC driver for
> LibreOffice
> ii libreoffice-style-galaxy
> 1:4.3.3-2+deb8u1 all office productivity
> suite
> -- Galaxy (Default) symbol style
> ii libreoffice-writer
> 1:4.3.3-2+deb8u1 amd64 office productivity
> suite
> -- word processor
>
>
> dpkg -l | grep jre
> rc openjdk-7-jre-headless:amd64
> 7u79-2.5.5-1~deb8u1 amd64 OpenJDK Java runtime,
> using Hotspot JIT (headless)
> ii openjdk-8-jre-headless:amd64
> 8u45-b14-2~bpo8+2 amd64 OpenJDK Java runtime,
> using Hotspot JIT (headless)
>
> dpkg -l | grep imagemagick
> ii imagemagick
> 8:6.8.9.9-5 amd64 image manipulation
> programs -- binaries
> ii imagemagick-6.q16
> 8:6.8.9.9-5 amd64 image manipulation
> programs -- quantum depth Q16
> ii imagemagick-common
> 8:6.8.9.9-5 all image manipulation
> programs -- infrastructure
>
>
> dpkg -l | grep sox
> ii libsox-fmt-alsa:amd64
> 14.4.1-5 amd64 SoX alsa format I/O
> library
> ii libsox-fmt-base:amd64
> 14.4.1-5 amd64 Minimal set of SoX
> format
> libraries
> ii libsox2:amd64
> 14.4.1-5 amd64 SoX library of audio
> effects and processing
> ii sox
> 14.4.1-5 amd64 Swiss army knife of
> sound
> processing
>
>
> dpkg -l | grep ffmpeg
> ii ffmpeg
> 10:2.6.3-dmo1 amd64 audio/video encoder,
> streaming server & audio/video file converter
>
>
> I have put you the openmeetings.log messages into this email, what is
> happening when I try to upload an .odt
>
> Kind Regards
>
> --
> Sandro Isoletta
> Abteilung 4 Zentrale Dienste und IT-Dienste
> Referat 4.07 Schulische IT-Dienstleistungen
> PÄDAGOGISCHES LANDESINSTITUT RHEINLAND-PFALZ
>
>
> Hofstraße 257c
> 56077 Koblenz
> 0261 9702 317
> it-support@pl.rlp.de <ma...@pl.rlp.de>
> www.pl.rlp.de <http://www.pl.rlp.de>
>
>
>
>
>
>
> --
> WBR
> Maxim aka solomax