Neither Production VM nor Easy Install Script work

Individual threads will work better for you. But do update the link here so that we have one place to see how your journey is progressing.

Thanks

Jay

Not sure if posting here is right, but for the 1000th time I was unable to install erpnext manually (debian 10, VM, 2 vcores, 4GB of RAM, 50GB of disk).

But this time, i’m trying really hard to understand the whole thing, so I can be confident with what i’m doing.

One possbile cause (I believe, i’m not sure) of all the problems many people complain about installing ERPNext (either manually of with the easy install script) is the fact that frappe/erpnext downloads all of its dependencies using pip or yarn or…

So, finally getting to the question I intend to do: is it possible for ERPNext to be packed with all the dependencies it needs? Like, git clone [erpnext repo stuff] brings also the many external python (and maybe JS?) dependencies required?

I REALLY want to work with ERPNext here in Brazil, but all these installation issues make me worried about when things break along the way. What if an update makes my company’s ERP stop? What if i can’t fix it over the weekend, monday morning all things are at a halt because i couldn’t fix the update problem? What if i have to migrate ERPNext to a better machine and it doesn’t work?

I got to install erpnext manually into frappe, but now the cards/modules don’t show up on desk. No clue of what happened, even though the installer asked my all the things related to the company i’m trying to do.

I feel lost. :smiley:

Hi Daniel,

Is there any reason why you wouldn’t want to use the easy install script. The script works great on AWS and Digital Ocean. I use it on Ubuntu 16.04. The updates are not tricky if you don’t have customizations, or if you do, you follow some simple procedures.

If you really don’t want to have to deal with all this, FrappeCloud is a good option. You can focus on making ERPNext to work for your organization, while the Frappe team takes care of the server side technology.

If you are saying, it all installed great but the Setup utility is giving an error, let us know and we can try and help.

All I can say is that I have installed some 30 instances of ERPNext on 30 different AWS, Digital Ocean VPS’s and it’s worked great.

Persist like @mwrsa did and thou shall prevail.

Thanks

Jay

Hi JayRam, thanks for the reply.

easy_install doesn’t work on a fresh debian 10 VM. That’s why i don’t use it, but also:

What I want is to be able to do a manual install so I can fix things when they break - and they do break. Doing it manually would allow me to really understand what is needed for a ERPNext instance.

Right now, when I finish installation, it seems like erpnext was not installed, even tough i’ve run bench --site my_nice_and_happy_site install-app erpnext. Why? WHY? XD

I’m still trying.

after 3 months of study (only v12) through source code then I’m able to install manually or easy install and we are able to use erpnext for departments and doing customization.

i’m understand the painful of erpnext setup because there are so many components inside the installation. i’ve suggested some changes but not all are accepted and i believe if those changes incorporated then the initial setup for testing will be easier.

Erpnext is powerful and I’ve agreed on that.

Thanks again @JayRam, but especially in my case persistence does not exactly equal success. Last thing on Friday , before I left for the weekend, the VM image started acting up again. All was nice and smooth for two days (more or less), and then BAM - mariadb never shuts down.

But this time I have a much better view in the potential of ERPNext and I WILL get it to work because it looks really worth the effort.

Concerning hosting solutions though: My boss absolutely wants it in house and in our own hands. I mean, he employed me mainly for the purpose of finding, adapting and introducing a new system after all.

I will give a new Ubuntu install a try now, will report back!

You, Sir, can be an invaluable resource helping your organization reap the maximum benefits from ERPNext if only you’d focus on the business side of things, rather than worrying about things that are very inexpensively and efficiently leveraged externally. There is not much play on the server side of things. If things work, you’re doing your job. If they don’t - you’re toast - especially after ERPNext (as, it in all likelihood will become) becomes the heart and soul of your organization. There is not much glory there.

But you’d know your business the best. And since you’d be at the cusp of knowledge of ERPNext and your business (there are people that know ERPNext better, but they won’t know your business as well and then there are people that know your business better - like your boss for instance. Maybe :slight_smile: But they wouldn’t know ERPNext as well). And making ERPNext (rather any ERP) work for your organization means a single minded focus on users and on the business side of things.

My gentle advice to you is to extricate yourself from the server side of things. Sign up for a Frappe Cloud account and get to start working with ERPNext right away. Or maybe you have a compelling, irresistible urge to tool around on the server side of things. Once you know that ERPNext can work for your business and you want to start the implementation, you can either decide to continue with Frappe Cloud. Or you can choose to self host and there are tons of people here, including yours truly, that have been there and done that for dozens of organizations.

There is glory to be had on the business side of things. That’s where you can be a hero, and my gentle yet persistent and serious advice is: Focus on the business side. Leverage the server side from Frappe. I think Frappe will also help you self host. They may not be thrilled about it though. :slight_smile:

Hope this helps.

Thanks

Jay

Thanks again, Jay. Though I will have to walk both paths, because

the server side of things is literally my job. Not only for ERPNext.

That aside, I have finally (and almost too easily) found the solution for the VM lockup during shutdown issue:

Someone wrote elsewhere that on other systems, it’s a misconfiguration of the clock that caused the mariadb server to think it started in the future. Two simple commands were suggested:

sudo dpkg-reconfigure tzdata
sudo timedatectl set-local-rtc 0

Fixed. I think I have been too narrow minded in my previous search and blamed ERPNext for the error.
My apologies.

Now I am well on my way to the business side of things :slight_smile:
I am already reading my way into customizing it. Once more I am almost surprised how well documented things are and how deeply you can adapt it!

@rmeyer and @scdanieli I might, if and when we decide for ERPNext (chances are the best rn), get in touch with you. I just checked out your company - and while you are Leipzig based, I am in Chemnitz. Probably cannot get any closer!

2 Likes

I’m also evaluating ERPNext for a customer of mine, and I got so close to not recommending it.
I’ve been battling with this very same issue for weeks : how do you stop or shutdown the VM without it corrupting the DB. I’m so pleased that @mwrsa has found the issue (I gave you a Like, and wish I could give you another)

As a matter of interest : what is the correct way of stopping the VMs (either Production or Develop)
1 simply just sudo shutdown now
2 or first sudo service supervisor stop
3 or Ctrl+C
What about nginx and MariaDB ?

Since there’s no “bench stop”, can someone please give the correct sequence for both Production and Develop VMs.