Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I, [2016-08-08T20:30:41.716904 #15] INFO -- : > HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/9.5/bin/postmaster -D /etc/postgresql/9.5/main
- I, [2016-08-08T20:30:41.718112 #15] INFO -- : > sleep 5
- 2016-08-08 20:30:43 UTC [47-1] LOG: database system shutdown was interrupted; last known up at 2016-08-08 20:21:14 UTC
- I, [2016-08-08T20:30:46.719401 #15] INFO -- :
- I, [2016-08-08T20:30:46.719671 #15] INFO -- : > su postgres -c 'createdb discourse' || true
- 2016-08-08 20:30:46 UTC [51-1] postgres@postgres FATAL: the database system is starting up
- 2016-08-08 20:30:46 UTC [52-1] postgres@template1 FATAL: the database system is starting up
- createdb: could not connect to database template1: FATAL: the database system is starting up
- I, [2016-08-08T20:30:46.799160 #15] INFO -- :
- I, [2016-08-08T20:30:46.799347 #15] INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
- 2016-08-08 20:30:46 UTC [63-1] postgres@discourse FATAL: the database system is starting up
- psql: FATAL: the database system is starting up
- I, [2016-08-08T20:30:46.887566 #15] INFO -- :
- I, [2016-08-08T20:30:46.887762 #15] INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
- 2016-08-08 20:30:46 UTC [74-1] postgres@discourse FATAL: the database system is starting up
- psql: FATAL: the database system is starting up
- I, [2016-08-08T20:30:46.977188 #15] INFO -- :
- I, [2016-08-08T20:30:46.977476 #15] INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
- 2016-08-08 20:30:47 UTC [85-1] postgres@discourse FATAL: the database system is starting up
- psql: FATAL: the database system is starting up
- I, [2016-08-08T20:30:47.071930 #15] INFO -- :
- I, [2016-08-08T20:30:47.072182 #15] INFO -- : Terminating async processes
- I, [2016-08-08T20:30:47.072233 #15] INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/9.5/bin/postmaster -D /etc/postgresql/9.5/main pid: 44
- 2016-08-08 20:30:47 UTC [44-1] LOG: received fast shutdown request
- I, [2016-08-08T20:30:57.072966 #15] INFO -- : HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/9.5/bin/postmaster -D /etc/postgresql/9.5/main pid:44 did not terminate cleanly, forcing termination!
- FAILED
- --------------------
- Pups::ExecError: su postgres -c 'psql discourse -c "alter schema public owner to discourse;"' failed with return #<Process::Status: pid 75 exit 2>
- Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn'
- exec failed with the params "su postgres -c 'psql $db_name -c \"alter schema public owner to $db_user;\"'"
- 74a71d2e5dbe9c26b7312d0dc7e69f523c56440c125bc60dedc7806d0f719d5a
- ** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement