It still failed, also I noticed another failure I have seen sometimes which I forgot to mention, inability to get wkhtmltopdf, now this makes sense; as it may be a resolution issue, as some or most can successfully get this downloaded. Now I will attempt to install wkhtmltopdf and run this again.
So, wkhtmltopdf failed, I am beginning to think this is the main issue and will not affect everybody else! dependencies for wkhtmltopdf are on a server with high latency and tend to fail, terminating the installation. Will try to fix dependencies now…
Ok, so now the setup fails while getting the erpnext app, so after installing wkhtmtopdf it passed on, apparently, this --become-user=user appears to be kind of generic, being the exit point of a successful install so any errors that terminate the script also push this error.
So it appears that the main issue may be some ISP level connectivity problem, ie its a timeout, if you look at the attachments, the remote end hung up, rpc calls fail, so this may be a timeout issue; with this, this may not be a general problem, but to improve the experience; I will suggest strongly that these lines be added to the install process:
sudo apt-get install xvfb libfontconfig wkhtmltopdf
regarding the wkhtmltopdf error which is a very frequent occurrence during installs.
I will go ahead and give this another run… with a different internet connection
Oh well, same thing. Cannot get erpnext app and also terminates with same error. @flexy2ky Have you tried this? I want to conclude its an internet issue where certain resources are slow to download and timeout.
I’m convinced I have a connectivity issue, although not today, but I have tried this method, it’s basically straightforward. Just use root, which em, in my stubbornness I have used to install the system numerous times over the years.
All I summarize when I view the errors is that certain packages don’t get downloaded.
But… I will give it a run again. Trust me, I have tried all mixtures hahaha. I even have 3 users created currently using them to try different ways, so… I’m concluding I may just reset my tcp/ip stack on Windows, maybe something is mentally unstable there.
You are right about it being a connection issue. I tried running fresh installs again with a pretty slow network and faced the same download error with wkhtmltopdf. It failed several times until the network became stable again and the install went through without a hitch.
In fact, this morning I can’t access https://github.com , then I notice while doing normal browsing, some pages may show a connection reset for a few seconds an browser successfully reloads the page. So some instability there.
So maybe anyone having this problem may want to look at connectivity issues, apparently at ISP level, due to the various sources of these packages some are on slower or more distant servers, throttled servers with low resource Etc.
It’s good that the production VM download exists, VMs are our preferred option due to the fact that we deal with mainly retailers… So mainly on-site installs, sometimes; ins small shops; on a machine that is also used for other purposes by Windows-only users. Also, We are running VMs for easier management and disaster recovery, you can imagine trying to reinstall an Ubuntu machine, install Erpnext and restore a database; to get a business running, that may be totally off any acceptable Recovery Time Objective, customers may be waiting… Also it’s easy to test upgrades/updates with an image, quickly recover from ‘internal server error’ when something fails on the live update… so the VMs are quicker to recover with, quicker to also just backup and have a full ready image, imported by a simple double click, If host is dead; a maturing business can even have another lower staging server with a hypervisor already installed as part of the recovery plan, plug in the backup drive and double click the image, plug in network cable …worst case you work on normalizing balances and all that. VMs are one of the best inventions😬