Working installation description

Hi,

I’m new to ERPNext/Frappe and I’m struggling with the manual installation of ERPNext on a self hosted Debian 12 system. Can you recommend a working installation doc which won’t run into errors?

Thanks in advance.

Jakob

Hi,

Please try this script: flexcomng/erpnext_quick_install: Unattended install script for ERPNext Versions, 13, 14 and 15 (github.com)

Thanks,

Divyesh Mangroliya

Thanks for the advice.

Better use this,

Its well documented and I have followed this a gazillion times. Works properly.

OK, I tried it on a minimal Debian 12 LXC container (Proxmox). It worked only in developer mode but not in production mode.

Before the mode decision several warnings are shown.

  1. git not found → Should be added in “Before Installation”
  2. lsb_release not found (sudo apt lsb-relase) → Should be added in “Before Installation”

During installation several warnings:

  • Ignoring dependencies erpnext
  • Couldn’t find supervisorctl in PATH
  • Running pip as root …
  • Bench build: Assets for Release v15.44.2 don’t exist
  • MariaDB version … is more than 10.8 which is not tested with frappe framework

Now I will give the 2nd recommendation a chance. :wink:

OK, I gave this installation script a try but it’s not working. I tried it on Ubuntu 22.04 minimal. It seems to be outdated because when it comes to install hrms it tells me, that requirements are not met, especially it needs frappe bench v16 while the script asked me before to install v15. Dead end.

So I’m still stuck: No reliable installation description seems to be there.

Correction: hrms is asking for v16 which I couldn’t find in the branches. Assuming that v16 is the develop branch.

Now trying to setup a docker environment. Why is it fixed to version 15.38.4 and not using the latest version 15.44.2 which is used in the manual setup (see previous post)?

After startup of the docker containers and initialization of Frappe I have a mixed language environment, because I choose german as my language. The result is a german/english mix of labels (menu etc.). This is not usable for users.

Fazit: The docker environment is also no reliable installation option.

Hi,

You get the mixed language due to translation not being available for all the labels.

You can easily add the translation for the missing text.

Thanks,

Divyesh Mangroliya

Hi,

thanks. The problem is that other languages are offered during initializing. So I would expect that they are working. I assume it has to do with the version I‘m installing. If I choose the head version of the repo I would expect language issues for new labels. If I choose a stable branch e.g. version 15, I don‘t expect many language issues. But this is not the case. But language is currently a minor problem for me. My major problem is that it looks for me actually that no fully working installation procedure without upcoming warnings (e.g. Python warnings regarding pip/venv since Python v3.11) seems to exist. I‘m still struggling with installation on Debian 12.

Kind regards,
Jakob

Hi,

If you are ok with Ubuntu 22.04 follow the installation instruction shared by @frewper in above post. Also make sure you choose the stable branch like “verison-15” also do not mix the version of frappe framework and erpnext.

Thanks,

Divyesh Mangroliya

I will give it a try.

Got it! When I use the script form @frewper and do not install HRMS (incompatibility issues) the result is a working environment without errors and without language mix. Only thing was, that vim was not installed on a minimal Ubuntu 22.04 but nano did the job.

Thanks @frewper and thanks @mangroliya

Jakob

1 Like

OK, despite the info from the comments that HRMS is working while errors appear: It’s definitely not working in the version 15.

To fix that you need to use the following command

bench get-app --branch version-15 hrms