I ran ./gradlew cleanAll and dropped the three mysql databases, then recreated blank dbs and launched with the init.d script I grabbed. Looks like that is essentially running:

/ofbiz/gradlew ofbiz

So it looks like I missed the "enough data to run but not the sample data" boat. I do see it in another reply to my initial question though, just have to go read through them again.

On 04/19/2017 01:19 AM, Taher Alkhateeb wrote:
Hi Craig,

loadDefault is an alias for "ofbiz --load-data" which by default loads all
data sets.

cleanAll deletes everything including the database but only if the database
is derby (embedded). If your database is MySQL or Postgres, then you have
to clean it up manually.

I'm not sure what command did you use to reach the point of a non-working
system, but usually ./gradlew cleanAll loadDefault is enough to get your
system working properly.

On Wed, Apr 19, 2017 at 3:40 AM, Craig Parker <[email protected]> wrote:

./gradlew cleanAll loadDefault will load some test data. Or is that wrong?
I'm only thinking so because I saw things in the PRODUCTS table besides the
item I started creating.

Dropping the databases, running and firing OFBiz up again seems to have
rebuilt the databases (I thought I'd read somewhere that they'd get rebuilt
like that), but there's no data. This was the desired effect, but I can't
launch the software now. I can post the whole error, or just say that I see
a lot of "Template location is empty" messages.

Is that the right way to start with a clean slate and I missed a step, or
is that totally wrong?


Reply via email to