Custom app installation from app installer fails

I am able to get the custom app into my instance using the command
bench get-app reponame, it also shows up in the app installer while clicking on the install button “Queued for install” message appears and nothing happens.

Hi @Thomas_Mathew,

Please check it.


Thank You!

Hi running this command

bench --site [sitename] install-app your_custom_app_name

gave the below error

Installing frappe_sync...
Traceback (most recent call last):
  File "/usr/lib/python2.7/", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/", line 72, in _run_code
    exec code in run_globals
  File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/", line 94, in <module>
  File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/", line 18, in main
  File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/", line 697, in main
    rv = self.invoke(ctx)
  File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/", line 535, in invoke
    return callback(*args, **kwargs)
  File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/commands/", line 24, in _func
    ret = f(frappe._dict(ctx.obj), *args, **kwargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/commands/", line 165, in install_app
    _install_app(app, verbose=context.verbose)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 139, in install_app
  File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 335, in add_module_defs
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/", line 259, in save
    return self._save(*args, **kwargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/", line 282, in _save
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/", line 236, in insert
    raise e
frappe.exceptions.DuplicateEntryError: (u'Module Def', u'Frappe Sync', IntegrityError(1062, u"Duplicate entry 'Frappe Sync' for key 'PRIMARY'"))

Which frappe/erpnext version do you want to install?

erpnext 10.1.64 is the version

Hey @Thomas_Mathew, your version is too old.

We don’t support versions 13 or older anymore. Also, we’re not sure about the installation steps for v10 and whether it’s possible or not.

For more information, please refer to the guidelines.

Thank You!

Actually, the same app is installed in other instances having the same version of erpnext. but unfortunately there is no documentation available.
If you come across any solution please help

But i don’t have a any idea about that but try to find or search for something in the forum.