Renaming a doctype error "DocType can only be renamed by Administrator"

Hi there,

i’ve created a new DocType as System Manager (1st user created after setup) and developer_mode set to 1, but i’m getting an error message:

DocType can only be renamed by Administrator

Any hint on how to become Administrator? System Manager should be administrator thought

Hi @JoEz ! During ERPNext installation, it will let you setup Administrator credentials. Try Using Administrator Username with password as the one you setup during installation. Also, please double check if the “developer_mode” is set to 1 in your site_config.json file. Hope this helps. Thanks!

@creamdory thx, i figured it out …once renamed as Administrator, it’s needed to delete the doctype folder with the old name manually as well …

1 Like

Cool! @JoEz