Hello All,

I've just test using OM-docker and the command seems to be exactly the same

could you please check if your Ubuntu 22.04 has these packages installed:

imagemagick-6-common/now 8:6.9.12.98+dfsg1-5.2build2 all [installed,local]
imagemagick-6.q16/now 8:6.9.12.98+dfsg1-5.2build2 amd64 [installed,local]
imagemagick/now 8:6.9.12.98+dfsg1-5.2build2 amd64 [installed,local]
ghostscript/now 10.02.1~dfsg1-0ubuntu7.8 amd64 [installed,local]

`apt list --installed|grep image`
`apt list --installed|grep ghost`


On Mon, 1 Dec 2025 at 02:20, K. Kamhamea <[email protected]> wrote:

> Sorry missed the second part:
> $ lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description:    Ubuntu 22.04.4 LTS
> Release:        22.04
> Codename:       jammy
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> Virenfrei.www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> <#m_-7167224186156184549_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> Am Sa., 29. Nov. 2025 um 13:57 Uhr schrieb Alvaro <[email protected]>:
>
>> ...may be ImageMagick has an update and need
>> repeat the configuration to solve the question.
>>
>> Would be good to know wich is your OS server.
>>
>>
>> --------
>>
>>
>>
>> On Sat, 29 Nov 2025 19:42:30 +0700
>> Maxim Solodovnik <[email protected]> wrote:
>>
>> > Hello :))
>> >
>> > On Sat, 29 Nov 2025 at 19:01, K. Kamhamea <[email protected]>
>> wrote:
>> >
>> > > I admit   I see a strange behavior I still use an older OM version
>> which
>> > > is fine for all my purposes.
>> > >
>> > > About 2 weeks ago I uploaded a pdf to my whiteboard and everything
>> was OK.
>> > > But now I get an error even if I try to upload the same file again.
>> > >
>> > > process: convert PDF to images
>> > > command: convert -density 150 -define pdf:use-cropbox=true
>> > >
>> /opt/om_data/upload/files/2ed1e520-ae10-4637-ba99-f0e235e56022/2ed1e520-ae10-4637-ba99-f0e235e56022.pdf
>> > > +profile '*' -quality 90
>> > >
>> /opt/om_data/upload/files/2ed1e520-ae10-4637-ba99-f0e235e56022/page-%04d.png
>> > >
>> >
>> > Could you please run the above command as `nobody` user?
>> >
>> > i.e.
>> >
>> > `sudo -u nobody convert -density 150 -define pdf:use-cropbox=true
>> >
>> /opt/om_data/upload/files/2ed1e520-ae10-4637-ba99-f0e235e56022/2ed1e520-ae10-4637-ba99-f0e235e56022.pdf
>> > +profile '*' -quality 90
>> >
>> /opt/om_data/upload/files/2ed1e520-ae10-4637-ba99-f0e235e56022/page-%04d.png`
>> >
>> > What would be result?
>> >
>> > exception: java.io.IOException: Cannot run program "convert": error=0,
>> > > Failed to exec spawn helper: pid: 2594625, exit value: 1
>> > > error: Exception after 00:00:00.001 of work; Cannot run program
>> "convert":
>> > > error=0, Failed to exec spawn helper: pid: 2594625, exit value: 1
>> > > exitValue: -1
>> > > optional: false
>> > > out:
>> > >
>> > > I testet the convert function and it is still present. I can use it
>> from
>> > > any user. I changed permission of the upload folder from nobody:root
>> to
>> > > nobody:nogroup but nothing changed
>> > >
>> > > I hope you know a solution.
>> > >
>> > >
>> > > <
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>> >
>> > > Virenfrei.www.avast.com
>> > > <
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>> >
>> > > <#m_-508262369541591607_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>> > >
>> >
>> >
>> > --
>> > Best regards,
>> > Maxim
>>
>>
>>
>>

-- 
Best regards,
Maxim

Reply via email to