• OpenPanel
  • How To Install ERPNext (Frappe) On OpenPanel?

Server and OpenPanel Information:
/var/log/openpanel/admin/reports/system_info_20241129140251.txt

Hello everyone! Hope you're all having a wonderful Friday.

I'm looking for some guidance on how to install ERPNext with Frappe Bench (production mode) on OpenPanel. I attempted to create a custom image, but the documentation I found is a bit unclear—especially regarding whether it should be done as root or under a specific directory.

Here’s what I’m aiming for:

I want one user to manage WordPress and other custom projects.
I want a second user dedicated to running all my Frappe apps, including ERPNext.
Could anyone provide some advice or point me to a step-by-step guide for setting this up?

Thanks in advance for your help!

    Also could the flair be changed? Not sure if it's in the right category. Thanks.

    Mint if it is for your personal use on VPS ( you dont intend to offer it to another user and would then need security and isolation of OpenPanel) then it simpler to just use their docker image outside of OpenPanel. After that just edit nginx conf for user: https://github.com/frappe/bench/blob/a9a6ae94381aa3bed77ac34af3c110014153085f/bench/config/templates/nginx.conf#L94
    -----

    This lists all steps on Ubuntu:
    https://fosserp.com/blog/general/how-to-install-erpnext-version-15-on-ubuntu-24

    Most of those (mariadb,nginx,python,redis) Are already present in this image: https://github.com/stefanpejcic/OpenPanel/blob/main/docker/ubuntu_nginx_mariadb/Dockerfile
    so i would use that as a starter.

    This lists commands for the following steps:
    https://dev.openpanel.com/images/#Creating-an-Image

    1. Download directory https://github.com/stefanpejcic/OpenPanel/blob/main/docker/ubuntu_nginx_mariadb
    2. In Dockerfile add install steps for the remaining tools (git, yarn, pip, npm, node, failtoban, frappe-bench, xvfb, libfontconfig, wkhtmltopdf)
    3. Build image
    4. Add it to plan

    That Is From OpenPanel side, rest is from user side to run the app and proxy nginx:
    https://github.com/frappe/bench/blob/a9a6ae94381aa3bed77ac34af3c110014153085f/bench/config/templates/nginx.conf#L94

    Feel free to share the Dockerfile or any errors that you face during build/usage.

    I'll add it on the todo list for autoinstaller, so users can just install it from the interface (and run multiple on same user). But do note that it will be available only on the OpenPanel Enterprise as it requires mariadb which is supported only on Enterprise.