Skip to content
simple10 edited this page Feb 19, 2013 · 12 revisions

If you run into any problems, refer to this page or post to the support community

PostgreSQL Errors

FATAL: Peer authentication failed for user "postgres"

Change your local settings in pg_hba.conf from "peer" to "trust" and restart postgres.

When postgres is first installed on most systems, it defaults to highly restrictive security settings that prevent the postgres user from having full access.

FATAL: hstore extension not installed

Hstore is part of postgres contrib packages.

Install contribs, restart postgres, and try again.

Erlang or Rebar Errors

If you see a rebar error during "make", it's likely you have an old version of Erlang OTP.

./rebar generate
==> rel (generate)
ERROR: Unable to generate spec: read file info /usr/lib/erlang/man/man1/gserialver.1.gz failed
ERROR: Unexpected error: rebar_abort
ERROR: generate failed while processing /home/user/zephyr/cloudstore/rel: rebar_abort
make[1]: *** [generate] Error 1
make[1]: Leaving directory `/home/user/zephyr/cloudstore'
make: *** [all] Error 2

Check which version of Erlang/OTP you have installed by starting the Erlang shell ...

Erlang R15B03 (erts-5.9.3) [source] [64-bit] [smp:8:8] [async-threads:0] [hipe] [kernel-poll:false] [dtrace]

Eshell V5.9.3  (abort with ^G)
1> 

If you don't see R15B03 or later, then you need to upgrade Erlang.

Follow the steps in README to install the correct version or open an issue to let us know we need to update the docs.

Crashes on Startup

Erlang components like CloudStore use rebar to manage dependencies. If a component crashes on startup, try deleting the component's deps directory, rerunning make, and then starting up the component.

rm -rf cloudstore/deps
make
./cloudstore/rel/cloudstore/bin/cloudstore console
Clone this wiki locally