Open r76941156 opened 7 years ago
I try to modify 'method' from 'trust' to password from /etc/postgresql/9.*/main/pg_hba.conf. But, it did not work.
The problem stems from conflicts from an older version of Sequelize and the newest version of Postgres. I am currently working on updating the software to work with the latest Sequelize and Postgres.
Right now the quickest solution is to install the previous version of Postgres. I think you're safest with 9.3. Here are my current installation notes:
cd oe & bower install
sudo vim /etc/postgresql/9.3/main/pg_hba.conf
host all all 127.0.0.1/32 password
sudo /etc/init.d/postgresql restart
Thanks. But, I got a new error:
"3 Mar 11:03:02 - [prepareSession] Creating the session store /var/www/html/openeddi3/oe/oe_server/create_app.js:116 if (OEConfig.build.minify) { ^
TypeError: Cannot read property 'minify' of undefined
at Object.
@r76941156 What does your config.json
look like?
It works now. I will let you know if I have ANY questions. Thanks.
Hi,
Do you know how to fix below issue:
"2 Mar 17:08:25 - [prepareSession] Creating the session store Possibly unhandled SequelizeBaseError: unrecognized configuration parameter "autocommit" at Query.module.exports.Query.formatError (/var/www/html/openeddi3/node_modules/sequelize/lib/dialects/postgres/query.js:419:16) at Query. (/var/www/html/openeddi3/node_modules/sequelize/lib/dialects/postgres/query.js:106:21)
at emitOne (events.js:96:13)
at Query.emit (events.js:188:7)
at Query.handleError (/var/www/html/openeddi3/node_modules/pg/lib/query.js:99:8)
at Connection. (/var/www/html/openeddi3/node_modules/pg/lib/client.js:166:26)
at emitOne (events.js:96:13)
at Connection.emit (events.js:188:7)
at Socket. (/var/www/html/openeddi3/node_modules/pg/lib/connection.js:109:12)
at emitOne (events.js:96:13)
Possibly unhandled SequelizeBaseError: unrecognized configuration parameter "autocommit"
..........