Hi Chuck, I was able to create successfully an idempiere DB on amazon RDS postgresql.
Instance idemtest created with database idempiere and user adempiere
psql -d postgres -U adempiere -h $HOST -p 5432 -c "drop database idempiere"
psql -d postgres -U adempiere -h $HOST -p 5432 -c "create database idempiere WITH ENCODING='UNICODE' owner=adempiere"
psql -d idempiere -U adempiere -h $HOST -p 5432 -c 'CREATE EXTENSION "uuid-ossp"'
I found some problems with the normal dump that probably can be just ignored, but in case you want a ready-to-use amazon dump not showing errors, you can download the one I fixed from here:
Then I imported the database with:
psql -d idempiere -U adempiere -h $HOST -p 5432 -f Adempiere_pg_amazonRDS.dmp
And then I applied the pending scripts with:
just change the line 9 with something like:
We don't need permissions for C - and our requirements (pl/pgsql and the uuid extension) are already supported.
And that's all. Then you can use your
console-setup.sh stating that the database already exists and pointing to where is located - note that precisely we implemented support for this case (not having postgresql password) with
https://idempiere.atlassian.net/browse/IDEMPIERE-472
Regards,
Carlos Ruiz