Error on setup wizard of fresh erpnext install

Hello I am setting up new version of erpnext and after completion of setup wizard. I am stuck with following error.

Adding System Manager to this User as there must be atleast one System Manager
Setting this Address Template as default as there is no other default
Duplicate name Salary Component Basic
Duplicate name Salary Component Arrear
Duplicate name Salary Component Leave Encashment
Server Error: Please check your server logs or contact tech support.
There were errors.

Is there any solution for this?

Deep T

Have you tried clearing the site database and set up again? (bench --site sitename reinstall)
What version of Frappe/ERPNext are you on?


We are using latest version of ERPNext and frappe. We have already tried with bench reinstall. Here we have used easy installation steps for ERPNext.

Hi @Deep @Harsh_Mehta! Experienced this kind of issue during the install. I followed @netchampfaris advice to reinstall site > install ERPNext App > complete setup wizard but uncliking some checkboxes for fields not mandatory and unchecking the 2 last checkboxes. I went through. Try taking a look at the same issue here.

Hi Thanks for reply but i have already did those steps but still it gives me error.