After upgrade to new version my erp stop PDF printing. PDF print is broken and Letterhead in PDF not appearing
Have you an error message Traceback to help track down the problem?
There’s lots of q&a to be found here - the command line utility wkhtmltopdf generates the pdf output file from an html document input.
Hi how can i find error log?
Hello provided you have a self-hosted environment, review these for clues:
(env) frappe@ubuntu1804lts:~/frappe-bench$ find logs -name ‘*.log’ | xargs ls -alh
-rw-r–r-- 1 frappe frappe 19K Mar 13 23:25 logs/bench.log
-rw-r–r-- 1 frappe frappe 12K Feb 3 20:50 logs/frappe.log
-rw-r–r-- 1 root root 21M Mar 19 16:24 logs/node-socketio.error.log
-rw-r–r-- 1 root root 378 Mar 20 00:11 logs/node-socketio.log
-rw-r–r-- 1 root root 0 Jan 12 01:08 logs/redis-cache.error.log
-rw-r–r-- 1 root root 32K Mar 20 00:11 logs/redis-cache.log
-rw-r–r-- 1 root root 0 Jan 12 01:08 logs/redis-queue.error.log
-rw-r–r-- 1 root root 34K Mar 20 00:11 logs/redis-queue.log
-rw-r–r-- 1 root root 0 Jan 12 01:08 logs/redis-socketio.error.log
-rw-r–r-- 1 root root 32K Mar 20 00:11 logs/redis-socketio.log
-rw-r–r-- 1 root root 0 Jan 12 01:08 logs/schedule.error.log
-rw-r–r-- 1 root root 9.6K Feb 3 20:45 logs/schedule.log
-rw-r–r-- 1 root root 23M Mar 21 14:44 logs/web.error.log
-rw-r–r-- 1 root root 2.6K Jan 26 15:30 logs/web.log
-rw-r–r-- 1 root root 8.7M Mar 20 00:12 logs/worker.error.log
-rw-r–r-- 1 root root 0 Jan 12 01:08 logs/worker.log
Within the app a search on Error Log may turn up clues
dear Clarkej,
Its fixed what i had done, i had add
“host_name”: “https://www.yourdomain.com:portnumber” in ERPNext (see site/site1.local/site_config.json.
If there is no domain then just add IP address but with port number is available.