ERPNext frappe — internal server error - Troubleshooting

Most difficult error in Frappe / ERPNext is old style “internal server error” that appears on browser while opening. Multiple reasons for that. “bench update” may work in many cases.

 · 1 min read

ERPNext frappe — internal server error


Most difficult error in Frappe / ERPNext is old style “internal server error” that appears on browser while opening.

Multiple reasons for that. “bench update” may work in many cases.

If it is Mariadb related issue, following may help 

— — — — — — —

vim /etc/systemd/system/mysqld.service

#LimitNOFILE=16364

LimitNOFILE=40000

Then enter the following commands

sudo mysqld — tc-heuristic-recover=ROLLBACK

sudo service mysql start

Your application should now be up and running!!

— — — — — — — — -

If both not working, do some troubleshooting

Troubleshooting .

service supervisor stop

bench start ( check any error prompts ) 

try http://xxx.xxx.xxx.xxx:8000 ( check site opens here ) 


— — — — -

tail -f /opt/bench/frappe-bench/logs/frappe.log 

open the site with browser and see any thing appears on above. Like ( 2022–01–23 13:39:29,702 ERROR frappe New Exception collected with id: 2022–01–23 13:39:29.699772–78.100.197.174–497

Site: fel.erpgulf.com

Form Dict: {})

If none of the above works, contact us on support@erpgulf.com 

— — — — — — — — 




Cloud support

Cloud support team provides hosting related support and technology updates. Cover technology like cloud printing, Cloud PBAX, VoIP, Kubernetes, Ubuntu, Linux etc. Contact us on support@ERPGulf.com

15 comments
lxbfYeaa June 18, 2024

1

lxbfYeaa June 18, 2024

1

lxbfYeaa June 18, 2024

1

lxbfYeaa June 18, 2024

1

lxbfYeaa June 18, 2024

1

lxbfYeaa June 18, 2024

1

lxbfYeaa June 18, 2024

1

lxbfYeaa June 18, 2024

1

lxbfYeaa June 18, 2024

1

lxbfYeaa June 18, 2024

1

lxbfYeaa June 18, 2024

1

lxbfYeaa June 18, 2024

1

Haseeb October 18, 2023

you may find the file "mysqld.service" write following command as root use to find the exact location.

find . -name "mysqld.service*"

however in my case the database was hacked by the haters :)

geek November 8, 2022

my Mysql is install on a remote computer amazon rds. So I don't have this file /etc/systemd/system/mysqld.service My error after migration from ERPNext and Frappe 13.0 to ERPNext and Frappe 14.0

GoldenScrew July 5, 2022

Hello, I have the same error after update. But I haven't this file: /etc/systemd/system/mysqld.service What should I do?

Add Comment