Re: conversion of pdfs in OM 4.9 error - fixed

2019-06-03 Thread Denis Noctor
Apologies Maxim, I will open my query on a new thread as I am running
5.0.0-M2-SNAPSHOT.


Virus-free.
www.avg.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Mon, Jun 3, 2019 at 12:10 AM Maxim Solodovnik 
wrote:

> Hello Denis,
>
> Are you sure you are having 4.9?
> If so why do you have Kurento?
>
> Is this issue reproducible on our demo server?
>
>
> On Sun, 2 Jun 2019 at 15:06, Denis Noctor  wrote:
>
>> Hi there Maxim,
>>
>> I am torn between whether to write to this reply or a reply you sent me
>> regarding my last email about conversion. I double checked to make sure I
>> had ImageMagic / Ghostscript / LibreOfffice and so on install correctly.
>>
>> I know this probably sounds silly... but the only way I can upload a file
>> to the Whiteboard is to reboot my server, restart MySQL, Kurento and then
>> Tomcat... Once I upload a file whether it be doc, pdf, jpg and so on...
>> the only way I can do an additional upload is to reboot and restart all the
>> services... if I do a second upload... everything hangs on the "converting
>> stage"... (Ubuntu 18.04.02).
>>
>> Any suggestions or recommendations would be appreciated.
>>
>> All the best.
>>
>> Denis
>>
>>
>> 
>>  Virus-free.
>> www.avg.com
>> 
>> <#m_-1681068160787550080_m_2697338087158701417_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>> On Sat, Jun 1, 2019 at 11:38 PM Maxim Solodovnik 
>> wrote:
>>
>>> Thanks for sharing
>>> It is known issue, since vulnerability was found in ghost script
>>>
>>> On Sun, 2 Jun 2019 at 09:45, Daniel Baker 
>>> wrote:
>>> >
>>> > When installing  4.0.9-SNAPSHOT  on Ubuntu 18.04  I needed to change
>>> imagemagic etc/ImageMagick/policy.xml to make conversions  of pdfs  work
>>> correctly.
>>> >
>>> > NameOpenMeetings
>>> > Version4.0.9-SNAPSHOT
>>> > Revisionbaa27c7
>>> > Build date2019-05-30T03:16:00Z
>>> >
>>> >
>>> >
>>> > Distributor ID: Ubuntu
>>> > Description:Ubuntu 18.04.2 LTS
>>> > Release:18.04
>>> > Codename:   bionic
>>> >
>>> >
>>> >
>>> >
>>> https://stackoverflow.com/questions/42928765/convertnot-authorized--error-constitute-c-readimage-453
>>> >
>>> >
>>> > Thanks,
>>> >
>>> >
>>> > Dan
>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>
> --
> WBR
> Maxim aka solomax
>


Re: conversion of pdfs in OM 4.9 error - fixed

2019-06-03 Thread Maxim Solodovnik
That's OK

recently I modified upload dialog behavior (JIRA OPENMEETINGS-2055, both
branches),
This is why I'm asking to check upload dialog on our demo


On Mon, 3 Jun 2019 at 19:56, Denis Noctor  wrote:

> Apologies Maxim, I will open my query on a new thread as I am running
> 5.0.0-M2-SNAPSHOT.
>
>
> 
>  Virus-free.
> www.avg.com
> 
> <#m_1257392227173723162_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> On Mon, Jun 3, 2019 at 12:10 AM Maxim Solodovnik 
> wrote:
>
>> Hello Denis,
>>
>> Are you sure you are having 4.9?
>> If so why do you have Kurento?
>>
>> Is this issue reproducible on our demo server?
>>
>>
>> On Sun, 2 Jun 2019 at 15:06, Denis Noctor  wrote:
>>
>>> Hi there Maxim,
>>>
>>> I am torn between whether to write to this reply or a reply you sent me
>>> regarding my last email about conversion. I double checked to make sure I
>>> had ImageMagic / Ghostscript / LibreOfffice and so on install correctly.
>>>
>>> I know this probably sounds silly... but the only way I can upload a
>>> file to the Whiteboard is to reboot my server, restart MySQL, Kurento and
>>> then Tomcat... Once I upload a file whether it be doc, pdf, jpg and so
>>> on... the only way I can do an additional upload is to reboot and restart
>>> all the services... if I do a second upload... everything hangs on the
>>> "converting stage"... (Ubuntu 18.04.02).
>>>
>>> Any suggestions or recommendations would be appreciated.
>>>
>>> All the best.
>>>
>>> Denis
>>>
>>>
>>> 
>>>  Virus-free.
>>> www.avg.com
>>> 
>>> <#m_1257392227173723162_m_-1681068160787550080_m_2697338087158701417_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>
>>> On Sat, Jun 1, 2019 at 11:38 PM Maxim Solodovnik 
>>> wrote:
>>>
 Thanks for sharing
 It is known issue, since vulnerability was found in ghost script

 On Sun, 2 Jun 2019 at 09:45, Daniel Baker 
 wrote:
 >
 > When installing  4.0.9-SNAPSHOT  on Ubuntu 18.04  I needed to change
 imagemagic etc/ImageMagick/policy.xml to make conversions  of pdfs  work
 correctly.
 >
 > NameOpenMeetings
 > Version4.0.9-SNAPSHOT
 > Revisionbaa27c7
 > Build date2019-05-30T03:16:00Z
 >
 >
 >
 > Distributor ID: Ubuntu
 > Description:Ubuntu 18.04.2 LTS
 > Release:18.04
 > Codename:   bionic
 >
 >
 >
 >
 https://stackoverflow.com/questions/42928765/convertnot-authorized--error-constitute-c-readimage-453
 >
 >
 > Thanks,
 >
 >
 > Dan



 --
 WBR
 Maxim aka solomax

>>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>

-- 
WBR
Maxim aka solomax


File Upload Converting Issue - Ubuntu 18.04.2 LTS - 5.0.0-M2-SNAPSHOT

2019-06-03 Thread Denis Noctor
Hi there Maxim,

I am running 2 different AWS instances (both with Ubunto 18.04.2 LTS) – the
only difference being is that one is running  5.0.0-M2-SNAPSHOT (Revision -
85daa3b /Build date 2019-05-13T16:53:23Z) and the other is running
5.0.0-M2-SNAPSHOT (Revision - 1c16b6d /Build date 2019-05-19T13:29:29Z)

The first one is setup using  NUMB TURNSERVER and as a result audio and
video is working as expected (solving the whole NAT issue I had some time
back).
Both installations are based on Alvaro’s version 9 instructions
“Installation of Apache OpenMeetings 5.0.0 M1 on Ubuntu 18.04 LTS” … with
the exception of installing the 5.0.0-M2-SNAPSHOTS… on Ubunto 18.04.2 LTS.
When I try upload files to “My Files” / the whiteboard, everything seems to
“hang” on the “Converting…” pop up stage. When I press “cancel” in the pop
up box, the box closes though there still appears be some activity in the
background as there is still a “spinning” arrow. When I exit the room
sometimes get an “Internal Error – Return to home page”
(https://./openmeetings/wicket/bookmarkable/org.apache.wicket.markup.html.pages.InternalErrorPage)


This is why I set up a second AWS instance to double check installation –
however, in the second installation I have the same “converting” issues.

However, sometimes if I reboot the instances, restarting MySql, Kurento and
Tomcat3 (in this order), I can sometimes upload *ONE* document (jpg, ppt,
doc etc.) but when I try to upload another file, everything is stuck on the
“converting” process until I cancel.

I am curious to know if there are other users using Ubuntu 18.04.2 LTS (AWS
instance) and if they are having a similar problem as I am beginning to
think this is unique to 18.04.2 LTS (and not 18.04).
For reference the following are installed:
ImageMagick - Version: ImageMagick 6.9.7-4 Q16 x86_64 20170114
Ghostscript – Version: GPL Ghostscript 9.26 (2018-11-20)
LibreOffice  - Version: 6.2.4.2 20(Build:2)

/etc/ImageMagick-6/policy.xml has been edited to comment out the following:



Any feedback would be appreciated.

All the best.

Denis


Virus-free.
www.avg.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>