Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ENTER to continue, 'n' to try again, Ctrl+C to exit:
- Enabling Let's Encrypt
- web.ssl.template.yml enabled
- letsencrypt.ssl.template.yml enabled
- Configuration file at updated successfully!
- Updates successful. Rebuilding in 5 seconds.
- Building app
- Ensuring launcher is up to date
- Fetching origin
- Launcher is up-to-date
- cd /pups && git pull && /pups/bin/pups --stdin
- Already up to date.
- I, [2020-07-25T10:43:17.199576 #1] INFO -- : Loading --stdin
- I, [2020-07-25T10:43:17.205701 #1] INFO -- : > locale-gen $LANG && update-locale
- I, [2020-07-25T10:43:17.298528 #1] INFO -- : Generating locales (this might take a while)...
- Generation complete.
- I, [2020-07-25T10:43:17.299019 #1] INFO -- : > mkdir -p /shared/postgres_run
- I, [2020-07-25T10:43:17.302429 #1] INFO -- :
- I, [2020-07-25T10:43:17.302923 #1] INFO -- : > chown postgres:postgres /shared/postgres_run
- I, [2020-07-25T10:43:17.304877 #1] INFO -- :
- I, [2020-07-25T10:43:17.305398 #1] INFO -- : > chmod 775 /shared/postgres_run
- I, [2020-07-25T10:43:17.333287 #1] INFO -- :
- I, [2020-07-25T10:43:17.334185 #1] INFO -- : > rm -fr /var/run/postgresql
- I, [2020-07-25T10:43:17.336963 #1] INFO -- :
- I, [2020-07-25T10:43:17.337473 #1] INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
- I, [2020-07-25T10:43:17.339833 #1] INFO -- :
- I, [2020-07-25T10:43:17.340252 #1] INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
- 2020/07/25 10:43:17 socat[26] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
- I, [2020-07-25T10:43:17.347353 #1] INFO -- :
- I, [2020-07-25T10:43:17.347659 #1] INFO -- : > rm -fr /shared/postgres_run/.s*
- I, [2020-07-25T10:43:17.350139 #1] INFO -- :
- I, [2020-07-25T10:43:17.350450 #1] INFO -- : > rm -fr /shared/postgres_run/*.pid
- I, [2020-07-25T10:43:17.352826 #1] INFO -- :
- I, [2020-07-25T10:43:17.353136 #1] INFO -- : > mkdir -p /shared/postgres_run/12-main.pg_stat_tmp
- I, [2020-07-25T10:43:17.355179 #1] INFO -- :
- I, [2020-07-25T10:43:17.355636 #1] INFO -- : > chown postgres:postgres /shared/postgres_run/12-main.pg_stat_tmp
- I, [2020-07-25T10:43:17.357570 #1] INFO -- :
- I, [2020-07-25T10:43:17.361313 #1] INFO -- : File > /etc/service/postgres/run chmod: +x chown:
- I, [2020-07-25T10:43:17.365342 #1] INFO -- : File > /etc/service/postgres/log/run chmod: +x chown:
- I, [2020-07-25T10:43:17.369197 #1] INFO -- : File > /etc/runit/3.d/99-postgres chmod: +x chown:
- I, [2020-07-25T10:43:17.373011 #1] INFO -- : File > /root/upgrade_postgres chmod: +x chown:
- I, [2020-07-25T10:43:17.373514 #1] INFO -- : > chown -R root /var/lib/postgresql/12/main
- I, [2020-07-25T10:43:25.973454 #1] INFO -- :
- I, [2020-07-25T10:43:25.974709 #1] INFO -- : > [ ! -e /shared/postgres_data ] && install -d -m 0755 -o postgres -g postgres /shared/postgres_data && sudo -E -u postgres /usr/lib/postgresql/12/bin/initdb -D /shared/postgres_data || exit 0
- I, [2020-07-25T10:43:26.020822 #1] INFO -- :
- I, [2020-07-25T10:43:26.021744 #1] INFO -- : > chown -R postgres:postgres /shared/postgres_data
- I, [2020-07-25T10:43:26.033426 #1] INFO -- :
- I, [2020-07-25T10:43:26.033976 #1] INFO -- : > chown -R postgres:postgres /var/run/postgresql
- I, [2020-07-25T10:43:26.041643 #1] INFO -- :
- I, [2020-07-25T10:43:26.043783 #1] INFO -- : > /root/upgrade_postgres
- I, [2020-07-25T10:43:26.057862 #1] INFO -- :
- I, [2020-07-25T10:43:26.058230 #1] INFO -- : > rm /root/upgrade_postgres
- I, [2020-07-25T10:43:26.060760 #1] INFO -- :
- I, [2020-07-25T10:43:26.061942 #1] INFO -- : Replacing data_directory = '/var/lib/postgresql/12/main' with data_directory = '/shared/postgres_data' in /etc/postgresql/12/main/postgresql.conf
- I, [2020-07-25T10:43:26.063636 #1] INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/12/main/postgresql.conf
- I, [2020-07-25T10:43:26.064242 #1] INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/12/main/postgresql.conf
- I, [2020-07-25T10:43:26.064864 #1] INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/12/main/postgresql.conf
- I, [2020-07-25T10:43:26.065525 #1] INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/12/main/postgresql.conf
- I, [2020-07-25T10:43:26.066285 #1] INFO -- : Replacing (?-mix:#?default_text_search_config *=.*) with default_text_search_config = '$db_default_text_search_config' in /etc/postgresql/12/main/postgresql.conf
- I, [2020-07-25T10:43:26.066830 #1] INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
- I, [2020-07-25T10:43:26.086899 #1] INFO -- :
- I, [2020-07-25T10:43:26.087608 #1] INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/12/main/postgresql.conf
- I, [2020-07-25T10:43:26.088097 #1] INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/12/main/postgresql.conf
- I, [2020-07-25T10:43:26.088869 #1] INFO -- : Replacing (?-mix:#?log_min_duration_statement *=.*) with log_min_duration_statement = $db_log_min_duration_statement in /etc/postgresql/12/main/postgresql.conf
- I, [2020-07-25T10:43:26.089615 #1] INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres peer in /etc/postgresql/12/main/pg_hba.conf
- I, [2020-07-25T10:43:26.090178 #1] INFO -- : Replacing (?-mix:^host.*all.*all.*127.*$) with host all all 0.0.0.0/0 md5 in /etc/postgresql/12/main/pg_hba.conf
- I, [2020-07-25T10:43:26.090673 #1] INFO -- : > HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/12/bin/postmaster -D /etc/postgresql/12/main
- I, [2020-07-25T10:43:26.092035 #1] INFO -- : > sleep 5
- 2020-07-25 10:43:26.240 GMT [49] LOG: 0 8kB is outside the valid range for parameter "shared_buffers" (16 .. 1073741823)
- 2020-07-25 10:43:26.241 UTC [49] FATAL: configuration file "/etc/postgresql/12/main/postgresql.conf" contains errors
- I, [2020-07-25T10:43:31.097546 #1] INFO -- :
- I, [2020-07-25T10:43:31.098318 #1] INFO -- : > su postgres -c 'createdb discourse' || true
- createdb: error: could not connect to database template1: could not connect to server: No such file or directory
- Is the server running locally and accepting
- connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
- I, [2020-07-25T10:43:31.178782 #1] INFO -- :
- I, [2020-07-25T10:43:31.179211 #1] INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
- psql: error: could not connect to server: could not connect to server: No such file or directory
- Is the server running locally and accepting
- connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
- I, [2020-07-25T10:43:31.231648 #1] INFO -- :
- I, [2020-07-25T10:43:31.232055 #1] INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
- psql: error: could not connect to server: could not connect to server: No such file or directory
- Is the server running locally and accepting
- connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
- I, [2020-07-25T10:43:31.283637 #1] INFO -- :
- I, [2020-07-25T10:43:31.284042 #1] INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
- psql: error: could not connect to server: could not connect to server: No such file or directory
- Is the server running locally and accepting
- connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
- I, [2020-07-25T10:43:31.338130 #1] INFO -- :
- I, [2020-07-25T10:43:31.338746 #1] INFO -- : Terminating async processes
- 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:112:in `spawn'
- exec failed with the params "su postgres -c 'psql $db_name -c \"alter schema public owner to $db_user;\"'"
- 5c957eb9afb0851a6ade29de8495086d72fb74150be1bc20f2bc2db04393079a
- ** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
- ./discourse-doctor may help diagnose the problem.
Advertisement
Add Comment
Please, Sign In to add comment