Install Postgresql
Closed this issue · 5 comments
I might be missing something obvious here, but:
_~/workspace$ parts install postgresql_
=> Downloading https://nitrousio-autoparts-use1.s3.amazonaws.com/postgresql-9.2.4-binary.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 9949k 100 9949k 0 0 1696k 0 0:00:05 0:00:05 --:--:-- 2256k
=> Verifying archive...
=> Extracting archive...
=> Installing...
The files belonging to this database system will be owned by user "action".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.UTF-8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
fixing permissions on existing directory /home/action/.parts/var/postgresql ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 24MB
creating configuration files ... ok
creating template1 database in /home/action/.parts/var/postgresql/base/1 ... ok
initializing pg_authid ... ok
initializing dependencies ... ok
creating system views ... ok
loading system objects' descriptions ... ok
creating collations ... ok
creating conversions ... ok
creating dictionaries ... ok
setting privileges on built-in objects ... ok
creating information schema ... ok
loading PL/pgSQL server-side language ... ok
vacuuming database template1 ... ok
copying template1 to template0 ... ok
copying template1 to postgres ... ok
WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.
Success. You can now start the database server using:
/home/action/.parts/packages/postgresql/9.2.4/bin/postgres -D /home/action/.parts/var/postgresql
or
/home/action/.parts/packages/postgresql/9.2.4/bin/pg_ctl -D /home/action/.parts/var/postgresql -l logfile start
_~/workspace$ parts start postgresql_
=> Starting postgresql...
parts: ERROR: "/home/action/.parts/bin/pg_ctl -D /home/action/.parts/var/postgresql -l /home/action/.parts/var/log/postgresql/postgresql.log -w start" failed
Aborting!
this is odd. did the parts install actually finish or just freeze halfway? we currently have a bug in our system where processes just hang if disk quota is reached. do you have enough disk space? you can see disk usage by doing cd; du -hd 1
or by going to the box settings page. @dqminh @arunthampi
@Rodeoclash oops my bad. a recent commit broke it. fixed it.
@Rodeoclash do parts purge postgresql
and then parts install postgresql
to reinstall
"purge" doesn't seem to be a command, however rerunning install did the trick! Working now.
@Rodeoclash
purge
is a new command. Please do parts update
to fetch the latest version, and try parts purge postgresql
and then parts install postgresql