Advertisement
Guest User

Untitled

a guest
Jun 30th, 2016
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.89 KB | None | 0 0
  1. Ensuring discourse docker is up to date
  2. Fetching origin
  3. remote: Counting objects: 584, done.
  4. remote: Compressing objects: 100% (8/8), done.
  5. remote: Total 584 (delta 209), reused 206 (delta 206), pack-reused 370
  6. Receiving objects: 100% (584/584), 127.36 KiB | 0 bytes/s, done.
  7. Resolving deltas: 100% (387/387), completed with 35 local objects.
  8. From https://github.com/discourse/discourse_docker
  9. fecfcdc..8e4e9b3 master -> origin/master
  10. * [new branch] 1.3.2 -> origin/1.3.2
  11. * [new branch] revert-233-mac-address -> origin/revert-233-mac-address
  12. Updating Discourse Docker
  13. Updating fecfcdc..8e4e9b3
  14. Fast-forward
  15. README.md | 3 +-
  16. discourse-setup | 453 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  17. image/base/.gitignore | 1 +
  18. image/base/Dockerfile | 131 ++++++++++-------
  19. image/base/download_phantomjs | 3 +
  20. image/base/install-imagemagick | 11 +-
  21. image/base/install-nginx | 39 +++++
  22. image/base/install-pngcrush | 2 +-
  23. image/build.rb | 6 +-
  24. image/discourse/Dockerfile | 8 +-
  25. image/discourse_fast_switch/Dockerfile | 4 +-
  26. image/discourse_fast_switch/create_switch.rb | 2 +-
  27. image/discourse_test/Dockerfile | 5 +-
  28. launcher | 354 +++++++++++++++++++-------------------------
  29. samples/standalone.yml | 88 +++++------
  30. samples/web_only.yml | 4 +
  31. scripts/mk_swapfile | 2 +-
  32. templates/import/phpbb3.template.yml | 11 +-
  33. templates/postgres.9.3.template.yml | 182 +++++++++++++++++++++++
  34. templates/postgres.9.5.template.yml | 175 ++++++++++++++++++++++
  35. templates/postgres.template.yml | 100 +++++++------
  36. templates/redis.template.yml | 12 ++
  37. templates/web.china.template.yml | 5 +-
  38. templates/web.letsencrypt.ssl.template.yml | 36 +++--
  39. templates/web.onion.template.yml | 49 +++++++
  40. templates/web.template.yml | 48 +++++-
  41. 26 files changed, 1335 insertions(+), 399 deletions(-)
  42. create mode 100755 discourse-setup
  43. create mode 100644 image/base/.gitignore
  44. create mode 100755 image/base/download_phantomjs
  45. create mode 100755 image/base/install-nginx
  46. create mode 100644 templates/postgres.9.3.template.yml
  47. create mode 100644 templates/postgres.9.5.template.yml
  48. create mode 100644 templates/web.onion.template.yml
  49.  
  50. WARNING: We are about to start downloading the Discourse base image
  51. This process may take anywhere between a few minutes to an hour, depending on your network speed
  52.  
  53. Please be patient
  54.  
  55. Unable to find image 'discourse/discourse:1.3.5' locally
  56. 1.3.5: Pulling from discourse/discourse
  57. 487bffc61de6: Pulling fs layer
  58. 55d9a9ec7c7b: Pulling fs layer
  59. 203aa2a3d8cb: Pulling fs layer
  60. a852d4254d12: Pulling fs layer
  61. 26f99d255c17: Pulling fs layer
  62. a89be6db785c: Pulling fs layer
  63. 4b1f40caae68: Pulling fs layer
  64. 857ef7ee248e: Pulling fs layer
  65. 4b1f40caae68: Verifying Checksum
  66. 4b1f40caae68: Download complete
  67. a852d4254d12: Verifying Checksum
  68. a852d4254d12: Download complete
  69. 857ef7ee248e: Verifying Checksum
  70. 857ef7ee248e: Download complete
  71. 26f99d255c17: Verifying Checksum
  72. 26f99d255c17: Download complete
  73. a89be6db785c: Verifying Checksum
  74. a89be6db785c: Download complete
  75. 487bffc61de6: Verifying Checksum
  76. 487bffc61de6: Download complete
  77. 487bffc61de6: Pull complete
  78. ^T55d9a9ec7c7b: Verifying Checksum
  79. 55d9a9ec7c7b: Download complete
  80. 203aa2a3d8cb: Verifying Checksum
  81. 203aa2a3d8cb: Download complete
  82. 55d9a9ec7c7b: Pull complete
  83. 203aa2a3d8cb: Pull complete
  84. a852d4254d12: Pull complete
  85. 26f99d255c17: Pull complete
  86. a89be6db785c: Pull complete
  87. 4b1f40caae68: Pull complete
  88. 857ef7ee248e: Pull complete
  89. Digest: sha256:a3fffe0bc4a462c52429e4986932a1733be384f9211e7e48f14864bd9306fb53
  90. Status: Downloaded newer image for discourse/discourse:1.3.5
  91. Ensuring launcher is up to date
  92. Fetching origin
  93. Launcher is up-to-date
  94. Stopping old container
  95. + /usr/bin/docker stop -t 10 app
  96. app
  97. cd /pups && git pull && /pups/bin/pups --stdin
  98. Already up-to-date.
  99. I, [2016-06-30T07:38:17.988364 #15] INFO -- : Loading --stdin
  100. I, [2016-06-30T07:38:17.997182 #15] INFO -- : > mkdir -p /shared/postgres_run
  101. I, [2016-06-30T07:38:18.001378 #15] INFO -- :
  102. I, [2016-06-30T07:38:18.001814 #15] INFO -- : > chown postgres:postgres /shared/postgres_run
  103. I, [2016-06-30T07:38:18.004690 #15] INFO -- :
  104. I, [2016-06-30T07:38:18.005020 #15] INFO -- : > chmod 775 /shared/postgres_run
  105. I, [2016-06-30T07:38:18.007136 #15] INFO -- :
  106. I, [2016-06-30T07:38:18.007485 #15] INFO -- : > rm -fr /var/run/postgresql
  107. I, [2016-06-30T07:38:18.010119 #15] INFO -- :
  108. I, [2016-06-30T07:38:18.010545 #15] INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
  109. I, [2016-06-30T07:38:18.012788 #15] INFO -- :
  110. 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
  111. 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
  112. I, [2016-06-30T07:38:18.049311 #15] INFO -- :
  113. I, [2016-06-30T07:38:18.049755 #15] INFO -- : > rm -fr /shared/postgres_run/.s*
  114. I, [2016-06-30T07:38:18.052440 #15] INFO -- :
  115. I, [2016-06-30T07:38:18.052826 #15] INFO -- : > rm -fr /shared/postgres_run/*.pid
  116. I, [2016-06-30T07:38:18.055021 #15] INFO -- :
  117. I, [2016-06-30T07:38:18.055359 #15] INFO -- : > mkdir -p /shared/postgres_run/9.5-main.pg_stat_tmp
  118. I, [2016-06-30T07:38:18.057147 #15] INFO -- :
  119. I, [2016-06-30T07:38:18.057556 #15] INFO -- : > chown postgres:postgres /shared/postgres_run/9.5-main.pg_stat_tmp
  120. I, [2016-06-30T07:38:18.059495 #15] INFO -- :
  121. I, [2016-06-30T07:38:18.063601 #15] INFO -- : File > /etc/service/postgres/run chmod: +x
  122. I, [2016-06-30T07:38:18.067399 #15] INFO -- : File > /etc/runit/3.d/99-postgres chmod: +x
  123. I, [2016-06-30T07:38:18.071002 #15] INFO -- : File > /root/upgrade_postgres chmod: +x
  124. I, [2016-06-30T07:38:18.071537 #15] INFO -- : > chown -R root /var/lib/postgresql/9.5/main
  125. I, [2016-06-30T07:38:18.456985 #15] INFO -- :
  126. 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
  127. I, [2016-06-30T07:38:18.459972 #15] INFO -- :
  128. I, [2016-06-30T07:38:18.460121 #15] INFO -- : > chown -R postgres:postgres /shared/postgres_data
  129. I, [2016-06-30T07:38:18.508402 #15] INFO -- :
  130. I, [2016-06-30T07:38:18.508677 #15] INFO -- : > chown -R postgres:postgres /var/run/postgresql
  131. I, [2016-06-30T07:38:18.511528 #15] INFO -- :
  132. I, [2016-06-30T07:38:18.511848 #15] INFO -- : > /root/upgrade_postgres
  133.  
  134. WARNING: enabling "trust" authentication for local connections
  135. You can change this by editing pg_hba.conf or using the option -A, or
  136. --auth-local and --auth-host, the next time you run initdb.
  137. dpkg-preconfigure: unable to re-open stdin:
  138.  
  139. I, [2016-06-30T07:38:59.955651 #15] INFO -- : Upgrading PostgreSQL to from version 9.3 to 9.5
  140. The files belonging to this database system will be owned by user "postgres".
  141. This user must also own the server process.
  142.  
  143. The database cluster will be initialized with locale "en_US.UTF-8".
  144. The default database encoding has accordingly been set to "UTF8".
  145. The default text search configuration will be set to "english".
  146.  
  147. Data page checksums are disabled.
  148.  
  149. fixing permissions on existing directory /shared/postgres_data_new ... ok
  150. creating subdirectories ... ok
  151. selecting default max_connections ... 100
  152. selecting default shared_buffers ... 128MB
  153. selecting dynamic shared memory implementation ... posix
  154. creating configuration files ... ok
  155. creating template1 database in /shared/postgres_data_new/base/1 ... ok
  156. initializing pg_authid ... ok
  157. initializing dependencies ... ok
  158. creating system views ... ok
  159. loading system objects' descriptions ... ok
  160. creating collations ... ok
  161. creating conversions ... ok
  162. creating dictionaries ... ok
  163. setting privileges on built-in objects ... ok
  164. creating information schema ... ok
  165. loading PL/pgSQL server-side language ... ok
  166. vacuuming database template1 ... ok
  167. copying template1 to template0 ... ok
  168. copying template1 to postgres ... ok
  169. syncing data to disk ... ok
  170.  
  171. Success. You can now start the database server using:
  172.  
  173. /usr/lib/postgresql/9.5/bin/pg_ctl -D /shared/postgres_data_new -l logfile start
  174.  
  175. Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
  176. Get:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB]
  177. Get:3 http://archive.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
  178. Get:4 http://apt.postgresql.org/pub/repos/apt xenial-pgdg InRelease [26.5 kB]
  179. Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [303 kB]
  180. Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [157 kB]
  181. Get:7 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages [141 kB]
  182. Get:8 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [34.0 kB]
  183. Get:9 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main amd64 Packages [64.9 kB]
  184. Get:10 https://deb.nodesource.com/node_4.x xenial InRelease [3,914 B]
  185. Get:11 https://deb.nodesource.com/node_4.x xenial/main Sources [762 B]
  186. Get:12 https://deb.nodesource.com/node_4.x xenial/main amd64 Packages [961 B]
  187. Fetched 921 kB in 1s (636 kB/s)
  188. Reading package lists...
  189. Reading package lists...
  190. Building dependency tree...
  191. Reading state information...
  192. The following additional packages will be installed:
  193. libossp-uuid16 postgresql-client-9.3 postgresql-contrib-9.3
  194. Suggested packages:
  195. uuid locales-all postgresql-doc-9.3 libdbd-pg-perl
  196. The following NEW packages will be installed:
  197. libossp-uuid16 postgresql-9.3 postgresql-client-9.3 postgresql-contrib-9.3
  198. 0 upgraded, 4 newly installed, 0 to remove and 26 not upgraded.
  199. Need to get 4,990 kB of archives.
  200. After this operation, 23.9 MB of additional disk space will be used.
  201. Get:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libossp-uuid16 amd64 1.6.2-1.5build2 [28.6 kB]
  202. 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]
  203. 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]
  204. 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]
  205. Fetched 4,990 kB in 1s (3,187 kB/s)
  206. Selecting previously unselected package libossp-uuid16:amd64.
  207. (Reading database ... 34207 files and directories currently installed.)
  208. Preparing to unpack .../libossp-uuid16_1.6.2-1.5build2_amd64.deb ...
  209. Unpacking libossp-uuid16:amd64 (1.6.2-1.5build2) ...
  210. Selecting previously unselected package postgresql-client-9.3.
  211. Preparing to unpack .../postgresql-client-9.3_9.3.13-1.pgdg16.04+1_amd64.deb ...
  212. Unpacking postgresql-client-9.3 (9.3.13-1.pgdg16.04+1) ...
  213. Selecting previously unselected package postgresql-9.3.
  214. Preparing to unpack .../postgresql-9.3_9.3.13-1.pgdg16.04+1_amd64.deb ...
  215. Unpacking postgresql-9.3 (9.3.13-1.pgdg16.04+1) ...
  216. Selecting previously unselected package postgresql-contrib-9.3.
  217. Preparing to unpack .../postgresql-contrib-9.3_9.3.13-1.pgdg16.04+1_amd64.deb ...
  218. Unpacking postgresql-contrib-9.3 (9.3.13-1.pgdg16.04+1) ...
  219. Processing triggers for libc-bin (2.23-0ubuntu3) ...
  220. Processing triggers for postgresql-common (174.pgdg16.04+1) ...
  221. Building PostgreSQL dictionaries from installed myspell/hunspell packages...
  222. Removing obsolete dictionary files:
  223. Setting up libossp-uuid16:amd64 (1.6.2-1.5build2) ...
  224. Setting up postgresql-client-9.3 (9.3.13-1.pgdg16.04+1) ...
  225. 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
  226. Setting up postgresql-9.3 (9.3.13-1.pgdg16.04+1) ...
  227. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  228. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  229. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  230. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  231. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  232. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  233. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  234. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  235. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  236. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  237. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  238. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  239. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  240. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  241. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  242. Creating new cluster 9.3/main ...
  243. config /etc/postgresql/9.3/main
  244. data /var/lib/postgresql/9.3/main
  245. locale C
  246. socket /var/run/postgresql
  247. port 5433
  248. Warning: The selected stats_temp_directory /var/run/postgresql/9.3-main.pg_stat_tmp
  249. is not writable for the cluster owner. Not adding this setting in
  250. postgresql.conf.
  251. 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
  252. invoke-rc.d: could not determine current runlevel
  253. invoke-rc.d: policy-rc.d denied execution of start.
  254. Setting up postgresql-contrib-9.3 (9.3.13-1.pgdg16.04+1) ...
  255. Processing triggers for libc-bin (2.23-0ubuntu3) ...
  256. * Stopping PostgreSQL 9.3 database server
  257. ...done.
  258. * Stopping PostgreSQL 9.5 database server
  259. * Error: Config owner (postgres:107) and data owner (root:0) do not match, and config owner is not root
  260. ...fail!
  261. Performing Consistency Checks
  262. -----------------------------
  263. Checking cluster versions ok
  264. Checking database user is the install user ok
  265. Checking database connection settings ok
  266. Checking for prepared transactions ok
  267. Checking for reg* system OID user data types ok
  268. Checking for contrib/isn with bigint-passing mismatch ok
  269. Checking for invalid "line" user columns ok
  270. Creating dump of global objects ok
  271. Creating dump of database schemas
  272. discourse
  273. postgres
  274. template1
  275. ok
  276. Checking for presence of required libraries ok
  277. Checking database user is the install user ok
  278. Checking for prepared transactions ok
  279.  
  280. If pg_upgrade fails after this point, you must re-initdb the
  281. new cluster before continuing.
  282.  
  283. Performing Upgrade
  284. ------------------
  285. Analyzing all rows in the new cluster ok
  286. Freezing all rows on the new cluster ok
  287. Deleting files from new pg_clog ok
  288. Copying old pg_clog to new server ok
  289. Setting next transaction ID and epoch for new cluster ok
  290. Deleting files from new pg_multixact/offsets ok
  291. Copying old pg_multixact/offsets to new server ok
  292. Deleting files from new pg_multixact/members ok
  293. Copying old pg_multixact/members to new server ok
  294. Setting next multixact ID and offset for new cluster ok
  295. Resetting WAL archives ok
  296. Setting frozenxid and minmxid counters in new cluster ok
  297. Restoring global objects in the new cluster ok
  298. Restoring database schemas in the new cluster
  299. discourse
  300. postgres
  301. template1
  302. ok
  303. Copying user relation files
  304. /shared/postgres_data/base/16384/12025
  305. /shared/postgres_data/base/16384/12027
  306. /shared/postgres_data/base/16384/11887
  307. /shared/postgres_data/base/16384/11889
  308. /shared/postgres_data/base/16384/100048
  309. /shared/postgres_data/base/16384/100048_fsm
  310. /shared/postgres_data/base/16384/100051
  311. /shared/postgres_data/base/16384/16732
  312. /shared/postgres_data/base/16384/100228
  313. /shared/postgres_data/base/16384/100228_fsm
  314. /shared/postgres_data/base/16384/100228_vm
  315. /shared/postgres_data/base/16384/100234
  316. /shared/postgres_data/base/16384/16740
  317. /shared/postgres_data/base/16384/100116
  318. /shared/postgres_data/base/16384/100116_fsm
  319. /shared/postgres_data/base/16384/100116_vm
  320. /shared/postgres_data/base/16384/100122
  321. /shared/postgres_data/base/16384/16752
  322. /shared/postgres_data/base/16384/206397
  323. /shared/postgres_data/base/16384/206397_fsm
  324. /shared/postgres_data/base/16384/206397_vm
  325. /shared/postgres_data/base/16384/206403
  326. /shared/postgres_data/base/16384/100123
  327. /shared/postgres_data/base/16384/100123_fsm
  328. /shared/postgres_data/base/16384/16793
  329. /shared/postgres_data/base/16384/100072
  330. /shared/postgres_data/base/16384/100075
  331. /shared/postgres_data/base/16384/100077
  332. /shared/postgres_data/base/16384/100078
  333. /shared/postgres_data/base/16384/100079
  334. /shared/postgres_data/base/16384/100080
  335. /shared/postgres_data/base/16384/100081
  336. /shared/postgres_data/base/16384/100082
  337. /shared/postgres_data/base/16384/100083
  338. /shared/postgres_data/base/16384/100091
  339. /shared/postgres_data/base/16384/100091_fsm
  340. /shared/postgres_data/base/16384/16889
  341. /shared/postgres_data/base/16384/100101
  342. /shared/postgres_data/base/16384/100101_fsm
  343. /shared/postgres_data/base/16384/100101_vm
  344. /shared/postgres_data/base/16384/100107
  345. /shared/postgres_data/base/16384/100108
  346. /shared/postgres_data/base/16384/100130
  347. /shared/postgres_data/base/16384/100130_fsm
  348. /shared/postgres_data/base/16384/100130_vm
  349. /shared/postgres_data/base/16384/100133
  350. /shared/postgres_data/base/16384/16914
  351. /shared/postgres_data/base/16384/100136
  352. /shared/postgres_data/base/16384/100136_fsm
  353. /shared/postgres_data/base/16384/100142
  354. /shared/postgres_data/base/16384/100143
  355. /shared/postgres_data/base/16384/100170
  356. /shared/postgres_data/base/16384/100170_fsm
  357. /shared/postgres_data/base/16384/100170_vm
  358. /shared/postgres_data/base/16384/16957
  359. /shared/postgres_data/base/16384/100176
  360. /shared/postgres_data/base/16384/100179
  361. /shared/postgres_data/base/16384/100181
  362. /shared/postgres_data/base/16384/100182
  363. /shared/postgres_data/base/16384/100173
  364. /shared/postgres_data/base/16384/100174
  365. /shared/postgres_data/base/16384/16980
  366. /shared/postgres_data/base/16384/100184
  367. /shared/postgres_data/base/16384/100184_fsm
  368. /shared/postgres_data/base/16384/100184_vm
  369. /shared/postgres_data/base/16384/100190
  370. /shared/postgres_data/base/16384/17114
  371. /shared/postgres_data/base/16384/100215
  372. /shared/postgres_data/base/16384/100215_fsm
  373. /shared/postgres_data/base/16384/100218
  374. /shared/postgres_data/base/16384/100220
  375. /shared/postgres_data/base/16384/100221
  376. /shared/postgres_data/base/16384/100224
  377. /shared/postgres_data/base/16384/100224_fsm
  378. /shared/postgres_data/base/16384/100227
  379. /shared/postgres_data/base/16384/206404
  380. /shared/postgres_data/base/16384/206404_fsm
  381. /shared/postgres_data/base/16384/17200
  382. /shared/postgres_data/base/16384/215023
  383. /shared/postgres_data/base/16384/215023_fsm
  384. /shared/postgres_data/base/16384/215023_vm
  385. /shared/postgres_data/base/16384/215029
  386. /shared/postgres_data/base/16384/215030
  387. /shared/postgres_data/base/16384/100260
  388. /shared/postgres_data/base/16384/100260_fsm
  389. /shared/postgres_data/base/16384/100260_vm
  390. /shared/postgres_data/base/16384/100263
  391. /shared/postgres_data/base/16384/17216
  392. /shared/postgres_data/base/16384/100245
  393. /shared/postgres_data/base/16384/100248
  394. /shared/postgres_data/base/16384/100250
  395. /shared/postgres_data/base/16384/100251
  396. /shared/postgres_data/base/16384/17227
  397. /shared/postgres_data/base/16384/100252
  398. /shared/postgres_data/base/16384/100255
  399. /shared/postgres_data/base/16384/100257
  400. /shared/postgres_data/base/16384/100258
  401. /shared/postgres_data/base/16384/206405
  402. /shared/postgres_data/base/16384/206405_fsm
  403. /shared/postgres_data/base/16384/100259
  404. /shared/postgres_data/base/16384/17293
  405. /shared/postgres_data/base/16384/100266
  406. /shared/postgres_data/base/16384/100266_fsm
  407. /shared/postgres_data/base/16384/100269
  408. /shared/postgres_data/base/16384/100270
  409. /shared/postgres_data/base/16384/100271
  410. /shared/postgres_data/base/16384/17308
  411. /shared/postgres_data/base/16384/100295
  412. /shared/postgres_data/base/16384/100295_fsm
  413. /shared/postgres_data/base/16384/100298
  414. /shared/postgres_data/base/16384/100299
  415. /shared/postgres_data/base/16384/100273
  416. /shared/postgres_data/base/16384/17325
  417. /shared/postgres_data/base/16384/100287
  418. /shared/postgres_data/base/16384/100287_fsm
  419. /shared/postgres_data/base/16384/100293
  420. /shared/postgres_data/base/16384/100294
  421. /shared/postgres_data/base/16384/100144
  422. /shared/postgres_data/base/16384/100272
  423. /shared/postgres_data/base/16384/100235
  424. /shared/postgres_data/base/16384/17396
  425. /shared/postgres_data/base/16384/100302
  426. /shared/postgres_data/base/16384/100302_fsm
  427. /shared/postgres_data/base/16384/100302_vm
  428. /shared/postgres_data/base/16384/100305
  429. /shared/postgres_data/base/16384/100306
  430. /shared/postgres_data/base/16384/17433
  431. /shared/postgres_data/base/16384/100307
  432. /shared/postgres_data/base/16384/100310
  433. /shared/postgres_data/base/16384/100311
  434. /shared/postgres_data/base/16384/17494
  435. /shared/postgres_data/base/16384/100276
  436. /shared/postgres_data/base/16384/17517
  437. /shared/postgres_data/base/16384/385288
  438. /shared/postgres_data/base/16384/385288_fsm
  439. /shared/postgres_data/base/16384/385294
  440. /shared/postgres_data/base/16384/17541
  441. /shared/postgres_data/base/16384/100313
  442. /shared/postgres_data/base/16384/100313_fsm
  443. /shared/postgres_data/base/16384/100316
  444. /shared/postgres_data/base/16384/100317
  445. /shared/postgres_data/base/16384/100318
  446. /shared/postgres_data/base/16384/100191
  447. /shared/postgres_data/base/16384/100191_fsm
  448. /shared/postgres_data/base/16384/17574
  449. /shared/postgres_data/base/16384/100330
  450. /shared/postgres_data/base/16384/100336
  451. /shared/postgres_data/base/16384/100337
  452. /shared/postgres_data/base/16384/17657
  453. /shared/postgres_data/base/16384/100339
  454. /shared/postgres_data/base/16384/100342
  455. /shared/postgres_data/base/16384/100343
  456. /shared/postgres_data/base/16384/17667
  457. /shared/postgres_data/base/16384/100324
  458. /shared/postgres_data/base/16384/100327
  459. /shared/postgres_data/base/16384/100328
  460. /shared/postgres_data/base/16384/100329
  461. /shared/postgres_data/base/16384/17678
  462. /shared/postgres_data/base/16384/125946
  463. /shared/postgres_data/base/16384/125946_fsm
  464. /shared/postgres_data/base/16384/125946_vm
  465. /shared/postgres_data/base/16384/125949
  466. /shared/postgres_data/base/16384/125950
  467. /shared/postgres_data/base/16384/17687
  468. /shared/postgres_data/base/16384/100366
  469. /shared/postgres_data/base/16384/100366_fsm
  470. /shared/postgres_data/base/16384/100369
  471. /shared/postgres_data/base/16384/100371
  472. /shared/postgres_data/base/16384/100372
  473. /shared/postgres_data/base/16384/100373
  474. /shared/postgres_data/base/16384/17701
  475. /shared/postgres_data/base/16384/138071
  476. /shared/postgres_data/base/16384/138071_fsm
  477. /shared/postgres_data/base/16384/138071_vm
  478. /shared/postgres_data/base/16384/138078
  479. /shared/postgres_data/base/16384/138079
  480. /shared/postgres_data/base/16384/17732
  481. /shared/postgres_data/base/16384/100376
  482. /shared/postgres_data/base/16384/100376_fsm
  483. /shared/postgres_data/base/16384/100382
  484. /shared/postgres_data/base/16384/100383
  485. /shared/postgres_data/base/16384/100379
  486. /shared/postgres_data/base/16384/100379_fsm
  487. /shared/postgres_data/base/16384/100379_vm
  488. /shared/postgres_data/base/16384/100381
  489. /shared/postgres_data/base/16384/17790
  490. /shared/postgres_data/base/16384/100394
  491. /shared/postgres_data/base/16384/100394_fsm
  492. /shared/postgres_data/base/16384/100397
  493. /shared/postgres_data/base/16384/100398
  494. /shared/postgres_data/base/16384/100384
  495. /shared/postgres_data/base/16384/100384_fsm
  496. /shared/postgres_data/base/16384/100387
  497. /shared/postgres_data/base/16384/100387_fsm
  498. /shared/postgres_data/base/16384/100387_vm
  499. /shared/postgres_data/base/16384/100389
  500. /shared/postgres_data/base/16384/100390
  501. /shared/postgres_data/base/16384/100399
  502. /shared/postgres_data/base/16384/100399_fsm
  503. /shared/postgres_data/base/16384/100402
  504. /shared/postgres_data/base/16384/100404
  505. /shared/postgres_data/base/16384/100405
  506. /shared/postgres_data/base/16384/100358
  507. /shared/postgres_data/base/16384/100361
  508. /shared/postgres_data/base/16384/100363
  509. /shared/postgres_data/base/16384/100364
  510. /shared/postgres_data/base/16384/100391
  511. /shared/postgres_data/base/16384/100406
  512. /shared/postgres_data/base/16384/100365
  513. /shared/postgres_data/base/16384/100338
  514. /shared/postgres_data/base/16384/100333
  515. /shared/postgres_data/base/16384/100335
  516. /shared/postgres_data/base/16384/18041
  517. /shared/postgres_data/base/16384/100417
  518. /shared/postgres_data/base/16384/100420
  519. /shared/postgres_data/base/16384/100421
  520. /shared/postgres_data/base/16384/100422
  521. /shared/postgres_data/base/16384/18189
  522. /shared/postgres_data/base/16384/100430
  523. /shared/postgres_data/base/16384/100430_fsm
  524. /shared/postgres_data/base/16384/100436
  525. /shared/postgres_data/base/16384/18221
  526. /shared/postgres_data/base/16384/238117
  527. /shared/postgres_data/base/16384/238117_fsm
  528. /shared/postgres_data/base/16384/238117_vm
  529. /shared/postgres_data/base/16384/238123
  530. /shared/postgres_data/base/16384/18229
  531. /shared/postgres_data/base/16384/231023
  532. /shared/postgres_data/base/16384/231023_fsm
  533. /shared/postgres_data/base/16384/231023_vm
  534. /shared/postgres_data/base/16384/231026
  535. /shared/postgres_data/base/16384/231027
  536. /shared/postgres_data/base/16384/100187
  537. /shared/postgres_data/base/16384/100189
  538. /shared/postgres_data/base/16384/18251
  539. /shared/postgres_data/base/16384/100450
  540. /shared/postgres_data/base/16384/100453
  541. /shared/postgres_data/base/16384/18259
  542. /shared/postgres_data/base/16384/100459
  543. /shared/postgres_data/base/16384/100462
  544. /shared/postgres_data/base/16384/100463
  545. /shared/postgres_data/base/16384/100464
  546. /shared/postgres_data/base/16384/238124
  547. /shared/postgres_data/base/16384/100264
  548. /shared/postgres_data/base/16384/385295
  549. /shared/postgres_data/base/16384/18340
  550. /shared/postgres_data/base/16384/100491
  551. /shared/postgres_data/base/16384/100491_fsm
  552. /shared/postgres_data/base/16384/100491_vm
  553. /shared/postgres_data/base/16384/100494
  554. /shared/postgres_data/base/16384/100495
  555. /shared/postgres_data/base/16384/18363
  556. /shared/postgres_data/base/16384/100483
  557. /shared/postgres_data/base/16384/100483_fsm
  558. /shared/postgres_data/base/16384/100483_vm
  559. /shared/postgres_data/base/16384/100486
  560. /shared/postgres_data/base/16384/100487
  561. /shared/postgres_data/base/16384/100488
  562. /shared/postgres_data/base/16384/100104
  563. /shared/postgres_data/base/16384/100106
  564. /shared/postgres_data/base/16384/100109
  565. /shared/postgres_data/base/16384/100110
  566. /shared/postgres_data/base/16384/100110_fsm
  567. /shared/postgres_data/base/16384/100290
  568. /shared/postgres_data/base/16384/100292
  569. /shared/postgres_data/base/16384/100094
  570. /shared/postgres_data/base/16384/100096
  571. /shared/postgres_data/base/16384/18420
  572. /shared/postgres_data/base/16384/100265
  573. /shared/postgres_data/base/16384/18431
  574. /shared/postgres_data/base/16384/100134
  575. /shared/postgres_data/base/16384/18441
  576. /shared/postgres_data/base/16384/100474
  577. /shared/postgres_data/base/16384/100480
  578. /shared/postgres_data/base/16384/100481
  579. /shared/postgres_data/base/16384/100482
  580. /shared/postgres_data/base/16384/100437
  581. /shared/postgres_data/base/16384/100438
  582. /shared/postgres_data/base/16384/18470
  583. /shared/postgres_data/base/16384/100465
  584. /shared/postgres_data/base/16384/100468
  585. /shared/postgres_data/base/16384/100470
  586. /shared/postgres_data/base/16384/100471
  587. /shared/postgres_data/base/16384/100472
  588. /shared/postgres_data/base/16384/100473
  589. /shared/postgres_data/base/16384/18484
  590. /shared/postgres_data/base/16384/100496
  591. /shared/postgres_data/base/16384/100499
  592. /shared/postgres_data/base/16384/100501
  593. /shared/postgres_data/base/16384/100502
  594. /shared/postgres_data/base/16384/100503
  595. /shared/postgres_data/base/16384/100439
  596. /shared/postgres_data/base/16384/100477
  597. /shared/postgres_data/base/16384/100479
  598. /shared/postgres_data/base/16384/18501
  599. /shared/postgres_data/base/16384/100504
  600. /shared/postgres_data/base/16384/100507
  601. /shared/postgres_data/base/16384/100509
  602. /shared/postgres_data/base/16384/100510
  603. /shared/postgres_data/base/16384/100511
  604. /shared/postgres_data/base/16384/100124
  605. /shared/postgres_data/base/16384/100124_fsm
  606. /shared/postgres_data/base/16384/100236
  607. /shared/postgres_data/base/16384/100236_fsm
  608. /shared/postgres_data/base/16384/100111
  609. /shared/postgres_data/base/16384/100237
  610. /shared/postgres_data/base/16384/385404
  611. /shared/postgres_data/base/16384/385404_fsm
  612. /shared/postgres_data/base/16384/385407
  613. /shared/postgres_data/base/16384/100440
  614. /shared/postgres_data/base/16384/18578
  615. /shared/postgres_data/base/16384/100520
  616. /shared/postgres_data/base/16384/100523
  617. /shared/postgres_data/base/16384/100525
  618. /shared/postgres_data/base/16384/100526
  619. /shared/postgres_data/base/16384/100527
  620. /shared/postgres_data/base/16384/18600
  621. /shared/postgres_data/base/16384/100528
  622. /shared/postgres_data/base/16384/100531
  623. /shared/postgres_data/base/16384/100533
  624. /shared/postgres_data/base/16384/100534
  625. /shared/postgres_data/base/16384/100535
  626. /shared/postgres_data/base/16384/100536
  627. /shared/postgres_data/base/16384/18615
  628. /shared/postgres_data/base/16384/100537
  629. /shared/postgres_data/base/16384/100543
  630. /shared/postgres_data/base/16384/100544
  631. /shared/postgres_data/base/16384/100545
  632. /shared/postgres_data/base/16384/100312
  633. /shared/postgres_data/base/16384/18644
  634. /shared/postgres_data/base/16384/100550
  635.  
  636. 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
  637. Failure, exiting
  638. -------------------------------------------------------------------------------------
  639. UPGRADE OF POSTGRES FAILED
  640.  
  641. You are going to need to export your data and import into a clean instance:
  642.  
  643. In containers/app.yml: Change "templates/postgres.template.yml" TO "templates/postgres.9.3.template.yml"
  644.  
  645. Run ./launcher rebuild app again
  646.  
  647. When your instance is running:
  648. Run ./launcher enter app
  649. Run cd /shared/postgres_backup && sudo -u postgres pg_dump discourse > backup.db
  650.  
  651. Undo the base_image and postgres template from your container config
  652. Run: ./launcher stop app
  653. Run: sudo mv /var/discourse/shared/standalone/postgres_data /var/discourse/shared/standalone/postgres_data_old
  654. Run: ./launcher rebuild app
  655.  
  656. Run: ./launcher enter app
  657. Run: cd /shared/postgres_backup
  658. Run: sv stop unicorn
  659. Run: sudo -iu postgres dropdb discourse
  660. Run: sudo -iu postgres createdb discourse
  661. Run: sudo -iu postgres psql discourse < backup.db
  662. Run: exit
  663. Run: ./launcher rebuild app
  664.  
  665.  
  666.  
  667. FAILED
  668. --------------------
  669. Pups::ExecError: /root/upgrade_postgres failed with return #<Process::Status: pid 40 exit 1>
  670. Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn'
  671. exec failed with the params "/root/upgrade_postgres"
  672. d20c91c1a5367d7b8bf931358f63c96a781de2c86ab3f3450fa914fd36bc4d61
  673. ** 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