šŸš€ ERPNext Quick Install Script v2.0 - Now with 50+ Additional Apps & Develop Branch Support!

tried in ubuntu 22.04

it crashes here

Now installing MariaDB and other necessary packages…
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
mariadb-client is already the newest version (1:10.6.22-0ubuntu0.22.04.1).
mariadb-server is already the newest version (1:10.6.22-0ubuntu0.22.04.1).
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Installing MySQL/MariaDB development libraries and pkg-config…
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
pkg-config is already the newest version (0.29.2-1ubuntu3).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libmariadb-dev : Conflicts: libmysqlclient-dev but 8.0.43-0ubuntu0.22.04.2 is to be installed
Breaks: libmysqlclient-dev but 8.0.43-0ubuntu0.22.04.2 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
An error occurred on line 468 with exit status 0

In case you want to try on docker

To create docker multi-site and multi-app please use easy-install.py: -

  1. wget https://raw.githubusercontent.com/frappe/bench/develop/easy-install.py

  2. git clone GitHub - frappe/frappe_docker: Docker images for production and development setups of the Frappe framework and ERPNext

  3. In ā€œfrappe_docker/development/apps-example.jsonā€ edit your apps with their branch: -
    [
    { ā€œurlā€: ā€œhttps://github.com/frappe/erpnextā€, ā€œbranchā€: ā€œversion-15ā€ },
    { ā€œurlā€: ā€œhttps://github.com/frappe/hrmsā€, ā€œbranchā€: ā€œversion-15ā€ },
    { ā€œurlā€: ā€œhttps://github.com/frappe/educationā€, ā€œbranchā€: ā€œversion-15ā€ },
    { ā€œurlā€: ā€œhttps://github.com/frappe/crmā€, ā€œbranchā€: ā€œmainā€ },
    { ā€œurlā€: ā€œhttps://github.com/frappe/wikiā€, ā€œbranchā€: ā€œmasterā€},
    { ā€œurlā€: ā€œhttps://github.com/Aakvatech-Limited/CSF_TZā€, ā€œbranchā€: ā€œmasterā€}
    ]

  4. python3 easy-install.py build

  5. python3 easy-install.py deploy --image=custom-apps --version=latest --sitename=bench3site1.duckdns.org --sitename=bench3site2.duckdns.org --sitename=bench3site3.duckdns.org --app=erpnext --app=hrms --app=education --app=crm --app=wiki --app=csf_tz

For step 4 and 5 if you want more options rather than default values please check out GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps

Don’t forget to add the sites to your host file

1 Like

@salem6664 @agaitan This error is an Ansible error in the bench setup playbook. Newer Ansible versions no longer auto-coerce non-booleans in when:. In the bench nginx role, nginx_vhost is a list, but the task uses it as a booleanFrappe needs to update the playbook in bench to consider this change.