Good afternoon Everyone.
I’d like to share my experience for erpnext on docker and hopes to get some help before I scrap it entirely.
ErpNext docker install works…once
When running the docker installer from the github page using the file pwd.yml works but if you install lets say raven like I did and it doesn’t load and you attempt to docker prune everything even deleting the folder and restart from scratch some reason your information is still in there. I have tried this on both windows and ubuntu. It is an absolute pain trying to get it to how it was when its initially installed. The main error i get is module not found when you go to uninstall it raven app not found when you try and download it from git timeout.
The main issue with other apps using the default pwd.yml is none of them work they install but don’t work. If I am trying to developed a proper erp to test with other apps they could at least load.
Trying to create a new site in docker doesn’t load I assume its because docker doesn’t have access to /etc/host file [ubuntu 22.04]
If i can get some direction on how to set this up to test other apps in I would greatly appreciate it .
Thanks
I’ve given up on telling every new comer that you need to build image with all your custom apps instead of starting the erpnext image and installing apps.
I had this pinned faq that mostly is missed.
I only use kubernetes, I’ve more than frappe sites hosted there. It only makes sense when I was already using containers in my infrastructure to use it for Frappe as well.
Edit: even this post will be missed and someone will ask, “I started docker compose and did bench get-app, now app is not working”
“disappeared from being pinned so people start to miss it” (long for it)?
Your help generally is extremely spot on, as it’s here, too, albeit with a strong melancholic subsound.
Could it be a rather shallow documentation bug?
Certain rather longish instructions along the lines of “Instructions how to install v15 on Ubuntu” seem to be well known and found. Which doesn’t solve everything, but they even evolve if new stuff happens to the software and thus the knowledge.
Maybe a chart like a flow diagram could help?
E.g. a common starting point for the docker / kubernetes / press newcomers, with some easy 1 … 2 … 3 steps to have the inexperienced “I need to know now, quick, and everything” understand where they stand, what won’t work, what they need to know to proceed, and which (the chart) is kept versioned and current and where people can be directed to?
It might even have a link on “discuss”, and also suggest FC if the goal is evaluation, because the OP doesn’t seem to be aware of how useful FC is for quickly installing some working apps with FC.
Other possibility: bench in docker could disallow installing apps and show an explanation where your missed but needed hints are to be found.
That’s what I meant by “shallow”, as in “just a missing link to direct people to the help or kb they need”.
Thanks for the response, I forgot to mention that i did see this post and tried to build an image with raven, erpnext and frappe but it never completes the build process. It looks like it does install the apps but it errors at the end never completing the process. I’ll post the errors when i get back to the office.
Using the same build steps I’ve built pipelines for lot of teams on lot of different CI runners. There must be 100+ builds and deploys happening daily. No failure alerts from any of them.
Automated tests pass, I can re-create what was documented. I did exactly what I had written and said in videos and it worked.
I know you master this stuff. This takes time and practice.
Integration of the agilely moving parts are another area, some issues are unwittingly created where the apps intersect, or should intersect. That’s why you got that error trying wiki on v15.
Is there a public table showing which versions are compatible or are not? Otherwise the whole ecosystem would be reduced to trial and error for the incompatibilites already found.
If I understand the build process and this thread correctly, the OP was not aware that the docker image (or the relevant software parts in it) is immutable, so using “bench install-app” in the running system won’t work (or needs to be modified somehow: pushed into the build step).
Thank you very much for showcasing your working procedure demonstrating once more how the moving parts interact, and for the more general hints!
Check for how frequently the git tags are created and how frequently the branches are updated. If tags are frequent use tags, or stick to frequent branch.
Wiki has tag. It is not frequently bumped up. master branch has frequent changes. So I used master.
I guess snap is the culprit
it is also building just fine on windows.
Incase anyone else is building on windows. The command to export apps.json to base64 in PowerShell is below (if frappe_docker is in documents director)
So I am trying a large amount of apps and it shows that all of them are installed but doesn’t load some of them. Like drive, payments, and shipping doesn’t load or show in desk
Enable them via domain settings, workspaces, permissions. Check docs about configuration. Apps may add new domains that can be enabled. Enable domains.
You’re now out of scope of setup. If you manage to get those apps running on vm you’ll land up in same place.