Package Details: erpnext 15.20.2-1

Git Clone URL: https://aur.archlinux.org/erpnext.git (read-only, click to copy)
Package Base: erpnext
Description: Free and open source Enterprise Resource Planning (ERP).
Upstream URL: https://github.com/frappe/erpnext
Licenses: GPL-3.0-or-later
Submitter: Spixmaster
Maintainer: Spixmaster
Last Packager: Spixmaster
Votes: 3
Popularity: 0.58
First Submitted: 2023-03-03 12:58 (UTC)
Last Updated: 2024-04-13 06:09 (UTC)

Latest Comments

pullmoll commented on 2023-05-05 20:03 (UTC)

Understood, perfect! Thank you very much for the information about the wiki entry, which I wasn't aware of and did not search for it I must admit. Perhaps leave a sticky note in the comment list where you refer directly to the wiki article if someone else discovers your work.

Spixmaster commented on 2023-05-05 06:43 (UTC)

Thanks for the appreciation. The software installation and update are indeed somewhat troublesome as it is installed by their own installer. I wrote an article about it on the ArchWiki. There, you will find everything you need to know.

pullmoll commented on 2023-05-04 20:42 (UTC)

Let me say thank you for providing this package! makepkg proceeds and erpnext is working normally after starting erpnext.sh, but there are issues if erpnext is already installed and another makepkg is performing:

Done in 3.99s.
WARN: restart failed: Couldn't find supervisorctl in PATH
INFO: A newer version of bench is available: 5.15.2 → 5.16.2
MySQL root password:
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/usr/local/src/AUR/erpnext/src/erpnext/apps/frappe/frappe/utils/bench_helper.py", line 109, in <module>
    main()
  File "/usr/local/src/AUR/erpnext/src/erpnext/apps/frappe/frappe/utils/bench_helper.py", line 18, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/usr/local/src/AUR/erpnext/src/erpnext/env/lib/python3.10/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/src/AUR/erpnext/src/erpnext/env/lib/python3.10/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/src/AUR/erpnext/src/erpnext/env/lib/python3.10/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/src/AUR/erpnext/src/erpnext/env/lib/python3.10/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/src/AUR/erpnext/src/erpnext/env/lib/python3.10/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/src/AUR/erpnext/src/erpnext/env/lib/python3.10/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/src/AUR/erpnext/src/erpnext/apps/frappe/frappe/commands/site.py", line 77, in new_site
    _new_site(
  File "/usr/local/src/AUR/erpnext/src/erpnext/apps/frappe/frappe/installer.py", line 80, in _new_site
    install_db(
  File "/usr/local/src/AUR/erpnext/src/erpnext/apps/frappe/frappe/installer.py", line 156, in install_db
    setup_database(force, source_sql, verbose, no_mariadb_socket)
  File "/usr/local/src/AUR/erpnext/src/erpnext/apps/frappe/frappe/database/__init__.py", line 20, in setup_database
    return frappe.database.mariadb.setup_db.setup_database(
  File "/usr/local/src/AUR/erpnext/src/erpnext/apps/frappe/frappe/database/mariadb/setup_db.py", line 40, in setup_database
    raise Exception(f"Database {db_name} already exists")
Exception: Database erpnext already exists

How is an update of this package supposed to happen without having to delete the database and/or src directory?