İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
156 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Ağu 25
245
1
Ağu 25
463
0
Tem 25
604
0
Tem 25
1201
1
May 25
1697