Guest User

Untitled

a guest
Sep 8th, 2016
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 318.81 KB | None | 0 0
  1. Welcome to the DATIM Node Installer
  2.  
  3.  
  4. We need to ask a few questions to setup this install.
  5.  
  6. Detected IP addresses: 104.131.107.90 10.17.0.8
  7.  
  8. What is the public ip or name(preferred) of this node (localhost): 104.131.107.90
  9. OpenInfoMan Memory size (8G):
  10.  
  11. Do you agree to the Oracle Binary Code License Agreement?
  12. You MUST agree to the license available in http://java.com/license if you want to use Oracle JDK. (y/n): y
  13. Adding PPAs...
  14. gpg: keyring `/tmp/tmp75rkowu4/secring.gpg' created
  15. gpg: keyring `/tmp/tmp75rkowu4/pubring.gpg' created
  16. gpg: requesting key EEA14886 from hkp server keyserver.ubuntu.com
  17. gpg: /tmp/tmp75rkowu4/trustdb.gpg: trustdb created
  18. gpg: key EEA14886: public key "Launchpad VLC" imported
  19. gpg: no ultimately trusted keys found
  20. gpg: Total number processed: 1
  21. gpg: imported: 1 (RSA: 1)
  22. OK
  23. gpg: keyring `/tmp/tmp5f9cuskc/secring.gpg' created
  24. gpg: keyring `/tmp/tmp5f9cuskc/pubring.gpg' created
  25. gpg: requesting key 665857F5 from hkp server keyserver.ubuntu.com
  26. gpg: /tmp/tmp5f9cuskc/trustdb.gpg: trustdb created
  27. gpg: key 665857F5: public key "Launchpad PPA for OpenHIE" imported
  28. gpg: Total number processed: 1
  29. gpg: imported: 1 (RSA: 1)
  30. OK
  31. Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.ZXEVwy4npr --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/openhie-datim-testing.gpg --keyring /etc/apt/trusted.gpg.d/webupd8team-java.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927
  32. gpg: requesting key EA312927 from hkp server keyserver.ubuntu.com
  33. gpg: key EA312927: public key "MongoDB 3.2 Release Signing Key <packaging@mongodb.com>" imported
  34. gpg: Total number processed: 1
  35. gpg: imported: 1 (RSA: 1)
  36. deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse
  37. Ign http://repo.mongodb.org trusty/mongodb-org/3.2 InRelease
  38. Get:1 http://repo.mongodb.org trusty/mongodb-org/3.2 Release.gpg [801 B]
  39. Get:2 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
  40. Ign http://mirrors.digitalocean.com trusty InRelease
  41. Get:3 http://ppa.launchpad.net trusty InRelease [16.0 kB]
  42. Get:4 http://repo.mongodb.org trusty/mongodb-org/3.2 Release [3,462 B]
  43. Get:5 http://repo.mongodb.org trusty/mongodb-org/3.2/multiverse amd64 Packages [7,908 B]
  44. Get:6 http://mirrors.digitalocean.com trusty-updates InRelease [65.9 kB]
  45. Get:7 http://repo.mongodb.org trusty/mongodb-org/3.2/multiverse i386 Packages [29 B]
  46. Get:8 http://mirrors.digitalocean.com trusty-backports InRelease [65.9 kB]
  47. Get:9 http://ppa.launchpad.net trusty InRelease [15.5 kB]
  48. Get:10 http://security.ubuntu.com trusty-security/main Sources [119 kB]
  49. Hit http://mirrors.digitalocean.com trusty Release.gpg
  50. Get:11 http://mirrors.digitalocean.com trusty-updates/main Sources [380 kB]
  51. Get:12 http://ppa.launchpad.net trusty/main amd64 Packages [3,983 B]
  52. Get:13 http://security.ubuntu.com trusty-security/universe Sources [41.4 kB]
  53. Get:14 http://mirrors.digitalocean.com trusty-updates/restricted Sources [5,360 B]
  54. Get:15 http://security.ubuntu.com trusty-security/main amd64 Packages [523 kB]
  55. Get:16 http://ppa.launchpad.net trusty/main i386 Packages [1,987 B]
  56. Get:17 http://mirrors.digitalocean.com trusty-updates/universe Sources [164 kB]
  57. Ign http://repo.mongodb.org trusty/mongodb-org/3.2/multiverse Translation-en_US
  58. Get:18 http://ppa.launchpad.net trusty/main Translation-en [1,719 B]
  59. Get:19 http://mirrors.digitalocean.com trusty-updates/multiverse Sources [7,137 B]
  60. Ign http://repo.mongodb.org trusty/mongodb-org/3.2/multiverse Translation-en
  61. Get:20 http://ppa.launchpad.net trusty/main amd64 Packages [3,380 B]
  62. Get:21 http://mirrors.digitalocean.com trusty-updates/main amd64 Packages [889 kB]
  63. Get:22 http://security.ubuntu.com trusty-security/universe amd64 Packages [136 kB]
  64. Get:23 http://ppa.launchpad.net trusty/main i386 Packages [3,380 B]
  65. Get:24 http://mirrors.digitalocean.com trusty-updates/restricted amd64 Packages [15.9 kB]
  66. Get:25 http://ppa.launchpad.net trusty/main Translation-en [1,556 B]
  67. Get:26 http://security.ubuntu.com trusty-security/main i386 Packages [487 kB]
  68. Get:27 http://mirrors.digitalocean.com trusty-updates/universe amd64 Packages [373 kB]
  69. Get:28 http://mirrors.digitalocean.com trusty-updates/multiverse amd64 Packages [14.8 kB]
  70. Get:29 http://security.ubuntu.com trusty-security/universe i386 Packages [136 kB]
  71. Get:30 http://mirrors.digitalocean.com trusty-updates/main i386 Packages [851 kB]
  72. Get:31 http://security.ubuntu.com trusty-security/main Translation-en [287 kB]
  73. Get:32 http://mirrors.digitalocean.com trusty-updates/restricted i386 Packages [15.6 kB]
  74. Get:33 http://security.ubuntu.com trusty-security/universe Translation-en [81.3 kB]
  75. Get:34 http://mirrors.digitalocean.com trusty-updates/universe i386 Packages [375 kB]
  76. Get:35 http://mirrors.digitalocean.com trusty-updates/multiverse i386 Packages [15.2 kB]
  77. Get:36 http://mirrors.digitalocean.com trusty-updates/main Translation-en [430 kB]
  78. Get:37 http://mirrors.digitalocean.com trusty-updates/multiverse Translation-en [7,661 B]
  79. Get:38 http://mirrors.digitalocean.com trusty-updates/restricted Translation-en [3,699 B]
  80. Get:39 http://mirrors.digitalocean.com trusty-updates/universe Translation-en [197 kB]
  81. Get:40 http://mirrors.digitalocean.com trusty-backports/main Sources [9,592 B]
  82. Get:41 http://mirrors.digitalocean.com trusty-backports/restricted Sources [28 B]
  83. Get:42 http://mirrors.digitalocean.com trusty-backports/universe Sources [35.2 kB]
  84. Get:43 http://mirrors.digitalocean.com trusty-backports/multiverse Sources [1,898 B]
  85. Get:44 http://mirrors.digitalocean.com trusty-backports/main amd64 Packages [13.3 kB]
  86. Get:45 http://mirrors.digitalocean.com trusty-backports/restricted amd64 Packages [28 B]
  87. Get:46 http://mirrors.digitalocean.com trusty-backports/universe amd64 Packages [43.2 kB]
  88. Get:47 http://mirrors.digitalocean.com trusty-backports/multiverse amd64 Packages [1,571 B]
  89. Get:48 http://mirrors.digitalocean.com trusty-backports/main i386 Packages [13.3 kB]
  90. Get:49 http://mirrors.digitalocean.com trusty-backports/restricted i386 Packages [28 B]
  91. Get:50 http://mirrors.digitalocean.com trusty-backports/universe i386 Packages [43.2 kB]
  92. Get:51 http://mirrors.digitalocean.com trusty-backports/multiverse i386 Packages [1,552 B]
  93. Get:52 http://mirrors.digitalocean.com trusty-backports/main Translation-en [7,493 B]
  94. Get:53 http://mirrors.digitalocean.com trusty-backports/multiverse Translation-en [1,215 B]
  95. Get:54 http://mirrors.digitalocean.com trusty-backports/restricted Translation-en [28 B]
  96. Get:55 http://mirrors.digitalocean.com trusty-backports/universe Translation-en [36.8 kB]
  97. Hit http://mirrors.digitalocean.com trusty Release
  98. Hit http://mirrors.digitalocean.com trusty/main Sources
  99. Hit http://mirrors.digitalocean.com trusty/restricted Sources
  100. Hit http://mirrors.digitalocean.com trusty/universe Sources
  101. Hit http://mirrors.digitalocean.com trusty/multiverse Sources
  102. Hit http://mirrors.digitalocean.com trusty/main amd64 Packages
  103. Hit http://mirrors.digitalocean.com trusty/restricted amd64 Packages
  104. Hit http://mirrors.digitalocean.com trusty/universe amd64 Packages
  105. Hit http://mirrors.digitalocean.com trusty/multiverse amd64 Packages
  106. Hit http://mirrors.digitalocean.com trusty/main i386 Packages
  107. Hit http://mirrors.digitalocean.com trusty/restricted i386 Packages
  108. Hit http://mirrors.digitalocean.com trusty/universe i386 Packages
  109. Hit http://mirrors.digitalocean.com trusty/multiverse i386 Packages
  110. Hit http://mirrors.digitalocean.com trusty/main Translation-en
  111. Hit http://mirrors.digitalocean.com trusty/multiverse Translation-en
  112. Hit http://mirrors.digitalocean.com trusty/restricted Translation-en
  113. Hit http://mirrors.digitalocean.com trusty/universe Translation-en
  114. Ign http://mirrors.digitalocean.com trusty/main Translation-en_US
  115. Ign http://mirrors.digitalocean.com trusty/multiverse Translation-en_US
  116. Ign http://mirrors.digitalocean.com trusty/restricted Translation-en_US
  117. Ign http://mirrors.digitalocean.com trusty/universe Translation-en_US
  118. Fetched 6,021 kB in 7s (796 kB/s)
  119. Reading package lists... Done
  120. Reading package lists... Done
  121. Building dependency tree
  122. Reading state information... Done
  123. The following extra packages will be installed:
  124. fontconfig-config fonts-dejavu-core libfontconfig1 libgd3 libjbig0
  125. libjpeg-turbo8 libjpeg8 libtiff5 libvpx1 libxpm4 nginx nginx-common
  126. nginx-core
  127. Suggested packages:
  128. libgd-tools fcgiwrap nginx-doc
  129. The following NEW packages will be installed:
  130. fontconfig-config fonts-dejavu-core libfontconfig1 libgd3 libjbig0
  131. libjpeg-turbo8 libjpeg8 libtiff5 libvpx1 libxpm4 nginx nginx-common
  132. nginx-core nginx-datim
  133. 0 upgraded, 14 newly installed, 0 to remove and 6 not upgraded.
  134. Need to get 2,537 kB of archives.
  135. After this operation, 8,606 kB of additional disk space will be used.
  136. Get:1 http://mirrors.digitalocean.com/ubuntu/ trusty/main fonts-dejavu-core all 2.34-1ubuntu1 [1,024 kB]
  137. Get:2 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main fontconfig-config all 2.11.0-0ubuntu4.2 [47.4 kB]
  138. Get:3 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libfontconfig1 amd64 2.11.0-0ubuntu4.2 [123 kB]
  139. Get:4 http://mirrors.digitalocean.com/ubuntu/ trusty/main libjpeg-turbo8 amd64 1.3.0-0ubuntu2 [104 kB]
  140. Get:5 http://mirrors.digitalocean.com/ubuntu/ trusty/main libjpeg8 amd64 8c-2ubuntu8 [2,194 B]
  141. Get:6 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libjbig0 amd64 2.0-2ubuntu4.1 [26.1 kB]
  142. Get:7 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libtiff5 amd64 4.0.3-7ubuntu0.4 [143 kB]
  143. Get:8 http://mirrors.digitalocean.com/ubuntu/ trusty/main libvpx1 amd64 1.3.0-2 [556 kB]
  144. Get:9 http://mirrors.digitalocean.com/ubuntu/ trusty/main libxpm4 amd64 1:3.5.10-1 [38.3 kB]
  145. Get:10 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libgd3 amd64 2.1.0-3ubuntu0.3 [122 kB]
  146. Get:11 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main nginx-common all 1.4.6-1ubuntu3.5 [18.1 kB]
  147. Get:12 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main nginx-core amd64 1.4.6-1ubuntu3.5 [325 kB]
  148. Get:13 http://ppa.launchpad.net/openhie/datim-testing/ubuntu/ trusty/main nginx-datim amd64 1.0.0-0ubuntu11 [3,014 B]
  149. Get:14 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main nginx all 1.4.6-1ubuntu3.5 [5,454 B]
  150. Fetched 2,537 kB in 0s (10.3 MB/s)
  151. Selecting previously unselected package fonts-dejavu-core.
  152. (Reading database ... 61257 files and directories currently installed.)
  153. Preparing to unpack .../fonts-dejavu-core_2.34-1ubuntu1_all.deb ...
  154. Unpacking fonts-dejavu-core (2.34-1ubuntu1) ...
  155. Selecting previously unselected package fontconfig-config.
  156. Preparing to unpack .../fontconfig-config_2.11.0-0ubuntu4.2_all.deb ...
  157. Unpacking fontconfig-config (2.11.0-0ubuntu4.2) ...
  158. Selecting previously unselected package libfontconfig1:amd64.
  159. Preparing to unpack .../libfontconfig1_2.11.0-0ubuntu4.2_amd64.deb ...
  160. Unpacking libfontconfig1:amd64 (2.11.0-0ubuntu4.2) ...
  161. Selecting previously unselected package libjpeg-turbo8:amd64.
  162. Preparing to unpack .../libjpeg-turbo8_1.3.0-0ubuntu2_amd64.deb ...
  163. Unpacking libjpeg-turbo8:amd64 (1.3.0-0ubuntu2) ...
  164. Selecting previously unselected package libjpeg8:amd64.
  165. Preparing to unpack .../libjpeg8_8c-2ubuntu8_amd64.deb ...
  166. Unpacking libjpeg8:amd64 (8c-2ubuntu8) ...
  167. Selecting previously unselected package libjbig0:amd64.
  168. Preparing to unpack .../libjbig0_2.0-2ubuntu4.1_amd64.deb ...
  169. Unpacking libjbig0:amd64 (2.0-2ubuntu4.1) ...
  170. Selecting previously unselected package libtiff5:amd64.
  171. Preparing to unpack .../libtiff5_4.0.3-7ubuntu0.4_amd64.deb ...
  172. Unpacking libtiff5:amd64 (4.0.3-7ubuntu0.4) ...
  173. Selecting previously unselected package libvpx1:amd64.
  174. Preparing to unpack .../libvpx1_1.3.0-2_amd64.deb ...
  175. Unpacking libvpx1:amd64 (1.3.0-2) ...
  176. Selecting previously unselected package libxpm4:amd64.
  177. Preparing to unpack .../libxpm4_1%3a3.5.10-1_amd64.deb ...
  178. Unpacking libxpm4:amd64 (1:3.5.10-1) ...
  179. Selecting previously unselected package libgd3:amd64.
  180. Preparing to unpack .../libgd3_2.1.0-3ubuntu0.3_amd64.deb ...
  181. Unpacking libgd3:amd64 (2.1.0-3ubuntu0.3) ...
  182. Selecting previously unselected package nginx-common.
  183. Preparing to unpack .../nginx-common_1.4.6-1ubuntu3.5_all.deb ...
  184. Unpacking nginx-common (1.4.6-1ubuntu3.5) ...
  185. Selecting previously unselected package nginx-core.
  186. Preparing to unpack .../nginx-core_1.4.6-1ubuntu3.5_amd64.deb ...
  187. Unpacking nginx-core (1.4.6-1ubuntu3.5) ...
  188. Selecting previously unselected package nginx.
  189. Preparing to unpack .../nginx_1.4.6-1ubuntu3.5_all.deb ...
  190. Unpacking nginx (1.4.6-1ubuntu3.5) ...
  191. Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
  192. Processing triggers for ureadahead (0.100.0-16) ...
  193. Processing triggers for ufw (0.34~rc-0ubuntu2) ...
  194. Setting up nginx-common (1.4.6-1ubuntu3.5) ...
  195. Setting up fonts-dejavu-core (2.34-1ubuntu1) ...
  196. Setting up fontconfig-config (2.11.0-0ubuntu4.2) ...
  197. Setting up libfontconfig1:amd64 (2.11.0-0ubuntu4.2) ...
  198. Setting up libjpeg-turbo8:amd64 (1.3.0-0ubuntu2) ...
  199. Setting up libjpeg8:amd64 (8c-2ubuntu8) ...
  200. Setting up libjbig0:amd64 (2.0-2ubuntu4.1) ...
  201. Setting up libtiff5:amd64 (4.0.3-7ubuntu0.4) ...
  202. Setting up libvpx1:amd64 (1.3.0-2) ...
  203. Setting up libxpm4:amd64 (1:3.5.10-1) ...
  204. Setting up libgd3:amd64 (2.1.0-3ubuntu0.3) ...
  205. Processing triggers for ureadahead (0.100.0-16) ...
  206. Processing triggers for ufw (0.34~rc-0ubuntu2) ...
  207. Setting up nginx-core (1.4.6-1ubuntu3.5) ...
  208. Setting up nginx (1.4.6-1ubuntu3.5) ...
  209. Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
  210. Selecting previously unselected package nginx-datim.
  211. (Reading database ... 61456 files and directories currently installed.)
  212. Preparing to unpack .../nginx-datim_1.0.0-0ubuntu11_amd64.deb ...
  213. Unpacking nginx-datim (1.0.0-0ubuntu11) ...
  214. Setting up nginx-datim (1.0.0-0ubuntu11) ...
  215. Nginx-datim: Creating unique self signed cert...
  216. Generating a 2048 bit RSA private key
  217. ...+++
  218. .........................+++
  219. writing new private key to '/etc/ssl/private/datim.key'
  220. -----
  221. Nginx-datim: Deactivating current nginx sites...
  222. Nginx-datim: Activating datim site...
  223. Nginx-datim: Restarting nginx
  224. * Restarting nginx nginx [ OK ]
  225. Reading package lists... Done
  226. Building dependency tree
  227. Reading state information... Done
  228. The following extra packages will be installed:
  229. binutils build-essential dpkg-dev fakeroot g++ g++-4.8 gcc gcc-4.8 gyp
  230. javascript-common libalgorithm-diff-perl libalgorithm-diff-xs-perl
  231. libalgorithm-merge-perl libasan0 libatomic1 libc-ares-dev libc-ares2
  232. libc-dev-bin libc6-dev libdpkg-perl libfakeroot libfile-fcntllock-perl
  233. libgcc-4.8-dev libgomp1 libitm1 libjs-node-uuid libquadmath0 libssl-dev
  234. libssl-doc libstdc++-4.8-dev libtsan0 libv8-3.14-dev libv8-3.14.5
  235. linux-libc-dev make manpages-dev node-abbrev node-ansi node-archy node-async
  236. node-block-stream node-combined-stream node-cookie-jar node-delayed-stream
  237. node-forever-agent node-form-data node-fstream node-fstream-ignore
  238. node-github-url-from-git node-glob node-graceful-fs node-gyp node-inherits
  239. node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
  240. node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt
  241. node-normalize-package-data node-npmlog node-once node-osenv node-qs
  242. node-read node-read-package-json node-request node-retry node-rimraf
  243. node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent
  244. node-which nodejs nodejs-dev npm zlib1g-dev
  245. Suggested packages:
  246. binutils-doc debian-keyring g++-multilib g++-4.8-multilib gcc-4.8-doc
  247. libstdc++6-4.8-dbg gcc-multilib autoconf automake1.9 libtool flex bison gdb
  248. gcc-doc gcc-4.8-multilib gcc-4.8-locales libgcc1-dbg libgomp1-dbg
  249. libitm1-dbg libatomic1-dbg libasan0-dbg libtsan0-dbg libquadmath0-dbg
  250. glibc-doc libstdc++-4.8-doc make-doc node-hawk node-aws-sign node-oauth-sign
  251. node-http-signature
  252. The following NEW packages will be installed:
  253. binutils build-essential dpkg-dev fakeroot g++ g++-4.8 gcc gcc-4.8 gyp
  254. javascript-common libalgorithm-diff-perl libalgorithm-diff-xs-perl
  255. libalgorithm-merge-perl libasan0 libatomic1 libc-ares-dev libc-ares2
  256. libc-dev-bin libc6-dev libdpkg-perl libfakeroot libfile-fcntllock-perl
  257. libgcc-4.8-dev libgomp1 libitm1 libjs-node-uuid libquadmath0 libssl-dev
  258. libssl-doc libstdc++-4.8-dev libtsan0 libv8-3.14-dev libv8-3.14.5
  259. linux-libc-dev make manpages-dev mechanismimporter node-abbrev node-ansi
  260. node-archy node-async node-block-stream node-combined-stream node-cookie-jar
  261. node-delayed-stream node-forever-agent node-form-data node-fstream
  262. node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs
  263. node-gyp node-inherits node-ini node-json-stringify-safe node-lockfile
  264. node-lru-cache node-mime node-minimatch node-mkdirp node-mute-stream
  265. node-node-uuid node-nopt node-normalize-package-data node-npmlog node-once
  266. node-osenv node-qs node-read node-read-package-json node-request node-retry
  267. node-rimraf node-semver node-sha node-sigmund node-slide node-tar
  268. node-tunnel-agent node-which nodejs nodejs-dev npm zlib1g-dev
  269. 0 upgraded, 85 newly installed, 0 to remove and 6 not upgraded.
  270. Need to get 39.6 MB of archives.
  271. After this operation, 120 MB of additional disk space will be used.
  272. Get:1 http://ppa.launchpad.net/openhie/datim-testing/ubuntu/ trusty/main mechanismimporter amd64 1.0.0-0ubuntu18 [25.8 kB]
  273. Get:2 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libasan0 amd64 4.8.4-2ubuntu1~14.04.3 [63.1 kB]
  274. Get:3 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libatomic1 amd64 4.8.4-2ubuntu1~14.04.3 [8,636 B]
  275. Get:4 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libgomp1 amd64 4.8.4-2ubuntu1~14.04.3 [23.1 kB]
  276. Get:5 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libitm1 amd64 4.8.4-2ubuntu1~14.04.3 [28.5 kB]
  277. Get:6 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libquadmath0 amd64 4.8.4-2ubuntu1~14.04.3 [126 kB]
  278. Get:7 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libtsan0 amd64 4.8.4-2ubuntu1~14.04.3 [94.9 kB]
  279. Get:8 http://mirrors.digitalocean.com/ubuntu/ trusty/main libc-ares2 amd64 1.10.0-2 [38.5 kB]
  280. Get:9 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main binutils amd64 2.24-5ubuntu14.1 [2,081 kB]
  281. Get:10 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libc-dev-bin amd64 2.19-0ubuntu6.9 [69.0 kB]
  282. Get:11 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main linux-libc-dev amd64 3.13.0-95.142 [767 kB]
  283. Get:12 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libc6-dev amd64 2.19-0ubuntu6.9 [1,910 kB]
  284. Get:13 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libgcc-4.8-dev amd64 4.8.4-2ubuntu1~14.04.3 [1,688 kB]
  285. Get:14 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main gcc-4.8 amd64 4.8.4-2ubuntu1~14.04.3 [5,047 kB]
  286. Get:15 http://mirrors.digitalocean.com/ubuntu/ trusty/main gcc amd64 4:4.8.2-1ubuntu6 [5,098 B]
  287. Get:16 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libstdc++-4.8-dev amd64 4.8.4-2ubuntu1~14.04.3 [1,053 kB]
  288. Get:17 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main g++-4.8 amd64 4.8.4-2ubuntu1~14.04.3 [18.1 MB]
  289. Get:18 http://mirrors.digitalocean.com/ubuntu/ trusty/main g++ amd64 4:4.8.2-1ubuntu6 [1,490 B]
  290. Get:19 http://mirrors.digitalocean.com/ubuntu/ trusty/main make amd64 3.81-8.2ubuntu3 [119 kB]
  291. Get:20 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libdpkg-perl all 1.17.5ubuntu5.7 [179 kB]
  292. Get:21 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main dpkg-dev all 1.17.5ubuntu5.7 [726 kB]
  293. Get:22 http://mirrors.digitalocean.com/ubuntu/ trusty/main build-essential amd64 11.6ubuntu6 [4,838 B]
  294. Get:23 http://mirrors.digitalocean.com/ubuntu/ trusty/main libfakeroot amd64 1.20-3ubuntu2 [25.4 kB]
  295. Get:24 http://mirrors.digitalocean.com/ubuntu/ trusty/main fakeroot amd64 1.20-3ubuntu2 [55.0 kB]
  296. Get:25 http://mirrors.digitalocean.com/ubuntu/ trusty/universe gyp all 0.1~svn1729-3ubuntu1 [201 kB]
  297. Get:26 http://mirrors.digitalocean.com/ubuntu/ trusty/main javascript-common all 11 [6,066 B]
  298. Get:27 http://mirrors.digitalocean.com/ubuntu/ trusty/main libalgorithm-diff-perl all 1.19.02-3 [50.0 kB]
  299. Get:28 http://mirrors.digitalocean.com/ubuntu/ trusty/main libalgorithm-diff-xs-perl amd64 0.04-2build4 [12.6 kB]
  300. Get:29 http://mirrors.digitalocean.com/ubuntu/ trusty/main libalgorithm-merge-perl all 0.08-2 [12.7 kB]
  301. Get:30 http://mirrors.digitalocean.com/ubuntu/ trusty/main libfile-fcntllock-perl amd64 0.14-2build1 [15.9 kB]
  302. Get:31 http://mirrors.digitalocean.com/ubuntu/ trusty/universe libjs-node-uuid all 1.4.0-1 [11.1 kB]
  303. Get:32 http://mirrors.digitalocean.com/ubuntu/ trusty/main zlib1g-dev amd64 1:1.2.8.dfsg-1ubuntu1 [183 kB]
  304. Get:33 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libssl-dev amd64 1.0.1f-1ubuntu2.19 [1,073 kB]
  305. Get:34 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libssl-doc all 1.0.1f-1ubuntu2.19 [971 kB]
  306. Get:35 http://mirrors.digitalocean.com/ubuntu/ trusty/universe libv8-3.14.5 amd64 3.14.5.8-5ubuntu2 [1,189 kB]
  307. Get:36 http://mirrors.digitalocean.com/ubuntu/ trusty/universe libv8-3.14-dev amd64 3.14.5.8-5ubuntu2 [57.6 kB]
  308. Get:37 http://mirrors.digitalocean.com/ubuntu/ trusty/main manpages-dev all 3.54-1ubuntu1 [1,820 kB]
  309. Get:38 http://mirrors.digitalocean.com/ubuntu/ trusty/universe nodejs amd64 0.10.25~dfsg2-2ubuntu1 [684 kB]
  310. Get:39 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-abbrev all 1.0.4-2 [3,814 B]
  311. Get:40 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-ansi all 0.2.1-1 [8,692 B]
  312. Get:41 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-archy all 0.0.2-1 [3,660 B]
  313. Get:42 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-inherits all 2.0.0-1 [3,090 B]
  314. Get:43 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-block-stream all 0.0.7-1 [4,832 B]
  315. Get:44 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-rimraf all 2.2.2-2 [5,392 B]
  316. Get:45 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-mkdirp all 0.3.5-1 [4,146 B]
  317. Get:46 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-graceful-fs all 2.0.0-2 [6,718 B]
  318. Get:47 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-fstream all 0.1.24-1 [19.5 kB]
  319. Get:48 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-lru-cache all 2.3.1-1 [5,674 B]
  320. Get:49 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-sigmund all 1.0.0-1 [3,818 B]
  321. Get:50 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-minimatch all 0.2.12-1 [14.9 kB]
  322. Get:51 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-fstream-ignore all 0.0.6-2 [5,586 B]
  323. Get:52 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-github-url-from-git all 1.1.1-1 [3,138 B]
  324. Get:53 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-glob all 3.2.6-1 [13.7 kB]
  325. Get:54 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-ini all 1.1.0-1 [4,770 B]
  326. Get:55 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-lockfile all 0.4.1-1 [5,450 B]
  327. Get:56 http://mirrors.digitalocean.com/ubuntu/ trusty/main libc-ares-dev amd64 1.10.0-2 [109 kB]
  328. Get:57 http://mirrors.digitalocean.com/ubuntu/ trusty/universe nodejs-dev amd64 0.10.25~dfsg2-2ubuntu1 [169 kB]
  329. Get:58 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-nopt all 2.1.2-1 [11.8 kB]
  330. Get:59 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-npmlog all 0.0.4-1 [5,844 B]
  331. Get:60 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-osenv all 0.0.3-1 [3,810 B]
  332. Get:61 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-delayed-stream all 0.0.5-1 [4,750 B]
  333. Get:62 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-combined-stream all 0.0.4-1 [4,686 B]
  334. Get:63 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-mime all 1.2.11-1 [20.2 kB]
  335. Get:64 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-async all 0.2.5-1 [17.7 kB]
  336. Get:65 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-form-data all 0.1.0-1 [6,412 B]
  337. Get:66 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-node-uuid all 1.4.0-1 [2,530 B]
  338. Get:67 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-forever-agent all 0.5.1-1 [3,194 B]
  339. Get:68 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-tunnel-agent all 0.3.1-1 [4,018 B]
  340. Get:69 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-json-stringify-safe all 5.0.0-1 [3,544 B]
  341. Get:70 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-qs all 0.6.5-1 [5,876 B]
  342. Get:71 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-cookie-jar all 0.3.1-1 [3,746 B]
  343. Get:72 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-request all 2.26.1-1 [14.5 kB]
  344. Get:73 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-semver all 2.1.0-2 [16.2 kB]
  345. Get:74 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-tar all 0.1.18-1 [18.3 kB]
  346. Get:75 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-which all 1.0.5-2 [3,678 B]
  347. Get:76 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-gyp all 0.10.10-2 [22.6 kB]
  348. Get:77 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-once all 1.1.1-1 [2,608 B]
  349. Get:78 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-mute-stream all 0.0.3-1 [3,738 B]
  350. Get:79 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-read all 1.0.4-1 [4,282 B]
  351. Get:80 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-normalize-package-data all 0.2.2-1 [9,286 B]
  352. Get:81 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-read-package-json all 1.1.3-1 [7,762 B]
  353. Get:82 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-retry all 0.6.0-1 [6,172 B]
  354. Get:83 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-sha all 1.2.3-1 [4,272 B]
  355. Get:84 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-slide all 1.1.4-1 [6,118 B]
  356. Get:85 http://mirrors.digitalocean.com/ubuntu/ trusty/universe npm all 1.3.10~dfsg-1 [442 kB]
  357. Fetched 39.6 MB in 7s (5,365 kB/s)
  358. Extracting templates from packages: 100%
  359. Selecting previously unselected package libasan0:amd64.
  360. (Reading database ... 61465 files and directories currently installed.)
  361. Preparing to unpack .../libasan0_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
  362. Unpacking libasan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
  363. Selecting previously unselected package libatomic1:amd64.
  364. Preparing to unpack .../libatomic1_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
  365. Unpacking libatomic1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
  366. Selecting previously unselected package libgomp1:amd64.
  367. Preparing to unpack .../libgomp1_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
  368. Unpacking libgomp1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
  369. Selecting previously unselected package libitm1:amd64.
  370. Preparing to unpack .../libitm1_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
  371. Unpacking libitm1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
  372. Selecting previously unselected package libquadmath0:amd64.
  373. Preparing to unpack .../libquadmath0_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
  374. Unpacking libquadmath0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
  375. Selecting previously unselected package libtsan0:amd64.
  376. Preparing to unpack .../libtsan0_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
  377. Unpacking libtsan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
  378. Selecting previously unselected package libc-ares2:amd64.
  379. Preparing to unpack .../libc-ares2_1.10.0-2_amd64.deb ...
  380. Unpacking libc-ares2:amd64 (1.10.0-2) ...
  381. Selecting previously unselected package binutils.
  382. Preparing to unpack .../binutils_2.24-5ubuntu14.1_amd64.deb ...
  383. Unpacking binutils (2.24-5ubuntu14.1) ...
  384. Selecting previously unselected package libc-dev-bin.
  385. Preparing to unpack .../libc-dev-bin_2.19-0ubuntu6.9_amd64.deb ...
  386. Unpacking libc-dev-bin (2.19-0ubuntu6.9) ...
  387. Selecting previously unselected package linux-libc-dev:amd64.
  388. Preparing to unpack .../linux-libc-dev_3.13.0-95.142_amd64.deb ...
  389. Unpacking linux-libc-dev:amd64 (3.13.0-95.142) ...
  390. Selecting previously unselected package libc6-dev:amd64.
  391. Preparing to unpack .../libc6-dev_2.19-0ubuntu6.9_amd64.deb ...
  392. Unpacking libc6-dev:amd64 (2.19-0ubuntu6.9) ...
  393. Selecting previously unselected package libgcc-4.8-dev:amd64.
  394. Preparing to unpack .../libgcc-4.8-dev_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
  395. Unpacking libgcc-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
  396. Selecting previously unselected package gcc-4.8.
  397. Preparing to unpack .../gcc-4.8_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
  398. Unpacking gcc-4.8 (4.8.4-2ubuntu1~14.04.3) ...
  399. Selecting previously unselected package gcc.
  400. Preparing to unpack .../gcc_4%3a4.8.2-1ubuntu6_amd64.deb ...
  401. Unpacking gcc (4:4.8.2-1ubuntu6) ...
  402. Selecting previously unselected package libstdc++-4.8-dev:amd64.
  403. Preparing to unpack .../libstdc++-4.8-dev_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
  404. Unpacking libstdc++-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
  405. Selecting previously unselected package g++-4.8.
  406. Preparing to unpack .../g++-4.8_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
  407. Unpacking g++-4.8 (4.8.4-2ubuntu1~14.04.3) ...
  408. Selecting previously unselected package g++.
  409. Preparing to unpack .../g++_4%3a4.8.2-1ubuntu6_amd64.deb ...
  410. Unpacking g++ (4:4.8.2-1ubuntu6) ...
  411. Selecting previously unselected package make.
  412. Preparing to unpack .../make_3.81-8.2ubuntu3_amd64.deb ...
  413. Unpacking make (3.81-8.2ubuntu3) ...
  414. Selecting previously unselected package libdpkg-perl.
  415. Preparing to unpack .../libdpkg-perl_1.17.5ubuntu5.7_all.deb ...
  416. Unpacking libdpkg-perl (1.17.5ubuntu5.7) ...
  417. Selecting previously unselected package dpkg-dev.
  418. Preparing to unpack .../dpkg-dev_1.17.5ubuntu5.7_all.deb ...
  419. Unpacking dpkg-dev (1.17.5ubuntu5.7) ...
  420. Selecting previously unselected package build-essential.
  421. Preparing to unpack .../build-essential_11.6ubuntu6_amd64.deb ...
  422. Unpacking build-essential (11.6ubuntu6) ...
  423. Selecting previously unselected package libfakeroot:amd64.
  424. Preparing to unpack .../libfakeroot_1.20-3ubuntu2_amd64.deb ...
  425. Unpacking libfakeroot:amd64 (1.20-3ubuntu2) ...
  426. Selecting previously unselected package fakeroot.
  427. Preparing to unpack .../fakeroot_1.20-3ubuntu2_amd64.deb ...
  428. Unpacking fakeroot (1.20-3ubuntu2) ...
  429. Selecting previously unselected package gyp.
  430. Preparing to unpack .../gyp_0.1~svn1729-3ubuntu1_all.deb ...
  431. Unpacking gyp (0.1~svn1729-3ubuntu1) ...
  432. Selecting previously unselected package javascript-common.
  433. Preparing to unpack .../javascript-common_11_all.deb ...
  434. Unpacking javascript-common (11) ...
  435. Selecting previously unselected package libalgorithm-diff-perl.
  436. Preparing to unpack .../libalgorithm-diff-perl_1.19.02-3_all.deb ...
  437. Unpacking libalgorithm-diff-perl (1.19.02-3) ...
  438. Selecting previously unselected package libalgorithm-diff-xs-perl.
  439. Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-2build4_amd64.deb ...
  440. Unpacking libalgorithm-diff-xs-perl (0.04-2build4) ...
  441. Selecting previously unselected package libalgorithm-merge-perl.
  442. Preparing to unpack .../libalgorithm-merge-perl_0.08-2_all.deb ...
  443. Unpacking libalgorithm-merge-perl (0.08-2) ...
  444. Selecting previously unselected package libfile-fcntllock-perl.
  445. Preparing to unpack .../libfile-fcntllock-perl_0.14-2build1_amd64.deb ...
  446. Unpacking libfile-fcntllock-perl (0.14-2build1) ...
  447. Selecting previously unselected package libjs-node-uuid.
  448. Preparing to unpack .../libjs-node-uuid_1.4.0-1_all.deb ...
  449. Unpacking libjs-node-uuid (1.4.0-1) ...
  450. Selecting previously unselected package zlib1g-dev:amd64.
  451. Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-1ubuntu1_amd64.deb ...
  452. Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-1ubuntu1) ...
  453. Selecting previously unselected package libssl-dev:amd64.
  454. Preparing to unpack .../libssl-dev_1.0.1f-1ubuntu2.19_amd64.deb ...
  455. Unpacking libssl-dev:amd64 (1.0.1f-1ubuntu2.19) ...
  456. Selecting previously unselected package libssl-doc.
  457. Preparing to unpack .../libssl-doc_1.0.1f-1ubuntu2.19_all.deb ...
  458. Unpacking libssl-doc (1.0.1f-1ubuntu2.19) ...
  459. Selecting previously unselected package libv8-3.14.5.
  460. Preparing to unpack .../libv8-3.14.5_3.14.5.8-5ubuntu2_amd64.deb ...
  461. Unpacking libv8-3.14.5 (3.14.5.8-5ubuntu2) ...
  462. Selecting previously unselected package libv8-3.14-dev.
  463. Preparing to unpack .../libv8-3.14-dev_3.14.5.8-5ubuntu2_amd64.deb ...
  464. Unpacking libv8-3.14-dev (3.14.5.8-5ubuntu2) ...
  465. Selecting previously unselected package manpages-dev.
  466. Preparing to unpack .../manpages-dev_3.54-1ubuntu1_all.deb ...
  467. Unpacking manpages-dev (3.54-1ubuntu1) ...
  468. Selecting previously unselected package nodejs.
  469. Preparing to unpack .../nodejs_0.10.25~dfsg2-2ubuntu1_amd64.deb ...
  470. Unpacking nodejs (0.10.25~dfsg2-2ubuntu1) ...
  471. Selecting previously unselected package node-abbrev.
  472. Preparing to unpack .../node-abbrev_1.0.4-2_all.deb ...
  473. Unpacking node-abbrev (1.0.4-2) ...
  474. Selecting previously unselected package node-ansi.
  475. Preparing to unpack .../node-ansi_0.2.1-1_all.deb ...
  476. Unpacking node-ansi (0.2.1-1) ...
  477. Selecting previously unselected package node-archy.
  478. Preparing to unpack .../node-archy_0.0.2-1_all.deb ...
  479. Unpacking node-archy (0.0.2-1) ...
  480. Selecting previously unselected package node-inherits.
  481. Preparing to unpack .../node-inherits_2.0.0-1_all.deb ...
  482. Unpacking node-inherits (2.0.0-1) ...
  483. Selecting previously unselected package node-block-stream.
  484. Preparing to unpack .../node-block-stream_0.0.7-1_all.deb ...
  485. Unpacking node-block-stream (0.0.7-1) ...
  486. Selecting previously unselected package node-rimraf.
  487. Preparing to unpack .../node-rimraf_2.2.2-2_all.deb ...
  488. Unpacking node-rimraf (2.2.2-2) ...
  489. Selecting previously unselected package node-mkdirp.
  490. Preparing to unpack .../node-mkdirp_0.3.5-1_all.deb ...
  491. Unpacking node-mkdirp (0.3.5-1) ...
  492. Selecting previously unselected package node-graceful-fs.
  493. Preparing to unpack .../node-graceful-fs_2.0.0-2_all.deb ...
  494. Unpacking node-graceful-fs (2.0.0-2) ...
  495. Selecting previously unselected package node-fstream.
  496. Preparing to unpack .../node-fstream_0.1.24-1_all.deb ...
  497. Unpacking node-fstream (0.1.24-1) ...
  498. Selecting previously unselected package node-lru-cache.
  499. Preparing to unpack .../node-lru-cache_2.3.1-1_all.deb ...
  500. Unpacking node-lru-cache (2.3.1-1) ...
  501. Selecting previously unselected package node-sigmund.
  502. Preparing to unpack .../node-sigmund_1.0.0-1_all.deb ...
  503. Unpacking node-sigmund (1.0.0-1) ...
  504. Selecting previously unselected package node-minimatch.
  505. Preparing to unpack .../node-minimatch_0.2.12-1_all.deb ...
  506. Unpacking node-minimatch (0.2.12-1) ...
  507. Selecting previously unselected package node-fstream-ignore.
  508. Preparing to unpack .../node-fstream-ignore_0.0.6-2_all.deb ...
  509. Unpacking node-fstream-ignore (0.0.6-2) ...
  510. Selecting previously unselected package node-github-url-from-git.
  511. Preparing to unpack .../node-github-url-from-git_1.1.1-1_all.deb ...
  512. Unpacking node-github-url-from-git (1.1.1-1) ...
  513. Selecting previously unselected package node-glob.
  514. Preparing to unpack .../node-glob_3.2.6-1_all.deb ...
  515. Unpacking node-glob (3.2.6-1) ...
  516. Selecting previously unselected package node-ini.
  517. Preparing to unpack .../node-ini_1.1.0-1_all.deb ...
  518. Unpacking node-ini (1.1.0-1) ...
  519. Selecting previously unselected package node-lockfile.
  520. Preparing to unpack .../node-lockfile_0.4.1-1_all.deb ...
  521. Unpacking node-lockfile (0.4.1-1) ...
  522. Selecting previously unselected package libc-ares-dev:amd64.
  523. Preparing to unpack .../libc-ares-dev_1.10.0-2_amd64.deb ...
  524. Unpacking libc-ares-dev:amd64 (1.10.0-2) ...
  525. Selecting previously unselected package nodejs-dev.
  526. Preparing to unpack .../nodejs-dev_0.10.25~dfsg2-2ubuntu1_amd64.deb ...
  527. Unpacking nodejs-dev (0.10.25~dfsg2-2ubuntu1) ...
  528. Selecting previously unselected package node-nopt.
  529. Preparing to unpack .../node-nopt_2.1.2-1_all.deb ...
  530. Unpacking node-nopt (2.1.2-1) ...
  531. Selecting previously unselected package node-npmlog.
  532. Preparing to unpack .../node-npmlog_0.0.4-1_all.deb ...
  533. Unpacking node-npmlog (0.0.4-1) ...
  534. Selecting previously unselected package node-osenv.
  535. Preparing to unpack .../node-osenv_0.0.3-1_all.deb ...
  536. Unpacking node-osenv (0.0.3-1) ...
  537. Selecting previously unselected package node-delayed-stream.
  538. Preparing to unpack .../node-delayed-stream_0.0.5-1_all.deb ...
  539. Unpacking node-delayed-stream (0.0.5-1) ...
  540. Selecting previously unselected package node-combined-stream.
  541. Preparing to unpack .../node-combined-stream_0.0.4-1_all.deb ...
  542. Unpacking node-combined-stream (0.0.4-1) ...
  543. Selecting previously unselected package node-mime.
  544. Preparing to unpack .../node-mime_1.2.11-1_all.deb ...
  545. Unpacking node-mime (1.2.11-1) ...
  546. Selecting previously unselected package node-async.
  547. Preparing to unpack .../node-async_0.2.5-1_all.deb ...
  548. Unpacking node-async (0.2.5-1) ...
  549. Selecting previously unselected package node-form-data.
  550. Preparing to unpack .../node-form-data_0.1.0-1_all.deb ...
  551. Unpacking node-form-data (0.1.0-1) ...
  552. Selecting previously unselected package node-node-uuid.
  553. Preparing to unpack .../node-node-uuid_1.4.0-1_all.deb ...
  554. Unpacking node-node-uuid (1.4.0-1) ...
  555. Selecting previously unselected package node-forever-agent.
  556. Preparing to unpack .../node-forever-agent_0.5.1-1_all.deb ...
  557. Unpacking node-forever-agent (0.5.1-1) ...
  558. Selecting previously unselected package node-tunnel-agent.
  559. Preparing to unpack .../node-tunnel-agent_0.3.1-1_all.deb ...
  560. Unpacking node-tunnel-agent (0.3.1-1) ...
  561. Selecting previously unselected package node-json-stringify-safe.
  562. Preparing to unpack .../node-json-stringify-safe_5.0.0-1_all.deb ...
  563. Unpacking node-json-stringify-safe (5.0.0-1) ...
  564. Selecting previously unselected package node-qs.
  565. Preparing to unpack .../node-qs_0.6.5-1_all.deb ...
  566. Unpacking node-qs (0.6.5-1) ...
  567. Selecting previously unselected package node-cookie-jar.
  568. Preparing to unpack .../node-cookie-jar_0.3.1-1_all.deb ...
  569. Unpacking node-cookie-jar (0.3.1-1) ...
  570. Selecting previously unselected package node-request.
  571. Preparing to unpack .../node-request_2.26.1-1_all.deb ...
  572. Unpacking node-request (2.26.1-1) ...
  573. Selecting previously unselected package node-semver.
  574. Preparing to unpack .../node-semver_2.1.0-2_all.deb ...
  575. Unpacking node-semver (2.1.0-2) ...
  576. Selecting previously unselected package node-tar.
  577. Preparing to unpack .../node-tar_0.1.18-1_all.deb ...
  578. Unpacking node-tar (0.1.18-1) ...
  579. Selecting previously unselected package node-which.
  580. Preparing to unpack .../node-which_1.0.5-2_all.deb ...
  581. Unpacking node-which (1.0.5-2) ...
  582. Selecting previously unselected package node-gyp.
  583. Preparing to unpack .../node-gyp_0.10.10-2_all.deb ...
  584. Unpacking node-gyp (0.10.10-2) ...
  585. Selecting previously unselected package node-once.
  586. Preparing to unpack .../node-once_1.1.1-1_all.deb ...
  587. Unpacking node-once (1.1.1-1) ...
  588. Selecting previously unselected package node-mute-stream.
  589. Preparing to unpack .../node-mute-stream_0.0.3-1_all.deb ...
  590. Unpacking node-mute-stream (0.0.3-1) ...
  591. Selecting previously unselected package node-read.
  592. Preparing to unpack .../node-read_1.0.4-1_all.deb ...
  593. Unpacking node-read (1.0.4-1) ...
  594. Selecting previously unselected package node-normalize-package-data.
  595. Preparing to unpack .../node-normalize-package-data_0.2.2-1_all.deb ...
  596. Unpacking node-normalize-package-data (0.2.2-1) ...
  597. Selecting previously unselected package node-read-package-json.
  598. Preparing to unpack .../node-read-package-json_1.1.3-1_all.deb ...
  599. Unpacking node-read-package-json (1.1.3-1) ...
  600. Selecting previously unselected package node-retry.
  601. Preparing to unpack .../node-retry_0.6.0-1_all.deb ...
  602. Unpacking node-retry (0.6.0-1) ...
  603. Selecting previously unselected package node-sha.
  604. Preparing to unpack .../node-sha_1.2.3-1_all.deb ...
  605. Unpacking node-sha (1.2.3-1) ...
  606. Selecting previously unselected package node-slide.
  607. Preparing to unpack .../node-slide_1.1.4-1_all.deb ...
  608. Unpacking node-slide (1.1.4-1) ...
  609. Selecting previously unselected package npm.
  610. Preparing to unpack .../npm_1.3.10~dfsg-1_all.deb ...
  611. Unpacking npm (1.3.10~dfsg-1) ...
  612. Selecting previously unselected package mechanismimporter.
  613. Preparing to unpack .../mechanismimporter_1.0.0-0ubuntu18_amd64.deb ...
  614. Unpacking mechanismimporter (1.0.0-0ubuntu18) ...
  615. Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
  616. Processing triggers for ureadahead (0.100.0-16) ...
  617. Setting up libasan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
  618. Setting up libatomic1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
  619. Setting up libgomp1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
  620. Setting up libitm1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
  621. Setting up libquadmath0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
  622. Setting up libtsan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
  623. Setting up libc-ares2:amd64 (1.10.0-2) ...
  624. Setting up binutils (2.24-5ubuntu14.1) ...
  625. Setting up libc-dev-bin (2.19-0ubuntu6.9) ...
  626. Setting up linux-libc-dev:amd64 (3.13.0-95.142) ...
  627. Setting up libc6-dev:amd64 (2.19-0ubuntu6.9) ...
  628. Setting up libgcc-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
  629. Setting up gcc-4.8 (4.8.4-2ubuntu1~14.04.3) ...
  630. Setting up gcc (4:4.8.2-1ubuntu6) ...
  631. Setting up libstdc++-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
  632. Setting up g++-4.8 (4.8.4-2ubuntu1~14.04.3) ...
  633. Setting up g++ (4:4.8.2-1ubuntu6) ...
  634. update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
  635. Setting up make (3.81-8.2ubuntu3) ...
  636. Setting up libdpkg-perl (1.17.5ubuntu5.7) ...
  637. Setting up dpkg-dev (1.17.5ubuntu5.7) ...
  638. Setting up build-essential (11.6ubuntu6) ...
  639. Setting up libfakeroot:amd64 (1.20-3ubuntu2) ...
  640. Setting up fakeroot (1.20-3ubuntu2) ...
  641. update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
  642. Setting up gyp (0.1~svn1729-3ubuntu1) ...
  643. Setting up javascript-common (11) ...
  644. Setting up libalgorithm-diff-perl (1.19.02-3) ...
  645. Setting up libalgorithm-diff-xs-perl (0.04-2build4) ...
  646. Setting up libalgorithm-merge-perl (0.08-2) ...
  647. Setting up libfile-fcntllock-perl (0.14-2build1) ...
  648. Setting up libjs-node-uuid (1.4.0-1) ...
  649. Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-1ubuntu1) ...
  650. Setting up libssl-dev:amd64 (1.0.1f-1ubuntu2.19) ...
  651. Setting up libssl-doc (1.0.1f-1ubuntu2.19) ...
  652. Setting up libv8-3.14.5 (3.14.5.8-5ubuntu2) ...
  653. Setting up libv8-3.14-dev (3.14.5.8-5ubuntu2) ...
  654. Setting up manpages-dev (3.54-1ubuntu1) ...
  655. Setting up nodejs (0.10.25~dfsg2-2ubuntu1) ...
  656. update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
  657. Setting up node-abbrev (1.0.4-2) ...
  658. Setting up node-ansi (0.2.1-1) ...
  659. Setting up node-archy (0.0.2-1) ...
  660. Setting up node-inherits (2.0.0-1) ...
  661. Setting up node-block-stream (0.0.7-1) ...
  662. Setting up node-rimraf (2.2.2-2) ...
  663. Setting up node-mkdirp (0.3.5-1) ...
  664. Setting up node-graceful-fs (2.0.0-2) ...
  665. Setting up node-fstream (0.1.24-1) ...
  666. Setting up node-lru-cache (2.3.1-1) ...
  667. Setting up node-sigmund (1.0.0-1) ...
  668. Setting up node-minimatch (0.2.12-1) ...
  669. Setting up node-fstream-ignore (0.0.6-2) ...
  670. Setting up node-github-url-from-git (1.1.1-1) ...
  671. Setting up node-glob (3.2.6-1) ...
  672. Setting up node-ini (1.1.0-1) ...
  673. Setting up node-lockfile (0.4.1-1) ...
  674. Setting up libc-ares-dev:amd64 (1.10.0-2) ...
  675. Setting up nodejs-dev (0.10.25~dfsg2-2ubuntu1) ...
  676. Setting up node-nopt (2.1.2-1) ...
  677. Setting up node-npmlog (0.0.4-1) ...
  678. Setting up node-osenv (0.0.3-1) ...
  679. Setting up node-delayed-stream (0.0.5-1) ...
  680. Setting up node-combined-stream (0.0.4-1) ...
  681. Setting up node-mime (1.2.11-1) ...
  682. Setting up node-async (0.2.5-1) ...
  683. Setting up node-form-data (0.1.0-1) ...
  684. Setting up node-node-uuid (1.4.0-1) ...
  685. Setting up node-forever-agent (0.5.1-1) ...
  686. Setting up node-tunnel-agent (0.3.1-1) ...
  687. Setting up node-json-stringify-safe (5.0.0-1) ...
  688. Setting up node-qs (0.6.5-1) ...
  689. Setting up node-cookie-jar (0.3.1-1) ...
  690. Setting up node-request (2.26.1-1) ...
  691. Setting up node-semver (2.1.0-2) ...
  692. Setting up node-tar (0.1.18-1) ...
  693. Setting up node-which (1.0.5-2) ...
  694. Setting up node-gyp (0.10.10-2) ...
  695. Setting up node-once (1.1.1-1) ...
  696. Setting up node-mute-stream (0.0.3-1) ...
  697. Setting up node-read (1.0.4-1) ...
  698. Setting up node-normalize-package-data (0.2.2-1) ...
  699. Setting up node-read-package-json (1.1.3-1) ...
  700. Setting up node-retry (0.6.0-1) ...
  701. Setting up node-sha (1.2.3-1) ...
  702. Setting up node-slide (1.1.4-1) ...
  703. Setting up npm (1.3.10~dfsg-1) ...
  704. Setting up mechanismimporter (1.0.0-0ubuntu18) ...
  705. id: mechanismimporter: no such user
  706. Creating mechanismimporter user...
  707. npm http GET https://registry.npmjs.org/synchronize
  708. npm http 200 https://registry.npmjs.org/synchronize
  709. npm http GET https://registry.npmjs.org/synchronize/-/synchronize-0.9.15.tgz
  710. npm http 200 https://registry.npmjs.org/synchronize/-/synchronize-0.9.15.tgz
  711. npm http GET https://registry.npmjs.org/fibers
  712. npm http 200 https://registry.npmjs.org/fibers
  713. npm http GET https://registry.npmjs.org/fibers/-/fibers-1.0.14.tgz
  714. npm http 200 https://registry.npmjs.org/fibers/-/fibers-1.0.14.tgz
  715.  
  716. > fibers@1.0.14 install /var/lib/mechanismimporter/node_modules/synchronize/node_modules/fibers
  717. > node build.js || nodejs build.js
  718.  
  719. sh: 1: node: not found
  720. make: Entering directory `/var/lib/mechanismimporter/node_modules/synchronize/node_modules/fibers/build'
  721. CXX(target) Release/obj.target/fibers/src/fibers.o
  722. CXX(target) Release/obj.target/fibers/src/coroutine.o
  723. CC(target) Release/obj.target/fibers/src/libcoro/coro.o
  724. SOLINK_MODULE(target) Release/obj.target/fibers.node
  725. SOLINK_MODULE(target) Release/obj.target/fibers.node: Finished
  726. COPY Release/fibers.node
  727. make: Leaving directory `/var/lib/mechanismimporter/node_modules/synchronize/node_modules/fibers/build'
  728. Installed in `/var/lib/mechanismimporter/node_modules/synchronize/node_modules/fibers/bin/linux-x64-v8-3.14/fibers.node`
  729. synchronize@0.9.15 var/lib/mechanismimporter/node_modules/synchronize
  730. └── fibers@1.0.14
  731. npm http GET https://registry.npmjs.org/xml2js
  732. npm http 200 https://registry.npmjs.org/xml2js
  733. npm http GET https://registry.npmjs.org/xml2js/-/xml2js-0.4.17.tgz
  734. npm http 200 https://registry.npmjs.org/xml2js/-/xml2js-0.4.17.tgz
  735. npm http GET https://registry.npmjs.org/sax
  736. npm http GET https://registry.npmjs.org/xmlbuilder
  737. npm http 200 https://registry.npmjs.org/xmlbuilder
  738. npm http GET https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-4.2.1.tgz
  739. npm http 200 https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-4.2.1.tgz
  740. npm http 200 https://registry.npmjs.org/sax
  741. npm http GET https://registry.npmjs.org/sax/-/sax-1.2.1.tgz
  742. npm http 200 https://registry.npmjs.org/sax/-/sax-1.2.1.tgz
  743. npm http GET https://registry.npmjs.org/lodash
  744. npm http 200 https://registry.npmjs.org/lodash
  745. npm http GET https://registry.npmjs.org/lodash/-/lodash-4.15.0.tgz
  746. npm http 200 https://registry.npmjs.org/lodash/-/lodash-4.15.0.tgz
  747. xml2js@0.4.17 var/lib/mechanismimporter/node_modules/xml2js
  748. ├── sax@1.2.1
  749. └── xmlbuilder@4.2.1 (lodash@4.15.0)
  750. npm http GET https://registry.npmjs.org/fast-csv
  751. npm http 200 https://registry.npmjs.org/fast-csv
  752. npm http GET https://registry.npmjs.org/fast-csv/-/fast-csv-2.1.0.tgz
  753. npm http 200 https://registry.npmjs.org/fast-csv/-/fast-csv-2.1.0.tgz
  754. npm WARN engine fast-csv@2.1.0: wanted: {"node":">=4.0.0"} (current: {"node":"v0.10.25","npm":"1.3.10"})
  755. npm http GET https://registry.npmjs.org/is-extended/0.0.10
  756. npm http GET https://registry.npmjs.org/object-extended/0.0.7
  757. npm http GET https://registry.npmjs.org/string-extended/0.0.8
  758. npm http GET https://registry.npmjs.org/extended/0.0.6
  759. npm http 200 https://registry.npmjs.org/string-extended/0.0.8
  760. npm http GET https://registry.npmjs.org/string-extended/-/string-extended-0.0.8.tgz
  761. npm http 200 https://registry.npmjs.org/string-extended/-/string-extended-0.0.8.tgz
  762. npm http 200 https://registry.npmjs.org/object-extended/0.0.7
  763. npm http GET https://registry.npmjs.org/object-extended/-/object-extended-0.0.7.tgz
  764. npm http 200 https://registry.npmjs.org/extended/0.0.6
  765. npm http GET https://registry.npmjs.org/extended/-/extended-0.0.6.tgz
  766. npm http 200 https://registry.npmjs.org/object-extended/-/object-extended-0.0.7.tgz
  767. npm http 200 https://registry.npmjs.org/extended/-/extended-0.0.6.tgz
  768. npm http 200 https://registry.npmjs.org/is-extended/0.0.10
  769. npm http GET https://registry.npmjs.org/is-extended/-/is-extended-0.0.10.tgz
  770. npm http 200 https://registry.npmjs.org/is-extended/-/is-extended-0.0.10.tgz
  771. npm http GET https://registry.npmjs.org/array-extended
  772. npm http GET https://registry.npmjs.org/date-extended
  773. npm http GET https://registry.npmjs.org/array-extended
  774. npm http 200 https://registry.npmjs.org/array-extended
  775. npm http GET https://registry.npmjs.org/array-extended/-/array-extended-0.0.11.tgz
  776. npm http 200 https://registry.npmjs.org/array-extended
  777. npm http 200 https://registry.npmjs.org/array-extended/-/array-extended-0.0.11.tgz
  778. npm http GET https://registry.npmjs.org/extender
  779. npm http 200 https://registry.npmjs.org/date-extended
  780. npm http GET https://registry.npmjs.org/date-extended/-/date-extended-0.0.6.tgz
  781. npm http 200 https://registry.npmjs.org/date-extended/-/date-extended-0.0.6.tgz
  782. npm http GET https://registry.npmjs.org/arguments-extended
  783. npm http 200 https://registry.npmjs.org/arguments-extended
  784. npm http GET https://registry.npmjs.org/arguments-extended/-/arguments-extended-0.0.3.tgz
  785. npm http 200 https://registry.npmjs.org/arguments-extended/-/arguments-extended-0.0.3.tgz
  786. npm http 200 https://registry.npmjs.org/extender
  787. npm http GET https://registry.npmjs.org/extender/-/extender-0.0.10.tgz
  788. npm http 200 https://registry.npmjs.org/extender/-/extender-0.0.10.tgz
  789. npm http GET https://registry.npmjs.org/declare.js
  790. npm http 200 https://registry.npmjs.org/declare.js
  791. npm http GET https://registry.npmjs.org/declare.js/-/declare.js-0.0.8.tgz
  792. npm http 200 https://registry.npmjs.org/declare.js/-/declare.js-0.0.8.tgz
  793. fast-csv@2.1.0 var/lib/mechanismimporter/node_modules/fast-csv
  794. ├── is-extended@0.0.10
  795. ├── object-extended@0.0.7 (array-extended@0.0.11)
  796. ├── string-extended@0.0.8 (date-extended@0.0.6, array-extended@0.0.11)
  797. └── extended@0.0.6 (extender@0.0.10)
  798. npm http GET https://registry.npmjs.org/properties-reader
  799. npm http 200 https://registry.npmjs.org/properties-reader
  800. npm http GET https://registry.npmjs.org/properties-reader/-/properties-reader-0.0.15.tgz
  801. npm http 200 https://registry.npmjs.org/properties-reader/-/properties-reader-0.0.15.tgz
  802. npm http GET https://registry.npmjs.org/mkdirp
  803. npm http 200 https://registry.npmjs.org/mkdirp
  804. npm http GET https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz
  805. npm http 200 https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz
  806. properties-reader@0.0.15 var/lib/mechanismimporter/node_modules/properties-reader
  807. └── mkdirp@0.3.5
  808. Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
  809. Processing triggers for ureadahead (0.100.0-16) ...
  810. Reading package lists... Done
  811. Building dependency tree
  812. Reading state information... Done
  813. The following extra packages will be installed:
  814. adxadapter approvals authbind csd-loader datim-mapping dhis2 dhis2-datim
  815. dhis2-tools git git-man gsfonts gsfonts-x11 java-common jq jshon libapr1
  816. libcommons-collections3-java libcommons-dbcp-java libcommons-pool-java
  817. libcrypt-openssl-random-perl libcrypt-passwdmd5-perl libecj-java
  818. liberror-perl libfontenc1 libgeronimo-jta-1.1-spec-java libjansson4 libpq5
  819. libservlet3.0-java libtcnative-1 libtomcat7-java libxfont1 libxml2-utils
  820. makepasswd mongodb-org mongodb-org-mongos mongodb-org-server
  821. mongodb-org-shell mongodb-org-tools openhim-config-datim4u openhim-console
  822. openhim-core-js openinfoman openinfoman-csv openinfoman-datim
  823. openinfoman-dhis openinfoman-mapping oracle-java8-set-default pgtune
  824. php5-cli php5-common php5-json php5-readline postgresql postgresql-9.3
  825. postgresql-client postgresql-client-9.3 postgresql-client-common
  826. postgresql-common ssl-cert tomcat7 tomcat7-common unzip user-management
  827. x11-common xfonts-encodings xfonts-utils
  828. Suggested packages:
  829. git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk
  830. gitweb git-arch git-bzr git-cvs git-mediawiki git-svn default-jre equivs
  831. libcommons-collections3-java-doc libcommons-dbcp-java-doc ecj ant
  832. libecj-java-gcj libgeronimo-jta-java-doc binfmt-support visualvm ttf-baekmuk
  833. ttf-unfonts ttf-unfonts-core ttf-kochi-gothic ttf-sazanami-gothic
  834. ttf-kochi-mincho ttf-sazanami-mincho ttf-arphic-uming firefox firefox-2
  835. iceweasel mozilla-firefox iceape-browser mozilla-browser epiphany-gecko
  836. epiphany-webkit epiphany-browser galeon midbrowser moblin-web-browser
  837. xulrunner xulrunner-1.9 konqueror chromium-browser midori google-chrome
  838. postgresql-8.4 php-pear php5-user-cache oidentd ident-server locales-all
  839. postgresql-doc-9.3 openssl-blacklist tomcat7-docs tomcat7-admin
  840. tomcat7-examples tomcat7-user zip
  841. Recommended packages:
  842. default-jre-headless java2-runtime-headless java5-runtime-headless
  843. The following NEW packages will be installed:
  844. adxadapter approvals authbind csd-loader datim-mapping dhis2 dhis2-datim
  845. dhis2-tools git git-man gsfonts gsfonts-x11 java-common jq jshon libapr1
  846. libcommons-collections3-java libcommons-dbcp-java libcommons-pool-java
  847. libcrypt-openssl-random-perl libcrypt-passwdmd5-perl libecj-java
  848. liberror-perl libfontenc1 libgeronimo-jta-1.1-spec-java libjansson4 libpq5
  849. libservlet3.0-java libtcnative-1 libtomcat7-java libxfont1 libxml2-utils
  850. makepasswd mongodb-org mongodb-org-mongos mongodb-org-server
  851. mongodb-org-shell mongodb-org-tools ohie-datim-node openhim-config-datim4u
  852. openhim-console openhim-core-js openinfoman openinfoman-csv
  853. openinfoman-datim openinfoman-dhis openinfoman-mapping
  854. oracle-java8-installer oracle-java8-set-default pgtune php5-cli php5-common
  855. php5-json php5-readline postgresql postgresql-9.3 postgresql-client
  856. postgresql-client-9.3 postgresql-client-common postgresql-common ssl-cert
  857. tomcat7 tomcat7-common unzip user-management x11-common xfonts-encodings
  858. xfonts-utils
  859. 0 upgraded, 68 newly installed, 0 to remove and 6 not upgraded.
  860. Need to get 107 MB of archives.
  861. After this operation, 588 MB of additional disk space will be used.
  862. Get:1 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libpq5 amd64 9.3.14-0ubuntu0.14.04 [78.8 kB]
  863. Get:2 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main postgresql-client-common all 154ubuntu1 [25.4 kB]
  864. Get:3 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main postgresql-client-9.3 amd64 9.3.14-0ubuntu0.14.04 [786 kB]
  865. Get:4 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main postgresql-client all 9.3+154ubuntu1 [5,052 B]
  866. Get:5 http://mirrors.digitalocean.com/ubuntu/ trusty/main java-common all 0.51 [130 kB]
  867. Get:6 http://ppa.launchpad.net/webupd8team/java/ubuntu/ trusty/main oracle-java8-installer all 8u101+8u101arm-1~webupd8~2 [23.6 kB]
  868. Get:7 http://mirrors.digitalocean.com/ubuntu/ trusty/main libecj-java all 3.9.0-1 [1,352 kB]
  869. Get:8 http://repo.mongodb.org/apt/ubuntu/ trusty/mongodb-org/3.2/multiverse mongodb-org-shell amd64 3.2.9 [5,259 kB]
  870. Get:9 http://ppa.launchpad.net/openhie/datim-testing/ubuntu/ trusty/main dhis2-tools amd64 1.2-1ubuntu0 [24.1 kB]
  871. Get:10 http://mirrors.digitalocean.com/ubuntu/ trusty/main libcommons-pool-java all 1.6-2 [105 kB]
  872. Get:11 http://repo.mongodb.org/apt/ubuntu/ trusty/mongodb-org/3.2/multiverse mongodb-org-server amd64 3.2.9 [9,573 kB]
  873. Get:12 http://mirrors.digitalocean.com/ubuntu/ trusty/main libcommons-collections3-java all 3.2.1-6 [602 kB]
  874. Get:13 http://ppa.launchpad.net/webupd8team/java/ubuntu/ trusty/main oracle-java8-set-default all 8u101+8u101arm-1~webupd8~2 [5,354 B]
  875. Get:14 http://mirrors.digitalocean.com/ubuntu/ trusty/main libcommons-dbcp-java all 1.4-3ubuntu1 [149 kB]
  876. Get:15 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libservlet3.0-java all 7.0.52-1ubuntu0.6 [295 kB]
  877. Get:16 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libtomcat7-java all 7.0.52-1ubuntu0.6 [3,652 kB]
  878. Get:17 http://ppa.launchpad.net/openhie/datim-testing/ubuntu/ trusty/main dhis2 amd64 2.21-0ubuntu11 [2,652 B]
  879. Get:18 http://repo.mongodb.org/apt/ubuntu/ trusty/mongodb-org/3.2/multiverse mongodb-org-mongos amd64 3.2.9 [4,351 kB]
  880. Get:19 http://ppa.launchpad.net/openhie/datim-testing/ubuntu/ trusty/main adxadapter amd64 1.0.0-0ubuntu10 [8,316 kB]
  881. Get:20 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main tomcat7-common all 7.0.52-1ubuntu0.6 [48.1 kB]
  882. Get:21 http://mirrors.digitalocean.com/ubuntu/ trusty/main libapr1 amd64 1.5.0-1 [85.1 kB]
  883. Get:22 http://mirrors.digitalocean.com/ubuntu/ trusty/universe libtcnative-1 amd64 1.1.29-1 [79.1 kB]
  884. Get:23 http://mirrors.digitalocean.com/ubuntu/ trusty/main libcrypt-passwdmd5-perl all 1.3-10 [10.4 kB]
  885. Get:24 http://mirrors.digitalocean.com/ubuntu/ trusty/main libcrypt-openssl-random-perl amd64 0.04-1build6 [11.3 kB]
  886. Get:25 http://mirrors.digitalocean.com/ubuntu/ trusty/universe makepasswd all 1.10-9 [12.0 kB]
  887. Get:26 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main unzip amd64 6.0-9ubuntu1.5 [157 kB]
  888. Get:27 http://mirrors.digitalocean.com/ubuntu/ trusty/main ssl-cert all 1.0.33 [16.6 kB]
  889. Get:28 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main postgresql-common all 154ubuntu1 [103 kB]
  890. Get:29 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main postgresql-9.3 amd64 9.3.14-0ubuntu0.14.04 [2,684 kB]
  891. Get:30 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main postgresql all 9.3+154ubuntu1 [5,038 B]
  892. Get:31 http://mirrors.digitalocean.com/ubuntu/ trusty/universe pgtune all 0.9.3-2 [34.2 kB]
  893. Get:32 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main tomcat7 all 7.0.52-1ubuntu0.6 [35.7 kB]
  894. Get:33 http://mirrors.digitalocean.com/ubuntu/ trusty/main libfontenc1 amd64 1:1.1.2-1 [15.6 kB]
  895. Get:34 http://mirrors.digitalocean.com/ubuntu/ trusty/universe libjansson4 amd64 2.5-2 [25.2 kB]
  896. Get:35 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libxfont1 amd64 1:1.4.7-1ubuntu0.2 [95.0 kB]
  897. Get:36 http://mirrors.digitalocean.com/ubuntu/ trusty/universe jq amd64 1.3-1.1ubuntu1 [97.8 kB]
  898. Get:37 http://mirrors.digitalocean.com/ubuntu/ trusty/main liberror-perl all 0.17-1.1 [21.1 kB]
  899. Get:38 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main git-man all 1:1.9.1-1ubuntu0.3 [699 kB]
  900. Get:39 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main git amd64 1:1.9.1-1ubuntu0.3 [2,586 kB]
  901. Get:40 http://mirrors.digitalocean.com/ubuntu/ trusty/main php5-json amd64 1.3.2-2build1 [34.4 kB]
  902. Get:41 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main php5-common amd64 5.5.9+dfsg-1ubuntu4.19 [446 kB]
  903. Get:42 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main php5-cli amd64 5.5.9+dfsg-1ubuntu4.19 [2,164 kB]
  904. Get:43 http://repo.mongodb.org/apt/ubuntu/ trusty/mongodb-org/3.2/multiverse mongodb-org-tools amd64 3.2.9 [32.9 MB]
  905. Get:44 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libxml2-utils amd64 2.9.1+dfsg1-3ubuntu4.8 [34.8 kB]
  906. Get:45 http://mirrors.digitalocean.com/ubuntu/ trusty/universe jshon amd64 20131010-3 [13.9 kB]
  907. Get:46 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main php5-readline amd64 5.5.9+dfsg-1ubuntu4.19 [12.1 kB]
  908. Get:47 http://mirrors.digitalocean.com/ubuntu/ trusty/main gsfonts all 1:8.11+urwcyr1.0.7~pre44-4.2ubuntu1 [3,374 kB]
  909. Get:48 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main x11-common all 1:7.7+1ubuntu8.1 [49.5 kB]
  910. Get:49 http://mirrors.digitalocean.com/ubuntu/ trusty/main xfonts-encodings all 1:1.0.4-1ubuntu1 [583 kB]
  911. Get:50 http://mirrors.digitalocean.com/ubuntu/ trusty/main xfonts-utils amd64 1:7.7+1 [73.9 kB]
  912. Get:51 http://mirrors.digitalocean.com/ubuntu/ trusty/main gsfonts-x11 all 0.22 [9,108 B]
  913. Get:52 http://mirrors.digitalocean.com/ubuntu/ trusty/main libgeronimo-jta-1.1-spec-java all 1.1.1-3ubuntu1 [12.4 kB]
  914. Get:53 http://mirrors.digitalocean.com/ubuntu/ trusty/main authbind amd64 2.1.1 [19.6 kB]
  915. Get:54 http://repo.mongodb.org/apt/ubuntu/ trusty/mongodb-org/3.2/multiverse mongodb-org amd64 3.2.9 [3,556 B]
  916. Get:55 http://ppa.launchpad.net/openhie/datim-testing/ubuntu/ trusty/main openhim-core-js amd64 3.0.0-13~trusty [6,678 kB]
  917. Get:56 http://ppa.launchpad.net/openhie/datim-testing/ubuntu/ trusty/main openinfoman all 1.4.37~trusty [1,548 kB]
  918. Get:57 http://ppa.launchpad.net/openhie/datim-testing/ubuntu/ trusty/main openinfoman-dhis all 1.4.11~trusty [556 kB]
  919. Get:58 http://ppa.launchpad.net/openhie/datim-testing/ubuntu/ trusty/main openinfoman-datim all 1.2.2~trusty [957 kB]
  920. Get:59 http://ppa.launchpad.net/openhie/datim-testing/ubuntu/ trusty/main openinfoman-csv all 1.2.1~trusty [3,412 B]
  921. Get:60 http://ppa.launchpad.net/openhie/datim-testing/ubuntu/ trusty/main openinfoman-mapping all 1.0.3~trusty [5,756 B]
  922. Get:61 http://ppa.launchpad.net/openhie/datim-testing/ubuntu/ trusty/main openhim-console all 1.7.0-11~trusty [523 kB]
  923. Get:62 http://ppa.launchpad.net/openhie/datim-testing/ubuntu/ trusty/main user-management amd64 0.3.2-1ubuntu1 [628 kB]
  924. Get:63 http://ppa.launchpad.net/openhie/datim-testing/ubuntu/ trusty/main approvals amd64 0.4.9-1ubuntu1 [612 kB]
  925. Get:64 http://ppa.launchpad.net/openhie/datim-testing/ubuntu/ trusty/main dhis2-datim amd64 1.0.0-1ubuntu25 [130 kB]
  926. Get:65 http://ppa.launchpad.net/openhie/datim-testing/ubuntu/ trusty/main csd-loader amd64 1.2.11-0ubuntu1 [180 kB]
  927. Get:66 http://ppa.launchpad.net/openhie/datim-testing/ubuntu/ trusty/main openhim-config-datim4u amd64 0.3.0-6~trusty [14.1 MB]
  928. Get:67 http://ppa.launchpad.net/openhie/datim-testing/ubuntu/ trusty/main datim-mapping amd64 1.0.0-1ubuntu1 [4,886 B]
  929. Get:68 http://ppa.launchpad.net/openhie/datim-testing/ubuntu/ trusty/main ohie-datim-node amd64 1.0.0-0ubuntu8 [3,172 B]
  930. Fetched 107 MB in 30s (3,544 kB/s)
  931. Extracting templates from packages: 100%
  932. Preconfiguring packages ...
  933. + OI=/var/lib/openinfoman
  934. + USERNAME=oi
  935. + action=configure
  936. + cur_version=
  937. + . /usr/share/debconf/confmodule
  938. ++ '[' '!' 1 ']'
  939. ++ '[' -z '' ']'
  940. ++ exec
  941. ++ '[' '' ']'
  942. ++ exec
  943. ++ DEBCONF_REDIR=1
  944. ++ export DEBCONF_REDIR
  945. + db_input high openinfoman/memsize
  946. + _db_cmd 'INPUT high' openinfoman/memsize
  947. + _db_internal_IFS='
  948. '
  949. + IFS=' '
  950. + printf '%s\n' 'INPUT high openinfoman/memsize'
  951. + IFS='
  952. '
  953. + IFS='
  954. '
  955. + read -r _db_internal_line
  956. + RET='30 question skipped'
  957. + case ${_db_internal_line%%[ ]*} in
  958. + return 30
  959. + true
  960. + db_go
  961. + _db_cmd 'GO '
  962. + _db_internal_IFS='
  963. '
  964. + IFS=' '
  965. + printf '%s\n' 'GO '
  966. + IFS='
  967. '
  968. + IFS='
  969. '
  970. + read -r _db_internal_line
  971. + RET=ok
  972. + case ${_db_internal_line%%[ ]*} in
  973. + return 0
  974. + db_get openinfoman/memsize
  975. + _db_cmd 'GET openinfoman/memsize'
  976. + _db_internal_IFS='
  977. '
  978. + IFS=' '
  979. + printf '%s\n' 'GET openinfoman/memsize'
  980. + IFS='
  981. '
  982. + IFS='
  983. '
  984. + read -r _db_internal_line
  985. + RET=8G
  986. + case ${_db_internal_line%%[ ]*} in
  987. + return 0
  988. + HEAP=8G
  989. + db_input high openinfoman/baseurl
  990. + _db_cmd 'INPUT high' openinfoman/baseurl
  991. + _db_internal_IFS='
  992. '
  993. + IFS=' '
  994. + printf '%s\n' 'INPUT high openinfoman/baseurl'
  995. + IFS='
  996. '
  997. + IFS='
  998. '
  999. + read -r _db_internal_line
  1000. + RET='30 question skipped'
  1001. + case ${_db_internal_line%%[ ]*} in
  1002. + return 30
  1003. + true
  1004. + db_go
  1005. + _db_cmd 'GO '
  1006. + _db_internal_IFS='
  1007. '
  1008. + IFS=' '
  1009. + printf '%s\n' 'GO '
  1010. + IFS='
  1011. '
  1012. + IFS='
  1013. '
  1014. + read -r _db_internal_line
  1015. + RET=ok
  1016. + case ${_db_internal_line%%[ ]*} in
  1017. + return 0
  1018. + db_get openinfoman/baseurl
  1019. + _db_cmd 'GET openinfoman/baseurl'
  1020. + _db_internal_IFS='
  1021. '
  1022. + IFS=' '
  1023. + printf '%s\n' 'GET openinfoman/baseurl'
  1024. + IFS='
  1025. '
  1026. + IFS='
  1027. '
  1028. + read -r _db_internal_line
  1029. + RET=https://104.131.107.90/ILR
  1030. + case ${_db_internal_line%%[ ]*} in
  1031. + return 0
  1032. + BASEURL=https://104.131.107.90/ILR
  1033. + db_input high openinfoman/dbname
  1034. + _db_cmd 'INPUT high' openinfoman/dbname
  1035. + _db_internal_IFS='
  1036. '
  1037. + IFS=' '
  1038. + printf '%s\n' 'INPUT high openinfoman/dbname'
  1039. + IFS='
  1040. '
  1041. + IFS='
  1042. '
  1043. + read -r _db_internal_line
  1044. + RET='30 question skipped'
  1045. + case ${_db_internal_line%%[ ]*} in
  1046. + return 30
  1047. + true
  1048. + db_go
  1049. + _db_cmd 'GO '
  1050. + _db_internal_IFS='
  1051. '
  1052. + IFS=' '
  1053. + printf '%s\n' 'GO '
  1054. + IFS='
  1055. '
  1056. + IFS='
  1057. '
  1058. + read -r _db_internal_line
  1059. + RET=ok
  1060. + case ${_db_internal_line%%[ ]*} in
  1061. + return 0
  1062. + db_get openinfoman/dbname
  1063. + _db_cmd 'GET openinfoman/dbname'
  1064. + _db_internal_IFS='
  1065. '
  1066. + IFS=' '
  1067. + printf '%s\n' 'GET openinfoman/dbname'
  1068. + IFS='
  1069. '
  1070. + IFS='
  1071. '
  1072. + read -r _db_internal_line
  1073. + RET=provider_directory
  1074. + case ${_db_internal_line%%[ ]*} in
  1075. + return 0
  1076. + DBNAME=provider_directory
  1077. + mkdir -p /var/lib/openinfoman/repo-src
  1078. + chown -R oi:oi /var/lib/openinfoman/repo-src
  1079. chown: invalid user: ‘oi:oi’
  1080. + echo 'module namespace csd_webconf = '\''https://github.com/openhie/openinfoman/csd_webconf'\'';
  1081. declare variable $csd_webconf:db := '\''provider_directory'\'';
  1082. declare variable $csd_webconf:baseurl := '\''https://104.131.107.90/ILR'\'';
  1083. declare variable $csd_webconf:remote_services := ();
  1084. '
  1085. + echo '#!/usr/bin/env bash
  1086. HEAP=8G
  1087. # Path to this script
  1088.  
  1089. FILE="${BASH_SOURCE[0]}"
  1090. while [ -h "$FILE" ] ; do
  1091. SRC="$(readlink "$FILE")"
  1092. FILE="$( cd -P "$(dirname "$FILE")" && \
  1093. cd -P "$(dirname "$SRC")" && pwd )/$(basename "$SRC")"
  1094. done
  1095.  
  1096. BX="$( cd -P "$(dirname "$FILE")/.." && pwd )"
  1097. # API, core, and library classes
  1098. CP="$BX/BaseX.jar$(printf ":%s" "$BX/lib/"*.jar "$BXCORE/lib/"*.jar)"
  1099. # Options for virtual machine (can be extended by global options)
  1100. BASEX_JVM="-Xmx$HEAP $BASEX_JVM"
  1101.  
  1102.  
  1103. # Run code
  1104. java -cp "$CP" $BASEX_JVM org.basex.BaseXHTTP "$@"
  1105.  
  1106. '
  1107. /tmp/openinfoman.config.ChzpD2: line 64: /var/lib/openinfoman/bin/openinfoman: No such file or directory
  1108. + exit 0
  1109. Selecting previously unselected package libpq5.
  1110. (Reading database ... 68981 files and directories currently installed.)
  1111. Preparing to unpack .../libpq5_9.3.14-0ubuntu0.14.04_amd64.deb ...
  1112. Unpacking libpq5 (9.3.14-0ubuntu0.14.04) ...
  1113. Selecting previously unselected package postgresql-client-common.
  1114. Preparing to unpack .../postgresql-client-common_154ubuntu1_all.deb ...
  1115. Unpacking postgresql-client-common (154ubuntu1) ...
  1116. Selecting previously unselected package postgresql-client-9.3.
  1117. Preparing to unpack .../postgresql-client-9.3_9.3.14-0ubuntu0.14.04_amd64.deb ...
  1118. Unpacking postgresql-client-9.3 (9.3.14-0ubuntu0.14.04) ...
  1119. Selecting previously unselected package postgresql-client.
  1120. Preparing to unpack .../postgresql-client_9.3+154ubuntu1_all.deb ...
  1121. Unpacking postgresql-client (9.3+154ubuntu1) ...
  1122. Selecting previously unselected package java-common.
  1123. Preparing to unpack .../java-common_0.51_all.deb ...
  1124. Unpacking java-common (0.51) ...
  1125. Selecting previously unselected package libecj-java.
  1126. Preparing to unpack .../libecj-java_3.9.0-1_all.deb ...
  1127. Unpacking libecj-java (3.9.0-1) ...
  1128. Selecting previously unselected package libcommons-pool-java.
  1129. Preparing to unpack .../libcommons-pool-java_1.6-2_all.deb ...
  1130. Unpacking libcommons-pool-java (1.6-2) ...
  1131. Selecting previously unselected package libcommons-collections3-java.
  1132. Preparing to unpack .../libcommons-collections3-java_3.2.1-6_all.deb ...
  1133. Unpacking libcommons-collections3-java (3.2.1-6) ...
  1134. Selecting previously unselected package libcommons-dbcp-java.
  1135. Preparing to unpack .../libcommons-dbcp-java_1.4-3ubuntu1_all.deb ...
  1136. Unpacking libcommons-dbcp-java (1.4-3ubuntu1) ...
  1137. Selecting previously unselected package libservlet3.0-java.
  1138. Preparing to unpack .../libservlet3.0-java_7.0.52-1ubuntu0.6_all.deb ...
  1139. Unpacking libservlet3.0-java (7.0.52-1ubuntu0.6) ...
  1140. Selecting previously unselected package libtomcat7-java.
  1141. Preparing to unpack .../libtomcat7-java_7.0.52-1ubuntu0.6_all.deb ...
  1142. Unpacking libtomcat7-java (7.0.52-1ubuntu0.6) ...
  1143. Selecting previously unselected package oracle-java8-installer.
  1144. Preparing to unpack .../oracle-java8-installer_8u101+8u101arm-1~webupd8~2_all.deb ...
  1145. oracle-license-v1-1 license has already been accepted
  1146. Unpacking oracle-java8-installer (8u101+8u101arm-1~webupd8~2) ...
  1147. Selecting previously unselected package tomcat7-common.
  1148. Preparing to unpack .../tomcat7-common_7.0.52-1ubuntu0.6_all.deb ...
  1149. Unpacking tomcat7-common (7.0.52-1ubuntu0.6) ...
  1150. Selecting previously unselected package libapr1:amd64.
  1151. Preparing to unpack .../libapr1_1.5.0-1_amd64.deb ...
  1152. Unpacking libapr1:amd64 (1.5.0-1) ...
  1153. Selecting previously unselected package libtcnative-1:amd64.
  1154. Preparing to unpack .../libtcnative-1_1.1.29-1_amd64.deb ...
  1155. Unpacking libtcnative-1:amd64 (1.1.29-1) ...
  1156. Selecting previously unselected package libcrypt-passwdmd5-perl.
  1157. Preparing to unpack .../libcrypt-passwdmd5-perl_1.3-10_all.deb ...
  1158. Unpacking libcrypt-passwdmd5-perl (1.3-10) ...
  1159. Selecting previously unselected package libcrypt-openssl-random-perl.
  1160. Preparing to unpack .../libcrypt-openssl-random-perl_0.04-1build6_amd64.deb ...
  1161. Unpacking libcrypt-openssl-random-perl (0.04-1build6) ...
  1162. Selecting previously unselected package makepasswd.
  1163. Preparing to unpack .../makepasswd_1.10-9_all.deb ...
  1164. Unpacking makepasswd (1.10-9) ...
  1165. Selecting previously unselected package unzip.
  1166. Preparing to unpack .../unzip_6.0-9ubuntu1.5_amd64.deb ...
  1167. Unpacking unzip (6.0-9ubuntu1.5) ...
  1168. Selecting previously unselected package dhis2-tools.
  1169. Preparing to unpack .../dhis2-tools_1.2-1ubuntu0_amd64.deb ...
  1170. Some preinstallation tasks ...
  1171. Unpacking dhis2-tools (1.2-1ubuntu0) ...
  1172. Selecting previously unselected package ssl-cert.
  1173. Preparing to unpack .../ssl-cert_1.0.33_all.deb ...
  1174. Unpacking ssl-cert (1.0.33) ...
  1175. Selecting previously unselected package postgresql-common.
  1176. Preparing to unpack .../postgresql-common_154ubuntu1_all.deb ...
  1177. Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common'
  1178. Unpacking postgresql-common (154ubuntu1) ...
  1179. Selecting previously unselected package postgresql-9.3.
  1180. Preparing to unpack .../postgresql-9.3_9.3.14-0ubuntu0.14.04_amd64.deb ...
  1181. Unpacking postgresql-9.3 (9.3.14-0ubuntu0.14.04) ...
  1182. Selecting previously unselected package postgresql.
  1183. Preparing to unpack .../postgresql_9.3+154ubuntu1_all.deb ...
  1184. Unpacking postgresql (9.3+154ubuntu1) ...
  1185. Selecting previously unselected package pgtune.
  1186. Preparing to unpack .../pgtune_0.9.3-2_all.deb ...
  1187. Unpacking pgtune (0.9.3-2) ...
  1188. Selecting previously unselected package oracle-java8-set-default.
  1189. Preparing to unpack .../oracle-java8-set-default_8u101+8u101arm-1~webupd8~2_all.deb ...
  1190. Unpacking oracle-java8-set-default (8u101+8u101arm-1~webupd8~2) ...
  1191. Selecting previously unselected package tomcat7.
  1192. Preparing to unpack .../tomcat7_7.0.52-1ubuntu0.6_all.deb ...
  1193. Unpacking tomcat7 (7.0.52-1ubuntu0.6) ...
  1194. Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
  1195. Processing triggers for mime-support (3.54ubuntu1.1) ...
  1196. Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
  1197. Processing triggers for ureadahead (0.100.0-16) ...
  1198. Setting up java-common (0.51) ...
  1199. Setting up oracle-java8-installer (8u101+8u101arm-1~webupd8~2) ...
  1200. No /var/cache/oracle-jdk8-installer/wgetrc file found.
  1201. Creating /var/cache/oracle-jdk8-installer/wgetrc and
  1202. using default oracle-java8-installer wgetrc settings for it.
  1203. Downloading Oracle Java 8...
  1204. --2016-09-08 19:14:32-- http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz
  1205. Resolving download.oracle.com (download.oracle.com)... 23.219.93.202, 23.219.93.218
  1206. Connecting to download.oracle.com (download.oracle.com)|23.219.93.202|:80... connected.
  1207. HTTP request sent, awaiting response... 302 Moved Temporarily
  1208. Location: https://edelivery.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz [following]
  1209. --2016-09-08 19:14:32-- https://edelivery.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz
  1210. Resolving edelivery.oracle.com (edelivery.oracle.com)... 172.229.243.171
  1211. Connecting to edelivery.oracle.com (edelivery.oracle.com)|172.229.243.171|:443... connected.
  1212. HTTP request sent, awaiting response... 302 Moved Temporarily
  1213. Location: https://edelivery.oracle.com/osdc-otn/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz [following]
  1214. --2016-09-08 19:14:32-- https://edelivery.oracle.com/osdc-otn/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz
  1215. Reusing existing connection to edelivery.oracle.com:443.
  1216. HTTP request sent, awaiting response... 302 Moved Temporarily
  1217. Location: http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz?AuthParam=1473362192_b29dfc2d7cc0f0ab7af72edacfa60e77 [following]
  1218. --2016-09-08 19:14:32-- http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz?AuthParam=1473362192_b29dfc2d7cc0f0ab7af72edacfa60e77
  1219. Connecting to download.oracle.com (download.oracle.com)|23.219.93.202|:80... connected.
  1220. HTTP request sent, awaiting response... 200 OK
  1221. Length: 181352138 (173M) [application/x-gzip]
  1222. Saving to: ‘jdk-8u101-linux-x64.tar.gz’
  1223.  
  1224. 0K ........ ........ ........ ........ ........ ........ 1% 19.3M 9s
  1225. 3072K ........ ........ ........ ........ ........ ........ 3% 6.40M 17s
  1226. 6144K ........ ........ ........ ........ ........ ........ 5% 37.0M 13s
  1227. 9216K ........ ........ ........ ........ ........ ........ 6% 40.8M 10s
  1228. 12288K ........ ........ ........ ........ ........ ........ 8% 27.1M 9s
  1229. 15360K ........ ........ ........ ........ ........ ........ 10% 26.0M 9s
  1230. 18432K ........ ........ ........ ........ ........ ........ 12% 30.1M 8s
  1231. 21504K ........ ........ ........ ........ ........ ........ 13% 61.3M 7s
  1232. 24576K ........ ........ ........ ........ ........ ........ 15% 36.2M 7s
  1233. 27648K ........ ........ ........ ........ ........ ........ 17% 40.6M 6s
  1234. 30720K ........ ........ ........ ........ ........ ........ 19% 22.4M 6s
  1235. 33792K ........ ........ ........ ........ ........ ........ 20% 47.3M 6s
  1236. 36864K ........ ........ ........ ........ ........ ........ 22% 33.9M 5s
  1237. 39936K ........ ........ ........ ........ ........ ........ 24% 37.9M 5s
  1238. 43008K ........ ........ ........ ........ ........ ........ 26% 31.4M 5s
  1239. 46080K ........ ........ ........ ........ ........ ........ 27% 16.4M 5s
  1240. 49152K ........ ........ ........ ........ ........ ........ 29% 9.81M 5s
  1241. 52224K ........ ........ ........ ........ ........ ........ 31% 21.3M 5s
  1242. 55296K ........ ........ ........ ........ ........ ........ 32% 16.9M 5s
  1243. 58368K ........ ........ ........ ........ ........ ........ 34% 23.5M 5s
  1244. 61440K ........ ........ ........ ........ ........ ........ 36% 9.29M 5s
  1245. 64512K ........ ........ ........ ........ ........ ........ 38% 33.1M 5s
  1246. 67584K ........ ........ ........ ........ ........ ........ 39% 12.2M 5s
  1247. 70656K ........ ........ ........ ........ ........ ........ 41% 30.0M 5s
  1248. 73728K ........ ........ ........ ........ ........ ........ 43% 14.2M 5s
  1249. 76800K ........ ........ ........ ........ ........ ........ 45% 30.7M 5s
  1250. 79872K ........ ........ ........ ........ ........ ........ 46% 37.1M 4s
  1251. 82944K ........ ........ ........ ........ ........ ........ 48% 40.2M 4s
  1252. 86016K ........ ........ ........ ........ ........ ........ 50% 32.8M 4s
  1253. 89088K ........ ........ ........ ........ ........ ........ 52% 51.9M 4s
  1254. 92160K ........ ........ ........ ........ ........ ........ 53% 11.3M 4s
  1255. 95232K ........ ........ ........ ........ ........ ........ 55% 13.8M 4s
  1256. 98304K ........ ........ ........ ........ ........ ........ 57% 10.4M 4s
  1257. 101376K ........ ........ ........ ........ ........ ........ 58% 18.8M 3s
  1258. 104448K ........ ........ ........ ........ ........ ........ 60% 20.2M 3s
  1259. 107520K ........ ........ ........ ........ ........ ........ 62% 43.7M 3s
  1260. 110592K ........ ........ ........ ........ ........ ........ 64% 30.1M 3s
  1261. 113664K ........ ........ ........ ........ ........ ........ 65% 11.8M 3s
  1262. 116736K ........ ........ ........ ........ ........ ........ 67% 5.53M 3s
  1263. 119808K ........ ........ ........ ........ ........ ........ 69% 22.8M 3s
  1264. 122880K ........ ........ ........ ........ ........ ........ 71% 17.0M 3s
  1265. 125952K ........ ........ ........ ........ ........ ........ 72% 10.9M 3s
  1266. 129024K ........ ........ ........ ........ ........ ........ 74% 7.19M 2s
  1267. 132096K ........ ........ ........ ........ ........ ........ 76% 38.6M 2s
  1268. 135168K ........ ........ ........ ........ ........ ........ 78% 9.28M 2s
  1269. 138240K ........ ........ ........ ........ ........ ........ 79% 10.5M 2s
  1270. 141312K ........ ........ ........ ........ ........ ........ 81% 17.9M 2s
  1271. 144384K ........ ........ ........ ........ ........ ........ 83% 60.3M 2s
  1272. 147456K ........ ........ ........ ........ ........ ........ 84% 24.2M 1s
  1273. 150528K ........ ........ ........ ........ ........ ........ 86% 36.3M 1s
  1274. 153600K ........ ........ ........ ........ ........ ........ 88% 30.3M 1s
  1275. 156672K ........ ........ ........ ........ ........ ........ 90% 35.1M 1s
  1276. 159744K ........ ........ ........ ........ ........ ........ 91% 26.4M 1s
  1277. 162816K ........ ........ ........ ........ ........ ........ 93% 20.2M 1s
  1278. 165888K ........ ........ ........ ........ ........ ........ 95% 12.6M 0s
  1279. 168960K ........ ........ ........ ........ ........ ........ 97% 12.3M 0s
  1280. 172032K ........ ........ ........ ........ ........ ........ 98% 14.4M 0s
  1281. 175104K ........ ........ ........ ....... 100% 16.0M=9.5s
  1282.  
  1283. 2016-09-08 19:14:42 (18.2 MB/s) - ‘jdk-8u101-linux-x64.tar.gz’ saved [181352138/181352138]
  1284.  
  1285. Download done.
  1286. Removing outdated cached downloads...
  1287. update-alternatives: error: no alternatives for java
  1288. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/ControlPanel to provide /usr/bin/ControlPanel (ControlPanel) in auto mode
  1289. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/java to provide /usr/bin/java (java) in auto mode
  1290. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/javaws to provide /usr/bin/javaws (javaws) in auto mode
  1291. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/jcontrol to provide /usr/bin/jcontrol (jcontrol) in auto mode
  1292. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/jjs to provide /usr/bin/jjs (jjs) in auto mode
  1293. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode
  1294. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/orbd to provide /usr/bin/orbd (orbd) in auto mode
  1295. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/pack200 to provide /usr/bin/pack200 (pack200) in auto mode
  1296. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/policytool to provide /usr/bin/policytool (policytool) in auto mode
  1297. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/rmid to provide /usr/bin/rmid (rmid) in auto mode
  1298. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode
  1299. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/servertool to provide /usr/bin/servertool (servertool) in auto mode
  1300. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/tnameserv to provide /usr/bin/tnameserv (tnameserv) in auto mode
  1301. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/unpack200 to provide /usr/bin/unpack200 (unpack200) in auto mode
  1302. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode
  1303. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/appletviewer to provide /usr/bin/appletviewer (appletviewer) in auto mode
  1304. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/extcheck to provide /usr/bin/extcheck (extcheck) in auto mode
  1305. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/idlj to provide /usr/bin/idlj (idlj) in auto mode
  1306. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jar to provide /usr/bin/jar (jar) in auto mode
  1307. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jarsigner to provide /usr/bin/jarsigner (jarsigner) in auto mode
  1308. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javac to provide /usr/bin/javac (javac) in auto mode
  1309. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javadoc to provide /usr/bin/javadoc (javadoc) in auto mode
  1310. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javafxpackager to provide /usr/bin/javafxpackager (javafxpackager) in auto mode
  1311. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javah to provide /usr/bin/javah (javah) in auto mode
  1312. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javap to provide /usr/bin/javap (javap) in auto mode
  1313. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javapackager to provide /usr/bin/javapackager (javapackager) in auto mode
  1314. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jcmd to provide /usr/bin/jcmd (jcmd) in auto mode
  1315. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jconsole to provide /usr/bin/jconsole (jconsole) in auto mode
  1316. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jdb to provide /usr/bin/jdb (jdb) in auto mode
  1317. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jdeps to provide /usr/bin/jdeps (jdeps) in auto mode
  1318. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jhat to provide /usr/bin/jhat (jhat) in auto mode
  1319. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jinfo to provide /usr/bin/jinfo (jinfo) in auto mode
  1320. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jmap to provide /usr/bin/jmap (jmap) in auto mode
  1321. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jmc to provide /usr/bin/jmc (jmc) in auto mode
  1322. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jps to provide /usr/bin/jps (jps) in auto mode
  1323. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jrunscript to provide /usr/bin/jrunscript (jrunscript) in auto mode
  1324. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jsadebugd to provide /usr/bin/jsadebugd (jsadebugd) in auto mode
  1325. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jstack to provide /usr/bin/jstack (jstack) in auto mode
  1326. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jstat to provide /usr/bin/jstat (jstat) in auto mode
  1327. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jstatd to provide /usr/bin/jstatd (jstatd) in auto mode
  1328. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jvisualvm to provide /usr/bin/jvisualvm (jvisualvm) in auto mode
  1329. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/native2ascii to provide /usr/bin/native2ascii (native2ascii) in auto mode
  1330. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/rmic to provide /usr/bin/rmic (rmic) in auto mode
  1331. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/schemagen to provide /usr/bin/schemagen (schemagen) in auto mode
  1332. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/serialver to provide /usr/bin/serialver (serialver) in auto mode
  1333. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/wsgen to provide /usr/bin/wsgen (wsgen) in auto mode
  1334. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/wsimport to provide /usr/bin/wsimport (wsimport) in auto mode
  1335. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/xjc to provide /usr/bin/xjc (xjc) in auto mode
  1336. Oracle JDK 8 installed
  1337. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libnpjp2.so to provide /usr/lib/mozilla/plugins/libjavaplugin.so (mozilla-javaplugin.so) in auto mode
  1338. Oracle JRE 8 browser plugin installed
  1339. Setting up oracle-java8-set-default (8u101+8u101arm-1~webupd8~2) ...
  1340. Setting up libecj-java (3.9.0-1) ...
  1341. Setting up libcommons-pool-java (1.6-2) ...
  1342. Setting up libcommons-collections3-java (3.2.1-6) ...
  1343. Setting up libcommons-dbcp-java (1.4-3ubuntu1) ...
  1344. Setting up libservlet3.0-java (7.0.52-1ubuntu0.6) ...
  1345. Setting up libtomcat7-java (7.0.52-1ubuntu0.6) ...
  1346. Setting up tomcat7-common (7.0.52-1ubuntu0.6) ...
  1347. Setting up tomcat7 (7.0.52-1ubuntu0.6) ...
  1348.  
  1349. Creating config file /etc/default/tomcat7 with new version
  1350. Adding system user `tomcat7' (UID 106) ...
  1351. Adding new user `tomcat7' (UID 106) with group `tomcat7' ...
  1352. Not creating home directory `/usr/share/tomcat7'.
  1353.  
  1354. Creating config file /etc/logrotate.d/tomcat7 with new version
  1355. * no JDK or JRE found - please set JAVA_HOME
  1356. invoke-rc.d: initscript tomcat7, action "start" failed.
  1357. Processing triggers for ureadahead (0.100.0-16) ...
  1358. Selecting previously unselected package dhis2.
  1359. (Reading database ... 69924 files and directories currently installed.)
  1360. Preparing to unpack .../dhis2_2.21-0ubuntu11_amd64.deb ...
  1361. Unpacking dhis2 (2.21-0ubuntu11) ...
  1362. Setting up libpq5 (9.3.14-0ubuntu0.14.04) ...
  1363. Setting up postgresql-client-common (154ubuntu1) ...
  1364. Setting up postgresql-client-9.3 (9.3.14-0ubuntu0.14.04) ...
  1365. update-alternatives: using /usr/share/postgresql/9.3/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode
  1366. Setting up postgresql-client (9.3+154ubuntu1) ...
  1367. Setting up libapr1:amd64 (1.5.0-1) ...
  1368. Setting up libtcnative-1:amd64 (1.1.29-1) ...
  1369. Setting up libcrypt-passwdmd5-perl (1.3-10) ...
  1370. Setting up libcrypt-openssl-random-perl (0.04-1build6) ...
  1371. Setting up makepasswd (1.10-9) ...
  1372. Setting up unzip (6.0-9ubuntu1.5) ...
  1373. Setting up dhis2-tools (1.2-1ubuntu0) ...
  1374. create group for dhis instances and group for dhis admins
  1375. Adding group `dhis2admin' (GID 1001) ...
  1376. Done.
  1377. Adding group `dhis2' (GID 1002) ...
  1378. Done.
  1379. Setting up ssl-cert (1.0.33) ...
  1380. Setting up postgresql-common (154ubuntu1) ...
  1381. Adding user postgres to group ssl-cert
  1382.  
  1383. Creating config file /etc/logrotate.d/postgresql-common with new version
  1384. Building PostgreSQL dictionaries from installed myspell/hunspell packages...
  1385. Removing obsolete dictionary files:
  1386. * No PostgreSQL clusters exist; see "man pg_createcluster"
  1387. Setting up pgtune (0.9.3-2) ...
  1388. Processing triggers for ureadahead (0.100.0-16) ...
  1389. Setting up postgresql-9.3 (9.3.14-0ubuntu0.14.04) ...
  1390. Creating new cluster 9.3/main ...
  1391. config /etc/postgresql/9.3/main
  1392. data /var/lib/postgresql/9.3/main
  1393. locale en_US.UTF-8
  1394. port 5432
  1395. update-alternatives: using /usr/share/postgresql/9.3/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode
  1396. * Starting PostgreSQL 9.3 database server [ OK ]
  1397. Setting up postgresql (9.3+154ubuntu1) ...
  1398. Setting up dhis2 (2.21-0ubuntu11) ...
  1399. Creating new postgresql role
  1400. Good. User is in dhis2admin group
  1401. checking options
  1402. You are about to create a Dhis2 instance called 'dhis2'
  1403. Checking HTTP port 8084
  1404. CREATE ROLE
  1405. CREATE DATABASE
  1406. GRANT
  1407. Running pgtune...
  1408. * Restarting PostgreSQL 9.3 database server [ OK ]
  1409. --2016-09-08 19:15:04-- https://www.dhis2.org/download/releases/2.21/dhis.war
  1410. Resolving www.dhis2.org (www.dhis2.org)... 178.79.191.67
  1411. Connecting to www.dhis2.org (www.dhis2.org)|178.79.191.67|:443... connected.
  1412. HTTP request sent, awaiting response... 200 OK
  1413. Length: 112266772 (107M) [application/java-archive]
  1414. Saving to: ‘/tmp/dhis.war’
  1415.  
  1416. 100%[====================================================================>] 112,266,772 29.2MB/s in 4.2s
  1417.  
  1418. 2016-09-08 19:15:09 (25.4 MB/s) - ‘/tmp/dhis.war’ saved [112266772/112266772]
  1419.  
  1420. No errors detected in compressed data of /tmp/dhis.war.
  1421. Shutting down dhis2 instance
  1422. dhis2 not running
  1423. Using CATALINA_BASE: /var/lib/dhis2/dhis2
  1424. Using CATALINA_HOME: /usr/share/tomcat7
  1425. Using CATALINA_TMPDIR: /var/lib/dhis2/dhis2/temp
  1426. Using JRE_HOME: /usr
  1427. Using CLASSPATH: /usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar
  1428. Using CATALINA_PID: /var/lib/dhis2/dhis2/tomcat.pid
  1429. Tomcat started.
  1430. DHIS2 instance starting for dhis2
  1431. Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
  1432. Selecting previously unselected package adxadapter.
  1433. (Reading database ... 69929 files and directories currently installed.)
  1434. Preparing to unpack .../adxadapter_1.0.0-0ubuntu10_amd64.deb ...
  1435. Unpacking adxadapter (1.0.0-0ubuntu10) ...
  1436. Selecting previously unselected package libfontenc1:amd64.
  1437. Preparing to unpack .../libfontenc1_1%3a1.1.2-1_amd64.deb ...
  1438. Unpacking libfontenc1:amd64 (1:1.1.2-1) ...
  1439. Selecting previously unselected package libjansson4:amd64.
  1440. Preparing to unpack .../libjansson4_2.5-2_amd64.deb ...
  1441. Unpacking libjansson4:amd64 (2.5-2) ...
  1442. Selecting previously unselected package libxfont1:amd64.
  1443. Preparing to unpack .../libxfont1_1%3a1.4.7-1ubuntu0.2_amd64.deb ...
  1444. Unpacking libxfont1:amd64 (1:1.4.7-1ubuntu0.2) ...
  1445. Selecting previously unselected package jq.
  1446. Preparing to unpack .../jq_1.3-1.1ubuntu1_amd64.deb ...
  1447. Unpacking jq (1.3-1.1ubuntu1) ...
  1448. Selecting previously unselected package mongodb-org-shell.
  1449. Preparing to unpack .../mongodb-org-shell_3.2.9_amd64.deb ...
  1450. Unpacking mongodb-org-shell (3.2.9) ...
  1451. Selecting previously unselected package mongodb-org-server.
  1452. Preparing to unpack .../mongodb-org-server_3.2.9_amd64.deb ...
  1453. Unpacking mongodb-org-server (3.2.9) ...
  1454. Selecting previously unselected package mongodb-org-mongos.
  1455. Preparing to unpack .../mongodb-org-mongos_3.2.9_amd64.deb ...
  1456. Unpacking mongodb-org-mongos (3.2.9) ...
  1457. Selecting previously unselected package mongodb-org-tools.
  1458. Preparing to unpack .../mongodb-org-tools_3.2.9_amd64.deb ...
  1459. Unpacking mongodb-org-tools (3.2.9) ...
  1460. Selecting previously unselected package mongodb-org.
  1461. Preparing to unpack .../mongodb-org_3.2.9_amd64.deb ...
  1462. Unpacking mongodb-org (3.2.9) ...
  1463. Selecting previously unselected package liberror-perl.
  1464. Preparing to unpack .../liberror-perl_0.17-1.1_all.deb ...
  1465. Unpacking liberror-perl (0.17-1.1) ...
  1466. Selecting previously unselected package git-man.
  1467. Preparing to unpack .../git-man_1%3a1.9.1-1ubuntu0.3_all.deb ...
  1468. Unpacking git-man (1:1.9.1-1ubuntu0.3) ...
  1469. Selecting previously unselected package git.
  1470. Preparing to unpack .../git_1%3a1.9.1-1ubuntu0.3_amd64.deb ...
  1471. Unpacking git (1:1.9.1-1ubuntu0.3) ...
  1472. Selecting previously unselected package openhim-core-js.
  1473. Preparing to unpack .../openhim-core-js_3.0.0-13~trusty_amd64.deb ...
  1474. openhim-core: unrecognized service
  1475. Creating group openhim
  1476. user openhim does not exist. adding.
  1477. Unpacking openhim-core-js (3.0.0-13~trusty) ...
  1478. Selecting previously unselected package php5-json.
  1479. Preparing to unpack .../php5-json_1.3.2-2build1_amd64.deb ...
  1480. Unpacking php5-json (1.3.2-2build1) ...
  1481. Selecting previously unselected package php5-common.
  1482. Preparing to unpack .../php5-common_5.5.9+dfsg-1ubuntu4.19_amd64.deb ...
  1483. Unpacking php5-common (5.5.9+dfsg-1ubuntu4.19) ...
  1484. Selecting previously unselected package php5-cli.
  1485. Preparing to unpack .../php5-cli_5.5.9+dfsg-1ubuntu4.19_amd64.deb ...
  1486. Unpacking php5-cli (5.5.9+dfsg-1ubuntu4.19) ...
  1487. Selecting previously unselected package openinfoman.
  1488. Preparing to unpack .../openinfoman_1.4.37~trusty_all.deb ...
  1489. + set -e
  1490. + . /usr/share/debconf/confmodule
  1491. ++ '[' '!' '' ']'
  1492. ++ PERL_DL_NONLAZY=1
  1493. ++ export PERL_DL_NONLAZY
  1494. ++ '[' '' ']'
  1495. ++ exec /usr/share/debconf/frontend /var/lib/dpkg/tmp.ci/preinst install
  1496. + OI=/var/lib/openinfoman
  1497. + USERNAME=oi
  1498. + action=configure
  1499. + cur_version=
  1500. + . /usr/share/debconf/confmodule
  1501. ++ '[' '!' 1 ']'
  1502. ++ '[' -z '' ']'
  1503. ++ exec
  1504. ++ '[' '' ']'
  1505. ++ exec
  1506. ++ DEBCONF_REDIR=1
  1507. ++ export DEBCONF_REDIR
  1508. + db_input high openinfoman/memsize
  1509. + _db_cmd 'INPUT high' openinfoman/memsize
  1510. + _db_internal_IFS='
  1511. '
  1512. + IFS=' '
  1513. + printf '%s\n' 'INPUT high openinfoman/memsize'
  1514. + IFS='
  1515. '
  1516. + IFS='
  1517. '
  1518. + read -r _db_internal_line
  1519. + RET='30 question skipped'
  1520. + case ${_db_internal_line%%[ ]*} in
  1521. + return 30
  1522. + true
  1523. + db_go
  1524. + _db_cmd 'GO '
  1525. + _db_internal_IFS='
  1526. '
  1527. + IFS=' '
  1528. + printf '%s\n' 'GO '
  1529. + IFS='
  1530. '
  1531. + IFS='
  1532. '
  1533. + read -r _db_internal_line
  1534. + RET=ok
  1535. + case ${_db_internal_line%%[ ]*} in
  1536. + return 0
  1537. + db_get openinfoman/memsize
  1538. + _db_cmd 'GET openinfoman/memsize'
  1539. + _db_internal_IFS='
  1540. '
  1541. + IFS=' '
  1542. + printf '%s\n' 'GET openinfoman/memsize'
  1543. + IFS='
  1544. '
  1545. + IFS='
  1546. '
  1547. + read -r _db_internal_line
  1548. + RET=8G
  1549. + case ${_db_internal_line%%[ ]*} in
  1550. + return 0
  1551. + HEAP=8G
  1552. + db_input high openinfoman/baseurl
  1553. + _db_cmd 'INPUT high' openinfoman/baseurl
  1554. + _db_internal_IFS='
  1555. '
  1556. + IFS=' '
  1557. + printf '%s\n' 'INPUT high openinfoman/baseurl'
  1558. + IFS='
  1559. '
  1560. + IFS='
  1561. '
  1562. + read -r _db_internal_line
  1563. + RET='30 question skipped'
  1564. + case ${_db_internal_line%%[ ]*} in
  1565. + return 30
  1566. + true
  1567. + db_go
  1568. + _db_cmd 'GO '
  1569. + _db_internal_IFS='
  1570. '
  1571. + IFS=' '
  1572. + printf '%s\n' 'GO '
  1573. + IFS='
  1574. '
  1575. + IFS='
  1576. '
  1577. + read -r _db_internal_line
  1578. + RET=ok
  1579. + case ${_db_internal_line%%[ ]*} in
  1580. + return 0
  1581. + db_get openinfoman/baseurl
  1582. + _db_cmd 'GET openinfoman/baseurl'
  1583. + _db_internal_IFS='
  1584. '
  1585. + IFS=' '
  1586. + printf '%s\n' 'GET openinfoman/baseurl'
  1587. + IFS='
  1588. '
  1589. + IFS='
  1590. '
  1591. + read -r _db_internal_line
  1592. + RET=https://104.131.107.90/ILR
  1593. + case ${_db_internal_line%%[ ]*} in
  1594. + return 0
  1595. + BASEURL=https://104.131.107.90/ILR
  1596. + db_input high openinfoman/dbname
  1597. + _db_cmd 'INPUT high' openinfoman/dbname
  1598. + _db_internal_IFS='
  1599. '
  1600. + IFS=' '
  1601. + printf '%s\n' 'INPUT high openinfoman/dbname'
  1602. + IFS='
  1603. '
  1604. + IFS='
  1605. '
  1606. + read -r _db_internal_line
  1607. + RET='30 question skipped'
  1608. + case ${_db_internal_line%%[ ]*} in
  1609. + return 30
  1610. + true
  1611. + db_go
  1612. + _db_cmd 'GO '
  1613. + _db_internal_IFS='
  1614. '
  1615. + IFS=' '
  1616. + printf '%s\n' 'GO '
  1617. + IFS='
  1618. '
  1619. + IFS='
  1620. '
  1621. + read -r _db_internal_line
  1622. + RET=ok
  1623. + case ${_db_internal_line%%[ ]*} in
  1624. + return 0
  1625. + db_get openinfoman/dbname
  1626. + _db_cmd 'GET openinfoman/dbname'
  1627. + _db_internal_IFS='
  1628. '
  1629. + IFS=' '
  1630. + printf '%s\n' 'GET openinfoman/dbname'
  1631. + IFS='
  1632. '
  1633. + IFS='
  1634. '
  1635. + read -r _db_internal_line
  1636. + RET=provider_directory
  1637. + case ${_db_internal_line%%[ ]*} in
  1638. + return 0
  1639. + DBNAME=provider_directory
  1640. + mkdir -p /var/lib/openinfoman/repo-src
  1641. + chown -R oi:oi /var/lib/openinfoman/repo-src
  1642. chown: invalid user: ‘oi:oi’
  1643. + echo 'module namespace csd_webconf = '\''https://github.com/openhie/openinfoman/csd_webconf'\'';
  1644. declare variable $csd_webconf:db := '\''provider_directory'\'';
  1645. declare variable $csd_webconf:baseurl := '\''https://104.131.107.90/ILR'\'';
  1646. declare variable $csd_webconf:remote_services := ();
  1647. '
  1648. + echo '#!/usr/bin/env bash
  1649. HEAP=8G
  1650. # Path to this script
  1651.  
  1652. FILE="${BASH_SOURCE[0]}"
  1653. while [ -h "$FILE" ] ; do
  1654. SRC="$(readlink "$FILE")"
  1655. FILE="$( cd -P "$(dirname "$FILE")" && \
  1656. cd -P "$(dirname "$SRC")" && pwd )/$(basename "$SRC")"
  1657. done
  1658.  
  1659. BX="$( cd -P "$(dirname "$FILE")/.." && pwd )"
  1660. # API, core, and library classes
  1661. CP="$BX/BaseX.jar$(printf ":%s" "$BX/lib/"*.jar "$BXCORE/lib/"*.jar)"
  1662. # Options for virtual machine (can be extended by global options)
  1663. BASEX_JVM="-Xmx$HEAP $BASEX_JVM"
  1664.  
  1665.  
  1666. # Run code
  1667. java -cp "$CP" $BASEX_JVM org.basex.BaseXHTTP "$@"
  1668.  
  1669. '
  1670. /var/lib/dpkg/tmp.ci/config: line 64: /var/lib/openinfoman/bin/openinfoman: No such file or directory
  1671. + exit 0
  1672. + set -e
  1673. + . /usr/share/debconf/confmodule
  1674. ++ '[' '!' 1 ']'
  1675. ++ '[' -z '' ']'
  1676. ++ exec
  1677. ++ '[' '' ']'
  1678. ++ exec
  1679. ++ DEBCONF_REDIR=1
  1680. ++ export DEBCONF_REDIR
  1681. + ACTION=install
  1682. + VERSION=
  1683. + USERNAME=oi
  1684. + HOME=/home/oi
  1685. + USERADD=/usr/sbin/useradd
  1686. + ADDGROUP=/usr/sbin/addgroup
  1687. + ADDUSER=/usr/sbin/adduser
  1688. + WGET=/usr/bin/wget
  1689. + UNZIP=/usr/bin/unzip
  1690. + OI=/var/lib/openinfoman
  1691. + TMP=/tmp/openinfoman-basex
  1692. + mkdir -p /tmp/openinfoman-basex
  1693. + rm -fr '/tmp/openinfoman-basex/*'
  1694. + service openinfoman stop
  1695. openinfoman: unrecognized service
  1696. + true
  1697. + OLDLIBS=("basex-api-8.4.1.jar" "basex-xqj-1.6.0.jar" "javax.servlet-3.0.0.v201112011016.jar" "jetty-util-8.1.18.v20150929.jar" "mime-util-2.1.3.jar" "basex-api-8.3.1.jar" "jdom-1.1.jar" "jetty-webapp-8.1.18.v20150929.jar" "slf4j-api-1.7.12.jar" "basex-xqj-1.5.0.jar" "jetty-continuation-8.1.18.v20150929.jar" "jetty-xml-8.1.18.v20150929.jar" "slf4j-simple-1.7.12.jar" "commons-codec-1.4.jar" "jetty-http-8.1.18.v20150929.jar" "jing-20091111.jar" "tagsoup-1.2.1.jar" "commons-fileupload-1.3.1.jar" "jetty-io-8.1.18.v20150929.jar" "jline-2.13.jar" "xml-resolver-1.2.jar" "commons-io-1.4.jar" "jetty-security-8.1.18.v20150929.jar" "jts-1.13.jar" "xmldb-api-1.0.jar" "igo-0.4.3.jar" "jetty-server-8.1.18.v20150929.jar" "lucene-stemmers-3.4.0.jar" "xqj-api-1.0.jar" "jansi-1.11.jar" "jetty-servlet-8.1.18.v20150929.jar" "milton-api-1.8.1.4.jar" "xqj2-0.2.0.jar" "basex-api.jar" "basex-xqj-1.4.0.jar" "commons-codec-1.4.jar" "commons-fileupload-1.3.1.jar" "commons-io-1.4.jar" "igo-0.4.3.jar" "javax.servlet-3.0.0.v201112011016.jar" "jdom-1.1.jar" "jetty-continuation-8.1.16.v20140903.jar" "jetty-http-8.1.16.v20140903.jar" "jetty-io-8.1.16.v20140903.jar" "jetty-security-8.1.16.v20140903.jar" "jetty-server-8.1.16.v20140903.jar" "jetty-servlet-8.1.16.v20140903.jar" "jetty-util-8.1.16.v20140903.jar" "jetty-webapp-8.1.16.v20140903.jar" "jetty-xml-8.1.16.v20140903.jar" "jline-2.12.jar" "jts-1.13.jar" "lucene-stemmers-3.4.0.jar" "milton-api-1.8.1.4.jar" "mime-util-2.1.3.jar" "slf4j-api-1.7.10.jar" "slf4j-simple-1.7.10.jar" "tagsoup-1.2.1.jar" "xml-resolver-1.2.jar" "xmldb-api-1.0.jar" "xqj-api-1.0.jar" "xqj2-0.2.0.jar")
  1698. + for OLDLIB in '${OLDLIBS[@]}'
  1699. + rm -f /var/lib/openinfoman/lib/basex-api-8.4.1.jar
  1700. + for OLDLIB in '${OLDLIBS[@]}'
  1701. + rm -f /var/lib/openinfoman/lib/basex-xqj-1.6.0.jar
  1702. + for OLDLIB in '${OLDLIBS[@]}'
  1703. + rm -f /var/lib/openinfoman/lib/javax.servlet-3.0.0.v201112011016.jar
  1704. + for OLDLIB in '${OLDLIBS[@]}'
  1705. + rm -f /var/lib/openinfoman/lib/jetty-util-8.1.18.v20150929.jar
  1706. + for OLDLIB in '${OLDLIBS[@]}'
  1707. + rm -f /var/lib/openinfoman/lib/mime-util-2.1.3.jar
  1708. + for OLDLIB in '${OLDLIBS[@]}'
  1709. + rm -f /var/lib/openinfoman/lib/basex-api-8.3.1.jar
  1710. + for OLDLIB in '${OLDLIBS[@]}'
  1711. + rm -f /var/lib/openinfoman/lib/jdom-1.1.jar
  1712. + for OLDLIB in '${OLDLIBS[@]}'
  1713. + rm -f /var/lib/openinfoman/lib/jetty-webapp-8.1.18.v20150929.jar
  1714. + for OLDLIB in '${OLDLIBS[@]}'
  1715. + rm -f /var/lib/openinfoman/lib/slf4j-api-1.7.12.jar
  1716. + for OLDLIB in '${OLDLIBS[@]}'
  1717. + rm -f /var/lib/openinfoman/lib/basex-xqj-1.5.0.jar
  1718. + for OLDLIB in '${OLDLIBS[@]}'
  1719. + rm -f /var/lib/openinfoman/lib/jetty-continuation-8.1.18.v20150929.jar
  1720. + for OLDLIB in '${OLDLIBS[@]}'
  1721. + rm -f /var/lib/openinfoman/lib/jetty-xml-8.1.18.v20150929.jar
  1722. + for OLDLIB in '${OLDLIBS[@]}'
  1723. + rm -f /var/lib/openinfoman/lib/slf4j-simple-1.7.12.jar
  1724. + for OLDLIB in '${OLDLIBS[@]}'
  1725. + rm -f /var/lib/openinfoman/lib/commons-codec-1.4.jar
  1726. + for OLDLIB in '${OLDLIBS[@]}'
  1727. + rm -f /var/lib/openinfoman/lib/jetty-http-8.1.18.v20150929.jar
  1728. + for OLDLIB in '${OLDLIBS[@]}'
  1729. + rm -f /var/lib/openinfoman/lib/jing-20091111.jar
  1730. + for OLDLIB in '${OLDLIBS[@]}'
  1731. + rm -f /var/lib/openinfoman/lib/tagsoup-1.2.1.jar
  1732. + for OLDLIB in '${OLDLIBS[@]}'
  1733. + rm -f /var/lib/openinfoman/lib/commons-fileupload-1.3.1.jar
  1734. + for OLDLIB in '${OLDLIBS[@]}'
  1735. + rm -f /var/lib/openinfoman/lib/jetty-io-8.1.18.v20150929.jar
  1736. + for OLDLIB in '${OLDLIBS[@]}'
  1737. + rm -f /var/lib/openinfoman/lib/jline-2.13.jar
  1738. + for OLDLIB in '${OLDLIBS[@]}'
  1739. + rm -f /var/lib/openinfoman/lib/xml-resolver-1.2.jar
  1740. + for OLDLIB in '${OLDLIBS[@]}'
  1741. + rm -f /var/lib/openinfoman/lib/commons-io-1.4.jar
  1742. + for OLDLIB in '${OLDLIBS[@]}'
  1743. + rm -f /var/lib/openinfoman/lib/jetty-security-8.1.18.v20150929.jar
  1744. + for OLDLIB in '${OLDLIBS[@]}'
  1745. + rm -f /var/lib/openinfoman/lib/jts-1.13.jar
  1746. + for OLDLIB in '${OLDLIBS[@]}'
  1747. + rm -f /var/lib/openinfoman/lib/xmldb-api-1.0.jar
  1748. + for OLDLIB in '${OLDLIBS[@]}'
  1749. + rm -f /var/lib/openinfoman/lib/igo-0.4.3.jar
  1750. + for OLDLIB in '${OLDLIBS[@]}'
  1751. + rm -f /var/lib/openinfoman/lib/jetty-server-8.1.18.v20150929.jar
  1752. + for OLDLIB in '${OLDLIBS[@]}'
  1753. + rm -f /var/lib/openinfoman/lib/lucene-stemmers-3.4.0.jar
  1754. + for OLDLIB in '${OLDLIBS[@]}'
  1755. + rm -f /var/lib/openinfoman/lib/xqj-api-1.0.jar
  1756. + for OLDLIB in '${OLDLIBS[@]}'
  1757. + rm -f /var/lib/openinfoman/lib/jansi-1.11.jar
  1758. + for OLDLIB in '${OLDLIBS[@]}'
  1759. + rm -f /var/lib/openinfoman/lib/jetty-servlet-8.1.18.v20150929.jar
  1760. + for OLDLIB in '${OLDLIBS[@]}'
  1761. + rm -f /var/lib/openinfoman/lib/milton-api-1.8.1.4.jar
  1762. + for OLDLIB in '${OLDLIBS[@]}'
  1763. + rm -f /var/lib/openinfoman/lib/xqj2-0.2.0.jar
  1764. + for OLDLIB in '${OLDLIBS[@]}'
  1765. + rm -f /var/lib/openinfoman/lib/basex-api.jar
  1766. + for OLDLIB in '${OLDLIBS[@]}'
  1767. + rm -f /var/lib/openinfoman/lib/basex-xqj-1.4.0.jar
  1768. + for OLDLIB in '${OLDLIBS[@]}'
  1769. + rm -f /var/lib/openinfoman/lib/commons-codec-1.4.jar
  1770. + for OLDLIB in '${OLDLIBS[@]}'
  1771. + rm -f /var/lib/openinfoman/lib/commons-fileupload-1.3.1.jar
  1772. + for OLDLIB in '${OLDLIBS[@]}'
  1773. + rm -f /var/lib/openinfoman/lib/commons-io-1.4.jar
  1774. + for OLDLIB in '${OLDLIBS[@]}'
  1775. + rm -f /var/lib/openinfoman/lib/igo-0.4.3.jar
  1776. + for OLDLIB in '${OLDLIBS[@]}'
  1777. + rm -f /var/lib/openinfoman/lib/javax.servlet-3.0.0.v201112011016.jar
  1778. + for OLDLIB in '${OLDLIBS[@]}'
  1779. + rm -f /var/lib/openinfoman/lib/jdom-1.1.jar
  1780. + for OLDLIB in '${OLDLIBS[@]}'
  1781. + rm -f /var/lib/openinfoman/lib/jetty-continuation-8.1.16.v20140903.jar
  1782. + for OLDLIB in '${OLDLIBS[@]}'
  1783. + rm -f /var/lib/openinfoman/lib/jetty-http-8.1.16.v20140903.jar
  1784. + for OLDLIB in '${OLDLIBS[@]}'
  1785. + rm -f /var/lib/openinfoman/lib/jetty-io-8.1.16.v20140903.jar
  1786. + for OLDLIB in '${OLDLIBS[@]}'
  1787. + rm -f /var/lib/openinfoman/lib/jetty-security-8.1.16.v20140903.jar
  1788. + for OLDLIB in '${OLDLIBS[@]}'
  1789. + rm -f /var/lib/openinfoman/lib/jetty-server-8.1.16.v20140903.jar
  1790. + for OLDLIB in '${OLDLIBS[@]}'
  1791. + rm -f /var/lib/openinfoman/lib/jetty-servlet-8.1.16.v20140903.jar
  1792. + for OLDLIB in '${OLDLIBS[@]}'
  1793. + rm -f /var/lib/openinfoman/lib/jetty-util-8.1.16.v20140903.jar
  1794. + for OLDLIB in '${OLDLIBS[@]}'
  1795. + rm -f /var/lib/openinfoman/lib/jetty-webapp-8.1.16.v20140903.jar
  1796. + for OLDLIB in '${OLDLIBS[@]}'
  1797. + rm -f /var/lib/openinfoman/lib/jetty-xml-8.1.16.v20140903.jar
  1798. + for OLDLIB in '${OLDLIBS[@]}'
  1799. + rm -f /var/lib/openinfoman/lib/jline-2.12.jar
  1800. + for OLDLIB in '${OLDLIBS[@]}'
  1801. + rm -f /var/lib/openinfoman/lib/jts-1.13.jar
  1802. + for OLDLIB in '${OLDLIBS[@]}'
  1803. + rm -f /var/lib/openinfoman/lib/lucene-stemmers-3.4.0.jar
  1804. + for OLDLIB in '${OLDLIBS[@]}'
  1805. + rm -f /var/lib/openinfoman/lib/milton-api-1.8.1.4.jar
  1806. + for OLDLIB in '${OLDLIBS[@]}'
  1807. + rm -f /var/lib/openinfoman/lib/mime-util-2.1.3.jar
  1808. + for OLDLIB in '${OLDLIBS[@]}'
  1809. + rm -f /var/lib/openinfoman/lib/slf4j-api-1.7.10.jar
  1810. + for OLDLIB in '${OLDLIBS[@]}'
  1811. + rm -f /var/lib/openinfoman/lib/slf4j-simple-1.7.10.jar
  1812. + for OLDLIB in '${OLDLIBS[@]}'
  1813. + rm -f /var/lib/openinfoman/lib/tagsoup-1.2.1.jar
  1814. + for OLDLIB in '${OLDLIBS[@]}'
  1815. + rm -f /var/lib/openinfoman/lib/xml-resolver-1.2.jar
  1816. + for OLDLIB in '${OLDLIBS[@]}'
  1817. + rm -f /var/lib/openinfoman/lib/xmldb-api-1.0.jar
  1818. + for OLDLIB in '${OLDLIBS[@]}'
  1819. + rm -f /var/lib/openinfoman/lib/xqj-api-1.0.jar
  1820. + for OLDLIB in '${OLDLIBS[@]}'
  1821. + rm -f /var/lib/openinfoman/lib/xqj2-0.2.0.jar
  1822. + case "$ACTION" in
  1823. + do_user
  1824. + getent group oi
  1825. + echo 'Creating group oi'
  1826. Creating group oi
  1827. + /usr/sbin/addgroup --quiet --system oi
  1828. + id -u oi
  1829. + echo 'user oi does not exist. adding.'
  1830. user oi does not exist. adding.
  1831. + /usr/sbin/useradd oi -g oi -m -s /bin/bash
  1832. + install_basex
  1833. + mkdir -p /var/lib/openinfoman
  1834. + /usr/bin/wget http://files.basex.org/releases/8.5.2/BaseX852.zip -O /tmp/openinfoman-basex/BaseX.zip
  1835. --2016-09-08 19:15:34-- http://files.basex.org/releases/8.5.2/BaseX852.zip
  1836. Resolving files.basex.org (files.basex.org)... 134.119.246.66, 2a00:1158:400:407::142
  1837. Connecting to files.basex.org (files.basex.org)|134.119.246.66|:80... connected.
  1838. HTTP request sent, awaiting response... 200 OK
  1839. Length: 8693466 (8.3M) [application/zip]
  1840. Saving to: ‘/tmp/openinfoman-basex/BaseX.zip’
  1841.  
  1842. 100%[====================================================================>] 8,693,466 2.14MB/s in 4.2s
  1843.  
  1844. 2016-09-08 19:15:38 (1.97 MB/s) - ‘/tmp/openinfoman-basex/BaseX.zip’ saved [8693466/8693466]
  1845.  
  1846. + /usr/bin/unzip -o -d /tmp/openinfoman-basex /tmp/openinfoman-basex/BaseX.zip
  1847. Archive: /tmp/openinfoman-basex/BaseX.zip
  1848. extracting: /tmp/openinfoman-basex/basex/.basexhome
  1849. inflating: /tmp/openinfoman-basex/basex/BaseX.jar
  1850. creating: /tmp/openinfoman-basex/basex/bin/
  1851. inflating: /tmp/openinfoman-basex/basex/bin/basex
  1852. inflating: /tmp/openinfoman-basex/basex/bin/basex.bat
  1853. inflating: /tmp/openinfoman-basex/basex/bin/basexclient
  1854. inflating: /tmp/openinfoman-basex/basex/bin/basexclient.bat
  1855. inflating: /tmp/openinfoman-basex/basex/bin/basexgui
  1856. inflating: /tmp/openinfoman-basex/basex/bin/basexgui.bat
  1857. inflating: /tmp/openinfoman-basex/basex/bin/basexhttp
  1858. inflating: /tmp/openinfoman-basex/basex/bin/basexhttp.bat
  1859. inflating: /tmp/openinfoman-basex/basex/bin/basexhttpstop
  1860. inflating: /tmp/openinfoman-basex/basex/bin/basexhttpstop.bat
  1861. inflating: /tmp/openinfoman-basex/basex/bin/basexserver
  1862. inflating: /tmp/openinfoman-basex/basex/bin/basexserver.bat
  1863. inflating: /tmp/openinfoman-basex/basex/bin/basexserverstop
  1864. inflating: /tmp/openinfoman-basex/basex/bin/basexserverstop.bat
  1865. inflating: /tmp/openinfoman-basex/basex/CHANGELOG
  1866. creating: /tmp/openinfoman-basex/basex/data/
  1867. creating: /tmp/openinfoman-basex/basex/etc/
  1868. inflating: /tmp/openinfoman-basex/basex/etc/factbook.xml
  1869. inflating: /tmp/openinfoman-basex/basex/etc/modules.zip
  1870. inflating: /tmp/openinfoman-basex/basex/etc/stopwords.txt
  1871. inflating: /tmp/openinfoman-basex/basex/etc/w3-catalog.xml
  1872. inflating: /tmp/openinfoman-basex/basex/etc/xhtml-lat1.ent
  1873. inflating: /tmp/openinfoman-basex/basex/etc/xhtml-special.ent
  1874. inflating: /tmp/openinfoman-basex/basex/etc/xhtml-symbol.ent
  1875. inflating: /tmp/openinfoman-basex/basex/etc/xhtml1-frameset.dtd
  1876. inflating: /tmp/openinfoman-basex/basex/etc/xhtml1-strict.dtd
  1877. inflating: /tmp/openinfoman-basex/basex/etc/xhtml1-transitional.dtd
  1878. creating: /tmp/openinfoman-basex/basex/lib/
  1879. inflating: /tmp/openinfoman-basex/basex/lib/basex-api-8.5.2.jar
  1880. inflating: /tmp/openinfoman-basex/basex/lib/basex-xqj-1.7.0.jar
  1881. inflating: /tmp/openinfoman-basex/basex/lib/commons-codec-1.4.jar
  1882. inflating: /tmp/openinfoman-basex/basex/lib/commons-fileupload-1.3.1.jar
  1883. inflating: /tmp/openinfoman-basex/basex/lib/commons-io-1.4.jar
  1884. inflating: /tmp/openinfoman-basex/basex/lib/igo-0.4.3.jar
  1885. inflating: /tmp/openinfoman-basex/basex/lib/jansi-1.11.jar
  1886. inflating: /tmp/openinfoman-basex/basex/lib/javax.servlet-3.0.0.v201112011016.jar
  1887. inflating: /tmp/openinfoman-basex/basex/lib/jdom-1.1.jar
  1888. inflating: /tmp/openinfoman-basex/basex/lib/jetty-continuation-8.1.18.v20150929.jar
  1889. inflating: /tmp/openinfoman-basex/basex/lib/jetty-http-8.1.18.v20150929.jar
  1890. inflating: /tmp/openinfoman-basex/basex/lib/jetty-io-8.1.18.v20150929.jar
  1891. inflating: /tmp/openinfoman-basex/basex/lib/jetty-security-8.1.18.v20150929.jar
  1892. inflating: /tmp/openinfoman-basex/basex/lib/jetty-server-8.1.18.v20150929.jar
  1893. inflating: /tmp/openinfoman-basex/basex/lib/jetty-servlet-8.1.18.v20150929.jar
  1894. inflating: /tmp/openinfoman-basex/basex/lib/jetty-util-8.1.18.v20150929.jar
  1895. inflating: /tmp/openinfoman-basex/basex/lib/jetty-webapp-8.1.18.v20150929.jar
  1896. inflating: /tmp/openinfoman-basex/basex/lib/jetty-xml-8.1.18.v20150929.jar
  1897. inflating: /tmp/openinfoman-basex/basex/lib/jing-20091111.jar
  1898. inflating: /tmp/openinfoman-basex/basex/lib/jline-2.13.jar
  1899. inflating: /tmp/openinfoman-basex/basex/lib/jts-1.13.jar
  1900. inflating: /tmp/openinfoman-basex/basex/lib/LICENSES
  1901. inflating: /tmp/openinfoman-basex/basex/lib/lucene-stemmers-3.4.0.jar
  1902. inflating: /tmp/openinfoman-basex/basex/lib/milton-api-1.8.1.4.jar
  1903. inflating: /tmp/openinfoman-basex/basex/lib/mime-util-2.1.3.jar
  1904. inflating: /tmp/openinfoman-basex/basex/lib/slf4j-api-1.7.13.jar
  1905. inflating: /tmp/openinfoman-basex/basex/lib/slf4j-simple-1.7.13.jar
  1906. inflating: /tmp/openinfoman-basex/basex/lib/tagsoup-1.2.1.jar
  1907. inflating: /tmp/openinfoman-basex/basex/lib/xml-resolver-1.2.jar
  1908. inflating: /tmp/openinfoman-basex/basex/lib/xmldb-api-1.0.jar
  1909. inflating: /tmp/openinfoman-basex/basex/lib/xqj-api-1.0.jar
  1910. inflating: /tmp/openinfoman-basex/basex/lib/xqj2-0.2.0.jar
  1911. inflating: /tmp/openinfoman-basex/basex/LICENSE
  1912. inflating: /tmp/openinfoman-basex/basex/readme.txt
  1913. creating: /tmp/openinfoman-basex/basex/repo/
  1914. creating: /tmp/openinfoman-basex/basex/webapp/
  1915. creating: /tmp/openinfoman-basex/basex/webapp/dba/
  1916. inflating: /tmp/openinfoman-basex/basex/webapp/dba/common.xqm
  1917. creating: /tmp/openinfoman-basex/basex/webapp/dba/databases/
  1918. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/alter-db.xqm
  1919. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/backups.xqm
  1920. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/copy.xqm
  1921. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/create-db.xqm
  1922. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/database.xqm
  1923. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/databases.xqm
  1924. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/drop-db.xqm
  1925. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/optimize.xqm
  1926. creating: /tmp/openinfoman-basex/basex/webapp/dba/databases/resources/
  1927. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/resources/add.xqm
  1928. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/resources/delete.xqm
  1929. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/resources/download.xqm
  1930. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/resources/query.xqm
  1931. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/resources/rename.xqm
  1932. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/resources/replace.xqm
  1933. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/resources/resource.xqm
  1934. inflating: /tmp/openinfoman-basex/basex/webapp/dba/Dockerfile
  1935. creating: /tmp/openinfoman-basex/basex/webapp/dba/files/
  1936. inflating: /tmp/openinfoman-basex/basex/webapp/dba/files/delete-files.xqm
  1937. inflating: /tmp/openinfoman-basex/basex/webapp/dba/files/files.xqm
  1938. inflating: /tmp/openinfoman-basex/basex/webapp/dba/files/upload-files.xqm
  1939. creating: /tmp/openinfoman-basex/basex/webapp/dba/jobs-users/
  1940. inflating: /tmp/openinfoman-basex/basex/webapp/dba/jobs-users/add-pattern.xqm
  1941. inflating: /tmp/openinfoman-basex/basex/webapp/dba/jobs-users/create-user.xqm
  1942. inflating: /tmp/openinfoman-basex/basex/webapp/dba/jobs-users/drop-pattern.xqm
  1943. inflating: /tmp/openinfoman-basex/basex/webapp/dba/jobs-users/drop-user.xqm
  1944. inflating: /tmp/openinfoman-basex/basex/webapp/dba/jobs-users/jobs-users.xqm
  1945. inflating: /tmp/openinfoman-basex/basex/webapp/dba/jobs-users/kill-session.xqm
  1946. inflating: /tmp/openinfoman-basex/basex/webapp/dba/jobs-users/stop-job.xq
  1947. inflating: /tmp/openinfoman-basex/basex/webapp/dba/jobs-users/user.xqm
  1948. inflating: /tmp/openinfoman-basex/basex/webapp/dba/login.xqm
  1949. creating: /tmp/openinfoman-basex/basex/webapp/dba/logs/
  1950. inflating: /tmp/openinfoman-basex/basex/webapp/dba/logs/delete-logs.xqm
  1951. inflating: /tmp/openinfoman-basex/basex/webapp/dba/logs/logs.xqm
  1952. creating: /tmp/openinfoman-basex/basex/webapp/dba/modules/
  1953. inflating: /tmp/openinfoman-basex/basex/webapp/dba/modules/cons.xqm
  1954. inflating: /tmp/openinfoman-basex/basex/webapp/dba/modules/html.xqm
  1955. inflating: /tmp/openinfoman-basex/basex/webapp/dba/modules/tmpl.xqm
  1956. inflating: /tmp/openinfoman-basex/basex/webapp/dba/modules/util.xqm
  1957. creating: /tmp/openinfoman-basex/basex/webapp/dba/queries/
  1958. inflating: /tmp/openinfoman-basex/basex/webapp/dba/queries/queries.xqm
  1959. creating: /tmp/openinfoman-basex/basex/webapp/dba/settings/
  1960. inflating: /tmp/openinfoman-basex/basex/webapp/dba/settings/settings.xqm
  1961. creating: /tmp/openinfoman-basex/basex/webapp/dba/static/
  1962. inflating: /tmp/openinfoman-basex/basex/webapp/dba/static/basex.svg
  1963. creating: /tmp/openinfoman-basex/basex/webapp/dba/static/codemirror/
  1964. creating: /tmp/openinfoman-basex/basex/webapp/dba/static/codemirror/lib/
  1965. inflating: /tmp/openinfoman-basex/basex/webapp/dba/static/codemirror/lib/codemirror.css
  1966. inflating: /tmp/openinfoman-basex/basex/webapp/dba/static/codemirror/lib/codemirror.js
  1967. creating: /tmp/openinfoman-basex/basex/webapp/dba/static/codemirror/mode/
  1968. creating: /tmp/openinfoman-basex/basex/webapp/dba/static/codemirror/mode/xml/
  1969. inflating: /tmp/openinfoman-basex/basex/webapp/dba/static/codemirror/mode/xml/xml.js
  1970. creating: /tmp/openinfoman-basex/basex/webapp/dba/static/codemirror/mode/xquery/
  1971. inflating: /tmp/openinfoman-basex/basex/webapp/dba/static/codemirror/mode/xquery/xquery.js
  1972. inflating: /tmp/openinfoman-basex/basex/webapp/dba/static/editor.js
  1973. inflating: /tmp/openinfoman-basex/basex/webapp/dba/static/js.js
  1974. inflating: /tmp/openinfoman-basex/basex/webapp/dba/static/style.css
  1975. inflating: /tmp/openinfoman-basex/basex/webapp/restxq.xqm
  1976. creating: /tmp/openinfoman-basex/basex/webapp/static/
  1977. extracting: /tmp/openinfoman-basex/basex/webapp/static/.ignore
  1978. inflating: /tmp/openinfoman-basex/basex/webapp/static/basex.svg
  1979. inflating: /tmp/openinfoman-basex/basex/webapp/static/style.css
  1980. creating: /tmp/openinfoman-basex/basex/webapp/WEB-INF/
  1981. inflating: /tmp/openinfoman-basex/basex/webapp/WEB-INF/jetty.xml
  1982. inflating: /tmp/openinfoman-basex/basex/webapp/WEB-INF/web.xml
  1983. + cp /tmp/openinfoman-basex/basex/BaseX.jar /var/lib/openinfoman
  1984. + DIRS=("bin" "etc" "lib" "webapp/dba")
  1985. + for DIR in '${DIRS[@]}'
  1986. + mkdir -p /var/lib/openinfoman/bin
  1987. + cp -R /tmp/openinfoman-basex/basex/bin/basex /tmp/openinfoman-basex/basex/bin/basex.bat /tmp/openinfoman-basex/basex/bin/basexclient /tmp/openinfoman-basex/basex/bin/basexclient.bat /tmp/openinfoman-basex/basex/bin/basexgui /tmp/openinfoman-basex/basex/bin/basexgui.bat /tmp/openinfoman-basex/basex/bin/basexhttp /tmp/openinfoman-basex/basex/bin/basexhttp.bat /tmp/openinfoman-basex/basex/bin/basexhttpstop /tmp/openinfoman-basex/basex/bin/basexhttpstop.bat /tmp/openinfoman-basex/basex/bin/basexserver /tmp/openinfoman-basex/basex/bin/basexserver.bat /tmp/openinfoman-basex/basex/bin/basexserverstop /tmp/openinfoman-basex/basex/bin/basexserverstop.bat /var/lib/openinfoman/bin
  1988. + for DIR in '${DIRS[@]}'
  1989. + mkdir -p /var/lib/openinfoman/etc
  1990. + cp -R /tmp/openinfoman-basex/basex/etc/factbook.xml /tmp/openinfoman-basex/basex/etc/modules.zip /tmp/openinfoman-basex/basex/etc/stopwords.txt /tmp/openinfoman-basex/basex/etc/w3-catalog.xml /tmp/openinfoman-basex/basex/etc/xhtml1-frameset.dtd /tmp/openinfoman-basex/basex/etc/xhtml1-strict.dtd /tmp/openinfoman-basex/basex/etc/xhtml1-transitional.dtd /tmp/openinfoman-basex/basex/etc/xhtml-lat1.ent /tmp/openinfoman-basex/basex/etc/xhtml-special.ent /tmp/openinfoman-basex/basex/etc/xhtml-symbol.ent /var/lib/openinfoman/etc
  1991. + for DIR in '${DIRS[@]}'
  1992. + mkdir -p /var/lib/openinfoman/lib
  1993. + cp -R /tmp/openinfoman-basex/basex/lib/basex-api-8.5.2.jar /tmp/openinfoman-basex/basex/lib/basex-xqj-1.7.0.jar /tmp/openinfoman-basex/basex/lib/commons-codec-1.4.jar /tmp/openinfoman-basex/basex/lib/commons-fileupload-1.3.1.jar /tmp/openinfoman-basex/basex/lib/commons-io-1.4.jar /tmp/openinfoman-basex/basex/lib/igo-0.4.3.jar /tmp/openinfoman-basex/basex/lib/jansi-1.11.jar /tmp/openinfoman-basex/basex/lib/javax.servlet-3.0.0.v201112011016.jar /tmp/openinfoman-basex/basex/lib/jdom-1.1.jar /tmp/openinfoman-basex/basex/lib/jetty-continuation-8.1.18.v20150929.jar /tmp/openinfoman-basex/basex/lib/jetty-http-8.1.18.v20150929.jar /tmp/openinfoman-basex/basex/lib/jetty-io-8.1.18.v20150929.jar /tmp/openinfoman-basex/basex/lib/jetty-security-8.1.18.v20150929.jar /tmp/openinfoman-basex/basex/lib/jetty-server-8.1.18.v20150929.jar /tmp/openinfoman-basex/basex/lib/jetty-servlet-8.1.18.v20150929.jar /tmp/openinfoman-basex/basex/lib/jetty-util-8.1.18.v20150929.jar /tmp/openinfoman-basex/basex/lib/jetty-webapp-8.1.18.v20150929.jar /tmp/openinfoman-basex/basex/lib/jetty-xml-8.1.18.v20150929.jar /tmp/openinfoman-basex/basex/lib/jing-20091111.jar /tmp/openinfoman-basex/basex/lib/jline-2.13.jar /tmp/openinfoman-basex/basex/lib/jts-1.13.jar /tmp/openinfoman-basex/basex/lib/LICENSES /tmp/openinfoman-basex/basex/lib/lucene-stemmers-3.4.0.jar /tmp/openinfoman-basex/basex/lib/milton-api-1.8.1.4.jar /tmp/openinfoman-basex/basex/lib/mime-util-2.1.3.jar /tmp/openinfoman-basex/basex/lib/slf4j-api-1.7.13.jar /tmp/openinfoman-basex/basex/lib/slf4j-simple-1.7.13.jar /tmp/openinfoman-basex/basex/lib/tagsoup-1.2.1.jar /tmp/openinfoman-basex/basex/lib/xmldb-api-1.0.jar /tmp/openinfoman-basex/basex/lib/xml-resolver-1.2.jar /tmp/openinfoman-basex/basex/lib/xqj2-0.2.0.jar /tmp/openinfoman-basex/basex/lib/xqj-api-1.0.jar /var/lib/openinfoman/lib
  1994. + for DIR in '${DIRS[@]}'
  1995. + mkdir -p /var/lib/openinfoman/webapp/dba
  1996. + cp -R /tmp/openinfoman-basex/basex/webapp/dba/common.xqm /tmp/openinfoman-basex/basex/webapp/dba/databases /tmp/openinfoman-basex/basex/webapp/dba/Dockerfile /tmp/openinfoman-basex/basex/webapp/dba/files /tmp/openinfoman-basex/basex/webapp/dba/jobs-users /tmp/openinfoman-basex/basex/webapp/dba/login.xqm /tmp/openinfoman-basex/basex/webapp/dba/logs /tmp/openinfoman-basex/basex/webapp/dba/modules /tmp/openinfoman-basex/basex/webapp/dba/queries /tmp/openinfoman-basex/basex/webapp/dba/settings /tmp/openinfoman-basex/basex/webapp/dba/static /var/lib/openinfoman/webapp/dba
  1997. + exit 0
  1998. Unpacking openinfoman (1.4.37~trusty) ...
  1999. Selecting previously unselected package openinfoman-dhis.
  2000. Preparing to unpack .../openinfoman-dhis_1.4.11~trusty_all.deb ...
  2001. Unpacking openinfoman-dhis (1.4.11~trusty) ...
  2002. Selecting previously unselected package openinfoman-datim.
  2003. Preparing to unpack .../openinfoman-datim_1.2.2~trusty_all.deb ...
  2004. Unpacking openinfoman-datim (1.2.2~trusty) ...
  2005. Selecting previously unselected package openinfoman-csv.
  2006. Preparing to unpack .../openinfoman-csv_1.2.1~trusty_all.deb ...
  2007. Unpacking openinfoman-csv (1.2.1~trusty) ...
  2008. Selecting previously unselected package openinfoman-mapping.
  2009. Preparing to unpack .../openinfoman-mapping_1.0.3~trusty_all.deb ...
  2010. Unpacking openinfoman-mapping (1.0.3~trusty) ...
  2011. Selecting previously unselected package openhim-console.
  2012. Preparing to unpack .../openhim-console_1.7.0-11~trusty_all.deb ...
  2013. Unpacking openhim-console (1.7.0-11~trusty) ...
  2014. Selecting previously unselected package user-management.
  2015. Preparing to unpack .../user-management_0.3.2-1ubuntu1_amd64.deb ...
  2016. Unpacking user-management (0.3.2-1ubuntu1) ...
  2017. Selecting previously unselected package approvals.
  2018. Preparing to unpack .../approvals_0.4.9-1ubuntu1_amd64.deb ...
  2019. Unpacking approvals (0.4.9-1ubuntu1) ...
  2020. Selecting previously unselected package dhis2-datim.
  2021. Preparing to unpack .../dhis2-datim_1.0.0-1ubuntu25_amd64.deb ...
  2022. Unpacking dhis2-datim (1.0.0-1ubuntu25) ...
  2023. Selecting previously unselected package csd-loader.
  2024. Preparing to unpack .../csd-loader_1.2.11-0ubuntu1_amd64.deb ...
  2025. Unpacking csd-loader (1.2.11-0ubuntu1) ...
  2026. Selecting previously unselected package libxml2-utils.
  2027. Preparing to unpack .../libxml2-utils_2.9.1+dfsg1-3ubuntu4.8_amd64.deb ...
  2028. Unpacking libxml2-utils (2.9.1+dfsg1-3ubuntu4.8) ...
  2029. Selecting previously unselected package jshon.
  2030. Preparing to unpack .../jshon_20131010-3_amd64.deb ...
  2031. Unpacking jshon (20131010-3) ...
  2032. Selecting previously unselected package openhim-config-datim4u.
  2033. Preparing to unpack .../openhim-config-datim4u_0.3.0-6~trusty_amd64.deb ...
  2034. Unpacking openhim-config-datim4u (0.3.0-6~trusty) ...
  2035. Selecting previously unselected package datim-mapping.
  2036. Preparing to unpack .../datim-mapping_1.0.0-1ubuntu1_amd64.deb ...
  2037. Unpacking datim-mapping (1.0.0-1ubuntu1) ...
  2038. Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
  2039. Processing triggers for ureadahead (0.100.0-16) ...
  2040. Setting up jq (1.3-1.1ubuntu1) ...
  2041. Setting up mongodb-org-shell (3.2.9) ...
  2042. Setting up mongodb-org-server (3.2.9) ...
  2043. Adding system user `mongodb' (UID 108) ...
  2044. Adding new user `mongodb' (UID 108) with group `nogroup' ...
  2045. Not creating home directory `/home/mongodb'.
  2046. Adding group `mongodb' (GID 116) ...
  2047. Done.
  2048. Adding user `mongodb' to group `mongodb' ...
  2049. Adding user mongodb to group mongodb
  2050. Done.
  2051. mongod start/running, process 18907
  2052. Setting up mongodb-org-mongos (3.2.9) ...
  2053. Setting up mongodb-org-tools (3.2.9) ...
  2054. Setting up liberror-perl (0.17-1.1) ...
  2055. Setting up git-man (1:1.9.1-1ubuntu0.3) ...
  2056. Setting up git (1:1.9.1-1ubuntu0.3) ...
  2057. Processing triggers for ureadahead (0.100.0-16) ...
  2058. Setting up mongodb-org (3.2.9) ...
  2059. Setting up openhim-core-js (3.0.0-13~trusty) ...
  2060. mkdir: cannot create directory ‘/etc/openhim/’: File exists
  2061. Fetching shiny new config file from github ...
  2062. --2016-09-08 19:15:59-- https://raw.githubusercontent.com/jembi/openhim-core-js/v3.0.0/config/default.json
  2063. Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.32.133
  2064. Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.32.133|:443... connected.
  2065. HTTP request sent, awaiting response... 200 OK
  2066. Length: 2314 (2.3K) [text/plain]
  2067. Saving to: ‘/etc/openhim/config.json’
  2068.  
  2069. 100%[====================================================================>] 2,314 --.-K/s in 0s
  2070.  
  2071. 2016-09-08 19:15:59 (15.2 MB/s) - ‘/etc/openhim/config.json’ saved [2314/2314]
  2072.  
  2073. Installing node version manager for openhim user ...
  2074. % Total % Received % Xferd Average Speed Time Time Time Current
  2075. Dload Upload Total Spent Left Speed
  2076. 100 7728 100 7728 0 0 77722 0 --:--:-- --:--:-- --:--:-- 78857
  2077. Cloning into '/home/openhim/.nvm'...
  2078. remote: Counting objects: 5375, done.
  2079. remote: Compressing objects: 100% (7/7), done.
  2080. remote: Total 5375 (delta 1), reused 0 (delta 0), pack-reused 5368
  2081. Receiving objects: 100% (5375/5375), 1.50 MiB | 0 bytes/s, done.
  2082. Resolving deltas: 100% (3244/3244), done.
  2083. Checking connectivity... done.
  2084. Installing node.js 0.12.7 via nvm ...
  2085. ######################################################################## 100.0%
  2086. Now using node v0.12.7 (npm v2.11.3)
  2087. default -> 0.12.7 (-> v0.12.7)
  2088. Now using node v0.12.7 (npm v2.11.3)
  2089. openhim-core start/running, process 19468
  2090. Selecting previously unselected package ohie-datim-node.
  2091. (Reading database ... 109032 files and directories currently installed.)
  2092. Preparing to unpack .../ohie-datim-node_1.0.0-0ubuntu8_amd64.deb ...
  2093. openhim-core stop/waiting
  2094. openhim-core start/running, process 19491
  2095. Unpacking ohie-datim-node (1.0.0-0ubuntu8) ...
  2096. Selecting previously unselected package php5-readline.
  2097. Preparing to unpack .../php5-readline_5.5.9+dfsg-1ubuntu4.19_amd64.deb ...
  2098. Unpacking php5-readline (5.5.9+dfsg-1ubuntu4.19) ...
  2099. Selecting previously unselected package gsfonts.
  2100. Preparing to unpack .../gsfonts_1%3a8.11+urwcyr1.0.7~pre44-4.2ubuntu1_all.deb ...
  2101. Unpacking gsfonts (1:8.11+urwcyr1.0.7~pre44-4.2ubuntu1) ...
  2102. Selecting previously unselected package x11-common.
  2103. Preparing to unpack .../x11-common_1%3a7.7+1ubuntu8.1_all.deb ...
  2104. Unpacking x11-common (1:7.7+1ubuntu8.1) ...
  2105. Selecting previously unselected package xfonts-encodings.
  2106. Preparing to unpack .../xfonts-encodings_1%3a1.0.4-1ubuntu1_all.deb ...
  2107. Unpacking xfonts-encodings (1:1.0.4-1ubuntu1) ...
  2108. Selecting previously unselected package xfonts-utils.
  2109. Preparing to unpack .../xfonts-utils_1%3a7.7+1_amd64.deb ...
  2110. Unpacking xfonts-utils (1:7.7+1) ...
  2111. Selecting previously unselected package gsfonts-x11.
  2112. Preparing to unpack .../gsfonts-x11_0.22_all.deb ...
  2113. Unpacking gsfonts-x11 (0.22) ...
  2114. Selecting previously unselected package libgeronimo-jta-1.1-spec-java.
  2115. Preparing to unpack .../libgeronimo-jta-1.1-spec-java_1.1.1-3ubuntu1_all.deb ...
  2116. Unpacking libgeronimo-jta-1.1-spec-java (1.1.1-3ubuntu1) ...
  2117. Selecting previously unselected package authbind.
  2118. Preparing to unpack .../authbind_2.1.1_amd64.deb ...
  2119. Unpacking authbind (2.1.1) ...
  2120. Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
  2121. Processing triggers for ureadahead (0.100.0-16) ...
  2122. Setting up adxadapter (1.0.0-0ubuntu10) ...
  2123. Setting up libfontenc1:amd64 (1:1.1.2-1) ...
  2124. Setting up libjansson4:amd64 (2.5-2) ...
  2125. Setting up libxfont1:amd64 (1:1.4.7-1ubuntu0.2) ...
  2126. Setting up openhim-console (1.7.0-11~trusty) ...
  2127. mkdir: cannot create directory ‘/etc/openhim’: File exists
  2128. * Reloading nginx configuration nginx [ OK ]
  2129. Successfully installed the OpenHIM-console!
  2130. Setting up user-management (0.3.2-1ubuntu1) ...
  2131. Setting up approvals (0.4.9-1ubuntu1) ...
  2132. Setting up dhis2-datim (1.0.0-1ubuntu25) ...
  2133. To configure DHIS2 for DATIM please run: sudo datim-config
  2134. Setting up csd-loader (1.2.11-0ubuntu1) ...
  2135. Setting up libxml2-utils (2.9.1+dfsg1-3ubuntu4.8) ...
  2136. Setting up jshon (20131010-3) ...
  2137. Setting up openhim-config-datim4u (0.3.0-6~trusty) ...
  2138. Configured for OpenHIM server 104.131.107.90:5008 using user root@openhim.org
  2139. =====Attempting to insert a CLIENT======
  2140. * Hostname was NOT found in DNS cache
  2141. * Trying 104.131.107.90...
  2142. * Connected to 104.131.107.90 (104.131.107.90) port 5008 (#0)
  2143. * successfully set certificate verify locations:
  2144. * CAfile: none
  2145. CApath: /etc/ssl/certs
  2146. * SSLv3, TLS handshake, Client hello (1):
  2147. * SSLv3, TLS handshake, Server hello (2):
  2148. * SSLv3, TLS handshake, CERT (11):
  2149. * SSLv3, TLS handshake, Server key exchange (12):
  2150. * SSLv3, TLS handshake, Server finished (14):
  2151. * SSLv3, TLS handshake, Client key exchange (16):
  2152. * SSLv3, TLS change cipher, Client hello (1):
  2153. * SSLv3, TLS handshake, Finished (20):
  2154. * SSLv3, TLS change cipher, Client hello (1):
  2155. * SSLv3, TLS handshake, Finished (20):
  2156. * SSL connection using ECDHE-RSA-AES256-GCM-SHA384
  2157. * Server certificate:
  2158. * subject: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  2159. * start date: 2015-02-20 09:57:12 GMT
  2160. * expire date: 2015-02-20 09:57:12 GMT
  2161. * issuer: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  2162. * SSL certificate verify result: self signed certificate (18), continuing anyway.
  2163. > POST /clients HTTP/1.1
  2164. > User-Agent: curl/7.35.0
  2165. > Host: 104.131.107.90:5008
  2166. > Accept: */*
  2167. > Content-Type: application/json
  2168. > auth-username: root@openhim.org
  2169. > auth-ts: 2016-09-08T19:16:29.754Z
  2170. > auth-salt: d9bcb40e-ae65-478f-962e-5e5e5e7d0a01
  2171. > auth-token: ec94a7da8285a5db7f6dab4532c5a315809a77455d002d8bd3fa711b397dd9534ff4a3065f68b4afb8d312c074574c3adcf633ec17cc49e239d64a93d66ec031
  2172. > Content-Length: 373
  2173. >
  2174. * upload completely sent off: 373 out of 373 bytes
  2175. < HTTP/1.1 201 Created
  2176. < Access-Control-Allow-Origin: *
  2177. < Access-Control-Allow-Methods: GET,HEAD,PUT,POST,DELETE
  2178. < Content-Type: text/plain; charset=utf-8
  2179. < Content-Length: 27
  2180. < Date: Thu, 08 Sep 2016 19:16:29 GMT
  2181. < Connection: keep-alive
  2182. <
  2183. * Connection #0 to host 104.131.107.90 left intact
  2184. Client successfully created
  2185. =====DONE======
  2186. =====Attempting to insert a CLIENT======
  2187. * Hostname was NOT found in DNS cache
  2188. * Trying 104.131.107.90...
  2189. * Connected to 104.131.107.90 (104.131.107.90) port 5008 (#0)
  2190. * successfully set certificate verify locations:
  2191. * CAfile: none
  2192. CApath: /etc/ssl/certs
  2193. * SSLv3, TLS handshake, Client hello (1):
  2194. * SSLv3, TLS handshake, Server hello (2):
  2195. * SSLv3, TLS handshake, CERT (11):
  2196. * SSLv3, TLS handshake, Server key exchange (12):
  2197. * SSLv3, TLS handshake, Server finished (14):
  2198. * SSLv3, TLS handshake, Client key exchange (16):
  2199. * SSLv3, TLS change cipher, Client hello (1):
  2200. * SSLv3, TLS handshake, Finished (20):
  2201. * SSLv3, TLS change cipher, Client hello (1):
  2202. * SSLv3, TLS handshake, Finished (20):
  2203. * SSL connection using ECDHE-RSA-AES256-GCM-SHA384
  2204. * Server certificate:
  2205. * subject: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  2206. * start date: 2015-02-20 09:57:12 GMT
  2207. * expire date: 2015-02-20 09:57:12 GMT
  2208. * issuer: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  2209. * SSL certificate verify result: self signed certificate (18), continuing anyway.
  2210. > POST /clients HTTP/1.1
  2211. > User-Agent: curl/7.35.0
  2212. > Host: 104.131.107.90:5008
  2213. > Accept: */*
  2214. > Content-Type: application/json
  2215. > auth-username: root@openhim.org
  2216. > auth-ts: 2016-09-08T19:16:29.754Z
  2217. > auth-salt: d9bcb40e-ae65-478f-962e-5e5e5e7d0a01
  2218. > auth-token: ec94a7da8285a5db7f6dab4532c5a315809a77455d002d8bd3fa711b397dd9534ff4a3065f68b4afb8d312c074574c3adcf633ec17cc49e239d64a93d66ec031
  2219. > Content-Length: 373
  2220. >
  2221. * upload completely sent off: 373 out of 373 bytes
  2222. < HTTP/1.1 201 Created
  2223. < Access-Control-Allow-Origin: *
  2224. < Access-Control-Allow-Methods: GET,HEAD,PUT,POST,DELETE
  2225. < Content-Type: text/plain; charset=utf-8
  2226. < Content-Length: 27
  2227. < Date: Thu, 08 Sep 2016 19:16:29 GMT
  2228. < Connection: keep-alive
  2229. <
  2230. * Connection #0 to host 104.131.107.90 left intact
  2231. Client successfully created
  2232. =====DONE======
  2233. =====Attempting to insert a CHANNEL======
  2234. * Hostname was NOT found in DNS cache
  2235. * Trying 104.131.107.90...
  2236. * Connected to 104.131.107.90 (104.131.107.90) port 5008 (#0)
  2237. * successfully set certificate verify locations:
  2238. * CAfile: none
  2239. CApath: /etc/ssl/certs
  2240. * SSLv3, TLS handshake, Client hello (1):
  2241. * SSLv3, TLS handshake, Server hello (2):
  2242. * SSLv3, TLS handshake, CERT (11):
  2243. * SSLv3, TLS handshake, Server key exchange (12):
  2244. * SSLv3, TLS handshake, Server finished (14):
  2245. * SSLv3, TLS handshake, Client key exchange (16):
  2246. * SSLv3, TLS change cipher, Client hello (1):
  2247. * SSLv3, TLS handshake, Finished (20):
  2248. * SSLv3, TLS change cipher, Client hello (1):
  2249. * SSLv3, TLS handshake, Finished (20):
  2250. * SSL connection using ECDHE-RSA-AES256-GCM-SHA384
  2251. * Server certificate:
  2252. * subject: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  2253. * start date: 2015-02-20 09:57:12 GMT
  2254. * expire date: 2015-02-20 09:57:12 GMT
  2255. * issuer: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  2256. * SSL certificate verify result: self signed certificate (18), continuing anyway.
  2257. > POST /channels HTTP/1.1
  2258. > User-Agent: curl/7.35.0
  2259. > Host: 104.131.107.90:5008
  2260. > Accept: */*
  2261. > Content-Type: application/json
  2262. > auth-username: root@openhim.org
  2263. > auth-ts: 2016-09-08T19:16:29.754Z
  2264. > auth-salt: d9bcb40e-ae65-478f-962e-5e5e5e7d0a01
  2265. > auth-token: ec94a7da8285a5db7f6dab4532c5a315809a77455d002d8bd3fa711b397dd9534ff4a3065f68b4afb8d312c074574c3adcf633ec17cc49e239d64a93d66ec031
  2266. > Content-Length: 739
  2267. >
  2268. * upload completely sent off: 739 out of 739 bytes
  2269. < HTTP/1.1 201 Created
  2270. < Access-Control-Allow-Origin: *
  2271. < Access-Control-Allow-Methods: GET,HEAD,PUT,POST,DELETE
  2272. < Content-Type: text/plain; charset=utf-8
  2273. < Content-Length: 28
  2274. < Date: Thu, 08 Sep 2016 19:16:30 GMT
  2275. < Connection: keep-alive
  2276. <
  2277. * Connection #0 to host 104.131.107.90 left intact
  2278. Channel successfully created
  2279. =====DONE======
  2280. =====Attempting to insert a CHANNEL======
  2281. * Hostname was NOT found in DNS cache
  2282. * Trying 104.131.107.90...
  2283. * Connected to 104.131.107.90 (104.131.107.90) port 5008 (#0)
  2284. * successfully set certificate verify locations:
  2285. * CAfile: none
  2286. CApath: /etc/ssl/certs
  2287. * SSLv3, TLS handshake, Client hello (1):
  2288. * SSLv3, TLS handshake, Server hello (2):
  2289. * SSLv3, TLS handshake, CERT (11):
  2290. * SSLv3, TLS handshake, Server key exchange (12):
  2291. * SSLv3, TLS handshake, Server finished (14):
  2292. * SSLv3, TLS handshake, Client key exchange (16):
  2293. * SSLv3, TLS change cipher, Client hello (1):
  2294. * SSLv3, TLS handshake, Finished (20):
  2295. * SSLv3, TLS change cipher, Client hello (1):
  2296. * SSLv3, TLS handshake, Finished (20):
  2297. * SSL connection using ECDHE-RSA-AES256-GCM-SHA384
  2298. * Server certificate:
  2299. * subject: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  2300. * start date: 2015-02-20 09:57:12 GMT
  2301. * expire date: 2015-02-20 09:57:12 GMT
  2302. * issuer: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  2303. * SSL certificate verify result: self signed certificate (18), continuing anyway.
  2304. > POST /channels HTTP/1.1
  2305. > User-Agent: curl/7.35.0
  2306. > Host: 104.131.107.90:5008
  2307. > Accept: */*
  2308. > Content-Type: application/json
  2309. > auth-username: root@openhim.org
  2310. > auth-ts: 2016-09-08T19:16:29.754Z
  2311. > auth-salt: d9bcb40e-ae65-478f-962e-5e5e5e7d0a01
  2312. > auth-token: ec94a7da8285a5db7f6dab4532c5a315809a77455d002d8bd3fa711b397dd9534ff4a3065f68b4afb8d312c074574c3adcf633ec17cc49e239d64a93d66ec031
  2313. > Content-Length: 776
  2314. >
  2315. * upload completely sent off: 776 out of 776 bytes
  2316. < HTTP/1.1 201 Created
  2317. < Access-Control-Allow-Origin: *
  2318. < Access-Control-Allow-Methods: GET,HEAD,PUT,POST,DELETE
  2319. < Content-Type: text/plain; charset=utf-8
  2320. < Content-Length: 28
  2321. < Date: Thu, 08 Sep 2016 19:16:30 GMT
  2322. < Connection: keep-alive
  2323. <
  2324. * Connection #0 to host 104.131.107.90 left intact
  2325. Channel successfully created
  2326. =====DONE======
  2327. =====Attempting to insert a CHANNEL======
  2328. * Hostname was NOT found in DNS cache
  2329. * Trying 104.131.107.90...
  2330. * Connected to 104.131.107.90 (104.131.107.90) port 5008 (#0)
  2331. * successfully set certificate verify locations:
  2332. * CAfile: none
  2333. CApath: /etc/ssl/certs
  2334. * SSLv3, TLS handshake, Client hello (1):
  2335. * SSLv3, TLS handshake, Server hello (2):
  2336. * SSLv3, TLS handshake, CERT (11):
  2337. * SSLv3, TLS handshake, Server key exchange (12):
  2338. * SSLv3, TLS handshake, Server finished (14):
  2339. * SSLv3, TLS handshake, Client key exchange (16):
  2340. * SSLv3, TLS change cipher, Client hello (1):
  2341. * SSLv3, TLS handshake, Finished (20):
  2342. * SSLv3, TLS change cipher, Client hello (1):
  2343. * SSLv3, TLS handshake, Finished (20):
  2344. * SSL connection using ECDHE-RSA-AES256-GCM-SHA384
  2345. * Server certificate:
  2346. * subject: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  2347. * start date: 2015-02-20 09:57:12 GMT
  2348. * expire date: 2015-02-20 09:57:12 GMT
  2349. * issuer: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  2350. * SSL certificate verify result: self signed certificate (18), continuing anyway.
  2351. > POST /channels HTTP/1.1
  2352. > User-Agent: curl/7.35.0
  2353. > Host: 104.131.107.90:5008
  2354. > Accept: */*
  2355. > Content-Type: application/json
  2356. > auth-username: root@openhim.org
  2357. > auth-ts: 2016-09-08T19:16:29.754Z
  2358. > auth-salt: d9bcb40e-ae65-478f-962e-5e5e5e7d0a01
  2359. > auth-token: ec94a7da8285a5db7f6dab4532c5a315809a77455d002d8bd3fa711b397dd9534ff4a3065f68b4afb8d312c074574c3adcf633ec17cc49e239d64a93d66ec031
  2360. > Content-Length: 790
  2361. >
  2362. * upload completely sent off: 790 out of 790 bytes
  2363. < HTTP/1.1 201 Created
  2364. < Access-Control-Allow-Origin: *
  2365. < Access-Control-Allow-Methods: GET,HEAD,PUT,POST,DELETE
  2366. < Content-Type: text/plain; charset=utf-8
  2367. < Content-Length: 28
  2368. < Date: Thu, 08 Sep 2016 19:16:30 GMT
  2369. < Connection: keep-alive
  2370. <
  2371. * Connection #0 to host 104.131.107.90 left intact
  2372. Channel successfully created
  2373. =====DONE======
  2374. =====Attempting to insert a CHANNEL======
  2375. * Hostname was NOT found in DNS cache
  2376. * Trying 104.131.107.90...
  2377. * Connected to 104.131.107.90 (104.131.107.90) port 5008 (#0)
  2378. * successfully set certificate verify locations:
  2379. * CAfile: none
  2380. CApath: /etc/ssl/certs
  2381. * SSLv3, TLS handshake, Client hello (1):
  2382. * SSLv3, TLS handshake, Server hello (2):
  2383. * SSLv3, TLS handshake, CERT (11):
  2384. * SSLv3, TLS handshake, Server key exchange (12):
  2385. * SSLv3, TLS handshake, Server finished (14):
  2386. * SSLv3, TLS handshake, Client key exchange (16):
  2387. * SSLv3, TLS change cipher, Client hello (1):
  2388. * SSLv3, TLS handshake, Finished (20):
  2389. * SSLv3, TLS change cipher, Client hello (1):
  2390. * SSLv3, TLS handshake, Finished (20):
  2391. * SSL connection using ECDHE-RSA-AES256-GCM-SHA384
  2392. * Server certificate:
  2393. * subject: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  2394. * start date: 2015-02-20 09:57:12 GMT
  2395. * expire date: 2015-02-20 09:57:12 GMT
  2396. * issuer: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  2397. * SSL certificate verify result: self signed certificate (18), continuing anyway.
  2398. > POST /channels HTTP/1.1
  2399. > User-Agent: curl/7.35.0
  2400. > Host: 104.131.107.90:5008
  2401. > Accept: */*
  2402. > Content-Type: application/json
  2403. > auth-username: root@openhim.org
  2404. > auth-ts: 2016-09-08T19:16:29.754Z
  2405. > auth-salt: d9bcb40e-ae65-478f-962e-5e5e5e7d0a01
  2406. > auth-token: ec94a7da8285a5db7f6dab4532c5a315809a77455d002d8bd3fa711b397dd9534ff4a3065f68b4afb8d312c074574c3adcf633ec17cc49e239d64a93d66ec031
  2407. > Content-Length: 788
  2408. >
  2409. * upload completely sent off: 788 out of 788 bytes
  2410. < HTTP/1.1 201 Created
  2411. < Access-Control-Allow-Origin: *
  2412. < Access-Control-Allow-Methods: GET,HEAD,PUT,POST,DELETE
  2413. < Content-Type: text/plain; charset=utf-8
  2414. < Content-Length: 28
  2415. < Date: Thu, 08 Sep 2016 19:16:30 GMT
  2416. < Connection: keep-alive
  2417. <
  2418. * Connection #0 to host 104.131.107.90 left intact
  2419. Channel successfully created
  2420. =====DONE======
  2421. =====Attempting to insert a CHANNEL======
  2422. * Hostname was NOT found in DNS cache
  2423. * Trying 104.131.107.90...
  2424. * Connected to 104.131.107.90 (104.131.107.90) port 5008 (#0)
  2425. * successfully set certificate verify locations:
  2426. * CAfile: none
  2427. CApath: /etc/ssl/certs
  2428. * SSLv3, TLS handshake, Client hello (1):
  2429. * SSLv3, TLS handshake, Server hello (2):
  2430. * SSLv3, TLS handshake, CERT (11):
  2431. * SSLv3, TLS handshake, Server key exchange (12):
  2432. * SSLv3, TLS handshake, Server finished (14):
  2433. * SSLv3, TLS handshake, Client key exchange (16):
  2434. * SSLv3, TLS change cipher, Client hello (1):
  2435. * SSLv3, TLS handshake, Finished (20):
  2436. * SSLv3, TLS change cipher, Client hello (1):
  2437. * SSLv3, TLS handshake, Finished (20):
  2438. * SSL connection using ECDHE-RSA-AES256-GCM-SHA384
  2439. * Server certificate:
  2440. * subject: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  2441. * start date: 2015-02-20 09:57:12 GMT
  2442. * expire date: 2015-02-20 09:57:12 GMT
  2443. * issuer: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  2444. * SSL certificate verify result: self signed certificate (18), continuing anyway.
  2445. > POST /channels HTTP/1.1
  2446. > User-Agent: curl/7.35.0
  2447. > Host: 104.131.107.90:5008
  2448. > Accept: */*
  2449. > Content-Type: application/json
  2450. > auth-username: root@openhim.org
  2451. > auth-ts: 2016-09-08T19:16:29.754Z
  2452. > auth-salt: d9bcb40e-ae65-478f-962e-5e5e5e7d0a01
  2453. > auth-token: ec94a7da8285a5db7f6dab4532c5a315809a77455d002d8bd3fa711b397dd9534ff4a3065f68b4afb8d312c074574c3adcf633ec17cc49e239d64a93d66ec031
  2454. > Content-Length: 723
  2455. >
  2456. * upload completely sent off: 723 out of 723 bytes
  2457. < HTTP/1.1 201 Created
  2458. < Access-Control-Allow-Origin: *
  2459. < Access-Control-Allow-Methods: GET,HEAD,PUT,POST,DELETE
  2460. < Content-Type: text/plain; charset=utf-8
  2461. < Content-Length: 28
  2462. < Date: Thu, 08 Sep 2016 19:16:30 GMT
  2463. < Connection: keep-alive
  2464. <
  2465. * Connection #0 to host 104.131.107.90 left intact
  2466. Channel successfully created
  2467. =====DONE======
  2468. =====Attempting to insert a CHANNEL======
  2469. * Hostname was NOT found in DNS cache
  2470. * Trying 104.131.107.90...
  2471. * Connected to 104.131.107.90 (104.131.107.90) port 5008 (#0)
  2472. * successfully set certificate verify locations:
  2473. * CAfile: none
  2474. CApath: /etc/ssl/certs
  2475. * SSLv3, TLS handshake, Client hello (1):
  2476. * SSLv3, TLS handshake, Server hello (2):
  2477. * SSLv3, TLS handshake, CERT (11):
  2478. * SSLv3, TLS handshake, Server key exchange (12):
  2479. * SSLv3, TLS handshake, Server finished (14):
  2480. * SSLv3, TLS handshake, Client key exchange (16):
  2481. * SSLv3, TLS change cipher, Client hello (1):
  2482. * SSLv3, TLS handshake, Finished (20):
  2483. * SSLv3, TLS change cipher, Client hello (1):
  2484. * SSLv3, TLS handshake, Finished (20):
  2485. * SSL connection using ECDHE-RSA-AES256-GCM-SHA384
  2486. * Server certificate:
  2487. * subject: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  2488. * start date: 2015-02-20 09:57:12 GMT
  2489. * expire date: 2015-02-20 09:57:12 GMT
  2490. * issuer: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  2491. * SSL certificate verify result: self signed certificate (18), continuing anyway.
  2492. > POST /channels HTTP/1.1
  2493. > User-Agent: curl/7.35.0
  2494. > Host: 104.131.107.90:5008
  2495. > Accept: */*
  2496. > Content-Type: application/json
  2497. > auth-username: root@openhim.org
  2498. > auth-ts: 2016-09-08T19:16:29.754Z
  2499. > auth-salt: d9bcb40e-ae65-478f-962e-5e5e5e7d0a01
  2500. > auth-token: ec94a7da8285a5db7f6dab4532c5a315809a77455d002d8bd3fa711b397dd9534ff4a3065f68b4afb8d312c074574c3adcf633ec17cc49e239d64a93d66ec031
  2501. > Content-Length: 705
  2502. >
  2503. * upload completely sent off: 705 out of 705 bytes
  2504. < HTTP/1.1 201 Created
  2505. < Access-Control-Allow-Origin: *
  2506. < Access-Control-Allow-Methods: GET,HEAD,PUT,POST,DELETE
  2507. < Content-Type: text/plain; charset=utf-8
  2508. < Content-Length: 28
  2509. < Date: Thu, 08 Sep 2016 19:16:30 GMT
  2510. < Connection: keep-alive
  2511. <
  2512. * Connection #0 to host 104.131.107.90 left intact
  2513. Channel successfully created
  2514. =====DONE======
  2515. =====Attempting to insert a CHANNEL======
  2516. * Hostname was NOT found in DNS cache
  2517. * Trying 104.131.107.90...
  2518. * Connected to 104.131.107.90 (104.131.107.90) port 5008 (#0)
  2519. * successfully set certificate verify locations:
  2520. * CAfile: none
  2521. CApath: /etc/ssl/certs
  2522. * SSLv3, TLS handshake, Client hello (1):
  2523. * SSLv3, TLS handshake, Server hello (2):
  2524. * SSLv3, TLS handshake, CERT (11):
  2525. * SSLv3, TLS handshake, Server key exchange (12):
  2526. * SSLv3, TLS handshake, Server finished (14):
  2527. * SSLv3, TLS handshake, Client key exchange (16):
  2528. * SSLv3, TLS change cipher, Client hello (1):
  2529. * SSLv3, TLS handshake, Finished (20):
  2530. * SSLv3, TLS change cipher, Client hello (1):
  2531. * SSLv3, TLS handshake, Finished (20):
  2532. * SSL connection using ECDHE-RSA-AES256-GCM-SHA384
  2533. * Server certificate:
  2534. * subject: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  2535. * start date: 2015-02-20 09:57:12 GMT
  2536. * expire date: 2015-02-20 09:57:12 GMT
  2537. * issuer: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  2538. * SSL certificate verify result: self signed certificate (18), continuing anyway.
  2539. > POST /channels HTTP/1.1
  2540. > User-Agent: curl/7.35.0
  2541. > Host: 104.131.107.90:5008
  2542. > Accept: */*
  2543. > Content-Type: application/json
  2544. > auth-username: root@openhim.org
  2545. > auth-ts: 2016-09-08T19:16:29.754Z
  2546. > auth-salt: d9bcb40e-ae65-478f-962e-5e5e5e7d0a01
  2547. > auth-token: ec94a7da8285a5db7f6dab4532c5a315809a77455d002d8bd3fa711b397dd9534ff4a3065f68b4afb8d312c074574c3adcf633ec17cc49e239d64a93d66ec031
  2548. > Content-Length: 766
  2549. >
  2550. * upload completely sent off: 766 out of 766 bytes
  2551. < HTTP/1.1 201 Created
  2552. < Access-Control-Allow-Origin: *
  2553. < Access-Control-Allow-Methods: GET,HEAD,PUT,POST,DELETE
  2554. < Content-Type: text/plain; charset=utf-8
  2555. < Content-Length: 28
  2556. < Date: Thu, 08 Sep 2016 19:16:30 GMT
  2557. < Connection: keep-alive
  2558. <
  2559. * Connection #0 to host 104.131.107.90 left intact
  2560. Channel successfully created
  2561. =====DONE======
  2562. =====Attempting to insert a CHANNEL======
  2563. * Hostname was NOT found in DNS cache
  2564. * Trying 104.131.107.90...
  2565. * Connected to 104.131.107.90 (104.131.107.90) port 5008 (#0)
  2566. * successfully set certificate verify locations:
  2567. * CAfile: none
  2568. CApath: /etc/ssl/certs
  2569. * SSLv3, TLS handshake, Client hello (1):
  2570. * SSLv3, TLS handshake, Server hello (2):
  2571. * SSLv3, TLS handshake, CERT (11):
  2572. * SSLv3, TLS handshake, Server key exchange (12):
  2573. * SSLv3, TLS handshake, Server finished (14):
  2574. * SSLv3, TLS handshake, Client key exchange (16):
  2575. * SSLv3, TLS change cipher, Client hello (1):
  2576. * SSLv3, TLS handshake, Finished (20):
  2577. * SSLv3, TLS change cipher, Client hello (1):
  2578. * SSLv3, TLS handshake, Finished (20):
  2579. * SSL connection using ECDHE-RSA-AES256-GCM-SHA384
  2580. * Server certificate:
  2581. * subject: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  2582. * start date: 2015-02-20 09:57:12 GMT
  2583. * expire date: 2015-02-20 09:57:12 GMT
  2584. * issuer: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  2585. * SSL certificate verify result: self signed certificate (18), continuing anyway.
  2586. > POST /channels HTTP/1.1
  2587. > User-Agent: curl/7.35.0
  2588. > Host: 104.131.107.90:5008
  2589. > Accept: */*
  2590. > Content-Type: application/json
  2591. > auth-username: root@openhim.org
  2592. > auth-ts: 2016-09-08T19:16:29.754Z
  2593. > auth-salt: d9bcb40e-ae65-478f-962e-5e5e5e7d0a01
  2594. > auth-token: ec94a7da8285a5db7f6dab4532c5a315809a77455d002d8bd3fa711b397dd9534ff4a3065f68b4afb8d312c074574c3adcf633ec17cc49e239d64a93d66ec031
  2595. > Content-Length: 742
  2596. >
  2597. * upload completely sent off: 742 out of 742 bytes
  2598. < HTTP/1.1 201 Created
  2599. < Access-Control-Allow-Origin: *
  2600. < Access-Control-Allow-Methods: GET,HEAD,PUT,POST,DELETE
  2601. < Content-Type: text/plain; charset=utf-8
  2602. < Content-Length: 28
  2603. < Date: Thu, 08 Sep 2016 19:16:30 GMT
  2604. < Connection: keep-alive
  2605. <
  2606. * Connection #0 to host 104.131.107.90 left intact
  2607. Channel successfully created
  2608. =====DONE======
  2609. =====Attempting to insert a USER======
  2610. * Hostname was NOT found in DNS cache
  2611. * Trying 104.131.107.90...
  2612. * Connected to 104.131.107.90 (104.131.107.90) port 5008 (#0)
  2613. * successfully set certificate verify locations:
  2614. * CAfile: none
  2615. CApath: /etc/ssl/certs
  2616. * SSLv3, TLS handshake, Client hello (1):
  2617. * SSLv3, TLS handshake, Server hello (2):
  2618. * SSLv3, TLS handshake, CERT (11):
  2619. * SSLv3, TLS handshake, Server key exchange (12):
  2620. * SSLv3, TLS handshake, Server finished (14):
  2621. * SSLv3, TLS handshake, Client key exchange (16):
  2622. * SSLv3, TLS change cipher, Client hello (1):
  2623. * SSLv3, TLS handshake, Finished (20):
  2624. * SSLv3, TLS change cipher, Client hello (1):
  2625. * SSLv3, TLS handshake, Finished (20):
  2626. * SSL connection using ECDHE-RSA-AES256-GCM-SHA384
  2627. * Server certificate:
  2628. * subject: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  2629. * start date: 2015-02-20 09:57:12 GMT
  2630. * expire date: 2015-02-20 09:57:12 GMT
  2631. * issuer: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  2632. * SSL certificate verify result: self signed certificate (18), continuing anyway.
  2633. > POST /users HTTP/1.1
  2634. > User-Agent: curl/7.35.0
  2635. > Host: 104.131.107.90:5008
  2636. > Accept: */*
  2637. > Content-Type: application/json
  2638. > auth-username: root@openhim.org
  2639. > auth-ts: 2016-09-08T19:16:29.754Z
  2640. > auth-salt: d9bcb40e-ae65-478f-962e-5e5e5e7d0a01
  2641. > auth-token: ec94a7da8285a5db7f6dab4532c5a315809a77455d002d8bd3fa711b397dd9534ff4a3065f68b4afb8d312c074574c3adcf633ec17cc49e239d64a93d66ec031
  2642. > Content-Length: 318
  2643. >
  2644. * upload completely sent off: 318 out of 318 bytes
  2645. < HTTP/1.1 201 Created
  2646. < Access-Control-Allow-Origin: *
  2647. < Access-Control-Allow-Methods: GET,HEAD,PUT,POST,DELETE
  2648. < Content-Type: text/plain; charset=utf-8
  2649. < Content-Length: 25
  2650. < Date: Thu, 08 Sep 2016 19:16:30 GMT
  2651. < Connection: keep-alive
  2652. <
  2653. * Connection #0 to host 104.131.107.90 left intact
  2654. User successfully created
  2655. =====DONE======
  2656. Installing node v4 for mediators...
  2657. ######################################################################## 100.0%
  2658. Checksums empty
  2659. Now using node v4.5.0 (npm v2.15.9)
  2660. Done.
  2661. Adding user `openhim' to group `sudo' ...
  2662. Adding user openhim to group sudo
  2663. Done.
  2664. openhim-core start/running, process 20546
  2665. stop: Unknown instance:
  2666. stop: Unknown instance:
  2667. stop: Unknown instance:
  2668. stop: Unknown instance:
  2669. openhim-mediator-file-queue start/running, process 20701
  2670. openhim-mediator-datim start/running, process 20704
  2671. openhim-mediator-openinfoman-dhis2-sync start/running, process 20710
  2672. openhim-mediator-shell-script start/running, process 20719
  2673. Setting up datim-mapping (1.0.0-1ubuntu1) ...
  2674. Setting up gsfonts (1:8.11+urwcyr1.0.7~pre44-4.2ubuntu1) ...
  2675. Setting up x11-common (1:7.7+1ubuntu8.1) ...
  2676. * Setting up X socket directories... [ OK ]
  2677. Setting up libgeronimo-jta-1.1-spec-java (1.1.1-3ubuntu1) ...
  2678. Setting up authbind (2.1.1) ...
  2679. Processing triggers for ureadahead (0.100.0-16) ...
  2680. Setting up xfonts-encodings (1:1.0.4-1ubuntu1) ...
  2681. Setting up xfonts-utils (1:7.7+1) ...
  2682. Setting up gsfonts-x11 (0.22) ...
  2683. Setting up php5-common (5.5.9+dfsg-1ubuntu4.19) ...
  2684.  
  2685. Creating config file /etc/php5/mods-available/pdo.ini with new version
  2686. php5_invoke: Enable module pdo for cli SAPI
  2687.  
  2688. Creating config file /etc/php5/mods-available/opcache.ini with new version
  2689. php5_invoke: Enable module opcache for cli SAPI
  2690. Setting up php5-cli (5.5.9+dfsg-1ubuntu4.19) ...
  2691. update-alternatives: using /usr/bin/php5 to provide /usr/bin/php (php) in auto mode
  2692.  
  2693. Creating config file /etc/php5/cli/php.ini with new version
  2694. php5_invoke opcache: already enabled for cli SAPI
  2695. php5_invoke pdo: already enabled for cli SAPI
  2696. Setting up openinfoman (1.4.37~trusty) ...
  2697. + set -e
  2698. + . /usr/share/debconf/confmodule
  2699. ++ '[' '!' '' ']'
  2700. ++ PERL_DL_NONLAZY=1
  2701. ++ export PERL_DL_NONLAZY
  2702. ++ '[' '' ']'
  2703. ++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/openinfoman.postinst configure ''
  2704. + OI=/var/lib/openinfoman
  2705. + USERNAME=oi
  2706. + action=configure
  2707. + cur_version=
  2708. + . /usr/share/debconf/confmodule
  2709. ++ '[' '!' 1 ']'
  2710. ++ '[' -z '' ']'
  2711. ++ exec
  2712. ++ '[' '' ']'
  2713. ++ exec
  2714. ++ DEBCONF_REDIR=1
  2715. ++ export DEBCONF_REDIR
  2716. + db_input high openinfoman/memsize
  2717. + _db_cmd 'INPUT high' openinfoman/memsize
  2718. + _db_internal_IFS='
  2719. '
  2720. + IFS=' '
  2721. + printf '%s\n' 'INPUT high openinfoman/memsize'
  2722. + IFS='
  2723. '
  2724. + IFS='
  2725. '
  2726. + read -r _db_internal_line
  2727. + RET='30 question skipped'
  2728. + case ${_db_internal_line%%[ ]*} in
  2729. + return 30
  2730. + true
  2731. + db_go
  2732. + _db_cmd 'GO '
  2733. + _db_internal_IFS='
  2734. '
  2735. + IFS=' '
  2736. + printf '%s\n' 'GO '
  2737. + IFS='
  2738. '
  2739. + IFS='
  2740. '
  2741. + read -r _db_internal_line
  2742. + RET=ok
  2743. + case ${_db_internal_line%%[ ]*} in
  2744. + return 0
  2745. + db_get openinfoman/memsize
  2746. + _db_cmd 'GET openinfoman/memsize'
  2747. + _db_internal_IFS='
  2748. '
  2749. + IFS=' '
  2750. + printf '%s\n' 'GET openinfoman/memsize'
  2751. + IFS='
  2752. '
  2753. + IFS='
  2754. '
  2755. + read -r _db_internal_line
  2756. + RET=8G
  2757. + case ${_db_internal_line%%[ ]*} in
  2758. + return 0
  2759. + HEAP=8G
  2760. + db_input high openinfoman/baseurl
  2761. + _db_cmd 'INPUT high' openinfoman/baseurl
  2762. + _db_internal_IFS='
  2763. '
  2764. + IFS=' '
  2765. + printf '%s\n' 'INPUT high openinfoman/baseurl'
  2766. + IFS='
  2767. '
  2768. + IFS='
  2769. '
  2770. + read -r _db_internal_line
  2771. + RET='30 question skipped'
  2772. + case ${_db_internal_line%%[ ]*} in
  2773. + return 30
  2774. + true
  2775. + db_go
  2776. + _db_cmd 'GO '
  2777. + _db_internal_IFS='
  2778. '
  2779. + IFS=' '
  2780. + printf '%s\n' 'GO '
  2781. + IFS='
  2782. '
  2783. + IFS='
  2784. '
  2785. + read -r _db_internal_line
  2786. + RET=ok
  2787. + case ${_db_internal_line%%[ ]*} in
  2788. + return 0
  2789. + db_get openinfoman/baseurl
  2790. + _db_cmd 'GET openinfoman/baseurl'
  2791. + _db_internal_IFS='
  2792. '
  2793. + IFS=' '
  2794. + printf '%s\n' 'GET openinfoman/baseurl'
  2795. + IFS='
  2796. '
  2797. + IFS='
  2798. '
  2799. + read -r _db_internal_line
  2800. + RET=https://104.131.107.90/ILR
  2801. + case ${_db_internal_line%%[ ]*} in
  2802. + return 0
  2803. + BASEURL=https://104.131.107.90/ILR
  2804. + db_input high openinfoman/dbname
  2805. + _db_cmd 'INPUT high' openinfoman/dbname
  2806. + _db_internal_IFS='
  2807. '
  2808. + IFS=' '
  2809. + printf '%s\n' 'INPUT high openinfoman/dbname'
  2810. + IFS='
  2811. '
  2812. + IFS='
  2813. '
  2814. + read -r _db_internal_line
  2815. + RET='30 question skipped'
  2816. + case ${_db_internal_line%%[ ]*} in
  2817. + return 30
  2818. + true
  2819. + db_go
  2820. + _db_cmd 'GO '
  2821. + _db_internal_IFS='
  2822. '
  2823. + IFS=' '
  2824. + printf '%s\n' 'GO '
  2825. + IFS='
  2826. '
  2827. + IFS='
  2828. '
  2829. + read -r _db_internal_line
  2830. + RET=ok
  2831. + case ${_db_internal_line%%[ ]*} in
  2832. + return 0
  2833. + db_get openinfoman/dbname
  2834. + _db_cmd 'GET openinfoman/dbname'
  2835. + _db_internal_IFS='
  2836. '
  2837. + IFS=' '
  2838. + printf '%s\n' 'GET openinfoman/dbname'
  2839. + IFS='
  2840. '
  2841. + IFS='
  2842. '
  2843. + read -r _db_internal_line
  2844. + RET=provider_directory
  2845. + case ${_db_internal_line%%[ ]*} in
  2846. + return 0
  2847. + DBNAME=provider_directory
  2848. + mkdir -p /var/lib/openinfoman/repo-src
  2849. + chown -R oi:oi /var/lib/openinfoman/repo-src
  2850. + echo 'module namespace csd_webconf = '\''https://github.com/openhie/openinfoman/csd_webconf'\'';
  2851. declare variable $csd_webconf:db := '\''provider_directory'\'';
  2852. declare variable $csd_webconf:baseurl := '\''https://104.131.107.90/ILR'\'';
  2853. declare variable $csd_webconf:remote_services := ();
  2854. '
  2855. + echo '#!/usr/bin/env bash
  2856. HEAP=8G
  2857. # Path to this script
  2858.  
  2859. FILE="${BASH_SOURCE[0]}"
  2860. while [ -h "$FILE" ] ; do
  2861. SRC="$(readlink "$FILE")"
  2862. FILE="$( cd -P "$(dirname "$FILE")" && \
  2863. cd -P "$(dirname "$SRC")" && pwd )/$(basename "$SRC")"
  2864. done
  2865.  
  2866. BX="$( cd -P "$(dirname "$FILE")/.." && pwd )"
  2867. # API, core, and library classes
  2868. CP="$BX/BaseX.jar$(printf ":%s" "$BX/lib/"*.jar "$BXCORE/lib/"*.jar)"
  2869. # Options for virtual machine (can be extended by global options)
  2870. BASEX_JVM="-Xmx$HEAP $BASEX_JVM"
  2871.  
  2872.  
  2873. # Run code
  2874. java -cp "$CP" $BASEX_JVM org.basex.BaseXHTTP "$@"
  2875.  
  2876. '
  2877. + exit 0
  2878. + set -e
  2879. + . /usr/share/debconf/confmodule
  2880. ++ '[' '!' 1 ']'
  2881. ++ '[' -z '' ']'
  2882. ++ exec
  2883. ++ '[' '' ']'
  2884. ++ exec
  2885. ++ DEBCONF_REDIR=1
  2886. ++ export DEBCONF_REDIR
  2887. + WGET=/usr/bin/wget
  2888. + OI=/var/lib/openinfoman
  2889. + USERNAME=oi
  2890. + BASEX=/var/lib/openinfoman/bin/basex
  2891. + REPOS=("csd_webapp_ui.xqm" "csd_base_library.xqm" "csd_base_library_updating.xqm" "csd_base_stored_queries.xqm" "csd_document_manager.xqm" "csd_load_sample_directories.xqm" "csd_query_updated_services.xqm" "csd_poll_service_directories.xqm" "csd_local_services_cache.xqm" "csd_merge_cached_services.xqm" "csr_processor.xqm" "svs_load_shared_value_sets.xqm" "async_fake.xqm")
  2892. + SFS=("stored_query_definitions/facility_search.xml" "stored_query_definitions/adhoc_search.xml" "stored_query_definitions/service_search.xml" "stored_query_definitions/organization_search.xml" "stored_query_definitions/provider_search.xml" "stored_query_definitions/modtimes.xml" "stored_updating_query_definitions/service_create.xml" "stored_updating_query_definitions/mark_duplicate.xml" "stored_updating_query_definitions/simple_merge.xml" "stored_updating_query_definitions/mark_potential_duplicate.xml" "stored_updating_query_definitions/delete_potential_duplicate.xml" "stored_updating_query_definitions/organization_create.xml" "stored_updating_query_definitions/provider_create.xml" "stored_updating_query_definitions/facility_create.xml" "stored_updating_query_definitions/delete_duplicate.xml" "stored_updating_query_definitions/merge_by_identifier.xml" "stored_updating_query_definitions/extract_hierarchy.xml")
  2893. + SVSS=("1.3.6.1.4.1.21367.200.101" "1.3.6.1.4.1.21367.200.102" "1.3.6.1.4.1.21367.200.103" "1.3.6.1.4.1.21367.200.104" "1.3.6.1.4.1.21367.200.105" "1.3.6.1.4.1.21367.200.106" "1.3.6.1.4.1.21367.200.108" "1.3.6.1.4.1.21367.200.109" "1.3.6.1.4.1.21367.200.110" "2.25.1098910207106778371035457739371181056504702027035" "2.25.17331675369518445540420660603637128875763657" "2.25.18630021159349753613449707959296853730613166189051" "2.25.259359036081944859901459759453974543442705863430576" "2.25.265608663818616228188834890512310231251363785626032" "2.25.309768652999692686176651983274504471835.999.400" "2.25.309768652999692686176651983274504471835.999.401" "2.25.309768652999692686176651983274504471835.999.402" "2.25.309768652999692686176651983274504471835.999.403" "2.25.309768652999692686176651983274504471835.999.404" "2.25.309768652999692686176651983274504471835.999.405" "2.25.309768652999692686176651983274504471835.999.406" "2.25.9830357893067925519626800209704957770712560")
  2894. + db_input high openinfoman/dbname
  2895. + _db_cmd 'INPUT high' openinfoman/dbname
  2896. + _db_internal_IFS='
  2897. '
  2898. + IFS=' '
  2899. + printf '%s\n' 'INPUT high openinfoman/dbname'
  2900. + IFS='
  2901. '
  2902. + IFS='
  2903. '
  2904. + read -r _db_internal_line
  2905. + RET='30 question skipped'
  2906. + case ${_db_internal_line%%[ ]*} in
  2907. + return 30
  2908. + true
  2909. + db_go
  2910. + _db_cmd 'GO '
  2911. + _db_internal_IFS='
  2912. '
  2913. + IFS=' '
  2914. + printf '%s\n' 'GO '
  2915. + IFS='
  2916. '
  2917. + IFS='
  2918. '
  2919. + read -r _db_internal_line
  2920. + RET=ok
  2921. + case ${_db_internal_line%%[ ]*} in
  2922. + return 0
  2923. + db_get openinfoman/dbname
  2924. + _db_cmd 'GET openinfoman/dbname'
  2925. + _db_internal_IFS='
  2926. '
  2927. + IFS=' '
  2928. + printf '%s\n' 'GET openinfoman/dbname'
  2929. + IFS='
  2930. '
  2931. + IFS='
  2932. '
  2933. + read -r _db_internal_line
  2934. + RET=provider_directory
  2935. + case ${_db_internal_line%%[ ]*} in
  2936. + return 0
  2937. + DBNAME=provider_directory
  2938. + set +e
  2939. + /var/lib/openinfoman/bin/basex -Vc 'list provider_directory'
  2940. /var/lib/openinfoman/.basex: writing new configuration file.
  2941. org.basex.core.BaseXException: Database 'provider_directory' was not found.
  2942. at org.basex.core.cmd.Open.open(Open.java:92)
  2943. at org.basex.core.cmd.List.listDB(List.java:121)
  2944. at org.basex.core.cmd.List.run(List.java:51)
  2945. at org.basex.core.Command.run(Command.java:253)
  2946. at org.basex.core.Command.execute(Command.java:99)
  2947. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  2948. at org.basex.api.client.Session.execute(Session.java:36)
  2949. at org.basex.core.CLI.execute(CLI.java:103)
  2950. at org.basex.core.CLI.execute(CLI.java:87)
  2951. at org.basex.core.CLI.execute(CLI.java:74)
  2952. at org.basex.BaseX.<init>(BaseX.java:86)
  2953. at org.basex.BaseX.main(BaseX.java:42)
  2954. org.basex.core.BaseXException: Database 'provider_directory' was not found.
  2955. at org.basex.core.Command.execute(Command.java:100)
  2956. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  2957. at org.basex.api.client.Session.execute(Session.java:36)
  2958. at org.basex.core.CLI.execute(CLI.java:103)
  2959. at org.basex.core.CLI.execute(CLI.java:87)
  2960. at org.basex.core.CLI.execute(CLI.java:74)
  2961. at org.basex.BaseX.<init>(BaseX.java:86)
  2962. at org.basex.BaseX.main(BaseX.java:42)
  2963. Database 'provider_directory' was not found.
  2964. + '[' 1 -eq 0 ']'
  2965. + echo 'BaseX Database provider_directory does not exist\n'
  2966. BaseX Database provider_directory does not exist\n
  2967. + set -e
  2968. + /var/lib/openinfoman/bin/basex -Vc 'create database provider_directory'
  2969. Creating Database...
  2970. 0.27 ms (9056 KB)
  2971. Indexing Text...
  2972. 0.0 M operations, 11.96 ms (11637 KB).
  2973. Indexing Attribute Values...
  2974. 0.0 M operations, 0.88 ms (11637 KB).
  2975. Database 'provider_directory' created in 233.5 ms.
  2976. + set -e
  2977. + mkdir -p /var/lib/openinfoman/repo-src
  2978. + chown -R oi:oi /var/lib/openinfoman
  2979. + chmod +s /usr/bin/oi-log
  2980. + GENERATED=/var/lib/openinfoman/repo-src/generated_openinfoman_webconfig.xqm
  2981. + db_input high openinfoman/baseurl
  2982. + _db_cmd 'INPUT high' openinfoman/baseurl
  2983. + _db_internal_IFS='
  2984. '
  2985. + IFS=' '
  2986. + printf '%s\n' 'INPUT high openinfoman/baseurl'
  2987. + IFS='
  2988. '
  2989. + IFS='
  2990. '
  2991. + read -r _db_internal_line
  2992. + RET='30 question skipped'
  2993. + case ${_db_internal_line%%[ ]*} in
  2994. + return 30
  2995. + true
  2996. + db_go
  2997. + _db_cmd 'GO '
  2998. + _db_internal_IFS='
  2999. '
  3000. + IFS=' '
  3001. + printf '%s\n' 'GO '
  3002. + IFS='
  3003. '
  3004. + IFS='
  3005. '
  3006. + read -r _db_internal_line
  3007. + RET=ok
  3008. + case ${_db_internal_line%%[ ]*} in
  3009. + return 0
  3010. + db_get openinfoman/baseurl
  3011. + _db_cmd 'GET openinfoman/baseurl'
  3012. + _db_internal_IFS='
  3013. '
  3014. + IFS=' '
  3015. + printf '%s\n' 'GET openinfoman/baseurl'
  3016. + IFS='
  3017. '
  3018. + IFS='
  3019. '
  3020. + read -r _db_internal_line
  3021. + RET=https://104.131.107.90/ILR
  3022. + case ${_db_internal_line%%[ ]*} in
  3023. + return 0
  3024. + BASEURL=https://104.131.107.90/ILR
  3025. + db_input high openinfoman/dbname
  3026. + _db_cmd 'INPUT high' openinfoman/dbname
  3027. + _db_internal_IFS='
  3028. '
  3029. + IFS=' '
  3030. + printf '%s\n' 'INPUT high openinfoman/dbname'
  3031. + IFS='
  3032. '
  3033. + IFS='
  3034. '
  3035. + read -r _db_internal_line
  3036. + RET='30 question skipped'
  3037. + case ${_db_internal_line%%[ ]*} in
  3038. + return 30
  3039. + true
  3040. + db_go
  3041. + _db_cmd 'GO '
  3042. + _db_internal_IFS='
  3043. '
  3044. + IFS=' '
  3045. + printf '%s\n' 'GO '
  3046. + IFS='
  3047. '
  3048. + IFS='
  3049. '
  3050. + read -r _db_internal_line
  3051. + RET=ok
  3052. + case ${_db_internal_line%%[ ]*} in
  3053. + return 0
  3054. + db_get openinfoman/dbname
  3055. + _db_cmd 'GET openinfoman/dbname'
  3056. + _db_internal_IFS='
  3057. '
  3058. + IFS=' '
  3059. + printf '%s\n' 'GET openinfoman/dbname'
  3060. + IFS='
  3061. '
  3062. + IFS='
  3063. '
  3064. + read -r _db_internal_line
  3065. + RET=provider_directory
  3066. + case ${_db_internal_line%%[ ]*} in
  3067. + return 0
  3068. + DBNAME=provider_directory
  3069. + echo 'module namespace csd_webconf = '\''https://github.com/openhie/openinfoman/csd_webconf'\'';
  3070. declare variable $csd_webconf:db := '\''provider_directory'\'';
  3071. declare variable $csd_webconf:baseurl := '\''https://104.131.107.90/ILR'\'';
  3072. declare variable $csd_webconf:remote_services := ();
  3073. '
  3074. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL http://files.basex.org/modules/expath/functx-1.0.xar'
  3075. Creating Database...
  3076. . 64.75 ms (11641 KB)
  3077. Package 'http://files.basex.org/modules/expath/functx-1.0.xar' installed in 773.77 ms.
  3078. + /var/lib/openinfoman/bin/basex -Vc 'REPO DELETE https://github.com/openhie/openinfoman/csd_webconf'
  3079. + true
  3080. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/generated_openinfoman_webconfig.xqm'
  3081. Package '/var/lib/openinfoman/repo-src/generated_openinfoman_webconfig.xqm' installed in 873.75 ms.
  3082. + for REPO in '${REPOS[@]}'
  3083. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/csd_webapp_ui.xqm'
  3084. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/csd_webapp_ui.xqm'
  3085. Creating Database...
  3086. . 109.49 ms (20733 KB)
  3087. Creating Database...
  3088. . 9.86 ms (22023 KB)
  3089. Package '/var/lib/openinfoman/repo-src/csd_webapp_ui.xqm' installed in 1366.84 ms.
  3090. + for REPO in '${REPOS[@]}'
  3091. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/csd_base_library.xqm'
  3092. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/csd_base_library.xqm'
  3093. Creating Database...
  3094. . 103.93 ms (22003 KB)
  3095. Creating Database...
  3096. . 11.18 ms (22003 KB)
  3097. Package '/var/lib/openinfoman/repo-src/csd_base_library.xqm' installed in 1419.26 ms.
  3098. + for REPO in '${REPOS[@]}'
  3099. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/csd_base_library_updating.xqm'
  3100. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/csd_base_library_updating.xqm'
  3101. Creating Database...
  3102. . 87.11 ms (20738 KB)
  3103. Creating Database...
  3104. . 5.37 ms (22028 KB)
  3105. Package '/var/lib/openinfoman/repo-src/csd_base_library_updating.xqm' installed in 973.26 ms.
  3106. + for REPO in '${REPOS[@]}'
  3107. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/csd_base_stored_queries.xqm'
  3108. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/csd_base_stored_queries.xqm'
  3109. Creating Database...
  3110. . 131.04 ms (20733 KB)
  3111. Creating Database...
  3112. . 10.47 ms (22023 KB)
  3113. Package '/var/lib/openinfoman/repo-src/csd_base_stored_queries.xqm' installed in 1808.77 ms.
  3114. + for REPO in '${REPOS[@]}'
  3115. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/csd_document_manager.xqm'
  3116. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/csd_document_manager.xqm'
  3117. Creating Database...
  3118. . 77.74 ms (20733 KB)
  3119. Package '/var/lib/openinfoman/repo-src/csd_document_manager.xqm' installed in 1028.23 ms.
  3120. + for REPO in '${REPOS[@]}'
  3121. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/csd_load_sample_directories.xqm'
  3122. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/csd_load_sample_directories.xqm'
  3123. Creating Database...
  3124. . 97.25 ms (20733 KB)
  3125. Package '/var/lib/openinfoman/repo-src/csd_load_sample_directories.xqm' installed in 724.18 ms.
  3126. + for REPO in '${REPOS[@]}'
  3127. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/csd_query_updated_services.xqm'
  3128. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/csd_query_updated_services.xqm'
  3129. Package '/var/lib/openinfoman/repo-src/csd_query_updated_services.xqm' installed in 747.16 ms.
  3130. + for REPO in '${REPOS[@]}'
  3131. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/csd_poll_service_directories.xqm'
  3132. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/csd_poll_service_directories.xqm'
  3133. Creating Database...
  3134. . 116.27 ms (20739 KB)
  3135. Package '/var/lib/openinfoman/repo-src/csd_poll_service_directories.xqm' installed in 890.95 ms.
  3136. + for REPO in '${REPOS[@]}'
  3137. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/csd_local_services_cache.xqm'
  3138. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/csd_local_services_cache.xqm'
  3139. Creating Database...
  3140. . 48.22 ms (22023 KB)
  3141. Package '/var/lib/openinfoman/repo-src/csd_local_services_cache.xqm' installed in 535.62 ms.
  3142. + for REPO in '${REPOS[@]}'
  3143. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/csd_merge_cached_services.xqm'
  3144. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/csd_merge_cached_services.xqm'
  3145. Creating Database...
  3146. . 102.72 ms (20733 KB)
  3147. Package '/var/lib/openinfoman/repo-src/csd_merge_cached_services.xqm' installed in 796.42 ms.
  3148. + for REPO in '${REPOS[@]}'
  3149. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/csr_processor.xqm'
  3150. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/csr_processor.xqm'
  3151. Creating Database...
  3152. . 45.54 ms (21959 KB)
  3153. Package '/var/lib/openinfoman/repo-src/csr_processor.xqm' installed in 845.56 ms.
  3154. + for REPO in '${REPOS[@]}'
  3155. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/svs_load_shared_value_sets.xqm'
  3156. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/svs_load_shared_value_sets.xqm'
  3157. Creating Database...
  3158. . 89.92 ms (20769 KB)
  3159. Creating Database...
  3160. . 10.97 ms (22059 KB)
  3161. Package '/var/lib/openinfoman/repo-src/svs_load_shared_value_sets.xqm' installed in 1153.32 ms.
  3162. + for REPO in '${REPOS[@]}'
  3163. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/async_fake.xqm'
  3164. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/async_fake.xqm'
  3165. Package '/var/lib/openinfoman/repo-src/async_fake.xqm' installed in 326.73 ms.
  3166. + chown -R oi:oi /var/lib/openinfoman
  3167. + /var/lib/openinfoman/bin/basex -Vc 'RUN /var/lib/openinfoman/resources/scripts/init_db.xq'
  3168. Creating Database...
  3169. . 80.39 ms (20823 KB)
  3170. Creating Database...
  3171. . 3.95 ms (27305 KB)
  3172.  
  3173. Query:
  3174. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; import module namespace csd_psd = "https://github.com/openhie/openinfoman/csd_psd"; import module namespace csd_lsc = "https://github.com/openhie/openinfoman/csd_lsc"; import module namespace svs_lsvs = "https://github.com/openhie/openinfoman/svs_lsvs"; (csr_proc:init() ,csd_lsc:init_cache_meta() ,csd_psd:init() ,svs_lsvs:init_store() )
  3175.  
  3176. Compiling:
  3177. - pre-evaluating db:is-xml("provider_directory", "stored_updating_functions.xml")
  3178. - pre-evaluating not(false())
  3179. - pre-evaluating if(true()) then db:add("provider_directory", element careServicesFunctions { () }, "stored_updating_functions.xml") else ()
  3180. - pre-evaluating db:is-xml("provider_directory", "stored_functions.xml")
  3181. - pre-evaluating not(false())
  3182. - pre-evaluating if(true()) then db:add("provider_directory", element careServicesFunctions { () }, "stored_functions.xml") else ()
  3183. - pre-evaluating db:is-xml("provider_directory", "local_cache_meta.xml")
  3184. - inlining Q{https://github.com/openhie/openinfoman/csd_lsc}cache_meta_exists#0
  3185. - pre-evaluating not(false())
  3186. - pre-evaluating if(true()) then db:add("provider_directory", element Q{urn:ihe:iti:csd:2013}cacheData { () }, "local_cache_meta.xml") else ()
  3187. - pre-evaluating db:is-xml("provider_directory", "csd_directories.xml")
  3188. - inlining Q{https://github.com/openhie/openinfoman/csd_psd}dm_exists#0
  3189. - pre-evaluating not(false())
  3190. - pre-evaluating if(true()) then db:add("provider_directory", element serviceDirectoryLibrary { () }, "csd_directories.xml") else ()
  3191. - pre-evaluating db:is-xml("provider_directory", "DescribedSharedValueSets.xml")
  3192. - pre-evaluating not(false())
  3193. - pre-evaluating if(true()) then db:add("provider_directory", <DescribedValueSets version="1.1"/>, "DescribedSharedValueSets.xml") else ()
  3194. - pre-evaluating db:is-xml("provider_directory", "remote_value_sets.xml")
  3195. - pre-evaluating not(false())
  3196. - pre-evaluating if(true()) then db:add("provider_directory", element valueSetLibrary { () }, "remote_value_sets.xml") else ()
  3197. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}init#0
  3198. - inlining Q{https://github.com/openhie/openinfoman/csd_lsc}init_cache_meta#0
  3199. - inlining Q{https://github.com/openhie/openinfoman/csd_psd}init#0
  3200. - inlining Q{https://github.com/openhie/openinfoman/svs_lsvs}init_store#0
  3201.  
  3202. Optimized Query:
  3203. ((db:add("provider_directory", element careServicesFunctions { () }, "stored_updating_functions.xml"), db:add("provider_directory", element careServicesFunctions { () }, "stored_functions.xml")), db:add("provider_directory", element Q{urn:ihe:iti:csd:2013}cacheData { () }, "local_cache_meta.xml"), db:add("provider_directory", element serviceDirectoryLibrary { () }, "csd_directories.xml"), (db:add("provider_directory", <DescribedValueSets version="1.1"/>, "DescribedSharedValueSets.xml"), db:add("provider_directory", element valueSetLibrary { () }, "remote_value_sets.xml")))
  3204.  
  3205. Parsing: 1003.03 ms
  3206. Compiling: 23.19 ms
  3207. Evaluating: 31.02 ms
  3208. Printing: 1.04 ms
  3209. Total Time: 1058.29 ms
  3210.  
  3211. Hit(s): 0 Items
  3212. Updated: 6 Items
  3213. Printed: 0 Bytes
  3214. Read Locking: global
  3215. Write Locking: global
  3216.  
  3217. Query "init_db.xq" executed in 1058.29 ms.
  3218. + for SF in '${SFS[@]}'
  3219. + cd /var/lib/openinfoman
  3220. + /var/lib/openinfoman/resources/scripts/install_stored_function.php /var/lib/openinfoman/resources/stored_query_definitions/facility_search.xml
  3221. Processing /var/lib/openinfoman/resources/stored_query_definitions/facility_search.xml
  3222. Creating Database...
  3223. . 120.15 ms (20744 KB)
  3224. Creating Database...
  3225. . 12.0 ms (22035 KB)
  3226. Package '/var/lib/openinfoman/repo-src/stored_function_urn:ihe:iti:csd:2014:stored-function:facility-search.xqm' installed in 1222.77 ms.
  3227. /tmp/install_urn:ihe:iti:csd:2014:stored-function:facility-search.xqCreating Database...
  3228. . 80.49 ms (20811 KB)
  3229. org.basex.core.BaseXException: Database 'var' was not found.
  3230. at org.basex.core.cmd.Open.open(Open.java:92)
  3231. at org.basex.query.QueryResources.open(QueryResources.java:373)
  3232. at org.basex.query.QueryResources.data(QueryResources.java:352)
  3233. at org.basex.query.QueryResources.doc(QueryResources.java:160)
  3234. at org.basex.query.func.fn.Docs.doc(Docs.java:54)
  3235. at org.basex.query.func.fn.FnDoc.item(FnDoc.java:16)
  3236. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  3237. at org.basex.query.expr.Arr.compile(Arr.java:41)
  3238. at org.basex.query.expr.path.Path.compile(Path.java:124)
  3239. at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:41)
  3240. at org.basex.query.expr.gflwor.Let.compile(Let.java:84)
  3241. at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:109)
  3242. at org.basex.query.MainModule.comp(MainModule.java:83)
  3243. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  3244. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  3245. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  3246. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  3247. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  3248. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  3249. at org.basex.core.Command.run(Command.java:253)
  3250. at org.basex.core.cmd.Execute.run(Execute.java:54)
  3251. at org.basex.core.Command.run(Command.java:253)
  3252. at org.basex.core.Command.execute(Command.java:99)
  3253. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  3254. at org.basex.api.client.Session.execute(Session.java:36)
  3255. at org.basex.core.CLI.execute(CLI.java:103)
  3256. at org.basex.core.CLI.execute(CLI.java:87)
  3257. at org.basex.core.CLI.execute(CLI.java:74)
  3258. at org.basex.BaseX.<init>(BaseX.java:86)
  3259. at org.basex.BaseX.main(BaseX.java:42)
  3260. Creating Database...
  3261. . 58.81 ms (27290 KB)
  3262. Indexing Text...
  3263. . 0.0 M operations, 3.07 ms (27290 KB).
  3264. Indexing Attribute Values...
  3265. . 0.0 M operations, 0.57 ms (27290 KB).
  3266.  
  3267. Query:
  3268. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; declare namespace csd = "urn:ihe:iti:csd:2013"; let $func := doc('/var/lib/openinfoman/resources/stored_query_definitions/facility_search.xml')/csd:careServicesFunction return csr_proc:load_stored_function($func)
  3269.  
  3270. Compiling:
  3271. - pre-evaluating db:open("provider_directory", "stored_functions.xml")
  3272. - rewriting exists($urn_41)
  3273. - rewriting exists($stored_functions_40)
  3274. - rewriting exists($old_42)
  3275. - inlining $stored_functions_40
  3276. - pre-evaluating doc("/var/lib/openinfoman/resources/stored_query_definitions/facility_search.xml")
  3277. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}load_stored_function#1
  3278. - inlining $func_144
  3279. - simplifying flwor expression
  3280. - inlining $func_143
  3281. - inlining $urn_145
  3282. - simplifying flwor expression
  3283.  
  3284. Optimized Query:
  3285. let $old_146 := db:open-pre("provider_directory",2)/careServicesFunctions/csd:careServicesFunction[(@urn = document-node {"facility_search.xml"}/csd:careServicesFunction/@urn)] return if((document-node {"facility_search.xml"}/csd:careServicesFunction/@urn and db:open-pre("provider_directory",2)/careServicesFunctions)) then if($old_146) then (delete nodes $old_146, insert node document-node {"facility_search.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",2)/careServicesFunctions) else insert node document-node {"facility_search.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",2)/careServicesFunctions else ()
  3286.  
  3287. Parsing: 889.33 ms
  3288. Compiling: 127.29 ms
  3289. Evaluating: 67.14 ms
  3290. Printing: 1.81 ms
  3291. Total Time: 1085.58 ms
  3292.  
  3293. Hit(s): 0 Items
  3294. Updated: 1 Item
  3295. Printed: 0 Bytes
  3296. Read Locking: global
  3297. Write Locking: global
  3298.  
  3299. Query "install_urn:ihe:iti:csd:2014:stored-function:facility-search.xq" executed in 1085.58 ms.
  3300. + [[ 0 != 0 ]]
  3301. + for SF in '${SFS[@]}'
  3302. + cd /var/lib/openinfoman
  3303. + /var/lib/openinfoman/resources/scripts/install_stored_function.php /var/lib/openinfoman/resources/stored_query_definitions/adhoc_search.xml
  3304. Processing /var/lib/openinfoman/resources/stored_query_definitions/adhoc_search.xml
  3305. Creating Database...
  3306. . 76.76 ms (20745 KB)
  3307. Creating Database...
  3308. . 7.84 ms (22036 KB)
  3309. Package '/var/lib/openinfoman/repo-src/stored_function_urn:ihe:iti:csd:2014:adhoc.xqm' installed in 1034.86 ms.
  3310. /tmp/install_urn:ihe:iti:csd:2014:adhoc.xqCreating Database...
  3311. . 42.45 ms (20805 KB)
  3312. org.basex.core.BaseXException: Database 'var' was not found.
  3313. at org.basex.core.cmd.Open.open(Open.java:92)
  3314. at org.basex.query.QueryResources.open(QueryResources.java:373)
  3315. at org.basex.query.QueryResources.data(QueryResources.java:352)
  3316. at org.basex.query.QueryResources.doc(QueryResources.java:160)
  3317. at org.basex.query.func.fn.Docs.doc(Docs.java:54)
  3318. at org.basex.query.func.fn.FnDoc.item(FnDoc.java:16)
  3319. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  3320. at org.basex.query.expr.Arr.compile(Arr.java:41)
  3321. at org.basex.query.expr.path.Path.compile(Path.java:124)
  3322. at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:41)
  3323. at org.basex.query.expr.gflwor.Let.compile(Let.java:84)
  3324. at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:109)
  3325. at org.basex.query.MainModule.comp(MainModule.java:83)
  3326. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  3327. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  3328. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  3329. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  3330. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  3331. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  3332. at org.basex.core.Command.run(Command.java:253)
  3333. at org.basex.core.cmd.Execute.run(Execute.java:54)
  3334. at org.basex.core.Command.run(Command.java:253)
  3335. at org.basex.core.Command.execute(Command.java:99)
  3336. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  3337. at org.basex.api.client.Session.execute(Session.java:36)
  3338. at org.basex.core.CLI.execute(CLI.java:103)
  3339. at org.basex.core.CLI.execute(CLI.java:87)
  3340. at org.basex.core.CLI.execute(CLI.java:74)
  3341. at org.basex.BaseX.<init>(BaseX.java:86)
  3342. at org.basex.BaseX.main(BaseX.java:42)
  3343. Creating Database...
  3344. . 23.04 ms (27284 KB)
  3345. Indexing Text...
  3346. . 0.0 M operations, 1.08 ms (27284 KB).
  3347. Indexing Attribute Values...
  3348. . 0.0 M operations, 0.14 ms (27284 KB).
  3349.  
  3350. Query:
  3351. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; declare namespace csd = "urn:ihe:iti:csd:2013"; let $func := doc('/var/lib/openinfoman/resources/stored_query_definitions/adhoc_search.xml')/csd:careServicesFunction return csr_proc:load_stored_function($func)
  3352.  
  3353. Compiling:
  3354. - pre-evaluating db:open("provider_directory", "stored_functions.xml")
  3355. - rewriting exists($urn_41)
  3356. - rewriting exists($stored_functions_40)
  3357. - rewriting exists($old_42)
  3358. - inlining $stored_functions_40
  3359. - pre-evaluating doc("/var/lib/openinfoman/resources/stored_query_definitions/adhoc_search.xml")
  3360. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}load_stored_function#1
  3361. - inlining $func_144
  3362. - simplifying flwor expression
  3363. - inlining $func_143
  3364. - inlining $urn_145
  3365. - simplifying flwor expression
  3366.  
  3367. Optimized Query:
  3368. let $old_146 := db:open-pre("provider_directory",2)/careServicesFunctions/csd:careServicesFunction[(@urn = document-node {"adhoc_search.xml"}/csd:careServicesFunction/@urn)] return if((document-node {"adhoc_search.xml"}/csd:careServicesFunction/@urn and db:open-pre("provider_directory",2)/careServicesFunctions)) then if($old_146) then (delete nodes $old_146, insert node document-node {"adhoc_search.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",2)/careServicesFunctions) else insert node document-node {"adhoc_search.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",2)/careServicesFunctions else ()
  3369.  
  3370. Parsing: 485.78 ms
  3371. Compiling: 62.99 ms
  3372. Evaluating: 36.89 ms
  3373. Printing: 1.03 ms
  3374. Total Time: 586.69 ms
  3375.  
  3376. Hit(s): 0 Items
  3377. Updated: 1 Item
  3378. Printed: 0 Bytes
  3379. Read Locking: global
  3380. Write Locking: global
  3381.  
  3382. Query "install_urn:ihe:iti:csd:2014:adhoc.xq" executed in 586.69 ms.
  3383. + [[ 0 != 0 ]]
  3384. + for SF in '${SFS[@]}'
  3385. + cd /var/lib/openinfoman
  3386. + /var/lib/openinfoman/resources/scripts/install_stored_function.php /var/lib/openinfoman/resources/stored_query_definitions/service_search.xml
  3387. Processing /var/lib/openinfoman/resources/stored_query_definitions/service_search.xml
  3388. Creating Database...
  3389. . 51.12 ms (20743 KB)
  3390. Creating Database...
  3391. . 7.39 ms (22033 KB)
  3392. Package '/var/lib/openinfoman/repo-src/stored_function_urn:ihe:iti:csd:2014:stored-function:service-search.xqm' installed in 653.11 ms.
  3393. /tmp/install_urn:ihe:iti:csd:2014:stored-function:service-search.xqCreating Database...
  3394. . 44.98 ms (20810 KB)
  3395. org.basex.core.BaseXException: Database 'var' was not found.
  3396. at org.basex.core.cmd.Open.open(Open.java:92)
  3397. at org.basex.query.QueryResources.open(QueryResources.java:373)
  3398. at org.basex.query.QueryResources.data(QueryResources.java:352)
  3399. at org.basex.query.QueryResources.doc(QueryResources.java:160)
  3400. at org.basex.query.func.fn.Docs.doc(Docs.java:54)
  3401. at org.basex.query.func.fn.FnDoc.item(FnDoc.java:16)
  3402. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  3403. at org.basex.query.expr.Arr.compile(Arr.java:41)
  3404. at org.basex.query.expr.path.Path.compile(Path.java:124)
  3405. at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:41)
  3406. at org.basex.query.expr.gflwor.Let.compile(Let.java:84)
  3407. at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:109)
  3408. at org.basex.query.MainModule.comp(MainModule.java:83)
  3409. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  3410. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  3411. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  3412. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  3413. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  3414. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  3415. at org.basex.core.Command.run(Command.java:253)
  3416. at org.basex.core.cmd.Execute.run(Execute.java:54)
  3417. at org.basex.core.Command.run(Command.java:253)
  3418. at org.basex.core.Command.execute(Command.java:99)
  3419. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  3420. at org.basex.api.client.Session.execute(Session.java:36)
  3421. at org.basex.core.CLI.execute(CLI.java:103)
  3422. at org.basex.core.CLI.execute(CLI.java:87)
  3423. at org.basex.core.CLI.execute(CLI.java:74)
  3424. at org.basex.BaseX.<init>(BaseX.java:86)
  3425. at org.basex.BaseX.main(BaseX.java:42)
  3426. Creating Database...
  3427. . 30.19 ms (27290 KB)
  3428. Indexing Text...
  3429. . 0.0 M operations, 1.48 ms (27290 KB).
  3430. Indexing Attribute Values...
  3431. . 0.0 M operations, 0.24 ms (27290 KB).
  3432.  
  3433. Query:
  3434. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; declare namespace csd = "urn:ihe:iti:csd:2013"; let $func := doc('/var/lib/openinfoman/resources/stored_query_definitions/service_search.xml')/csd:careServicesFunction return csr_proc:load_stored_function($func)
  3435.  
  3436. Compiling:
  3437. - pre-evaluating db:open("provider_directory", "stored_functions.xml")
  3438. - rewriting exists($urn_41)
  3439. - rewriting exists($stored_functions_40)
  3440. - rewriting exists($old_42)
  3441. - inlining $stored_functions_40
  3442. - pre-evaluating doc("/var/lib/openinfoman/resources/stored_query_definitions/service_search.xml")
  3443. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}load_stored_function#1
  3444. - inlining $func_144
  3445. - simplifying flwor expression
  3446. - inlining $func_143
  3447. - inlining $urn_145
  3448. - simplifying flwor expression
  3449.  
  3450. Optimized Query:
  3451. let $old_146 := db:open-pre("provider_directory",2)/careServicesFunctions/csd:careServicesFunction[(@urn = document-node {"service_search.xml"}/csd:careServicesFunction/@urn)] return if((document-node {"service_search.xml"}/csd:careServicesFunction/@urn and db:open-pre("provider_directory",2)/careServicesFunctions)) then if($old_146) then (delete nodes $old_146, insert node document-node {"service_search.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",2)/careServicesFunctions) else insert node document-node {"service_search.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",2)/careServicesFunctions else ()
  3452.  
  3453. Parsing: 690.09 ms
  3454. Compiling: 71.8 ms
  3455. Evaluating: 34.91 ms
  3456. Printing: 0.73 ms
  3457. Total Time: 797.54 ms
  3458.  
  3459. Hit(s): 0 Items
  3460. Updated: 1 Item
  3461. Printed: 0 Bytes
  3462. Read Locking: global
  3463. Write Locking: global
  3464.  
  3465. Query "install_urn:ihe:iti:csd:2014:stored-function:service-search.xq" executed in 797.54 ms.
  3466. + [[ 0 != 0 ]]
  3467. + for SF in '${SFS[@]}'
  3468. + cd /var/lib/openinfoman
  3469. + /var/lib/openinfoman/resources/scripts/install_stored_function.php /var/lib/openinfoman/resources/stored_query_definitions/organization_search.xml
  3470. Processing /var/lib/openinfoman/resources/stored_query_definitions/organization_search.xml
  3471. Creating Database...
  3472. . 57.72 ms (20747 KB)
  3473. Creating Database...
  3474. . 7.6 ms (22038 KB)
  3475. Package '/var/lib/openinfoman/repo-src/stored_function_urn:ihe:iti:csd:2014:stored-function:organization-search.xqm' installed in 778.83 ms.
  3476. /tmp/install_urn:ihe:iti:csd:2014:stored-function:organization-search.xqCreating Database...
  3477. . 64.0 ms (20810 KB)
  3478. org.basex.core.BaseXException: Database 'var' was not found.
  3479. at org.basex.core.cmd.Open.open(Open.java:92)
  3480. at org.basex.query.QueryResources.open(QueryResources.java:373)
  3481. at org.basex.query.QueryResources.data(QueryResources.java:352)
  3482. at org.basex.query.QueryResources.doc(QueryResources.java:160)
  3483. at org.basex.query.func.fn.Docs.doc(Docs.java:54)
  3484. at org.basex.query.func.fn.FnDoc.item(FnDoc.java:16)
  3485. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  3486. at org.basex.query.expr.Arr.compile(Arr.java:41)
  3487. at org.basex.query.expr.path.Path.compile(Path.java:124)
  3488. at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:41)
  3489. at org.basex.query.expr.gflwor.Let.compile(Let.java:84)
  3490. at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:109)
  3491. at org.basex.query.MainModule.comp(MainModule.java:83)
  3492. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  3493. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  3494. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  3495. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  3496. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  3497. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  3498. at org.basex.core.Command.run(Command.java:253)
  3499. at org.basex.core.cmd.Execute.run(Execute.java:54)
  3500. at org.basex.core.Command.run(Command.java:253)
  3501. at org.basex.core.Command.execute(Command.java:99)
  3502. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  3503. at org.basex.api.client.Session.execute(Session.java:36)
  3504. at org.basex.core.CLI.execute(CLI.java:103)
  3505. at org.basex.core.CLI.execute(CLI.java:87)
  3506. at org.basex.core.CLI.execute(CLI.java:74)
  3507. at org.basex.BaseX.<init>(BaseX.java:86)
  3508. at org.basex.BaseX.main(BaseX.java:42)
  3509. Creating Database...
  3510. . 37.5 ms (27290 KB)
  3511. Indexing Text...
  3512. . 0.0 M operations, 1.56 ms (27290 KB).
  3513. Indexing Attribute Values...
  3514. . 0.0 M operations, 0.27 ms (27290 KB).
  3515.  
  3516. Query:
  3517. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; declare namespace csd = "urn:ihe:iti:csd:2013"; let $func := doc('/var/lib/openinfoman/resources/stored_query_definitions/organization_search.xml')/csd:careServicesFunction return csr_proc:load_stored_function($func)
  3518.  
  3519. Compiling:
  3520. - pre-evaluating db:open("provider_directory", "stored_functions.xml")
  3521. - rewriting exists($urn_41)
  3522. - rewriting exists($stored_functions_40)
  3523. - rewriting exists($old_42)
  3524. - inlining $stored_functions_40
  3525. - pre-evaluating doc("/var/lib/openinfoman/resources/stored_query_definitions/organization_search.xml")
  3526. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}load_stored_function#1
  3527. - inlining $func_144
  3528. - simplifying flwor expression
  3529. - inlining $func_143
  3530. - inlining $urn_145
  3531. - simplifying flwor expression
  3532.  
  3533. Optimized Query:
  3534. let $old_146 := db:open-pre("provider_directory",2)/careServicesFunctions/csd:careServicesFunction[(@urn = document-node {"organization_search.xml"}/csd:careServicesFunction/@urn)] return if((document-node {"organization_search.xml"}/csd:careServicesFunction/@urn and db:open-pre("provider_directory",2)/careServicesFunctions)) then if($old_146) then (delete nodes $old_146, insert node document-node {"organization_search.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",2)/careServicesFunctions) else insert node document-node {"organization_search.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",2)/careServicesFunctions else ()
  3535.  
  3536. Parsing: 608.16 ms
  3537. Compiling: 77.24 ms
  3538. Evaluating: 37.82 ms
  3539. Printing: 0.7 ms
  3540. Total Time: 723.92 ms
  3541.  
  3542. Hit(s): 0 Items
  3543. Updated: 1 Item
  3544. Printed: 0 Bytes
  3545. Read Locking: global
  3546. Write Locking: global
  3547.  
  3548. Query "install_urn:ihe:iti:csd:2014:stored-function:organization-search.xq" executed in 723.92 ms.
  3549. + [[ 0 != 0 ]]
  3550. + for SF in '${SFS[@]}'
  3551. + cd /var/lib/openinfoman
  3552. + /var/lib/openinfoman/resources/scripts/install_stored_function.php /var/lib/openinfoman/resources/stored_query_definitions/provider_search.xml
  3553. Processing /var/lib/openinfoman/resources/stored_query_definitions/provider_search.xml
  3554. Creating Database...
  3555. . 45.64 ms (20744 KB)
  3556. Creating Database...
  3557. . 4.76 ms (22035 KB)
  3558. Package '/var/lib/openinfoman/repo-src/stored_function_urn:ihe:iti:csd:2014:stored-function:provider-search.xqm' installed in 718.3 ms.
  3559. /tmp/install_urn:ihe:iti:csd:2014:stored-function:provider-search.xqCreating Database...
  3560. . 73.44 ms (20810 KB)
  3561. org.basex.core.BaseXException: Database 'var' was not found.
  3562. at org.basex.core.cmd.Open.open(Open.java:92)
  3563. at org.basex.query.QueryResources.open(QueryResources.java:373)
  3564. at org.basex.query.QueryResources.data(QueryResources.java:352)
  3565. at org.basex.query.QueryResources.doc(QueryResources.java:160)
  3566. at org.basex.query.func.fn.Docs.doc(Docs.java:54)
  3567. at org.basex.query.func.fn.FnDoc.item(FnDoc.java:16)
  3568. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  3569. at org.basex.query.expr.Arr.compile(Arr.java:41)
  3570. at org.basex.query.expr.path.Path.compile(Path.java:124)
  3571. at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:41)
  3572. at org.basex.query.expr.gflwor.Let.compile(Let.java:84)
  3573. at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:109)
  3574. at org.basex.query.MainModule.comp(MainModule.java:83)
  3575. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  3576. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  3577. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  3578. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  3579. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  3580. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  3581. at org.basex.core.Command.run(Command.java:253)
  3582. at org.basex.core.cmd.Execute.run(Execute.java:54)
  3583. at org.basex.core.Command.run(Command.java:253)
  3584. at org.basex.core.Command.execute(Command.java:99)
  3585. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  3586. at org.basex.api.client.Session.execute(Session.java:36)
  3587. at org.basex.core.CLI.execute(CLI.java:103)
  3588. at org.basex.core.CLI.execute(CLI.java:87)
  3589. at org.basex.core.CLI.execute(CLI.java:74)
  3590. at org.basex.BaseX.<init>(BaseX.java:86)
  3591. at org.basex.BaseX.main(BaseX.java:42)
  3592. Creating Database...
  3593. . 89.26 ms (27290 KB)
  3594. Indexing Text...
  3595. . 0.0 M operations, 3.95 ms (27290 KB).
  3596. Indexing Attribute Values...
  3597. . 0.0 M operations, 0.64 ms (27290 KB).
  3598.  
  3599. Query:
  3600. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; declare namespace csd = "urn:ihe:iti:csd:2013"; let $func := doc('/var/lib/openinfoman/resources/stored_query_definitions/provider_search.xml')/csd:careServicesFunction return csr_proc:load_stored_function($func)
  3601.  
  3602. Compiling:
  3603. - pre-evaluating db:open("provider_directory", "stored_functions.xml")
  3604. - rewriting exists($urn_41)
  3605. - rewriting exists($stored_functions_40)
  3606. - rewriting exists($old_42)
  3607. - inlining $stored_functions_40
  3608. - pre-evaluating doc("/var/lib/openinfoman/resources/stored_query_definitions/provider_search.xml")
  3609. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}load_stored_function#1
  3610. - inlining $func_144
  3611. - simplifying flwor expression
  3612. - inlining $func_143
  3613. - inlining $urn_145
  3614. - simplifying flwor expression
  3615.  
  3616. Optimized Query:
  3617. let $old_146 := db:open-pre("provider_directory",2)/careServicesFunctions/csd:careServicesFunction[(@urn = document-node {"provider_search.xml"}/csd:careServicesFunction/@urn)] return if((document-node {"provider_search.xml"}/csd:careServicesFunction/@urn and db:open-pre("provider_directory",2)/careServicesFunctions)) then if($old_146) then (delete nodes $old_146, insert node document-node {"provider_search.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",2)/careServicesFunctions) else insert node document-node {"provider_search.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",2)/careServicesFunctions else ()
  3618.  
  3619. Parsing: 947.79 ms
  3620. Compiling: 196.11 ms
  3621. Evaluating: 82.35 ms
  3622. Printing: 1.61 ms
  3623. Total Time: 1227.86 ms
  3624.  
  3625. Hit(s): 0 Items
  3626. Updated: 1 Item
  3627. Printed: 0 Bytes
  3628. Read Locking: global
  3629. Write Locking: global
  3630.  
  3631. Query "install_urn:ihe:iti:csd:2014:stored-function:provider-search.xq" executed in 1227.86 ms.
  3632. + [[ 0 != 0 ]]
  3633. + for SF in '${SFS[@]}'
  3634. + cd /var/lib/openinfoman
  3635. + /var/lib/openinfoman/resources/scripts/install_stored_function.php /var/lib/openinfoman/resources/stored_query_definitions/modtimes.xml
  3636. Processing /var/lib/openinfoman/resources/stored_query_definitions/modtimes.xml
  3637. Package '/var/lib/openinfoman/repo-src/stored_function_urn:openhie.org:openinfoman:modtimes.xqm' installed in 324.07 ms.
  3638. /tmp/install_urn:openhie.org:openinfoman:modtimes.xqCreating Database...
  3639. . 64.67 ms (20826 KB)
  3640. org.basex.core.BaseXException: Database 'var' was not found.
  3641. at org.basex.core.cmd.Open.open(Open.java:92)
  3642. at org.basex.query.QueryResources.open(QueryResources.java:373)
  3643. at org.basex.query.QueryResources.data(QueryResources.java:352)
  3644. at org.basex.query.QueryResources.doc(QueryResources.java:160)
  3645. at org.basex.query.func.fn.Docs.doc(Docs.java:54)
  3646. at org.basex.query.func.fn.FnDoc.item(FnDoc.java:16)
  3647. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  3648. at org.basex.query.expr.Arr.compile(Arr.java:41)
  3649. at org.basex.query.expr.path.Path.compile(Path.java:124)
  3650. at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:41)
  3651. at org.basex.query.expr.gflwor.Let.compile(Let.java:84)
  3652. at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:109)
  3653. at org.basex.query.MainModule.comp(MainModule.java:83)
  3654. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  3655. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  3656. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  3657. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  3658. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  3659. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  3660. at org.basex.core.Command.run(Command.java:253)
  3661. at org.basex.core.cmd.Execute.run(Execute.java:54)
  3662. at org.basex.core.Command.run(Command.java:253)
  3663. at org.basex.core.Command.execute(Command.java:99)
  3664. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  3665. at org.basex.api.client.Session.execute(Session.java:36)
  3666. at org.basex.core.CLI.execute(CLI.java:103)
  3667. at org.basex.core.CLI.execute(CLI.java:87)
  3668. at org.basex.core.CLI.execute(CLI.java:74)
  3669. at org.basex.BaseX.<init>(BaseX.java:86)
  3670. at org.basex.BaseX.main(BaseX.java:42)
  3671. Creating Database...
  3672. . 37.72 ms (27278 KB)
  3673. Indexing Text...
  3674. . 0.0 M operations, 1.99 ms (27278 KB).
  3675. Indexing Attribute Values...
  3676. . 0.0 M operations, 0.37 ms (27278 KB).
  3677.  
  3678. Query:
  3679. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; declare namespace csd = "urn:ihe:iti:csd:2013"; let $func := doc('/var/lib/openinfoman/resources/stored_query_definitions/modtimes.xml')/csd:careServicesFunction return csr_proc:load_stored_function($func)
  3680.  
  3681. Compiling:
  3682. - pre-evaluating db:open("provider_directory", "stored_functions.xml")
  3683. - rewriting exists($urn_41)
  3684. - rewriting exists($stored_functions_40)
  3685. - rewriting exists($old_42)
  3686. - inlining $stored_functions_40
  3687. - pre-evaluating doc("/var/lib/openinfoman/resources/stored_query_definitions/modtimes.xml")
  3688. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}load_stored_function#1
  3689. - inlining $func_144
  3690. - simplifying flwor expression
  3691. - inlining $func_143
  3692. - inlining $urn_145
  3693. - simplifying flwor expression
  3694.  
  3695. Optimized Query:
  3696. let $old_146 := db:open-pre("provider_directory",2)/careServicesFunctions/csd:careServicesFunction[(@urn = document-node {"modtimes.xml"}/csd:careServicesFunction/@urn)] return if((document-node {"modtimes.xml"}/csd:careServicesFunction/@urn and db:open-pre("provider_directory",2)/careServicesFunctions)) then if($old_146) then (delete nodes $old_146, insert node document-node {"modtimes.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",2)/careServicesFunctions) else insert node document-node {"modtimes.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",2)/careServicesFunctions else ()
  3697.  
  3698. Parsing: 638.3 ms
  3699. Compiling: 105.21 ms
  3700. Evaluating: 42.23 ms
  3701. Printing: 1.01 ms
  3702. Total Time: 786.74 ms
  3703.  
  3704. Hit(s): 0 Items
  3705. Updated: 1 Item
  3706. Printed: 0 Bytes
  3707. Read Locking: global
  3708. Write Locking: global
  3709.  
  3710. Query "install_urn:openhie.org:openinfoman:modtimes.xq" executed in 786.74 ms.
  3711. + [[ 0 != 0 ]]
  3712. + for SF in '${SFS[@]}'
  3713. + cd /var/lib/openinfoman
  3714. + /var/lib/openinfoman/resources/scripts/install_stored_function.php /var/lib/openinfoman/resources/stored_updating_query_definitions/service_create.xml
  3715. Processing /var/lib/openinfoman/resources/stored_updating_query_definitions/service_create.xml
  3716. Creating Database...
  3717. . 65.33 ms (20740 KB)
  3718. Creating Database...
  3719. . 5.23 ms (22030 KB)
  3720. Package '/var/lib/openinfoman/repo-src/stored_function_urn:openhie.org:openinfoman:service_create.xqm' installed in 763.42 ms.
  3721. /tmp/install_urn:openhie.org:openinfoman:service_create.xqCreating Database...
  3722. . 62.46 ms (20811 KB)
  3723. org.basex.core.BaseXException: Database 'var' was not found.
  3724. at org.basex.core.cmd.Open.open(Open.java:92)
  3725. at org.basex.query.QueryResources.open(QueryResources.java:373)
  3726. at org.basex.query.QueryResources.data(QueryResources.java:352)
  3727. at org.basex.query.QueryResources.doc(QueryResources.java:160)
  3728. at org.basex.query.func.fn.Docs.doc(Docs.java:54)
  3729. at org.basex.query.func.fn.FnDoc.item(FnDoc.java:16)
  3730. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  3731. at org.basex.query.expr.Arr.compile(Arr.java:41)
  3732. at org.basex.query.expr.path.Path.compile(Path.java:124)
  3733. at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:41)
  3734. at org.basex.query.expr.gflwor.Let.compile(Let.java:84)
  3735. at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:109)
  3736. at org.basex.query.MainModule.comp(MainModule.java:83)
  3737. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  3738. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  3739. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  3740. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  3741. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  3742. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  3743. at org.basex.core.Command.run(Command.java:253)
  3744. at org.basex.core.cmd.Execute.run(Execute.java:54)
  3745. at org.basex.core.Command.run(Command.java:253)
  3746. at org.basex.core.Command.execute(Command.java:99)
  3747. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  3748. at org.basex.api.client.Session.execute(Session.java:36)
  3749. at org.basex.core.CLI.execute(CLI.java:103)
  3750. at org.basex.core.CLI.execute(CLI.java:87)
  3751. at org.basex.core.CLI.execute(CLI.java:74)
  3752. at org.basex.BaseX.<init>(BaseX.java:86)
  3753. at org.basex.BaseX.main(BaseX.java:42)
  3754. Creating Database...
  3755. . 23.03 ms (27263 KB)
  3756. Indexing Text...
  3757. . 0.0 M operations, 1.0 ms (27263 KB).
  3758. Indexing Attribute Values...
  3759. . 0.0 M operations, 0.13 ms (27263 KB).
  3760.  
  3761. Query:
  3762. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; declare namespace csd = "urn:ihe:iti:csd:2013"; let $func := doc('/var/lib/openinfoman/resources/stored_updating_query_definitions/service_create.xml')/csd:careServicesFunction return csr_proc:load_stored_updating_function($func)
  3763.  
  3764. Compiling:
  3765. - pre-evaluating db:open("provider_directory", "stored_updating_functions.xml")
  3766. - rewriting exists($old_38)
  3767. - rewriting exists($urn_37)
  3768. - inlining $stored_updating_functions_36
  3769. - pre-evaluating doc("/var/lib/openinfoman/resources/stored_updating_query_definitions/service_create.xml")
  3770. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}load_stored_updating_function#1
  3771. - inlining $func_144
  3772. - simplifying flwor expression
  3773. - inlining $func_143
  3774. - inlining $urn_145
  3775. - simplifying flwor expression
  3776.  
  3777. Optimized Query:
  3778. let $old_146 := db:open-pre("provider_directory",0)/careServicesFunctions/csd:careServicesFunction[(@urn = document-node {"service_create.xml"}/csd:careServicesFunction/@urn)] return if(document-node {"service_create.xml"}/csd:careServicesFunction/@urn) then if($old_146) then (delete nodes $old_146, insert node document-node {"service_create.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions) else insert node document-node {"service_create.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions else ()
  3779.  
  3780. Parsing: 864.39 ms
  3781. Compiling: 61.63 ms
  3782. Evaluating: 27.68 ms
  3783. Printing: 0.66 ms
  3784. Total Time: 954.36 ms
  3785.  
  3786. Hit(s): 0 Items
  3787. Updated: 1 Item
  3788. Printed: 0 Bytes
  3789. Read Locking: global
  3790. Write Locking: global
  3791.  
  3792. Query "install_urn:openhie.org:openinfoman:service_create.xq" executed in 954.36 ms.
  3793. + [[ 0 != 0 ]]
  3794. + for SF in '${SFS[@]}'
  3795. + cd /var/lib/openinfoman
  3796. + /var/lib/openinfoman/resources/scripts/install_stored_function.php /var/lib/openinfoman/resources/stored_updating_query_definitions/mark_duplicate.xml
  3797. Processing /var/lib/openinfoman/resources/stored_updating_query_definitions/mark_duplicate.xml
  3798. Creating Database...
  3799. . 75.39 ms (20746 KB)
  3800. Package '/var/lib/openinfoman/repo-src/stored_function_urn:openhie.org:openinfoman:mark_duplicate.xqm' installed in 599.58 ms.
  3801. /tmp/install_urn:openhie.org:openinfoman:mark_duplicate.xqCreating Database...
  3802. . 46.36 ms (20737 KB)
  3803. org.basex.core.BaseXException: Database 'var' was not found.
  3804. at org.basex.core.cmd.Open.open(Open.java:92)
  3805. at org.basex.query.QueryResources.open(QueryResources.java:373)
  3806. at org.basex.query.QueryResources.data(QueryResources.java:352)
  3807. at org.basex.query.QueryResources.doc(QueryResources.java:160)
  3808. at org.basex.query.func.fn.Docs.doc(Docs.java:54)
  3809. at org.basex.query.func.fn.FnDoc.item(FnDoc.java:16)
  3810. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  3811. at org.basex.query.expr.Arr.compile(Arr.java:41)
  3812. at org.basex.query.expr.path.Path.compile(Path.java:124)
  3813. at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:41)
  3814. at org.basex.query.expr.gflwor.Let.compile(Let.java:84)
  3815. at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:109)
  3816. at org.basex.query.MainModule.comp(MainModule.java:83)
  3817. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  3818. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  3819. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  3820. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  3821. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  3822. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  3823. at org.basex.core.Command.run(Command.java:253)
  3824. at org.basex.core.cmd.Execute.run(Execute.java:54)
  3825. at org.basex.core.Command.run(Command.java:253)
  3826. at org.basex.core.Command.execute(Command.java:99)
  3827. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  3828. at org.basex.api.client.Session.execute(Session.java:36)
  3829. at org.basex.core.CLI.execute(CLI.java:103)
  3830. at org.basex.core.CLI.execute(CLI.java:87)
  3831. at org.basex.core.CLI.execute(CLI.java:74)
  3832. at org.basex.BaseX.<init>(BaseX.java:86)
  3833. at org.basex.BaseX.main(BaseX.java:42)
  3834. Creating Database...
  3835. . 29.71 ms (27189 KB)
  3836. Indexing Text...
  3837. . 0.0 M operations, 2.06 ms (27189 KB).
  3838. Indexing Attribute Values...
  3839. . 0.0 M operations, 0.19 ms (27189 KB).
  3840.  
  3841. Query:
  3842. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; declare namespace csd = "urn:ihe:iti:csd:2013"; let $func := doc('/var/lib/openinfoman/resources/stored_updating_query_definitions/mark_duplicate.xml')/csd:careServicesFunction return csr_proc:load_stored_updating_function($func)
  3843.  
  3844. Compiling:
  3845. - pre-evaluating db:open("provider_directory", "stored_updating_functions.xml")
  3846. - rewriting exists($old_38)
  3847. - rewriting exists($urn_37)
  3848. - inlining $stored_updating_functions_36
  3849. - pre-evaluating doc("/var/lib/openinfoman/resources/stored_updating_query_definitions/mark_duplicate.xml")
  3850. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}load_stored_updating_function#1
  3851. - inlining $func_144
  3852. - simplifying flwor expression
  3853. - inlining $func_143
  3854. - inlining $urn_145
  3855. - simplifying flwor expression
  3856.  
  3857. Optimized Query:
  3858. let $old_146 := db:open-pre("provider_directory",0)/careServicesFunctions/csd:careServicesFunction[(@urn = document-node {"mark_duplicate.xml"}/csd:careServicesFunction/@urn)] return if(document-node {"mark_duplicate.xml"}/csd:careServicesFunction/@urn) then if($old_146) then (delete nodes $old_146, insert node document-node {"mark_duplicate.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions) else insert node document-node {"mark_duplicate.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions else ()
  3859.  
  3860. Parsing: 657.51 ms
  3861. Compiling: 74.9 ms
  3862. Evaluating: 35.62 ms
  3863. Printing: 0.87 ms
  3864. Total Time: 768.9 ms
  3865.  
  3866. Hit(s): 0 Items
  3867. Updated: 1 Item
  3868. Printed: 0 Bytes
  3869. Read Locking: global
  3870. Write Locking: global
  3871.  
  3872. Query "install_urn:openhie.org:openinfoman:mark_duplicate.xq" executed in 768.9 ms.
  3873. + [[ 0 != 0 ]]
  3874. + for SF in '${SFS[@]}'
  3875. + cd /var/lib/openinfoman
  3876. + /var/lib/openinfoman/resources/scripts/install_stored_function.php /var/lib/openinfoman/resources/stored_updating_query_definitions/simple_merge.xml
  3877. Processing /var/lib/openinfoman/resources/stored_updating_query_definitions/simple_merge.xml
  3878. Creating Database...
  3879. . 43.0 ms (21991 KB)
  3880. Creating Database...
  3881. . 4.45 ms (25861 KB)
  3882. Package '/var/lib/openinfoman/repo-src/stored_function_urn:openhie.org:openinfoman:simple_merge.xqm' installed in 867.29 ms.
  3883. /tmp/install_urn:openhie.org:openinfoman:simple_merge.xqCreating Database...
  3884. . 68.2 ms (20810 KB)
  3885. org.basex.core.BaseXException: Database 'var' was not found.
  3886. at org.basex.core.cmd.Open.open(Open.java:92)
  3887. at org.basex.query.QueryResources.open(QueryResources.java:373)
  3888. at org.basex.query.QueryResources.data(QueryResources.java:352)
  3889. at org.basex.query.QueryResources.doc(QueryResources.java:160)
  3890. at org.basex.query.func.fn.Docs.doc(Docs.java:54)
  3891. at org.basex.query.func.fn.FnDoc.item(FnDoc.java:16)
  3892. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  3893. at org.basex.query.expr.Arr.compile(Arr.java:41)
  3894. at org.basex.query.expr.path.Path.compile(Path.java:124)
  3895. at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:41)
  3896. at org.basex.query.expr.gflwor.Let.compile(Let.java:84)
  3897. at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:109)
  3898. at org.basex.query.MainModule.comp(MainModule.java:83)
  3899. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  3900. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  3901. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  3902. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  3903. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  3904. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  3905. at org.basex.core.Command.run(Command.java:253)
  3906. at org.basex.core.cmd.Execute.run(Execute.java:54)
  3907. at org.basex.core.Command.run(Command.java:253)
  3908. at org.basex.core.Command.execute(Command.java:99)
  3909. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  3910. at org.basex.api.client.Session.execute(Session.java:36)
  3911. at org.basex.core.CLI.execute(CLI.java:103)
  3912. at org.basex.core.CLI.execute(CLI.java:87)
  3913. at org.basex.core.CLI.execute(CLI.java:74)
  3914. at org.basex.BaseX.<init>(BaseX.java:86)
  3915. at org.basex.BaseX.main(BaseX.java:42)
  3916. Creating Database...
  3917. . 26.52 ms (27262 KB)
  3918. Indexing Text...
  3919. . 0.0 M operations, 1.21 ms (27262 KB).
  3920. Indexing Attribute Values...
  3921. . 0.0 M operations, 0.15 ms (27262 KB).
  3922.  
  3923. Query:
  3924. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; declare namespace csd = "urn:ihe:iti:csd:2013"; let $func := doc('/var/lib/openinfoman/resources/stored_updating_query_definitions/simple_merge.xml')/csd:careServicesFunction return csr_proc:load_stored_updating_function($func)
  3925.  
  3926. Compiling:
  3927. - pre-evaluating db:open("provider_directory", "stored_updating_functions.xml")
  3928. - rewriting exists($old_38)
  3929. - rewriting exists($urn_37)
  3930. - inlining $stored_updating_functions_36
  3931. - pre-evaluating doc("/var/lib/openinfoman/resources/stored_updating_query_definitions/simple_merge.xml")
  3932. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}load_stored_updating_function#1
  3933. - inlining $func_144
  3934. - simplifying flwor expression
  3935. - inlining $func_143
  3936. - inlining $urn_145
  3937. - simplifying flwor expression
  3938.  
  3939. Optimized Query:
  3940. let $old_146 := db:open-pre("provider_directory",0)/careServicesFunctions/csd:careServicesFunction[(@urn = document-node {"simple_merge.xml"}/csd:careServicesFunction/@urn)] return if(document-node {"simple_merge.xml"}/csd:careServicesFunction/@urn) then if($old_146) then (delete nodes $old_146, insert node document-node {"simple_merge.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions) else insert node document-node {"simple_merge.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions else ()
  3941.  
  3942. Parsing: 865.69 ms
  3943. Compiling: 69.18 ms
  3944. Evaluating: 32.53 ms
  3945. Printing: 0.83 ms
  3946. Total Time: 968.22 ms
  3947.  
  3948. Hit(s): 0 Items
  3949. Updated: 1 Item
  3950. Printed: 0 Bytes
  3951. Read Locking: global
  3952. Write Locking: global
  3953.  
  3954. Query "install_urn:openhie.org:openinfoman:simple_merge.xq" executed in 968.22 ms.
  3955. + [[ 0 != 0 ]]
  3956. + for SF in '${SFS[@]}'
  3957. + cd /var/lib/openinfoman
  3958. + /var/lib/openinfoman/resources/scripts/install_stored_function.php /var/lib/openinfoman/resources/stored_updating_query_definitions/mark_potential_duplicate.xml
  3959. Processing /var/lib/openinfoman/resources/stored_updating_query_definitions/mark_potential_duplicate.xml
  3960. Creating Database...
  3961. . 96.0 ms (20740 KB)
  3962. Package '/var/lib/openinfoman/repo-src/stored_function_urn:openhie.org:openinfoman:mark_potential_duplicate.xqm' installed in 735.23 ms.
  3963. /tmp/install_urn:openhie.org:openinfoman:mark_potential_duplicate.xqCreating Database...
  3964. . 97.11 ms (20748 KB)
  3965. org.basex.core.BaseXException: Database 'var' was not found.
  3966. at org.basex.core.cmd.Open.open(Open.java:92)
  3967. at org.basex.query.QueryResources.open(QueryResources.java:373)
  3968. at org.basex.query.QueryResources.data(QueryResources.java:352)
  3969. at org.basex.query.QueryResources.doc(QueryResources.java:160)
  3970. at org.basex.query.func.fn.Docs.doc(Docs.java:54)
  3971. at org.basex.query.func.fn.FnDoc.item(FnDoc.java:16)
  3972. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  3973. at org.basex.query.expr.Arr.compile(Arr.java:41)
  3974. at org.basex.query.expr.path.Path.compile(Path.java:124)
  3975. at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:41)
  3976. at org.basex.query.expr.gflwor.Let.compile(Let.java:84)
  3977. at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:109)
  3978. at org.basex.query.MainModule.comp(MainModule.java:83)
  3979. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  3980. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  3981. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  3982. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  3983. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  3984. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  3985. at org.basex.core.Command.run(Command.java:253)
  3986. at org.basex.core.cmd.Execute.run(Execute.java:54)
  3987. at org.basex.core.Command.run(Command.java:253)
  3988. at org.basex.core.Command.execute(Command.java:99)
  3989. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  3990. at org.basex.api.client.Session.execute(Session.java:36)
  3991. at org.basex.core.CLI.execute(CLI.java:103)
  3992. at org.basex.core.CLI.execute(CLI.java:87)
  3993. at org.basex.core.CLI.execute(CLI.java:74)
  3994. at org.basex.BaseX.<init>(BaseX.java:86)
  3995. at org.basex.BaseX.main(BaseX.java:42)
  3996. Creating Database...
  3997. . 61.03 ms (27199 KB)
  3998. Indexing Text...
  3999. . 0.0 M operations, 3.19 ms (27199 KB).
  4000. Indexing Attribute Values...
  4001. . 0.0 M operations, 0.32 ms (27199 KB).
  4002.  
  4003. Query:
  4004. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; declare namespace csd = "urn:ihe:iti:csd:2013"; let $func := doc('/var/lib/openinfoman/resources/stored_updating_query_definitions/mark_potential_duplicate.xml')/csd:careServicesFunction return csr_proc:load_stored_updating_function($func)
  4005.  
  4006. Compiling:
  4007. - pre-evaluating db:open("provider_directory", "stored_updating_functions.xml")
  4008. - rewriting exists($old_38)
  4009. - rewriting exists($urn_37)
  4010. - inlining $stored_updating_functions_36
  4011. - pre-evaluating doc("/var/lib/openinfoman/resources/stored_updating_query_definitions/mark_potential_duplicate.xml")
  4012. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}load_stored_updating_function#1
  4013. - inlining $func_144
  4014. - simplifying flwor expression
  4015. - inlining $func_143
  4016. - inlining $urn_145
  4017. - simplifying flwor expression
  4018.  
  4019. Optimized Query:
  4020. let $old_146 := db:open-pre("provider_directory",0)/careServicesFunctions/csd:careServicesFunction[(@urn = document-node {"mark_potential_duplicate.xml"}/csd:careServicesFunction/@urn)] return if(document-node {"mark_potential_duplicate.xml"}/csd:careServicesFunction/@urn) then if($old_146) then (delete nodes $old_146, insert node document-node {"mark_potential_duplicate.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions) else insert node document-node {"mark_potential_duplicate.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions else ()
  4021.  
  4022. Parsing: 878.41 ms
  4023. Compiling: 158.52 ms
  4024. Evaluating: 53.3 ms
  4025. Printing: 1.32 ms
  4026. Total Time: 1091.54 ms
  4027.  
  4028. Hit(s): 0 Items
  4029. Updated: 1 Item
  4030. Printed: 0 Bytes
  4031. Read Locking: global
  4032. Write Locking: global
  4033.  
  4034. Query "install_urn:openhie.org:openinfoman:mark_potential_duplicate.xq" executed in 1091.54 ms.
  4035. + [[ 0 != 0 ]]
  4036. + for SF in '${SFS[@]}'
  4037. + cd /var/lib/openinfoman
  4038. + /var/lib/openinfoman/resources/scripts/install_stored_function.php /var/lib/openinfoman/resources/stored_updating_query_definitions/delete_potential_duplicate.xml
  4039. Processing /var/lib/openinfoman/resources/stored_updating_query_definitions/delete_potential_duplicate.xml
  4040. Creating Database...
  4041. . 108.87 ms (20736 KB)
  4042. Package '/var/lib/openinfoman/repo-src/stored_function_urn:openhie.org:openinfoman:delete_potential_duplicate.xqm' installed in 970.8 ms.
  4043. /tmp/install_urn:openhie.org:openinfoman:delete_potential_duplicate.xqCreating Database...
  4044. . 47.78 ms (20714 KB)
  4045. org.basex.core.BaseXException: Database 'var' was not found.
  4046. at org.basex.core.cmd.Open.open(Open.java:92)
  4047. at org.basex.query.QueryResources.open(QueryResources.java:373)
  4048. at org.basex.query.QueryResources.data(QueryResources.java:352)
  4049. at org.basex.query.QueryResources.doc(QueryResources.java:160)
  4050. at org.basex.query.func.fn.Docs.doc(Docs.java:54)
  4051. at org.basex.query.func.fn.FnDoc.item(FnDoc.java:16)
  4052. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  4053. at org.basex.query.expr.Arr.compile(Arr.java:41)
  4054. at org.basex.query.expr.path.Path.compile(Path.java:124)
  4055. at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:41)
  4056. at org.basex.query.expr.gflwor.Let.compile(Let.java:84)
  4057. at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:109)
  4058. at org.basex.query.MainModule.comp(MainModule.java:83)
  4059. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  4060. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  4061. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  4062. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  4063. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  4064. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  4065. at org.basex.core.Command.run(Command.java:253)
  4066. at org.basex.core.cmd.Execute.run(Execute.java:54)
  4067. at org.basex.core.Command.run(Command.java:253)
  4068. at org.basex.core.Command.execute(Command.java:99)
  4069. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  4070. at org.basex.api.client.Session.execute(Session.java:36)
  4071. at org.basex.core.CLI.execute(CLI.java:103)
  4072. at org.basex.core.CLI.execute(CLI.java:87)
  4073. at org.basex.core.CLI.execute(CLI.java:74)
  4074. at org.basex.BaseX.<init>(BaseX.java:86)
  4075. at org.basex.BaseX.main(BaseX.java:42)
  4076. Creating Database...
  4077. . 55.54 ms (27165 KB)
  4078. Indexing Text...
  4079. . 0.0 M operations, 2.92 ms (27165 KB).
  4080. Indexing Attribute Values...
  4081. . 0.0 M operations, 0.28 ms (27165 KB).
  4082.  
  4083. Query:
  4084. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; declare namespace csd = "urn:ihe:iti:csd:2013"; let $func := doc('/var/lib/openinfoman/resources/stored_updating_query_definitions/delete_potential_duplicate.xml')/csd:careServicesFunction return csr_proc:load_stored_updating_function($func)
  4085.  
  4086. Compiling:
  4087. - pre-evaluating db:open("provider_directory", "stored_updating_functions.xml")
  4088. - rewriting exists($old_38)
  4089. - rewriting exists($urn_37)
  4090. - inlining $stored_updating_functions_36
  4091. - pre-evaluating doc("/var/lib/openinfoman/resources/stored_updating_query_definitions/delete_potential_duplicate.xml")
  4092. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}load_stored_updating_function#1
  4093. - inlining $func_144
  4094. - simplifying flwor expression
  4095. - inlining $func_143
  4096. - inlining $urn_145
  4097. - simplifying flwor expression
  4098.  
  4099. Optimized Query:
  4100. let $old_146 := db:open-pre("provider_directory",0)/careServicesFunctions/csd:careServicesFunction[(@urn = document-node {"delete_potential_duplicate.xml"}/csd:careServicesFunction/@urn)] return if(document-node {"delete_potential_duplicate.xml"}/csd:careServicesFunction/@urn) then if($old_146) then (delete nodes $old_146, insert node document-node {"delete_potential_duplicate.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions) else insert node document-node {"delete_potential_duplicate.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions else ()
  4101.  
  4102. Parsing: 581.42 ms
  4103. Compiling: 134.98 ms
  4104. Evaluating: 63.41 ms
  4105. Printing: 1.36 ms
  4106. Total Time: 781.17 ms
  4107.  
  4108. Hit(s): 0 Items
  4109. Updated: 1 Item
  4110. Printed: 0 Bytes
  4111. Read Locking: global
  4112. Write Locking: global
  4113.  
  4114. Query "install_urn:openhie.org:openinfoman:delete_potential_duplicate.xq" executed in 781.17 ms.
  4115. + [[ 0 != 0 ]]
  4116. + for SF in '${SFS[@]}'
  4117. + cd /var/lib/openinfoman
  4118. + /var/lib/openinfoman/resources/scripts/install_stored_function.php /var/lib/openinfoman/resources/stored_updating_query_definitions/organization_create.xml
  4119. Processing /var/lib/openinfoman/resources/stored_updating_query_definitions/organization_create.xml
  4120. Creating Database...
  4121. . 58.45 ms (20736 KB)
  4122. Creating Database...
  4123. . 5.29 ms (22026 KB)
  4124. Package '/var/lib/openinfoman/repo-src/stored_function_urn:openhie.org:openinfoman:organization_create.xqm' installed in 1013.03 ms.
  4125. /tmp/install_urn:openhie.org:openinfoman:organization_create.xqCreating Database...
  4126. . 76.62 ms (20811 KB)
  4127. org.basex.core.BaseXException: Database 'var' was not found.
  4128. at org.basex.core.cmd.Open.open(Open.java:92)
  4129. at org.basex.query.QueryResources.open(QueryResources.java:373)
  4130. at org.basex.query.QueryResources.data(QueryResources.java:352)
  4131. at org.basex.query.QueryResources.doc(QueryResources.java:160)
  4132. at org.basex.query.func.fn.Docs.doc(Docs.java:54)
  4133. at org.basex.query.func.fn.FnDoc.item(FnDoc.java:16)
  4134. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  4135. at org.basex.query.expr.Arr.compile(Arr.java:41)
  4136. at org.basex.query.expr.path.Path.compile(Path.java:124)
  4137. at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:41)
  4138. at org.basex.query.expr.gflwor.Let.compile(Let.java:84)
  4139. at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:109)
  4140. at org.basex.query.MainModule.comp(MainModule.java:83)
  4141. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  4142. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  4143. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  4144. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  4145. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  4146. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  4147. at org.basex.core.Command.run(Command.java:253)
  4148. at org.basex.core.cmd.Execute.run(Execute.java:54)
  4149. at org.basex.core.Command.run(Command.java:253)
  4150. at org.basex.core.Command.execute(Command.java:99)
  4151. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  4152. at org.basex.api.client.Session.execute(Session.java:36)
  4153. at org.basex.core.CLI.execute(CLI.java:103)
  4154. at org.basex.core.CLI.execute(CLI.java:87)
  4155. at org.basex.core.CLI.execute(CLI.java:74)
  4156. at org.basex.BaseX.<init>(BaseX.java:86)
  4157. at org.basex.BaseX.main(BaseX.java:42)
  4158. Creating Database...
  4159. . 31.4 ms (27263 KB)
  4160. Indexing Text...
  4161. . 0.0 M operations, 1.5 ms (27263 KB).
  4162. Indexing Attribute Values...
  4163. . 0.0 M operations, 0.23 ms (27263 KB).
  4164.  
  4165. Query:
  4166. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; declare namespace csd = "urn:ihe:iti:csd:2013"; let $func := doc('/var/lib/openinfoman/resources/stored_updating_query_definitions/organization_create.xml')/csd:careServicesFunction return csr_proc:load_stored_updating_function($func)
  4167.  
  4168. Compiling:
  4169. - pre-evaluating db:open("provider_directory", "stored_updating_functions.xml")
  4170. - rewriting exists($old_38)
  4171. - rewriting exists($urn_37)
  4172. - inlining $stored_updating_functions_36
  4173. - pre-evaluating doc("/var/lib/openinfoman/resources/stored_updating_query_definitions/organization_create.xml")
  4174. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}load_stored_updating_function#1
  4175. - inlining $func_144
  4176. - simplifying flwor expression
  4177. - inlining $func_143
  4178. - inlining $urn_145
  4179. - simplifying flwor expression
  4180.  
  4181. Optimized Query:
  4182. let $old_146 := db:open-pre("provider_directory",0)/careServicesFunctions/csd:careServicesFunction[(@urn = document-node {"organization_create.xml"}/csd:careServicesFunction/@urn)] return if(document-node {"organization_create.xml"}/csd:careServicesFunction/@urn) then if($old_146) then (delete nodes $old_146, insert node document-node {"organization_create.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions) else insert node document-node {"organization_create.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions else ()
  4183.  
  4184. Parsing: 807.75 ms
  4185. Compiling: 91.79 ms
  4186. Evaluating: 40.8 ms
  4187. Printing: 1.06 ms
  4188. Total Time: 941.4 ms
  4189.  
  4190. Hit(s): 0 Items
  4191. Updated: 1 Item
  4192. Printed: 0 Bytes
  4193. Read Locking: global
  4194. Write Locking: global
  4195.  
  4196. Query "install_urn:openhie.org:openinfoman:organization_create.xq" executed in 941.4 ms.
  4197. + [[ 0 != 0 ]]
  4198. + for SF in '${SFS[@]}'
  4199. + cd /var/lib/openinfoman
  4200. + /var/lib/openinfoman/resources/scripts/install_stored_function.php /var/lib/openinfoman/resources/stored_updating_query_definitions/provider_create.xml
  4201. Processing /var/lib/openinfoman/resources/stored_updating_query_definitions/provider_create.xml
  4202. Creating Database...
  4203. . 77.64 ms (20740 KB)
  4204. Creating Database...
  4205. . 9.15 ms (22031 KB)
  4206. Package '/var/lib/openinfoman/repo-src/stored_function_urn:openhie.org:openinfoman:provider_create.xqm' installed in 1048.79 ms.
  4207. /tmp/install_urn:openhie.org:openinfoman:provider_create.xqCreating Database...
  4208. . 73.48 ms (20811 KB)
  4209. org.basex.core.BaseXException: Database 'var' was not found.
  4210. at org.basex.core.cmd.Open.open(Open.java:92)
  4211. at org.basex.query.QueryResources.open(QueryResources.java:373)
  4212. at org.basex.query.QueryResources.data(QueryResources.java:352)
  4213. at org.basex.query.QueryResources.doc(QueryResources.java:160)
  4214. at org.basex.query.func.fn.Docs.doc(Docs.java:54)
  4215. at org.basex.query.func.fn.FnDoc.item(FnDoc.java:16)
  4216. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  4217. at org.basex.query.expr.Arr.compile(Arr.java:41)
  4218. at org.basex.query.expr.path.Path.compile(Path.java:124)
  4219. at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:41)
  4220. at org.basex.query.expr.gflwor.Let.compile(Let.java:84)
  4221. at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:109)
  4222. at org.basex.query.MainModule.comp(MainModule.java:83)
  4223. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  4224. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  4225. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  4226. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  4227. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  4228. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  4229. at org.basex.core.Command.run(Command.java:253)
  4230. at org.basex.core.cmd.Execute.run(Execute.java:54)
  4231. at org.basex.core.Command.run(Command.java:253)
  4232. at org.basex.core.Command.execute(Command.java:99)
  4233. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  4234. at org.basex.api.client.Session.execute(Session.java:36)
  4235. at org.basex.core.CLI.execute(CLI.java:103)
  4236. at org.basex.core.CLI.execute(CLI.java:87)
  4237. at org.basex.core.CLI.execute(CLI.java:74)
  4238. at org.basex.BaseX.<init>(BaseX.java:86)
  4239. at org.basex.BaseX.main(BaseX.java:42)
  4240. Creating Database...
  4241. . 26.99 ms (27263 KB)
  4242. Indexing Text...
  4243. . 0.0 M operations, 1.0 ms (27263 KB).
  4244. Indexing Attribute Values...
  4245. . 0.0 M operations, 0.13 ms (27263 KB).
  4246.  
  4247. Query:
  4248. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; declare namespace csd = "urn:ihe:iti:csd:2013"; let $func := doc('/var/lib/openinfoman/resources/stored_updating_query_definitions/provider_create.xml')/csd:careServicesFunction return csr_proc:load_stored_updating_function($func)
  4249.  
  4250. Compiling:
  4251. - pre-evaluating db:open("provider_directory", "stored_updating_functions.xml")
  4252. - rewriting exists($old_38)
  4253. - rewriting exists($urn_37)
  4254. - inlining $stored_updating_functions_36
  4255. - pre-evaluating doc("/var/lib/openinfoman/resources/stored_updating_query_definitions/provider_create.xml")
  4256. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}load_stored_updating_function#1
  4257. - inlining $func_144
  4258. - simplifying flwor expression
  4259. - inlining $func_143
  4260. - inlining $urn_145
  4261. - simplifying flwor expression
  4262.  
  4263. Optimized Query:
  4264. let $old_146 := db:open-pre("provider_directory",0)/careServicesFunctions/csd:careServicesFunction[(@urn = document-node {"provider_create.xml"}/csd:careServicesFunction/@urn)] return if(document-node {"provider_create.xml"}/csd:careServicesFunction/@urn) then if($old_146) then (delete nodes $old_146, insert node document-node {"provider_create.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions) else insert node document-node {"provider_create.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions else ()
  4265.  
  4266. Parsing: 607.27 ms
  4267. Compiling: 70.12 ms
  4268. Evaluating: 28.14 ms
  4269. Printing: 0.75 ms
  4270. Total Time: 706.29 ms
  4271.  
  4272. Hit(s): 0 Items
  4273. Updated: 1 Item
  4274. Printed: 0 Bytes
  4275. Read Locking: global
  4276. Write Locking: global
  4277.  
  4278. Query "install_urn:openhie.org:openinfoman:provider_create.xq" executed in 706.29 ms.
  4279. + [[ 0 != 0 ]]
  4280. + for SF in '${SFS[@]}'
  4281. + cd /var/lib/openinfoman
  4282. + /var/lib/openinfoman/resources/scripts/install_stored_function.php /var/lib/openinfoman/resources/stored_updating_query_definitions/facility_create.xml
  4283. Processing /var/lib/openinfoman/resources/stored_updating_query_definitions/facility_create.xml
  4284. Creating Database...
  4285. . 88.19 ms (20739 KB)
  4286. Creating Database...
  4287. . 13.29 ms (22029 KB)
  4288. Package '/var/lib/openinfoman/repo-src/stored_function_urn:openhie.org:openinfoman:facility_create.xqm' installed in 1126.88 ms.
  4289. /tmp/install_urn:openhie.org:openinfoman:facility_create.xqCreating Database...
  4290. . 92.05 ms (20811 KB)
  4291. org.basex.core.BaseXException: Database 'var' was not found.
  4292. at org.basex.core.cmd.Open.open(Open.java:92)
  4293. at org.basex.query.QueryResources.open(QueryResources.java:373)
  4294. at org.basex.query.QueryResources.data(QueryResources.java:352)
  4295. at org.basex.query.QueryResources.doc(QueryResources.java:160)
  4296. at org.basex.query.func.fn.Docs.doc(Docs.java:54)
  4297. at org.basex.query.func.fn.FnDoc.item(FnDoc.java:16)
  4298. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  4299. at org.basex.query.expr.Arr.compile(Arr.java:41)
  4300. at org.basex.query.expr.path.Path.compile(Path.java:124)
  4301. at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:41)
  4302. at org.basex.query.expr.gflwor.Let.compile(Let.java:84)
  4303. at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:109)
  4304. at org.basex.query.MainModule.comp(MainModule.java:83)
  4305. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  4306. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  4307. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  4308. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  4309. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  4310. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  4311. at org.basex.core.Command.run(Command.java:253)
  4312. at org.basex.core.cmd.Execute.run(Execute.java:54)
  4313. at org.basex.core.Command.run(Command.java:253)
  4314. at org.basex.core.Command.execute(Command.java:99)
  4315. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  4316. at org.basex.api.client.Session.execute(Session.java:36)
  4317. at org.basex.core.CLI.execute(CLI.java:103)
  4318. at org.basex.core.CLI.execute(CLI.java:87)
  4319. at org.basex.core.CLI.execute(CLI.java:74)
  4320. at org.basex.BaseX.<init>(BaseX.java:86)
  4321. at org.basex.BaseX.main(BaseX.java:42)
  4322. Creating Database...
  4323. . 52.19 ms (27290 KB)
  4324. Indexing Text...
  4325. . 0.0 M operations, 1.93 ms (27290 KB).
  4326. Indexing Attribute Values...
  4327. . 0.0 M operations, 4.68 ms (27290 KB).
  4328.  
  4329. Query:
  4330. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; declare namespace csd = "urn:ihe:iti:csd:2013"; let $func := doc('/var/lib/openinfoman/resources/stored_updating_query_definitions/facility_create.xml')/csd:careServicesFunction return csr_proc:load_stored_updating_function($func)
  4331.  
  4332. Compiling:
  4333. - pre-evaluating db:open("provider_directory", "stored_updating_functions.xml")
  4334. - rewriting exists($old_38)
  4335. - rewriting exists($urn_37)
  4336. - inlining $stored_updating_functions_36
  4337. - pre-evaluating doc("/var/lib/openinfoman/resources/stored_updating_query_definitions/facility_create.xml")
  4338. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}load_stored_updating_function#1
  4339. - inlining $func_144
  4340. - simplifying flwor expression
  4341. - inlining $func_143
  4342. - inlining $urn_145
  4343. - simplifying flwor expression
  4344.  
  4345. Optimized Query:
  4346. let $old_146 := db:open-pre("provider_directory",0)/careServicesFunctions/csd:careServicesFunction[(@urn = document-node {"facility_create.xml"}/csd:careServicesFunction/@urn)] return if(document-node {"facility_create.xml"}/csd:careServicesFunction/@urn) then if($old_146) then (delete nodes $old_146, insert node document-node {"facility_create.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions) else insert node document-node {"facility_create.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions else ()
  4347.  
  4348. Parsing: 1068.43 ms
  4349. Compiling: 129.72 ms
  4350. Evaluating: 50.53 ms
  4351. Printing: 1.45 ms
  4352. Total Time: 1250.13 ms
  4353.  
  4354. Hit(s): 0 Items
  4355. Updated: 1 Item
  4356. Printed: 0 Bytes
  4357. Read Locking: global
  4358. Write Locking: global
  4359.  
  4360. Query "install_urn:openhie.org:openinfoman:facility_create.xq" executed in 1250.13 ms.
  4361. + [[ 0 != 0 ]]
  4362. + for SF in '${SFS[@]}'
  4363. + cd /var/lib/openinfoman
  4364. + /var/lib/openinfoman/resources/scripts/install_stored_function.php /var/lib/openinfoman/resources/stored_updating_query_definitions/delete_duplicate.xml
  4365. Processing /var/lib/openinfoman/resources/stored_updating_query_definitions/delete_duplicate.xml
  4366. Creating Database...
  4367. . 90.76 ms (20739 KB)
  4368. Package '/var/lib/openinfoman/repo-src/stored_function_urn:openhie.org:openinfoman:delete_duplicate.xqm' installed in 715.72 ms.
  4369. /tmp/install_urn:openhie.org:openinfoman:delete_duplicate.xqCreating Database...
  4370. . 105.04 ms (20810 KB)
  4371. org.basex.core.BaseXException: Database 'var' was not found.
  4372. at org.basex.core.cmd.Open.open(Open.java:92)
  4373. at org.basex.query.QueryResources.open(QueryResources.java:373)
  4374. at org.basex.query.QueryResources.data(QueryResources.java:352)
  4375. at org.basex.query.QueryResources.doc(QueryResources.java:160)
  4376. at org.basex.query.func.fn.Docs.doc(Docs.java:54)
  4377. at org.basex.query.func.fn.FnDoc.item(FnDoc.java:16)
  4378. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  4379. at org.basex.query.expr.Arr.compile(Arr.java:41)
  4380. at org.basex.query.expr.path.Path.compile(Path.java:124)
  4381. at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:41)
  4382. at org.basex.query.expr.gflwor.Let.compile(Let.java:84)
  4383. at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:109)
  4384. at org.basex.query.MainModule.comp(MainModule.java:83)
  4385. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  4386. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  4387. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  4388. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  4389. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  4390. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  4391. at org.basex.core.Command.run(Command.java:253)
  4392. at org.basex.core.cmd.Execute.run(Execute.java:54)
  4393. at org.basex.core.Command.run(Command.java:253)
  4394. at org.basex.core.Command.execute(Command.java:99)
  4395. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  4396. at org.basex.api.client.Session.execute(Session.java:36)
  4397. at org.basex.core.CLI.execute(CLI.java:103)
  4398. at org.basex.core.CLI.execute(CLI.java:87)
  4399. at org.basex.core.CLI.execute(CLI.java:74)
  4400. at org.basex.BaseX.<init>(BaseX.java:86)
  4401. at org.basex.BaseX.main(BaseX.java:42)
  4402. Creating Database...
  4403. . 40.97 ms (27290 KB)
  4404. Indexing Text...
  4405. . 0.0 M operations, 2.17 ms (27290 KB).
  4406. Indexing Attribute Values...
  4407. . 0.0 M operations, 0.21 ms (27290 KB).
  4408.  
  4409. Query:
  4410. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; declare namespace csd = "urn:ihe:iti:csd:2013"; let $func := doc('/var/lib/openinfoman/resources/stored_updating_query_definitions/delete_duplicate.xml')/csd:careServicesFunction return csr_proc:load_stored_updating_function($func)
  4411.  
  4412. Compiling:
  4413. - pre-evaluating db:open("provider_directory", "stored_updating_functions.xml")
  4414. - rewriting exists($old_38)
  4415. - rewriting exists($urn_37)
  4416. - inlining $stored_updating_functions_36
  4417. - pre-evaluating doc("/var/lib/openinfoman/resources/stored_updating_query_definitions/delete_duplicate.xml")
  4418. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}load_stored_updating_function#1
  4419. - inlining $func_144
  4420. - simplifying flwor expression
  4421. - inlining $func_143
  4422. - inlining $urn_145
  4423. - simplifying flwor expression
  4424.  
  4425. Optimized Query:
  4426. let $old_146 := db:open-pre("provider_directory",0)/careServicesFunctions/csd:careServicesFunction[(@urn = document-node {"delete_duplicate.xml"}/csd:careServicesFunction/@urn)] return if(document-node {"delete_duplicate.xml"}/csd:careServicesFunction/@urn) then if($old_146) then (delete nodes $old_146, insert node document-node {"delete_duplicate.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions) else insert node document-node {"delete_duplicate.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions else ()
  4427.  
  4428. Parsing: 1193.63 ms
  4429. Compiling: 122.26 ms
  4430. Evaluating: 52.79 ms
  4431. Printing: 1.02 ms
  4432. Total Time: 1369.69 ms
  4433.  
  4434. Hit(s): 0 Items
  4435. Updated: 1 Item
  4436. Printed: 0 Bytes
  4437. Read Locking: global
  4438. Write Locking: global
  4439.  
  4440. Query "install_urn:openhie.org:openinfoman:delete_duplicate.xq" executed in 1369.69 ms.
  4441. + [[ 0 != 0 ]]
  4442. + for SF in '${SFS[@]}'
  4443. + cd /var/lib/openinfoman
  4444. + /var/lib/openinfoman/resources/scripts/install_stored_function.php /var/lib/openinfoman/resources/stored_updating_query_definitions/merge_by_identifier.xml
  4445. Processing /var/lib/openinfoman/resources/stored_updating_query_definitions/merge_by_identifier.xml
  4446. Creating Database...
  4447. . 102.48 ms (20747 KB)
  4448. Creating Database...
  4449. . 10.95 ms (25908 KB)
  4450. Package '/var/lib/openinfoman/repo-src/stored_function_urn:openhie.org:openinfoman:identifier_merge.xqm' installed in 1392.96 ms.
  4451. /tmp/install_urn:openhie.org:openinfoman:identifier_merge.xqCreating Database...
  4452. . 48.9 ms (20737 KB)
  4453. org.basex.core.BaseXException: Database 'var' was not found.
  4454. at org.basex.core.cmd.Open.open(Open.java:92)
  4455. at org.basex.query.QueryResources.open(QueryResources.java:373)
  4456. at org.basex.query.QueryResources.data(QueryResources.java:352)
  4457. at org.basex.query.QueryResources.doc(QueryResources.java:160)
  4458. at org.basex.query.func.fn.Docs.doc(Docs.java:54)
  4459. at org.basex.query.func.fn.FnDoc.item(FnDoc.java:16)
  4460. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  4461. at org.basex.query.expr.Arr.compile(Arr.java:41)
  4462. at org.basex.query.expr.path.Path.compile(Path.java:124)
  4463. at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:41)
  4464. at org.basex.query.expr.gflwor.Let.compile(Let.java:84)
  4465. at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:109)
  4466. at org.basex.query.MainModule.comp(MainModule.java:83)
  4467. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  4468. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  4469. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  4470. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  4471. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  4472. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  4473. at org.basex.core.Command.run(Command.java:253)
  4474. at org.basex.core.cmd.Execute.run(Execute.java:54)
  4475. at org.basex.core.Command.run(Command.java:253)
  4476. at org.basex.core.Command.execute(Command.java:99)
  4477. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  4478. at org.basex.api.client.Session.execute(Session.java:36)
  4479. at org.basex.core.CLI.execute(CLI.java:103)
  4480. at org.basex.core.CLI.execute(CLI.java:87)
  4481. at org.basex.core.CLI.execute(CLI.java:74)
  4482. at org.basex.BaseX.<init>(BaseX.java:86)
  4483. at org.basex.BaseX.main(BaseX.java:42)
  4484. Creating Database...
  4485. . 60.52 ms (27189 KB)
  4486. Indexing Text...
  4487. . 0.0 M operations, 1.91 ms (27189 KB).
  4488. Indexing Attribute Values...
  4489. . 0.0 M operations, 0.26 ms (27189 KB).
  4490.  
  4491. Query:
  4492. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; declare namespace csd = "urn:ihe:iti:csd:2013"; let $func := doc('/var/lib/openinfoman/resources/stored_updating_query_definitions/merge_by_identifier.xml')/csd:careServicesFunction return csr_proc:load_stored_updating_function($func)
  4493.  
  4494. Compiling:
  4495. - pre-evaluating db:open("provider_directory", "stored_updating_functions.xml")
  4496. - rewriting exists($old_38)
  4497. - rewriting exists($urn_37)
  4498. - inlining $stored_updating_functions_36
  4499. - pre-evaluating doc("/var/lib/openinfoman/resources/stored_updating_query_definitions/merge_by_identifier.xml")
  4500. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}load_stored_updating_function#1
  4501. - inlining $func_144
  4502. - simplifying flwor expression
  4503. - inlining $func_143
  4504. - inlining $urn_145
  4505. - simplifying flwor expression
  4506.  
  4507. Optimized Query:
  4508. let $old_146 := db:open-pre("provider_directory",0)/careServicesFunctions/csd:careServicesFunction[(@urn = document-node {"merge_by_identifier.xml"}/csd:careServicesFunction/@urn)] return if(document-node {"merge_by_identifier.xml"}/csd:careServicesFunction/@urn) then if($old_146) then (delete nodes $old_146, insert node document-node {"merge_by_identifier.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions) else insert node document-node {"merge_by_identifier.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions else ()
  4509.  
  4510. Parsing: 590.04 ms
  4511. Compiling: 168.91 ms
  4512. Evaluating: 62.92 ms
  4513. Printing: 1.13 ms
  4514. Total Time: 822.99 ms
  4515.  
  4516. Hit(s): 0 Items
  4517. Updated: 1 Item
  4518. Printed: 0 Bytes
  4519. Read Locking: global
  4520. Write Locking: global
  4521.  
  4522. Query "install_urn:openhie.org:openinfoman:identifier_merge.xq" executed in 822.99 ms.
  4523. + [[ 0 != 0 ]]
  4524. + for SF in '${SFS[@]}'
  4525. + cd /var/lib/openinfoman
  4526. + /var/lib/openinfoman/resources/scripts/install_stored_function.php /var/lib/openinfoman/resources/stored_updating_query_definitions/extract_hierarchy.xml
  4527. Processing /var/lib/openinfoman/resources/stored_updating_query_definitions/extract_hierarchy.xml
  4528. Creating Database...
  4529. . 89.95 ms (20747 KB)
  4530. Creating Database...
  4531. . 10.97 ms (25908 KB)
  4532. Creating Database...
  4533. . 9.24 ms (28488 KB)
  4534. Package '/var/lib/openinfoman/repo-src/stored_function_urn:openhie.org:openinfoman:extract_hierachy.xqm' installed in 1285.08 ms.
  4535. /tmp/install_urn:openhie.org:openinfoman:extract_hierachy.xqCreating Database...
  4536. . 80.09 ms (20811 KB)
  4537. org.basex.core.BaseXException: Database 'var' was not found.
  4538. at org.basex.core.cmd.Open.open(Open.java:92)
  4539. at org.basex.query.QueryResources.open(QueryResources.java:373)
  4540. at org.basex.query.QueryResources.data(QueryResources.java:352)
  4541. at org.basex.query.QueryResources.doc(QueryResources.java:160)
  4542. at org.basex.query.func.fn.Docs.doc(Docs.java:54)
  4543. at org.basex.query.func.fn.FnDoc.item(FnDoc.java:16)
  4544. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  4545. at org.basex.query.expr.Arr.compile(Arr.java:41)
  4546. at org.basex.query.expr.path.Path.compile(Path.java:124)
  4547. at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:41)
  4548. at org.basex.query.expr.gflwor.Let.compile(Let.java:84)
  4549. at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:109)
  4550. at org.basex.query.MainModule.comp(MainModule.java:83)
  4551. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  4552. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  4553. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  4554. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  4555. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  4556. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  4557. at org.basex.core.Command.run(Command.java:253)
  4558. at org.basex.core.cmd.Execute.run(Execute.java:54)
  4559. at org.basex.core.Command.run(Command.java:253)
  4560. at org.basex.core.Command.execute(Command.java:99)
  4561. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  4562. at org.basex.api.client.Session.execute(Session.java:36)
  4563. at org.basex.core.CLI.execute(CLI.java:103)
  4564. at org.basex.core.CLI.execute(CLI.java:87)
  4565. at org.basex.core.CLI.execute(CLI.java:74)
  4566. at org.basex.BaseX.<init>(BaseX.java:86)
  4567. at org.basex.BaseX.main(BaseX.java:42)
  4568. Creating Database...
  4569. . 24.85 ms (27263 KB)
  4570. Indexing Text...
  4571. . 0.0 M operations, 1.14 ms (27263 KB).
  4572. Indexing Attribute Values...
  4573. . 0.0 M operations, 0.13 ms (27263 KB).
  4574.  
  4575. Query:
  4576. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; declare namespace csd = "urn:ihe:iti:csd:2013"; let $func := doc('/var/lib/openinfoman/resources/stored_updating_query_definitions/extract_hierarchy.xml')/csd:careServicesFunction return csr_proc:load_stored_updating_function($func)
  4577.  
  4578. Compiling:
  4579. - pre-evaluating db:open("provider_directory", "stored_updating_functions.xml")
  4580. - rewriting exists($old_38)
  4581. - rewriting exists($urn_37)
  4582. - inlining $stored_updating_functions_36
  4583. - pre-evaluating doc("/var/lib/openinfoman/resources/stored_updating_query_definitions/extract_hierarchy.xml")
  4584. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}load_stored_updating_function#1
  4585. - inlining $func_144
  4586. - simplifying flwor expression
  4587. - inlining $func_143
  4588. - inlining $urn_145
  4589. - simplifying flwor expression
  4590.  
  4591. Optimized Query:
  4592. let $old_146 := db:open-pre("provider_directory",0)/careServicesFunctions/csd:careServicesFunction[(@urn = document-node {"extract_hierarchy.xml"}/csd:careServicesFunction/@urn)] return if(document-node {"extract_hierarchy.xml"}/csd:careServicesFunction/@urn) then if($old_146) then (delete nodes $old_146, insert node document-node {"extract_hierarchy.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions) else insert node document-node {"extract_hierarchy.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions else ()
  4593.  
  4594. Parsing: 866.23 ms
  4595. Compiling: 62.8 ms
  4596. Evaluating: 30.43 ms
  4597. Printing: 0.68 ms
  4598. Total Time: 960.14 ms
  4599.  
  4600. Hit(s): 0 Items
  4601. Updated: 1 Item
  4602. Printed: 0 Bytes
  4603. Read Locking: global
  4604. Write Locking: global
  4605.  
  4606. Query "install_urn:openhie.org:openinfoman:extract_hierachy.xq" executed in 960.14 ms.
  4607. + [[ 0 != 0 ]]
  4608. + chown -R oi:oi /var/lib/openinfoman
  4609. + service openinfoman start
  4610. openinfoman start/running, process 24964
  4611. + set +e
  4612. + i=0
  4613. + (( 1 ))
  4614. + (( i<30 ))
  4615. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4616. + '[' -z /usr/bin/wget ']'
  4617. + sleep 1
  4618. + (( ++i ))
  4619. + (( i<30 ))
  4620. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4621. + '[' -z /usr/bin/wget ']'
  4622. + sleep 1
  4623. + (( ++i ))
  4624. + (( i<30 ))
  4625. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4626. + '[' -z /usr/bin/wget ']'
  4627. + sleep 1
  4628. + (( ++i ))
  4629. + (( i<30 ))
  4630. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4631. + '[' -z /usr/bin/wget ']'
  4632. + sleep 1
  4633. + (( ++i ))
  4634. + (( i<30 ))
  4635. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4636. + '[' -z /usr/bin/wget ']'
  4637. + sleep 1
  4638. + (( ++i ))
  4639. + (( i<30 ))
  4640. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4641. + '[' -z /usr/bin/wget ']'
  4642. + sleep 1
  4643. + (( ++i ))
  4644. + (( i<30 ))
  4645. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4646. + '[' -z /usr/bin/wget ']'
  4647. + sleep 1
  4648. + (( ++i ))
  4649. + (( i<30 ))
  4650. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4651. + '[' -z /usr/bin/wget ']'
  4652. + sleep 1
  4653. + (( ++i ))
  4654. + (( i<30 ))
  4655. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4656. + '[' -z /usr/bin/wget ']'
  4657. + sleep 1
  4658. + (( ++i ))
  4659. + (( i<30 ))
  4660. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4661. + '[' -z /usr/bin/wget ']'
  4662. + sleep 1
  4663. + (( ++i ))
  4664. + (( i<30 ))
  4665. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4666. + '[' -z /usr/bin/wget ']'
  4667. + sleep 1
  4668. + (( ++i ))
  4669. + (( i<30 ))
  4670. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4671. + '[' -z /usr/bin/wget ']'
  4672. + sleep 1
  4673. + (( ++i ))
  4674. + (( i<30 ))
  4675. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4676. + '[' -z /usr/bin/wget ']'
  4677. + sleep 1
  4678. + (( ++i ))
  4679. + (( i<30 ))
  4680. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4681. + '[' -z /usr/bin/wget ']'
  4682. + sleep 1
  4683. + (( ++i ))
  4684. + (( i<30 ))
  4685. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4686. + '[' -z /usr/bin/wget ']'
  4687. + sleep 1
  4688. + (( ++i ))
  4689. + (( i<30 ))
  4690. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4691. + '[' -z /usr/bin/wget ']'
  4692. + sleep 1
  4693. + (( ++i ))
  4694. + (( i<30 ))
  4695. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4696. + '[' -z /usr/bin/wget ']'
  4697. + sleep 1
  4698. + (( ++i ))
  4699. + (( i<30 ))
  4700. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4701. + '[' -z /usr/bin/wget ']'
  4702. + sleep 1
  4703. + (( ++i ))
  4704. + (( i<30 ))
  4705. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4706. + '[' -z /usr/bin/wget ']'
  4707. + sleep 1
  4708. + (( ++i ))
  4709. + (( i<30 ))
  4710. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4711. + '[' -z /usr/bin/wget ']'
  4712. + sleep 1
  4713. + (( ++i ))
  4714. + (( i<30 ))
  4715. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4716. + '[' -z /usr/bin/wget ']'
  4717. + sleep 1
  4718. + (( ++i ))
  4719. + (( i<30 ))
  4720. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4721. + '[' -z /usr/bin/wget ']'
  4722. + sleep 1
  4723. + (( ++i ))
  4724. + (( i<30 ))
  4725. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4726. + '[' -z /usr/bin/wget ']'
  4727. + sleep 1
  4728. + (( ++i ))
  4729. + (( i<30 ))
  4730. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4731. + '[' -z /usr/bin/wget ']'
  4732. + sleep 1
  4733. + (( ++i ))
  4734. + (( i<30 ))
  4735. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4736. + '[' -z /usr/bin/wget ']'
  4737. + sleep 1
  4738. + (( ++i ))
  4739. + (( i<30 ))
  4740. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4741. + '[' -z /usr/bin/wget ']'
  4742. + sleep 1
  4743. + (( ++i ))
  4744. + (( i<30 ))
  4745. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4746. + '[' -z /usr/bin/wget ']'
  4747. + sleep 1
  4748. + (( ++i ))
  4749. + (( i<30 ))
  4750. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4751. + '[' -z /usr/bin/wget ']'
  4752. + sleep 1
  4753. + (( ++i ))
  4754. + (( i<30 ))
  4755. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4756. + '[' -z /usr/bin/wget ']'
  4757. + sleep 1
  4758. + (( ++i ))
  4759. + (( i<30 ))
  4760. + activation=($WGET --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15)
  4761. + '[' -z /usr/bin/wget ']'
  4762. + sleep 1
  4763. + (( ++i ))
  4764. + (( i<30 ))
  4765. + set -e
  4766. + /usr/bin/wget --no-check-certificate http://localhost:8984/CSD -O /dev/null --timeout 15
  4767. --2016-09-08 19:18:33-- http://localhost:8984/CSD
  4768. Resolving localhost (localhost)... 127.0.0.1
  4769. Connecting to localhost (localhost)|127.0.0.1|:8984... connected.
  4770. HTTP request sent, awaiting response... 200 OK
  4771. Length: 10800 (11K) [text/html]
  4772. Saving to: ‘/dev/null’
  4773.  
  4774. 100%[====================================================================>] 10,800 --.-K/s in 0s
  4775.  
  4776. 2016-09-08 19:18:38 (201 MB/s) - ‘/dev/null’ saved [10800/10800]
  4777.  
  4778. + for SVS in '${SVSS[@]}'
  4779. + /usr/bin/wget --no-check-certificate http://localhost:8984/CSD/SVS/initSharedValueSet/svs/1.3.6.1.4.1.21367.200.101/load -O /dev/null
  4780. --2016-09-08 19:18:38-- http://localhost:8984/CSD/SVS/initSharedValueSet/svs/1.3.6.1.4.1.21367.200.101/load
  4781. Resolving localhost (localhost)... 127.0.0.1
  4782. Connecting to localhost (localhost)|127.0.0.1|:8984... connected.
  4783. HTTP request sent, awaiting response... 302 Found
  4784. Location: https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet [following]
  4785. --2016-09-08 19:18:38-- https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet
  4786. Connecting to 104.131.107.90:443... connected.
  4787. WARNING: cannot verify 104.131.107.90's certificate, issued by ‘/C=NA/ST=NA/L=NA/O=DATIM/CN=DATIM.local’:
  4788. Self-signed certificate encountered.
  4789. WARNING: certificate common name ‘DATIM.local’ doesn't match requested host name ‘104.131.107.90’.
  4790. HTTP request sent, awaiting response... 200 OK
  4791. Length: unspecified [text/html]
  4792. Saving to: ‘/dev/null’
  4793.  
  4794. [ <=> ] 33,699 --.-K/s in 0s
  4795.  
  4796. 2016-09-08 19:18:39 (99.1 MB/s) - ‘/dev/null’ saved [33699]
  4797.  
  4798. + for SVS in '${SVSS[@]}'
  4799. + /usr/bin/wget --no-check-certificate http://localhost:8984/CSD/SVS/initSharedValueSet/svs/1.3.6.1.4.1.21367.200.102/load -O /dev/null
  4800. --2016-09-08 19:18:39-- http://localhost:8984/CSD/SVS/initSharedValueSet/svs/1.3.6.1.4.1.21367.200.102/load
  4801. Resolving localhost (localhost)... 127.0.0.1
  4802. Connecting to localhost (localhost)|127.0.0.1|:8984... connected.
  4803. HTTP request sent, awaiting response... 302 Found
  4804. Location: https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet [following]
  4805. --2016-09-08 19:18:39-- https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet
  4806. Connecting to 104.131.107.90:443... connected.
  4807. WARNING: cannot verify 104.131.107.90's certificate, issued by ‘/C=NA/ST=NA/L=NA/O=DATIM/CN=DATIM.local’:
  4808. Self-signed certificate encountered.
  4809. WARNING: certificate common name ‘DATIM.local’ doesn't match requested host name ‘104.131.107.90’.
  4810. HTTP request sent, awaiting response... 200 OK
  4811. Length: unspecified [text/html]
  4812. Saving to: ‘/dev/null’
  4813.  
  4814. [ <=> ] 34,240 --.-K/s in 0.002s
  4815.  
  4816. 2016-09-08 19:18:39 (20.4 MB/s) - ‘/dev/null’ saved [34240]
  4817.  
  4818. + for SVS in '${SVSS[@]}'
  4819. + /usr/bin/wget --no-check-certificate http://localhost:8984/CSD/SVS/initSharedValueSet/svs/1.3.6.1.4.1.21367.200.103/load -O /dev/null
  4820. --2016-09-08 19:18:39-- http://localhost:8984/CSD/SVS/initSharedValueSet/svs/1.3.6.1.4.1.21367.200.103/load
  4821. Resolving localhost (localhost)... 127.0.0.1
  4822. Connecting to localhost (localhost)|127.0.0.1|:8984... connected.
  4823. HTTP request sent, awaiting response... 302 Found
  4824. Location: https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet [following]
  4825. --2016-09-08 19:18:39-- https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet
  4826. Connecting to 104.131.107.90:443... connected.
  4827. WARNING: cannot verify 104.131.107.90's certificate, issued by ‘/C=NA/ST=NA/L=NA/O=DATIM/CN=DATIM.local’:
  4828. Self-signed certificate encountered.
  4829. WARNING: certificate common name ‘DATIM.local’ doesn't match requested host name ‘104.131.107.90’.
  4830. HTTP request sent, awaiting response... 200 OK
  4831. Length: unspecified [text/html]
  4832. Saving to: ‘/dev/null’
  4833.  
  4834. [ <=> ] 34,780 --.-K/s in 0s
  4835.  
  4836. 2016-09-08 19:18:40 (70.0 MB/s) - ‘/dev/null’ saved [34780]
  4837.  
  4838. + for SVS in '${SVSS[@]}'
  4839. + /usr/bin/wget --no-check-certificate http://localhost:8984/CSD/SVS/initSharedValueSet/svs/1.3.6.1.4.1.21367.200.104/load -O /dev/null
  4840. --2016-09-08 19:18:40-- http://localhost:8984/CSD/SVS/initSharedValueSet/svs/1.3.6.1.4.1.21367.200.104/load
  4841. Resolving localhost (localhost)... 127.0.0.1
  4842. Connecting to localhost (localhost)|127.0.0.1|:8984... connected.
  4843. HTTP request sent, awaiting response... 302 Found
  4844. Location: https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet [following]
  4845. --2016-09-08 19:18:40-- https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet
  4846. Connecting to 104.131.107.90:443... connected.
  4847. WARNING: cannot verify 104.131.107.90's certificate, issued by ‘/C=NA/ST=NA/L=NA/O=DATIM/CN=DATIM.local’:
  4848. Self-signed certificate encountered.
  4849. WARNING: certificate common name ‘DATIM.local’ doesn't match requested host name ‘104.131.107.90’.
  4850. HTTP request sent, awaiting response... 200 OK
  4851. Length: unspecified [text/html]
  4852. Saving to: ‘/dev/null’
  4853.  
  4854. [ <=> ] 35,318 --.-K/s in 0.002s
  4855.  
  4856. 2016-09-08 19:18:40 (19.4 MB/s) - ‘/dev/null’ saved [35318]
  4857.  
  4858. + for SVS in '${SVSS[@]}'
  4859. + /usr/bin/wget --no-check-certificate http://localhost:8984/CSD/SVS/initSharedValueSet/svs/1.3.6.1.4.1.21367.200.105/load -O /dev/null
  4860. --2016-09-08 19:18:40-- http://localhost:8984/CSD/SVS/initSharedValueSet/svs/1.3.6.1.4.1.21367.200.105/load
  4861. Resolving localhost (localhost)... 127.0.0.1
  4862. Connecting to localhost (localhost)|127.0.0.1|:8984... connected.
  4863. HTTP request sent, awaiting response... 302 Found
  4864. Location: https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet [following]
  4865. --2016-09-08 19:18:40-- https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet
  4866. Connecting to 104.131.107.90:443... connected.
  4867. WARNING: cannot verify 104.131.107.90's certificate, issued by ‘/C=NA/ST=NA/L=NA/O=DATIM/CN=DATIM.local’:
  4868. Self-signed certificate encountered.
  4869. WARNING: certificate common name ‘DATIM.local’ doesn't match requested host name ‘104.131.107.90’.
  4870. HTTP request sent, awaiting response... 200 OK
  4871. Length: unspecified [text/html]
  4872. Saving to: ‘/dev/null’
  4873.  
  4874. [ <=> ] 35,858 --.-K/s in 0s
  4875.  
  4876. 2016-09-08 19:18:41 (162 MB/s) - ‘/dev/null’ saved [35858]
  4877.  
  4878. + for SVS in '${SVSS[@]}'
  4879. + /usr/bin/wget --no-check-certificate http://localhost:8984/CSD/SVS/initSharedValueSet/svs/1.3.6.1.4.1.21367.200.106/load -O /dev/null
  4880. --2016-09-08 19:18:41-- http://localhost:8984/CSD/SVS/initSharedValueSet/svs/1.3.6.1.4.1.21367.200.106/load
  4881. Resolving localhost (localhost)... 127.0.0.1
  4882. Connecting to localhost (localhost)|127.0.0.1|:8984... connected.
  4883. HTTP request sent, awaiting response... 302 Found
  4884. Location: https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet [following]
  4885. --2016-09-08 19:18:41-- https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet
  4886. Connecting to 104.131.107.90:443... connected.
  4887. WARNING: cannot verify 104.131.107.90's certificate, issued by ‘/C=NA/ST=NA/L=NA/O=DATIM/CN=DATIM.local’:
  4888. Self-signed certificate encountered.
  4889. WARNING: certificate common name ‘DATIM.local’ doesn't match requested host name ‘104.131.107.90’.
  4890. HTTP request sent, awaiting response... 200 OK
  4891. Length: unspecified [text/html]
  4892. Saving to: ‘/dev/null’
  4893.  
  4894. [ <=> ] 36,396 --.-K/s in 0.001s
  4895.  
  4896. 2016-09-08 19:18:41 (62.9 MB/s) - ‘/dev/null’ saved [36396]
  4897.  
  4898. + for SVS in '${SVSS[@]}'
  4899. + /usr/bin/wget --no-check-certificate http://localhost:8984/CSD/SVS/initSharedValueSet/svs/1.3.6.1.4.1.21367.200.108/load -O /dev/null
  4900. --2016-09-08 19:18:41-- http://localhost:8984/CSD/SVS/initSharedValueSet/svs/1.3.6.1.4.1.21367.200.108/load
  4901. Resolving localhost (localhost)... 127.0.0.1
  4902. Connecting to localhost (localhost)|127.0.0.1|:8984... connected.
  4903. HTTP request sent, awaiting response... 302 Found
  4904. Location: https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet [following]
  4905. --2016-09-08 19:18:41-- https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet
  4906. Connecting to 104.131.107.90:443... connected.
  4907. WARNING: cannot verify 104.131.107.90's certificate, issued by ‘/C=NA/ST=NA/L=NA/O=DATIM/CN=DATIM.local’:
  4908. Self-signed certificate encountered.
  4909. WARNING: certificate common name ‘DATIM.local’ doesn't match requested host name ‘104.131.107.90’.
  4910. HTTP request sent, awaiting response... 200 OK
  4911. Length: unspecified [text/html]
  4912. Saving to: ‘/dev/null’
  4913.  
  4914. [ <=> ] 36,934 --.-K/s in 0s
  4915.  
  4916. 2016-09-08 19:18:42 (79.6 MB/s) - ‘/dev/null’ saved [36934]
  4917.  
  4918. + for SVS in '${SVSS[@]}'
  4919. + /usr/bin/wget --no-check-certificate http://localhost:8984/CSD/SVS/initSharedValueSet/svs/1.3.6.1.4.1.21367.200.109/load -O /dev/null
  4920. --2016-09-08 19:18:42-- http://localhost:8984/CSD/SVS/initSharedValueSet/svs/1.3.6.1.4.1.21367.200.109/load
  4921. Resolving localhost (localhost)... 127.0.0.1
  4922. Connecting to localhost (localhost)|127.0.0.1|:8984... connected.
  4923. HTTP request sent, awaiting response... 302 Found
  4924. Location: https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet [following]
  4925. --2016-09-08 19:18:42-- https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet
  4926. Connecting to 104.131.107.90:443... connected.
  4927. WARNING: cannot verify 104.131.107.90's certificate, issued by ‘/C=NA/ST=NA/L=NA/O=DATIM/CN=DATIM.local’:
  4928. Self-signed certificate encountered.
  4929. WARNING: certificate common name ‘DATIM.local’ doesn't match requested host name ‘104.131.107.90’.
  4930. HTTP request sent, awaiting response... 200 OK
  4931. Length: unspecified [text/html]
  4932. Saving to: ‘/dev/null’
  4933.  
  4934. [ <=> ] 37,464 --.-K/s in 0s
  4935.  
  4936. 2016-09-08 19:18:42 (79.0 MB/s) - ‘/dev/null’ saved [37464]
  4937.  
  4938. + for SVS in '${SVSS[@]}'
  4939. + /usr/bin/wget --no-check-certificate http://localhost:8984/CSD/SVS/initSharedValueSet/svs/1.3.6.1.4.1.21367.200.110/load -O /dev/null
  4940. --2016-09-08 19:18:42-- http://localhost:8984/CSD/SVS/initSharedValueSet/svs/1.3.6.1.4.1.21367.200.110/load
  4941. Resolving localhost (localhost)... 127.0.0.1
  4942. Connecting to localhost (localhost)|127.0.0.1|:8984... connected.
  4943. HTTP request sent, awaiting response... 302 Found
  4944. Location: https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet [following]
  4945. --2016-09-08 19:18:42-- https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet
  4946. Connecting to 104.131.107.90:443... connected.
  4947. WARNING: cannot verify 104.131.107.90's certificate, issued by ‘/C=NA/ST=NA/L=NA/O=DATIM/CN=DATIM.local’:
  4948. Self-signed certificate encountered.
  4949. WARNING: certificate common name ‘DATIM.local’ doesn't match requested host name ‘104.131.107.90’.
  4950. HTTP request sent, awaiting response... 200 OK
  4951. Length: unspecified [text/html]
  4952. Saving to: ‘/dev/null’
  4953.  
  4954. [ <=> ] 38,009 --.-K/s in 0s
  4955.  
  4956. 2016-09-08 19:18:43 (126 MB/s) - ‘/dev/null’ saved [38009]
  4957.  
  4958. + for SVS in '${SVSS[@]}'
  4959. + /usr/bin/wget --no-check-certificate http://localhost:8984/CSD/SVS/initSharedValueSet/svs/2.25.1098910207106778371035457739371181056504702027035/load -O /dev/null
  4960. --2016-09-08 19:18:43-- http://localhost:8984/CSD/SVS/initSharedValueSet/svs/2.25.1098910207106778371035457739371181056504702027035/load
  4961. Resolving localhost (localhost)... 127.0.0.1
  4962. Connecting to localhost (localhost)|127.0.0.1|:8984... connected.
  4963. HTTP request sent, awaiting response... 302 Found
  4964. Location: https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet [following]
  4965. --2016-09-08 19:18:43-- https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet
  4966. Connecting to 104.131.107.90:443... connected.
  4967. WARNING: cannot verify 104.131.107.90's certificate, issued by ‘/C=NA/ST=NA/L=NA/O=DATIM/CN=DATIM.local’:
  4968. Self-signed certificate encountered.
  4969. WARNING: certificate common name ‘DATIM.local’ doesn't match requested host name ‘104.131.107.90’.
  4970. HTTP request sent, awaiting response... 200 OK
  4971. Length: unspecified [text/html]
  4972. Saving to: ‘/dev/null’
  4973.  
  4974. [ <=> ] 38,640 --.-K/s in 0s
  4975.  
  4976. 2016-09-08 19:18:43 (143 MB/s) - ‘/dev/null’ saved [38640]
  4977.  
  4978. + for SVS in '${SVSS[@]}'
  4979. + /usr/bin/wget --no-check-certificate http://localhost:8984/CSD/SVS/initSharedValueSet/svs/2.25.17331675369518445540420660603637128875763657/load -O /dev/null
  4980. --2016-09-08 19:18:43-- http://localhost:8984/CSD/SVS/initSharedValueSet/svs/2.25.17331675369518445540420660603637128875763657/load
  4981. Resolving localhost (localhost)... 127.0.0.1
  4982. Connecting to localhost (localhost)|127.0.0.1|:8984... connected.
  4983. HTTP request sent, awaiting response... 302 Found
  4984. Location: https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet [following]
  4985. --2016-09-08 19:18:44-- https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet
  4986. Connecting to 104.131.107.90:443... connected.
  4987. WARNING: cannot verify 104.131.107.90's certificate, issued by ‘/C=NA/ST=NA/L=NA/O=DATIM/CN=DATIM.local’:
  4988. Self-signed certificate encountered.
  4989. WARNING: certificate common name ‘DATIM.local’ doesn't match requested host name ‘104.131.107.90’.
  4990. HTTP request sent, awaiting response... 200 OK
  4991. Length: unspecified [text/html]
  4992. Saving to: ‘/dev/null’
  4993.  
  4994. [ <=> ] 39,272 --.-K/s in 0.001s
  4995.  
  4996. 2016-09-08 19:18:44 (38.8 MB/s) - ‘/dev/null’ saved [39272]
  4997.  
  4998. + for SVS in '${SVSS[@]}'
  4999. + /usr/bin/wget --no-check-certificate http://localhost:8984/CSD/SVS/initSharedValueSet/svs/2.25.18630021159349753613449707959296853730613166189051/load -O /dev/null
  5000. --2016-09-08 19:18:44-- http://localhost:8984/CSD/SVS/initSharedValueSet/svs/2.25.18630021159349753613449707959296853730613166189051/load
  5001. Resolving localhost (localhost)... 127.0.0.1
  5002. Connecting to localhost (localhost)|127.0.0.1|:8984... connected.
  5003. HTTP request sent, awaiting response... 302 Found
  5004. Location: https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet [following]
  5005. --2016-09-08 19:18:44-- https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet
  5006. Connecting to 104.131.107.90:443... connected.
  5007. WARNING: cannot verify 104.131.107.90's certificate, issued by ‘/C=NA/ST=NA/L=NA/O=DATIM/CN=DATIM.local’:
  5008. Self-signed certificate encountered.
  5009. WARNING: certificate common name ‘DATIM.local’ doesn't match requested host name ‘104.131.107.90’.
  5010. HTTP request sent, awaiting response... 200 OK
  5011. Length: unspecified [text/html]
  5012. Saving to: ‘/dev/null’
  5013.  
  5014. [ <=> ] 39,920 --.-K/s in 0.001s
  5015.  
  5016. 2016-09-08 19:18:44 (31.0 MB/s) - ‘/dev/null’ saved [39920]
  5017.  
  5018. + for SVS in '${SVSS[@]}'
  5019. + /usr/bin/wget --no-check-certificate http://localhost:8984/CSD/SVS/initSharedValueSet/svs/2.25.259359036081944859901459759453974543442705863430576/load -O /dev/null
  5020. --2016-09-08 19:18:44-- http://localhost:8984/CSD/SVS/initSharedValueSet/svs/2.25.259359036081944859901459759453974543442705863430576/load
  5021. Resolving localhost (localhost)... 127.0.0.1
  5022. Connecting to localhost (localhost)|127.0.0.1|:8984... connected.
  5023. HTTP request sent, awaiting response... 302 Found
  5024. Location: https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet [following]
  5025. --2016-09-08 19:18:45-- https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet
  5026. Connecting to 104.131.107.90:443... connected.
  5027. WARNING: cannot verify 104.131.107.90's certificate, issued by ‘/C=NA/ST=NA/L=NA/O=DATIM/CN=DATIM.local’:
  5028. Self-signed certificate encountered.
  5029. WARNING: certificate common name ‘DATIM.local’ doesn't match requested host name ‘104.131.107.90’.
  5030. HTTP request sent, awaiting response... 200 OK
  5031. Length: unspecified [text/html]
  5032. Saving to: ‘/dev/null’
  5033.  
  5034. [ <=> ] 40,568 --.-K/s in 0.002s
  5035.  
  5036. 2016-09-08 19:18:45 (18.7 MB/s) - ‘/dev/null’ saved [40568]
  5037.  
  5038. + for SVS in '${SVSS[@]}'
  5039. + /usr/bin/wget --no-check-certificate http://localhost:8984/CSD/SVS/initSharedValueSet/svs/2.25.265608663818616228188834890512310231251363785626032/load -O /dev/null
  5040. --2016-09-08 19:18:45-- http://localhost:8984/CSD/SVS/initSharedValueSet/svs/2.25.265608663818616228188834890512310231251363785626032/load
  5041. Resolving localhost (localhost)... 127.0.0.1
  5042. Connecting to localhost (localhost)|127.0.0.1|:8984... connected.
  5043. HTTP request sent, awaiting response... 302 Found
  5044. Location: https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet [following]
  5045. --2016-09-08 19:18:45-- https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet
  5046. Connecting to 104.131.107.90:443... connected.
  5047. WARNING: cannot verify 104.131.107.90's certificate, issued by ‘/C=NA/ST=NA/L=NA/O=DATIM/CN=DATIM.local’:
  5048. Self-signed certificate encountered.
  5049. WARNING: certificate common name ‘DATIM.local’ doesn't match requested host name ‘104.131.107.90’.
  5050. HTTP request sent, awaiting response... 200 OK
  5051. Length: unspecified [text/html]
  5052. Saving to: ‘/dev/null’
  5053.  
  5054. [ <=> ] 41,217 --.-K/s in 0s
  5055.  
  5056. 2016-09-08 19:18:46 (125 MB/s) - ‘/dev/null’ saved [41217]
  5057.  
  5058. + for SVS in '${SVSS[@]}'
  5059. + /usr/bin/wget --no-check-certificate http://localhost:8984/CSD/SVS/initSharedValueSet/svs/2.25.309768652999692686176651983274504471835.999.400/load -O /dev/null
  5060. --2016-09-08 19:18:46-- http://localhost:8984/CSD/SVS/initSharedValueSet/svs/2.25.309768652999692686176651983274504471835.999.400/load
  5061. Resolving localhost (localhost)... 127.0.0.1
  5062. Connecting to localhost (localhost)|127.0.0.1|:8984... connected.
  5063. HTTP request sent, awaiting response... 302 Found
  5064. Location: https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet [following]
  5065. --2016-09-08 19:18:46-- https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet
  5066. Connecting to 104.131.107.90:443... connected.
  5067. WARNING: cannot verify 104.131.107.90's certificate, issued by ‘/C=NA/ST=NA/L=NA/O=DATIM/CN=DATIM.local’:
  5068. Self-signed certificate encountered.
  5069. WARNING: certificate common name ‘DATIM.local’ doesn't match requested host name ‘104.131.107.90’.
  5070. HTTP request sent, awaiting response... 200 OK
  5071. Length: unspecified [text/html]
  5072. Saving to: ‘/dev/null’
  5073.  
  5074. [ <=> ] 41,840 --.-K/s in 0.001s
  5075.  
  5076. 2016-09-08 19:18:46 (77.2 MB/s) - ‘/dev/null’ saved [41840]
  5077.  
  5078. + for SVS in '${SVSS[@]}'
  5079. + /usr/bin/wget --no-check-certificate http://localhost:8984/CSD/SVS/initSharedValueSet/svs/2.25.309768652999692686176651983274504471835.999.401/load -O /dev/null
  5080. --2016-09-08 19:18:46-- http://localhost:8984/CSD/SVS/initSharedValueSet/svs/2.25.309768652999692686176651983274504471835.999.401/load
  5081. Resolving localhost (localhost)... 127.0.0.1
  5082. Connecting to localhost (localhost)|127.0.0.1|:8984... connected.
  5083. HTTP request sent, awaiting response... 302 Found
  5084. Location: https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet [following]
  5085. --2016-09-08 19:18:46-- https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet
  5086. Connecting to 104.131.107.90:443... connected.
  5087. WARNING: cannot verify 104.131.107.90's certificate, issued by ‘/C=NA/ST=NA/L=NA/O=DATIM/CN=DATIM.local’:
  5088. Self-signed certificate encountered.
  5089. WARNING: certificate common name ‘DATIM.local’ doesn't match requested host name ‘104.131.107.90’.
  5090. HTTP request sent, awaiting response... 200 OK
  5091. Length: unspecified [text/html]
  5092. Saving to: ‘/dev/null’
  5093.  
  5094. [ <=> ] 42,458 --.-K/s in 0s
  5095.  
  5096. 2016-09-08 19:18:46 (84.2 MB/s) - ‘/dev/null’ saved [42458]
  5097.  
  5098. + for SVS in '${SVSS[@]}'
  5099. + /usr/bin/wget --no-check-certificate http://localhost:8984/CSD/SVS/initSharedValueSet/svs/2.25.309768652999692686176651983274504471835.999.402/load -O /dev/null
  5100. --2016-09-08 19:18:46-- http://localhost:8984/CSD/SVS/initSharedValueSet/svs/2.25.309768652999692686176651983274504471835.999.402/load
  5101. Resolving localhost (localhost)... 127.0.0.1
  5102. Connecting to localhost (localhost)|127.0.0.1|:8984... connected.
  5103. HTTP request sent, awaiting response... 302 Found
  5104. Location: https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet [following]
  5105. --2016-09-08 19:18:46-- https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet
  5106. Connecting to 104.131.107.90:443... connected.
  5107. WARNING: cannot verify 104.131.107.90's certificate, issued by ‘/C=NA/ST=NA/L=NA/O=DATIM/CN=DATIM.local’:
  5108. Self-signed certificate encountered.
  5109. WARNING: certificate common name ‘DATIM.local’ doesn't match requested host name ‘104.131.107.90’.
  5110. HTTP request sent, awaiting response... 200 OK
  5111. Length: unspecified [text/html]
  5112. Saving to: ‘/dev/null’
  5113.  
  5114. [ <=> ] 43,075 --.-K/s in 0s
  5115.  
  5116. 2016-09-08 19:18:47 (192 MB/s) - ‘/dev/null’ saved [43075]
  5117.  
  5118. + for SVS in '${SVSS[@]}'
  5119. + /usr/bin/wget --no-check-certificate http://localhost:8984/CSD/SVS/initSharedValueSet/svs/2.25.309768652999692686176651983274504471835.999.403/load -O /dev/null
  5120. --2016-09-08 19:18:47-- http://localhost:8984/CSD/SVS/initSharedValueSet/svs/2.25.309768652999692686176651983274504471835.999.403/load
  5121. Resolving localhost (localhost)... 127.0.0.1
  5122. Connecting to localhost (localhost)|127.0.0.1|:8984... connected.
  5123. HTTP request sent, awaiting response... 302 Found
  5124. Location: https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet [following]
  5125. --2016-09-08 19:18:47-- https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet
  5126. Connecting to 104.131.107.90:443... connected.
  5127. WARNING: cannot verify 104.131.107.90's certificate, issued by ‘/C=NA/ST=NA/L=NA/O=DATIM/CN=DATIM.local’:
  5128. Self-signed certificate encountered.
  5129. WARNING: certificate common name ‘DATIM.local’ doesn't match requested host name ‘104.131.107.90’.
  5130. HTTP request sent, awaiting response... 200 OK
  5131. Length: unspecified [text/html]
  5132. Saving to: ‘/dev/null’
  5133.  
  5134. [ <=> ] 43,703 --.-K/s in 0.001s
  5135.  
  5136. 2016-09-08 19:18:47 (64.8 MB/s) - ‘/dev/null’ saved [43703]
  5137.  
  5138. + for SVS in '${SVSS[@]}'
  5139. + /usr/bin/wget --no-check-certificate http://localhost:8984/CSD/SVS/initSharedValueSet/svs/2.25.309768652999692686176651983274504471835.999.404/load -O /dev/null
  5140. --2016-09-08 19:18:47-- http://localhost:8984/CSD/SVS/initSharedValueSet/svs/2.25.309768652999692686176651983274504471835.999.404/load
  5141. Resolving localhost (localhost)... 127.0.0.1
  5142. Connecting to localhost (localhost)|127.0.0.1|:8984... connected.
  5143. HTTP request sent, awaiting response... 302 Found
  5144. Location: https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet [following]
  5145. --2016-09-08 19:18:47-- https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet
  5146. Connecting to 104.131.107.90:443... connected.
  5147. WARNING: cannot verify 104.131.107.90's certificate, issued by ‘/C=NA/ST=NA/L=NA/O=DATIM/CN=DATIM.local’:
  5148. Self-signed certificate encountered.
  5149. WARNING: certificate common name ‘DATIM.local’ doesn't match requested host name ‘104.131.107.90’.
  5150. HTTP request sent, awaiting response... 200 OK
  5151. Length: unspecified [text/html]
  5152. Saving to: ‘/dev/null’
  5153.  
  5154. [ <=> ] 44,329 --.-K/s in 0s
  5155.  
  5156. 2016-09-08 19:18:47 (102 MB/s) - ‘/dev/null’ saved [44329]
  5157.  
  5158. + for SVS in '${SVSS[@]}'
  5159. + /usr/bin/wget --no-check-certificate http://localhost:8984/CSD/SVS/initSharedValueSet/svs/2.25.309768652999692686176651983274504471835.999.405/load -O /dev/null
  5160. --2016-09-08 19:18:47-- http://localhost:8984/CSD/SVS/initSharedValueSet/svs/2.25.309768652999692686176651983274504471835.999.405/load
  5161. Resolving localhost (localhost)... 127.0.0.1
  5162. Connecting to localhost (localhost)|127.0.0.1|:8984... connected.
  5163. HTTP request sent, awaiting response... 302 Found
  5164. Location: https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet [following]
  5165. --2016-09-08 19:18:48-- https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet
  5166. Connecting to 104.131.107.90:443... connected.
  5167. WARNING: cannot verify 104.131.107.90's certificate, issued by ‘/C=NA/ST=NA/L=NA/O=DATIM/CN=DATIM.local’:
  5168. Self-signed certificate encountered.
  5169. WARNING: certificate common name ‘DATIM.local’ doesn't match requested host name ‘104.131.107.90’.
  5170. HTTP request sent, awaiting response... 200 OK
  5171. Length: unspecified [text/html]
  5172. Saving to: ‘/dev/null’
  5173.  
  5174. [ <=> ] 44,944 --.-K/s in 0s
  5175.  
  5176. 2016-09-08 19:18:48 (141 MB/s) - ‘/dev/null’ saved [44944]
  5177.  
  5178. + for SVS in '${SVSS[@]}'
  5179. + /usr/bin/wget --no-check-certificate http://localhost:8984/CSD/SVS/initSharedValueSet/svs/2.25.309768652999692686176651983274504471835.999.406/load -O /dev/null
  5180. --2016-09-08 19:18:48-- http://localhost:8984/CSD/SVS/initSharedValueSet/svs/2.25.309768652999692686176651983274504471835.999.406/load
  5181. Resolving localhost (localhost)... 127.0.0.1
  5182. Connecting to localhost (localhost)|127.0.0.1|:8984... connected.
  5183. HTTP request sent, awaiting response... 302 Found
  5184. Location: https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet [following]
  5185. --2016-09-08 19:18:48-- https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet
  5186. Connecting to 104.131.107.90:443... connected.
  5187. WARNING: cannot verify 104.131.107.90's certificate, issued by ‘/C=NA/ST=NA/L=NA/O=DATIM/CN=DATIM.local’:
  5188. Self-signed certificate encountered.
  5189. WARNING: certificate common name ‘DATIM.local’ doesn't match requested host name ‘104.131.107.90’.
  5190. HTTP request sent, awaiting response... 200 OK
  5191. Length: unspecified [text/html]
  5192. Saving to: ‘/dev/null’
  5193.  
  5194. [ <=> ] 45,564 --.-K/s in 0.001s
  5195.  
  5196. 2016-09-08 19:18:48 (44.4 MB/s) - ‘/dev/null’ saved [45564]
  5197.  
  5198. + for SVS in '${SVSS[@]}'
  5199. + /usr/bin/wget --no-check-certificate http://localhost:8984/CSD/SVS/initSharedValueSet/svs/2.25.9830357893067925519626800209704957770712560/load -O /dev/null
  5200. --2016-09-08 19:18:48-- http://localhost:8984/CSD/SVS/initSharedValueSet/svs/2.25.9830357893067925519626800209704957770712560/load
  5201. Resolving localhost (localhost)... 127.0.0.1
  5202. Connecting to localhost (localhost)|127.0.0.1|:8984... connected.
  5203. HTTP request sent, awaiting response... 302 Found
  5204. Location: https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet [following]
  5205. --2016-09-08 19:18:48-- https://104.131.107.90/ILR/CSD/SVS/initSharedValueSet
  5206. Connecting to 104.131.107.90:443... connected.
  5207. WARNING: cannot verify 104.131.107.90's certificate, issued by ‘/C=NA/ST=NA/L=NA/O=DATIM/CN=DATIM.local’:
  5208. Self-signed certificate encountered.
  5209. WARNING: certificate common name ‘DATIM.local’ doesn't match requested host name ‘104.131.107.90’.
  5210. HTTP request sent, awaiting response... 200 OK
  5211. Length: unspecified [text/html]
  5212. Saving to: ‘/dev/null’
  5213.  
  5214. [ <=> ] 46,182 --.-K/s in 0.001s
  5215.  
  5216. 2016-09-08 19:18:49 (53.1 MB/s) - ‘/dev/null’ saved [46182]
  5217.  
  5218. Setting up openinfoman-dhis (1.4.11~trusty) ...
  5219. + OI=/var/lib/openinfoman
  5220. + USERNAME=oi
  5221. + BASEX=/var/lib/openinfoman/bin/basex
  5222. + WGET=/usr/bin/wget
  5223. + REPOS=("dxf2csd.xqm" "dxf_1_0.xqm" "util.xqm")
  5224. + SFS=("stored_query_definitions/aggregate_hw_export.xml" "stored_query_definitions/csd2dxf.xml" "stored_query_definitions/transform_to_dxf.xml" "stored_updating_query_definitions/dxf_to_svs.xml" "stored_updating_query_definitions/dxf_to_csd.xml" "stored_updating_query_definitions/extract_from_dxf.xml")
  5225. + for REPO in '${REPOS[@]}'
  5226. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/dxf2csd.xqm'
  5227. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/dxf2csd.xqm'
  5228. Creating Database...
  5229. . 56.81 ms (22049 KB)
  5230. Creating Database...
  5231. . 8.7 ms (22049 KB)
  5232. Package '/var/lib/openinfoman/repo-src/dxf2csd.xqm' installed in 840.45 ms.
  5233. + for REPO in '${REPOS[@]}'
  5234. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/dxf_1_0.xqm'
  5235. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/dxf_1_0.xqm'
  5236. Package '/var/lib/openinfoman/repo-src/dxf_1_0.xqm' installed in 336.3 ms.
  5237. + for REPO in '${REPOS[@]}'
  5238. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/util.xqm'
  5239. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/util.xqm'
  5240. Creating Database...
  5241. . 43.36 ms (22012 KB)
  5242. Creating Database...
  5243. . 4.21 ms (22012 KB)
  5244. Package '/var/lib/openinfoman/repo-src/util.xqm' installed in 566.19 ms.
  5245. + for SF in '${SFS[@]}'
  5246. + cd /var/lib/openinfoman
  5247. + /var/lib/openinfoman/resources/scripts/install_stored_function.php /var/lib/openinfoman/resources/stored_query_definitions/aggregate_hw_export.xml
  5248. Processing /var/lib/openinfoman/resources/stored_query_definitions/aggregate_hw_export.xml
  5249. Package '/var/lib/openinfoman/repo-src/stored_function_urn:dhis2.org:csd:stored-function:aggregate_hw_export.xqm' installed in 328.69 ms.
  5250. /tmp/install_urn:dhis2.org:csd:stored-function:aggregate_hw_export.xqCreating Database...
  5251. . 53.87 ms (20810 KB)
  5252. org.basex.core.BaseXException: Database 'var' was not found.
  5253. at org.basex.core.cmd.Open.open(Open.java:92)
  5254. at org.basex.query.QueryResources.open(QueryResources.java:373)
  5255. at org.basex.query.QueryResources.data(QueryResources.java:352)
  5256. at org.basex.query.QueryResources.doc(QueryResources.java:160)
  5257. at org.basex.query.func.fn.Docs.doc(Docs.java:54)
  5258. at org.basex.query.func.fn.FnDoc.item(FnDoc.java:16)
  5259. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  5260. at org.basex.query.expr.Arr.compile(Arr.java:41)
  5261. at org.basex.query.expr.path.Path.compile(Path.java:124)
  5262. at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:41)
  5263. at org.basex.query.expr.gflwor.Let.compile(Let.java:84)
  5264. at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:109)
  5265. at org.basex.query.MainModule.comp(MainModule.java:83)
  5266. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  5267. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  5268. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  5269. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  5270. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  5271. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  5272. at org.basex.core.Command.run(Command.java:253)
  5273. at org.basex.core.cmd.Execute.run(Execute.java:54)
  5274. at org.basex.core.Command.run(Command.java:253)
  5275. at org.basex.core.Command.execute(Command.java:99)
  5276. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  5277. at org.basex.api.client.Session.execute(Session.java:36)
  5278. at org.basex.core.CLI.execute(CLI.java:103)
  5279. at org.basex.core.CLI.execute(CLI.java:87)
  5280. at org.basex.core.CLI.execute(CLI.java:74)
  5281. at org.basex.BaseX.<init>(BaseX.java:86)
  5282. at org.basex.BaseX.main(BaseX.java:42)
  5283. Creating Database...
  5284. . 31.87 ms (27290 KB)
  5285. Indexing Text...
  5286. . 0.0 M operations, 1.06 ms (27290 KB).
  5287. Indexing Attribute Values...
  5288. . 0.0 M operations, 0.28 ms (27290 KB).
  5289.  
  5290. Query:
  5291. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; declare namespace csd = "urn:ihe:iti:csd:2013"; let $func := doc('/var/lib/openinfoman/resources/stored_query_definitions/aggregate_hw_export.xml')/csd:careServicesFunction return csr_proc:load_stored_function($func)
  5292.  
  5293. Compiling:
  5294. - pre-evaluating db:open("provider_directory", "stored_functions.xml")
  5295. - rewriting exists($urn_41)
  5296. - rewriting exists($stored_functions_40)
  5297. - rewriting exists($old_42)
  5298. - inlining $stored_functions_40
  5299. - pre-evaluating doc("/var/lib/openinfoman/resources/stored_query_definitions/aggregate_hw_export.xml")
  5300. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}load_stored_function#1
  5301. - inlining $func_144
  5302. - simplifying flwor expression
  5303. - inlining $func_143
  5304. - inlining $urn_145
  5305. - simplifying flwor expression
  5306.  
  5307. Optimized Query:
  5308. let $old_146 := db:open-pre("provider_directory",304)/careServicesFunctions/csd:careServicesFunction[(@urn = document-node {"aggregate_hw_export.xml"}/csd:careServicesFunction/@urn)] return if((document-node {"aggregate_hw_export.xml"}/csd:careServicesFunction/@urn and db:open-pre("provider_directory",304)/careServicesFunctions)) then if($old_146) then (delete nodes $old_146, insert node document-node {"aggregate_hw_export.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",304)/careServicesFunctions) else insert node document-node {"aggregate_hw_export.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",304)/careServicesFunctions else ()
  5309.  
  5310. Parsing: 653.09 ms
  5311. Compiling: 72.59 ms
  5312. Evaluating: 35.65 ms
  5313. Printing: 0.8 ms
  5314. Total Time: 762.14 ms
  5315.  
  5316. Hit(s): 0 Items
  5317. Updated: 1 Item
  5318. Printed: 0 Bytes
  5319. Read Locking: global
  5320. Write Locking: global
  5321.  
  5322. Query "install_urn:dhis2.org:csd:stored-function:aggregate_hw_export.xq" executed in 762.14 ms.
  5323. + [[ 0 != 0 ]]
  5324. + for SF in '${SFS[@]}'
  5325. + cd /var/lib/openinfoman
  5326. + /var/lib/openinfoman/resources/scripts/install_stored_function.php /var/lib/openinfoman/resources/stored_query_definitions/csd2dxf.xml
  5327. Processing /var/lib/openinfoman/resources/stored_query_definitions/csd2dxf.xml
  5328. Creating Database...
  5329. . 78.22 ms (20746 KB)
  5330. Creating Database...
  5331. . 12.34 ms (22037 KB)
  5332. Creating Database...
  5333. . 3.56 ms (28488 KB)
  5334. Package '/var/lib/openinfoman/repo-src/stored_function_urn:dhis2.org:csd:stored-function:csd2dxf.xqm' installed in 1113.91 ms.
  5335. /tmp/install_urn:dhis2.org:csd:stored-function:csd2dxf.xqCreating Database...
  5336. . 53.81 ms (20810 KB)
  5337. org.basex.core.BaseXException: Database 'var' was not found.
  5338. at org.basex.core.cmd.Open.open(Open.java:92)
  5339. at org.basex.query.QueryResources.open(QueryResources.java:373)
  5340. at org.basex.query.QueryResources.data(QueryResources.java:352)
  5341. at org.basex.query.QueryResources.doc(QueryResources.java:160)
  5342. at org.basex.query.func.fn.Docs.doc(Docs.java:54)
  5343. at org.basex.query.func.fn.FnDoc.item(FnDoc.java:16)
  5344. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  5345. at org.basex.query.expr.Arr.compile(Arr.java:41)
  5346. at org.basex.query.expr.path.Path.compile(Path.java:124)
  5347. at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:41)
  5348. at org.basex.query.expr.gflwor.Let.compile(Let.java:84)
  5349. at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:109)
  5350. at org.basex.query.MainModule.comp(MainModule.java:83)
  5351. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  5352. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  5353. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  5354. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  5355. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  5356. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  5357. at org.basex.core.Command.run(Command.java:253)
  5358. at org.basex.core.cmd.Execute.run(Execute.java:54)
  5359. at org.basex.core.Command.run(Command.java:253)
  5360. at org.basex.core.Command.execute(Command.java:99)
  5361. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  5362. at org.basex.api.client.Session.execute(Session.java:36)
  5363. at org.basex.core.CLI.execute(CLI.java:103)
  5364. at org.basex.core.CLI.execute(CLI.java:87)
  5365. at org.basex.core.CLI.execute(CLI.java:74)
  5366. at org.basex.BaseX.<init>(BaseX.java:86)
  5367. at org.basex.BaseX.main(BaseX.java:42)
  5368. Creating Database...
  5369. . 27.89 ms (27290 KB)
  5370. Indexing Text...
  5371. . 0.0 M operations, 1.28 ms (27290 KB).
  5372. Indexing Attribute Values...
  5373. . 0.0 M operations, 0.27 ms (27290 KB).
  5374.  
  5375. Query:
  5376. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; declare namespace csd = "urn:ihe:iti:csd:2013"; let $func := doc('/var/lib/openinfoman/resources/stored_query_definitions/csd2dxf.xml')/csd:careServicesFunction return csr_proc:load_stored_function($func)
  5377.  
  5378. Compiling:
  5379. - pre-evaluating db:open("provider_directory", "stored_functions.xml")
  5380. - rewriting exists($urn_41)
  5381. - rewriting exists($stored_functions_40)
  5382. - rewriting exists($old_42)
  5383. - inlining $stored_functions_40
  5384. - pre-evaluating doc("/var/lib/openinfoman/resources/stored_query_definitions/csd2dxf.xml")
  5385. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}load_stored_function#1
  5386. - inlining $func_144
  5387. - simplifying flwor expression
  5388. - inlining $func_143
  5389. - inlining $urn_145
  5390. - simplifying flwor expression
  5391.  
  5392. Optimized Query:
  5393. let $old_146 := db:open-pre("provider_directory",304)/careServicesFunctions/csd:careServicesFunction[(@urn = document-node {"csd2dxf.xml"}/csd:careServicesFunction/@urn)] return if((document-node {"csd2dxf.xml"}/csd:careServicesFunction/@urn and db:open-pre("provider_directory",304)/careServicesFunctions)) then if($old_146) then (delete nodes $old_146, insert node document-node {"csd2dxf.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",304)/careServicesFunctions) else insert node document-node {"csd2dxf.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",304)/careServicesFunctions else ()
  5394.  
  5395. Parsing: 744.97 ms
  5396. Compiling: 83.64 ms
  5397. Evaluating: 31.8 ms
  5398. Printing: 0.73 ms
  5399. Total Time: 861.14 ms
  5400.  
  5401. Hit(s): 0 Items
  5402. Updated: 1 Item
  5403. Printed: 0 Bytes
  5404. Read Locking: global
  5405. Write Locking: global
  5406.  
  5407. Query "install_urn:dhis2.org:csd:stored-function:csd2dxf.xq" executed in 861.14 ms.
  5408. + [[ 0 != 0 ]]
  5409. + for SF in '${SFS[@]}'
  5410. + cd /var/lib/openinfoman
  5411. + /var/lib/openinfoman/resources/scripts/install_stored_function.php /var/lib/openinfoman/resources/stored_query_definitions/transform_to_dxf.xml
  5412. Processing /var/lib/openinfoman/resources/stored_query_definitions/transform_to_dxf.xml
  5413. Creating Database...
  5414. . 49.5 ms (21982 KB)
  5415. Creating Database...
  5416. . 6.36 ms (21982 KB)
  5417. Creating Database...
  5418. . 5.56 ms (28433 KB)
  5419. Creating Database...
  5420. . 4.95 ms (29724 KB)
  5421. Creating Database...
  5422. . 4.75 ms (31015 KB)
  5423. Creating Database...
  5424. . 4.84 ms (31015 KB)
  5425. Package '/var/lib/openinfoman/repo-src/stored_function_urn:dhis.org:transform_to_dxf:v2.19.xqm' installed in 935.05 ms.
  5426. /tmp/install_urn:dhis.org:transform_to_dxf:v2.19.xqCreating Database...
  5427. . 43.94 ms (20825 KB)
  5428. org.basex.core.BaseXException: Database 'var' was not found.
  5429. at org.basex.core.cmd.Open.open(Open.java:92)
  5430. at org.basex.query.QueryResources.open(QueryResources.java:373)
  5431. at org.basex.query.QueryResources.data(QueryResources.java:352)
  5432. at org.basex.query.QueryResources.doc(QueryResources.java:160)
  5433. at org.basex.query.func.fn.Docs.doc(Docs.java:54)
  5434. at org.basex.query.func.fn.FnDoc.item(FnDoc.java:16)
  5435. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  5436. at org.basex.query.expr.Arr.compile(Arr.java:41)
  5437. at org.basex.query.expr.path.Path.compile(Path.java:124)
  5438. at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:41)
  5439. at org.basex.query.expr.gflwor.Let.compile(Let.java:84)
  5440. at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:109)
  5441. at org.basex.query.MainModule.comp(MainModule.java:83)
  5442. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  5443. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  5444. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  5445. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  5446. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  5447. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  5448. at org.basex.core.Command.run(Command.java:253)
  5449. at org.basex.core.cmd.Execute.run(Execute.java:54)
  5450. at org.basex.core.Command.run(Command.java:253)
  5451. at org.basex.core.Command.execute(Command.java:99)
  5452. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  5453. at org.basex.api.client.Session.execute(Session.java:36)
  5454. at org.basex.core.CLI.execute(CLI.java:103)
  5455. at org.basex.core.CLI.execute(CLI.java:87)
  5456. at org.basex.core.CLI.execute(CLI.java:74)
  5457. at org.basex.BaseX.<init>(BaseX.java:86)
  5458. at org.basex.BaseX.main(BaseX.java:42)
  5459. Creating Database...
  5460. . 31.88 ms (27277 KB)
  5461. Indexing Text...
  5462. . 0.0 M operations, 1.1 ms (27277 KB).
  5463. Indexing Attribute Values...
  5464. . 0.0 M operations, 0.13 ms (27277 KB).
  5465.  
  5466. Query:
  5467. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; declare namespace csd = "urn:ihe:iti:csd:2013"; let $func := doc('/var/lib/openinfoman/resources/stored_query_definitions/transform_to_dxf.xml')/csd:careServicesFunction return csr_proc:load_stored_function($func)
  5468.  
  5469. Compiling:
  5470. - pre-evaluating db:open("provider_directory", "stored_functions.xml")
  5471. - rewriting exists($urn_41)
  5472. - rewriting exists($stored_functions_40)
  5473. - rewriting exists($old_42)
  5474. - inlining $stored_functions_40
  5475. - pre-evaluating doc("/var/lib/openinfoman/resources/stored_query_definitions/transform_to_dxf.xml")
  5476. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}load_stored_function#1
  5477. - inlining $func_144
  5478. - simplifying flwor expression
  5479. - inlining $func_143
  5480. - inlining $urn_145
  5481. - simplifying flwor expression
  5482.  
  5483. Optimized Query:
  5484. let $old_146 := db:open-pre("provider_directory",304)/careServicesFunctions/csd:careServicesFunction[(@urn = document-node {"transform_to_dxf.xml"}/csd:careServicesFunction/@urn)] return if((document-node {"transform_to_dxf.xml"}/csd:careServicesFunction/@urn and db:open-pre("provider_directory",304)/careServicesFunctions)) then if($old_146) then (delete nodes $old_146, insert node document-node {"transform_to_dxf.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",304)/careServicesFunctions) else insert node document-node {"transform_to_dxf.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",304)/careServicesFunctions else ()
  5485.  
  5486. Parsing: 602.79 ms
  5487. Compiling: 69.5 ms
  5488. Evaluating: 38.13 ms
  5489. Printing: 0.8 ms
  5490. Total Time: 711.22 ms
  5491.  
  5492. Hit(s): 0 Items
  5493. Updated: 1 Item
  5494. Printed: 0 Bytes
  5495. Read Locking: global
  5496. Write Locking: global
  5497.  
  5498. Query "install_urn:dhis.org:transform_to_dxf:v2.19.xq" executed in 711.22 ms.
  5499. + [[ 0 != 0 ]]
  5500. + for SF in '${SFS[@]}'
  5501. + cd /var/lib/openinfoman
  5502. + /var/lib/openinfoman/resources/scripts/install_stored_function.php /var/lib/openinfoman/resources/stored_updating_query_definitions/dxf_to_svs.xml
  5503. Processing /var/lib/openinfoman/resources/stored_updating_query_definitions/dxf_to_svs.xml
  5504. Creating Database...
  5505. . 52.31 ms (20740 KB)
  5506. Creating Database...
  5507. . 4.91 ms (22030 KB)
  5508. Creating Database...
  5509. . 6.14 ms (28482 KB)
  5510. Package '/var/lib/openinfoman/repo-src/stored_function_urn:dhis2.org:csd:stored-function:dxf2svs.xqm' installed in 774.36 ms.
  5511. /tmp/install_urn:dhis2.org:csd:stored-function:dxf2svs.xqCreating Database...
  5512. . 96.03 ms (20810 KB)
  5513. org.basex.core.BaseXException: Database 'var' was not found.
  5514. at org.basex.core.cmd.Open.open(Open.java:92)
  5515. at org.basex.query.QueryResources.open(QueryResources.java:373)
  5516. at org.basex.query.QueryResources.data(QueryResources.java:352)
  5517. at org.basex.query.QueryResources.doc(QueryResources.java:160)
  5518. at org.basex.query.func.fn.Docs.doc(Docs.java:54)
  5519. at org.basex.query.func.fn.FnDoc.item(FnDoc.java:16)
  5520. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  5521. at org.basex.query.expr.Arr.compile(Arr.java:41)
  5522. at org.basex.query.expr.path.Path.compile(Path.java:124)
  5523. at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:41)
  5524. at org.basex.query.expr.gflwor.Let.compile(Let.java:84)
  5525. at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:109)
  5526. at org.basex.query.MainModule.comp(MainModule.java:83)
  5527. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  5528. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  5529. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  5530. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  5531. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  5532. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  5533. at org.basex.core.Command.run(Command.java:253)
  5534. at org.basex.core.cmd.Execute.run(Execute.java:54)
  5535. at org.basex.core.Command.run(Command.java:253)
  5536. at org.basex.core.Command.execute(Command.java:99)
  5537. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  5538. at org.basex.api.client.Session.execute(Session.java:36)
  5539. at org.basex.core.CLI.execute(CLI.java:103)
  5540. at org.basex.core.CLI.execute(CLI.java:87)
  5541. at org.basex.core.CLI.execute(CLI.java:74)
  5542. at org.basex.BaseX.<init>(BaseX.java:86)
  5543. at org.basex.BaseX.main(BaseX.java:42)
  5544. Creating Database...
  5545. . 39.6 ms (27262 KB)
  5546. Indexing Text...
  5547. . 0.0 M operations, 1.79 ms (27262 KB).
  5548. Indexing Attribute Values...
  5549. . 0.0 M operations, 0.24 ms (27262 KB).
  5550.  
  5551. Query:
  5552. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; declare namespace csd = "urn:ihe:iti:csd:2013"; let $func := doc('/var/lib/openinfoman/resources/stored_updating_query_definitions/dxf_to_svs.xml')/csd:careServicesFunction return csr_proc:load_stored_updating_function($func)
  5553.  
  5554. Compiling:
  5555. - pre-evaluating db:open("provider_directory", "stored_updating_functions.xml")
  5556. - rewriting exists($old_38)
  5557. - rewriting exists($urn_37)
  5558. - inlining $stored_updating_functions_36
  5559. - pre-evaluating doc("/var/lib/openinfoman/resources/stored_updating_query_definitions/dxf_to_svs.xml")
  5560. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}load_stored_updating_function#1
  5561. - inlining $func_144
  5562. - simplifying flwor expression
  5563. - inlining $func_143
  5564. - inlining $urn_145
  5565. - simplifying flwor expression
  5566.  
  5567. Optimized Query:
  5568. let $old_146 := db:open-pre("provider_directory",0)/careServicesFunctions/csd:careServicesFunction[(@urn = document-node {"dxf_to_svs.xml"}/csd:careServicesFunction/@urn)] return if(document-node {"dxf_to_svs.xml"}/csd:careServicesFunction/@urn) then if($old_146) then (delete nodes $old_146, insert node document-node {"dxf_to_svs.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions) else insert node document-node {"dxf_to_svs.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions else ()
  5569.  
  5570. Parsing: 774.0 ms
  5571. Compiling: 100.88 ms
  5572. Evaluating: 46.42 ms
  5573. Printing: 1.52 ms
  5574. Total Time: 922.82 ms
  5575.  
  5576. Hit(s): 0 Items
  5577. Updated: 1 Item
  5578. Printed: 0 Bytes
  5579. Read Locking: global
  5580. Write Locking: global
  5581.  
  5582. Query "install_urn:dhis2.org:csd:stored-function:dxf2svs.xq" executed in 922.82 ms.
  5583. + [[ 0 != 0 ]]
  5584. + for SF in '${SFS[@]}'
  5585. + cd /var/lib/openinfoman
  5586. + /var/lib/openinfoman/resources/scripts/install_stored_function.php /var/lib/openinfoman/resources/stored_updating_query_definitions/dxf_to_csd.xml
  5587. Processing /var/lib/openinfoman/resources/stored_updating_query_definitions/dxf_to_csd.xml
  5588. Creating Database...
  5589. . 44.09 ms (20740 KB)
  5590. Creating Database...
  5591. . 9.33 ms (22031 KB)
  5592. Package '/var/lib/openinfoman/repo-src/stored_function_urn:dhis2.org:csd:stored-function:dxf2csd.xqm' installed in 804.39 ms.
  5593. /tmp/install_urn:dhis2.org:csd:stored-function:dxf2csd.xqCreating Database...
  5594. . 95.47 ms (20810 KB)
  5595. org.basex.core.BaseXException: Database 'var' was not found.
  5596. at org.basex.core.cmd.Open.open(Open.java:92)
  5597. at org.basex.query.QueryResources.open(QueryResources.java:373)
  5598. at org.basex.query.QueryResources.data(QueryResources.java:352)
  5599. at org.basex.query.QueryResources.doc(QueryResources.java:160)
  5600. at org.basex.query.func.fn.Docs.doc(Docs.java:54)
  5601. at org.basex.query.func.fn.FnDoc.item(FnDoc.java:16)
  5602. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  5603. at org.basex.query.expr.Arr.compile(Arr.java:41)
  5604. at org.basex.query.expr.path.Path.compile(Path.java:124)
  5605. at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:41)
  5606. at org.basex.query.expr.gflwor.Let.compile(Let.java:84)
  5607. at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:109)
  5608. at org.basex.query.MainModule.comp(MainModule.java:83)
  5609. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  5610. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  5611. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  5612. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  5613. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  5614. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  5615. at org.basex.core.Command.run(Command.java:253)
  5616. at org.basex.core.cmd.Execute.run(Execute.java:54)
  5617. at org.basex.core.Command.run(Command.java:253)
  5618. at org.basex.core.Command.execute(Command.java:99)
  5619. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  5620. at org.basex.api.client.Session.execute(Session.java:36)
  5621. at org.basex.core.CLI.execute(CLI.java:103)
  5622. at org.basex.core.CLI.execute(CLI.java:87)
  5623. at org.basex.core.CLI.execute(CLI.java:74)
  5624. at org.basex.BaseX.<init>(BaseX.java:86)
  5625. at org.basex.BaseX.main(BaseX.java:42)
  5626. Creating Database...
  5627. . 23.83 ms (27262 KB)
  5628. Indexing Text...
  5629. . 0.0 M operations, 1.1 ms (27262 KB).
  5630. Indexing Attribute Values...
  5631. . 0.0 M operations, 0.16 ms (27262 KB).
  5632.  
  5633. Query:
  5634. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; declare namespace csd = "urn:ihe:iti:csd:2013"; let $func := doc('/var/lib/openinfoman/resources/stored_updating_query_definitions/dxf_to_csd.xml')/csd:careServicesFunction return csr_proc:load_stored_updating_function($func)
  5635.  
  5636. Compiling:
  5637. - pre-evaluating db:open("provider_directory", "stored_updating_functions.xml")
  5638. - rewriting exists($old_38)
  5639. - rewriting exists($urn_37)
  5640. - inlining $stored_updating_functions_36
  5641. - pre-evaluating doc("/var/lib/openinfoman/resources/stored_updating_query_definitions/dxf_to_csd.xml")
  5642. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}load_stored_updating_function#1
  5643. - inlining $func_144
  5644. - simplifying flwor expression
  5645. - inlining $func_143
  5646. - inlining $urn_145
  5647. - simplifying flwor expression
  5648.  
  5649. Optimized Query:
  5650. let $old_146 := db:open-pre("provider_directory",0)/careServicesFunctions/csd:careServicesFunction[(@urn = document-node {"dxf_to_csd.xml"}/csd:careServicesFunction/@urn)] return if(document-node {"dxf_to_csd.xml"}/csd:careServicesFunction/@urn) then if($old_146) then (delete nodes $old_146, insert node document-node {"dxf_to_csd.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions) else insert node document-node {"dxf_to_csd.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions else ()
  5651.  
  5652. Parsing: 963.67 ms
  5653. Compiling: 63.85 ms
  5654. Evaluating: 31.66 ms
  5655. Printing: 0.95 ms
  5656. Total Time: 1060.13 ms
  5657.  
  5658. Hit(s): 0 Items
  5659. Updated: 1 Item
  5660. Printed: 0 Bytes
  5661. Read Locking: global
  5662. Write Locking: global
  5663.  
  5664. Query "install_urn:dhis2.org:csd:stored-function:dxf2csd.xq" executed in 1060.13 ms.
  5665. + [[ 0 != 0 ]]
  5666. + for SF in '${SFS[@]}'
  5667. + cd /var/lib/openinfoman
  5668. + /var/lib/openinfoman/resources/scripts/install_stored_function.php /var/lib/openinfoman/resources/stored_updating_query_definitions/extract_from_dxf.xml
  5669. Processing /var/lib/openinfoman/resources/stored_updating_query_definitions/extract_from_dxf.xml
  5670. Creating Database...
  5671. . 81.13 ms (21946 KB)
  5672. Creating Database...
  5673. . 12.29 ms (24526 KB)
  5674. Creating Database...
  5675. . 5.26 ms (28557 KB)
  5676. Creating Database...
  5677. . 5.21 ms (28557 KB)
  5678. Package '/var/lib/openinfoman/repo-src/stored_function_urn:dhis.org:extract_from_dxf:v2.19.xqm' installed in 973.0 ms.
  5679. /tmp/install_urn:dhis.org:extract_from_dxf:v2.19.xqCreating Database...
  5680. . 44.26 ms (20825 KB)
  5681. org.basex.core.BaseXException: Database 'var' was not found.
  5682. at org.basex.core.cmd.Open.open(Open.java:92)
  5683. at org.basex.query.QueryResources.open(QueryResources.java:373)
  5684. at org.basex.query.QueryResources.data(QueryResources.java:352)
  5685. at org.basex.query.QueryResources.doc(QueryResources.java:160)
  5686. at org.basex.query.func.fn.Docs.doc(Docs.java:54)
  5687. at org.basex.query.func.fn.FnDoc.item(FnDoc.java:16)
  5688. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  5689. at org.basex.query.expr.Arr.compile(Arr.java:41)
  5690. at org.basex.query.expr.path.Path.compile(Path.java:124)
  5691. at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:41)
  5692. at org.basex.query.expr.gflwor.Let.compile(Let.java:84)
  5693. at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:109)
  5694. at org.basex.query.MainModule.comp(MainModule.java:83)
  5695. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  5696. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  5697. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  5698. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  5699. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  5700. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  5701. at org.basex.core.Command.run(Command.java:253)
  5702. at org.basex.core.cmd.Execute.run(Execute.java:54)
  5703. at org.basex.core.Command.run(Command.java:253)
  5704. at org.basex.core.Command.execute(Command.java:99)
  5705. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  5706. at org.basex.api.client.Session.execute(Session.java:36)
  5707. at org.basex.core.CLI.execute(CLI.java:103)
  5708. at org.basex.core.CLI.execute(CLI.java:87)
  5709. at org.basex.core.CLI.execute(CLI.java:74)
  5710. at org.basex.BaseX.<init>(BaseX.java:86)
  5711. at org.basex.BaseX.main(BaseX.java:42)
  5712. Creating Database...
  5713. . 42.83 ms (27276 KB)
  5714. Indexing Text...
  5715. . 0.0 M operations, 1.65 ms (27276 KB).
  5716. Indexing Attribute Values...
  5717. . 0.0 M operations, 0.24 ms (27276 KB).
  5718.  
  5719. Query:
  5720. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; declare namespace csd = "urn:ihe:iti:csd:2013"; let $func := doc('/var/lib/openinfoman/resources/stored_updating_query_definitions/extract_from_dxf.xml')/csd:careServicesFunction return csr_proc:load_stored_updating_function($func)
  5721.  
  5722. Compiling:
  5723. - pre-evaluating db:open("provider_directory", "stored_updating_functions.xml")
  5724. - rewriting exists($old_38)
  5725. - rewriting exists($urn_37)
  5726. - inlining $stored_updating_functions_36
  5727. - pre-evaluating doc("/var/lib/openinfoman/resources/stored_updating_query_definitions/extract_from_dxf.xml")
  5728. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}load_stored_updating_function#1
  5729. - inlining $func_144
  5730. - simplifying flwor expression
  5731. - inlining $func_143
  5732. - inlining $urn_145
  5733. - simplifying flwor expression
  5734.  
  5735. Optimized Query:
  5736. let $old_146 := db:open-pre("provider_directory",0)/careServicesFunctions/csd:careServicesFunction[(@urn = document-node {"extract_from_dxf.xml"}/csd:careServicesFunction/@urn)] return if(document-node {"extract_from_dxf.xml"}/csd:careServicesFunction/@urn) then if($old_146) then (delete nodes $old_146, insert node document-node {"extract_from_dxf.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions) else insert node document-node {"extract_from_dxf.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions else ()
  5737.  
  5738. Parsing: 644.8 ms
  5739. Compiling: 102.52 ms
  5740. Evaluating: 57.02 ms
  5741. Printing: 1.51 ms
  5742. Total Time: 805.84 ms
  5743.  
  5744. Hit(s): 0 Items
  5745. Updated: 1 Item
  5746. Printed: 0 Bytes
  5747. Read Locking: global
  5748. Write Locking: global
  5749.  
  5750. Query "install_urn:dhis.org:extract_from_dxf:v2.19.xq" executed in 805.84 ms.
  5751. + [[ 0 != 0 ]]
  5752. + chown -R oi:oi /var/lib/openinfoman
  5753. Setting up openinfoman-datim (1.2.2~trusty) ...
  5754. + OI=/var/lib/openinfoman
  5755. + USERNAME=oi
  5756. + BASEX=/var/lib/openinfoman/bin/basex
  5757. + WGET=/usr/bin/wget
  5758. + REPOS=("datim-uuid.xqm" "datim.xqm")
  5759. + SFS=("stored_updating_query_definitions/create_mechanisms.xml")
  5760. + for REPO in '${REPOS[@]}'
  5761. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/datim-uuid.xqm'
  5762. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/datim-uuid.xqm'
  5763. Creating Database...
  5764. . 55.08 ms (20758 KB)
  5765. Creating Database...
  5766. . 5.67 ms (22049 KB)
  5767. Package '/var/lib/openinfoman/repo-src/datim-uuid.xqm' installed in 677.06 ms.
  5768. + for REPO in '${REPOS[@]}'
  5769. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/datim.xqm'
  5770. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/datim.xqm'
  5771. Creating Database...
  5772. . 88.13 ms (20759 KB)
  5773. Creating Database...
  5774. . 11.25 ms (22049 KB)
  5775. Package '/var/lib/openinfoman/repo-src/datim.xqm' installed in 855.67 ms.
  5776. + for SF in '${SFS[@]}'
  5777. + cd /var/lib/openinfoman
  5778. + /var/lib/openinfoman/resources/scripts/install_stored_function.php /var/lib/openinfoman/resources/stored_updating_query_definitions/create_mechanisms.xml
  5779. Processing /var/lib/openinfoman/resources/stored_updating_query_definitions/create_mechanisms.xml
  5780. Creating Database...
  5781. . 78.94 ms (21975 KB)
  5782. Creating Database...
  5783. . 8.13 ms (24555 KB)
  5784. Creating Database...
  5785. . 6.05 ms (28426 KB)
  5786. Creating Database...
  5787. . 6.55 ms (28426 KB)
  5788. Creating Database...
  5789. . 6.04 ms (28426 KB)
  5790. Package '/var/lib/openinfoman/repo-src/stored_function_urn:datim.org:create_mechanisms.xqm' installed in 1255.17 ms.
  5791. /tmp/install_urn:datim.org:create_mechanisms.xqCreating Database...
  5792. . 43.88 ms (20805 KB)
  5793. org.basex.core.BaseXException: Database 'var' was not found.
  5794. at org.basex.core.cmd.Open.open(Open.java:92)
  5795. at org.basex.query.QueryResources.open(QueryResources.java:373)
  5796. at org.basex.query.QueryResources.data(QueryResources.java:352)
  5797. at org.basex.query.QueryResources.doc(QueryResources.java:160)
  5798. at org.basex.query.func.fn.Docs.doc(Docs.java:54)
  5799. at org.basex.query.func.fn.FnDoc.item(FnDoc.java:16)
  5800. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  5801. at org.basex.query.expr.Arr.compile(Arr.java:41)
  5802. at org.basex.query.expr.path.Path.compile(Path.java:124)
  5803. at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:41)
  5804. at org.basex.query.expr.gflwor.Let.compile(Let.java:84)
  5805. at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:109)
  5806. at org.basex.query.MainModule.comp(MainModule.java:83)
  5807. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  5808. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  5809. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  5810. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  5811. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  5812. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  5813. at org.basex.core.Command.run(Command.java:253)
  5814. at org.basex.core.cmd.Execute.run(Execute.java:54)
  5815. at org.basex.core.Command.run(Command.java:253)
  5816. at org.basex.core.Command.execute(Command.java:99)
  5817. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  5818. at org.basex.api.client.Session.execute(Session.java:36)
  5819. at org.basex.core.CLI.execute(CLI.java:103)
  5820. at org.basex.core.CLI.execute(CLI.java:87)
  5821. at org.basex.core.CLI.execute(CLI.java:74)
  5822. at org.basex.BaseX.<init>(BaseX.java:86)
  5823. at org.basex.BaseX.main(BaseX.java:42)
  5824. Creating Database...
  5825. . 27.83 ms (27256 KB)
  5826. Indexing Text...
  5827. . 0.0 M operations, 1.16 ms (27256 KB).
  5828. Indexing Attribute Values...
  5829. . 0.0 M operations, 0.18 ms (27256 KB).
  5830.  
  5831. Query:
  5832. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; declare namespace csd = "urn:ihe:iti:csd:2013"; let $func := doc('/var/lib/openinfoman/resources/stored_updating_query_definitions/create_mechanisms.xml')/csd:careServicesFunction return csr_proc:load_stored_updating_function($func)
  5833.  
  5834. Compiling:
  5835. - pre-evaluating db:open("provider_directory", "stored_updating_functions.xml")
  5836. - rewriting exists($old_38)
  5837. - rewriting exists($urn_37)
  5838. - inlining $stored_updating_functions_36
  5839. - pre-evaluating doc("/var/lib/openinfoman/resources/stored_updating_query_definitions/create_mechanisms.xml")
  5840. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}load_stored_updating_function#1
  5841. - inlining $func_144
  5842. - simplifying flwor expression
  5843. - inlining $func_143
  5844. - inlining $urn_145
  5845. - simplifying flwor expression
  5846.  
  5847. Optimized Query:
  5848. let $old_146 := db:open-pre("provider_directory",0)/careServicesFunctions/csd:careServicesFunction[(@urn = document-node {"create_mechanisms.xml"}/csd:careServicesFunction/@urn)] return if(document-node {"create_mechanisms.xml"}/csd:careServicesFunction/@urn) then if($old_146) then (delete nodes $old_146, insert node document-node {"create_mechanisms.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions) else insert node document-node {"create_mechanisms.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",0)/careServicesFunctions else ()
  5849.  
  5850. Parsing: 544.65 ms
  5851. Compiling: 69.06 ms
  5852. Evaluating: 33.57 ms
  5853. Printing: 0.69 ms
  5854. Total Time: 647.97 ms
  5855.  
  5856. Hit(s): 0 Items
  5857. Updated: 1 Item
  5858. Printed: 0 Bytes
  5859. Read Locking: global
  5860. Write Locking: global
  5861.  
  5862. Query "install_urn:datim.org:create_mechanisms.xq" executed in 647.97 ms.
  5863. + [[ 0 != 0 ]]
  5864. + chown -R oi:oi /var/lib/openinfoman
  5865. Setting up openinfoman-csv (1.2.1~trusty) ...
  5866. + OI=/var/lib/openinfoman
  5867. + USERNAME=oi
  5868. + BASEX=/var/lib/openinfoman/bin/basex
  5869. + WGET=/usr/bin/wget
  5870. + REPOS=("openinfoman_csv_adapter.xqm")
  5871. + for REPO in '${REPOS[@]}'
  5872. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/openinfoman_csv_adapter.xqm'
  5873. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/openinfoman_csv_adapter.xqm'
  5874. Creating Database...
  5875. . 75.24 ms (20770 KB)
  5876. Package '/var/lib/openinfoman/repo-src/openinfoman_csv_adapter.xqm' installed in 993.82 ms.
  5877. + chown -R oi:oi /var/lib/openinfoman
  5878. Setting up openinfoman-mapping (1.0.3~trusty) ...
  5879. + OI=/var/lib/openinfoman
  5880. + USERNAME=oi
  5881. + BASEX=/var/lib/openinfoman/bin/basex
  5882. + . /usr/share/debconf/confmodule
  5883. ++ '[' '!' '' ']'
  5884. ++ PERL_DL_NONLAZY=1
  5885. ++ export PERL_DL_NONLAZY
  5886. ++ '[' '' ']'
  5887. ++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/openinfoman-mapping.postinst configure ''
  5888. + OI=/var/lib/openinfoman
  5889. + USERNAME=oi
  5890. + BASEX=/var/lib/openinfoman/bin/basex
  5891. + . /usr/share/debconf/confmodule
  5892. ++ '[' '!' 1 ']'
  5893. ++ '[' -z '' ']'
  5894. ++ exec
  5895. ++ '[' '' ']'
  5896. ++ exec
  5897. ++ DEBCONF_REDIR=1
  5898. ++ export DEBCONF_REDIR
  5899. + db_get update-infoman/codingSchema
  5900. + _db_cmd 'GET update-infoman/codingSchema'
  5901. + _db_internal_IFS='
  5902. '
  5903. + IFS=' '
  5904. + printf '%s\n' 'GET update-infoman/codingSchema'
  5905. + IFS='
  5906. '
  5907. + IFS='
  5908. '
  5909. + read -r _db_internal_line
  5910. + RET=urn:uuid:2cec73f2-396f-4772-93e3-b26909387e63
  5911. + case ${_db_internal_line%%[ ]*} in
  5912. + return 0
  5913. + SCHEMA=urn:uuid:2cec73f2-396f-4772-93e3-b26909387e63
  5914. + cd /var/lib/openinfoman
  5915. + sed -ie s/urn:uuid:2cec73f2-396f-4772-93e3-b26909387e63/urn:uuid:2cec73f2-396f-4772-93e3-b26909387e63/g ./resources/stored_query_definitions/export_organizations_to_csv.xml
  5916. + SFS=("stored_query_definitions/export_organizations_to_csv.xml")
  5917. + for SF in '${SFS[@]}'
  5918. + /var/lib/openinfoman/resources/scripts/install_stored_function.php /var/lib/openinfoman/resources/stored_query_definitions/export_organizations_to_csv.xml
  5919. Processing /var/lib/openinfoman/resources/stored_query_definitions/export_organizations_to_csv.xml
  5920. Creating Database...
  5921. . 64.61 ms (21989 KB)
  5922. Package '/var/lib/openinfoman/repo-src/stored_function_urn:datim.org:export-mapping-csv.xqm' installed in 986.43 ms.
  5923. /tmp/install_urn:datim.org:export-mapping-csv.xqCreating Database...
  5924. . 58.7 ms (20742 KB)
  5925. org.basex.core.BaseXException: Database 'var' was not found.
  5926. at org.basex.core.cmd.Open.open(Open.java:92)
  5927. at org.basex.query.QueryResources.open(QueryResources.java:373)
  5928. at org.basex.query.QueryResources.data(QueryResources.java:352)
  5929. at org.basex.query.QueryResources.doc(QueryResources.java:160)
  5930. at org.basex.query.func.fn.Docs.doc(Docs.java:54)
  5931. at org.basex.query.func.fn.FnDoc.item(FnDoc.java:16)
  5932. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  5933. at org.basex.query.expr.Arr.compile(Arr.java:41)
  5934. at org.basex.query.expr.path.Path.compile(Path.java:124)
  5935. at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:41)
  5936. at org.basex.query.expr.gflwor.Let.compile(Let.java:84)
  5937. at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:109)
  5938. at org.basex.query.MainModule.comp(MainModule.java:83)
  5939. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  5940. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  5941. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  5942. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  5943. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  5944. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  5945. at org.basex.core.Command.run(Command.java:253)
  5946. at org.basex.core.cmd.Execute.run(Execute.java:54)
  5947. at org.basex.core.Command.run(Command.java:253)
  5948. at org.basex.core.Command.execute(Command.java:99)
  5949. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  5950. at org.basex.api.client.Session.execute(Session.java:36)
  5951. at org.basex.core.CLI.execute(CLI.java:103)
  5952. at org.basex.core.CLI.execute(CLI.java:87)
  5953. at org.basex.core.CLI.execute(CLI.java:74)
  5954. at org.basex.BaseX.<init>(BaseX.java:86)
  5955. at org.basex.BaseX.main(BaseX.java:42)
  5956. Creating Database...
  5957. . 9.62 ms (27193 KB)
  5958. Indexing Text...
  5959. . 0.0 M operations, 1.4 ms (27193 KB).
  5960. Indexing Attribute Values...
  5961. . 0.0 M operations, 0.23 ms (27193 KB).
  5962.  
  5963. Query:
  5964. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; declare namespace csd = "urn:ihe:iti:csd:2013"; let $func := doc('/var/lib/openinfoman/resources/stored_query_definitions/export_organizations_to_csv.xml')/csd:careServicesFunction return csr_proc:load_stored_function($func)
  5965.  
  5966. Compiling:
  5967. - pre-evaluating db:open("provider_directory", "stored_functions.xml")
  5968. - rewriting exists($urn_41)
  5969. - rewriting exists($stored_functions_40)
  5970. - rewriting exists($old_42)
  5971. - inlining $stored_functions_40
  5972. - pre-evaluating doc("/var/lib/openinfoman/resources/stored_query_definitions/export_organizations_to_csv.xml")
  5973. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}load_stored_function#1
  5974. - inlining $func_144
  5975. - simplifying flwor expression
  5976. - inlining $func_143
  5977. - inlining $urn_145
  5978. - simplifying flwor expression
  5979.  
  5980. Optimized Query:
  5981. let $old_146 := db:open-pre("provider_directory",389)/careServicesFunctions/csd:careServicesFunction[(@urn = document-node {"export_organizations_to_csv.xml"}/csd:careServicesFunction/@urn)] return if((document-node {"export_organizations_to_csv.xml"}/csd:careServicesFunction/@urn and db:open-pre("provider_directory",389)/careServicesFunctions)) then if($old_146) then (delete nodes $old_146, insert node document-node {"export_organizations_to_csv.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",389)/careServicesFunctions) else insert node document-node {"export_organizations_to_csv.xml"}/csd:careServicesFunction into db:open-pre("provider_directory",389)/careServicesFunctions else ()
  5982.  
  5983. Parsing: 674.31 ms
  5984. Compiling: 65.72 ms
  5985. Evaluating: 40.69 ms
  5986. Printing: 0.96 ms
  5987. Total Time: 781.68 ms
  5988.  
  5989. Hit(s): 0 Items
  5990. Updated: 1 Item
  5991. Printed: 0 Bytes
  5992. Read Locking: global
  5993. Write Locking: global
  5994.  
  5995. Query "install_urn:datim.org:export-mapping-csv.xq" executed in 781.68 ms.
  5996. + [[ 0 != 0 ]]
  5997. + chown -R oi:oi /var/lib/openinfoman
  5998. Setting up ohie-datim-node (1.0.0-0ubuntu8) ...
  5999. Install complete. Please run: sudo datim-config To finish configuring DATIM Node.
  6000. Setting up php5-readline (5.5.9+dfsg-1ubuntu4.19) ...
  6001.  
  6002. Creating config file /etc/php5/mods-available/readline.ini with new version
  6003. php5_invoke: Enable module readline for cli SAPI
  6004. Setting up php5-json (1.3.2-2build1) ...
  6005. php5_invoke: Enable module json for cli SAPI
  6006. Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
  6007. The DATIM4U installation process is almost done! To complete, please enter a two-letter country code applicable to your Operating Unit (OU):
  6008. TZ
  6009. You entered: TZ
  6010. Waiting up to 300 seconds for DHIS2 to come up.
  6011. Patching uids...
  6012. Shutting down dhis2 instance
  6013. could not change directory to "/root": Permission denied
  6014. UPDATE 1
  6015. UPDATE 1
  6016. UPDATE 1
  6017. UPDATE 1
  6018. Starting dhis2...
  6019. Using CATALINA_BASE: /var/lib/dhis2/dhis2
  6020. Using CATALINA_HOME: /usr/share/tomcat7
  6021. Using CATALINA_TMPDIR: /var/lib/dhis2/dhis2/temp
  6022. Using JRE_HOME: /usr
  6023. Using CLASSPATH: /usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar
  6024. Using CATALINA_PID: /var/lib/dhis2/dhis2/tomcat.pid
  6025. Existing PID file found during start.
  6026. Removing/clearing stale PID file.
  6027. Tomcat started.
  6028. DHIS2 instance starting for dhis2
  6029.  
  6030. Waiting up to 300 seconds for DHIS2 to come up......................................................................................................................................................
  6031. Inserting OU...
  6032. % Total % Received % Xferd Average Speed Time Time Time Current
  6033. Dload Upload Total Spent Left Speed
  6034. 100 3032 100 618 100 2414 237 928 0:00:02 0:00:02 --:--:-- 928
  6035.  
  6036. Setting app folder and base url
  6037. Inserting Forms...(This may take up to 10 minutes)...-
  6038.  
  6039. Inserting user management app metadata....|
  6040.  
  6041. Configuring User Management App...
  6042. % Total % Received % Xferd Average Speed Time Time Time Current
  6043. Dload Upload Total Spent Left Speed
  6044. 100 190 100 166 100 24 724 104 --:--:-- --:--:-- --:--:-- 728
  6045.  
  6046. Generating Resource Tables...
  6047. Creating CSD Documents...
  6048. {"httpStatus":"Created","httpStatusCode":201,"status":"OK","message":"Key 'location' created."}
  6049. Manual post configuration steps can be found here:
  6050. https://wiki.ohie.org/display/resources/How+to+install+DATIM+Node
Add Comment
Please, Sign In to add comment