Unable to install on Gnome based Ubuntu VM without root privileges

Hello.
I was quite interested in implementing ERPNext but was disillusioned about just how brittle it was at the foundational level.

It took me more than 10 tries to get it installed on a Virtualbox client running Ubuntu 16.04, and then when it was running …eventually …the startup wizard did not work.

I cannot take the risk of having all our companies on this platform and then a small update of the software or bench disables the lot.

I think that much more effort should be applied to developing a simple installation method that works across a number of upto date distro’s.

Referring me to an out of date virtualbox image is not useful and I do not understand why a 16.04 ova is not available.

I had no problems at all to install in a VM …what’s the problem u are facing?

IMHO to dismiss or deny Barry’s encounter here would be a mistake -

An automated build and test regime would go a long way to flush out headaches that we experience.

Of course that is a huge task but one that I urge the Foundation to give valuable consideration.

Just my two cents here, thanks!

1 Like

Hi

I was trying to install in an Ubuntu 16.04 Virtualbox client. I used an
Ubuntu 16.04 Gnome ISO in case I needed some GUI functionality.

I then tries to use the install script. The instructions are confusing
as to when one should or shouldn’t use superuser privileges and there
were numerous privilege issues. Eventually I sorted these by installing
user frappe and creating group frappe and changing all permissions in
the home directory to RW for frappe.

I then tried the initiation process by logging into localhost:8000 and
completing the company setup wizard. The process completed with the
unhelpful message: “There was an error” and I could not establish how to
fix this.

Regards

Barry Havenga

Confidentiality Notice:

This message contains information intended for the perusal, and/or use
(if so stated), by the stated addressee(s) only. The information is
confidential and privileged. If you are not an intended recipient, do
not peruse, use, disseminate, distribute, copy or in any manner rely
upon the information contained in this message (directly or indirectly).
ActiV Capital does not accept responsibility for any amendments made to
any attached documents without its approval. If you receive this message
in error, notify the sender immediately by e-mail, fax or telephone and
return and/or destroy the original message. The views or representations
contained in this message, whether express or implied, are those of the
sender only, unless that sender expressly states them to be the views or
representations of an entity or person, who shall be named by the sender
and who the sender shall state to represent. No liability shall
otherwise attach to any other entity or person.

Here is a simple article on this. https://www.virtual-server.org/blog/how-to-install-erpnext-on-ubuntu-16-04/

For help, try posting the actual steps you’re following. This will help others understand where exactly the confusion lies (and yes, I agree that the documentation can be confusing sometimes).

1 Like

That was the article I followed but my installation was in the VM client
directly not via SSH. The issue then arises: what are the required
elevation levels in order to run the script? I fiddled with various
combinations until it worked but in hindsight I could not tell you the
‘magic combination’.

Bench and ERPNext appear to be installed OK now but there is still an
indeterminate initialisation problem when trying to use the system via
the web interface.

Regards

Barry Havenga

Confidentiality Notice:

This message contains information intended for the perusal, and/or use
(if so stated), by the stated addressee(s) only. The information is
confidential and privileged. If you are not an intended recipient, do
not peruse, use, disseminate, distribute, copy or in any manner rely
upon the information contained in this message (directly or indirectly).
ActiV Capital does not accept responsibility for any amendments made to
any attached documents without its approval. If you receive this message
in error, notify the sender immediately by e-mail, fax or telephone and
return and/or destroy the original message. The views or representations
contained in this message, whether express or implied, are those of the
sender only, unless that sender expressly states them to be the views or
representations of an entity or person, who shall be named by the sender
and who the sender shall state to represent. No liability shall
otherwise attach to any other entity or person.

The blog assumes you’re logged in as root. You most likely are not.

So you’ll have to run the python command with sudo.

After install, your app is installed under the newly created “frappe” user, so you’ll either want to login as the frappe user to do anything, or sudo su frappe.

Why don’t you try firs with the erpnext .ova file inside the Virtualbox?

https://erpnext.com/download


If you prefer to install then my be you get some hint in this :slight_smile:

Hope this helps!

1 Like

I did both of those and as I say it looks like the bench and ERPNext app
are installed but when I try and run the initialisation wizard logged in
as frappe I get “there were errors” at the end and the wizard routine
does not complete

Regards

Barry Havenga