Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ensuring discourse docker is up to date
- Fetching origin
- remote: Counting objects: 584, done.
- remote: Compressing objects: 100% (8/8), done.
- remote: Total 584 (delta 209), reused 206 (delta 206), pack-reused 370
- Receiving objects: 100% (584/584), 127.36 KiB | 0 bytes/s, done.
- Resolving deltas: 100% (387/387), completed with 35 local objects.
- From https://github.com/discourse/discourse_docker
- fecfcdc..8e4e9b3 master -> origin/master
- * [new branch] 1.3.2 -> origin/1.3.2
- * [new branch] revert-233-mac-address -> origin/revert-233-mac-address
- Updating Discourse Docker
- Updating fecfcdc..8e4e9b3
- Fast-forward
- README.md | 3 +-
- discourse-setup | 453 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- image/base/.gitignore | 1 +
- image/base/Dockerfile | 131 ++++++++++-------
- image/base/download_phantomjs | 3 +
- image/base/install-imagemagick | 11 +-
- image/base/install-nginx | 39 +++++
- image/base/install-pngcrush | 2 +-
- image/build.rb | 6 +-
- image/discourse/Dockerfile | 8 +-
- image/discourse_fast_switch/Dockerfile | 4 +-
- image/discourse_fast_switch/create_switch.rb | 2 +-
- image/discourse_test/Dockerfile | 5 +-
- launcher | 354 +++++++++++++++++++-------------------------
- samples/standalone.yml | 88 +++++------
- samples/web_only.yml | 4 +
- scripts/mk_swapfile | 2 +-
- templates/import/phpbb3.template.yml | 11 +-
- templates/postgres.9.3.template.yml | 182 +++++++++++++++++++++++
- templates/postgres.9.5.template.yml | 175 ++++++++++++++++++++++
- templates/postgres.template.yml | 100 +++++++------
- templates/redis.template.yml | 12 ++
- templates/web.china.template.yml | 5 +-
- templates/web.letsencrypt.ssl.template.yml | 36 +++--
- templates/web.onion.template.yml | 49 +++++++
- templates/web.template.yml | 48 +++++-
- 26 files changed, 1335 insertions(+), 399 deletions(-)
- create mode 100755 discourse-setup
- create mode 100644 image/base/.gitignore
- create mode 100755 image/base/download_phantomjs
- create mode 100755 image/base/install-nginx
- create mode 100644 templates/postgres.9.3.template.yml
- create mode 100644 templates/postgres.9.5.template.yml
- create mode 100644 templates/web.onion.template.yml
- WARNING: We are about to start downloading the Discourse base image
- This process may take anywhere between a few minutes to an hour, depending on your network speed
- Please be patient
- Unable to find image 'discourse/discourse:1.3.5' locally
- 1.3.5: Pulling from discourse/discourse
- 487bffc61de6: Pulling fs layer
- 55d9a9ec7c7b: Pulling fs layer
- 203aa2a3d8cb: Pulling fs layer
- a852d4254d12: Pulling fs layer
- 26f99d255c17: Pulling fs layer
- a89be6db785c: Pulling fs layer
- 4b1f40caae68: Pulling fs layer
- 857ef7ee248e: Pulling fs layer
- 4b1f40caae68: Verifying Checksum
- 4b1f40caae68: Download complete
- a852d4254d12: Verifying Checksum
- a852d4254d12: Download complete
- 857ef7ee248e: Verifying Checksum
- 857ef7ee248e: Download complete
- 26f99d255c17: Verifying Checksum
- 26f99d255c17: Download complete
- a89be6db785c: Verifying Checksum
- a89be6db785c: Download complete
- 487bffc61de6: Verifying Checksum
- 487bffc61de6: Download complete
- 487bffc61de6: Pull complete
- ^T55d9a9ec7c7b: Verifying Checksum
- 55d9a9ec7c7b: Download complete
- 203aa2a3d8cb: Verifying Checksum
- 203aa2a3d8cb: Download complete
- 55d9a9ec7c7b: Pull complete
- 203aa2a3d8cb: Pull complete
- a852d4254d12: Pull complete
- 26f99d255c17: Pull complete
- a89be6db785c: Pull complete
- 4b1f40caae68: Pull complete
- 857ef7ee248e: Pull complete
- Digest: sha256:a3fffe0bc4a462c52429e4986932a1733be384f9211e7e48f14864bd9306fb53
- Status: Downloaded newer image for discourse/discourse:1.3.5
- Ensuring launcher is up to date
- Fetching origin
- Launcher is up-to-date
- Stopping old container
- + /usr/bin/docker stop -t 10 app
- app
- cd /pups && git pull && /pups/bin/pups --stdin
- Already up-to-date.
- I, [2016-06-30T07:38:17.988364 #15] INFO -- : Loading --stdin
- I, [2016-06-30T07:38:17.997182 #15] INFO -- : > mkdir -p /shared/postgres_run
- I, [2016-06-30T07:38:18.001378 #15] INFO -- :
- I, [2016-06-30T07:38:18.001814 #15] INFO -- : > chown postgres:postgres /shared/postgres_run
- I, [2016-06-30T07:38:18.004690 #15] INFO -- :
- I, [2016-06-30T07:38:18.005020 #15] INFO -- : > chmod 775 /shared/postgres_run
- I, [2016-06-30T07:38:18.007136 #15] INFO -- :
- I, [2016-06-30T07:38:18.007485 #15] INFO -- : > rm -fr /var/run/postgresql
- I, [2016-06-30T07:38:18.010119 #15] INFO -- :
- I, [2016-06-30T07:38:18.010545 #15] INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
- I, [2016-06-30T07:38:18.012788 #15] INFO -- :
- I, [2016-06-30T07:38:18.013138 #15] INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
- 2016/06/30 07:38:18 socat[23] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
- I, [2016-06-30T07:38:18.049311 #15] INFO -- :
- I, [2016-06-30T07:38:18.049755 #15] INFO -- : > rm -fr /shared/postgres_run/.s*
- I, [2016-06-30T07:38:18.052440 #15] INFO -- :
- I, [2016-06-30T07:38:18.052826 #15] INFO -- : > rm -fr /shared/postgres_run/*.pid
- I, [2016-06-30T07:38:18.055021 #15] INFO -- :
- I, [2016-06-30T07:38:18.055359 #15] INFO -- : > mkdir -p /shared/postgres_run/9.5-main.pg_stat_tmp
- I, [2016-06-30T07:38:18.057147 #15] INFO -- :
- I, [2016-06-30T07:38:18.057556 #15] INFO -- : > chown postgres:postgres /shared/postgres_run/9.5-main.pg_stat_tmp
- I, [2016-06-30T07:38:18.059495 #15] INFO -- :
- I, [2016-06-30T07:38:18.063601 #15] INFO -- : File > /etc/service/postgres/run chmod: +x
- I, [2016-06-30T07:38:18.067399 #15] INFO -- : File > /etc/runit/3.d/99-postgres chmod: +x
- I, [2016-06-30T07:38:18.071002 #15] INFO -- : File > /root/upgrade_postgres chmod: +x
- I, [2016-06-30T07:38:18.071537 #15] INFO -- : > chown -R root /var/lib/postgresql/9.5/main
- I, [2016-06-30T07:38:18.456985 #15] INFO -- :
- I, [2016-06-30T07:38:18.457424 #15] INFO -- : > [ ! -e /shared/postgres_data ] && install -d -m 0755 -o postgres -g postgres /shared/postgres_data && sudo -E -u postgres /usr/lib/postgresql/9.5/bin/initdb -D /shared/postgres_data || exit 0
- I, [2016-06-30T07:38:18.459972 #15] INFO -- :
- I, [2016-06-30T07:38:18.460121 #15] INFO -- : > chown -R postgres:postgres /shared/postgres_data
- I, [2016-06-30T07:38:18.508402 #15] INFO -- :
- I, [2016-06-30T07:38:18.508677 #15] INFO -- : > chown -R postgres:postgres /var/run/postgresql
- I, [2016-06-30T07:38:18.511528 #15] INFO -- :
- I, [2016-06-30T07:38:18.511848 #15] INFO -- : > /root/upgrade_postgres
- 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.
- dpkg-preconfigure: unable to re-open stdin:
- I, [2016-06-30T07:38:59.955651 #15] INFO -- : Upgrading PostgreSQL to from version 9.3 to 9.5
- The files belonging to this database system will be owned by user "postgres".
- 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".
- Data page checksums are disabled.
- fixing permissions on existing directory /shared/postgres_data_new ... ok
- creating subdirectories ... ok
- selecting default max_connections ... 100
- selecting default shared_buffers ... 128MB
- selecting dynamic shared memory implementation ... posix
- creating configuration files ... ok
- creating template1 database in /shared/postgres_data_new/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
- syncing data to disk ... ok
- Success. You can now start the database server using:
- /usr/lib/postgresql/9.5/bin/pg_ctl -D /shared/postgres_data_new -l logfile start
- Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
- Get:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB]
- Get:3 http://archive.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
- Get:4 http://apt.postgresql.org/pub/repos/apt xenial-pgdg InRelease [26.5 kB]
- Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [303 kB]
- Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [157 kB]
- Get:7 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages [141 kB]
- Get:8 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [34.0 kB]
- Get:9 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main amd64 Packages [64.9 kB]
- Get:10 https://deb.nodesource.com/node_4.x xenial InRelease [3,914 B]
- Get:11 https://deb.nodesource.com/node_4.x xenial/main Sources [762 B]
- Get:12 https://deb.nodesource.com/node_4.x xenial/main amd64 Packages [961 B]
- Fetched 921 kB in 1s (636 kB/s)
- Reading package lists...
- Reading package lists...
- Building dependency tree...
- Reading state information...
- The following additional packages will be installed:
- libossp-uuid16 postgresql-client-9.3 postgresql-contrib-9.3
- Suggested packages:
- uuid locales-all postgresql-doc-9.3 libdbd-pg-perl
- The following NEW packages will be installed:
- libossp-uuid16 postgresql-9.3 postgresql-client-9.3 postgresql-contrib-9.3
- 0 upgraded, 4 newly installed, 0 to remove and 26 not upgraded.
- Need to get 4,990 kB of archives.
- After this operation, 23.9 MB of additional disk space will be used.
- Get:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libossp-uuid16 amd64 1.6.2-1.5build2 [28.6 kB]
- Get:2 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main amd64 postgresql-client-9.3 amd64 9.3.13-1.pgdg16.04+1 [1,038 kB]
- Get:3 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main amd64 postgresql-9.3 amd64 9.3.13-1.pgdg16.04+1 [3,515 kB]
- Get:4 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main amd64 postgresql-contrib-9.3 amd64 9.3.13-1.pgdg16.04+1 [409 kB]
- Fetched 4,990 kB in 1s (3,187 kB/s)
- Selecting previously unselected package libossp-uuid16:amd64.
- (Reading database ... 34207 files and directories currently installed.)
- Preparing to unpack .../libossp-uuid16_1.6.2-1.5build2_amd64.deb ...
- Unpacking libossp-uuid16:amd64 (1.6.2-1.5build2) ...
- Selecting previously unselected package postgresql-client-9.3.
- Preparing to unpack .../postgresql-client-9.3_9.3.13-1.pgdg16.04+1_amd64.deb ...
- Unpacking postgresql-client-9.3 (9.3.13-1.pgdg16.04+1) ...
- Selecting previously unselected package postgresql-9.3.
- Preparing to unpack .../postgresql-9.3_9.3.13-1.pgdg16.04+1_amd64.deb ...
- Unpacking postgresql-9.3 (9.3.13-1.pgdg16.04+1) ...
- Selecting previously unselected package postgresql-contrib-9.3.
- Preparing to unpack .../postgresql-contrib-9.3_9.3.13-1.pgdg16.04+1_amd64.deb ...
- Unpacking postgresql-contrib-9.3 (9.3.13-1.pgdg16.04+1) ...
- Processing triggers for libc-bin (2.23-0ubuntu3) ...
- Processing triggers for postgresql-common (174.pgdg16.04+1) ...
- Building PostgreSQL dictionaries from installed myspell/hunspell packages...
- Removing obsolete dictionary files:
- Setting up libossp-uuid16:amd64 (1.6.2-1.5build2) ...
- Setting up postgresql-client-9.3 (9.3.13-1.pgdg16.04+1) ...
- update-alternatives: warning: forcing reinstallation of alternative /usr/share/postgresql/9.5/man/man1/psql.1.gz because link group psql.1.gz is broken
- Setting up postgresql-9.3 (9.3.13-1.pgdg16.04+1) ...
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Creating new cluster 9.3/main ...
- config /etc/postgresql/9.3/main
- data /var/lib/postgresql/9.3/main
- locale C
- socket /var/run/postgresql
- port 5433
- Warning: The selected stats_temp_directory /var/run/postgresql/9.3-main.pg_stat_tmp
- is not writable for the cluster owner. Not adding this setting in
- postgresql.conf.
- update-alternatives: warning: forcing reinstallation of alternative /usr/share/postgresql/9.5/man/man1/postmaster.1.gz because link group postmaster.1.gz is broken
- invoke-rc.d: could not determine current runlevel
- invoke-rc.d: policy-rc.d denied execution of start.
- Setting up postgresql-contrib-9.3 (9.3.13-1.pgdg16.04+1) ...
- Processing triggers for libc-bin (2.23-0ubuntu3) ...
- * Stopping PostgreSQL 9.3 database server
- ...done.
- * Stopping PostgreSQL 9.5 database server
- * Error: Config owner (postgres:107) and data owner (root:0) do not match, and config owner is not root
- ...fail!
- Performing Consistency Checks
- -----------------------------
- Checking cluster versions ok
- Checking database user is the install user ok
- Checking database connection settings ok
- Checking for prepared transactions ok
- Checking for reg* system OID user data types ok
- Checking for contrib/isn with bigint-passing mismatch ok
- Checking for invalid "line" user columns ok
- Creating dump of global objects ok
- Creating dump of database schemas
- discourse
- postgres
- template1
- ok
- Checking for presence of required libraries ok
- Checking database user is the install user ok
- Checking for prepared transactions ok
- If pg_upgrade fails after this point, you must re-initdb the
- new cluster before continuing.
- Performing Upgrade
- ------------------
- Analyzing all rows in the new cluster ok
- Freezing all rows on the new cluster ok
- Deleting files from new pg_clog ok
- Copying old pg_clog to new server ok
- Setting next transaction ID and epoch for new cluster ok
- Deleting files from new pg_multixact/offsets ok
- Copying old pg_multixact/offsets to new server ok
- Deleting files from new pg_multixact/members ok
- Copying old pg_multixact/members to new server ok
- Setting next multixact ID and offset for new cluster ok
- Resetting WAL archives ok
- Setting frozenxid and minmxid counters in new cluster ok
- Restoring global objects in the new cluster ok
- Restoring database schemas in the new cluster
- discourse
- postgres
- template1
- ok
- Copying user relation files
- /shared/postgres_data/base/16384/12025
- /shared/postgres_data/base/16384/12027
- /shared/postgres_data/base/16384/11887
- /shared/postgres_data/base/16384/11889
- /shared/postgres_data/base/16384/100048
- /shared/postgres_data/base/16384/100048_fsm
- /shared/postgres_data/base/16384/100051
- /shared/postgres_data/base/16384/16732
- /shared/postgres_data/base/16384/100228
- /shared/postgres_data/base/16384/100228_fsm
- /shared/postgres_data/base/16384/100228_vm
- /shared/postgres_data/base/16384/100234
- /shared/postgres_data/base/16384/16740
- /shared/postgres_data/base/16384/100116
- /shared/postgres_data/base/16384/100116_fsm
- /shared/postgres_data/base/16384/100116_vm
- /shared/postgres_data/base/16384/100122
- /shared/postgres_data/base/16384/16752
- /shared/postgres_data/base/16384/206397
- /shared/postgres_data/base/16384/206397_fsm
- /shared/postgres_data/base/16384/206397_vm
- /shared/postgres_data/base/16384/206403
- /shared/postgres_data/base/16384/100123
- /shared/postgres_data/base/16384/100123_fsm
- /shared/postgres_data/base/16384/16793
- /shared/postgres_data/base/16384/100072
- /shared/postgres_data/base/16384/100075
- /shared/postgres_data/base/16384/100077
- /shared/postgres_data/base/16384/100078
- /shared/postgres_data/base/16384/100079
- /shared/postgres_data/base/16384/100080
- /shared/postgres_data/base/16384/100081
- /shared/postgres_data/base/16384/100082
- /shared/postgres_data/base/16384/100083
- /shared/postgres_data/base/16384/100091
- /shared/postgres_data/base/16384/100091_fsm
- /shared/postgres_data/base/16384/16889
- /shared/postgres_data/base/16384/100101
- /shared/postgres_data/base/16384/100101_fsm
- /shared/postgres_data/base/16384/100101_vm
- /shared/postgres_data/base/16384/100107
- /shared/postgres_data/base/16384/100108
- /shared/postgres_data/base/16384/100130
- /shared/postgres_data/base/16384/100130_fsm
- /shared/postgres_data/base/16384/100130_vm
- /shared/postgres_data/base/16384/100133
- /shared/postgres_data/base/16384/16914
- /shared/postgres_data/base/16384/100136
- /shared/postgres_data/base/16384/100136_fsm
- /shared/postgres_data/base/16384/100142
- /shared/postgres_data/base/16384/100143
- /shared/postgres_data/base/16384/100170
- /shared/postgres_data/base/16384/100170_fsm
- /shared/postgres_data/base/16384/100170_vm
- /shared/postgres_data/base/16384/16957
- /shared/postgres_data/base/16384/100176
- /shared/postgres_data/base/16384/100179
- /shared/postgres_data/base/16384/100181
- /shared/postgres_data/base/16384/100182
- /shared/postgres_data/base/16384/100173
- /shared/postgres_data/base/16384/100174
- /shared/postgres_data/base/16384/16980
- /shared/postgres_data/base/16384/100184
- /shared/postgres_data/base/16384/100184_fsm
- /shared/postgres_data/base/16384/100184_vm
- /shared/postgres_data/base/16384/100190
- /shared/postgres_data/base/16384/17114
- /shared/postgres_data/base/16384/100215
- /shared/postgres_data/base/16384/100215_fsm
- /shared/postgres_data/base/16384/100218
- /shared/postgres_data/base/16384/100220
- /shared/postgres_data/base/16384/100221
- /shared/postgres_data/base/16384/100224
- /shared/postgres_data/base/16384/100224_fsm
- /shared/postgres_data/base/16384/100227
- /shared/postgres_data/base/16384/206404
- /shared/postgres_data/base/16384/206404_fsm
- /shared/postgres_data/base/16384/17200
- /shared/postgres_data/base/16384/215023
- /shared/postgres_data/base/16384/215023_fsm
- /shared/postgres_data/base/16384/215023_vm
- /shared/postgres_data/base/16384/215029
- /shared/postgres_data/base/16384/215030
- /shared/postgres_data/base/16384/100260
- /shared/postgres_data/base/16384/100260_fsm
- /shared/postgres_data/base/16384/100260_vm
- /shared/postgres_data/base/16384/100263
- /shared/postgres_data/base/16384/17216
- /shared/postgres_data/base/16384/100245
- /shared/postgres_data/base/16384/100248
- /shared/postgres_data/base/16384/100250
- /shared/postgres_data/base/16384/100251
- /shared/postgres_data/base/16384/17227
- /shared/postgres_data/base/16384/100252
- /shared/postgres_data/base/16384/100255
- /shared/postgres_data/base/16384/100257
- /shared/postgres_data/base/16384/100258
- /shared/postgres_data/base/16384/206405
- /shared/postgres_data/base/16384/206405_fsm
- /shared/postgres_data/base/16384/100259
- /shared/postgres_data/base/16384/17293
- /shared/postgres_data/base/16384/100266
- /shared/postgres_data/base/16384/100266_fsm
- /shared/postgres_data/base/16384/100269
- /shared/postgres_data/base/16384/100270
- /shared/postgres_data/base/16384/100271
- /shared/postgres_data/base/16384/17308
- /shared/postgres_data/base/16384/100295
- /shared/postgres_data/base/16384/100295_fsm
- /shared/postgres_data/base/16384/100298
- /shared/postgres_data/base/16384/100299
- /shared/postgres_data/base/16384/100273
- /shared/postgres_data/base/16384/17325
- /shared/postgres_data/base/16384/100287
- /shared/postgres_data/base/16384/100287_fsm
- /shared/postgres_data/base/16384/100293
- /shared/postgres_data/base/16384/100294
- /shared/postgres_data/base/16384/100144
- /shared/postgres_data/base/16384/100272
- /shared/postgres_data/base/16384/100235
- /shared/postgres_data/base/16384/17396
- /shared/postgres_data/base/16384/100302
- /shared/postgres_data/base/16384/100302_fsm
- /shared/postgres_data/base/16384/100302_vm
- /shared/postgres_data/base/16384/100305
- /shared/postgres_data/base/16384/100306
- /shared/postgres_data/base/16384/17433
- /shared/postgres_data/base/16384/100307
- /shared/postgres_data/base/16384/100310
- /shared/postgres_data/base/16384/100311
- /shared/postgres_data/base/16384/17494
- /shared/postgres_data/base/16384/100276
- /shared/postgres_data/base/16384/17517
- /shared/postgres_data/base/16384/385288
- /shared/postgres_data/base/16384/385288_fsm
- /shared/postgres_data/base/16384/385294
- /shared/postgres_data/base/16384/17541
- /shared/postgres_data/base/16384/100313
- /shared/postgres_data/base/16384/100313_fsm
- /shared/postgres_data/base/16384/100316
- /shared/postgres_data/base/16384/100317
- /shared/postgres_data/base/16384/100318
- /shared/postgres_data/base/16384/100191
- /shared/postgres_data/base/16384/100191_fsm
- /shared/postgres_data/base/16384/17574
- /shared/postgres_data/base/16384/100330
- /shared/postgres_data/base/16384/100336
- /shared/postgres_data/base/16384/100337
- /shared/postgres_data/base/16384/17657
- /shared/postgres_data/base/16384/100339
- /shared/postgres_data/base/16384/100342
- /shared/postgres_data/base/16384/100343
- /shared/postgres_data/base/16384/17667
- /shared/postgres_data/base/16384/100324
- /shared/postgres_data/base/16384/100327
- /shared/postgres_data/base/16384/100328
- /shared/postgres_data/base/16384/100329
- /shared/postgres_data/base/16384/17678
- /shared/postgres_data/base/16384/125946
- /shared/postgres_data/base/16384/125946_fsm
- /shared/postgres_data/base/16384/125946_vm
- /shared/postgres_data/base/16384/125949
- /shared/postgres_data/base/16384/125950
- /shared/postgres_data/base/16384/17687
- /shared/postgres_data/base/16384/100366
- /shared/postgres_data/base/16384/100366_fsm
- /shared/postgres_data/base/16384/100369
- /shared/postgres_data/base/16384/100371
- /shared/postgres_data/base/16384/100372
- /shared/postgres_data/base/16384/100373
- /shared/postgres_data/base/16384/17701
- /shared/postgres_data/base/16384/138071
- /shared/postgres_data/base/16384/138071_fsm
- /shared/postgres_data/base/16384/138071_vm
- /shared/postgres_data/base/16384/138078
- /shared/postgres_data/base/16384/138079
- /shared/postgres_data/base/16384/17732
- /shared/postgres_data/base/16384/100376
- /shared/postgres_data/base/16384/100376_fsm
- /shared/postgres_data/base/16384/100382
- /shared/postgres_data/base/16384/100383
- /shared/postgres_data/base/16384/100379
- /shared/postgres_data/base/16384/100379_fsm
- /shared/postgres_data/base/16384/100379_vm
- /shared/postgres_data/base/16384/100381
- /shared/postgres_data/base/16384/17790
- /shared/postgres_data/base/16384/100394
- /shared/postgres_data/base/16384/100394_fsm
- /shared/postgres_data/base/16384/100397
- /shared/postgres_data/base/16384/100398
- /shared/postgres_data/base/16384/100384
- /shared/postgres_data/base/16384/100384_fsm
- /shared/postgres_data/base/16384/100387
- /shared/postgres_data/base/16384/100387_fsm
- /shared/postgres_data/base/16384/100387_vm
- /shared/postgres_data/base/16384/100389
- /shared/postgres_data/base/16384/100390
- /shared/postgres_data/base/16384/100399
- /shared/postgres_data/base/16384/100399_fsm
- /shared/postgres_data/base/16384/100402
- /shared/postgres_data/base/16384/100404
- /shared/postgres_data/base/16384/100405
- /shared/postgres_data/base/16384/100358
- /shared/postgres_data/base/16384/100361
- /shared/postgres_data/base/16384/100363
- /shared/postgres_data/base/16384/100364
- /shared/postgres_data/base/16384/100391
- /shared/postgres_data/base/16384/100406
- /shared/postgres_data/base/16384/100365
- /shared/postgres_data/base/16384/100338
- /shared/postgres_data/base/16384/100333
- /shared/postgres_data/base/16384/100335
- /shared/postgres_data/base/16384/18041
- /shared/postgres_data/base/16384/100417
- /shared/postgres_data/base/16384/100420
- /shared/postgres_data/base/16384/100421
- /shared/postgres_data/base/16384/100422
- /shared/postgres_data/base/16384/18189
- /shared/postgres_data/base/16384/100430
- /shared/postgres_data/base/16384/100430_fsm
- /shared/postgres_data/base/16384/100436
- /shared/postgres_data/base/16384/18221
- /shared/postgres_data/base/16384/238117
- /shared/postgres_data/base/16384/238117_fsm
- /shared/postgres_data/base/16384/238117_vm
- /shared/postgres_data/base/16384/238123
- /shared/postgres_data/base/16384/18229
- /shared/postgres_data/base/16384/231023
- /shared/postgres_data/base/16384/231023_fsm
- /shared/postgres_data/base/16384/231023_vm
- /shared/postgres_data/base/16384/231026
- /shared/postgres_data/base/16384/231027
- /shared/postgres_data/base/16384/100187
- /shared/postgres_data/base/16384/100189
- /shared/postgres_data/base/16384/18251
- /shared/postgres_data/base/16384/100450
- /shared/postgres_data/base/16384/100453
- /shared/postgres_data/base/16384/18259
- /shared/postgres_data/base/16384/100459
- /shared/postgres_data/base/16384/100462
- /shared/postgres_data/base/16384/100463
- /shared/postgres_data/base/16384/100464
- /shared/postgres_data/base/16384/238124
- /shared/postgres_data/base/16384/100264
- /shared/postgres_data/base/16384/385295
- /shared/postgres_data/base/16384/18340
- /shared/postgres_data/base/16384/100491
- /shared/postgres_data/base/16384/100491_fsm
- /shared/postgres_data/base/16384/100491_vm
- /shared/postgres_data/base/16384/100494
- /shared/postgres_data/base/16384/100495
- /shared/postgres_data/base/16384/18363
- /shared/postgres_data/base/16384/100483
- /shared/postgres_data/base/16384/100483_fsm
- /shared/postgres_data/base/16384/100483_vm
- /shared/postgres_data/base/16384/100486
- /shared/postgres_data/base/16384/100487
- /shared/postgres_data/base/16384/100488
- /shared/postgres_data/base/16384/100104
- /shared/postgres_data/base/16384/100106
- /shared/postgres_data/base/16384/100109
- /shared/postgres_data/base/16384/100110
- /shared/postgres_data/base/16384/100110_fsm
- /shared/postgres_data/base/16384/100290
- /shared/postgres_data/base/16384/100292
- /shared/postgres_data/base/16384/100094
- /shared/postgres_data/base/16384/100096
- /shared/postgres_data/base/16384/18420
- /shared/postgres_data/base/16384/100265
- /shared/postgres_data/base/16384/18431
- /shared/postgres_data/base/16384/100134
- /shared/postgres_data/base/16384/18441
- /shared/postgres_data/base/16384/100474
- /shared/postgres_data/base/16384/100480
- /shared/postgres_data/base/16384/100481
- /shared/postgres_data/base/16384/100482
- /shared/postgres_data/base/16384/100437
- /shared/postgres_data/base/16384/100438
- /shared/postgres_data/base/16384/18470
- /shared/postgres_data/base/16384/100465
- /shared/postgres_data/base/16384/100468
- /shared/postgres_data/base/16384/100470
- /shared/postgres_data/base/16384/100471
- /shared/postgres_data/base/16384/100472
- /shared/postgres_data/base/16384/100473
- /shared/postgres_data/base/16384/18484
- /shared/postgres_data/base/16384/100496
- /shared/postgres_data/base/16384/100499
- /shared/postgres_data/base/16384/100501
- /shared/postgres_data/base/16384/100502
- /shared/postgres_data/base/16384/100503
- /shared/postgres_data/base/16384/100439
- /shared/postgres_data/base/16384/100477
- /shared/postgres_data/base/16384/100479
- /shared/postgres_data/base/16384/18501
- /shared/postgres_data/base/16384/100504
- /shared/postgres_data/base/16384/100507
- /shared/postgres_data/base/16384/100509
- /shared/postgres_data/base/16384/100510
- /shared/postgres_data/base/16384/100511
- /shared/postgres_data/base/16384/100124
- /shared/postgres_data/base/16384/100124_fsm
- /shared/postgres_data/base/16384/100236
- /shared/postgres_data/base/16384/100236_fsm
- /shared/postgres_data/base/16384/100111
- /shared/postgres_data/base/16384/100237
- /shared/postgres_data/base/16384/385404
- /shared/postgres_data/base/16384/385404_fsm
- /shared/postgres_data/base/16384/385407
- /shared/postgres_data/base/16384/100440
- /shared/postgres_data/base/16384/18578
- /shared/postgres_data/base/16384/100520
- /shared/postgres_data/base/16384/100523
- /shared/postgres_data/base/16384/100525
- /shared/postgres_data/base/16384/100526
- /shared/postgres_data/base/16384/100527
- /shared/postgres_data/base/16384/18600
- /shared/postgres_data/base/16384/100528
- /shared/postgres_data/base/16384/100531
- /shared/postgres_data/base/16384/100533
- /shared/postgres_data/base/16384/100534
- /shared/postgres_data/base/16384/100535
- /shared/postgres_data/base/16384/100536
- /shared/postgres_data/base/16384/18615
- /shared/postgres_data/base/16384/100537
- /shared/postgres_data/base/16384/100543
- /shared/postgres_data/base/16384/100544
- /shared/postgres_data/base/16384/100545
- /shared/postgres_data/base/16384/100312
- /shared/postgres_data/base/16384/18644
- /shared/postgres_data/base/16384/100550
- error while copying relation "public.post_revisions" ("/shared/postgres_data/base/16384/100550" to "/shared/postgres_data_new/base/16400/18646"): No space left on device
- Failure, exiting
- -------------------------------------------------------------------------------------
- UPGRADE OF POSTGRES FAILED
- You are going to need to export your data and import into a clean instance:
- In containers/app.yml: Change "templates/postgres.template.yml" TO "templates/postgres.9.3.template.yml"
- Run ./launcher rebuild app again
- When your instance is running:
- Run ./launcher enter app
- Run cd /shared/postgres_backup && sudo -u postgres pg_dump discourse > backup.db
- Undo the base_image and postgres template from your container config
- Run: ./launcher stop app
- Run: sudo mv /var/discourse/shared/standalone/postgres_data /var/discourse/shared/standalone/postgres_data_old
- Run: ./launcher rebuild app
- Run: ./launcher enter app
- Run: cd /shared/postgres_backup
- Run: sv stop unicorn
- Run: sudo -iu postgres dropdb discourse
- Run: sudo -iu postgres createdb discourse
- Run: sudo -iu postgres psql discourse < backup.db
- Run: exit
- Run: ./launcher rebuild app
- FAILED
- --------------------
- Pups::ExecError: /root/upgrade_postgres failed with return #<Process::Status: pid 40 exit 1>
- Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn'
- exec failed with the params "/root/upgrade_postgres"
- d20c91c1a5367d7b8bf931358f63c96a781de2c86ab3f3450fa914fd36bc4d61
- ** 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