Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
160 Vistas

When I upload one PDF file in Sign module it's crash a server, for bit second server is closed and start again. 
Normal PDF is working but in my PDF there is a images in background (watermark) .

Same Database I restored in my local it's worked.

Same DB, Same Code, Same File - in local - Work Fine 

 In server  not working

Is there any configuration in server ?

Please Help me out

Thanks in advance

Avatar
Descartar
Mejor respuesta

Hi,


It looks like the issue isn’t with Odoo itself but with the server environment. Since the PDF works locally but crashes on the server, it’s likely related to resource limits or dependencies. Here’s a structured approach:


Check Server Logs – Look at the system logs (/var/log/syslog, /var/log/messages) and Odoo logs to see what causes the crash (e.g., memory error, segmentation fault, or Python exception).


Memory / CPU Limits – PDFs with images or watermarks are heavier to process. The server might run out of memory. Check: RAM usage during upload, Swap space, Any ulimit restrictions


Dependencies / Libraries – Odoo Sign relies on libraries like PyPDF2, reportlab, or wkhtmltopdf. Ensure the server has the same versions installed as your local machine.


File Size / Timeout – If the PDF is large or contains many images, adjust: limit_request in Odoo config, proxy_read_timeout or proxy_send_timeout if behind Nginx/Apache


Compare Python Environment – Check if the server Python environment matches local (Python version, pip packages). Sometimes a missing or different library version can crash the process.


Test Minimal File – Try uploading a smaller PDF with a watermark to isolate whether it’s a file-specific issue or general PDF processing problem.


Hope it helps.

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
ago 25
247
1
ago 25
465
0
jul 25
606
0
jul 25
1202
1
may 25
1699