I have made a way to make Easy Install work on Ubuntu 18.04. You can view my fork at iRaySpace/bench.
I have made some changes to the following files:
playbooks/install.py, where I added Ubuntu 18.04 under check_distribution_compatibility()
playbooks/roles/mariadb/defaults/main.yml, where I changed the MariaDB version to 10.3.
playbooks/roles/mariadb/tasks/main.yml, where I inserted a condition for ubuntu-bionic.yml. I excluded the override of mariadb.cnf. Added the override to the /etc/mysql/mariadb.conf.d/frappe.cnf, with the following contents, which can be found when using bench new-site command:
Hello, is it possible to get an easy install for ubuntu 17?
Iâm having ubuntu-17.10.1-desktop and wanted to run ERPNext in it. Been having trouble to install.
Thanks
I managed to install using manual steps but it can with
Installed Apps
ERPNext: v11.x.x-develop () (develop)
Frappe Framework: v11.x.x-develop () (develop)
What is the safe way to switch to master without breaking my apps? or switch to staging?
I running this on ubuntu 17.10.1 desktop, not virtual machine. so my concern is breaking my installation.
I tried to run the install upgrade from 16.04 to 18.04 on DigitalOcean and it broke it. Had to revert to snapshot in order to get MariaDB connection backâŚ
@iRaySpace
Im novice and tried with your easy way in Ubuntu 18.04 but ended up with errors -
TASK [mariadb : Add repo key] **************************************************
fatal: [localhost]: FAILED! => {âchangedâ: false, âcmdâ: â/usr/bin/apt-key adv --keyserver keyserver.ubuntu.com --recv F1656F24C74CD1D8â, âmsgâ: âError fetching key F1656F24C74CD1D8 from keyserver: keyserver.ubuntu.comâ, ârcâ: 2, âstderrâ: âWarning: apt-key output should not be parsed (stdout is not a terminal)\ngpg: keyserver receive failed: Server indicated a failure\nâ, âstderr_linesâ: [âWarning: apt-key output should not be parsed (stdout is not a terminal)â, âgpg: keyserver receive failed: Server indicated a failureâ], âstdoutâ: âExecuting: /tmp/apt-key-gpghome.0QUC5qmO8D/gpg.1.sh --keyserver keyserver.ubuntu.com --recv F1656F24C74CD1D8\nâ, âstdout_linesâ: [âExecuting: /tmp/apt-key-gpghome.0QUC5qmO8D/gpg.1.sh --keyserver keyserver.ubuntu.com --recv F1656F24C74CD1D8â]}
to retry, use: --limit @/tmp/.bench/playbooks/site.retry
PLAY RECAP *********************************************************************
localhost : ok=10 changed=7 unreachable=0 failed=1
Traceback (most recent call last):
File âinstall.pyâ, line 420, in
install_bench(args)
File âinstall.pyâ, line 122, in install_bench
run_playbook(âsite.ymlâ, sudo=True, extra_vars=extra_vars)
File âinstall.pyâ, line 338, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, âplaybooksâ))
File â/usr/lib/python2.7/subprocess.pyâ, line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command â[âansible-playbookâ, â-câ, âlocalâ, âsite.ymlâ, â-eâ, â@/tmp/extra_vars.jsonâ, ââbecomeâ, ââbecome-user=frappeâ]â returned non-zero exit status 2
fatal: [localhost]: FAILED! => {âmsgâ: âThe conditional check âproduction and not containerâ failed. The error was: error while evaluating conditional (production and not container): âcontainerâ is undefined\n\nThe error appears to have been in â/tmp/.bench/playbooks/roles/swap/tasks/main.ymlâ: line 1, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Create swap space\n ^ here\nâ}
I got the following error then i copy past the content of thi sfile also as well âbench/playbooks/roles/swap/tasks/main.ymlâ