Advertisement
Guest User

Untitled

a guest
Jul 25th, 2020
51
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ENTER to continue, 'n' to try again, Ctrl+C to exit:
  2. Enabling Let's Encrypt
  3. web.ssl.template.yml enabled
  4. letsencrypt.ssl.template.yml enabled
  5.  
  6. Configuration file at updated successfully!
  7.  
  8. Updates successful. Rebuilding in 5 seconds.
  9. Building app
  10. Ensuring launcher is up to date
  11. Fetching origin
  12. Launcher is up-to-date
  13. cd /pups && git pull && /pups/bin/pups --stdin
  14. Already up to date.
  15. I, [2020-07-25T10:43:17.199576 #1] INFO -- : Loading --stdin
  16. I, [2020-07-25T10:43:17.205701 #1] INFO -- : > locale-gen $LANG && update-locale
  17. I, [2020-07-25T10:43:17.298528 #1] INFO -- : Generating locales (this might take a while)...
  18. Generation complete.
  19.  
  20. I, [2020-07-25T10:43:17.299019 #1] INFO -- : > mkdir -p /shared/postgres_run
  21. I, [2020-07-25T10:43:17.302429 #1] INFO -- :
  22. I, [2020-07-25T10:43:17.302923 #1] INFO -- : > chown postgres:postgres /shared/postgres_run
  23. I, [2020-07-25T10:43:17.304877 #1] INFO -- :
  24. I, [2020-07-25T10:43:17.305398 #1] INFO -- : > chmod 775 /shared/postgres_run
  25. I, [2020-07-25T10:43:17.333287 #1] INFO -- :
  26. I, [2020-07-25T10:43:17.334185 #1] INFO -- : > rm -fr /var/run/postgresql
  27. I, [2020-07-25T10:43:17.336963 #1] INFO -- :
  28. I, [2020-07-25T10:43:17.337473 #1] INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
  29. I, [2020-07-25T10:43:17.339833 #1] INFO -- :
  30. 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
  31. 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
  32. I, [2020-07-25T10:43:17.347353 #1] INFO -- :
  33. I, [2020-07-25T10:43:17.347659 #1] INFO -- : > rm -fr /shared/postgres_run/.s*
  34. I, [2020-07-25T10:43:17.350139 #1] INFO -- :
  35. I, [2020-07-25T10:43:17.350450 #1] INFO -- : > rm -fr /shared/postgres_run/*.pid
  36. I, [2020-07-25T10:43:17.352826 #1] INFO -- :
  37. I, [2020-07-25T10:43:17.353136 #1] INFO -- : > mkdir -p /shared/postgres_run/12-main.pg_stat_tmp
  38. I, [2020-07-25T10:43:17.355179 #1] INFO -- :
  39. I, [2020-07-25T10:43:17.355636 #1] INFO -- : > chown postgres:postgres /shared/postgres_run/12-main.pg_stat_tmp
  40. I, [2020-07-25T10:43:17.357570 #1] INFO -- :
  41. I, [2020-07-25T10:43:17.361313 #1] INFO -- : File > /etc/service/postgres/run chmod: +x chown:
  42. I, [2020-07-25T10:43:17.365342 #1] INFO -- : File > /etc/service/postgres/log/run chmod: +x chown:
  43. I, [2020-07-25T10:43:17.369197 #1] INFO -- : File > /etc/runit/3.d/99-postgres chmod: +x chown:
  44. I, [2020-07-25T10:43:17.373011 #1] INFO -- : File > /root/upgrade_postgres chmod: +x chown:
  45. I, [2020-07-25T10:43:17.373514 #1] INFO -- : > chown -R root /var/lib/postgresql/12/main
  46. I, [2020-07-25T10:43:25.973454 #1] INFO -- :
  47. 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
  48. I, [2020-07-25T10:43:26.020822 #1] INFO -- :
  49. I, [2020-07-25T10:43:26.021744 #1] INFO -- : > chown -R postgres:postgres /shared/postgres_data
  50. I, [2020-07-25T10:43:26.033426 #1] INFO -- :
  51. I, [2020-07-25T10:43:26.033976 #1] INFO -- : > chown -R postgres:postgres /var/run/postgresql
  52. I, [2020-07-25T10:43:26.041643 #1] INFO -- :
  53. I, [2020-07-25T10:43:26.043783 #1] INFO -- : > /root/upgrade_postgres
  54. I, [2020-07-25T10:43:26.057862 #1] INFO -- :
  55. I, [2020-07-25T10:43:26.058230 #1] INFO -- : > rm /root/upgrade_postgres
  56. I, [2020-07-25T10:43:26.060760 #1] INFO -- :
  57. 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
  58. I, [2020-07-25T10:43:26.063636 #1] INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/12/main/postgresql.conf
  59. 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
  60. 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
  61. 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
  62. 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
  63. I, [2020-07-25T10:43:26.066830 #1] INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
  64. I, [2020-07-25T10:43:26.086899 #1] INFO -- :
  65. 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
  66. 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
  67. 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
  68. 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
  69. 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
  70. 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
  71. I, [2020-07-25T10:43:26.092035 #1] INFO -- : > sleep 5
  72. 2020-07-25 10:43:26.240 GMT [49] LOG: 0 8kB is outside the valid range for parameter "shared_buffers" (16 .. 1073741823)
  73. 2020-07-25 10:43:26.241 UTC [49] FATAL: configuration file "/etc/postgresql/12/main/postgresql.conf" contains errors
  74. I, [2020-07-25T10:43:31.097546 #1] INFO -- :
  75. I, [2020-07-25T10:43:31.098318 #1] INFO -- : > su postgres -c 'createdb discourse' || true
  76. createdb: error: could not connect to database template1: could not connect to server: No such file or directory
  77. Is the server running locally and accepting
  78. connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
  79. I, [2020-07-25T10:43:31.178782 #1] INFO -- :
  80. I, [2020-07-25T10:43:31.179211 #1] INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
  81. psql: error: could not connect to server: could not connect to server: No such file or directory
  82. Is the server running locally and accepting
  83. connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
  84. I, [2020-07-25T10:43:31.231648 #1] INFO -- :
  85. I, [2020-07-25T10:43:31.232055 #1] INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
  86. psql: error: could not connect to server: could not connect to server: No such file or directory
  87. Is the server running locally and accepting
  88. connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
  89. I, [2020-07-25T10:43:31.283637 #1] INFO -- :
  90. I, [2020-07-25T10:43:31.284042 #1] INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
  91. psql: error: could not connect to server: could not connect to server: No such file or directory
  92. Is the server running locally and accepting
  93. connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
  94. I, [2020-07-25T10:43:31.338130 #1] INFO -- :
  95. I, [2020-07-25T10:43:31.338746 #1] INFO -- : Terminating async processes
  96.  
  97.  
  98. FAILED
  99. --------------------
  100. Pups::ExecError: su postgres -c 'psql discourse -c "alter schema public owner to discourse;"' failed with return #<Process::Status: pid 75 exit 2>
  101. Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
  102. exec failed with the params "su postgres -c 'psql $db_name -c \"alter schema public owner to $db_user;\"'"
  103. 5c957eb9afb0851a6ade29de8495086d72fb74150be1bc20f2bc2db04393079a
  104. ** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
  105. ./discourse-doctor may help diagnose the problem.
  106.  
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement