Advertisement
Guest User

Apt-Get Upgrade output for Gitlab

a guest
Mar 1st, 2017
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 57.86 KB | None | 0 0
  1. Reading package lists... Done
  2. Building dependency tree
  3. Reading state information... Done
  4. Calculating upgrade... Done
  5. The following packages were automatically installed and are no longer required:
  6. linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic linux-headers-4.4.0-47 linux-headers-4.4.0-47-generic linux-headers-4.4.0-51 linux-headers-4.4.0-51-generic
  7. linux-headers-4.4.0-53 linux-headers-4.4.0-53-generic linux-headers-4.4.0-57 linux-headers-4.4.0-57-generic linux-headers-4.4.0-59 linux-headers-4.4.0-59-generic
  8. linux-headers-4.4.0-62 linux-headers-4.4.0-62-generic linux-image-4.4.0-31-generic linux-image-4.4.0-47-generic linux-image-4.4.0-51-generic linux-image-4.4.0-53-generic
  9. linux-image-4.4.0-57-generic linux-image-4.4.0-59-generic linux-image-4.4.0-62-generic linux-image-extra-4.4.0-31-generic linux-image-extra-4.4.0-47-generic
  10. linux-image-extra-4.4.0-51-generic linux-image-extra-4.4.0-53-generic linux-image-extra-4.4.0-57-generic linux-image-extra-4.4.0-59-generic linux-image-extra-4.4.0-62-generic
  11. Use 'sudo apt autoremove' to remove them.
  12. The following packages have been kept back:
  13. snapd ubuntu-core-launcher
  14. The following packages will be upgraded:
  15. gitlab-ce grub-legacy-ec2 lxd lxd-client nano
  16. 5 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
  17. 5 not fully installed or removed.
  18. Need to get 276 MB of archives.
  19. After this operation, 32.0 MB of additional disk space will be used.
  20. Do you want to continue? [Y/n] Y
  21. Get:1 http://ca.archive.ubuntu.com/ubuntu xenial-updates/main amd64 lxd amd64 2.0.9-0ubuntu1~16.04.2 [3,417 kB]
  22. Get:2 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main amd64 gitlab-ce amd64 8.17.2-ce.0 [271 MB]
  23. Get:3 http://ca.archive.ubuntu.com/ubuntu xenial-updates/main amd64 lxd-client amd64 2.0.9-0ubuntu1~16.04.2 [1,846 kB]
  24. Get:4 http://ca.archive.ubuntu.com/ubuntu xenial-updates/main amd64 nano amd64 2.5.3-2ubuntu2 [191 kB]
  25. Get:5 http://ca.archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-legacy-ec2 all 0.7.9-0ubuntu1~16.04.2 [23.6 kB]
  26. Fetched 276 MB in 40s (6,897 kB/s)
  27. Preconfiguring packages ...
  28. (Reading database ... 411477 files and directories currently installed.)
  29. Preparing to unpack .../lxd_2.0.9-0ubuntu1~16.04.2_amd64.deb ...
  30. Warning: Stopping lxd.service, but it can still be activated by:
  31. lxd.socket
  32. Unpacking lxd (2.0.9-0ubuntu1~16.04.2) over (2.0.9-0ubuntu1~16.04.1) ...
  33. Warning: Stopping lxd.service, but it can still be activated by:
  34. lxd.socket
  35. Preparing to unpack .../lxd-client_2.0.9-0ubuntu1~16.04.2_amd64.deb ...
  36. Unpacking lxd-client (2.0.9-0ubuntu1~16.04.2) over (2.0.9-0ubuntu1~16.04.1) ...
  37. Preparing to unpack .../nano_2.5.3-2ubuntu2_amd64.deb ...
  38. Unpacking nano (2.5.3-2ubuntu2) over (2.5.3-2ubuntu1) ...
  39. Preparing to unpack .../gitlab-ce_8.17.2-ce.0_amd64.deb ...
  40. gitlab preinstall: Automatically backing up only the GitLab SQL database (excluding everything else!)
  41. Dumping database ...
  42. Dumping PostgreSQL database gitlabhq_production ... [DONE]
  43. done
  44. Dumping repositories ...
  45. [SKIPPED]
  46. Dumping uploads ...
  47. [SKIPPED]
  48. Dumping builds ...
  49. [SKIPPED]
  50. Dumping artifacts ...
  51. [SKIPPED]
  52. Dumping lfs objects ...
  53. [SKIPPED]
  54. Dumping container registry images ...
  55. [DISABLED]
  56. Creating backup archive: 1488388176_2017_03_01_gitlab_backup.tar ... done
  57. Uploading backup archive to remote storage ... skipped
  58. Deleting tmp directories ... done
  59. done
  60. Deleting old backups ... skipping
  61. Unpacking gitlab-ce (8.17.2-ce.0) over (8.16.5-ce.1) ...
  62. Preparing to unpack .../grub-legacy-ec2_0.7.9-0ubuntu1~16.04.2_all.deb ...
  63. Leaving 'diversion of /usr/sbin/grub-set-default to /usr/sbin/grub-set-default.real by grub-legacy-ec2'
  64. Unpacking grub-legacy-ec2 (0.7.9-0ubuntu1~16.04.2) over (0.7.8-49-g9e904bb-0ubuntu1~16.04.4) ...
  65. Processing triggers for man-db (2.7.5-1) ...
  66. Processing triggers for ureadahead (0.100.0-19) ...
  67. Processing triggers for systemd (229-4ubuntu16) ...
  68. Processing triggers for install-info (6.1.0.dfsg.1-5) ...
  69. Setting up linux-image-4.4.0-64-generic (4.4.0-64.85) ...
  70. Running depmod.
  71. update-initramfs: deferring update (hook will be called later)
  72. The link /initrd.img is a dangling linkto /boot/initrd.img-4.4.0-64-generic
  73. vmlinuz(/boot/vmlinuz-4.4.0-64-generic
  74. ) points to /boot/vmlinuz-4.4.0-64-generic
  75. (/boot/vmlinuz-4.4.0-64-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-4.4.0-64-generic.postinst line 491.
  76. Examining /etc/kernel/postinst.d.
  77. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-64-generic /boot/vmlinuz-4.4.0-64-generic
  78. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-64-generic /boot/vmlinuz-4.4.0-64-generic
  79. update-initramfs: Generating /boot/initrd.img-4.4.0-64-generic
  80. W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
  81.  
  82. gzip: stdout: No space left on device
  83. E: mkinitramfs failure cpio 141 gzip 1
  84. update-initramfs: failed for /boot/initrd.img-4.4.0-64-generic with 1.
  85. run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
  86. Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-4.4.0-64-generic.postinst line 1052.
  87. dpkg: error processing package linux-image-4.4.0-64-generic (--configure):
  88. subprocess installed post-installation script returned error exit status 2
  89. dpkg: dependency problems prevent configuration of linux-image-extra-4.4.0-64-generic:
  90. linux-image-extra-4.4.0-64-generic depends on linux-image-4.4.0-64-generic; however:
  91. Package linux-image-4.4.0-64-generic is not configured yet.
  92.  
  93. dpkg: error processing package linux-image-extra-4.4.0-64-generic (--configure):
  94. dependency problems - leaving unconfigured
  95. dpkg: dependency problems prevent configuration of linux-image-generic:
  96. linux-image-generic depends on linux-image-4.4.0-64-generic; however:
  97. Package linux-image-4.4.0-64-generic is not configured yet.
  98. linux-image-generic depends on linux-image-extra-4.4.0-64-generic; however:
  99. Package linux-image-extra-4.4.0-64-generic is not configured yet.
  100.  
  101. dpkg: error processing package linux-image-generic (--configure):
  102. dependency problems - leaving unconfigured
  103. dpkg: dependency problems prevent cNo apport report written because the error message indicates its a followup error from a previous failure.
  104. No apport report written because the error message indicates its a followup error from a previous failure.
  105. No apport report written because MaxReports is reached already
  106. onfiguration of linux-generic:
  107. linux-generic depends on linux-image-generic (= 4.4.0.64.68); however:
  108. Package linux-image-generic is not configured yet.
  109.  
  110. dpkg: error processing package linux-generic (--configure):
  111. dependency problems - leaving unconfigured
  112. Setting up linux-image-extra-4.4.0-63-generic (4.4.0-63.84) ...
  113. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-63-generic /boot/vmlinuz-4.4.0-63-generic
  114. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-63-generic /boot/vmlinuz-4.4.0-63-generic
  115. update-initramfs: Generating /boot/initrd.img-4.4.0-63-generic
  116. W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
  117.  
  118. gzip: stdout: No space left on device
  119. E: mkinitramfs failure cpio 141 gzip 1
  120. update-initramfs: failed for /boot/initrd.img-4.4.0-63-generic with 1.
  121. run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
  122. dpkg: error processing package linux-image-extra-4.4.0-63-generic (--configure):
  123. subprocess installed post-installation script returned error exit status 1
  124. No apport report written because MaxReports is reached already
  125. Setting up lxd-client (2.0.9-0ubuntu1~16.04.2) ...
  126. Setting up lxd (2.0.9-0ubuntu1~16.04.2) ...
  127. Setting up nano (2.5.3-2ubuntu2) ...
  128. Setting up gitlab-ce (8.17.2-ce.0) ...
  129.  
  130.  
  131. *. *.
  132. *** ***
  133. ***** *****
  134. .****** *******
  135. ******** ********
  136. ,,,,,,,,,***********,,,,,,,,,
  137. ,,,,,,,,,,,*********,,,,,,,,,,,
  138. .,,,,,,,,,,,*******,,,,,,,,,,,,
  139. ,,,,,,,,,*****,,,,,,,,,.
  140. ,,,,,,,****,,,,,,
  141. .,,,***,,,,
  142. ,*,.
  143.  
  144. _______ __ __ __
  145. / ____(_) /_/ / ____ _/ /_
  146. / / __/ / __/ / / __ `/ __ \
  147. / /_/ / / /_/ /___/ /_/ / /_/ /
  148. \____/_/\__/_____/\__,_/_.___/
  149.  
  150.  
  151. gitlab: Thank you for installing GitLab!
  152. gitlab: To configure and start GitLab, RUN THE FOLLOWING COMMAND:
  153.  
  154. sudo gitlab-ctl reconfigure
  155.  
  156. gitlab: GitLab should be reachable at http://gitlab.eclipsecreative.ca:8181
  157. gitlab: Otherwise configure GitLab for your system by editing /etc/gitlab/gitlab.rb file
  158. gitlab: And running reconfigure again.
  159. gitlab:
  160. gitlab: For a comprehensive list of configuration options please see the Omnibus GitLab readme
  161. gitlab: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md
  162. gitlab:
  163.  
  164. gitlab: GitLab now ships with a newer version of PostgreSQL (9.6.1), and will be used
  165. gitlab: as the default in the next major release. To upgrade, RUN THE FOLLOWING COMMANDS:
  166.  
  167. sudo gitlab-ctl pg-upgrade
  168.  
  169. gitlab: For more details, please see:
  170. gitlab: https://docs.gitlab.com/omnibus/settings/database.html#upgrade-packaged-postgresql-server
  171. gitlab:
  172. Checking PostgreSQL executables:Starting Chef Client, version 12.12.15
  173. resolving cookbooks for run list: ["gitlab::postgresql-bin"]
  174. Synchronizing Cookbooks:
  175. - gitlab (0.0.1)
  176. - package (0.0.0)
  177. - runit (0.14.2)
  178. Installing Cookbook Gems:
  179. Compiling Cookbooks...
  180. Converging 1 resources
  181. Recipe: gitlab::postgresql-bin
  182. * ruby_block[Link postgresql bin files to the correct version] action run (skipped due to only_if)
  183.  
  184. Running handlers:
  185. Running handlers complete
  186. Chef Client finished, 0/1 resources updated in 03 seconds
  187. Checking PostgreSQL executables: OK
  188. Shutting down all GitLab services except those needed for migrations
  189. ok: down: gitlab-workhorse: 1s, normally up
  190. ok: down: logrotate: 0s, normally up
  191. ok: down: nginx: 0s, normally up
  192. ok: down: postgresql: 1s, normally up
  193. ok: down: redis: 0s, normally up
  194. ok: down: sidekiq: 0s, normally up
  195. ok: down: unicorn: 0s, normally up
  196. ok: run: postgresql: (pid 25723) 0s
  197. ok: run: redis: (pid 25725) 1s
  198. run: postgresql: (pid 25723) 1s; run: log: (pid 9722) 11193417s
  199. run: redis: (pid 25725) 1s; run: log: (pid 9635) 11193423s
  200. Reconfiguring GitLab to apply migrations
  201. Starting Chef Client, version 12.12.15
  202. resolving cookbooks for run list: ["gitlab"]
  203. Synchronizing Cookbooks:
  204. - package (0.0.0)
  205. - runit (0.14.2)
  206. - gitlab (0.0.1)
  207. Installing Cookbook Gems:
  208. Compiling Cookbooks...
  209. Recipe: gitlab::default
  210. * directory[/etc/gitlab] action create (up to date)
  211. /sbin/init: unrecognized option '--version'
  212. -.mount loaded active mounted /
  213. Converging 290 resources
  214. * directory[/etc/gitlab] action create (up to date)
  215. * directory[Create /var/opt/gitlab] action create (up to date)
  216. * directory[/opt/gitlab/embedded/etc] action create (up to date)
  217. * template[/opt/gitlab/embedded/etc/gitconfig] action create (up to date)
  218. Recipe: gitlab::web-server
  219. * group[Webserver user and group] action create (up to date)
  220. * user[Webserver user and group] action create (up to date)
  221. Recipe: gitlab::users
  222. * directory[/var/opt/gitlab] action create (up to date)
  223. * group[GitLab user and group] action create (up to date)
  224. * user[GitLab user and group] action create (up to date)
  225. * template[/var/opt/gitlab/.gitconfig] action create (up to date)
  226. Recipe: gitlab::gitlab-shell
  227. * ruby_block[directory resource: /var/opt/gitlab/git-data] action run (skipped due to not_if)
  228. * ruby_block[directory resource: /var/opt/gitlab/git-data/repositories] action run (skipped due to not_if)
  229. * ruby_block[directory resource: /var/opt/gitlab/.ssh] action run (skipped due to not_if)
  230. * directory[/opt/gitlab/embedded/service/gitlab-shell/hooks/] action create
  231. - change owner from 'root' to 'git'
  232. - change group from 'root' to 'git'
  233. * directory[/var/log/gitlab/gitlab-shell/] action create (up to date)
  234. * directory[/var/opt/gitlab/gitlab-shell] action create (up to date)
  235. * templatesymlink[Create a config.yml and create a symlink to Rails root] action create
  236. * template[/var/opt/gitlab/gitlab-shell/config.yml] action create
  237. - update content in file /var/opt/gitlab/gitlab-shell/config.yml from b28e1e to 946d85
  238. --- /var/opt/gitlab/gitlab-shell/config.yml 2016-11-22 15:44:04.038477671 -0800
  239. +++ /var/opt/gitlab/gitlab-shell/.chef-config.yml20170301-25744-1dwjqlm 2017-03-01 09:13:35.835005554 -0800
  240. @@ -48,9 +48,5 @@
  241. # For CentOS: sudo yum install epel-release && sudo yum install git-annex
  242. git_annex_enabled:
  243.  
  244. -# Git trace log file.
  245. -# If set, git commands receive GIT_TRACE* environment variables
  246. -# See https://git-scm.com/book/es/v2/Git-Internals-Environment-Variables#Debugging for documentation
  247. -# An absolute path starting with / – the trace output will be appended to that file.
  248. -# It needs to exist so we can check permissions and avoid to throwing warnings to the users.
  249. +
  250. * link[Link /opt/gitlab/embedded/service/gitlab-shell/config.yml to /var/opt/gitlab/gitlab-shell/config.yml] action create (up to date)
  251.  
  252. * link[/opt/gitlab/embedded/service/gitlab-shell/.gitlab_shell_secret] action create (up to date)
  253. * execute[/opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions] action run
  254. - execute /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions
  255. * bash[Set proper security context on ssh files for selinux] action run (skipped due to only_if)
  256. Recipe: gitlab::gitlab-rails
  257. * directory[/var/log/gitlab] action create (up to date)
  258. * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared] action run (skipped due to not_if)
  259. * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/artifacts] action run (skipped due to not_if)
  260. * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/lfs-objects] action run (skipped due to not_if)
  261. * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/uploads] action run (skipped due to not_if)
  262. * ruby_block[directory resource: /var/opt/gitlab/gitlab-ci/builds] action run (skipped due to not_if)
  263. * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/pages] action run (skipped due to not_if)
  264. * directory[create /var/opt/gitlab/gitlab-rails/etc] action create (up to date)
  265. * directory[create /opt/gitlab/etc/gitlab-rails] action create (up to date)
  266. * directory[create /var/opt/gitlab/gitlab-rails/working] action create (up to date)
  267. * directory[create /var/opt/gitlab/gitlab-rails/tmp] action create (up to date)
  268. * directory[create /var/opt/gitlab/gitlab-rails/upgrade-status] action create (up to date)
  269. * directory[create /var/log/gitlab/gitlab-rails] action create (up to date)
  270. * directory[/var/opt/gitlab/backups] action create (up to date)
  271. * directory[/var/opt/gitlab/gitlab-rails] action create (up to date)
  272. * directory[/var/opt/gitlab/gitlab-ci] action create (up to date)
  273. * template[/opt/gitlab/etc/gitlab-rails/gitlab-rails-rc] action create (up to date)
  274. * file[/opt/gitlab/embedded/service/gitlab-rails/.secret] action delete (up to date)
  275. * file[/var/opt/gitlab/gitlab-rails/etc/secret] action delete (up to date)
  276. * templatesymlink[Create a database.yml and create a symlink to Rails root] action create
  277. * template[/var/opt/gitlab/gitlab-rails/etc/database.yml] action create (up to date)
  278. * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/database.yml to /var/opt/gitlab/gitlab-rails/etc/database.yml] action create (up to date)
  279. (up to date)
  280. * templatesymlink[Create a secrets.yml and create a symlink to Rails root] action create
  281. * template[/var/opt/gitlab/gitlab-rails/etc/secrets.yml] action create (up to date)
  282. * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/secrets.yml to /var/opt/gitlab/gitlab-rails/etc/secrets.yml] action create (up to date)
  283. (up to date)
  284. * templatesymlink[Create a resque.yml and create a symlink to Rails root] action create
  285. * template[/var/opt/gitlab/gitlab-rails/etc/resque.yml] action create (up to date)
  286. * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/resque.yml to /var/opt/gitlab/gitlab-rails/etc/resque.yml] action create (up to date)
  287. (up to date)
  288. * templatesymlink[Create a aws.yml and create a symlink to Rails root] action delete
  289. * template[/var/opt/gitlab/gitlab-rails/etc/aws.yml] action delete (up to date)
  290. * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/aws.yml to /var/opt/gitlab/gitlab-rails/etc/aws.yml] action delete (up to date)
  291. (up to date)
  292. * templatesymlink[Create a smtp_settings.rb and create a symlink to Rails root] action delete
  293. * template[/var/opt/gitlab/gitlab-rails/etc/smtp_settings.rb] action delete (up to date)
  294. * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/initializers/smtp_settings.rb to /var/opt/gitlab/gitlab-rails/etc/smtp_settings.rb] action delete (up to date)
  295. (up to date)
  296. * templatesymlink[Create a relative_url.rb and create a symlink to Rails root] action delete
  297. * template[/var/opt/gitlab/gitlab-rails/etc/relative_url.rb] action delete (up to date)
  298. * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/initializers/relative_url.rb to /var/opt/gitlab/gitlab-rails/etc/relative_url.rb] action delete (up to date)
  299. (up to date)
  300. * templatesymlink[Create a gitlab.yml and create a symlink to Rails root] action create
  301. * template[/var/opt/gitlab/gitlab-rails/etc/gitlab.yml] action create
  302. - update content in file /var/opt/gitlab/gitlab-rails/etc/gitlab.yml from 501601 to 520633
  303. --- /var/opt/gitlab/gitlab-rails/etc/gitlab.yml 2017-02-15 12:23:34.987214224 -0800
  304. +++ /var/opt/gitlab/gitlab-rails/etc/.chef-gitlab.yml20170301-25744-4qqce 2017-03-01 09:13:36.591014348 -0800
  305. @@ -139,7 +139,7 @@
  306. enabled: false
  307. host:
  308.  
  309. - ## GitLab Pages (EE only)
  310. + ## GitLab Pages
  311. pages:
  312. enabled: false
  313. path: /var/opt/gitlab/gitlab-rails/shared/pages
  314. @@ -149,14 +149,6 @@
  315. external_http:
  316. external_https:
  317.  
  318. - ## Elasticsearch (EE only)
  319. - # Enable it if you are going to use elasticsearch instead of
  320. - # regular database search
  321. - elasticsearch:
  322. - enabled: false
  323. - host:
  324. - port:
  325. -
  326. ## Gravatar
  327. ## For Libravatar see: https://docs.gitlab.com/ce/customization/libravatar.html
  328. gravatar:
  329. @@ -190,10 +182,6 @@
  330. # GitLab EE only jobs:
  331.  
  332. # Snapshot active users statistics
  333. -
  334. - # Update mirrored repositories
  335. -
  336. - # Update remote mirrors
  337.  
  338. # In addition to refreshing users when they log in,
  339. # periodically refresh LDAP users membership.
  340. * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml to /var/opt/gitlab/gitlab-rails/etc/gitlab.yml] action create (up to date)
  341.  
  342. * templatesymlink[Create a rack_attack.rb and create a symlink to Rails root] action create
  343. * template[/var/opt/gitlab/gitlab-rails/etc/rack_attack.rb] action create (up to date)
  344. * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/initializers/rack_attack.rb to /var/opt/gitlab/gitlab-rails/etc/rack_attack.rb] action create (up to date)
  345. (up to date)
  346. * templatesymlink[Create a gitlab_workhorse_secret and create a symlink to Rails root] action create
  347. * template[/var/opt/gitlab/gitlab-rails/etc/gitlab_workhorse_secret] action create (up to date)
  348. * link[Link /opt/gitlab/embedded/service/gitlab-rails/.gitlab_workhorse_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_workhorse_secret] action create (up to date)
  349. (up to date)
  350. * templatesymlink[Create a gitlab_shell_secret and create a symlink to Rails root] action create
  351. * template[/var/opt/gitlab/gitlab-rails/etc/gitlab_shell_secret] action create (up to date)
  352. * link[Link /opt/gitlab/embedded/service/gitlab-rails/.gitlab_shell_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_shell_secret] action create (up to date)
  353. (up to date)
  354. * directory[/opt/gitlab/etc/gitlab-rails/env] action create (up to date)
  355. * file[/opt/gitlab/etc/gitlab-rails/env/HOME] action create (up to date)
  356. * file[/opt/gitlab/etc/gitlab-rails/env/RAILS_ENV] action create (up to date)
  357. * file[/opt/gitlab/etc/gitlab-rails/env/LD_PRELOAD] action create (up to date)
  358. * file[/opt/gitlab/etc/gitlab-rails/env/SIDEKIQ_MEMORY_KILLER_MAX_RSS] action create (up to date)
  359. * file[/opt/gitlab/etc/gitlab-rails/env/BUNDLE_GEMFILE] action create (up to date)
  360. * file[/opt/gitlab/etc/gitlab-rails/env/PATH] action create (up to date)
  361. * file[/opt/gitlab/etc/gitlab-rails/env/ICU_DATA] action create (up to date)
  362. * file[/opt/gitlab/etc/gitlab-rails/env/PYTHONPATH] action create (up to date)
  363. * file[/opt/gitlab/etc/gitlab-rails/env/EXECJS_RUNTIME] action create
  364. - create new file /opt/gitlab/etc/gitlab-rails/env/EXECJS_RUNTIME
  365. - update content in file /opt/gitlab/etc/gitlab-rails/env/EXECJS_RUNTIME from none to 75081b
  366. --- /opt/gitlab/etc/gitlab-rails/env/EXECJS_RUNTIME 2017-03-01 09:13:36.687015464 -0800
  367. +++ /opt/gitlab/etc/gitlab-rails/env/.chef-EXECJS_RUNTIME20170301-25744-1omrqoj 2017-03-01 09:13:36.687015464 -0800
  368. @@ -1 +1,2 @@
  369. +Disabled
  370. * link[/opt/gitlab/embedded/service/gitlab-rails/tmp] action create (up to date)
  371. * link[/opt/gitlab/embedded/service/gitlab-rails/public/uploads] action create (up to date)
  372. * link[/opt/gitlab/embedded/service/gitlab-rails/log] action create (up to date)
  373. * link[/var/log/gitlab/gitlab-rails/sidekiq.log] action create (skipped due to not_if)
  374. * file[/opt/gitlab/embedded/service/gitlab-rails/db/schema.rb] action create
  375. - change owner from 'root' to 'git'
  376. * remote_file[/var/opt/gitlab/gitlab-rails/VERSION] action create
  377. - update content in file /var/opt/gitlab/gitlab-rails/VERSION from ffb144 to ac6eb3
  378. --- /var/opt/gitlab/gitlab-rails/VERSION 2017-02-15 12:21:27.356323658 -0800
  379. +++ /var/opt/gitlab/gitlab-rails/.chef-VERSION20170301-25744-r49mzf 2017-03-01 09:13:36.763016349 -0800
  380. @@ -1,2 +1,2 @@
  381. -8.16.5
  382. +8.17.2
  383. * remote_file[/var/opt/gitlab/gitlab-rails/REVISION] action create
  384. - update content in file /var/opt/gitlab/gitlab-rails/REVISION from df9963 to 28c5fc
  385. --- /var/opt/gitlab/gitlab-rails/REVISION 2017-02-15 12:21:27.400324655 -0800
  386. +++ /var/opt/gitlab/gitlab-rails/.chef-REVISION20170301-25744-xvygcl 2017-03-01 09:13:36.775016488 -0800
  387. @@ -1,2 +1,2 @@
  388. -064dab1
  389. +bab14bd
  390. * file[/var/opt/gitlab/gitlab-rails/RUBY_VERSION] action create (up to date)
  391. * execute[chown -R root:root /opt/gitlab/embedded/service/gitlab-rails/public] action run
  392. - execute chown -R root:root /opt/gitlab/embedded/service/gitlab-rails/public
  393. * execute[clear the gitlab-rails cache] action nothing (skipped due to action :nothing)
  394. * file[/var/opt/gitlab/gitlab-rails/config.ru] action delete (up to date)
  395. Recipe: gitlab::gitlab-ci-proxying
  396. * template[/var/opt/gitlab/nginx/conf/gitlab-ci-http.conf] action delete (up to date)
  397. Recipe: gitlab::add_trusted_certs
  398. * directory[/etc/gitlab/trusted-certs] action create (up to date)
  399. * directory[/opt/gitlab/embedded/ssl/certs] action create (up to date)
  400. * file[/opt/gitlab/embedded/ssl/certs/README] action create (up to date)
  401. * ruby_block[Move existing certs and link to /opt/gitlab/embedded/ssl/certs] action run
  402.  
  403. * Moving existing certificates found in /opt/gitlab/embedded/ssl/certs
  404.  
  405. * Symlinking existing certificates found in /etc/gitlab/trusted-certs
  406.  
  407. - execute the ruby block Move existing certs and link to /opt/gitlab/embedded/ssl/certs
  408. Recipe: gitlab::default
  409. * service[create a temporary unicorn service] action nothing (skipped due to action :nothing)
  410. * service[create a temporary ci-unicorn service] action nothing (skipped due to action :nothing)
  411. * service[create a temporary sidekiq service] action nothing (skipped due to action :nothing)
  412. * service[create a temporary ci-sidekiq service] action nothing (skipped due to action :nothing)
  413. * service[create a temporary mailroom service] action nothing (skipped due to action :nothing)
  414. Recipe: runit::systemd
  415. * directory[/usr/lib/systemd/system] action create (up to date)
  416. * cookbook_file[/usr/lib/systemd/system/gitlab-runsvdir.service] action create (up to date)
  417. * file[/etc/systemd/system/default.target.wants/gitlab-runsvdir.service] action delete (up to date)
  418. * execute[systemctl daemon-reload] action nothing (skipped due to action :nothing)
  419. * execute[systemctl enable gitlab-runsvdir] action nothing (skipped due to action :nothing)
  420. * execute[systemctl start gitlab-runsvdir] action nothing (skipped due to action :nothing)
  421. Recipe: gitlab::redis
  422. * group[user and group for redis] action create (up to date)
  423. * user[user and group for redis] action create (up to date)
  424. * group[Socket group] action create (up to date)
  425. * directory[/var/opt/gitlab/redis] action create (up to date)
  426. * directory[/var/log/gitlab/redis] action create (up to date)
  427. * template[/var/opt/gitlab/redis/redis.conf] action create (up to date)
  428. * directory[/opt/gitlab/sv/redis] action create (up to date)
  429. * directory[/opt/gitlab/sv/redis/log] action create (up to date)
  430. * directory[/opt/gitlab/sv/redis/log/main] action create (up to date)
  431. * template[/opt/gitlab/sv/redis/run] action create (up to date)
  432. * template[/opt/gitlab/sv/redis/log/run] action create (up to date)
  433. * template[/var/log/gitlab/redis/config] action create (up to date)
  434. * ruby_block[reload redis svlogd configuration] action nothing (skipped due to action :nothing)
  435. * file[/opt/gitlab/sv/redis/down] action delete (up to date)
  436. * link[/opt/gitlab/init/redis] action create (up to date)
  437. * link[/opt/gitlab/service/redis] action create (up to date)
  438. * ruby_block[supervise_redis_sleep] action run (skipped due to not_if)
  439. * service[redis] action nothing (skipped due to action :nothing)
  440. Recipe: gitlab::postgresql
  441. * group[Postgresql user and group] action create (up to date)
  442. * user[Postgresql user and group] action create (up to date)
  443. * directory[/var/opt/gitlab/postgresql] action create (up to date)
  444. * directory[/var/opt/gitlab/postgresql/data] action create (up to date)
  445. * directory[/var/log/gitlab/postgresql] action create (up to date)
  446. * link[/var/opt/gitlab/postgresql/data] action create (skipped due to not_if)
  447. * file[/var/opt/gitlab/postgresql/.profile] action create (up to date)
  448. * directory[create /etc/sysctl.d for kernel.shmmax] action create (up to date)
  449. * file[create /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf kernel.shmmax] action create (up to date)
  450. * link[/etc/sysctl.d/90-omnibus-gitlab-kernel.shmmax.conf] action create (up to date)
  451. * file[delete /etc/sysctl.d/90-postgresql.conf kernel.shmmax] action delete (skipped due to only_if)
  452. * file[delete /etc/sysctl.d/90-unicorn.conf kernel.shmmax] action delete (skipped due to only_if)
  453. * file[delete /opt/gitlab/embedded/etc/90-omnibus-gitlab.conf kernel.shmmax] action delete (skipped due to only_if)
  454. * file[delete /etc/sysctl.d/90-omnibus-gitlab.conf kernel.shmmax] action delete (skipped due to only_if)
  455. * execute[load sysctl conf kernel.shmmax] action nothing (skipped due to action :nothing)
  456. * directory[create /etc/sysctl.d for kernel.shmall] action create (up to date)
  457. * file[create /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmall.conf kernel.shmall] action create (up to date)
  458. * link[/etc/sysctl.d/90-omnibus-gitlab-kernel.shmall.conf] action create (up to date)
  459. * file[delete /etc/sysctl.d/90-postgresql.conf kernel.shmall] action delete (skipped due to only_if)
  460. * file[delete /etc/sysctl.d/90-unicorn.conf kernel.shmall] action delete (skipped due to only_if)
  461. * file[delete /opt/gitlab/embedded/etc/90-omnibus-gitlab.conf kernel.shmall] action delete (skipped due to only_if)
  462. * file[delete /etc/sysctl.d/90-omnibus-gitlab.conf kernel.shmall] action delete (skipped due to only_if)
  463. * execute[load sysctl conf kernel.shmall] action nothing (skipped due to action :nothing)
  464. * directory[create /etc/sysctl.d for kernel.sem] action create (up to date)
  465. * file[create /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.sem.conf kernel.sem] action create (up to date)
  466. * link[/etc/sysctl.d/90-omnibus-gitlab-kernel.sem.conf] action create (up to date)
  467. * file[delete /etc/sysctl.d/90-postgresql.conf kernel.sem] action delete (skipped due to only_if)
  468. * file[delete /etc/sysctl.d/90-unicorn.conf kernel.sem] action delete (skipped due to only_if)
  469. * file[delete /opt/gitlab/embedded/etc/90-omnibus-gitlab.conf kernel.sem] action delete (skipped due to only_if)
  470. * file[delete /etc/sysctl.d/90-omnibus-gitlab.conf kernel.sem] action delete (skipped due to only_if)
  471. * execute[load sysctl conf kernel.sem] action nothing (skipped due to action :nothing)
  472. * execute[/opt/gitlab/embedded/bin/initdb -D /var/opt/gitlab/postgresql/data -E UTF8] action run (skipped due to not_if)
  473. * template[/var/opt/gitlab/postgresql/data/postgresql.conf] action create
  474. - update content in file /var/opt/gitlab/postgresql/data/postgresql.conf from 9edb9b to 5c91aa
  475. --- /var/opt/gitlab/postgresql/data/postgresql.conf 2016-11-22 15:44:06.122412159 -0800
  476. +++ /var/opt/gitlab/postgresql/data/.chef-postgresql.conf20170301-25744-1qutcxj 2017-03-01 09:13:37.083020071 -0800
  477. @@ -157,7 +157,8 @@
  478. wal_level = minimal
  479. # (change requires restart)
  480. #fsync = on # turns forced synchronization on or off
  481. -#synchronous_commit = on # synchronization level; on, off, or local
  482. +synchronous_commit = on # synchronization level; on, off, or local
  483. +synchronous_standby_names = ''
  484. #wal_sync_method = fsync # the default is the first option
  485. # supported by the operating system:
  486. # open_datasync
  487. @@ -181,10 +182,10 @@
  488.  
  489. # - Archiving -
  490.  
  491. -#archive_mode = off # allows archiving to be done
  492. - # (change requires restart)
  493. -#archive_command = '' # command to use to archive a logfile segment
  494. -#archive_timeout = 0 # force a logfile segment switch after this
  495. +archive_mode = off # allows archiving to be done
  496. + # (change requires restart, also requires 'wal_level' of 'hot_standby' OR 'replica')
  497. +archive_command = '' # command to use to archive a logfile segment
  498. +archive_timeout = 60 # force a logfile segment switch after this
  499. # number of seconds; 0 disables
  500.  
  501.  
  502. @@ -212,10 +213,10 @@
  503.  
  504. hot_standby = off
  505. # (change requires restart)
  506. -#max_standby_archive_delay = 30s # max delay before canceling queries
  507. +max_standby_archive_delay = 30s # max delay before canceling queries
  508. # when reading WAL from archive;
  509. # -1 allows indefinite delay
  510. -#max_standby_streaming_delay = 30s # max delay before canceling queries
  511. +max_standby_streaming_delay = 30s # max delay before canceling queries
  512. # when reading streaming WAL;
  513. # -1 allows indefinite delay
  514. #wal_receiver_status_interval = 10s # send replies at least this often
  515. * service[postgresql] action restart
  516. - restart service service[postgresql]
  517. * template[/var/opt/gitlab/postgresql/data/pg_hba.conf] action create (up to date)
  518. * template[/var/opt/gitlab/postgresql/data/pg_ident.conf] action create (up to date)
  519. * directory[/opt/gitlab/sv/postgresql] action create (up to date)
  520. * directory[/opt/gitlab/sv/postgresql/log] action create (up to date)
  521. * directory[/opt/gitlab/sv/postgresql/log/main] action create (up to date)
  522. * template[/opt/gitlab/sv/postgresql/run] action create (up to date)
  523. * template[/opt/gitlab/sv/postgresql/log/run] action create (up to date)
  524. * template[/var/log/gitlab/postgresql/config] action create (up to date)
  525. * ruby_block[reload postgresql svlogd configuration] action nothing (skipped due to action :nothing)
  526. * file[/opt/gitlab/sv/postgresql/down] action delete (up to date)
  527. * directory[/opt/gitlab/sv/postgresql/control] action create (up to date)
  528. * template[/opt/gitlab/sv/postgresql/control/t] action create (up to date)
  529. * link[/opt/gitlab/init/postgresql] action create (up to date)
  530. * link[/opt/gitlab/service/postgresql] action create (up to date)
  531. * ruby_block[supervise_postgresql_sleep] action run (skipped due to not_if)
  532. * service[postgresql] action nothing (skipped due to action :nothing)
  533. Recipe: gitlab::postgresql-bin
  534. * ruby_block[Link postgresql bin files to the correct version] action run (skipped due to only_if)
  535. Recipe: gitlab::postgresql
  536. * template[/opt/gitlab/etc/gitlab-psql-rc] action create (up to date)
  537. * execute[create gitlab database user] action run (skipped due to not_if)
  538. * execute[create gitlabhq_production database] action run (skipped due to not_if)
  539. * execute[create gitlab_replicator replication user] action run (skipped due to not_if)
  540. * execute[enable pg_trgm extension] action nothing (skipped due to action :nothing)
  541. Recipe: gitlab::database_migrations
  542. * bash[migrate gitlab-rails database] action run
  543. - Would execute "bash" "/tmp/chef-script20170301-25744-1h6j5y1"
  544. Recipe: gitlab::postgresql
  545. * execute[enable pg_trgm extension] action run
  546. [execute] CREATE EXTENSION
  547. NOTICE: extension "pg_trgm" already exists, skipping
  548. - execute /opt/gitlab/bin/gitlab-psql -d gitlabhq_production -c "CREATE EXTENSION IF NOT EXISTS pg_trgm;"
  549. Recipe: gitlab::database_migrations
  550. * bash[migrate gitlab-rails database] action run
  551. [execute] == 20151215132013 AddPagesSizeToApplicationSettings: migrating ================
  552. -- transaction_open?()
  553. -> 0.0000s
  554. -- execute("SET statement_timeout TO 0")
  555. -> 0.0004s
  556. -- transaction()
  557. -- add_column(:application_settings, :max_pages_size, :integer, {:default=>nil})
  558. -> 0.0322s
  559. -- change_column_default(:application_settings, :max_pages_size, 100)
  560. -> 0.0873s
  561. -> 0.1344s
  562. -- exec_query("SELECT COUNT(*) AS count FROM \"application_settings\"")
  563. -> 0.0007s
  564. -- exec_query("SELECT \"application_settings\".\"id\" FROM \"application_settings\" ORDER BY \"application_settings\".\"id\" ASC LIMIT 1")
  565. -> 0.0006s
  566. -- exec_query("SELECT \"application_settings\".\"id\" FROM \"application_settings\" WHERE \"application_settings\".\"id\" >= 1 ORDER BY \"application_settings\".\"id\" ASC LIMIT 1 OFFSET 1")
  567. -> 0.0007s
  568. -- execute("UPDATE \"application_settings\" SET \"max_pages_size\" = 100 WHERE \"application_settings\".\"id\" >= 1")
  569. -> 0.0099s
  570. -- change_column_null(:application_settings, :max_pages_size, false)
  571. -> 0.0083s
  572. == 20151215132013 AddPagesSizeToApplicationSettings: migrated (0.1600s) =======
  573.  
  574. == 20160210105555 CreatePagesDomain: migrating ================================
  575. -- create_table(:pages_domains)
  576. -> 0.1900s
  577. -- add_index(:pages_domains, :domain, {:unique=>true})
  578. -> 0.0584s
  579. == 20160210105555 CreatePagesDomain: migrated (0.2485s) =======================
  580.  
  581. == 20161114024742 AddCoverageRegexToBuilds: migrating =========================
  582. -- add_column(:ci_builds, :coverage_regex, :string)
  583. -> 0.0023s
  584. == 20161114024742 AddCoverageRegexToBuilds: migrated (0.0024s) ================
  585.  
  586. == 20170104150317 RequeuePendingDeleteProjects: migrating =====================
  587. == 20170104150317 RequeuePendingDeleteProjects: migrated (0.2640s) ============
  588.  
  589. == 20170124174637 AddForeignKeysToTimelogs: migrating =========================
  590. -- change_table(:timelogs)
  591. -> 0.0306s
  592. -- transaction_open?()
  593. -> 0.0000s
  594. -- execute("SET statement_timeout TO 0")
  595. -> 0.0005s
  596. -- add_index(:timelogs, :issue_id, {:algorithm=>:concurrently})
  597. -> 0.0417s
  598. -- transaction_open?()
  599. -> 0.0000s
  600. -- execute("SET statement_timeout TO 0")
  601. -> 0.0004s
  602. -- add_index(:timelogs, :merge_request_id, {:algorithm=>:concurrently})
  603. -> 0.0581s
  604. -- execute(" ALTER TABLE timelogs ADD CONSTRAINT \"fk_timelogs_issues_issue_id\" FOREIGN KEY (issue_id) REFERENCES \"issues\" (id) ON DELETE CASCADE NOT VALID;\n ALTER TABLE timelogs ADD CONSTRAINT \"fk_timelogs_merge_requests_merge_request_id\" FOREIGN KEY (merge_request_id) REFERENCES \"merge_requests\" (id) ON DELETE CASCADE NOT VALID;\n")
  605. -> 0.0494s
  606. == 20170124174637 AddForeignKeysToTimelogs: migrated (0.2076s) ================
  607.  
  608. == 20170126174819 AddTerminalMaxSessionTimeToApplicationSettings: migrating ===
  609. -- transaction_open?()
  610. -> 0.0000s
  611. -- execute("SET statement_timeout TO 0")
  612. -> 0.0004s
  613. -- transaction()
  614. -- add_column(:application_settings, :terminal_max_session_time, :integer, {:default=>nil})
  615. -> 0.0016s
  616. -- change_column_default(:application_settings, :terminal_max_session_time, 0)
  617. -> 0.0030s
  618. -> 0.1007s
  619. -- exec_query("SELECT COUNT(*) AS count FROM \"application_settings\"")
  620. -> 0.0007s
  621. -- exec_query("SELECT \"application_settings\".\"id\" FROM \"application_settings\" ORDER BY \"application_settings\".\"id\" ASC LIMIT 1")
  622. -> 0.0006s
  623. -- exec_query("SELECT \"application_settings\".\"id\" FROM \"application_settings\" WHERE \"application_settings\".\"id\" >= 1 ORDER BY \"application_settings\".\"id\" ASC LIMIT 1 OFFSET 1")
  624. -> 0.0006s
  625. -- execute("UPDATE \"application_settings\" SET \"terminal_max_session_time\" = 0 WHERE \"application_settings\".\"id\" >= 1")
  626. -> 0.0294s
  627. -- change_column_null(:application_settings, :terminal_max_session_time, false)
  628. -> 0.0083s
  629. == 20170126174819 AddTerminalMaxSessionTimeToApplicationSettings: migrated (0.1418s)
  630.  
  631. == 20170127032550 RemoveBacklogListsFromBoards: migrating =====================
  632. -- execute(" DELETE FROM lists WHERE list_type = 0;\n")
  633. -> 0.0210s
  634. == 20170127032550 RemoveBacklogListsFromBoards: migrated (0.0210s) ============
  635.  
  636. == 20170204181513 AddIndexToLabelsForTypeAndProject: migrating ================
  637. -- transaction_open?()
  638. -> 0.0000s
  639. -- execute("SET statement_timeout TO 0")
  640. -> 0.0004s
  641. -- add_index(:labels, [:type, :project_id], {:algorithm=>:concurrently})
  642. -> 0.0579s
  643. == 20170204181513 AddIndexToLabelsForTypeAndProject: migrated (0.0585s) =======
  644.  
  645. == 20170206071414 AddRecaptchaVerifiedToSpamLogs: migrating ===================
  646. -- transaction_open?()
  647. -> 0.0000s
  648. -- execute("SET statement_timeout TO 0")
  649. -> 0.0004s
  650. -- transaction()
  651. -- add_column(:spam_logs, :recaptcha_verified, :boolean, {:default=>nil})
  652. -> 0.0021s
  653. -- change_column_default(:spam_logs, :recaptcha_verified, false)
  654. -> 0.0023s
  655. -> 0.0190s
  656. -- exec_query("SELECT COUNT(*) AS count FROM \"spam_logs\"")
  657. -> 0.0007s
  658. -- change_column_null(:spam_logs, :recaptcha_verified, false)
  659. -> 0.0073s
  660. == 20170206071414 AddRecaptchaVerifiedToSpamLogs: migrated (0.0279s) ==========
  661.  
  662. == 20170206101007 RemoveTrackableColumnsFromTimelogs: migrating ===============
  663. -- remove_columns(:timelogs, :trackable_id, :trackable_type)
  664. -> 0.0034s
  665. == 20170206101007 RemoveTrackableColumnsFromTimelogs: migrated (0.0034s) ======
  666.  
  667. == 20170206101030 ValidateForeignKeysOnTimelogs: migrating ====================
  668. -- execute(" ALTER TABLE timelogs VALIDATE CONSTRAINT \"fk_timelogs_issues_issue_id\";\n ALTER TABLE timelogs VALIDATE CONSTRAINT \"fk_timelogs_merge_requests_merge_request_id\";\n")
  669. -> 0.0199s
  670. == 20170206101030 ValidateForeignKeysOnTimelogs: migrated (0.0200s) ===========
  671.  
  672. == 20170210062829 AddIndexToLabelsForTitleAndProject: migrating ===============
  673. -- transaction_open?()
  674. -> 0.0000s
  675. -- execute("SET statement_timeout TO 0")
  676. -> 0.0005s
  677. -- add_index(:labels, :title, {:algorithm=>:concurrently})
  678. -> 0.0530s
  679. -- transaction_open?()
  680. -> 0.0000s
  681. -- execute("SET statement_timeout TO 0")
  682. -> 0.0004s
  683. -- add_index(:labels, :project_id, {:algorithm=>:concurrently})
  684. -> 0.0499s
  685. == 20170210062829 AddIndexToLabelsForTitleAndProject: migrated (0.1041s) ======
  686.  
  687. == 20170210075922 AddIndexToCiTriggerRequestsForCommitId: migrating ===========
  688. -- transaction_open?()
  689. -> 0.0000s
  690. -- execute("SET statement_timeout TO 0")
  691. -> 0.0004s
  692. -- add_index(:ci_trigger_requests, :commit_id, {:algorithm=>:concurrently})
  693. -> 0.0466s
  694. == 20170210075922 AddIndexToCiTriggerRequestsForCommitId: migrated (0.0472s) ==
  695.  
  696. == 20170210103609 AddIndexToUserAgentDetail: migrating ========================
  697. -- transaction_open?()
  698. -> 0.0000s
  699. -- execute("SET statement_timeout TO 0")
  700. -> 0.0004s
  701. -- add_index(:user_agent_details, [:subject_id, :subject_type], {:algorithm=>:concurrently})
  702. -> 0.0604s
  703. == 20170210103609 AddIndexToUserAgentDetail: migrated (0.0609s) ===============
  704.  
  705. == 20170211073944 DisableInvalidServiceTemplates: migrating ===================
  706. == 20170211073944 DisableInvalidServiceTemplates: migrated (0.0175s) ==========
  707.  
  708. == 20170214111112 DeleteDeprecatedGitlabCiService: migrating ==================
  709. -- execute("SET statement_timeout TO 0")
  710. -> 0.0004s
  711. -- execute("DELETE FROM services WHERE type = 'GitlabCiService';")
  712. -> 0.0272s
  713. == 20170214111112 DeleteDeprecatedGitlabCiService: migrated (0.0277s) =========
  714.  
  715. - execute "bash" "/tmp/chef-script20170301-25744-mhup75"
  716. Recipe: gitlab::gitlab-rails
  717. * execute[clear the gitlab-rails cache] action run
  718. - execute /opt/gitlab/bin/gitlab-rake cache:clear
  719. Recipe: gitlab::unicorn
  720. * service[unicorn] action restart
  721. - restart service service[unicorn]
  722. Recipe: gitlab::sidekiq
  723. * service[sidekiq] action restart
  724. - restart service service[sidekiq]
  725. Recipe: gitlab::logrotate_folders_and_configs
  726. * directory[/var/opt/gitlab/logrotate] action create (up to date)
  727. * directory[/var/opt/gitlab/logrotate/logrotate.d] action create (up to date)
  728. * directory[/var/log/gitlab/logrotate] action create (up to date)
  729. * template[/var/opt/gitlab/logrotate/logrotate.conf] action create (up to date)
  730. * template[/var/opt/gitlab/logrotate/logrotate.d/nginx] action create (up to date)
  731. * template[/var/opt/gitlab/logrotate/logrotate.d/unicorn] action create (up to date)
  732. * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-rails] action create (up to date)
  733. * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-shell] action create (up to date)
  734. * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-workhorse] action create (up to date)
  735. * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-pages] action create (up to date)
  736. Recipe: gitlab::unicorn
  737. * directory[/var/log/gitlab/unicorn] action create (up to date)
  738. * directory[/opt/gitlab/var/unicorn] action create (up to date)
  739. * directory[/var/opt/gitlab/gitlab-rails/sockets] action create (up to date)
  740. * directory[/var/opt/gitlab/gitlab-rails/etc] action create (up to date)
  741. * template[/var/opt/gitlab/gitlab-rails/etc/unicorn.rb] action create
  742. - update content in file /var/opt/gitlab/gitlab-rails/etc/unicorn.rb from 529419 to b61bc1
  743. --- /var/opt/gitlab/gitlab-rails/etc/unicorn.rb 2016-10-22 20:57:21.865352909 -0700
  744. +++ /var/opt/gitlab/gitlab-rails/etc/.chef-unicorn.rb20170301-25744-yk1ldf 2017-03-01 09:14:46.007821776 -0800
  745. @@ -29,6 +29,14 @@
  746. end
  747. end
  748.  
  749. + ActiveRecord::Base.connection.disconnect! if defined?(ActiveRecord::Base)
  750. +
  751. +end
  752. +
  753. +# What to do after we fork a worker
  754. +after_fork do |server, worker|
  755. + ActiveRecord::Base.establish_connection if defined?(ActiveRecord::Base)
  756. +
  757. end
  758.  
  759. # Where to drop a pidfile
  760. * directory[/opt/gitlab/sv/unicorn] action create (up to date)
  761. * directory[/opt/gitlab/sv/unicorn/log] action create (up to date)
  762. * directory[/opt/gitlab/sv/unicorn/log/main] action create (up to date)
  763. * template[/opt/gitlab/sv/unicorn/run] action create (up to date)
  764. * template[/opt/gitlab/sv/unicorn/log/run] action create (up to date)
  765. * template[/var/log/gitlab/unicorn/config] action create (up to date)
  766. * ruby_block[reload unicorn svlogd configuration] action nothing (skipped due to action :nothing)
  767. * file[/opt/gitlab/sv/unicorn/down] action delete (up to date)
  768. * directory[/opt/gitlab/sv/unicorn/control] action create (up to date)
  769. * template[/opt/gitlab/sv/unicorn/control/t] action create (up to date)
  770. * link[/opt/gitlab/init/unicorn] action create (up to date)
  771. * link[/opt/gitlab/service/unicorn] action create (up to date)
  772. * ruby_block[supervise_unicorn_sleep] action run (skipped due to not_if)
  773. * service[unicorn] action nothing (skipped due to action :nothing)
  774. * directory[create /etc/sysctl.d for net.core.somaxconn] action create (up to date)
  775. * file[create /opt/gitlab/embedded/etc/90-omnibus-gitlab-net.core.somaxconn.conf net.core.somaxconn] action create (up to date)
  776. * link[/etc/sysctl.d/90-omnibus-gitlab-net.core.somaxconn.conf] action create (up to date)
  777. * file[delete /etc/sysctl.d/90-postgresql.conf net.core.somaxconn] action delete (skipped due to only_if)
  778. * file[delete /etc/sysctl.d/90-unicorn.conf net.core.somaxconn] action delete (skipped due to only_if)
  779. * file[delete /opt/gitlab/embedded/etc/90-omnibus-gitlab.conf net.core.somaxconn] action delete (skipped due to only_if)
  780. * file[delete /etc/sysctl.d/90-omnibus-gitlab.conf net.core.somaxconn] action delete (skipped due to only_if)
  781. * execute[load sysctl conf net.core.somaxconn] action nothing (skipped due to action :nothing)
  782. Recipe: gitlab::sidekiq
  783. * directory[/var/log/gitlab/sidekiq] action create (up to date)
  784. * directory[/opt/gitlab/sv/sidekiq] action create (up to date)
  785. * directory[/opt/gitlab/sv/sidekiq/log] action create (up to date)
  786. * directory[/opt/gitlab/sv/sidekiq/log/main] action create (up to date)
  787. * template[/opt/gitlab/sv/sidekiq/run] action create (up to date)
  788. * template[/opt/gitlab/sv/sidekiq/log/run] action create (up to date)
  789. * template[/var/log/gitlab/sidekiq/config] action create (up to date)
  790. * ruby_block[reload sidekiq svlogd configuration] action nothing (skipped due to action :nothing)
  791. * file[/opt/gitlab/sv/sidekiq/down] action delete (up to date)
  792. * link[/opt/gitlab/init/sidekiq] action create (up to date)
  793. * link[/opt/gitlab/service/sidekiq] action create (up to date)
  794. * ruby_block[supervise_sidekiq_sleep] action run (skipped due to not_if)
  795. * service[sidekiq] action nothing (skipped due to action :nothing)
  796. Recipe: gitlab::gitaly_disable
  797. * link[/opt/gitlab/service/gitaly] action delete (up to date)
  798. * directory[/opt/gitlab/sv/gitaly] action delete (up to date)
  799. Recipe: gitlab::gitlab-workhorse
  800. * directory[/var/opt/gitlab/gitlab-workhorse] action create (up to date)
  801. * directory[/var/log/gitlab/gitlab-workhorse] action create (up to date)
  802. * directory[/opt/gitlab/etc/gitlab-workhorse] action create (up to date)
  803. * directory[/opt/gitlab/etc/gitlab-workhorse/env] action create (up to date)
  804. * file[/opt/gitlab/etc/gitlab-workhorse/env/PATH] action create (up to date)
  805. * file[/opt/gitlab/etc/gitlab-workhorse/env/HOME] action create (up to date)
  806. * directory[/opt/gitlab/sv/gitlab-workhorse] action create (up to date)
  807. * directory[/opt/gitlab/sv/gitlab-workhorse/log] action create (up to date)
  808. * directory[/opt/gitlab/sv/gitlab-workhorse/log/main] action create (up to date)
  809. * template[/opt/gitlab/sv/gitlab-workhorse/run] action create (up to date)
  810. * template[/opt/gitlab/sv/gitlab-workhorse/log/run] action create (up to date)
  811. * template[/var/log/gitlab/gitlab-workhorse/config] action create (up to date)
  812. * ruby_block[reload gitlab-workhorse svlogd configuration] action nothing (skipped due to action :nothing)
  813. * file[/opt/gitlab/sv/gitlab-workhorse/down] action delete (up to date)
  814. * link[/opt/gitlab/init/gitlab-workhorse] action create (up to date)
  815. * link[/opt/gitlab/service/gitlab-workhorse] action create (up to date)
  816. * ruby_block[supervise_gitlab-workhorse_sleep] action run (skipped due to not_if)
  817. * service[gitlab-workhorse] action nothing (skipped due to action :nothing)
  818. * file[/var/opt/gitlab/gitlab-workhorse/VERSION] action create
  819. - update content in file /var/opt/gitlab/gitlab-workhorse/VERSION from 487c22 to cf2e4d
  820. --- /var/opt/gitlab/gitlab-workhorse/VERSION 2017-02-15 12:22:02.049110158 -0800
  821. +++ /var/opt/gitlab/gitlab-workhorse/.chef-VERSION20170301-25744-1f5x958 2017-03-01 09:14:46.219824241 -0800
  822. @@ -1,2 +1,2 @@
  823. -gitlab-workhorse v1.3.0-20170214.212420
  824. +gitlab-workhorse v1.3.0-20170301.125328
  825. Recipe: gitlab::mailroom_disable
  826. * link[/opt/gitlab/service/mailroom] action delete (up to date)
  827. * directory[/opt/gitlab/sv/mailroom] action delete (up to date)
  828. Recipe: gitlab::nginx
  829. * directory[/var/opt/gitlab/nginx] action create (up to date)
  830. * directory[/var/opt/gitlab/nginx/conf] action create (up to date)
  831. * directory[/var/log/gitlab/nginx] action create (up to date)
  832. * link[/var/opt/gitlab/nginx/logs] action create (up to date)
  833. * template[/var/opt/gitlab/nginx/conf/gitlab-http.conf] action create (up to date)
  834. * template[/var/opt/gitlab/nginx/conf/gitlab-pages.conf] action delete (up to date)
  835. * template[/var/opt/gitlab/nginx/conf/gitlab-registry.conf] action delete (up to date)
  836. * template[/var/opt/gitlab/nginx/conf/gitlab-mattermost-http.conf] action delete (up to date)
  837. * template[/var/opt/gitlab/nginx/conf/nginx-status.conf] action create (up to date)
  838. * template[/var/opt/gitlab/nginx/conf/nginx.conf] action create (up to date)
  839. * directory[/opt/gitlab/sv/nginx] action create (up to date)
  840. * directory[/opt/gitlab/sv/nginx/log] action create (up to date)
  841. * directory[/opt/gitlab/sv/nginx/log/main] action create (up to date)
  842. * template[/opt/gitlab/sv/nginx/run] action create (up to date)
  843. * template[/opt/gitlab/sv/nginx/log/run] action create (up to date)
  844. * template[/var/log/gitlab/nginx/config] action create (up to date)
  845. * ruby_block[reload nginx svlogd configuration] action nothing (skipped due to action :nothing)
  846. * file[/opt/gitlab/sv/nginx/down] action delete (up to date)
  847. * link[/opt/gitlab/init/nginx] action create (up to date)
  848. * link[/opt/gitlab/service/nginx] action create (up to date)
  849. * ruby_block[supervise_nginx_sleep] action run (skipped due to not_if)
  850. * service[nginx] action nothing (skipped due to action :nothing)
  851. Recipe: gitlab::remote-syslog_disable
  852. * link[/opt/gitlab/service/remote-syslog] action delete (up to date)
  853. * directory[/opt/gitlab/sv/remote-syslog] action delete (up to date)
  854. Recipe: gitlab::logrotate
  855. * directory[/opt/gitlab/sv/logrotate] action create (up to date)
  856. * directory[/opt/gitlab/sv/logrotate/log] action create (up to date)
  857. * directory[/opt/gitlab/sv/logrotate/log/main] action create (up to date)
  858. * template[/opt/gitlab/sv/logrotate/run] action create (up to date)
  859. * template[/opt/gitlab/sv/logrotate/log/run] action create (up to date)
  860. * template[/var/log/gitlab/logrotate/config] action create (up to date)
  861. * ruby_block[reload logrotate svlogd configuration] action nothing (skipped due to action :nothing)
  862. * file[/opt/gitlab/sv/logrotate/down] action delete (up to date)
  863. * directory[/opt/gitlab/sv/logrotate/control] action create (up to date)
  864. * template[/opt/gitlab/sv/logrotate/control/t] action create (up to date)
  865. * link[/opt/gitlab/init/logrotate] action create (up to date)
  866. * link[/opt/gitlab/service/logrotate] action create (up to date)
  867. * ruby_block[supervise_logrotate_sleep] action run (skipped due to not_if)
  868. * service[logrotate] action nothing (skipped due to action :nothing)
  869. Recipe: gitlab::mattermost_disable
  870. * link[/opt/gitlab/service/mattermost] action delete (up to date)
  871. * directory[/opt/gitlab/sv/mattermost] action delete (up to date)
  872. Recipe: gitlab::gitlab-pages_disable
  873. * link[/opt/gitlab/service/gitlab-pages] action delete (up to date)
  874. * directory[/opt/gitlab/sv/gitlab-pages] action delete (up to date)
  875. Recipe: gitlab::registry_disable
  876. * link[/opt/gitlab/service/registry] action delete (up to date)
  877. * directory[/opt/gitlab/sv/registry] action delete (up to date)
  878. Recipe: gitlab::gitlab-healthcheck
  879. * template[/opt/gitlab/etc/gitlab-healthcheck-rc] action create
  880. - create new file /opt/gitlab/etc/gitlab-healthcheck-rc
  881. - update content in file /opt/gitlab/etc/gitlab-healthcheck-rc from none to c7c9fd
  882. --- /opt/gitlab/etc/gitlab-healthcheck-rc 2017-03-01 09:14:46.395826289 -0800
  883. +++ /opt/gitlab/etc/.chef-gitlab-healthcheck-rc20170301-25744-1yitqoi 2017-03-01 09:14:46.395826289 -0800
  884. @@ -1 +1,4 @@
  885. +host='http://localhost'
  886. +port='8181'
  887. +path='/help'
  888. - change owner from '' to 'root'
  889. - change group from '' to 'root'
  890. Recipe: gitlab::prometheus_disable
  891. * link[/opt/gitlab/service/prometheus] action delete (up to date)
  892. * directory[/opt/gitlab/sv/prometheus] action delete (up to date)
  893. Recipe: gitlab::node-exporter_disable
  894. * link[/opt/gitlab/service/node-exporter] action delete (up to date)
  895. * directory[/opt/gitlab/sv/node-exporter] action delete (up to date)
  896. Recipe: gitlab::redis-exporter_disable
  897. * link[/opt/gitlab/service/redis-exporter] action delete (up to date)
  898. * directory[/opt/gitlab/sv/redis-exporter] action delete (up to date)
  899. Recipe: gitlab::postgres-exporter_disable
  900. * link[/opt/gitlab/service/postgres-exporter] action delete (up to date)
  901. * directory[/opt/gitlab/sv/postgres-exporter] action delete (up to date)
  902. Recipe: gitlab::gitlab-monitor_disable
  903. * link[/opt/gitlab/service/gitlab-monitor] action delete (up to date)
  904. * directory[/opt/gitlab/sv/gitlab-monitor] action delete (up to date)
  905. Recipe: gitlab::default
  906. * link[/opt/gitlab/service/gitlab-git-http-server] action delete (up to date)
  907. * directory[/opt/gitlab/sv/gitlab-git-http-server] action delete (up to date)
  908. Recipe: gitlab::gitlab-rails
  909. * execute[clear the gitlab-rails cache] action run
  910. - execute /opt/gitlab/bin/gitlab-rake cache:clear
  911. Recipe: gitlab::unicorn
  912. * service[unicorn] action restart
  913. - restart service service[unicorn]
  914. Recipe: gitlab::sidekiq
  915. * service[sidekiq] action restart
  916. - restart service service[sidekiq]
  917. Recipe: gitlab::gitlab-workhorse
  918. * service[gitlab-workhorse] action restart
  919. - restart service service[gitlab-workhorse]
  920.  
  921. Running handlers:
  922. Running handlers complete
  923. Chef Client finished, 27/323 resources updated in 01 minutes 31 seconds
  924. gitlab Reconfigured!
  925. Restarting previously running GitLab services
  926. ok: run: gitlab-workhorse: (pid 26271) 0s
  927. ok: run: logrotate: (pid 26279) 1s
  928. ok: run: nginx: (pid 26285) 0s
  929. ok: run: postgresql: (pid 26145) 85s
  930. ok: run: redis: (pid 25725) 95s
  931. ok: run: sidekiq: (pid 26263) 2s
  932. ok: run: unicorn: (pid 26296) 0s
  933.  
  934. Upgrade complete! If your GitLab server is misbehaving try running
  935.  
  936. sudo gitlab-ctl restart
  937.  
  938. before anything else. If you need to roll back to the previous version you can
  939. use the database backup made during the upgrade (scroll up for the filename).
  940. Setting up grub-legacy-ec2 (0.7.9-0ubuntu1~16.04.2) ...
  941. Searching for GRUB installation directory ... found: /boot/grub
  942. Searching for default file ... found: /boot/grub/default
  943. Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
  944. Searching for splash image ... none found, skipping ...
  945. Found kernel: /vmlinuz-4.4.0-59-generic
  946. Found kernel: /vmlinuz-4.4.0-57-generic
  947. Found kernel: /vmlinuz-4.4.0-53-generic
  948. Found kernel: /vmlinuz-4.4.0-51-generic
  949. Found kernel: /vmlinuz-4.4.0-47-generic
  950. Found kernel: /vmlinuz-4.4.0-45-generic
  951. Found kernel: /vmlinuz-4.4.0-31-generic
  952. Found kernel: /vmlinuz-4.4.0-64-generic
  953. Found kernel: /vmlinuz-4.4.0-63-generic
  954. Found kernel: /vmlinuz-4.4.0-62-generic
  955. Found kernel: /vmlinuz-4.4.0-59-generic
  956. Found kernel: /vmlinuz-4.4.0-57-generic
  957. Found kernel: /vmlinuz-4.4.0-53-generic
  958. Found kernel: /vmlinuz-4.4.0-51-generic
  959. Found kernel: /vmlinuz-4.4.0-47-generic
  960. Found kernel: /vmlinuz-4.4.0-45-generic
  961. Found kernel: /vmlinuz-4.4.0-31-generic
  962. Replacing config file /run/grub/menu.lst with new version
  963. Updating /boot/grub/menu.lst ... done
  964.  
  965. Errors were encountered while processing:
  966. linux-image-4.4.0-64-generic
  967. linux-image-extra-4.4.0-64-generic
  968. linux-image-generic
  969. linux-generic
  970. linux-image-extra-4.4.0-63-generic
  971. E: Sub-process /usr/bin/dpkg returned an error code (1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement