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

> I found the solution :-)
>
>
Great news!
Thanks for sharing :))


> sudo chmod -R 750 ./om_data/
> sudo chown -R nobody ./om_data/
> sudo /etc/init.d/tomcat34 start
>
> Everything is back to normal. What changed the permission, I don't know. BTW 
> I use OM 7.2
>
> Thank You.
>
>
>
>
> <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_5216380228890712240_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> Am Mo., 1. Dez. 2025 um 10:27 Uhr schrieb K. Kamhamea <
> [email protected]>:
>
>> >  Is this issue reproducible with any PDF file?
>>
>> Yes, and even with the same file it definitely worked two weeks ago.
>> Tat's the strangest thing of all as I didn't change anything in the
>> system.
>>
>>
>> <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_5216380228890712240_m_8010147626056369206_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>> Am Mo., 1. Dez. 2025 um 08:04 Uhr schrieb Maxim Solodovnik <
>> [email protected]>:
>>
>>> Is this issue reproducible with any PDF file?
>>>
>>>
>>> On Mon, 1 Dec 2025 at 13:39, K. Kamhamea <[email protected]>
>>> wrote:
>>>
>>>> apt list --installed|grep image
>>>>
>>>> WARNING: apt does not have a stable CLI interface. Use with caution in
>>>> scripts.
>>>>
>>>> imagemagick-6-common/jammy-updates,jammy-security,jammy-updates,jammy-security,now
>>>> 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5 all [installed,automatic]
>>>> imagemagick-6.q16/jammy-updates,jammy-security,jammy-updates,jammy-security,now
>>>> 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5 amd64 [installed,automatic]
>>>> imagemagick/jammy-updates,jammy-security,jammy-updates,jammy-security,now
>>>> 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5 amd64 [installed]
>>>> libsdl-image1.2/jammy,jammy,now 1.2.12-13build1 amd64
>>>> [installed,automatic]
>>>> libxcb-image0/jammy,jammy,now 0.4.0-2 amd64 [installed,automatic]
>>>> linux-image-5.15.0-130-generic/jammy-updates,jammy-security,jammy-updates,jammy-security,now
>>>> 5.15.0-130.140 amd64 [installed,automatic]
>>>> linux-image-5.15.0-161-generic/jammy-updates,jammy-security,jammy-updates,jammy-security,now
>>>> 5.15.0-161.171 amd64 [installed,automatic]
>>>> linux-image-generic/jammy-updates,jammy-security,jammy-updates,jammy-security,now
>>>> 5.15.0.161.157 amd64 [installed]
>>>>
>>>> apt list --installed|grep ghost
>>>>
>>>> WARNING: apt does not have a stable CLI interface. Use with caution in
>>>> scripts.
>>>>
>>>> ghostscript/jammy-updates,jammy-security,jammy-updates,jammy-security,now
>>>> 9.55.0~dfsg1-0ubuntu5.13 amd64 [installed,automatic]
>>>>
>>>> It seems I use an older version, but I have to remind that it worked
>>>> two weeks ago.
>>>>
>>>>
>>>> <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_5216380228890712240_m_8010147626056369206_m_6621917684049173449_m_2429022532434715543_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>>
>>>> Am Mo., 1. Dez. 2025 um 07:21 Uhr schrieb Maxim Solodovnik <
>>>> [email protected]>:
>>>>
>>>>> 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_5216380228890712240_m_8010147626056369206_m_6621917684049173449_m_2429022532434715543_m_717588862151377349_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
>>>>>
>>>>
>>>
>>> --
>>> Best regards,
>>> Maxim
>>>
>>

-- 
Best regards,
Maxim

Reply via email to