ERPNext not showing in Desk

I’ve just installed Frappe v13.42.0 & ERPNext.

Logged in to Desk, and I don’t see ERPNext anywhere.

Run the following again:

bench get-app erpnext --branch version-13 --resolve-deps

and I get:

erpnext@dos-dev:/opt/bench/frappe-bench**$ bench get-app erpnext --branch version-13 --resolve-deps

Following apps will be installed

1. erpnext

Compatible version of erpnext is already installed

Do you wish to clone and install the already installed Compatible app [y/N]: y

What am I to do now?

Did you run bench --site yoursite.name install-app erpnext? What was the output?

1 Like

I get this:

An error occurred while installing erpnext: ERPNext can only be installed on a fresh site where the setup wizard is not completed.
You can reinstall this site (after saving your data) using: bench --site [sitename] reinstall
Traceback (most recent call last):
  File "apps/frappe/frappe/commands/site.py", line 293, in install_app
    _install_app(app, verbose=context.verbose)
  File "apps/frappe/frappe/installer.py", line 179, in install_app
    out = frappe.get_attr(before_install)()
  File "apps/erpnext/erpnext/setup/install.py", line 43, in check_setup_wizard_not_completed
    frappe.throw(message)  # nosemgrep
  File "apps/frappe/frappe/__init__.py", line 504, in throw
    msgprint(
  File "apps/frappe/frappe/__init__.py", line 479, in msgprint
    _raise_exception()
  File "apps/frappe/frappe/__init__.py", line 434, in _raise_exception
    raise raise_exception(msg)
frappe.exceptions.ValidationError: ERPNext can only be installed on a fresh site where the setup wizard is not completed.
You can reinstall this site (after saving your data) using: bench --site [sitename] reinstall

If you’ve already run the frappe setup wizard, that’s expected behavior. I don’t believe it’s possible at present to setup a frappe site and add erpnext later. If you don’t have any data you need, it should be as simple as using the restore command that’s given to you in the last line. If you do need the data, it will be a bit more complicated.

1 Like

it was indeed installed. “erpnext” is in /apps

Strange.

Is it possible that you’re confusing the get-app command and the install-app commands? The fact that an app is present in /apps doesn’t tell you whether or not it has been installed in a particular site.

Thanks for the reply. I did “get” and “install”.

Now I’m:

  • restoring
  • getting
  • installing

Hope it runs fine this time.

Ha, it’s alive now!

Wizard has 6 steps now instead of 3.

Thanks!

1 Like