Hi Jacques,
thanks i will read through it and also try the loadAll. Im not to clued
up with coding but learning as i go along.
Regards
Reinier
On 2022-03-14 05:47, Jacques Le Roux wrote:
Hi,
You should not use loadDefault but loadAll
Also reading https://nightlies.apache.org/ofbiz/trunk/readme/html5/
would help you
HTH
Jacques
Le 14/03/2022 à 10:04, sa...@maxcapital.co.za a écrit :
Hi Mathew,
still getting stuck even tried using the info you gave me, this
morning i tried again only installing Java 8 but still getting stuck
at the last ./gradlew cleanAll loadDefault
Here is the code im using just to try and get it running from there i
would need to figure out how to point the built in ecommerce to my
domain etc.
# sudo apt update && sudo apt upgrade
# sudo apt-get install openjdk-8-jdk
# wget https://dlcdn.apache.org/ofbiz/apache-ofbiz-18.12.05.zip
# unzip apache-ofbiz-18.12.05.zip
# mv apache-ofbiz-18.12.05 /usr/local/apache-ofbiz
# rm -f apache-ofbiz-18.12.05.zip
# cd /usr/local/apache-ofbiz
# ./gradlew cleanAll loadDefault (THIS IS WHERE I AM GETTING STUCK I
ONLY GET A ERROR HERE)
Regards
Reinier
On 2022-03-13 16:03, Mathew Cox wrote:
Neither am I.
Also you should check to see which (if any) versions of Java you have
installed on your system. Other versions of java can conflict with
OFBiz in negative ways. You should only have java-jdk-8 installed.
$>apt list --installed | grep jdk
The above command should give you an idea of what JDKs you have
installed.
Mathew
________________________________
From: sa...@maxcapital.co.za <sa...@maxcapital.co.za>
Sent: Sunday, March 13, 2022 12:18 PM
To: user@ofbiz.apache.org <user@ofbiz.apache.org>
Subject: Re: intstall
Hi Mathew,
thanks for the prompt reply, not to clued up with coding but will
give
it a try.
Regards
Reinier
On 2022-03-13 14:10, Mathew Cox wrote:
I had a pretty good struggle with OFBiz but I got it fairly well
handled.
With the information you provided...
You need to have the latest version of Java Development Kit 8
installed. The command below should give you some decent options to
choose from. adoptopenjdk-8-hotspot or adoptopen
$>apt search openjdk-8
adoptopenjdk-8-hotspot or adoptopenjdk-8-openj9 should work. You
might have to add a repository if it is not already in the standard
ubuntu repositories. You can also manually download it from IBM.
The command: /gradle/init-gradle-wrapper
Needs to be run as sudo
So...
$>sudo /gradle/init-gradle-wrapper
Once this command completes successfully and if you have every
intention to use the Derby database and not mysql then you simply
need
to run the command:
$>sudo ./gradlew cleanAll "ofbiz --load-data
readers=seed,deed-initial" loadAdminUserLogin -PuserLoginId=admin
That is all one command and cannot be broken down into tidbits.
That will clean and load a fresh unsullied database and run it on
the
local machine.
Mathew
________________________________
From: sa...@maxcapital.co.za <sa...@maxcapital.co.za>
Sent: Sunday, March 13, 2022 7:44 AM
To: user@ofbiz.apache.org <user@ofbiz.apache.org>
Subject: intstall
Hi,
would like to know if anyone can assist me on the easiest way to
install
Ofbiz. i have tried many ways via the internet pages found on Google
and
Youtube but are no successful. Many of them i am struggling with the
last step (Gradle) does not work at all. I also tried a Docker
install
and also cant get it right.
At the moment i am using ERPnext but would really like to test out
Ofbiz. I installed ERPnext via Docker and linked it to my domain for
the
ecommerce. Is this possible to do with Ofbiz, i am using Vultr
Ubuntun
20.04 currently.
Any help appreciated thanks.
Regards
Reinier Wolmarans