Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 1.17 KB

FAQ.md

File metadata and controls

15 lines (8 loc) · 1.17 KB

FAQ

Installing Dispute Tools

I. Receive error Knex:Error Pool2 - error: role "postgres" does not exist when trying to migrate with yarn db:migrate. In order to solve this we must run createuser -s postgres listing the roles should have the postgres one like:

II. I got an error related to PhantomJS not found on PATH. Make sure you have homebrew to run brew cask install phantomjs prior to yarn install dependencies in order the process to work as expected.

III. psql: FATAL: database does not exist. Run: createdb <User> -U <User> prior to intend to run yarn utils:resetdb.

IV. "discourse_development" db not found. You should update the database document directly on the Discourse project under config/database.yml file to use debtcollective_discourse_development instead discourse_development or use the env variable before the rails command DISCOURSE_DEV_DB=debtcollective_discourse_development.

V. "error: role 'postgres' does not exist". create a user like createuser postgres --interactive and give superuser permissions