Guest User

Untitled

a guest
May 16th, 2020
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 192.29 KB | None | 0 0
  1. 2020-05-16 19:43:46,966: INFO - Installing the app 'mobilizon'…
  2. 2020-05-16 19:43:47,081: DEBUG - The permission database has been resynchronized
  3. 2020-05-16 19:43:47,159: DEBUG - status file not found for 'mobilizon'
  4. Traceback (most recent call last):
  5. File "/usr/lib/moulinette/yunohost/app.py", line 2239, in _get_app_status
  6. with open(app_setting_path + '/status.json') as f:
  7. IOError: [Errno 2] No such file or directory: u'/etc/yunohost/apps/mobilizon/status.json'
  8. 2020-05-16 19:43:47,163: DEBUG - cannot get app setting 'update_time' for 'mobilizon' ('update_time')
  9. 2020-05-16 19:43:47,251: DEBUG - SSOwat configuration generated
  10. 2020-05-16 19:43:47,265: DEBUG - No default hook for action 'post_app_addaccess' in /usr/share/yunohost/hooks/
  11. 2020-05-16 19:43:47,265: DEBUG - No custom hook for action 'post_app_addaccess' in /etc/yunohost/hooks.d/
  12. 2020-05-16 19:43:47,266: DEBUG - Permission 'mobilizon.main' created
  13. 2020-05-16 19:43:47,266: DEBUG - Full log of this operation: '<a href="#/tools/logs/20200516-164347-permission_create-mobilizon" style="text-decoration:underline">Create permission 'mobilizon'</a>'
  14. 2020-05-16 19:43:47,271: DEBUG - Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ARG_LANGUAGE=en YNH_APP_INSTANCE_NAME=mobilizon YNH_STDINFO=/tmp/tmpWYpTye/stdinfo YNH_APP_ARG_PASSWORD=********** YNH_CWD=/var/cache/yunohost/from_file/mobilizon_ynh-6b77f268d4e7e2cd525e11e11f3ed5a5162d0bd2/scripts YNH_APP_ARG_IS_PUBLIC=1 YNH_APP_ARG_ADMIN=kombineshop YNH_APP_ARG_NAME=Kombine.Shop YNH_INTERFACE=api YNH_APP_ID=mobilizon YNH_STDRETURN=/tmp/tmpOGedmZ/stdreturn YNH_APP_ARG_DOMAIN=kombine.shop BASH_XTRACEFD=7 /bin/bash -x "./install" kombine.shop kombineshop 1 en ********** Kombine.Shop mobilizon 7>&1'…
  15. 2020-05-16 19:43:47,272: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ARG_LANGUAGE=en YNH_APP_INSTANCE_NAME=mobilizon YNH_STDINFO=/tmp/tmpWYpTye/stdinfo YNH_APP_ARG_PASSWORD=********** YNH_CWD=/var/cache/yunohost/from_file/mobilizon_ynh-6b77f268d4e7e2cd525e11e11f3ed5a5162d0bd2/scripts YNH_APP_ARG_IS_PUBLIC=1 YNH_APP_ARG_ADMIN=kombineshop YNH_APP_ARG_NAME=Kombine.Shop YNH_INTERFACE=api YNH_APP_ID=mobilizon YNH_STDRETURN=/tmp/tmpOGedmZ/stdreturn YNH_APP_ARG_DOMAIN=kombine.shop BASH_XTRACEFD=7 /bin/bash -x "./install" kombine.shop kombineshop 1 en ********** Kombine.Shop mobilizon 7>&1']'
  16. 2020-05-16 19:43:47,318: DEBUG - + source _common.sh
  17. 2020-05-16 19:43:47,329: DEBUG - ++ pkg_dependencies='build-essential inotify-tools postgresql postgresql-client postgresql-contrib git curl gnupg openssl postgis make gcc libc-dev argon2 imagemagick'
  18. 2020-05-16 19:43:47,330: DEBUG - ++ extra_pkg_dependencies='elixir esl-erlang'
  19. 2020-05-16 19:43:47,330: DEBUG - + source ynh_add_extra_apt_repos__3
  20. 2020-05-16 19:43:47,330: DEBUG - + source /usr/share/yunohost/helpers
  21. 2020-05-16 19:43:47,331: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
  22. 2020-05-16 19:43:47,331: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  23. 2020-05-16 19:43:47,341: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
  24. 2020-05-16 19:43:47,341: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
  25. 2020-05-16 19:43:47,341: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  26. 2020-05-16 19:43:47,342: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
  27. 2020-05-16 19:43:47,342: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
  28. 2020-05-16 19:43:47,342: DEBUG - +++ CAN_BIND=1
  29. 2020-05-16 19:43:47,342: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  30. 2020-05-16 19:43:47,343: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
  31. 2020-05-16 19:43:47,343: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
  32. 2020-05-16 19:43:47,345: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  33. 2020-05-16 19:43:47,345: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
  34. 2020-05-16 19:43:47,346: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
  35. 2020-05-16 19:43:47,346: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  36. 2020-05-16 19:43:47,346: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
  37. 2020-05-16 19:43:47,346: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
  38. 2020-05-16 19:43:47,347: DEBUG - +++ increment_progression=0
  39. 2020-05-16 19:43:47,347: DEBUG - +++ previous_weight=0
  40. 2020-05-16 19:43:47,348: DEBUG - +++ max_progression=-1
  41. 2020-05-16 19:43:47,348: DEBUG - +++ progress_scale=20
  42. 2020-05-16 19:43:47,348: DEBUG - +++ progress_string2='####################'
  43. 2020-05-16 19:43:47,349: DEBUG - +++ progress_string1=++++++++++++++++++++
  44. 2020-05-16 19:43:47,349: DEBUG - +++ progress_string0=....................
  45. 2020-05-16 19:43:47,349: DEBUG - ++++ date +%s
  46. 2020-05-16 19:43:47,450: DEBUG - +++ base_time=1589647427
  47. 2020-05-16 19:43:47,450: INFO - Managing script failure...
  48. 2020-05-16 19:43:47,452: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  49. 2020-05-16 19:43:47,453: INFO - Retrieving arguments from the manifest...
  50. 2020-05-16 19:43:47,453: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
  51. 2020-05-16 19:43:47,453: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
  52. 2020-05-16 19:43:47,454: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  53. 2020-05-16 19:43:47,454: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
  54. 2020-05-16 19:43:47,454: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
  55. 2020-05-16 19:43:47,454: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
  56. 2020-05-16 19:43:47,455: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  57. 2020-05-16 19:43:47,455: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
  58. 2020-05-16 19:43:47,455: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
  59. 2020-05-16 19:43:47,455: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  60. 2020-05-16 19:43:47,456: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
  61. 2020-05-16 19:43:47,456: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
  62. 2020-05-16 19:43:47,456: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  63. 2020-05-16 19:43:47,457: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
  64. 2020-05-16 19:43:47,457: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
  65. 2020-05-16 19:43:47,457: DEBUG - +++ n_install_dir=/opt/node_n
  66. 2020-05-16 19:43:47,457: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
  67. 2020-05-16 19:43:47,458: DEBUG - +++ export N_PREFIX=/opt/node_n
  68. 2020-05-16 19:43:47,458: DEBUG - +++ N_PREFIX=/opt/node_n
  69. 2020-05-16 19:43:47,458: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  70. 2020-05-16 19:43:47,458: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
  71. 2020-05-16 19:43:47,468: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
  72. 2020-05-16 19:43:47,468: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  73. 2020-05-16 19:43:47,468: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
  74. 2020-05-16 19:43:47,468: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
  75. 2020-05-16 19:43:47,469: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
  76. 2020-05-16 19:43:47,469: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  77. 2020-05-16 19:43:47,469: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
  78. 2020-05-16 19:43:47,469: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
  79. 2020-05-16 19:43:47,470: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  80. 2020-05-16 19:43:47,470: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
  81. 2020-05-16 19:43:47,470: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
  82. 2020-05-16 19:43:47,470: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  83. 2020-05-16 19:43:47,471: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
  84. 2020-05-16 19:43:47,471: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
  85. 2020-05-16 19:43:47,471: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  86. 2020-05-16 19:43:47,475: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
  87. 2020-05-16 19:43:47,476: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
  88. 2020-05-16 19:43:47,476: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  89. 2020-05-16 19:43:47,476: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
  90. 2020-05-16 19:43:47,476: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
  91. 2020-05-16 19:43:47,477: DEBUG - + ynh_print_info '--message=Managing script failure...'
  92. 2020-05-16 19:43:47,477: DEBUG - + local legacy_args=m
  93. 2020-05-16 19:43:47,477: DEBUG - + args_array=([m]=message=)
  94. 2020-05-16 19:43:47,477: DEBUG - + declare -Ar args_array
  95. 2020-05-16 19:43:47,478: DEBUG - + local message
  96. 2020-05-16 19:43:47,478: DEBUG - + ynh_handle_getopts_args '--message=Managing script failure...'
  97. 2020-05-16 19:43:47,478: DEBUG - + set +x
  98. 2020-05-16 19:43:47,478: DEBUG - + echo 'Managing script failure...'
  99. 2020-05-16 19:43:47,478: DEBUG - + ynh_abort_if_errors
  100. 2020-05-16 19:43:47,479: DEBUG - + set -eu
  101. 2020-05-16 19:43:47,479: DEBUG - + trap ynh_exit_properly EXIT
  102. 2020-05-16 19:43:47,479: DEBUG - + ynh_print_info '--message=Retrieving arguments from the manifest...'
  103. 2020-05-16 19:43:47,481: DEBUG - + local legacy_args=m
  104. 2020-05-16 19:43:47,481: DEBUG - + args_array=([m]=message=)
  105. 2020-05-16 19:43:47,481: DEBUG - + declare -Ar args_array
  106. 2020-05-16 19:43:47,482: DEBUG - + local message
  107. 2020-05-16 19:43:47,482: DEBUG - + ynh_handle_getopts_args '--message=Retrieving arguments from the manifest...'
  108. 2020-05-16 19:43:47,482: DEBUG - + set +x
  109. 2020-05-16 19:43:47,482: DEBUG - + echo 'Retrieving arguments from the manifest...'
  110. 2020-05-16 19:43:47,483: DEBUG - + domain=kombine.shop
  111. 2020-05-16 19:43:47,483: DEBUG - + path_url=/
  112. 2020-05-16 19:43:47,483: DEBUG - + admin=kombineshop
  113. 2020-05-16 19:43:47,483: DEBUG - + is_public=1
  114. 2020-05-16 19:43:47,484: DEBUG - + language=en
  115. 2020-05-16 19:43:47,484: DEBUG - + password=**********
  116. 2020-05-16 19:43:47,484: DEBUG - + name=Kombine.Shop
  117. 2020-05-16 19:43:47,485: DEBUG - ++ ynh_string_random 30
  118. 2020-05-16 19:43:47,485: DEBUG - ++ local legacy_args=l
  119. 2020-05-16 19:43:47,485: DEBUG - ++ args_array=([l]=length=)
  120. 2020-05-16 19:43:47,485: DEBUG - ++ declare -Ar args_array
  121. 2020-05-16 19:43:47,485: DEBUG - ++ local length
  122. 2020-05-16 19:43:47,486: DEBUG - ++ ynh_handle_getopts_args 30
  123. 2020-05-16 19:43:47,486: DEBUG - ++ set +x
  124. 2020-05-16 19:43:47,486: DEBUG - ++ echo '! Helper used in legacy mode !'
  125. 2020-05-16 19:43:47,486: DEBUG - ++ set +x
  126. 2020-05-16 19:43:47,496: DEBUG - ++ length=30
  127. 2020-05-16 19:43:47,496: DEBUG - ++ sed -n 's/\(.\{30\}\).*/\1/p'
  128. 2020-05-16 19:43:47,496: DEBUG - ++ tr -c -d A-Za-z0-9
  129. 2020-05-16 19:43:47,497: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
  130. 2020-05-16 19:43:47,497: DEBUG - + secret=**********
  131. 2020-05-16 19:43:47,497: DEBUG - ++ ynh_user_get_info kombineshop mail
  132. 2020-05-16 19:43:47,497: DEBUG - ++ local legacy_args=uk
  133. 2020-05-16 19:43:47,497: DEBUG - ++ args_array=([u]=username= [k]=key=)
  134. 2020-05-16 19:43:47,498: DEBUG - ++ declare -Ar args_array
  135. 2020-05-16 19:43:47,498: DEBUG - ++ local username
  136. 2020-05-16 19:43:47,498: DEBUG - ++ local key
  137. 2020-05-16 19:43:47,498: DEBUG - ++ ynh_handle_getopts_args kombineshop mail
  138. 2020-05-16 19:43:47,499: DEBUG - ++ set +x
  139. 2020-05-16 19:43:47,499: DEBUG - ++ echo '! Helper used in legacy mode !'
  140. 2020-05-16 19:43:47,499: DEBUG - ++ set +x
  141. 2020-05-16 19:43:47,500: DEBUG - ++ ynh_get_plain_key mail
  142. 2020-05-16 19:43:47,500: DEBUG - ++ local prefix=#
  143. 2020-05-16 19:43:47,501: DEBUG - ++ local founded=0
  144. 2020-05-16 19:43:47,501: DEBUG - ++ local key_=mail
  145. 2020-05-16 19:43:47,501: DEBUG - ++ shift
  146. 2020-05-16 19:43:47,501: DEBUG - ++ read line
  147. 2020-05-16 19:43:47,501: DEBUG - ++ yunohost user info kombineshop --output-as plain
  148. 2020-05-16 19:43:47,903: DEBUG - ++ [[ 0 == \1 ]]
  149. 2020-05-16 19:43:47,903: INFO - Validating installation parameters...
  150. 2020-05-16 19:43:47,904: DEBUG - ++ [[ #username =~ ^#mail$ ]]
  151. 2020-05-16 19:43:47,904: DEBUG - ++ read line
  152. 2020-05-16 19:43:47,905: DEBUG - ++ [[ 0 == \1 ]]
  153. 2020-05-16 19:43:47,905: DEBUG - ++ [[ kombineshop =~ ^#mail$ ]]
  154. 2020-05-16 19:43:47,905: DEBUG - ++ read line
  155. 2020-05-16 19:43:47,905: DEBUG - ++ [[ 0 == \1 ]]
  156. 2020-05-16 19:43:47,906: DEBUG - ++ [[ #firstname =~ ^#mail$ ]]
  157. 2020-05-16 19:43:47,906: DEBUG - ++ read line
  158. 2020-05-16 19:43:47,906: DEBUG - ++ [[ 0 == \1 ]]
  159. 2020-05-16 19:43:47,906: DEBUG - ++ [[ kombine =~ ^#mail$ ]]
  160. 2020-05-16 19:43:47,906: DEBUG - ++ read line
  161. 2020-05-16 19:43:47,907: DEBUG - ++ [[ 0 == \1 ]]
  162. 2020-05-16 19:43:47,907: DEBUG - ++ [[ #lastname =~ ^#mail$ ]]
  163. 2020-05-16 19:43:47,908: DEBUG - ++ read line
  164. 2020-05-16 19:43:47,908: DEBUG - ++ [[ 0 == \1 ]]
  165. 2020-05-16 19:43:47,908: DEBUG - ++ [[ shop =~ ^#mail$ ]]
  166. 2020-05-16 19:43:47,908: DEBUG - ++ read line
  167. 2020-05-16 19:43:47,908: DEBUG - ++ [[ 0 == \1 ]]
  168. 2020-05-16 19:43:47,909: DEBUG - ++ [[ #mailbox-quota =~ ^#mail$ ]]
  169. 2020-05-16 19:43:47,909: DEBUG - ++ read line
  170. 2020-05-16 19:43:47,909: DEBUG - ++ [[ 0 == \1 ]]
  171. 2020-05-16 19:43:47,910: DEBUG - ++ [[ ##use =~ ^#mail$ ]]
  172. 2020-05-16 19:43:47,910: DEBUG - ++ read line
  173. 2020-05-16 19:43:47,910: DEBUG - ++ [[ 0 == \1 ]]
  174. 2020-05-16 19:43:47,911: DEBUG - ++ [[ 0.0K (0%) =~ ^#mail$ ]]
  175. 2020-05-16 19:43:47,915: DEBUG - ++ read line
  176. 2020-05-16 19:43:47,915: DEBUG - ++ [[ 0 == \1 ]]
  177. 2020-05-16 19:43:47,916: DEBUG - ++ [[ ##limit =~ ^#mail$ ]]
  178. 2020-05-16 19:43:47,916: DEBUG - ++ read line
  179. 2020-05-16 19:43:47,916: DEBUG - ++ [[ 0 == \1 ]]
  180. 2020-05-16 19:43:47,917: DEBUG - ++ [[ 700M =~ ^#mail$ ]]
  181. 2020-05-16 19:43:47,917: DEBUG - ++ read line
  182. 2020-05-16 19:43:47,917: DEBUG - ++ [[ 0 == \1 ]]
  183. 2020-05-16 19:43:47,918: DEBUG - ++ [[ #mail =~ ^#mail$ ]]
  184. 2020-05-16 19:43:47,918: DEBUG - ++ [[ -n '' ]]
  185. 2020-05-16 19:43:47,918: DEBUG - ++ founded=1
  186. 2020-05-16 19:43:47,918: DEBUG - ++ read line
  187. 2020-05-16 19:43:47,919: DEBUG - ++ [[ 1 == \1 ]]
  188. 2020-05-16 19:43:47,919: DEBUG - ++ [[ info@kombine.shop =~ ^#[^#] ]]
  189. 2020-05-16 19:43:47,921: DEBUG - ++ echo info@kombine.shop
  190. 2020-05-16 19:43:47,922: DEBUG - ++ read line
  191. 2020-05-16 19:43:47,922: DEBUG - ++ [[ 1 == \1 ]]
  192. 2020-05-16 19:43:47,922: DEBUG - ++ [[ #fullname =~ ^#[^#] ]]
  193. 2020-05-16 19:43:47,922: DEBUG - ++ return
  194. 2020-05-16 19:43:47,923: DEBUG - + admin_email=info@kombine.shop
  195. 2020-05-16 19:43:47,923: DEBUG - + app=mobilizon
  196. 2020-05-16 19:43:47,923: DEBUG - + ynh_print_info '--message=Validating installation parameters...'
  197. 2020-05-16 19:43:47,923: DEBUG - + local legacy_args=m
  198. 2020-05-16 19:43:47,924: DEBUG - + args_array=([m]=message=)
  199. 2020-05-16 19:43:47,924: DEBUG - + declare -Ar args_array
  200. 2020-05-16 19:43:47,924: DEBUG - + local message
  201. 2020-05-16 19:43:47,925: DEBUG - + ynh_handle_getopts_args '--message=Validating installation parameters...'
  202. 2020-05-16 19:43:47,925: DEBUG - + set +x
  203. 2020-05-16 19:43:47,925: DEBUG - + echo 'Validating installation parameters...'
  204. 2020-05-16 19:43:47,925: DEBUG - + final_path=/var/www/mobilizon
  205. 2020-05-16 19:43:47,926: DEBUG - + test '!' -e /var/www/mobilizon
  206. 2020-05-16 19:43:47,926: DEBUG - + ynh_webpath_register --app=mobilizon --domain=kombine.shop --path_url=/
  207. 2020-05-16 19:43:47,930: DEBUG - + local legacy_args=adp
  208. 2020-05-16 19:43:47,930: DEBUG - + args_array=([a]=app= [d]=domain= [p]=path_url=)
  209. 2020-05-16 19:43:47,930: DEBUG - + declare -Ar args_array
  210. 2020-05-16 19:43:47,931: DEBUG - + local app
  211. 2020-05-16 19:43:47,931: DEBUG - + local domain
  212. 2020-05-16 19:43:47,931: DEBUG - + local path_url
  213. 2020-05-16 19:43:47,936: DEBUG - + ynh_handle_getopts_args --app=mobilizon --domain=kombine.shop --path_url=/
  214. 2020-05-16 19:43:47,936: DEBUG - + set +x
  215. 2020-05-16 19:43:47,936: DEBUG - + yunohost app register-url mobilizon kombine.shop /
  216. 2020-05-16 19:43:48,438: DEBUG - + ynh_print_info '--message=Storing installation settings...'
  217. 2020-05-16 19:43:48,438: DEBUG - + local legacy_args=m
  218. 2020-05-16 19:43:48,439: DEBUG - + args_array=([m]=message=)
  219. 2020-05-16 19:43:48,439: DEBUG - + declare -Ar args_array
  220. 2020-05-16 19:43:48,439: DEBUG - + local message
  221. 2020-05-16 19:43:48,439: DEBUG - + ynh_handle_getopts_args '--message=Storing installation settings...'
  222. 2020-05-16 19:43:48,440: DEBUG - + set +x
  223. 2020-05-16 19:43:48,440: DEBUG - + echo 'Storing installation settings...'
  224. 2020-05-16 19:43:48,440: DEBUG - + ynh_app_setting_set --app=mobilizon --key=domain --value=kombine.shop
  225. 2020-05-16 19:43:48,441: DEBUG - + local legacy_args=akv
  226. 2020-05-16 19:43:48,441: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
  227. 2020-05-16 19:43:48,441: DEBUG - + declare -Ar args_array
  228. 2020-05-16 19:43:48,441: DEBUG - + local app
  229. 2020-05-16 19:43:48,442: DEBUG - + local key
  230. 2020-05-16 19:43:48,442: DEBUG - + local value
  231. 2020-05-16 19:43:48,442: DEBUG - + ynh_handle_getopts_args --app=mobilizon --key=domain --value=kombine.shop
  232. 2020-05-16 19:43:48,442: DEBUG - + set +x
  233. 2020-05-16 19:43:48,543: DEBUG - + ynh_app_setting set mobilizon domain kombine.shop
  234. 2020-05-16 19:43:48,543: INFO - Storing installation settings...
  235. 2020-05-16 19:43:48,545: DEBUG - + [[ set == \d\e\l\e\t\e ]]
  236. 2020-05-16 19:43:48,545: DEBUG - + ACTION=set
  237. 2020-05-16 19:43:48,546: DEBUG - + APP=mobilizon
  238. 2020-05-16 19:43:48,546: DEBUG - + KEY=domain
  239. 2020-05-16 19:43:48,546: DEBUG - + VALUE=kombine.shop
  240. 2020-05-16 19:43:48,546: DEBUG - + python2.7 -
  241. 2020-05-16 19:43:48,647: DEBUG - + [[ domain =~ ^(unprotected|skipped)_ ]]
  242. 2020-05-16 19:43:48,647: DEBUG - + ynh_app_setting_set --app=mobilizon --key=path --value=/
  243. 2020-05-16 19:43:48,647: DEBUG - + local legacy_args=akv
  244. 2020-05-16 19:43:48,648: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
  245. 2020-05-16 19:43:48,648: DEBUG - + declare -Ar args_array
  246. 2020-05-16 19:43:48,648: DEBUG - + local app
  247. 2020-05-16 19:43:48,648: DEBUG - + local key
  248. 2020-05-16 19:43:48,648: DEBUG - + local value
  249. 2020-05-16 19:43:48,649: DEBUG - + ynh_handle_getopts_args --app=mobilizon --key=path --value=/
  250. 2020-05-16 19:43:48,649: DEBUG - + set +x
  251. 2020-05-16 19:43:48,649: DEBUG - + ynh_app_setting set mobilizon path /
  252. 2020-05-16 19:43:48,649: DEBUG - + [[ set == \d\e\l\e\t\e ]]
  253. 2020-05-16 19:43:48,649: DEBUG - + ACTION=set
  254. 2020-05-16 19:43:48,650: DEBUG - + APP=mobilizon
  255. 2020-05-16 19:43:48,650: DEBUG - + KEY=path
  256. 2020-05-16 19:43:48,650: DEBUG - + VALUE=/
  257. 2020-05-16 19:43:48,650: DEBUG - + python2.7 -
  258. 2020-05-16 19:43:48,751: DEBUG - + [[ path =~ ^(unprotected|skipped)_ ]]
  259. 2020-05-16 19:43:48,751: DEBUG - + ynh_app_setting_set --app=mobilizon --key=admin --value=kombineshop
  260. 2020-05-16 19:43:48,751: DEBUG - + local legacy_args=akv
  261. 2020-05-16 19:43:48,752: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
  262. 2020-05-16 19:43:48,752: DEBUG - + declare -Ar args_array
  263. 2020-05-16 19:43:48,752: DEBUG - + local app
  264. 2020-05-16 19:43:48,752: DEBUG - + local key
  265. 2020-05-16 19:43:48,752: DEBUG - + local value
  266. 2020-05-16 19:43:48,753: DEBUG - + ynh_handle_getopts_args --app=mobilizon --key=admin --value=kombineshop
  267. 2020-05-16 19:43:48,753: DEBUG - + set +x
  268. 2020-05-16 19:43:48,753: DEBUG - + ynh_app_setting set mobilizon admin kombineshop
  269. 2020-05-16 19:43:48,753: DEBUG - + [[ set == \d\e\l\e\t\e ]]
  270. 2020-05-16 19:43:48,753: DEBUG - + ACTION=set
  271. 2020-05-16 19:43:48,754: DEBUG - + APP=mobilizon
  272. 2020-05-16 19:43:48,754: DEBUG - + KEY=admin
  273. 2020-05-16 19:43:48,754: DEBUG - + VALUE=kombineshop
  274. 2020-05-16 19:43:48,754: DEBUG - + python2.7 -
  275. 2020-05-16 19:43:48,955: DEBUG - + [[ admin =~ ^(unprotected|skipped)_ ]]
  276. 2020-05-16 19:43:48,956: DEBUG - + ynh_app_setting_set --app=mobilizon --key=is_public --value=1
  277. 2020-05-16 19:43:48,956: DEBUG - + local legacy_args=akv
  278. 2020-05-16 19:43:48,956: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
  279. 2020-05-16 19:43:48,956: DEBUG - + declare -Ar args_array
  280. 2020-05-16 19:43:48,956: DEBUG - + local app
  281. 2020-05-16 19:43:48,957: DEBUG - + local key
  282. 2020-05-16 19:43:48,957: DEBUG - + local value
  283. 2020-05-16 19:43:48,957: DEBUG - + ynh_handle_getopts_args --app=mobilizon --key=is_public --value=1
  284. 2020-05-16 19:43:48,957: DEBUG - + set +x
  285. 2020-05-16 19:43:48,957: DEBUG - + ynh_app_setting set mobilizon is_public 1
  286. 2020-05-16 19:43:48,958: DEBUG - + [[ set == \d\e\l\e\t\e ]]
  287. 2020-05-16 19:43:48,958: DEBUG - + ACTION=set
  288. 2020-05-16 19:43:48,958: DEBUG - + APP=mobilizon
  289. 2020-05-16 19:43:48,958: DEBUG - + KEY=is_public
  290. 2020-05-16 19:43:48,958: DEBUG - + VALUE=1
  291. 2020-05-16 19:43:48,959: DEBUG - + python2.7 -
  292. 2020-05-16 19:43:49,059: DEBUG - + [[ is_public =~ ^(unprotected|skipped)_ ]]
  293. 2020-05-16 19:43:49,059: DEBUG - + ynh_app_setting_set --app=mobilizon --key=language --value=en
  294. 2020-05-16 19:43:49,060: DEBUG - + local legacy_args=akv
  295. 2020-05-16 19:43:49,060: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
  296. 2020-05-16 19:43:49,060: DEBUG - + declare -Ar args_array
  297. 2020-05-16 19:43:49,060: DEBUG - + local app
  298. 2020-05-16 19:43:49,061: DEBUG - + local key
  299. 2020-05-16 19:43:49,061: DEBUG - + local value
  300. 2020-05-16 19:43:49,061: DEBUG - + ynh_handle_getopts_args --app=mobilizon --key=language --value=en
  301. 2020-05-16 19:43:49,061: DEBUG - + set +x
  302. 2020-05-16 19:43:49,061: DEBUG - + ynh_app_setting set mobilizon language en
  303. 2020-05-16 19:43:49,062: DEBUG - + [[ set == \d\e\l\e\t\e ]]
  304. 2020-05-16 19:43:49,062: DEBUG - + ACTION=set
  305. 2020-05-16 19:43:49,062: DEBUG - + APP=mobilizon
  306. 2020-05-16 19:43:49,062: DEBUG - + KEY=language
  307. 2020-05-16 19:43:49,062: DEBUG - + VALUE=en
  308. 2020-05-16 19:43:49,063: DEBUG - + python2.7 -
  309. 2020-05-16 19:43:49,163: DEBUG - + [[ language =~ ^(unprotected|skipped)_ ]]
  310. 2020-05-16 19:43:49,163: DEBUG - + ynh_app_setting_set --app=mobilizon --key=name --value=Kombine.Shop
  311. 2020-05-16 19:43:49,164: DEBUG - + local legacy_args=akv
  312. 2020-05-16 19:43:49,164: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
  313. 2020-05-16 19:43:49,164: DEBUG - + declare -Ar args_array
  314. 2020-05-16 19:43:49,165: DEBUG - + local app
  315. 2020-05-16 19:43:49,165: DEBUG - + local key
  316. 2020-05-16 19:43:49,165: DEBUG - + local value
  317. 2020-05-16 19:43:49,165: DEBUG - + ynh_handle_getopts_args --app=mobilizon --key=name --value=Kombine.Shop
  318. 2020-05-16 19:43:49,165: DEBUG - + set +x
  319. 2020-05-16 19:43:49,266: DEBUG - + ynh_app_setting set mobilizon name Kombine.Shop
  320. 2020-05-16 19:43:49,266: DEBUG - + [[ set == \d\e\l\e\t\e ]]
  321. 2020-05-16 19:43:49,267: DEBUG - + ACTION=set
  322. 2020-05-16 19:43:49,267: DEBUG - + APP=mobilizon
  323. 2020-05-16 19:43:49,267: DEBUG - + KEY=name
  324. 2020-05-16 19:43:49,267: DEBUG - + VALUE=Kombine.Shop
  325. 2020-05-16 19:43:49,268: DEBUG - + python2.7 -
  326. 2020-05-16 19:43:49,368: DEBUG - + [[ name =~ ^(unprotected|skipped)_ ]]
  327. 2020-05-16 19:43:49,368: DEBUG - + ynh_app_setting_set --app=mobilizon --key=secret --value=**********
  328. 2020-05-16 19:43:49,369: DEBUG - + local legacy_args=akv
  329. 2020-05-16 19:43:49,369: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
  330. 2020-05-16 19:43:49,369: DEBUG - + declare -Ar args_array
  331. 2020-05-16 19:43:49,369: DEBUG - + local app
  332. 2020-05-16 19:43:49,370: DEBUG - + local key
  333. 2020-05-16 19:43:49,370: DEBUG - + local value
  334. 2020-05-16 19:43:49,370: DEBUG - + ynh_handle_getopts_args --app=mobilizon --key=secret --value=**********
  335. 2020-05-16 19:43:49,370: DEBUG - + set +x
  336. 2020-05-16 19:43:49,370: DEBUG - + ynh_app_setting set mobilizon secret **********
  337. 2020-05-16 19:43:49,371: DEBUG - + [[ set == \d\e\l\e\t\e ]]
  338. 2020-05-16 19:43:49,371: DEBUG - + ACTION=set
  339. 2020-05-16 19:43:49,371: DEBUG - + APP=mobilizon
  340. 2020-05-16 19:43:49,375: DEBUG - + KEY=secret
  341. 2020-05-16 19:43:49,376: DEBUG - + VALUE=**********
  342. 2020-05-16 19:43:49,376: DEBUG - + python2.7 -
  343. 2020-05-16 19:43:49,476: DEBUG - + [[ secret =~ ^(unprotected|skipped)_ ]]
  344. 2020-05-16 19:43:49,477: DEBUG - + ynh_app_setting_set --app=mobilizon --key=admin_email --value=info@kombine.shop
  345. 2020-05-16 19:43:49,477: DEBUG - + local legacy_args=akv
  346. 2020-05-16 19:43:49,477: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
  347. 2020-05-16 19:43:49,478: DEBUG - + declare -Ar args_array
  348. 2020-05-16 19:43:49,478: DEBUG - + local app
  349. 2020-05-16 19:43:49,479: DEBUG - + local key
  350. 2020-05-16 19:43:49,479: DEBUG - + local value
  351. 2020-05-16 19:43:49,479: DEBUG - + ynh_handle_getopts_args --app=mobilizon --key=admin_email --value=info@kombine.shop
  352. 2020-05-16 19:43:49,479: DEBUG - + set +x
  353. 2020-05-16 19:43:49,480: DEBUG - + ynh_app_setting set mobilizon admin_email info@kombine.shop
  354. 2020-05-16 19:43:49,480: DEBUG - + [[ set == \d\e\l\e\t\e ]]
  355. 2020-05-16 19:43:49,480: DEBUG - + ACTION=set
  356. 2020-05-16 19:43:49,480: DEBUG - + APP=mobilizon
  357. 2020-05-16 19:43:49,480: DEBUG - + KEY=admin_email
  358. 2020-05-16 19:43:49,481: DEBUG - + VALUE=info@kombine.shop
  359. 2020-05-16 19:43:49,481: DEBUG - + python2.7 -
  360. 2020-05-16 19:43:49,682: DEBUG - + [[ admin_email =~ ^(unprotected|skipped)_ ]]
  361. 2020-05-16 19:43:49,682: INFO - Configuring firewall...
  362. 2020-05-16 19:43:49,683: DEBUG - + ynh_print_info '--message=Configuring firewall...'
  363. 2020-05-16 19:43:49,683: DEBUG - + local legacy_args=m
  364. 2020-05-16 19:43:49,684: DEBUG - + args_array=([m]=message=)
  365. 2020-05-16 19:43:49,684: DEBUG - + declare -Ar args_array
  366. 2020-05-16 19:43:49,684: DEBUG - + local message
  367. 2020-05-16 19:43:49,684: DEBUG - + ynh_handle_getopts_args '--message=Configuring firewall...'
  368. 2020-05-16 19:43:49,684: DEBUG - + set +x
  369. 2020-05-16 19:43:49,685: DEBUG - + echo 'Configuring firewall...'
  370. 2020-05-16 19:43:49,685: DEBUG - ++ ynh_find_port --port=8095
  371. 2020-05-16 19:43:49,685: DEBUG - ++ local legacy_args=p
  372. 2020-05-16 19:43:49,685: DEBUG - ++ args_array=([p]=port=)
  373. 2020-05-16 19:43:49,686: DEBUG - ++ declare -Ar args_array
  374. 2020-05-16 19:43:49,686: DEBUG - ++ local port
  375. 2020-05-16 19:43:49,686: DEBUG - ++ ynh_handle_getopts_args --port=8095
  376. 2020-05-16 19:43:49,686: DEBUG - ++ set +x
  377. 2020-05-16 19:43:49,686: DEBUG - ++ test -n 8095
  378. 2020-05-16 19:43:49,687: DEBUG - ++ netcat -z 127.0.0.1 8095
  379. 2020-05-16 19:43:49,687: DEBUG - ++ port=8096
  380. 2020-05-16 19:43:49,687: DEBUG - ++ netcat -z 127.0.0.1 8096
  381. 2020-05-16 19:43:49,687: DEBUG - ++ echo 8096
  382. 2020-05-16 19:43:49,691: DEBUG - + port=8096
  383. 2020-05-16 19:43:49,692: DEBUG - + ynh_app_setting_set --app=mobilizon --key=port --value=8096
  384. 2020-05-16 19:43:49,692: DEBUG - + local legacy_args=akv
  385. 2020-05-16 19:43:49,692: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
  386. 2020-05-16 19:43:49,692: DEBUG - + declare -Ar args_array
  387. 2020-05-16 19:43:49,692: DEBUG - + local app
  388. 2020-05-16 19:43:49,693: DEBUG - + local key
  389. 2020-05-16 19:43:49,693: DEBUG - + local value
  390. 2020-05-16 19:43:49,693: DEBUG - + ynh_handle_getopts_args --app=mobilizon --key=port --value=8096
  391. 2020-05-16 19:43:49,693: DEBUG - + set +x
  392. 2020-05-16 19:43:49,693: DEBUG - + ynh_app_setting set mobilizon port 8096
  393. 2020-05-16 19:43:49,694: DEBUG - + [[ set == \d\e\l\e\t\e ]]
  394. 2020-05-16 19:43:49,694: DEBUG - + ACTION=set
  395. 2020-05-16 19:43:49,694: DEBUG - + APP=mobilizon
  396. 2020-05-16 19:43:49,694: DEBUG - + KEY=port
  397. 2020-05-16 19:43:49,694: DEBUG - + VALUE=8096
  398. 2020-05-16 19:43:49,695: DEBUG - + python2.7 -
  399. 2020-05-16 19:43:49,895: DEBUG - + [[ port =~ ^(unprotected|skipped)_ ]]
  400. 2020-05-16 19:43:49,896: INFO - Installing dependencies...
  401. 2020-05-16 19:43:49,896: DEBUG - + ynh_print_info '--message=Installing dependencies...'
  402. 2020-05-16 19:43:49,897: DEBUG - + local legacy_args=m
  403. 2020-05-16 19:43:49,897: DEBUG - + args_array=([m]=message=)
  404. 2020-05-16 19:43:49,897: DEBUG - + declare -Ar args_array
  405. 2020-05-16 19:43:49,897: DEBUG - + local message
  406. 2020-05-16 19:43:49,897: DEBUG - + ynh_handle_getopts_args '--message=Installing dependencies...'
  407. 2020-05-16 19:43:49,898: DEBUG - + set +x
  408. 2020-05-16 19:43:49,898: DEBUG - + echo 'Installing dependencies...'
  409. 2020-05-16 19:43:49,898: DEBUG - + ynh_install_app_dependencies build-essential inotify-tools postgresql postgresql-client postgresql-contrib git curl gnupg openssl postgis make gcc libc-dev argon2 imagemagick
  410. 2020-05-16 19:43:49,898: DEBUG - + local 'dependencies=build-essential inotify-tools postgresql postgresql-client postgresql-contrib git curl gnupg openssl postgis make gcc libc-dev argon2 imagemagick'
  411. 2020-05-16 19:43:49,899: DEBUG - + local 'dependencies=build-essential, inotify-tools, postgresql, postgresql-client, postgresql-contrib, git, curl, gnupg, openssl, postgis, make, gcc, libc-dev, argon2, imagemagick'
  412. 2020-05-16 19:43:49,899: DEBUG - + local 'dependencies=build-essential, inotify-tools, postgresql, postgresql-client, postgresql-contrib, git, curl, gnupg, openssl, postgis, make, gcc, libc-dev, argon2, imagemagick'
  413. 2020-05-16 19:43:49,899: DEBUG - + local manifest_path=../manifest.json
  414. 2020-05-16 19:43:49,904: DEBUG - + '[' '!' -e ../manifest.json ']'
  415. 2020-05-16 19:43:49,904: DEBUG - ++ cut -d '"' -f 4
  416. 2020-05-16 19:43:49,904: DEBUG - ++ grep '\"version\": ' ../manifest.json
  417. 2020-05-16 19:43:49,904: DEBUG - + local version=0.1.0-2019-12-28~ynh1
  418. 2020-05-16 19:43:49,904: DEBUG - + '[' 21 -eq 0 ']'
  419. 2020-05-16 19:43:49,905: DEBUG - + local dep_app=mobilizon
  420. 2020-05-16 19:43:49,905: DEBUG - + grep -q php
  421. 2020-05-16 19:43:49,905: DEBUG - + echo build-essential, inotify-tools, postgresql, postgresql-client, postgresql-contrib, git, curl, gnupg, openssl, postgis, make, gcc, libc-dev, argon2, imagemagick
  422. 2020-05-16 19:43:49,905: DEBUG - + cat
  423. 2020-05-16 19:43:49,906: DEBUG - + ynh_package_install_from_equivs /tmp/mobilizon-ynh-deps.control
  424. 2020-05-16 19:43:49,906: DEBUG - + local controlfile=/tmp/mobilizon-ynh-deps.control
  425. 2020-05-16 19:43:49,906: DEBUG - ++ cut '-d ' -f 2
  426. 2020-05-16 19:43:49,906: DEBUG - ++ grep '^Package: ' /tmp/mobilizon-ynh-deps.control
  427. 2020-05-16 19:43:49,906: DEBUG - + local pkgname=mobilizon-ynh-deps
  428. 2020-05-16 19:43:49,907: DEBUG - ++ cut '-d ' -f 2
  429. 2020-05-16 19:43:49,907: DEBUG - ++ grep '^Version: ' /tmp/mobilizon-ynh-deps.control
  430. 2020-05-16 19:43:49,907: DEBUG - + local pkgversion=0.1.0-2019-12-28~ynh1
  431. 2020-05-16 19:43:49,911: DEBUG - + [[ -z mobilizon-ynh-deps ]]
  432. 2020-05-16 19:43:49,912: DEBUG - + [[ -z 0.1.0-2019-12-28~ynh1 ]]
  433. 2020-05-16 19:43:49,912: DEBUG - + ynh_package_update
  434. 2020-05-16 19:43:49,913: DEBUG - + ynh_apt update
  435. 2020-05-16 19:43:49,913: DEBUG - + ynh_wait_dpkg_free
  436. 2020-05-16 19:43:49,913: DEBUG - + local try
  437. 2020-05-16 19:43:49,913: DEBUG - ++ seq 1 17
  438. 2020-05-16 19:43:49,914: DEBUG - + for try in `seq 1 17`
  439. 2020-05-16 19:43:49,914: DEBUG - + lsof /var/lib/dpkg/lock
  440. 2020-05-16 19:43:50,014: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
  441. 2020-05-16 19:43:50,015: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
  442. 2020-05-16 19:43:50,015: DEBUG - + read dpkg_file
  443. 2020-05-16 19:43:50,015: DEBUG - + grep -Pq '^[[:digit:]]+$'
  444. 2020-05-16 19:43:50,016: DEBUG - + echo ''
  445. 2020-05-16 19:43:50,016: DEBUG - + read dpkg_file
  446. 2020-05-16 19:43:50,016: DEBUG - + return 0
  447. 2020-05-16 19:43:50,016: DEBUG - + LC_ALL=C
  448. 2020-05-16 19:43:50,016: DEBUG - + DEBIAN_FRONTEND=noninteractive
  449. 2020-05-16 19:43:50,017: DEBUG - + apt-get -y update
  450. 2020-05-16 19:43:50,318: DEBUG - Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
  451. 2020-05-16 19:43:50,719: DEBUG - Hit:2 http://forge.yunohost.org/debian stretch InRelease
  452. 2020-05-16 19:43:51,322: DEBUG - Ign:3 http://ftp.tr.debian.org/debian stretch InRelease
  453. 2020-05-16 19:43:51,423: DEBUG - Hit:4 http://ftp.tr.debian.org/debian stretch-updates InRelease
  454. 2020-05-16 19:43:51,423: DEBUG - Hit:5 http://ftp.tr.debian.org/debian stretch Release
  455. 2020-05-16 19:43:53,228: DEBUG - Reading package lists...
  456. 2020-05-16 19:43:53,228: DEBUG - ++ mktemp -d
  457. 2020-05-16 19:43:53,229: DEBUG - + local TMPDIR=/tmp/tmp.uolZNLXsbE
  458. 2020-05-16 19:43:53,229: DEBUG - + echo 10
  459. 2020-05-16 19:43:53,229: DEBUG - + ynh_wait_dpkg_free
  460. 2020-05-16 19:43:53,229: DEBUG - + local try
  461. 2020-05-16 19:43:53,229: DEBUG - ++ seq 1 17
  462. 2020-05-16 19:43:53,230: DEBUG - + for try in `seq 1 17`
  463. 2020-05-16 19:43:53,230: DEBUG - + lsof /var/lib/dpkg/lock
  464. 2020-05-16 19:43:53,330: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
  465. 2020-05-16 19:43:53,331: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
  466. 2020-05-16 19:43:53,331: DEBUG - + read dpkg_file
  467. 2020-05-16 19:43:53,332: DEBUG - + grep -Pq '^[[:digit:]]+$'
  468. 2020-05-16 19:43:53,332: DEBUG - + echo ''
  469. 2020-05-16 19:43:53,332: DEBUG - + read dpkg_file
  470. 2020-05-16 19:43:53,332: DEBUG - + return 0
  471. 2020-05-16 19:43:53,332: DEBUG - + cp /tmp/mobilizon-ynh-deps.control /tmp/tmp.uolZNLXsbE/control
  472. 2020-05-16 19:43:53,333: DEBUG - + cd /tmp/tmp.uolZNLXsbE
  473. 2020-05-16 19:43:53,333: DEBUG - + LC_ALL=C
  474. 2020-05-16 19:43:53,333: DEBUG - + equivs-build ./control
  475. 2020-05-16 19:43:54,336: DEBUG - + dpkg --force-depends -i ./mobilizon-ynh-deps_0.1.0-2019-12-28~ynh1_all.deb
  476. 2020-05-16 19:43:54,336: DEBUG - Selecting previously unselected package mobilizon-ynh-deps.
  477. 2020-05-16 19:43:54,437: DEBUG - (Reading database ... 55490 files and directories currently installed.)
  478. 2020-05-16 19:43:54,437: DEBUG - Preparing to unpack .../mobilizon-ynh-deps_0.1.0-2019-12-28~ynh1_all.deb ...
  479. 2020-05-16 19:43:54,438: DEBUG - Unpacking mobilizon-ynh-deps (0.1.0-2019-12-28~ynh1) ...
  480. 2020-05-16 19:43:54,438: DEBUG - dpkg: mobilizon-ynh-deps: dependency problems, but configuring anyway as you requested:
  481. 2020-05-16 19:43:54,438: DEBUG - mobilizon-ynh-deps depends on inotify-tools; however:
  482. 2020-05-16 19:43:54,439: DEBUG - Package inotify-tools is not installed.
  483. 2020-05-16 19:43:54,439: DEBUG - mobilizon-ynh-deps depends on postgresql; however:
  484. 2020-05-16 19:43:54,440: DEBUG - Package postgresql is not installed.
  485. 2020-05-16 19:43:54,440: DEBUG - mobilizon-ynh-deps depends on argon2; however:
  486. 2020-05-16 19:43:54,440: DEBUG - Package argon2 is not installed.
  487. 2020-05-16 19:43:54,441: DEBUG -
  488. 2020-05-16 19:43:54,441: DEBUG - Setting up mobilizon-ynh-deps (0.1.0-2019-12-28~ynh1) ...
  489. 2020-05-16 19:43:54,441: DEBUG - + ynh_package_install -f
  490. 2020-05-16 19:43:54,441: DEBUG - + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
  491. 2020-05-16 19:43:54,442: DEBUG - + ynh_wait_dpkg_free
  492. 2020-05-16 19:43:54,442: DEBUG - + local try
  493. 2020-05-16 19:43:54,442: DEBUG - ++ seq 1 17
  494. 2020-05-16 19:43:54,442: DEBUG - + for try in `seq 1 17`
  495. 2020-05-16 19:43:54,442: DEBUG - + lsof /var/lib/dpkg/lock
  496. 2020-05-16 19:43:54,543: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
  497. 2020-05-16 19:43:54,543: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
  498. 2020-05-16 19:43:54,544: DEBUG - + read dpkg_file
  499. 2020-05-16 19:43:54,544: DEBUG - + grep -Pq '^[[:digit:]]+$'
  500. 2020-05-16 19:43:54,544: DEBUG - + echo ''
  501. 2020-05-16 19:43:54,544: DEBUG - + read dpkg_file
  502. 2020-05-16 19:43:54,545: DEBUG - + return 0
  503. 2020-05-16 19:43:54,545: DEBUG - + LC_ALL=C
  504. 2020-05-16 19:43:54,545: DEBUG - + DEBIAN_FRONTEND=noninteractive
  505. 2020-05-16 19:43:54,545: DEBUG - + apt-get -y --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
  506. 2020-05-16 19:43:54,847: DEBUG - Reading package lists...
  507. 2020-05-16 19:43:55,048: DEBUG - Building dependency tree...
  508. 2020-05-16 19:43:55,048: DEBUG - Reading state information...
  509. 2020-05-16 19:43:55,249: DEBUG - Correcting dependencies... Done
  510. 2020-05-16 19:43:55,450: DEBUG - The following additional packages will be installed:
  511. 2020-05-16 19:43:55,450: DEBUG - argon2 inotify-tools libinotifytools0 postgresql
  512. 2020-05-16 19:43:55,451: DEBUG - Suggested packages:
  513. 2020-05-16 19:43:55,451: DEBUG - postgresql-doc
  514. 2020-05-16 19:43:55,451: DEBUG - The following NEW packages will be installed:
  515. 2020-05-16 19:43:55,451: DEBUG - argon2 inotify-tools libinotifytools0 postgresql
  516. 2020-05-16 19:43:56,254: DEBUG - 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
  517. 2020-05-16 19:43:56,254: DEBUG - Need to get 0 B/122 kB of archives.
  518. 2020-05-16 19:43:56,254: DEBUG - After this operation, 260 kB of additional disk space will be used.
  519. 2020-05-16 19:43:56,355: DEBUG - Selecting previously unselected package argon2.
  520. 2020-05-16 19:43:56,355: DEBUG - (Reading database ...
  521. (Reading database ... 5%
  522. (Reading database ... 10%
  523. (Reading database ... 15%
  524. (Reading database ... 20%
  525. (Reading database ... 25%
  526. (Reading database ... 30%
  527. (Reading database ... 35%
  528. (Reading database ... 40%
  529. (Reading database ... 45%
  530. (Reading database ... 50%
  531. (Reading database ... 55%
  532. (Reading database ... 60%
  533. (Reading database ... 65%
  534. (Reading database ... 70%
  535. (Reading database ... 75%
  536. (Reading database ... 80%
  537. (Reading database ... 85%
  538. (Reading database ... 90%
  539. (Reading database ... 95%
  540. (Reading database ... 100%
  541. (Reading database ... 55494 files and directories currently installed.)
  542. 2020-05-16 19:43:56,356: DEBUG - Preparing to unpack .../argon2_0~20160821-1+b1_amd64.deb ...
  543. 2020-05-16 19:43:56,356: DEBUG - Unpacking argon2 (0~20160821-1+b1) ...
  544. 2020-05-16 19:43:56,456: DEBUG - Selecting previously unselected package libinotifytools0.
  545. 2020-05-16 19:43:56,457: DEBUG - Preparing to unpack .../libinotifytools0_3.14-2_amd64.deb ...
  546. 2020-05-16 19:43:56,457: DEBUG - Unpacking libinotifytools0 (3.14-2) ...
  547. 2020-05-16 19:43:56,457: DEBUG - Selecting previously unselected package inotify-tools.
  548. 2020-05-16 19:43:56,457: DEBUG - Preparing to unpack .../inotify-tools_3.14-2_amd64.deb ...
  549. 2020-05-16 19:43:56,458: DEBUG - Unpacking inotify-tools (3.14-2) ...
  550. 2020-05-16 19:43:56,558: DEBUG - Selecting previously unselected package postgresql.
  551. 2020-05-16 19:43:56,559: DEBUG - Preparing to unpack .../postgresql_9.6+181+deb9u3_all.deb ...
  552. 2020-05-16 19:43:56,559: DEBUG - Unpacking postgresql (9.6+181+deb9u3) ...
  553. 2020-05-16 19:43:56,659: DEBUG - Setting up argon2 (0~20160821-1+b1) ...
  554. 2020-05-16 19:43:56,660: DEBUG - Setting up libinotifytools0 (3.14-2) ...
  555. 2020-05-16 19:43:56,660: DEBUG - Setting up inotify-tools (3.14-2) ...
  556. 2020-05-16 19:43:56,661: DEBUG - Processing triggers for libc-bin (2.24-11+deb9u4) ...
  557. 2020-05-16 19:43:56,661: DEBUG - Setting up postgresql (9.6+181+deb9u3) ...
  558. 2020-05-16 19:43:56,661: DEBUG - Processing triggers for man-db (2.7.6.1-2) ...
  559. 2020-05-16 19:43:57,163: DEBUG - + [[ -n /tmp/tmp.uolZNLXsbE ]]
  560. 2020-05-16 19:43:57,164: DEBUG - + rm -rf /tmp/tmp.uolZNLXsbE
  561. 2020-05-16 19:43:57,164: DEBUG - + ynh_package_is_installed mobilizon-ynh-deps
  562. 2020-05-16 19:43:57,164: DEBUG - + local legacy_args=p
  563. 2020-05-16 19:43:57,164: DEBUG - + args_array=([p]=package=)
  564. 2020-05-16 19:43:57,165: DEBUG - + declare -Ar args_array
  565. 2020-05-16 19:43:57,165: DEBUG - + local package
  566. 2020-05-16 19:43:57,165: DEBUG - + ynh_handle_getopts_args mobilizon-ynh-deps
  567. 2020-05-16 19:43:57,165: DEBUG - + set +x
  568. 2020-05-16 19:43:57,165: DEBUG - + echo '! Helper used in legacy mode !'
  569. 2020-05-16 19:43:57,166: DEBUG - + set +x
  570. 2020-05-16 19:43:57,166: DEBUG - + ynh_wait_dpkg_free
  571. 2020-05-16 19:43:57,166: DEBUG - + local try
  572. 2020-05-16 19:43:57,166: DEBUG - ++ seq 1 17
  573. 2020-05-16 19:43:57,166: DEBUG - + for try in `seq 1 17`
  574. 2020-05-16 19:43:57,167: DEBUG - + lsof /var/lib/dpkg/lock
  575. 2020-05-16 19:43:57,167: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
  576. 2020-05-16 19:43:57,167: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
  577. 2020-05-16 19:43:57,171: DEBUG - + read dpkg_file
  578. 2020-05-16 19:43:57,172: DEBUG - + grep -Pq '^[[:digit:]]+$'
  579. 2020-05-16 19:43:57,172: DEBUG - + echo ''
  580. 2020-05-16 19:43:57,172: DEBUG - + read dpkg_file
  581. 2020-05-16 19:43:57,172: DEBUG - + return 0
  582. 2020-05-16 19:43:57,173: DEBUG - + grep -c 'ok installed'
  583. 2020-05-16 19:43:57,173: DEBUG - + dpkg-query -W -f '${Status}' mobilizon-ynh-deps
  584. 2020-05-16 19:43:57,273: DEBUG - + rm /tmp/mobilizon-ynh-deps.control
  585. 2020-05-16 19:43:57,274: DEBUG - + ynh_app_setting_set --app=mobilizon --key=apt_dependencies '--value=build-essential, inotify-tools, postgresql, postgresql-client, postgresql-contrib, git, curl, gnupg, openssl, postgis, make, gcc, libc-dev, argon2, imagemagick'
  586. 2020-05-16 19:43:57,274: DEBUG - + local legacy_args=akv
  587. 2020-05-16 19:43:57,275: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
  588. 2020-05-16 19:43:57,275: DEBUG - + declare -Ar args_array
  589. 2020-05-16 19:43:57,275: DEBUG - + local app
  590. 2020-05-16 19:43:57,275: DEBUG - + local key
  591. 2020-05-16 19:43:57,275: DEBUG - + local value
  592. 2020-05-16 19:43:57,276: DEBUG - + ynh_handle_getopts_args --app=mobilizon --key=apt_dependencies '--value=build-essential, inotify-tools, postgresql, postgresql-client, postgresql-contrib, git, curl, gnupg, openssl, postgis, make, gcc, libc-dev, argon2, imagemagick'
  593. 2020-05-16 19:43:57,276: DEBUG - + set +x
  594. 2020-05-16 19:43:57,276: DEBUG - + ynh_app_setting set mobilizon apt_dependencies 'build-essential, inotify-tools, postgresql, postgresql-client, postgresql-contrib, git, curl, gnupg, openssl, postgis, make, gcc, libc-dev, argon2, imagemagick'
  595. 2020-05-16 19:43:57,276: DEBUG - + [[ set == \d\e\l\e\t\e ]]
  596. 2020-05-16 19:43:57,277: DEBUG - + ACTION=set
  597. 2020-05-16 19:43:57,277: DEBUG - + APP=mobilizon
  598. 2020-05-16 19:43:57,277: DEBUG - + KEY=apt_dependencies
  599. 2020-05-16 19:43:57,277: DEBUG - + VALUE='build-essential, inotify-tools, postgresql, postgresql-client, postgresql-contrib, git, curl, gnupg, openssl, postgis, make, gcc, libc-dev, argon2, imagemagick'
  600. 2020-05-16 19:43:57,277: DEBUG - + python2.7 -
  601. 2020-05-16 19:43:57,378: DEBUG - + [[ apt_dependencies =~ ^(unprotected|skipped)_ ]]
  602. 2020-05-16 19:43:57,378: DEBUG - + ynh_install_nodejs --nodejs_version=10
  603. 2020-05-16 19:43:57,379: DEBUG - + local legacy_args=n
  604. 2020-05-16 19:43:57,379: DEBUG - + args_array=([n]=nodejs_version=)
  605. 2020-05-16 19:43:57,379: DEBUG - + declare -Ar args_array
  606. 2020-05-16 19:43:57,380: INFO - Installation of N - Node.js version management
  607. 2020-05-16 19:43:57,381: DEBUG - + local nodejs_version
  608. 2020-05-16 19:43:57,381: DEBUG - + ynh_handle_getopts_args --nodejs_version=10
  609. 2020-05-16 19:43:57,381: DEBUG - + set +x
  610. 2020-05-16 19:43:57,381: DEBUG - + mkdir -p /opt/node_n
  611. 2020-05-16 19:43:57,382: DEBUG - + CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  612. 2020-05-16 19:43:57,382: DEBUG - ++ sed s@/usr/local/bin:@@
  613. 2020-05-16 19:43:57,382: DEBUG - ++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  614. 2020-05-16 19:43:57,382: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
  615. 2020-05-16 19:43:57,382: DEBUG - + test -x /usr/bin/node
  616. 2020-05-16 19:43:57,383: DEBUG - + test -x /usr/bin/npm
  617. 2020-05-16 19:43:57,383: DEBUG - ++ n --version
  618. 2020-05-16 19:43:57,383: DEBUG - + test
  619. 2020-05-16 19:43:57,384: DEBUG - + ynh_install_n
  620. 2020-05-16 19:43:57,385: DEBUG - + ynh_print_info '--message=Installation of N - Node.js version management'
  621. 2020-05-16 19:43:57,385: DEBUG - + local legacy_args=m
  622. 2020-05-16 19:43:57,385: DEBUG - + args_array=([m]=message=)
  623. 2020-05-16 19:43:57,385: DEBUG - + declare -Ar args_array
  624. 2020-05-16 19:43:57,385: DEBUG - + local message
  625. 2020-05-16 19:43:57,386: DEBUG - + ynh_handle_getopts_args '--message=Installation of N - Node.js version management'
  626. 2020-05-16 19:43:57,386: DEBUG - + set +x
  627. 2020-05-16 19:43:57,386: DEBUG - + echo 'Installation of N - Node.js version management'
  628. 2020-05-16 19:43:57,386: DEBUG - + mkdir -p ../conf
  629. 2020-05-16 19:43:57,386: DEBUG - + echo 'SOURCE_URL=https://github.com/tj/n/archive/v4.1.0.tar.gz
  630. 2020-05-16 19:43:57,387: DEBUG - SOURCE_SUM=3983fa3f00d4bf85ba8e21f1a590f6e28938093abe0bb950aeea52b1717471fc'
  631. 2020-05-16 19:43:57,387: DEBUG - + ynh_setup_source --dest_dir=/opt/node_n/git --source_id=n
  632. 2020-05-16 19:43:57,392: DEBUG - + local legacy_args=ds
  633. 2020-05-16 19:43:57,392: DEBUG - + args_array=([d]=dest_dir= [s]=source_id=)
  634. 2020-05-16 19:43:57,392: DEBUG - + declare -Ar args_array
  635. 2020-05-16 19:43:57,393: DEBUG - + local dest_dir
  636. 2020-05-16 19:43:57,393: DEBUG - + local source_id
  637. 2020-05-16 19:43:57,393: DEBUG - + ynh_handle_getopts_args --dest_dir=/opt/node_n/git --source_id=n
  638. 2020-05-16 19:43:57,393: DEBUG - + set +x
  639. 2020-05-16 19:43:57,393: DEBUG - + source_id=n
  640. 2020-05-16 19:43:57,394: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/mobilizon_ynh-6b77f268d4e7e2cd525e11e11f3ed5a5162d0bd2/scripts/../conf/n.src
  641. 2020-05-16 19:43:57,394: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/mobilizon_ynh-6b77f268d4e7e2cd525e11e11f3ed5a5162d0bd2/scripts/../conf/n.src ']'
  642. 2020-05-16 19:43:57,394: DEBUG - ++ cut -d= -f2-
  643. 2020-05-16 19:43:57,394: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/mobilizon_ynh-6b77f268d4e7e2cd525e11e11f3ed5a5162d0bd2/scripts/../conf/n.src
  644. 2020-05-16 19:43:57,395: DEBUG - + local src_url=https://github.com/tj/n/archive/v4.1.0.tar.gz
  645. 2020-05-16 19:43:57,395: DEBUG - ++ cut -d= -f2-
  646. 2020-05-16 19:43:57,395: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/mobilizon_ynh-6b77f268d4e7e2cd525e11e11f3ed5a5162d0bd2/scripts/../conf/n.src
  647. 2020-05-16 19:43:57,395: DEBUG - + local src_sum=3983fa3f00d4bf85ba8e21f1a590f6e28938093abe0bb950aeea52b1717471fc
  648. 2020-05-16 19:43:57,397: DEBUG - ++ cut -d= -f2-
  649. 2020-05-16 19:43:57,397: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/mobilizon_ynh-6b77f268d4e7e2cd525e11e11f3ed5a5162d0bd2/scripts/../conf/n.src
  650. 2020-05-16 19:43:57,397: DEBUG - + local src_sumprg=
  651. 2020-05-16 19:43:57,398: DEBUG - ++ cut -d= -f2-
  652. 2020-05-16 19:43:57,398: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/mobilizon_ynh-6b77f268d4e7e2cd525e11e11f3ed5a5162d0bd2/scripts/../conf/n.src
  653. 2020-05-16 19:43:57,398: DEBUG - + local src_format=
  654. 2020-05-16 19:43:57,399: DEBUG - ++ cut -d= -f2-
  655. 2020-05-16 19:43:57,499: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/mobilizon_ynh-6b77f268d4e7e2cd525e11e11f3ed5a5162d0bd2/scripts/../conf/n.src
  656. 2020-05-16 19:43:57,500: DEBUG - + local src_extract=
  657. 2020-05-16 19:43:57,500: DEBUG - ++ cut -d= -f2-
  658. 2020-05-16 19:43:57,501: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/mobilizon_ynh-6b77f268d4e7e2cd525e11e11f3ed5a5162d0bd2/scripts/../conf/n.src
  659. 2020-05-16 19:43:57,501: DEBUG - + local src_in_subdir=
  660. 2020-05-16 19:43:57,502: DEBUG - ++ cut -d= -f2-
  661. 2020-05-16 19:43:57,502: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/mobilizon_ynh-6b77f268d4e7e2cd525e11e11f3ed5a5162d0bd2/scripts/../conf/n.src
  662. 2020-05-16 19:43:57,502: DEBUG - + local src_filename=
  663. 2020-05-16 19:43:57,502: DEBUG - + src_sumprg=sha256sum
  664. 2020-05-16 19:43:57,503: DEBUG - + src_in_subdir=true
  665. 2020-05-16 19:43:57,503: DEBUG - + src_format=tar.gz
  666. 2020-05-16 19:43:57,503: DEBUG - ++ tr '[:upper:]' '[:lower:]'
  667. 2020-05-16 19:43:57,504: DEBUG - ++ echo tar.gz
  668. 2020-05-16 19:43:57,504: DEBUG - + src_format=tar.gz
  669. 2020-05-16 19:43:57,504: DEBUG - + src_extract=true
  670. 2020-05-16 19:43:57,504: DEBUG - + '[' '' = '' ']'
  671. 2020-05-16 19:43:57,504: DEBUG - + src_filename=n.tar.gz
  672. 2020-05-16 19:43:57,505: DEBUG - + local local_src=/opt/yunohost-apps-src/mobilizon/n.tar.gz
  673. 2020-05-16 19:43:57,505: DEBUG - + test -e /opt/yunohost-apps-src/mobilizon/n.tar.gz
  674. 2020-05-16 19:43:57,505: DEBUG - ++ wget -nv -O n.tar.gz https://github.com/tj/n/archive/v4.1.0.tar.gz
  675. 2020-05-16 19:43:58,710: DEBUG - + local 'out=2020-05-16 19:43:58 URL:https://codeload.github.com/tj/n/tar.gz/v4.1.0 [16332] -> "n.tar.gz" [1]'
  676. 2020-05-16 19:43:58,711: DEBUG - + sha256sum -c --status
  677. 2020-05-16 19:43:58,711: DEBUG - + echo '3983fa3f00d4bf85ba8e21f1a590f6e28938093abe0bb950aeea52b1717471fc n.tar.gz'
  678. 2020-05-16 19:43:58,711: DEBUG - + mkdir -p /opt/node_n/git
  679. 2020-05-16 19:43:58,712: DEBUG - + true
  680. 2020-05-16 19:43:58,712: DEBUG - + '[' tar.gz = zip ']'
  681. 2020-05-16 19:43:58,713: DEBUG - + local strip=
  682. 2020-05-16 19:43:58,713: DEBUG - + '[' true '!=' false ']'
  683. 2020-05-16 19:43:58,713: DEBUG - + '[' true == true ']'
  684. 2020-05-16 19:43:58,714: DEBUG - + local sub_dirs=1
  685. 2020-05-16 19:43:58,714: DEBUG - + strip='--strip-components 1'
  686. 2020-05-16 19:43:58,714: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
  687. 2020-05-16 19:43:58,715: DEBUG - + tar -xf n.tar.gz -C /opt/node_n/git --strip-components 1
  688. 2020-05-16 19:43:58,715: DEBUG - ++ wc -l
  689. 2020-05-16 19:43:58,715: DEBUG - ++ find /var/cache/yunohost/from_file/mobilizon_ynh-6b77f268d4e7e2cd525e11e11f3ed5a5162d0bd2/scripts/../sources/patches/ -type f -name 'n-*.patch'
  690. 2020-05-16 19:43:58,718: DEBUG - + (( 0 > 0 ))
  691. 2020-05-16 19:43:58,718: DEBUG - + test -e /var/cache/yunohost/from_file/mobilizon_ynh-6b77f268d4e7e2cd525e11e11f3ed5a5162d0bd2/scripts/../sources/extra_files/n
  692. 2020-05-16 19:43:58,718: DEBUG - + cd /opt/node_n/git
  693. 2020-05-16 19:43:58,719: DEBUG - + PREFIX=/opt/node_n
  694. 2020-05-16 19:43:58,719: DEBUG - + make install
  695. 2020-05-16 19:43:58,719: DEBUG - mkdir -p /opt/node_n/bin/
  696. 2020-05-16 19:43:58,721: DEBUG - cp bin/n /opt/node_n/bin/n
  697. 2020-05-16 19:43:58,721: DEBUG - + ynh_replace_string '--match_string=^N_PREFIX=${N_PREFIX-.*}$' '--replace_string=N_PREFIX=${N_PREFIX-/opt/node_n}' --target_file=/opt/node_n/bin/n
  698. 2020-05-16 19:43:58,722: DEBUG - + local legacy_args=mrf
  699. 2020-05-16 19:43:58,722: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
  700. 2020-05-16 19:43:58,723: DEBUG - + declare -Ar args_array
  701. 2020-05-16 19:43:58,723: DEBUG - + local match_string
  702. 2020-05-16 19:43:58,725: DEBUG - + local replace_string
  703. 2020-05-16 19:43:58,726: DEBUG - + local target_file
  704. 2020-05-16 19:43:58,726: DEBUG - + ynh_handle_getopts_args '--match_string=^N_PREFIX=${N_PREFIX-.*}$' '--replace_string=N_PREFIX=${N_PREFIX-/opt/node_n}' --target_file=/opt/node_n/bin/n
  705. 2020-05-16 19:43:58,726: DEBUG - + set +x
  706. 2020-05-16 19:43:58,827: DEBUG - + local delimit=@
  707. 2020-05-16 19:43:58,827: DEBUG - + match_string='^N_PREFIX=${N_PREFIX-.*}$'
  708. 2020-05-16 19:43:58,828: DEBUG - + replace_string='N_PREFIX=${N_PREFIX-/opt/node_n}'
  709. 2020-05-16 19:43:58,828: DEBUG - + sed --in-place 's@^N_PREFIX=${N_PREFIX-.*}$@N_PREFIX=${N_PREFIX-/opt/node_n}@g' /opt/node_n/bin/n
  710. 2020-05-16 19:43:58,829: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  711. 2020-05-16 19:43:58,829: DEBUG - + test -x /usr/bin/node_n
  712. 2020-05-16 19:43:58,829: DEBUG - + test -x /usr/bin/npm_n
  713. 2020-05-16 19:43:58,829: DEBUG - ++ uname -m
  714. 2020-05-16 19:43:58,830: DEBUG - + uname=x86_64
  715. 2020-05-16 19:43:58,830: DEBUG - + [[ x86_64 =~ aarch64 ]]
  716. 2020-05-16 19:43:58,830: DEBUG - + [[ x86_64 =~ arm64 ]]
  717. 2020-05-16 19:43:58,831: DEBUG - + n 10
  718. 2020-05-16 19:43:59,433: DEBUG -
  719. 2020-05-16 19:43:59,434: DEBUG -  install : node-v10.20.1
  720. 2020-05-16 19:43:59,635: DEBUG -  mkdir : /opt/node_n/n/versions/node/10.20.1
  721. 2020-05-16 19:43:59,635: DEBUG -  fetch : https://nodejs.org/dist/v10.20.1/node-v10.20.1-linux-x64.tar.gz
  722. 2020-05-16 19:44:01,642: WARNING -
  723. 1.1%
  724. #### 5.6%
  725. ########## 14.2%
  726. ############# 19.4%
  727. ################# 24.6%
  728. ##################### 29.8%
  729. ############################ 40.2%
  730. #################################### 50.5%
  731. ########################################### 60.9%
  732. ################################################### 71.3%
  733. ########################################################## 81.6%
  734. ################################################################## 91.9%
  735. ######################################################################## 100.0%
  736. 2020-05-16 19:44:01,943: DEBUG -  installed : v10.20.1
  737. 2020-05-16 19:44:01,944: DEBUG -
  738. 2020-05-16 19:44:01,944: DEBUG - ++ sort --version-sort
  739. 2020-05-16 19:44:01,945: DEBUG - ++ tail --lines=1
  740. 2020-05-16 19:44:01,945: DEBUG - ++ find /opt/node_n/n/versions/node/10.20.1 -maxdepth 0
  741. 2020-05-16 19:44:01,945: DEBUG - + real_nodejs_version=/opt/node_n/n/versions/node/10.20.1
  742. 2020-05-16 19:44:01,946: DEBUG - ++ basename /opt/node_n/n/versions/node/10.20.1
  743. 2020-05-16 19:44:01,946: DEBUG - + real_nodejs_version=10.20.1
  744. 2020-05-16 19:44:01,946: DEBUG - + '[' '!' -e /opt/node_n/n/versions/node/10 ']'
  745. 2020-05-16 19:44:01,947: DEBUG - + ln --symbolic --force --no-target-directory /opt/node_n/n/versions/node/10.20.1 /opt/node_n/n/versions/node/10
  746. 2020-05-16 19:44:01,951: DEBUG - + tee --append /opt/node_n/ynh_app_version
  747. 2020-05-16 19:44:01,952: DEBUG - + echo mobilizon:10
  748. 2020-05-16 19:44:01,952: DEBUG - mobilizon:10
  749. 2020-05-16 19:44:01,952: DEBUG - + ynh_app_setting_set --app=mobilizon --key=nodejs_version --value=10
  750. 2020-05-16 19:44:01,952: DEBUG - + local legacy_args=akv
  751. 2020-05-16 19:44:01,952: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
  752. 2020-05-16 19:44:01,953: DEBUG - + declare -Ar args_array
  753. 2020-05-16 19:44:01,953: DEBUG - + local app
  754. 2020-05-16 19:44:01,953: DEBUG - + local key
  755. 2020-05-16 19:44:01,953: DEBUG - + local value
  756. 2020-05-16 19:44:01,953: DEBUG - + ynh_handle_getopts_args --app=mobilizon --key=nodejs_version --value=10
  757. 2020-05-16 19:44:01,954: DEBUG - + set +x
  758. 2020-05-16 19:44:01,954: DEBUG - + ynh_app_setting set mobilizon nodejs_version 10
  759. 2020-05-16 19:44:01,954: DEBUG - + [[ set == \d\e\l\e\t\e ]]
  760. 2020-05-16 19:44:01,954: DEBUG - + ACTION=set
  761. 2020-05-16 19:44:01,954: DEBUG - + APP=mobilizon
  762. 2020-05-16 19:44:01,955: DEBUG - + KEY=nodejs_version
  763. 2020-05-16 19:44:01,955: DEBUG - + VALUE=10
  764. 2020-05-16 19:44:01,955: DEBUG - + python2.7 -
  765. 2020-05-16 19:44:02,160: DEBUG - + [[ nodejs_version =~ ^(unprotected|skipped)_ ]]
  766. 2020-05-16 19:44:02,160: DEBUG - + ynh_cron_upgrade_node
  767. 2020-05-16 19:44:02,161: DEBUG - + cat
  768. 2020-05-16 19:44:02,161: DEBUG - + chmod +x /opt/node_n/node_update.sh
  769. 2020-05-16 19:44:02,161: DEBUG - + cat
  770. 2020-05-16 19:44:02,162: DEBUG - + chmod +x /etc/cron.daily/node_update
  771. 2020-05-16 19:44:02,162: DEBUG - + ynh_use_nodejs
  772. 2020-05-16 19:44:02,162: DEBUG - ++ ynh_app_setting_get --app=mobilizon --key=nodejs_version
  773. 2020-05-16 19:44:02,162: DEBUG - ++ local legacy_args=ak
  774. 2020-05-16 19:44:02,163: DEBUG - ++ args_array=([a]=app= [k]=key=)
  775. 2020-05-16 19:44:02,163: DEBUG - ++ declare -Ar args_array
  776. 2020-05-16 19:44:02,167: DEBUG - ++ local app
  777. 2020-05-16 19:44:02,168: DEBUG - ++ local key
  778. 2020-05-16 19:44:02,168: DEBUG - ++ ynh_handle_getopts_args --app=mobilizon --key=nodejs_version
  779. 2020-05-16 19:44:02,169: DEBUG - ++ set +x
  780. 2020-05-16 19:44:02,169: DEBUG - ++ ynh_app_setting get mobilizon nodejs_version
  781. 2020-05-16 19:44:02,169: DEBUG - ++ [[ get == \d\e\l\e\t\e ]]
  782. 2020-05-16 19:44:02,169: DEBUG - ++ ACTION=get
  783. 2020-05-16 19:44:02,170: DEBUG - ++ APP=mobilizon
  784. 2020-05-16 19:44:02,170: DEBUG - ++ KEY=nodejs_version
  785. 2020-05-16 19:44:02,170: DEBUG - ++ VALUE=
  786. 2020-05-16 19:44:02,170: DEBUG - ++ python2.7 -
  787. 2020-05-16 19:44:02,272: DEBUG - ++ [[ nodejs_version =~ ^(unprotected|skipped)_ ]]
  788. 2020-05-16 19:44:02,272: DEBUG - + nodejs_version=10
  789. 2020-05-16 19:44:02,272: DEBUG - + nodejs_use_version='echo "Deprecated command, should be removed"'
  790. 2020-05-16 19:44:02,273: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/10/bin
  791. 2020-05-16 19:44:02,273: DEBUG - + [[ :/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin: == *\:\/\o\p\t\/\n\o\d\e\_\n\/\n\/\v\e\r\s\i\o\n\s\/\n\o\d\e\/\1\0\/\b\i\n* ]]
  792. 2020-05-16 19:44:02,274: DEBUG - + PATH=/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  793. 2020-05-16 19:44:02,274: DEBUG - + ynh_install_extra_app_dependencies '--repo=deb https://dl.yarnpkg.com/debian/ stable main' --package=yarn --key=https://dl.yarnpkg.com/debian/pubkey.gpg
  794. 2020-05-16 19:44:02,274: DEBUG - + local legacy_args=rpkn
  795. 2020-05-16 19:44:02,275: DEBUG - + args_array=([r]=repo= [p]=package= [k]=key= [n]=name=)
  796. 2020-05-16 19:44:02,275: DEBUG - + declare -Ar args_array
  797. 2020-05-16 19:44:02,275: DEBUG - + local repo
  798. 2020-05-16 19:44:02,276: DEBUG - + local package
  799. 2020-05-16 19:44:02,276: DEBUG - + local key
  800. 2020-05-16 19:44:02,276: DEBUG - + local name
  801. 2020-05-16 19:44:02,277: DEBUG - + ynh_handle_getopts_args '--repo=deb https://dl.yarnpkg.com/debian/ stable main' --package=yarn --key=https://dl.yarnpkg.com/debian/pubkey.gpg
  802. 2020-05-16 19:44:02,277: DEBUG - + set +x
  803. 2020-05-16 19:44:02,278: DEBUG - + name=mobilizon
  804. 2020-05-16 19:44:02,278: DEBUG - + key=https://dl.yarnpkg.com/debian/pubkey.gpg
  805. 2020-05-16 19:44:02,278: DEBUG - + '[' -n https://dl.yarnpkg.com/debian/pubkey.gpg ']'
  806. 2020-05-16 19:44:02,279: DEBUG - + key=--key=https://dl.yarnpkg.com/debian/pubkey.gpg
  807. 2020-05-16 19:44:02,279: DEBUG - + ynh_install_extra_repo '--repo=deb https://dl.yarnpkg.com/debian/ stable main' --key=https://dl.yarnpkg.com/debian/pubkey.gpg --priority=995 --name=mobilizon
  808. 2020-05-16 19:44:02,283: DEBUG - + local legacy_args=rkpna
  809. 2020-05-16 19:44:02,283: DEBUG - + args_array=([r]=repo= [k]=key= [p]=priority= [n]=name= [a]=append)
  810. 2020-05-16 19:44:02,283: DEBUG - + declare -Ar args_array
  811. 2020-05-16 19:44:02,284: DEBUG - + local repo
  812. 2020-05-16 19:44:02,284: DEBUG - + local key
  813. 2020-05-16 19:44:02,285: DEBUG - + local priority
  814. 2020-05-16 19:44:02,285: DEBUG - + local name
  815. 2020-05-16 19:44:02,285: DEBUG - + local append
  816. 2020-05-16 19:44:02,286: DEBUG - + ynh_handle_getopts_args '--repo=deb https://dl.yarnpkg.com/debian/ stable main' --key=https://dl.yarnpkg.com/debian/pubkey.gpg --priority=995 --name=mobilizon
  817. 2020-05-16 19:44:02,286: DEBUG - + set +x
  818. 2020-05-16 19:44:02,286: DEBUG - + name=mobilizon
  819. 2020-05-16 19:44:02,287: DEBUG - + append=0
  820. 2020-05-16 19:44:02,287: DEBUG - + key=https://dl.yarnpkg.com/debian/pubkey.gpg
  821. 2020-05-16 19:44:02,290: DEBUG - + priority=995
  822. 2020-05-16 19:44:02,291: DEBUG - + '[' 0 -eq 1 ']'
  823. 2020-05-16 19:44:02,291: DEBUG - + append=
  824. 2020-05-16 19:44:02,292: DEBUG - + wget_append=tee
  825. 2020-05-16 19:44:02,292: DEBUG - + repo='https://dl.yarnpkg.com/debian/ stable main'
  826. 2020-05-16 19:44:02,292: DEBUG - ++ awk '{ print $1 }'
  827. 2020-05-16 19:44:02,293: DEBUG - ++ echo 'https://dl.yarnpkg.com/debian/ stable main'
  828. 2020-05-16 19:44:02,293: DEBUG - + local uri=https://dl.yarnpkg.com/debian/
  829. 2020-05-16 19:44:02,294: DEBUG - ++ awk '{ print $2 }'
  830. 2020-05-16 19:44:02,294: DEBUG - ++ echo 'https://dl.yarnpkg.com/debian/ stable main'
  831. 2020-05-16 19:44:02,294: DEBUG - + local suite=stable
  832. 2020-05-16 19:44:02,295: DEBUG - + local component=main
  833. 2020-05-16 19:44:02,295: DEBUG - + ynh_add_repo --uri=https://dl.yarnpkg.com/debian/ --suite=stable --component=main --name=mobilizon
  834. 2020-05-16 19:44:02,298: DEBUG - + local legacy_args=uscna
  835. 2020-05-16 19:44:02,299: DEBUG - + args_array=([u]=uri= [s]=suite= [c]=component= [n]=name= [a]=append)
  836. 2020-05-16 19:44:02,299: DEBUG - + declare -Ar args_array
  837. 2020-05-16 19:44:02,299: DEBUG - + local uri
  838. 2020-05-16 19:44:02,300: DEBUG - + local suite
  839. 2020-05-16 19:44:02,300: DEBUG - + local component
  840. 2020-05-16 19:44:02,300: DEBUG - + local name
  841. 2020-05-16 19:44:02,301: DEBUG - + local append
  842. 2020-05-16 19:44:02,301: DEBUG - + ynh_handle_getopts_args --uri=https://dl.yarnpkg.com/debian/ --suite=stable --component=main --name=mobilizon
  843. 2020-05-16 19:44:02,301: DEBUG - + set +x
  844. 2020-05-16 19:44:02,402: DEBUG - + name=mobilizon
  845. 2020-05-16 19:44:02,403: DEBUG - + append=0
  846. 2020-05-16 19:44:02,403: DEBUG - + '[' 0 -eq 1 ']'
  847. 2020-05-16 19:44:02,404: DEBUG - + append=tee
  848. 2020-05-16 19:44:02,404: DEBUG - + mkdir -p /etc/apt/sources.list.d
  849. 2020-05-16 19:44:02,405: DEBUG - + tee /etc/apt/sources.list.d/mobilizon.list
  850. 2020-05-16 19:44:02,405: DEBUG - + echo 'deb https://dl.yarnpkg.com/debian/ stable main'
  851. 2020-05-16 19:44:02,405: DEBUG - deb https://dl.yarnpkg.com/debian/ stable main
  852. 2020-05-16 19:44:02,406: DEBUG - + local pin=dl.yarnpkg.com/debian/
  853. 2020-05-16 19:44:02,406: DEBUG - + pin=dl.yarnpkg.com
  854. 2020-05-16 19:44:02,406: DEBUG - + '[' -n 995 ']'
  855. 2020-05-16 19:44:02,406: DEBUG - + priority=--priority=995
  856. 2020-05-16 19:44:02,407: DEBUG - + ynh_pin_repo '--package=*' '--pin=origin "dl.yarnpkg.com"' --priority=995 --name=mobilizon
  857. 2020-05-16 19:44:02,407: DEBUG - + local legacy_args=pirna
  858. 2020-05-16 19:44:02,407: DEBUG - + args_array=([p]=package= [i]=pin= [r]=priority= [n]=name= [a]=append)
  859. 2020-05-16 19:44:02,408: DEBUG - + declare -Ar args_array
  860. 2020-05-16 19:44:02,408: DEBUG - + local package
  861. 2020-05-16 19:44:02,408: DEBUG - + local pin
  862. 2020-05-16 19:44:02,408: DEBUG - + local priority
  863. 2020-05-16 19:44:02,409: DEBUG - + local name
  864. 2020-05-16 19:44:02,409: DEBUG - + local append
  865. 2020-05-16 19:44:02,410: DEBUG - + ynh_handle_getopts_args '--package=*' '--pin=origin "dl.yarnpkg.com"' --priority=995 --name=mobilizon
  866. 2020-05-16 19:44:02,410: DEBUG - + set +x
  867. 2020-05-16 19:44:02,410: DEBUG - + package='*'
  868. 2020-05-16 19:44:02,411: DEBUG - + priority=995
  869. 2020-05-16 19:44:02,411: DEBUG - + name=mobilizon
  870. 2020-05-16 19:44:02,412: DEBUG - + append=0
  871. 2020-05-16 19:44:02,412: DEBUG - + '[' 0 -eq 1 ']'
  872. 2020-05-16 19:44:02,412: DEBUG - + append=tee
  873. 2020-05-16 19:44:02,413: DEBUG - + mkdir -p /etc/apt/preferences.d
  874. 2020-05-16 19:44:02,413: DEBUG - + tee /etc/apt/preferences.d/mobilizon
  875. 2020-05-16 19:44:02,413: DEBUG - + echo 'Package: *
  876. 2020-05-16 19:44:02,414: DEBUG - Pin: origin "dl.yarnpkg.com"
  877. 2020-05-16 19:44:02,414: DEBUG - Pin-Priority: 995'
  878. 2020-05-16 19:44:02,414: DEBUG - Package: *
  879. 2020-05-16 19:44:02,414: DEBUG - Pin: origin "dl.yarnpkg.com"
  880. 2020-05-16 19:44:02,414: DEBUG - Pin-Priority: 995
  881. 2020-05-16 19:44:02,415: DEBUG - + '[' -n https://dl.yarnpkg.com/debian/pubkey.gpg ']'
  882. 2020-05-16 19:44:02,415: DEBUG - + mkdir -p /etc/apt/trusted.gpg.d
  883. 2020-05-16 19:44:02,415: DEBUG - + tee /etc/apt/trusted.gpg.d/mobilizon.gpg
  884. 2020-05-16 19:44:02,416: DEBUG - + gpg --dearmor
  885. 2020-05-16 19:44:02,416: DEBUG - + wget -q https://dl.yarnpkg.com/debian/pubkey.gpg -O -
  886. 2020-05-16 19:44:02,818: DEBUG - + ynh_package_update
  887. 2020-05-16 19:44:02,818: DEBUG - + ynh_apt update
  888. 2020-05-16 19:44:02,819: DEBUG - + ynh_wait_dpkg_free
  889. 2020-05-16 19:44:02,819: DEBUG - + local try
  890. 2020-05-16 19:44:02,819: DEBUG - ++ seq 1 17
  891. 2020-05-16 19:44:02,820: DEBUG - + for try in `seq 1 17`
  892. 2020-05-16 19:44:02,820: DEBUG - + lsof /var/lib/dpkg/lock
  893. 2020-05-16 19:44:03,021: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
  894. 2020-05-16 19:44:03,022: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
  895. 2020-05-16 19:44:03,022: DEBUG - + read dpkg_file
  896. 2020-05-16 19:44:03,022: DEBUG - + grep -Pq '^[[:digit:]]+$'
  897. 2020-05-16 19:44:03,023: DEBUG - + echo ''
  898. 2020-05-16 19:44:03,023: DEBUG - + read dpkg_file
  899. 2020-05-16 19:44:03,024: DEBUG - + return 0
  900. 2020-05-16 19:44:03,024: DEBUG - + LC_ALL=C
  901. 2020-05-16 19:44:03,024: DEBUG - + DEBIAN_FRONTEND=noninteractive
  902. 2020-05-16 19:44:03,025: DEBUG - + apt-get -y update
  903. 2020-05-16 19:44:03,326: DEBUG - Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
  904. 2020-05-16 19:44:03,326: DEBUG - Hit:2 http://forge.yunohost.org/debian stretch InRelease
  905. 2020-05-16 19:44:03,427: DEBUG - Get:3 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
  906. 2020-05-16 19:44:03,728: DEBUG - Get:4 https://dl.yarnpkg.com/debian stable/main amd64 Packages [9953 B]
  907. 2020-05-16 19:44:03,830: DEBUG - Get:5 https://dl.yarnpkg.com/debian stable/main all Packages [9953 B]
  908. 2020-05-16 19:44:04,132: DEBUG - Ign:6 http://ftp.tr.debian.org/debian stretch InRelease
  909. 2020-05-16 19:44:04,234: DEBUG - Hit:7 http://ftp.tr.debian.org/debian stretch-updates InRelease
  910. 2020-05-16 19:44:04,235: DEBUG - Hit:8 http://ftp.tr.debian.org/debian stretch Release
  911. 2020-05-16 19:44:04,637: DEBUG - Fetched 37.0 kB in 1s (24.4 kB/s)
  912. 2020-05-16 19:44:05,740: DEBUG - Reading package lists...
  913. 2020-05-16 19:44:05,841: DEBUG - + ynh_add_app_dependencies --package=yarn
  914. 2020-05-16 19:44:05,841: DEBUG - + local legacy_args=pr
  915. 2020-05-16 19:44:05,841: DEBUG - + args_array=([p]=package= [r]=replace)
  916. 2020-05-16 19:44:05,842: DEBUG - + declare -Ar args_array
  917. 2020-05-16 19:44:05,842: DEBUG - + local package
  918. 2020-05-16 19:44:05,842: DEBUG - + local replace
  919. 2020-05-16 19:44:05,842: DEBUG - + ynh_handle_getopts_args --package=yarn
  920. 2020-05-16 19:44:05,842: DEBUG - + set +x
  921. 2020-05-16 19:44:05,843: DEBUG - + replace=0
  922. 2020-05-16 19:44:05,843: DEBUG - + local current_dependencies=
  923. 2020-05-16 19:44:05,843: DEBUG - + '[' 0 -eq 0 ']'
  924. 2020-05-16 19:44:05,843: DEBUG - + local dep_app=mobilizon
  925. 2020-05-16 19:44:05,843: DEBUG - + ynh_package_is_installed --package=mobilizon-ynh-deps
  926. 2020-05-16 19:44:05,844: DEBUG - + local legacy_args=p
  927. 2020-05-16 19:44:05,844: DEBUG - + args_array=([p]=package=)
  928. 2020-05-16 19:44:05,844: DEBUG - + declare -Ar args_array
  929. 2020-05-16 19:44:05,844: DEBUG - + local package
  930. 2020-05-16 19:44:05,844: DEBUG - + ynh_handle_getopts_args --package=mobilizon-ynh-deps
  931. 2020-05-16 19:44:05,845: DEBUG - + set +x
  932. 2020-05-16 19:44:05,845: DEBUG - + ynh_wait_dpkg_free
  933. 2020-05-16 19:44:05,845: DEBUG - + local try
  934. 2020-05-16 19:44:05,845: DEBUG - ++ seq 1 17
  935. 2020-05-16 19:44:05,845: DEBUG - + for try in `seq 1 17`
  936. 2020-05-16 19:44:05,846: DEBUG - + lsof /var/lib/dpkg/lock
  937. 2020-05-16 19:44:05,946: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
  938. 2020-05-16 19:44:05,946: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
  939. 2020-05-16 19:44:05,947: DEBUG - + read dpkg_file
  940. 2020-05-16 19:44:05,947: DEBUG - + grep -Pq '^[[:digit:]]+$'
  941. 2020-05-16 19:44:05,947: DEBUG - + echo ''
  942. 2020-05-16 19:44:05,947: DEBUG - + read dpkg_file
  943. 2020-05-16 19:44:05,948: DEBUG - + return 0
  944. 2020-05-16 19:44:05,948: DEBUG - + grep -c 'ok installed'
  945. 2020-05-16 19:44:05,948: DEBUG - + dpkg-query -W -f '${Status}' mobilizon-ynh-deps
  946. 2020-05-16 19:44:05,948: DEBUG - ++ dpkg-query --show '--showformat=${Depends}' mobilizon-ynh-deps
  947. 2020-05-16 19:44:05,948: DEBUG - + current_dependencies='build-essential, inotify-tools, postgresql, postgresql-client, postgresql-contrib, git, curl, gnupg, openssl, postgis, make, gcc, libc-dev, argon2, imagemagick '
  948. 2020-05-16 19:44:05,949: DEBUG - + current_dependencies='build-essential, inotify-tools, postgresql, postgresql-client, postgresql-contrib, git, curl, gnupg, openssl, postgis, make, gcc, libc-dev, argon2, imagemagick '
  949. 2020-05-16 19:44:05,949: DEBUG - + ynh_install_app_dependencies 'build-essential, inotify-tools, postgresql, postgresql-client, postgresql-contrib, git, curl, gnupg, openssl, postgis, make, gcc, libc-dev, argon2, imagemagick yarn'
  950. 2020-05-16 19:44:05,949: DEBUG - + local 'dependencies=build-essential, inotify-tools, postgresql, postgresql-client, postgresql-contrib, git, curl, gnupg, openssl, postgis, make, gcc, libc-dev, argon2, imagemagick yarn'
  951. 2020-05-16 19:44:05,949: DEBUG - + local 'dependencies=build-essential,, inotify-tools,, postgresql,, postgresql-client,, postgresql-contrib,, git,, curl,, gnupg,, openssl,, postgis,, make,, gcc,, libc-dev,, argon2,, imagemagick, yarn'
  952. 2020-05-16 19:44:05,950: DEBUG - + local 'dependencies=build-essential,, inotify-tools,, postgresql,, postgresql-client,, postgresql-contrib,, git,, curl,, gnupg,, openssl,, postgis,, make,, gcc,, libc-dev,, argon2,, imagemagick, yarn'
  953. 2020-05-16 19:44:05,950: DEBUG - + local manifest_path=../manifest.json
  954. 2020-05-16 19:44:05,950: DEBUG - + '[' '!' -e ../manifest.json ']'
  955. 2020-05-16 19:44:05,950: DEBUG - ++ cut -d '"' -f 4
  956. 2020-05-16 19:44:05,950: DEBUG - ++ grep '\"version\": ' ../manifest.json
  957. 2020-05-16 19:44:05,951: DEBUG - + local version=0.1.0-2019-12-28~ynh1
  958. 2020-05-16 19:44:05,951: DEBUG - + '[' 21 -eq 0 ']'
  959. 2020-05-16 19:44:05,951: DEBUG - + local dep_app=mobilizon
  960. 2020-05-16 19:44:05,951: DEBUG - + grep -q php
  961. 2020-05-16 19:44:05,953: DEBUG - + echo build-essential,, inotify-tools,, postgresql,, postgresql-client,, postgresql-contrib,, git,, curl,, gnupg,, openssl,, postgis,, make,, gcc,, libc-dev,, argon2,, imagemagick, yarn
  962. 2020-05-16 19:44:05,953: DEBUG - + cat
  963. 2020-05-16 19:44:05,953: DEBUG - + ynh_package_install_from_equivs /tmp/mobilizon-ynh-deps.control
  964. 2020-05-16 19:44:05,954: DEBUG - + local controlfile=/tmp/mobilizon-ynh-deps.control
  965. 2020-05-16 19:44:05,954: DEBUG - ++ cut '-d ' -f 2
  966. 2020-05-16 19:44:05,954: DEBUG - ++ grep '^Package: ' /tmp/mobilizon-ynh-deps.control
  967. 2020-05-16 19:44:05,954: DEBUG - + local pkgname=mobilizon-ynh-deps
  968. 2020-05-16 19:44:05,954: DEBUG - ++ cut '-d ' -f 2
  969. 2020-05-16 19:44:05,955: DEBUG - ++ grep '^Version: ' /tmp/mobilizon-ynh-deps.control
  970. 2020-05-16 19:44:05,955: DEBUG - + local pkgversion=0.1.0-2019-12-28~ynh1
  971. 2020-05-16 19:44:05,955: DEBUG - + [[ -z mobilizon-ynh-deps ]]
  972. 2020-05-16 19:44:05,957: DEBUG - + [[ -z 0.1.0-2019-12-28~ynh1 ]]
  973. 2020-05-16 19:44:05,957: DEBUG - + ynh_package_update
  974. 2020-05-16 19:44:05,957: DEBUG - + ynh_apt update
  975. 2020-05-16 19:44:05,958: DEBUG - + ynh_wait_dpkg_free
  976. 2020-05-16 19:44:05,958: DEBUG - + local try
  977. 2020-05-16 19:44:05,958: DEBUG - ++ seq 1 17
  978. 2020-05-16 19:44:06,059: DEBUG - + for try in `seq 1 17`
  979. 2020-05-16 19:44:06,059: DEBUG - + lsof /var/lib/dpkg/lock
  980. 2020-05-16 19:44:06,059: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
  981. 2020-05-16 19:44:06,060: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
  982. 2020-05-16 19:44:06,060: DEBUG - + read dpkg_file
  983. 2020-05-16 19:44:06,060: DEBUG - + grep -Pq '^[[:digit:]]+$'
  984. 2020-05-16 19:44:06,060: DEBUG - + echo ''
  985. 2020-05-16 19:44:06,061: DEBUG - + read dpkg_file
  986. 2020-05-16 19:44:06,061: DEBUG - + return 0
  987. 2020-05-16 19:44:06,061: DEBUG - + LC_ALL=C
  988. 2020-05-16 19:44:06,061: DEBUG - + DEBIAN_FRONTEND=noninteractive
  989. 2020-05-16 19:44:06,061: DEBUG - + apt-get -y update
  990. 2020-05-16 19:44:06,262: DEBUG - Ign:1 http://ftp.tr.debian.org/debian stretch InRelease
  991. 2020-05-16 19:44:06,363: DEBUG - Hit:2 http://ftp.tr.debian.org/debian stretch-updates InRelease
  992. 2020-05-16 19:44:06,363: DEBUG - Hit:3 http://security.debian.org/debian-security stretch/updates InRelease
  993. 2020-05-16 19:44:06,364: DEBUG - Hit:4 http://ftp.tr.debian.org/debian stretch Release
  994. 2020-05-16 19:44:06,364: DEBUG - Hit:5 http://forge.yunohost.org/debian stretch InRelease
  995. 2020-05-16 19:44:06,565: DEBUG - Hit:6 https://dl.yarnpkg.com/debian stable InRelease
  996. 2020-05-16 19:44:08,370: DEBUG - Reading package lists...
  997. 2020-05-16 19:44:08,370: DEBUG - ++ mktemp -d
  998. 2020-05-16 19:44:08,370: DEBUG - + local TMPDIR=/tmp/tmp.LGUlT3hlcV
  999. 2020-05-16 19:44:08,370: DEBUG - + echo 10
  1000. 2020-05-16 19:44:08,371: DEBUG - + ynh_wait_dpkg_free
  1001. 2020-05-16 19:44:08,371: DEBUG - + local try
  1002. 2020-05-16 19:44:08,371: DEBUG - ++ seq 1 17
  1003. 2020-05-16 19:44:08,371: DEBUG - + for try in `seq 1 17`
  1004. 2020-05-16 19:44:08,371: DEBUG - + lsof /var/lib/dpkg/lock
  1005. 2020-05-16 19:44:08,472: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
  1006. 2020-05-16 19:44:08,472: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
  1007. 2020-05-16 19:44:08,473: DEBUG - + read dpkg_file
  1008. 2020-05-16 19:44:08,473: DEBUG - + grep -Pq '^[[:digit:]]+$'
  1009. 2020-05-16 19:44:08,473: DEBUG - + echo ''
  1010. 2020-05-16 19:44:08,473: DEBUG - + read dpkg_file
  1011. 2020-05-16 19:44:08,473: DEBUG - + return 0
  1012. 2020-05-16 19:44:08,474: DEBUG - + cp /tmp/mobilizon-ynh-deps.control /tmp/tmp.LGUlT3hlcV/control
  1013. 2020-05-16 19:44:08,474: DEBUG - + cd /tmp/tmp.LGUlT3hlcV
  1014. 2020-05-16 19:44:08,474: DEBUG - + LC_ALL=C
  1015. 2020-05-16 19:44:08,474: DEBUG - + equivs-build ./control
  1016. 2020-05-16 19:44:09,377: DEBUG - + dpkg --force-depends -i ./mobilizon-ynh-deps_0.1.0-2019-12-28~ynh1_all.deb
  1017. 2020-05-16 19:44:09,477: DEBUG - (Reading database ... 55518 files and directories currently installed.)
  1018. 2020-05-16 19:44:09,478: DEBUG - Preparing to unpack .../mobilizon-ynh-deps_0.1.0-2019-12-28~ynh1_all.deb ...
  1019. 2020-05-16 19:44:09,478: DEBUG - Unpacking mobilizon-ynh-deps (0.1.0-2019-12-28~ynh1) over (0.1.0-2019-12-28~ynh1) ...
  1020. 2020-05-16 19:44:09,479: DEBUG - Setting up mobilizon-ynh-deps (0.1.0-2019-12-28~ynh1) ...
  1021. 2020-05-16 19:44:09,579: DEBUG - + ynh_package_install -f
  1022. 2020-05-16 19:44:09,580: DEBUG - + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
  1023. 2020-05-16 19:44:09,580: DEBUG - + ynh_wait_dpkg_free
  1024. 2020-05-16 19:44:09,580: DEBUG - + local try
  1025. 2020-05-16 19:44:09,581: DEBUG - ++ seq 1 17
  1026. 2020-05-16 19:44:09,581: DEBUG - + for try in `seq 1 17`
  1027. 2020-05-16 19:44:09,581: DEBUG - + lsof /var/lib/dpkg/lock
  1028. 2020-05-16 19:44:09,682: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
  1029. 2020-05-16 19:44:09,682: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
  1030. 2020-05-16 19:44:09,682: DEBUG - + read dpkg_file
  1031. 2020-05-16 19:44:09,683: DEBUG - + grep -Pq '^[[:digit:]]+$'
  1032. 2020-05-16 19:44:09,683: DEBUG - + echo ''
  1033. 2020-05-16 19:44:09,683: DEBUG - + read dpkg_file
  1034. 2020-05-16 19:44:09,684: DEBUG - + return 0
  1035. 2020-05-16 19:44:09,684: DEBUG - + LC_ALL=C
  1036. 2020-05-16 19:44:09,684: DEBUG - + DEBIAN_FRONTEND=noninteractive
  1037. 2020-05-16 19:44:09,684: DEBUG - + apt-get -y --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
  1038. 2020-05-16 19:44:09,885: DEBUG - Reading package lists...
  1039. 2020-05-16 19:44:10,186: DEBUG - Building dependency tree...
  1040. 2020-05-16 19:44:10,187: DEBUG - Reading state information...
  1041. 2020-05-16 19:44:10,488: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  1042. 2020-05-16 19:44:10,488: DEBUG - + [[ -n /tmp/tmp.LGUlT3hlcV ]]
  1043. 2020-05-16 19:44:10,489: DEBUG - + rm -rf /tmp/tmp.LGUlT3hlcV
  1044. 2020-05-16 19:44:10,489: DEBUG - + ynh_package_is_installed mobilizon-ynh-deps
  1045. 2020-05-16 19:44:10,489: DEBUG - + local legacy_args=p
  1046. 2020-05-16 19:44:10,489: DEBUG - + args_array=([p]=package=)
  1047. 2020-05-16 19:44:10,489: DEBUG - + declare -Ar args_array
  1048. 2020-05-16 19:44:10,490: DEBUG - + local package
  1049. 2020-05-16 19:44:10,490: DEBUG - + ynh_handle_getopts_args mobilizon-ynh-deps
  1050. 2020-05-16 19:44:10,490: DEBUG - + set +x
  1051. 2020-05-16 19:44:10,491: DEBUG - + echo '! Helper used in legacy mode !'
  1052. 2020-05-16 19:44:10,491: DEBUG - + set +x
  1053. 2020-05-16 19:44:10,496: DEBUG - + ynh_wait_dpkg_free
  1054. 2020-05-16 19:44:10,496: DEBUG - + local try
  1055. 2020-05-16 19:44:10,496: DEBUG - ++ seq 1 17
  1056. 2020-05-16 19:44:10,497: DEBUG - + for try in `seq 1 17`
  1057. 2020-05-16 19:44:10,497: DEBUG - + lsof /var/lib/dpkg/lock
  1058. 2020-05-16 19:44:10,598: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
  1059. 2020-05-16 19:44:10,598: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
  1060. 2020-05-16 19:44:10,599: DEBUG - + read dpkg_file
  1061. 2020-05-16 19:44:10,599: DEBUG - + grep -Pq '^[[:digit:]]+$'
  1062. 2020-05-16 19:44:10,599: DEBUG - + echo ''
  1063. 2020-05-16 19:44:10,600: DEBUG - + read dpkg_file
  1064. 2020-05-16 19:44:10,600: DEBUG - + return 0
  1065. 2020-05-16 19:44:10,600: DEBUG - + grep -c 'ok installed'
  1066. 2020-05-16 19:44:10,601: DEBUG - + dpkg-query -W -f '${Status}' mobilizon-ynh-deps
  1067. 2020-05-16 19:44:10,601: DEBUG - + rm /tmp/mobilizon-ynh-deps.control
  1068. 2020-05-16 19:44:10,601: DEBUG - + ynh_app_setting_set --app=mobilizon --key=apt_dependencies '--value=build-essential,, inotify-tools,, postgresql,, postgresql-client,, postgresql-contrib,, git,, curl,, gnupg,, openssl,, postgis,, make,, gcc,, libc-dev,, argon2,, imagemagick, yarn'
  1069. 2020-05-16 19:44:10,602: DEBUG - + local legacy_args=akv
  1070. 2020-05-16 19:44:10,602: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
  1071. 2020-05-16 19:44:10,602: DEBUG - + declare -Ar args_array
  1072. 2020-05-16 19:44:10,607: DEBUG - + local app
  1073. 2020-05-16 19:44:10,608: DEBUG - + local key
  1074. 2020-05-16 19:44:10,608: DEBUG - + local value
  1075. 2020-05-16 19:44:10,608: DEBUG - + ynh_handle_getopts_args --app=mobilizon --key=apt_dependencies '--value=build-essential,, inotify-tools,, postgresql,, postgresql-client,, postgresql-contrib,, git,, curl,, gnupg,, openssl,, postgis,, make,, gcc,, libc-dev,, argon2,, imagemagick, yarn'
  1076. 2020-05-16 19:44:10,609: DEBUG - + set +x
  1077. 2020-05-16 19:44:10,609: DEBUG - + ynh_app_setting set mobilizon apt_dependencies 'build-essential,, inotify-tools,, postgresql,, postgresql-client,, postgresql-contrib,, git,, curl,, gnupg,, openssl,, postgis,, make,, gcc,, libc-dev,, argon2,, imagemagick, yarn'
  1078. 2020-05-16 19:44:10,609: DEBUG - + [[ set == \d\e\l\e\t\e ]]
  1079. 2020-05-16 19:44:10,610: DEBUG - + ACTION=set
  1080. 2020-05-16 19:44:10,610: DEBUG - + APP=mobilizon
  1081. 2020-05-16 19:44:10,610: DEBUG - + KEY=apt_dependencies
  1082. 2020-05-16 19:44:10,611: DEBUG - + VALUE='build-essential,, inotify-tools,, postgresql,, postgresql-client,, postgresql-contrib,, git,, curl,, gnupg,, openssl,, postgis,, make,, gcc,, libc-dev,, argon2,, imagemagick, yarn'
  1083. 2020-05-16 19:44:10,616: DEBUG - + python2.7 -
  1084. 2020-05-16 19:44:10,817: DEBUG - + [[ apt_dependencies =~ ^(unprotected|skipped)_ ]]
  1085. 2020-05-16 19:44:10,818: DEBUG - + ynh_remove_extra_repo --name=mobilizon
  1086. 2020-05-16 19:44:10,818: DEBUG - + local legacy_args=n
  1087. 2020-05-16 19:44:10,818: DEBUG - + args_array=([n]=name=)
  1088. 2020-05-16 19:44:10,819: DEBUG - + declare -Ar args_array
  1089. 2020-05-16 19:44:10,819: DEBUG - + local name
  1090. 2020-05-16 19:44:10,819: DEBUG - + ynh_handle_getopts_args --name=mobilizon
  1091. 2020-05-16 19:44:10,820: DEBUG - + set +x
  1092. 2020-05-16 19:44:10,820: DEBUG - + name=mobilizon
  1093. 2020-05-16 19:44:10,820: DEBUG - + ynh_secure_remove --file=/etc/apt/sources.list.d/mobilizon.list
  1094. 2020-05-16 19:44:10,820: DEBUG - + local legacy_args=f
  1095. 2020-05-16 19:44:10,821: DEBUG - + args_array=([f]=file=)
  1096. 2020-05-16 19:44:10,821: DEBUG - + declare -Ar args_array
  1097. 2020-05-16 19:44:10,821: DEBUG - + local file
  1098. 2020-05-16 19:44:10,822: DEBUG - + ynh_handle_getopts_args --file=/etc/apt/sources.list.d/mobilizon.list
  1099. 2020-05-16 19:44:10,822: DEBUG - + set +x
  1100. 2020-05-16 19:44:10,822: DEBUG - + local 'forbidden_path= /var/www /home/yunohost.app'
  1101. 2020-05-16 19:44:10,822: DEBUG - + '[' 1 -ge 2 ']'
  1102. 2020-05-16 19:44:10,823: DEBUG - + [[ -z /etc/apt/sources.list.d/mobilizon.list ]]
  1103. 2020-05-16 19:44:10,823: DEBUG - + [[ /var/www /home/yunohost.app =~ /etc/apt/sources\.list\.d/mobilizon\.list ]]
  1104. 2020-05-16 19:44:10,828: DEBUG - + [[ /etc/apt/sources.list.d/mobilizon.list =~ ^/[[:alnum:]]+$ ]]
  1105. 2020-05-16 19:44:10,828: DEBUG - + [[ t = \/ ]]
  1106. 2020-05-16 19:44:10,829: DEBUG - + '[' -e /etc/apt/sources.list.d/mobilizon.list ']'
  1107. 2020-05-16 19:44:10,829: DEBUG - + rm -R /etc/apt/sources.list.d/mobilizon.list
  1108. 2020-05-16 19:44:10,829: DEBUG - + ynh_secure_remove --file=/etc/apt/preferences.d/mobilizon
  1109. 2020-05-16 19:44:10,829: DEBUG - + local legacy_args=f
  1110. 2020-05-16 19:44:10,830: DEBUG - + args_array=([f]=file=)
  1111. 2020-05-16 19:44:10,830: DEBUG - + declare -Ar args_array
  1112. 2020-05-16 19:44:10,830: DEBUG - + local file
  1113. 2020-05-16 19:44:10,830: DEBUG - + ynh_handle_getopts_args --file=/etc/apt/preferences.d/mobilizon
  1114. 2020-05-16 19:44:10,836: DEBUG - + set +x
  1115. 2020-05-16 19:44:10,836: DEBUG - + local 'forbidden_path= /var/www /home/yunohost.app'
  1116. 2020-05-16 19:44:10,837: DEBUG - + '[' 1 -ge 2 ']'
  1117. 2020-05-16 19:44:10,837: DEBUG - + [[ -z /etc/apt/preferences.d/mobilizon ]]
  1118. 2020-05-16 19:44:10,837: DEBUG - + [[ /var/www /home/yunohost.app =~ /etc/apt/preferences\.d/mobilizon ]]
  1119. 2020-05-16 19:44:10,838: DEBUG - + [[ /etc/apt/preferences.d/mobilizon =~ ^/[[:alnum:]]+$ ]]
  1120. 2020-05-16 19:44:10,838: DEBUG - + [[ n = \/ ]]
  1121. 2020-05-16 19:44:10,839: DEBUG - + '[' -e /etc/apt/preferences.d/mobilizon ']'
  1122. 2020-05-16 19:44:10,839: DEBUG - + rm -R /etc/apt/preferences.d/mobilizon
  1123. 2020-05-16 19:44:10,842: DEBUG - + ynh_secure_remove --file=/etc/apt/trusted.gpg.d/mobilizon.gpg
  1124. 2020-05-16 19:44:10,842: DEBUG - + local legacy_args=f
  1125. 2020-05-16 19:44:10,842: DEBUG - + args_array=([f]=file=)
  1126. 2020-05-16 19:44:10,842: DEBUG - + declare -Ar args_array
  1127. 2020-05-16 19:44:10,843: DEBUG - + local file
  1128. 2020-05-16 19:44:10,843: DEBUG - + ynh_handle_getopts_args --file=/etc/apt/trusted.gpg.d/mobilizon.gpg
  1129. 2020-05-16 19:44:10,847: DEBUG - + set +x
  1130. 2020-05-16 19:44:10,848: DEBUG - + local 'forbidden_path= /var/www /home/yunohost.app'
  1131. 2020-05-16 19:44:10,848: DEBUG - + '[' 1 -ge 2 ']'
  1132. 2020-05-16 19:44:10,848: DEBUG - + [[ -z /etc/apt/trusted.gpg.d/mobilizon.gpg ]]
  1133. 2020-05-16 19:44:10,849: DEBUG - + [[ /var/www /home/yunohost.app =~ /etc/apt/trusted\.gpg\.d/mobilizon\.gpg ]]
  1134. 2020-05-16 19:44:10,849: DEBUG - + [[ /etc/apt/trusted.gpg.d/mobilizon.gpg =~ ^/[[:alnum:]]+$ ]]
  1135. 2020-05-16 19:44:10,850: DEBUG - + [[ g = \/ ]]
  1136. 2020-05-16 19:44:10,850: DEBUG - + '[' -e /etc/apt/trusted.gpg.d/mobilizon.gpg ']'
  1137. 2020-05-16 19:44:10,850: DEBUG - + rm -R /etc/apt/trusted.gpg.d/mobilizon.gpg
  1138. 2020-05-16 19:44:10,851: DEBUG - + ynh_secure_remove --file=/etc/apt/trusted.gpg.d/mobilizon.asc
  1139. 2020-05-16 19:44:10,851: DEBUG - + local legacy_args=f
  1140. 2020-05-16 19:44:10,856: DEBUG - + args_array=([f]=file=)
  1141. 2020-05-16 19:44:10,856: DEBUG - + declare -Ar args_array
  1142. 2020-05-16 19:44:10,856: DEBUG - + local file
  1143. 2020-05-16 19:44:10,856: DEBUG - + ynh_handle_getopts_args --file=/etc/apt/trusted.gpg.d/mobilizon.asc
  1144. 2020-05-16 19:44:10,857: DEBUG - + set +x
  1145. 2020-05-16 19:44:10,857: DEBUG - + local 'forbidden_path= /var/www /home/yunohost.app'
  1146. 2020-05-16 19:44:10,857: DEBUG - + '[' 1 -ge 2 ']'
  1147. 2020-05-16 19:44:10,857: DEBUG - + [[ -z /etc/apt/trusted.gpg.d/mobilizon.asc ]]
  1148. 2020-05-16 19:44:10,858: DEBUG - + [[ /var/www /home/yunohost.app =~ /etc/apt/trusted\.gpg\.d/mobilizon\.asc ]]
  1149. 2020-05-16 19:44:10,858: DEBUG - + [[ /etc/apt/trusted.gpg.d/mobilizon.asc =~ ^/[[:alnum:]]+$ ]]
  1150. 2020-05-16 19:44:10,858: DEBUG - + [[ c = \/ ]]
  1151. 2020-05-16 19:44:10,859: DEBUG - + '[' -e /etc/apt/trusted.gpg.d/mobilizon.asc ']'
  1152. 2020-05-16 19:44:10,859: DEBUG - + ynh_print_info '--message='\''/etc/apt/trusted.gpg.d/mobilizon.asc'\'' wasn'\''t deleted because it doesn'\''t exist.'
  1153. 2020-05-16 19:44:10,862: DEBUG - + local legacy_args=m
  1154. 2020-05-16 19:44:10,862: DEBUG - + args_array=([m]=message=)
  1155. 2020-05-16 19:44:10,862: DEBUG - + declare -Ar args_array
  1156. 2020-05-16 19:44:10,863: DEBUG - + local message
  1157. 2020-05-16 19:44:10,863: DEBUG - + ynh_handle_getopts_args '--message='\''/etc/apt/trusted.gpg.d/mobilizon.asc'\'' wasn'\''t deleted because it doesn'\''t exist.'
  1158. 2020-05-16 19:44:10,868: DEBUG - + set +x
  1159. 2020-05-16 19:44:10,868: DEBUG - + echo ''\''/etc/apt/trusted.gpg.d/mobilizon.asc'\'' wasn'\''t deleted because it doesn'\''t exist.'
  1160. 2020-05-16 19:44:10,868: DEBUG - + ynh_package_update
  1161. 2020-05-16 19:44:10,869: DEBUG - + ynh_apt update
  1162. 2020-05-16 19:44:10,869: DEBUG - + ynh_wait_dpkg_free
  1163. 2020-05-16 19:44:10,869: DEBUG - + local try
  1164. 2020-05-16 19:44:10,869: DEBUG - ++ seq 1 17
  1165. 2020-05-16 19:44:10,870: DEBUG - + for try in `seq 1 17`
  1166. 2020-05-16 19:44:10,870: DEBUG - + lsof /var/lib/dpkg/lock
  1167. 2020-05-16 19:44:10,971: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
  1168. 2020-05-16 19:44:10,971: INFO - '/etc/apt/trusted.gpg.d/mobilizon.asc' wasn't deleted because it doesn't exist.
  1169. 2020-05-16 19:44:10,973: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
  1170. 2020-05-16 19:44:10,973: DEBUG - + read dpkg_file
  1171. 2020-05-16 19:44:10,973: DEBUG - + grep -Pq '^[[:digit:]]+$'
  1172. 2020-05-16 19:44:10,974: DEBUG - + echo ''
  1173. 2020-05-16 19:44:10,974: DEBUG - + read dpkg_file
  1174. 2020-05-16 19:44:10,975: DEBUG - + return 0
  1175. 2020-05-16 19:44:10,975: DEBUG - + LC_ALL=C
  1176. 2020-05-16 19:44:10,980: DEBUG - + DEBIAN_FRONTEND=noninteractive
  1177. 2020-05-16 19:44:10,981: DEBUG - + apt-get -y update
  1178. 2020-05-16 19:44:11,282: DEBUG - Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
  1179. 2020-05-16 19:44:11,283: DEBUG - Ign:2 http://ftp.tr.debian.org/debian stretch InRelease
  1180. 2020-05-16 19:44:11,283: DEBUG - Hit:3 http://ftp.tr.debian.org/debian stretch-updates InRelease
  1181. 2020-05-16 19:44:11,284: DEBUG - Hit:4 http://forge.yunohost.org/debian stretch InRelease
  1182. 2020-05-16 19:44:11,284: DEBUG - Hit:5 http://ftp.tr.debian.org/debian stretch Release
  1183. 2020-05-16 19:44:12,888: DEBUG - Reading package lists...
  1184. 2020-05-16 19:44:12,989: DEBUG - + ynh_print_info '--message=Installing extra dependencies ...'
  1185. 2020-05-16 19:44:12,989: INFO - Installing extra dependencies ...
  1186. 2020-05-16 19:44:12,990: DEBUG - + local legacy_args=m
  1187. 2020-05-16 19:44:12,990: DEBUG - + args_array=([m]=message=)
  1188. 2020-05-16 19:44:12,990: DEBUG - + declare -Ar args_array
  1189. 2020-05-16 19:44:12,990: DEBUG - + local message
  1190. 2020-05-16 19:44:12,990: DEBUG - + ynh_handle_getopts_args '--message=Installing extra dependencies ...'
  1191. 2020-05-16 19:44:12,991: DEBUG - + set +x
  1192. 2020-05-16 19:44:12,991: DEBUG - + echo 'Installing extra dependencies ...'
  1193. 2020-05-16 19:44:12,991: DEBUG - ++ lsb_release --codename --short
  1194. 2020-05-16 19:44:13,092: DEBUG - + lsb_name=stretch
  1195. 2020-05-16 19:44:13,092: DEBUG - + ynh_install_extra_app_dependencies '--repo=deb http://packages.erlang-solutions.com/debian stretch contrib' '--package=elixir esl-erlang' --key=https://packages.erlang-solutions.com/debian/erlang_solutions.asc
  1196. 2020-05-16 19:44:13,092: DEBUG - + local legacy_args=rpkn
  1197. 2020-05-16 19:44:13,093: DEBUG - + args_array=([r]=repo= [p]=package= [k]=key= [n]=name=)
  1198. 2020-05-16 19:44:13,093: DEBUG - + declare -Ar args_array
  1199. 2020-05-16 19:44:13,093: DEBUG - + local repo
  1200. 2020-05-16 19:44:13,093: DEBUG - + local package
  1201. 2020-05-16 19:44:13,094: DEBUG - + local key
  1202. 2020-05-16 19:44:13,094: DEBUG - + local name
  1203. 2020-05-16 19:44:13,094: DEBUG - + ynh_handle_getopts_args '--repo=deb http://packages.erlang-solutions.com/debian stretch contrib' '--package=elixir esl-erlang' --key=https://packages.erlang-solutions.com/debian/erlang_solutions.asc
  1204. 2020-05-16 19:44:13,094: DEBUG - + set +x
  1205. 2020-05-16 19:44:13,095: DEBUG - + name=mobilizon
  1206. 2020-05-16 19:44:13,095: DEBUG - + key=https://packages.erlang-solutions.com/debian/erlang_solutions.asc
  1207. 2020-05-16 19:44:13,096: DEBUG - + '[' -n https://packages.erlang-solutions.com/debian/erlang_solutions.asc ']'
  1208. 2020-05-16 19:44:13,097: DEBUG - + key=--key=https://packages.erlang-solutions.com/debian/erlang_solutions.asc
  1209. 2020-05-16 19:44:13,097: DEBUG - + ynh_install_extra_repo '--repo=deb http://packages.erlang-solutions.com/debian stretch contrib' --key=https://packages.erlang-solutions.com/debian/erlang_solutions.asc --priority=995 --name=mobilizon
  1210. 2020-05-16 19:44:13,097: DEBUG - + local legacy_args=rkpna
  1211. 2020-05-16 19:44:13,097: DEBUG - + args_array=([r]=repo= [k]=key= [p]=priority= [n]=name= [a]=append)
  1212. 2020-05-16 19:44:13,098: DEBUG - + declare -Ar args_array
  1213. 2020-05-16 19:44:13,098: DEBUG - + local repo
  1214. 2020-05-16 19:44:13,098: DEBUG - + local key
  1215. 2020-05-16 19:44:13,098: DEBUG - + local priority
  1216. 2020-05-16 19:44:13,098: DEBUG - + local name
  1217. 2020-05-16 19:44:13,099: DEBUG - + local append
  1218. 2020-05-16 19:44:13,099: DEBUG - + ynh_handle_getopts_args '--repo=deb http://packages.erlang-solutions.com/debian stretch contrib' --key=https://packages.erlang-solutions.com/debian/erlang_solutions.asc --priority=995 --name=mobilizon
  1219. 2020-05-16 19:44:13,099: DEBUG - + set +x
  1220. 2020-05-16 19:44:13,099: DEBUG - + name=mobilizon
  1221. 2020-05-16 19:44:13,101: DEBUG - + append=0
  1222. 2020-05-16 19:44:13,101: DEBUG - + key=https://packages.erlang-solutions.com/debian/erlang_solutions.asc
  1223. 2020-05-16 19:44:13,101: DEBUG - + priority=995
  1224. 2020-05-16 19:44:13,101: DEBUG - + '[' 0 -eq 1 ']'
  1225. 2020-05-16 19:44:13,102: DEBUG - + append=
  1226. 2020-05-16 19:44:13,102: DEBUG - + wget_append=tee
  1227. 2020-05-16 19:44:13,102: DEBUG - + repo='http://packages.erlang-solutions.com/debian stretch contrib'
  1228. 2020-05-16 19:44:13,102: DEBUG - ++ awk '{ print $1 }'
  1229. 2020-05-16 19:44:13,102: DEBUG - ++ echo 'http://packages.erlang-solutions.com/debian stretch contrib'
  1230. 2020-05-16 19:44:13,103: DEBUG - + local uri=http://packages.erlang-solutions.com/debian
  1231. 2020-05-16 19:44:13,103: DEBUG - ++ awk '{ print $2 }'
  1232. 2020-05-16 19:44:13,105: DEBUG - ++ echo 'http://packages.erlang-solutions.com/debian stretch contrib'
  1233. 2020-05-16 19:44:13,105: DEBUG - + local suite=stretch
  1234. 2020-05-16 19:44:13,105: DEBUG - + local component=contrib
  1235. 2020-05-16 19:44:13,105: DEBUG - + ynh_add_repo --uri=http://packages.erlang-solutions.com/debian --suite=stretch --component=contrib --name=mobilizon
  1236. 2020-05-16 19:44:13,105: DEBUG - + local legacy_args=uscna
  1237. 2020-05-16 19:44:13,106: DEBUG - + args_array=([u]=uri= [s]=suite= [c]=component= [n]=name= [a]=append)
  1238. 2020-05-16 19:44:13,106: DEBUG - + declare -Ar args_array
  1239. 2020-05-16 19:44:13,107: DEBUG - + local uri
  1240. 2020-05-16 19:44:13,107: DEBUG - + local suite
  1241. 2020-05-16 19:44:13,108: DEBUG - + local component
  1242. 2020-05-16 19:44:13,109: DEBUG - + local name
  1243. 2020-05-16 19:44:13,109: DEBUG - + local append
  1244. 2020-05-16 19:44:13,109: DEBUG - + ynh_handle_getopts_args --uri=http://packages.erlang-solutions.com/debian --suite=stretch --component=contrib --name=mobilizon
  1245. 2020-05-16 19:44:13,109: DEBUG - + set +x
  1246. 2020-05-16 19:44:13,210: DEBUG - + name=mobilizon
  1247. 2020-05-16 19:44:13,210: DEBUG - + append=0
  1248. 2020-05-16 19:44:13,211: DEBUG - + '[' 0 -eq 1 ']'
  1249. 2020-05-16 19:44:13,211: DEBUG - + append=tee
  1250. 2020-05-16 19:44:13,211: DEBUG - + mkdir -p /etc/apt/sources.list.d
  1251. 2020-05-16 19:44:13,211: DEBUG - + tee /etc/apt/sources.list.d/mobilizon.list
  1252. 2020-05-16 19:44:13,212: DEBUG - + echo 'deb http://packages.erlang-solutions.com/debian stretch contrib'
  1253. 2020-05-16 19:44:13,212: DEBUG - deb http://packages.erlang-solutions.com/debian stretch contrib
  1254. 2020-05-16 19:44:13,212: DEBUG - + local pin=packages.erlang-solutions.com/debian
  1255. 2020-05-16 19:44:13,212: DEBUG - + pin=packages.erlang-solutions.com
  1256. 2020-05-16 19:44:13,213: DEBUG - + '[' -n 995 ']'
  1257. 2020-05-16 19:44:13,213: DEBUG - + priority=--priority=995
  1258. 2020-05-16 19:44:13,213: DEBUG - + ynh_pin_repo '--package=*' '--pin=origin "packages.erlang-solutions.com"' --priority=995 --name=mobilizon
  1259. 2020-05-16 19:44:13,213: DEBUG - + local legacy_args=pirna
  1260. 2020-05-16 19:44:13,214: DEBUG - + args_array=([p]=package= [i]=pin= [r]=priority= [n]=name= [a]=append)
  1261. 2020-05-16 19:44:13,214: DEBUG - + declare -Ar args_array
  1262. 2020-05-16 19:44:13,215: DEBUG - + local package
  1263. 2020-05-16 19:44:13,215: DEBUG - + local pin
  1264. 2020-05-16 19:44:13,215: DEBUG - + local priority
  1265. 2020-05-16 19:44:13,216: DEBUG - + local name
  1266. 2020-05-16 19:44:13,216: DEBUG - + local append
  1267. 2020-05-16 19:44:13,216: DEBUG - + ynh_handle_getopts_args '--package=*' '--pin=origin "packages.erlang-solutions.com"' --priority=995 --name=mobilizon
  1268. 2020-05-16 19:44:13,217: DEBUG - + set +x
  1269. 2020-05-16 19:44:13,217: DEBUG - + package='*'
  1270. 2020-05-16 19:44:13,217: DEBUG - + priority=995
  1271. 2020-05-16 19:44:13,217: DEBUG - + name=mobilizon
  1272. 2020-05-16 19:44:13,217: DEBUG - + append=0
  1273. 2020-05-16 19:44:13,218: DEBUG - + '[' 0 -eq 1 ']'
  1274. 2020-05-16 19:44:13,218: DEBUG - + append=tee
  1275. 2020-05-16 19:44:13,218: DEBUG - + mkdir -p /etc/apt/preferences.d
  1276. 2020-05-16 19:44:13,218: DEBUG - + tee /etc/apt/preferences.d/mobilizon
  1277. 2020-05-16 19:44:13,219: DEBUG - + echo 'Package: *
  1278. 2020-05-16 19:44:13,219: DEBUG - Pin: origin "packages.erlang-solutions.com"
  1279. 2020-05-16 19:44:13,219: DEBUG - Pin-Priority: 995'
  1280. 2020-05-16 19:44:13,219: DEBUG - Package: *
  1281. 2020-05-16 19:44:13,219: DEBUG - Pin: origin "packages.erlang-solutions.com"
  1282. 2020-05-16 19:44:13,220: DEBUG - Pin-Priority: 995
  1283. 2020-05-16 19:44:13,220: DEBUG - + '[' -n https://packages.erlang-solutions.com/debian/erlang_solutions.asc ']'
  1284. 2020-05-16 19:44:13,220: DEBUG - + mkdir -p /etc/apt/trusted.gpg.d
  1285. 2020-05-16 19:44:13,220: DEBUG - + tee /etc/apt/trusted.gpg.d/mobilizon.gpg
  1286. 2020-05-16 19:44:13,221: DEBUG - + gpg --dearmor
  1287. 2020-05-16 19:44:13,221: DEBUG - + wget -q https://packages.erlang-solutions.com/debian/erlang_solutions.asc -O -
  1288. 2020-05-16 19:44:13,923: DEBUG - + ynh_package_update
  1289. 2020-05-16 19:44:13,924: DEBUG - + ynh_apt update
  1290. 2020-05-16 19:44:13,924: DEBUG - + ynh_wait_dpkg_free
  1291. 2020-05-16 19:44:13,924: DEBUG - + local try
  1292. 2020-05-16 19:44:13,925: DEBUG - ++ seq 1 17
  1293. 2020-05-16 19:44:13,925: DEBUG - + for try in `seq 1 17`
  1294. 2020-05-16 19:44:13,926: DEBUG - + lsof /var/lib/dpkg/lock
  1295. 2020-05-16 19:44:14,127: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
  1296. 2020-05-16 19:44:14,127: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
  1297. 2020-05-16 19:44:14,127: DEBUG - + read dpkg_file
  1298. 2020-05-16 19:44:14,127: DEBUG - + grep -Pq '^[[:digit:]]+$'
  1299. 2020-05-16 19:44:14,128: DEBUG - + echo ''
  1300. 2020-05-16 19:44:14,128: DEBUG - + read dpkg_file
  1301. 2020-05-16 19:44:14,128: DEBUG - + return 0
  1302. 2020-05-16 19:44:14,128: DEBUG - + LC_ALL=C
  1303. 2020-05-16 19:44:14,128: DEBUG - + DEBIAN_FRONTEND=noninteractive
  1304. 2020-05-16 19:44:14,129: DEBUG - + apt-get -y update
  1305. 2020-05-16 19:44:14,330: DEBUG - Ign:1 http://ftp.tr.debian.org/debian stretch InRelease
  1306. 2020-05-16 19:44:14,330: DEBUG - Hit:2 http://ftp.tr.debian.org/debian stretch-updates InRelease
  1307. 2020-05-16 19:44:14,330: DEBUG - Hit:3 http://security.debian.org/debian-security stretch/updates InRelease
  1308. 2020-05-16 19:44:14,330: DEBUG - Hit:4 http://ftp.tr.debian.org/debian stretch Release
  1309. 2020-05-16 19:44:14,331: DEBUG - Hit:5 http://forge.yunohost.org/debian stretch InRelease
  1310. 2020-05-16 19:44:14,833: DEBUG - Ign:7 http://packages.erlang-solutions.com/debian stretch InRelease
  1311. 2020-05-16 19:44:15,235: DEBUG - Get:8 http://packages.erlang-solutions.com/debian stretch Release [3688 B]
  1312. 2020-05-16 19:44:15,637: DEBUG - Get:9 http://packages.erlang-solutions.com/debian stretch Release.gpg [833 B]
  1313. 2020-05-16 19:44:16,039: DEBUG - Get:10 http://packages.erlang-solutions.com/debian stretch/contrib amd64 Packages [681 kB]
  1314. 2020-05-16 19:44:17,443: DEBUG - Fetched 686 kB in 3s (212 kB/s)
  1315. 2020-05-16 19:44:19,047: DEBUG - Reading package lists...
  1316. 2020-05-16 19:44:19,148: DEBUG - + ynh_add_app_dependencies '--package=elixir esl-erlang'
  1317. 2020-05-16 19:44:19,149: DEBUG - + local legacy_args=pr
  1318. 2020-05-16 19:44:19,149: DEBUG - + args_array=([p]=package= [r]=replace)
  1319. 2020-05-16 19:44:19,149: DEBUG - + declare -Ar args_array
  1320. 2020-05-16 19:44:19,150: DEBUG - + local package
  1321. 2020-05-16 19:44:19,150: DEBUG - + local replace
  1322. 2020-05-16 19:44:19,150: DEBUG - + ynh_handle_getopts_args '--package=elixir esl-erlang'
  1323. 2020-05-16 19:44:19,150: DEBUG - + set +x
  1324. 2020-05-16 19:44:19,150: DEBUG - + replace=0
  1325. 2020-05-16 19:44:19,151: DEBUG - + local current_dependencies=
  1326. 2020-05-16 19:44:19,151: DEBUG - + '[' 0 -eq 0 ']'
  1327. 2020-05-16 19:44:19,151: DEBUG - + local dep_app=mobilizon
  1328. 2020-05-16 19:44:19,156: DEBUG - + ynh_package_is_installed --package=mobilizon-ynh-deps
  1329. 2020-05-16 19:44:19,156: DEBUG - + local legacy_args=p
  1330. 2020-05-16 19:44:19,156: DEBUG - + args_array=([p]=package=)
  1331. 2020-05-16 19:44:19,156: DEBUG - + declare -Ar args_array
  1332. 2020-05-16 19:44:19,156: DEBUG - + local package
  1333. 2020-05-16 19:44:19,157: DEBUG - + ynh_handle_getopts_args --package=mobilizon-ynh-deps
  1334. 2020-05-16 19:44:19,157: DEBUG - + set +x
  1335. 2020-05-16 19:44:19,157: DEBUG - + ynh_wait_dpkg_free
  1336. 2020-05-16 19:44:19,157: DEBUG - + local try
  1337. 2020-05-16 19:44:19,158: DEBUG - ++ seq 1 17
  1338. 2020-05-16 19:44:19,158: DEBUG - + for try in `seq 1 17`
  1339. 2020-05-16 19:44:19,158: DEBUG - + lsof /var/lib/dpkg/lock
  1340. 2020-05-16 19:44:19,259: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
  1341. 2020-05-16 19:44:19,259: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
  1342. 2020-05-16 19:44:19,260: DEBUG - + read dpkg_file
  1343. 2020-05-16 19:44:19,260: DEBUG - + grep -Pq '^[[:digit:]]+$'
  1344. 2020-05-16 19:44:19,260: DEBUG - + echo ''
  1345. 2020-05-16 19:44:19,261: DEBUG - + read dpkg_file
  1346. 2020-05-16 19:44:19,261: DEBUG - + return 0
  1347. 2020-05-16 19:44:19,261: DEBUG - + grep -c 'ok installed'
  1348. 2020-05-16 19:44:19,262: DEBUG - + dpkg-query -W -f '${Status}' mobilizon-ynh-deps
  1349. 2020-05-16 19:44:19,262: DEBUG - ++ dpkg-query --show '--showformat=${Depends}' mobilizon-ynh-deps
  1350. 2020-05-16 19:44:19,262: DEBUG - + current_dependencies='build-essential, inotify-tools, postgresql, postgresql-client, postgresql-contrib, git, curl, gnupg, openssl, postgis, make, gcc, libc-dev, argon2, imagemagick, yarn '
  1351. 2020-05-16 19:44:19,263: DEBUG - + current_dependencies='build-essential, inotify-tools, postgresql, postgresql-client, postgresql-contrib, git, curl, gnupg, openssl, postgis, make, gcc, libc-dev, argon2, imagemagick, yarn '
  1352. 2020-05-16 19:44:19,267: DEBUG - + ynh_install_app_dependencies 'build-essential, inotify-tools, postgresql, postgresql-client, postgresql-contrib, git, curl, gnupg, openssl, postgis, make, gcc, libc-dev, argon2, imagemagick, yarn elixir esl-erlang'
  1353. 2020-05-16 19:44:19,267: DEBUG - + local 'dependencies=build-essential, inotify-tools, postgresql, postgresql-client, postgresql-contrib, git, curl, gnupg, openssl, postgis, make, gcc, libc-dev, argon2, imagemagick, yarn elixir esl-erlang'
  1354. 2020-05-16 19:44:19,269: DEBUG - + local 'dependencies=build-essential,, inotify-tools,, postgresql,, postgresql-client,, postgresql-contrib,, git,, curl,, gnupg,, openssl,, postgis,, make,, gcc,, libc-dev,, argon2,, imagemagick,, yarn, elixir, esl-erlang'
  1355. 2020-05-16 19:44:19,269: DEBUG - + local 'dependencies=build-essential,, inotify-tools,, postgresql,, postgresql-client,, postgresql-contrib,, git,, curl,, gnupg,, openssl,, postgis,, make,, gcc,, libc-dev,, argon2,, imagemagick,, yarn, elixir, esl-erlang'
  1356. 2020-05-16 19:44:19,270: DEBUG - + local manifest_path=../manifest.json
  1357. 2020-05-16 19:44:19,270: DEBUG - + '[' '!' -e ../manifest.json ']'
  1358. 2020-05-16 19:44:19,270: DEBUG - ++ cut -d '"' -f 4
  1359. 2020-05-16 19:44:19,271: DEBUG - ++ grep '\"version\": ' ../manifest.json
  1360. 2020-05-16 19:44:19,273: DEBUG - + local version=0.1.0-2019-12-28~ynh1
  1361. 2020-05-16 19:44:19,273: DEBUG - + '[' 21 -eq 0 ']'
  1362. 2020-05-16 19:44:19,273: DEBUG - + local dep_app=mobilizon
  1363. 2020-05-16 19:44:19,274: DEBUG - + grep -q php
  1364. 2020-05-16 19:44:19,274: DEBUG - + echo build-essential,, inotify-tools,, postgresql,, postgresql-client,, postgresql-contrib,, git,, curl,, gnupg,, openssl,, postgis,, make,, gcc,, libc-dev,, argon2,, imagemagick,, yarn, elixir, esl-erlang
  1365. 2020-05-16 19:44:19,274: DEBUG - + cat
  1366. 2020-05-16 19:44:19,275: DEBUG - + ynh_package_install_from_equivs /tmp/mobilizon-ynh-deps.control
  1367. 2020-05-16 19:44:19,275: DEBUG - + local controlfile=/tmp/mobilizon-ynh-deps.control
  1368. 2020-05-16 19:44:19,281: DEBUG - ++ cut '-d ' -f 2
  1369. 2020-05-16 19:44:19,281: DEBUG - ++ grep '^Package: ' /tmp/mobilizon-ynh-deps.control
  1370. 2020-05-16 19:44:19,282: DEBUG - + local pkgname=mobilizon-ynh-deps
  1371. 2020-05-16 19:44:19,282: DEBUG - ++ cut '-d ' -f 2
  1372. 2020-05-16 19:44:19,282: DEBUG - ++ grep '^Version: ' /tmp/mobilizon-ynh-deps.control
  1373. 2020-05-16 19:44:19,283: DEBUG - + local pkgversion=0.1.0-2019-12-28~ynh1
  1374. 2020-05-16 19:44:19,283: DEBUG - + [[ -z mobilizon-ynh-deps ]]
  1375. 2020-05-16 19:44:19,285: DEBUG - + [[ -z 0.1.0-2019-12-28~ynh1 ]]
  1376. 2020-05-16 19:44:19,286: DEBUG - + ynh_package_update
  1377. 2020-05-16 19:44:19,286: DEBUG - + ynh_apt update
  1378. 2020-05-16 19:44:19,286: DEBUG - + ynh_wait_dpkg_free
  1379. 2020-05-16 19:44:19,287: DEBUG - + local try
  1380. 2020-05-16 19:44:19,287: DEBUG - ++ seq 1 17
  1381. 2020-05-16 19:44:19,289: DEBUG - + for try in `seq 1 17`
  1382. 2020-05-16 19:44:19,289: DEBUG - + lsof /var/lib/dpkg/lock
  1383. 2020-05-16 19:44:19,490: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
  1384. 2020-05-16 19:44:19,490: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
  1385. 2020-05-16 19:44:19,491: DEBUG - + read dpkg_file
  1386. 2020-05-16 19:44:19,491: DEBUG - + grep -Pq '^[[:digit:]]+$'
  1387. 2020-05-16 19:44:19,491: DEBUG - + echo ''
  1388. 2020-05-16 19:44:19,492: DEBUG - + read dpkg_file
  1389. 2020-05-16 19:44:19,492: DEBUG - + return 0
  1390. 2020-05-16 19:44:19,492: DEBUG - + LC_ALL=C
  1391. 2020-05-16 19:44:19,492: DEBUG - + DEBIAN_FRONTEND=noninteractive
  1392. 2020-05-16 19:44:19,493: DEBUG - + apt-get -y update
  1393. 2020-05-16 19:44:19,593: DEBUG - Ign:1 http://ftp.tr.debian.org/debian stretch InRelease
  1394. 2020-05-16 19:44:19,700: DEBUG - Hit:2 http://ftp.tr.debian.org/debian stretch-updates InRelease
  1395. 2020-05-16 19:44:19,700: DEBUG - Hit:3 http://ftp.tr.debian.org/debian stretch Release
  1396. 2020-05-16 19:44:19,701: DEBUG - Hit:4 http://security.debian.org/debian-security stretch/updates InRelease
  1397. 2020-05-16 19:44:19,701: DEBUG - Hit:5 http://forge.yunohost.org/debian stretch InRelease
  1398. 2020-05-16 19:44:19,902: DEBUG - Ign:6 http://packages.erlang-solutions.com/debian stretch InRelease
  1399. 2020-05-16 19:44:20,003: DEBUG - Hit:8 http://packages.erlang-solutions.com/debian stretch Release
  1400. 2020-05-16 19:44:22,008: DEBUG - Reading package lists...
  1401. 2020-05-16 19:44:22,008: DEBUG - ++ mktemp -d
  1402. 2020-05-16 19:44:22,009: DEBUG - + local TMPDIR=/tmp/tmp.X8rmkWrKPG
  1403. 2020-05-16 19:44:22,009: DEBUG - + echo 10
  1404. 2020-05-16 19:44:22,009: DEBUG - + ynh_wait_dpkg_free
  1405. 2020-05-16 19:44:22,010: DEBUG - + local try
  1406. 2020-05-16 19:44:22,010: DEBUG - ++ seq 1 17
  1407. 2020-05-16 19:44:22,010: DEBUG - + for try in `seq 1 17`
  1408. 2020-05-16 19:44:22,010: DEBUG - + lsof /var/lib/dpkg/lock
  1409. 2020-05-16 19:44:22,111: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
  1410. 2020-05-16 19:44:22,112: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
  1411. 2020-05-16 19:44:22,112: DEBUG - + read dpkg_file
  1412. 2020-05-16 19:44:22,112: DEBUG - + grep -Pq '^[[:digit:]]+$'
  1413. 2020-05-16 19:44:22,113: DEBUG - + echo ''
  1414. 2020-05-16 19:44:22,113: DEBUG - + read dpkg_file
  1415. 2020-05-16 19:44:22,114: DEBUG - + return 0
  1416. 2020-05-16 19:44:22,114: DEBUG - + cp /tmp/mobilizon-ynh-deps.control /tmp/tmp.X8rmkWrKPG/control
  1417. 2020-05-16 19:44:22,114: DEBUG - + cd /tmp/tmp.X8rmkWrKPG
  1418. 2020-05-16 19:44:22,115: DEBUG - + LC_ALL=C
  1419. 2020-05-16 19:44:22,115: DEBUG - + equivs-build ./control
  1420. 2020-05-16 19:44:23,323: DEBUG - + dpkg --force-depends -i ./mobilizon-ynh-deps_0.1.0-2019-12-28~ynh1_all.deb
  1421. 2020-05-16 19:44:23,423: DEBUG - (Reading database ... 55518 files and directories currently installed.)
  1422. 2020-05-16 19:44:23,424: DEBUG - Preparing to unpack .../mobilizon-ynh-deps_0.1.0-2019-12-28~ynh1_all.deb ...
  1423. 2020-05-16 19:44:23,424: DEBUG - Unpacking mobilizon-ynh-deps (0.1.0-2019-12-28~ynh1) over (0.1.0-2019-12-28~ynh1) ...
  1424. 2020-05-16 19:44:23,425: DEBUG - dpkg: mobilizon-ynh-deps: dependency problems, but configuring anyway as you requested:
  1425. 2020-05-16 19:44:23,425: DEBUG - mobilizon-ynh-deps depends on elixir; however:
  1426. 2020-05-16 19:44:23,426: DEBUG - Package elixir is not installed.
  1427. 2020-05-16 19:44:23,426: DEBUG - mobilizon-ynh-deps depends on esl-erlang; however:
  1428. 2020-05-16 19:44:23,426: DEBUG - Package esl-erlang is not installed.
  1429. 2020-05-16 19:44:23,427: DEBUG -
  1430. 2020-05-16 19:44:23,429: DEBUG - Setting up mobilizon-ynh-deps (0.1.0-2019-12-28~ynh1) ...
  1431. 2020-05-16 19:44:23,530: DEBUG - + ynh_package_install -f
  1432. 2020-05-16 19:44:23,530: DEBUG - + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
  1433. 2020-05-16 19:44:23,530: DEBUG - + ynh_wait_dpkg_free
  1434. 2020-05-16 19:44:23,531: DEBUG - + local try
  1435. 2020-05-16 19:44:23,531: DEBUG - ++ seq 1 17
  1436. 2020-05-16 19:44:23,531: DEBUG - + for try in `seq 1 17`
  1437. 2020-05-16 19:44:23,531: DEBUG - + lsof /var/lib/dpkg/lock
  1438. 2020-05-16 19:44:23,632: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
  1439. 2020-05-16 19:44:23,632: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
  1440. 2020-05-16 19:44:23,633: DEBUG - + read dpkg_file
  1441. 2020-05-16 19:44:23,633: DEBUG - + grep -Pq '^[[:digit:]]+$'
  1442. 2020-05-16 19:44:23,633: DEBUG - + echo ''
  1443. 2020-05-16 19:44:23,634: DEBUG - + read dpkg_file
  1444. 2020-05-16 19:44:23,634: DEBUG - + return 0
  1445. 2020-05-16 19:44:23,634: DEBUG - + LC_ALL=C
  1446. 2020-05-16 19:44:23,634: DEBUG - + DEBIAN_FRONTEND=noninteractive
  1447. 2020-05-16 19:44:23,635: DEBUG - + apt-get -y --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
  1448. 2020-05-16 19:44:23,835: DEBUG - Reading package lists...
  1449. 2020-05-16 19:44:24,237: DEBUG - Building dependency tree...
  1450. 2020-05-16 19:44:24,237: DEBUG - Reading state information...
  1451. 2020-05-16 19:44:24,739: DEBUG - Correcting dependencies... Done
  1452. 2020-05-16 19:44:24,940: DEBUG - The following additional packages will be installed:
  1453. 2020-05-16 19:44:24,941: DEBUG - adwaita-icon-theme at-spi2-core dconf-gsettings-backend dconf-service elixir
  1454. 2020-05-16 19:44:24,941: DEBUG - erlang-mode esl-erlang glib-networking glib-networking-common
  1455. 2020-05-16 19:44:24,941: DEBUG - glib-networking-services gnome-icon-theme gsettings-desktop-schemas
  1456. 2020-05-16 19:44:24,942: DEBUG - gtk-update-icon-cache libatk-bridge2.0-0 libatk1.0-0 libatk1.0-data
  1457. 2020-05-16 19:44:24,942: DEBUG - libatspi2.0-0 libcairo-gobject2 libcolord2 libdconf1 libepoxy0
  1458. 2020-05-16 19:44:25,043: DEBUG - libgail-common libgail18 libgtk-3-0 libgtk-3-bin libgtk-3-common libgtk2.0-0
  1459. 2020-05-16 19:44:25,043: DEBUG - libgtk2.0-bin libgtk2.0-common libjson-glib-1.0-0 libjson-glib-1.0-common
  1460. 2020-05-16 19:44:25,044: DEBUG - libnotify4 libproxy1v5 librest-0.7-0 libsctp1 libsoup-gnome2.4-1
  1461. 2020-05-16 19:44:25,044: DEBUG - libsoup2.4-1 libwxbase3.0-0v5 libwxgtk3.0-0v5 libxcomposite1
  1462. 2020-05-16 19:44:25,045: DEBUG - notification-daemon
  1463. 2020-05-16 19:44:25,045: DEBUG - Suggested packages:
  1464. 2020-05-16 19:44:25,046: DEBUG - erlang erlang-manpages erlang-doc default-jre-headless
  1465. 2020-05-16 19:44:25,046: DEBUG - | java2-runtime-headless | java1-runtime-headless | java2-runtime
  1466. 2020-05-16 19:44:25,046: DEBUG - | java1-runtime colord gvfs lksctp-tools
  1467. 2020-05-16 19:44:25,047: DEBUG - The following NEW packages will be installed:
  1468. 2020-05-16 19:44:25,047: DEBUG - adwaita-icon-theme at-spi2-core dconf-gsettings-backend dconf-service elixir
  1469. 2020-05-16 19:44:25,052: DEBUG - erlang-mode esl-erlang glib-networking glib-networking-common
  1470. 2020-05-16 19:44:25,052: DEBUG - glib-networking-services gnome-icon-theme gsettings-desktop-schemas
  1471. 2020-05-16 19:44:25,053: DEBUG - gtk-update-icon-cache libatk-bridge2.0-0 libatk1.0-0 libatk1.0-data
  1472. 2020-05-16 19:44:25,053: DEBUG - libatspi2.0-0 libcairo-gobject2 libcolord2 libdconf1 libepoxy0
  1473. 2020-05-16 19:44:25,053: DEBUG - libgail-common libgail18 libgtk-3-0 libgtk-3-bin libgtk-3-common libgtk2.0-0
  1474. 2020-05-16 19:44:25,054: DEBUG - libgtk2.0-bin libgtk2.0-common libjson-glib-1.0-0 libjson-glib-1.0-common
  1475. 2020-05-16 19:44:25,054: DEBUG - libnotify4 libproxy1v5 librest-0.7-0 libsctp1 libsoup-gnome2.4-1
  1476. 2020-05-16 19:44:25,055: DEBUG - libsoup2.4-1 libwxbase3.0-0v5 libwxgtk3.0-0v5 libxcomposite1
  1477. 2020-05-16 19:44:25,055: DEBUG - notification-daemon
  1478. 2020-05-16 19:44:25,864: WARNING -
  1479. Extracting templates from packages: 73%
  1480. Extracting templates from packages: 100%
  1481. 2020-05-16 19:44:25,965: DEBUG - 0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded.
  1482. 2020-05-16 19:44:25,967: DEBUG - Need to get 0 B/83.3 MB of archives.
  1483. 2020-05-16 19:44:25,968: DEBUG - After this operation, 147 MB of additional disk space will be used.
  1484. 2020-05-16 19:44:26,069: DEBUG - Selecting previously unselected package gtk-update-icon-cache.
  1485. 2020-05-16 19:44:26,069: DEBUG - (Reading database ...
  1486. (Reading database ... 5%
  1487. (Reading database ... 10%
  1488. (Reading database ... 15%
  1489. (Reading database ... 20%
  1490. (Reading database ... 25%
  1491. (Reading database ... 30%
  1492. (Reading database ... 35%
  1493. (Reading database ... 40%
  1494. (Reading database ... 45%
  1495. (Reading database ... 50%
  1496. (Reading database ... 55%
  1497. (Reading database ... 60%
  1498. (Reading database ... 65%
  1499. (Reading database ... 70%
  1500. (Reading database ... 75%
  1501. (Reading database ... 80%
  1502. (Reading database ... 85%
  1503. (Reading database ... 90%
  1504. (Reading database ... 95%
  1505. (Reading database ... 100%
  1506. (Reading database ... 55518 files and directories currently installed.)
  1507. 2020-05-16 19:44:26,070: DEBUG - Preparing to unpack .../00-gtk-update-icon-cache_3.22.11-1_amd64.deb ...
  1508. 2020-05-16 19:44:26,171: DEBUG - No diversion 'diversion of /usr/sbin/update-icon-caches to /usr/sbin/update-icon-caches.gtk2 by libgtk-3-bin', none removed.
  1509. 2020-05-16 19:44:26,172: DEBUG - No diversion 'diversion of /usr/share/man/man8/update-icon-caches.8.gz to /usr/share/man/man8/update-icon-caches.gtk2.8.gz by libgtk-3-bin', none removed.
  1510. 2020-05-16 19:44:26,172: DEBUG - Unpacking gtk-update-icon-cache (3.22.11-1) ...
  1511. 2020-05-16 19:44:26,273: DEBUG - Selecting previously unselected package adwaita-icon-theme.
  1512. 2020-05-16 19:44:26,273: DEBUG - Preparing to unpack .../01-adwaita-icon-theme_3.22.0-1+deb9u1_all.deb ...
  1513. 2020-05-16 19:44:26,273: DEBUG - Unpacking adwaita-icon-theme (3.22.0-1+deb9u1) ...
  1514. 2020-05-16 19:44:30,284: DEBUG - Selecting previously unselected package libatspi2.0-0:amd64.
  1515. 2020-05-16 19:44:30,284: DEBUG - Preparing to unpack .../02-libatspi2.0-0_2.22.0-6+deb9u1_amd64.deb ...
  1516. 2020-05-16 19:44:30,285: DEBUG - Unpacking libatspi2.0-0:amd64 (2.22.0-6+deb9u1) ...
  1517. 2020-05-16 19:44:30,385: DEBUG - Selecting previously unselected package at-spi2-core.
  1518. 2020-05-16 19:44:30,386: DEBUG - Preparing to unpack .../03-at-spi2-core_2.22.0-6+deb9u1_amd64.deb ...
  1519. 2020-05-16 19:44:30,386: DEBUG - Unpacking at-spi2-core (2.22.0-6+deb9u1) ...
  1520. 2020-05-16 19:44:30,587: DEBUG - Selecting previously unselected package libdconf1:amd64.
  1521. 2020-05-16 19:44:30,588: DEBUG - Preparing to unpack .../04-libdconf1_0.26.0-2+b1_amd64.deb ...
  1522. 2020-05-16 19:44:30,588: DEBUG - Unpacking libdconf1:amd64 (0.26.0-2+b1) ...
  1523. 2020-05-16 19:44:30,588: DEBUG - Selecting previously unselected package dconf-service.
  1524. 2020-05-16 19:44:30,589: DEBUG - Preparing to unpack .../05-dconf-service_0.26.0-2+b1_amd64.deb ...
  1525. 2020-05-16 19:44:30,589: DEBUG - Unpacking dconf-service (0.26.0-2+b1) ...
  1526. 2020-05-16 19:44:30,690: DEBUG - Selecting previously unselected package dconf-gsettings-backend:amd64.
  1527. 2020-05-16 19:44:30,690: DEBUG - Preparing to unpack .../06-dconf-gsettings-backend_0.26.0-2+b1_amd64.deb ...
  1528. 2020-05-16 19:44:30,691: DEBUG - Unpacking dconf-gsettings-backend:amd64 (0.26.0-2+b1) ...
  1529. 2020-05-16 19:44:30,691: DEBUG - Selecting previously unselected package libwxbase3.0-0v5:amd64.
  1530. 2020-05-16 19:44:30,692: DEBUG - Preparing to unpack .../07-libwxbase3.0-0v5_3.0.2+dfsg-4_amd64.deb ...
  1531. 2020-05-16 19:44:30,692: DEBUG - Unpacking libwxbase3.0-0v5:amd64 (3.0.2+dfsg-4) ...
  1532. 2020-05-16 19:44:30,893: DEBUG - Selecting previously unselected package libgtk2.0-common.
  1533. 2020-05-16 19:44:30,894: DEBUG - Preparing to unpack .../08-libgtk2.0-common_2.24.31-2_all.deb ...
  1534. 2020-05-16 19:44:30,894: DEBUG - Unpacking libgtk2.0-common (2.24.31-2) ...
  1535. 2020-05-16 19:44:31,798: DEBUG - Selecting previously unselected package libatk1.0-data.
  1536. 2020-05-16 19:44:31,798: DEBUG - Preparing to unpack .../09-libatk1.0-data_2.22.0-1_all.deb ...
  1537. 2020-05-16 19:44:31,798: DEBUG - Unpacking libatk1.0-data (2.22.0-1) ...
  1538. 2020-05-16 19:44:31,999: DEBUG - Selecting previously unselected package libatk1.0-0:amd64.
  1539. 2020-05-16 19:44:32,000: DEBUG - Preparing to unpack .../10-libatk1.0-0_2.22.0-1_amd64.deb ...
  1540. 2020-05-16 19:44:32,001: DEBUG - Unpacking libatk1.0-0:amd64 (2.22.0-1) ...
  1541. 2020-05-16 19:44:32,102: DEBUG - Selecting previously unselected package libxcomposite1:amd64.
  1542. 2020-05-16 19:44:32,103: DEBUG - Preparing to unpack .../11-libxcomposite1_1%3a0.4.4-2_amd64.deb ...
  1543. 2020-05-16 19:44:32,103: DEBUG - Unpacking libxcomposite1:amd64 (1:0.4.4-2) ...
  1544. 2020-05-16 19:44:32,104: DEBUG - Selecting previously unselected package gnome-icon-theme.
  1545. 2020-05-16 19:44:32,104: DEBUG - Preparing to unpack .../12-gnome-icon-theme_3.12.0-2_all.deb ...
  1546. 2020-05-16 19:44:32,205: DEBUG - Unpacking gnome-icon-theme (3.12.0-2) ...
  1547. 2020-05-16 19:44:35,614: DEBUG - Selecting previously unselected package libgtk2.0-0:amd64.
  1548. 2020-05-16 19:44:35,615: DEBUG - Preparing to unpack .../13-libgtk2.0-0_2.24.31-2_amd64.deb ...
  1549. 2020-05-16 19:44:35,716: DEBUG - Unpacking libgtk2.0-0:amd64 (2.24.31-2) ...
  1550. 2020-05-16 19:44:36,017: DEBUG - Selecting previously unselected package libnotify4:amd64.
  1551. 2020-05-16 19:44:36,018: DEBUG - Preparing to unpack .../14-libnotify4_0.7.7-2_amd64.deb ...
  1552. 2020-05-16 19:44:36,018: DEBUG - Unpacking libnotify4:amd64 (0.7.7-2) ...
  1553. 2020-05-16 19:44:36,018: DEBUG - Selecting previously unselected package libwxgtk3.0-0v5:amd64.
  1554. 2020-05-16 19:44:36,018: DEBUG - Preparing to unpack .../15-libwxgtk3.0-0v5_3.0.2+dfsg-4_amd64.deb ...
  1555. 2020-05-16 19:44:36,019: DEBUG - Unpacking libwxgtk3.0-0v5:amd64 (3.0.2+dfsg-4) ...
  1556. 2020-05-16 19:44:36,821: DEBUG - Selecting previously unselected package libsctp1:amd64.
  1557. 2020-05-16 19:44:36,821: DEBUG - Preparing to unpack .../16-libsctp1_1.0.17+dfsg-1+b1_amd64.deb ...
  1558. 2020-05-16 19:44:36,821: DEBUG - Unpacking libsctp1:amd64 (1.0.17+dfsg-1+b1) ...
  1559. 2020-05-16 19:44:36,822: DEBUG - Selecting previously unselected package esl-erlang.
  1560. 2020-05-16 19:44:36,822: DEBUG - Preparing to unpack .../17-esl-erlang_1%3a23.0-1_amd64.deb ...
  1561. 2020-05-16 19:44:36,822: DEBUG - Unpacking esl-erlang (1:23.0-1) ...
  1562. 2020-05-16 19:44:44,042: DEBUG - Selecting previously unselected package elixir.
  1563. 2020-05-16 19:44:44,042: DEBUG - Preparing to unpack .../18-elixir_1.10.3-1_all.deb ...
  1564. 2020-05-16 19:44:44,042: DEBUG - Unpacking elixir (1.10.3-1) ...
  1565. 2020-05-16 19:44:44,744: DEBUG - Selecting previously unselected package erlang-mode.
  1566. 2020-05-16 19:44:44,745: DEBUG - Preparing to unpack .../19-erlang-mode_1%3a22.3.2-1_all.deb ...
  1567. 2020-05-16 19:44:44,745: DEBUG - Unpacking erlang-mode (1:22.3.2-1) ...
  1568. 2020-05-16 19:44:44,846: DEBUG - Selecting previously unselected package libproxy1v5:amd64.
  1569. 2020-05-16 19:44:44,846: DEBUG - Preparing to unpack .../20-libproxy1v5_0.4.14-2_amd64.deb ...
  1570. 2020-05-16 19:44:44,847: DEBUG - Unpacking libproxy1v5:amd64 (0.4.14-2) ...
  1571. 2020-05-16 19:44:44,847: DEBUG - Selecting previously unselected package glib-networking-common.
  1572. 2020-05-16 19:44:44,847: DEBUG - Preparing to unpack .../21-glib-networking-common_2.50.0-1_all.deb ...
  1573. 2020-05-16 19:44:44,848: DEBUG - Unpacking glib-networking-common (2.50.0-1) ...
  1574. 2020-05-16 19:44:45,049: DEBUG - Selecting previously unselected package glib-networking-services.
  1575. 2020-05-16 19:44:45,049: DEBUG - Preparing to unpack .../22-glib-networking-services_2.50.0-1+b1_amd64.deb ...
  1576. 2020-05-16 19:44:45,050: DEBUG - Unpacking glib-networking-services (2.50.0-1+b1) ...
  1577. 2020-05-16 19:44:45,150: DEBUG - Selecting previously unselected package gsettings-desktop-schemas.
  1578. 2020-05-16 19:44:45,151: DEBUG - Preparing to unpack .../23-gsettings-desktop-schemas_3.22.0-1_all.deb ...
  1579. 2020-05-16 19:44:45,151: DEBUG - Unpacking gsettings-desktop-schemas (3.22.0-1) ...
  1580. 2020-05-16 19:44:45,352: DEBUG - Selecting previously unselected package glib-networking:amd64.
  1581. 2020-05-16 19:44:45,354: DEBUG - Preparing to unpack .../24-glib-networking_2.50.0-1+b1_amd64.deb ...
  1582. 2020-05-16 19:44:45,354: DEBUG - Unpacking glib-networking:amd64 (2.50.0-1+b1) ...
  1583. 2020-05-16 19:44:45,455: DEBUG - Selecting previously unselected package libatk-bridge2.0-0:amd64.
  1584. 2020-05-16 19:44:45,455: DEBUG - Preparing to unpack .../25-libatk-bridge2.0-0_2.22.0-2_amd64.deb ...
  1585. 2020-05-16 19:44:45,456: DEBUG - Unpacking libatk-bridge2.0-0:amd64 (2.22.0-2) ...
  1586. 2020-05-16 19:44:45,456: DEBUG - Selecting previously unselected package libcairo-gobject2:amd64.
  1587. 2020-05-16 19:44:45,557: DEBUG - Preparing to unpack .../26-libcairo-gobject2_1.14.8-1_amd64.deb ...
  1588. 2020-05-16 19:44:45,557: DEBUG - Unpacking libcairo-gobject2:amd64 (1.14.8-1) ...
  1589. 2020-05-16 19:44:45,558: DEBUG - Selecting previously unselected package libcolord2:amd64.
  1590. 2020-05-16 19:44:45,558: DEBUG - Preparing to unpack .../27-libcolord2_1.3.3-2_amd64.deb ...
  1591. 2020-05-16 19:44:45,558: DEBUG - Unpacking libcolord2:amd64 (1.3.3-2) ...
  1592. 2020-05-16 19:44:45,759: DEBUG - Selecting previously unselected package libepoxy0:amd64.
  1593. 2020-05-16 19:44:45,760: DEBUG - Preparing to unpack .../28-libepoxy0_1.3.1-2_amd64.deb ...
  1594. 2020-05-16 19:44:45,760: DEBUG - Unpacking libepoxy0:amd64 (1.3.1-2) ...
  1595. 2020-05-16 19:44:45,760: DEBUG - Selecting previously unselected package libgail18:amd64.
  1596. 2020-05-16 19:44:45,861: DEBUG - Preparing to unpack .../29-libgail18_2.24.31-2_amd64.deb ...
  1597. 2020-05-16 19:44:45,861: DEBUG - Unpacking libgail18:amd64 (2.24.31-2) ...
  1598. 2020-05-16 19:44:45,862: DEBUG - Selecting previously unselected package libgail-common:amd64.
  1599. 2020-05-16 19:44:45,862: DEBUG - Preparing to unpack .../30-libgail-common_2.24.31-2_amd64.deb ...
  1600. 2020-05-16 19:44:45,863: DEBUG - Unpacking libgail-common:amd64 (2.24.31-2) ...
  1601. 2020-05-16 19:44:45,963: DEBUG - Selecting previously unselected package libgtk-3-common.
  1602. 2020-05-16 19:44:45,964: DEBUG - Preparing to unpack .../31-libgtk-3-common_3.22.11-1_all.deb ...
  1603. 2020-05-16 19:44:45,964: DEBUG - Unpacking libgtk-3-common (3.22.11-1) ...
  1604. 2020-05-16 19:44:46,867: DEBUG - Selecting previously unselected package libjson-glib-1.0-common.
  1605. 2020-05-16 19:44:46,867: DEBUG - Preparing to unpack .../32-libjson-glib-1.0-common_1.2.6-1_all.deb ...
  1606. 2020-05-16 19:44:46,868: DEBUG - Unpacking libjson-glib-1.0-common (1.2.6-1) ...
  1607. 2020-05-16 19:44:46,968: DEBUG - Selecting previously unselected package libjson-glib-1.0-0:amd64.
  1608. 2020-05-16 19:44:46,969: DEBUG - Preparing to unpack .../33-libjson-glib-1.0-0_1.2.6-1_amd64.deb ...
  1609. 2020-05-16 19:44:46,969: DEBUG - Unpacking libjson-glib-1.0-0:amd64 (1.2.6-1) ...
  1610. 2020-05-16 19:44:47,070: DEBUG - Selecting previously unselected package libsoup2.4-1:amd64.
  1611. 2020-05-16 19:44:47,071: DEBUG - Preparing to unpack .../34-libsoup2.4-1_2.56.0-2+deb9u2_amd64.deb ...
  1612. 2020-05-16 19:44:47,071: DEBUG - Unpacking libsoup2.4-1:amd64 (2.56.0-2+deb9u2) ...
  1613. 2020-05-16 19:44:47,172: DEBUG - Selecting previously unselected package libsoup-gnome2.4-1:amd64.
  1614. 2020-05-16 19:44:47,172: DEBUG - Preparing to unpack .../35-libsoup-gnome2.4-1_2.56.0-2+deb9u2_amd64.deb ...
  1615. 2020-05-16 19:44:47,173: DEBUG - Unpacking libsoup-gnome2.4-1:amd64 (2.56.0-2+deb9u2) ...
  1616. 2020-05-16 19:44:47,274: DEBUG - Selecting previously unselected package librest-0.7-0:amd64.
  1617. 2020-05-16 19:44:47,274: DEBUG - Preparing to unpack .../36-librest-0.7-0_0.8.0-2_amd64.deb ...
  1618. 2020-05-16 19:44:47,275: DEBUG - Unpacking librest-0.7-0:amd64 (0.8.0-2) ...
  1619. 2020-05-16 19:44:47,275: DEBUG - Selecting previously unselected package libgtk-3-0:amd64.
  1620. 2020-05-16 19:44:47,275: DEBUG - Preparing to unpack .../37-libgtk-3-0_3.22.11-1_amd64.deb ...
  1621. 2020-05-16 19:44:47,276: DEBUG - Unpacking libgtk-3-0:amd64 (3.22.11-1) ...
  1622. 2020-05-16 19:44:47,777: DEBUG - Selecting previously unselected package libgtk-3-bin.
  1623. 2020-05-16 19:44:47,778: DEBUG - Preparing to unpack .../38-libgtk-3-bin_3.22.11-1_amd64.deb ...
  1624. 2020-05-16 19:44:47,778: DEBUG - Unpacking libgtk-3-bin (3.22.11-1) ...
  1625. 2020-05-16 19:44:47,779: DEBUG - Selecting previously unselected package libgtk2.0-bin.
  1626. 2020-05-16 19:44:47,779: DEBUG - Preparing to unpack .../39-libgtk2.0-bin_2.24.31-2_amd64.deb ...
  1627. 2020-05-16 19:44:47,780: DEBUG - Unpacking libgtk2.0-bin (2.24.31-2) ...
  1628. 2020-05-16 19:44:47,880: DEBUG - Selecting previously unselected package notification-daemon.
  1629. 2020-05-16 19:44:47,880: DEBUG - Preparing to unpack .../40-notification-daemon_3.20.0-1+b1_amd64.deb ...
  1630. 2020-05-16 19:44:47,881: DEBUG - Unpacking notification-daemon (3.20.0-1+b1) ...
  1631. 2020-05-16 19:44:47,981: DEBUG - Setting up libnotify4:amd64 (0.7.7-2) ...
  1632. 2020-05-16 19:44:48,082: DEBUG - Setting up libjson-glib-1.0-common (1.2.6-1) ...
  1633. 2020-05-16 19:44:48,083: DEBUG - Setting up libgtk2.0-common (2.24.31-2) ...
  1634. 2020-05-16 19:44:48,084: DEBUG - Setting up glib-networking-common (2.50.0-1) ...
  1635. 2020-05-16 19:44:48,084: DEBUG - Setting up erlang-mode (1:22.3.2-1) ...
  1636. 2020-05-16 19:44:48,085: DEBUG - ERROR: erlang-mode is broken - called emacs-package-install as a new-style add-on, but has no compat file.
  1637. 2020-05-16 19:44:48,085: DEBUG - Install erlang-mode for emacs
  1638. 2020-05-16 19:44:48,185: DEBUG - Processing triggers for mime-support (3.60) ...
  1639. 2020-05-16 19:44:48,186: DEBUG - Setting up libsctp1:amd64 (1.0.17+dfsg-1+b1) ...
  1640. 2020-05-16 19:44:48,186: DEBUG - Setting up libatspi2.0-0:amd64 (2.22.0-6+deb9u1) ...
  1641. 2020-05-16 19:44:48,186: DEBUG - Setting up at-spi2-core (2.22.0-6+deb9u1) ...
  1642. 2020-05-16 19:44:48,186: DEBUG - Processing triggers for libglib2.0-0:amd64 (2.50.3-2+deb9u2) ...
  1643. 2020-05-16 19:44:48,287: DEBUG - Setting up libcairo-gobject2:amd64 (1.14.8-1) ...
  1644. 2020-05-16 19:44:48,288: DEBUG - Setting up libproxy1v5:amd64 (0.4.14-2) ...
  1645. 2020-05-16 19:44:48,288: DEBUG - Setting up glib-networking-services (2.50.0-1+b1) ...
  1646. 2020-05-16 19:44:48,288: DEBUG - Setting up libwxbase3.0-0v5:amd64 (3.0.2+dfsg-4) ...
  1647. 2020-05-16 19:44:48,389: DEBUG - Setting up libjson-glib-1.0-0:amd64 (1.2.6-1) ...
  1648. 2020-05-16 19:44:48,390: DEBUG - Setting up libatk1.0-data (2.22.0-1) ...
  1649. 2020-05-16 19:44:48,390: DEBUG - Setting up gtk-update-icon-cache (3.22.11-1) ...
  1650. 2020-05-16 19:44:48,390: DEBUG - Processing triggers for libc-bin (2.24-11+deb9u4) ...
  1651. 2020-05-16 19:44:48,390: DEBUG - Setting up libepoxy0:amd64 (1.3.1-2) ...
  1652. 2020-05-16 19:44:48,391: DEBUG - Setting up libatk1.0-0:amd64 (2.22.0-1) ...
  1653. 2020-05-16 19:44:48,491: DEBUG - Setting up libatk-bridge2.0-0:amd64 (2.22.0-2) ...
  1654. 2020-05-16 19:44:48,492: DEBUG - Setting up libdconf1:amd64 (0.26.0-2+b1) ...
  1655. 2020-05-16 19:44:48,492: DEBUG - Setting up libxcomposite1:amd64 (1:0.4.4-2) ...
  1656. 2020-05-16 19:44:48,493: DEBUG - Processing triggers for man-db (2.7.6.1-2) ...
  1657. 2020-05-16 19:44:48,794: DEBUG - Setting up libcolord2:amd64 (1.3.3-2) ...
  1658. 2020-05-16 19:44:48,794: DEBUG - Setting up adwaita-icon-theme (3.22.0-1+deb9u1) ...
  1659. 2020-05-16 19:44:48,895: DEBUG - update-alternatives: using /usr/share/icons/Adwaita/cursor.theme to provide /usr/share/icons/default/index.theme (x-cursor-theme) in auto mode
  1660. 2020-05-16 19:44:48,896: DEBUG - Setting up libgtk2.0-0:amd64 (2.24.31-2) ...
  1661. 2020-05-16 19:44:48,996: DEBUG - Setting up libgail18:amd64 (2.24.31-2) ...
  1662. 2020-05-16 19:44:48,997: DEBUG - Setting up dconf-service (0.26.0-2+b1) ...
  1663. 2020-05-16 19:44:48,997: DEBUG - Setting up libwxgtk3.0-0v5:amd64 (3.0.2+dfsg-4) ...
  1664. 2020-05-16 19:44:48,997: DEBUG - Setting up libgail-common:amd64 (2.24.31-2) ...
  1665. 2020-05-16 19:44:48,997: DEBUG - Setting up gnome-icon-theme (3.12.0-2) ...
  1666. 2020-05-16 19:44:48,998: DEBUG - update-alternatives: using /usr/share/icons/gnome/scalable/places/debian-swirl.svg to provide /usr/share/icons/gnome/scalable/places/start-here.svg (start-here.svg) in auto mode
  1667. 2020-05-16 19:44:49,098: DEBUG - Setting up esl-erlang (1:23.0-1) ...
  1668. 2020-05-16 19:44:49,099: DEBUG - Setting up elixir (1.10.3-1) ...
  1669. 2020-05-16 19:44:49,099: DEBUG - Setting up dconf-gsettings-backend:amd64 (0.26.0-2+b1) ...
  1670. 2020-05-16 19:44:49,099: DEBUG - Setting up libgtk2.0-bin (2.24.31-2) ...
  1671. 2020-05-16 19:44:49,099: DEBUG - Setting up gsettings-desktop-schemas (3.22.0-1) ...
  1672. 2020-05-16 19:44:49,100: DEBUG - Setting up libgtk-3-common (3.22.11-1) ...
  1673. 2020-05-16 19:44:49,100: DEBUG - Setting up glib-networking:amd64 (2.50.0-1+b1) ...
  1674. 2020-05-16 19:44:49,101: DEBUG - Setting up libsoup2.4-1:amd64 (2.56.0-2+deb9u2) ...
  1675. 2020-05-16 19:44:49,101: DEBUG - Setting up libsoup-gnome2.4-1:amd64 (2.56.0-2+deb9u2) ...
  1676. 2020-05-16 19:44:49,202: DEBUG - Setting up librest-0.7-0:amd64 (0.8.0-2) ...
  1677. 2020-05-16 19:44:49,202: DEBUG - Setting up libgtk-3-0:amd64 (3.22.11-1) ...
  1678. 2020-05-16 19:44:49,202: DEBUG - Setting up libgtk-3-bin (3.22.11-1) ...
  1679. 2020-05-16 19:44:49,303: DEBUG - Setting up notification-daemon (3.20.0-1+b1) ...
  1680. 2020-05-16 19:44:49,304: DEBUG - Processing triggers for libc-bin (2.24-11+deb9u4) ...
  1681. 2020-05-16 19:44:49,605: DEBUG - + [[ -n /tmp/tmp.X8rmkWrKPG ]]
  1682. 2020-05-16 19:44:49,605: DEBUG - + rm -rf /tmp/tmp.X8rmkWrKPG
  1683. 2020-05-16 19:44:49,605: DEBUG - + ynh_package_is_installed mobilizon-ynh-deps
  1684. 2020-05-16 19:44:49,606: DEBUG - + local legacy_args=p
  1685. 2020-05-16 19:44:49,606: DEBUG - + args_array=([p]=package=)
  1686. 2020-05-16 19:44:49,606: DEBUG - + declare -Ar args_array
  1687. 2020-05-16 19:44:49,607: DEBUG - + local package
  1688. 2020-05-16 19:44:49,607: DEBUG - + ynh_handle_getopts_args mobilizon-ynh-deps
  1689. 2020-05-16 19:44:49,607: DEBUG - + set +x
  1690. 2020-05-16 19:44:49,607: DEBUG - + echo '! Helper used in legacy mode !'
  1691. 2020-05-16 19:44:49,608: DEBUG - + set +x
  1692. 2020-05-16 19:44:49,608: DEBUG - + ynh_wait_dpkg_free
  1693. 2020-05-16 19:44:49,608: DEBUG - + local try
  1694. 2020-05-16 19:44:49,608: DEBUG - ++ seq 1 17
  1695. 2020-05-16 19:44:49,609: DEBUG - + for try in `seq 1 17`
  1696. 2020-05-16 19:44:49,609: DEBUG - + lsof /var/lib/dpkg/lock
  1697. 2020-05-16 19:44:49,710: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
  1698. 2020-05-16 19:44:49,710: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
  1699. 2020-05-16 19:44:49,710: DEBUG - + read dpkg_file
  1700. 2020-05-16 19:44:49,710: DEBUG - + grep -Pq '^[[:digit:]]+$'
  1701. 2020-05-16 19:44:49,711: DEBUG - + echo ''
  1702. 2020-05-16 19:44:49,711: DEBUG - + read dpkg_file
  1703. 2020-05-16 19:44:49,711: DEBUG - + return 0
  1704. 2020-05-16 19:44:49,711: DEBUG - + grep -c 'ok installed'
  1705. 2020-05-16 19:44:49,712: DEBUG - + dpkg-query -W -f '${Status}' mobilizon-ynh-deps
  1706. 2020-05-16 19:44:49,712: DEBUG - + rm /tmp/mobilizon-ynh-deps.control
  1707. 2020-05-16 19:44:49,712: DEBUG - + ynh_app_setting_set --app=mobilizon --key=apt_dependencies '--value=build-essential,, inotify-tools,, postgresql,, postgresql-client,, postgresql-contrib,, git,, curl,, gnupg,, openssl,, postgis,, make,, gcc,, libc-dev,, argon2,, imagemagick,, yarn, elixir, esl-erlang'
  1708. 2020-05-16 19:44:49,712: DEBUG - + local legacy_args=akv
  1709. 2020-05-16 19:44:49,713: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
  1710. 2020-05-16 19:44:49,713: DEBUG - + declare -Ar args_array
  1711. 2020-05-16 19:44:49,713: DEBUG - + local app
  1712. 2020-05-16 19:44:49,713: DEBUG - + local key
  1713. 2020-05-16 19:44:49,714: DEBUG - + local value
  1714. 2020-05-16 19:44:49,714: DEBUG - + ynh_handle_getopts_args --app=mobilizon --key=apt_dependencies '--value=build-essential,, inotify-tools,, postgresql,, postgresql-client,, postgresql-contrib,, git,, curl,, gnupg,, openssl,, postgis,, make,, gcc,, libc-dev,, argon2,, imagemagick,, yarn, elixir, esl-erlang'
  1715. 2020-05-16 19:44:49,714: DEBUG - + set +x
  1716. 2020-05-16 19:44:49,714: DEBUG - + ynh_app_setting set mobilizon apt_dependencies 'build-essential,, inotify-tools,, postgresql,, postgresql-client,, postgresql-contrib,, git,, curl,, gnupg,, openssl,, postgis,, make,, gcc,, libc-dev,, argon2,, imagemagick,, yarn, elixir, esl-erlang'
  1717. 2020-05-16 19:44:49,714: DEBUG - + [[ set == \d\e\l\e\t\e ]]
  1718. 2020-05-16 19:44:49,715: DEBUG - + ACTION=set
  1719. 2020-05-16 19:44:49,715: DEBUG - + APP=mobilizon
  1720. 2020-05-16 19:44:49,715: DEBUG - + KEY=apt_dependencies
  1721. 2020-05-16 19:44:49,720: DEBUG - + VALUE='build-essential,, inotify-tools,, postgresql,, postgresql-client,, postgresql-contrib,, git,, curl,, gnupg,, openssl,, postgis,, make,, gcc,, libc-dev,, argon2,, imagemagick,, yarn, elixir, esl-erlang'
  1722. 2020-05-16 19:44:49,720: DEBUG - + python2.7 -
  1723. 2020-05-16 19:44:49,921: DEBUG - + [[ apt_dependencies =~ ^(unprotected|skipped)_ ]]
  1724. 2020-05-16 19:44:49,921: DEBUG - + ynh_remove_extra_repo --name=mobilizon
  1725. 2020-05-16 19:44:49,921: DEBUG - + local legacy_args=n
  1726. 2020-05-16 19:44:49,922: DEBUG - + args_array=([n]=name=)
  1727. 2020-05-16 19:44:49,922: DEBUG - + declare -Ar args_array
  1728. 2020-05-16 19:44:49,922: DEBUG - + local name
  1729. 2020-05-16 19:44:49,923: DEBUG - + ynh_handle_getopts_args --name=mobilizon
  1730. 2020-05-16 19:44:49,923: DEBUG - + set +x
  1731. 2020-05-16 19:44:49,923: DEBUG - + name=mobilizon
  1732. 2020-05-16 19:44:49,924: DEBUG - + ynh_secure_remove --file=/etc/apt/sources.list.d/mobilizon.list
  1733. 2020-05-16 19:44:49,924: DEBUG - + local legacy_args=f
  1734. 2020-05-16 19:44:49,924: DEBUG - + args_array=([f]=file=)
  1735. 2020-05-16 19:44:49,925: DEBUG - + declare -Ar args_array
  1736. 2020-05-16 19:44:49,925: DEBUG - + local file
  1737. 2020-05-16 19:44:49,925: DEBUG - + ynh_handle_getopts_args --file=/etc/apt/sources.list.d/mobilizon.list
  1738. 2020-05-16 19:44:49,925: DEBUG - + set +x
  1739. 2020-05-16 19:44:49,926: DEBUG - + local 'forbidden_path= /var/www /home/yunohost.app'
  1740. 2020-05-16 19:44:49,926: DEBUG - + '[' 1 -ge 2 ']'
  1741. 2020-05-16 19:44:49,926: DEBUG - + [[ -z /etc/apt/sources.list.d/mobilizon.list ]]
  1742. 2020-05-16 19:44:49,927: DEBUG - + [[ /var/www /home/yunohost.app =~ /etc/apt/sources\.list\.d/mobilizon\.list ]]
  1743. 2020-05-16 19:44:49,927: DEBUG - + [[ /etc/apt/sources.list.d/mobilizon.list =~ ^/[[:alnum:]]+$ ]]
  1744. 2020-05-16 19:44:49,927: DEBUG - + [[ t = \/ ]]
  1745. 2020-05-16 19:44:49,932: DEBUG - + '[' -e /etc/apt/sources.list.d/mobilizon.list ']'
  1746. 2020-05-16 19:44:49,932: DEBUG - + rm -R /etc/apt/sources.list.d/mobilizon.list
  1747. 2020-05-16 19:44:49,932: DEBUG - + ynh_secure_remove --file=/etc/apt/preferences.d/mobilizon
  1748. 2020-05-16 19:44:49,932: DEBUG - + local legacy_args=f
  1749. 2020-05-16 19:44:49,933: DEBUG - + args_array=([f]=file=)
  1750. 2020-05-16 19:44:49,933: DEBUG - + declare -Ar args_array
  1751. 2020-05-16 19:44:49,933: DEBUG - + local file
  1752. 2020-05-16 19:44:49,934: DEBUG - + ynh_handle_getopts_args --file=/etc/apt/preferences.d/mobilizon
  1753. 2020-05-16 19:44:49,934: DEBUG - + set +x
  1754. 2020-05-16 19:44:49,934: DEBUG - + local 'forbidden_path= /var/www /home/yunohost.app'
  1755. 2020-05-16 19:44:49,934: DEBUG - + '[' 1 -ge 2 ']'
  1756. 2020-05-16 19:44:49,934: DEBUG - + [[ -z /etc/apt/preferences.d/mobilizon ]]
  1757. 2020-05-16 19:44:49,935: DEBUG - + [[ /var/www /home/yunohost.app =~ /etc/apt/preferences\.d/mobilizon ]]
  1758. 2020-05-16 19:44:49,935: DEBUG - + [[ /etc/apt/preferences.d/mobilizon =~ ^/[[:alnum:]]+$ ]]
  1759. 2020-05-16 19:44:49,935: DEBUG - + [[ n = \/ ]]
  1760. 2020-05-16 19:44:49,944: INFO - '/etc/apt/trusted.gpg.d/mobilizon.asc' wasn't deleted because it doesn't exist.
  1761. 2020-05-16 19:44:49,945: DEBUG - + '[' -e /etc/apt/preferences.d/mobilizon ']'
  1762. 2020-05-16 19:44:49,945: DEBUG - + rm -R /etc/apt/preferences.d/mobilizon
  1763. 2020-05-16 19:44:49,946: DEBUG - + ynh_secure_remove --file=/etc/apt/trusted.gpg.d/mobilizon.gpg
  1764. 2020-05-16 19:44:49,946: DEBUG - + local legacy_args=f
  1765. 2020-05-16 19:44:49,946: DEBUG - + args_array=([f]=file=)
  1766. 2020-05-16 19:44:49,947: DEBUG - + declare -Ar args_array
  1767. 2020-05-16 19:44:49,947: DEBUG - + local file
  1768. 2020-05-16 19:44:49,952: DEBUG - + ynh_handle_getopts_args --file=/etc/apt/trusted.gpg.d/mobilizon.gpg
  1769. 2020-05-16 19:44:49,952: DEBUG - + set +x
  1770. 2020-05-16 19:44:49,953: DEBUG - + local 'forbidden_path= /var/www /home/yunohost.app'
  1771. 2020-05-16 19:44:49,953: DEBUG - + '[' 1 -ge 2 ']'
  1772. 2020-05-16 19:44:49,954: DEBUG - + [[ -z /etc/apt/trusted.gpg.d/mobilizon.gpg ]]
  1773. 2020-05-16 19:44:49,954: DEBUG - + [[ /var/www /home/yunohost.app =~ /etc/apt/trusted\.gpg\.d/mobilizon\.gpg ]]
  1774. 2020-05-16 19:44:49,954: DEBUG - + [[ /etc/apt/trusted.gpg.d/mobilizon.gpg =~ ^/[[:alnum:]]+$ ]]
  1775. 2020-05-16 19:44:49,955: DEBUG - + [[ g = \/ ]]
  1776. 2020-05-16 19:44:49,955: DEBUG - + '[' -e /etc/apt/trusted.gpg.d/mobilizon.gpg ']'
  1777. 2020-05-16 19:44:49,960: DEBUG - + rm -R /etc/apt/trusted.gpg.d/mobilizon.gpg
  1778. 2020-05-16 19:44:49,960: DEBUG - + ynh_secure_remove --file=/etc/apt/trusted.gpg.d/mobilizon.asc
  1779. 2020-05-16 19:44:49,960: DEBUG - + local legacy_args=f
  1780. 2020-05-16 19:44:49,961: DEBUG - + args_array=([f]=file=)
  1781. 2020-05-16 19:44:49,961: DEBUG - + declare -Ar args_array
  1782. 2020-05-16 19:44:49,962: DEBUG - + local file
  1783. 2020-05-16 19:44:49,962: DEBUG - + ynh_handle_getopts_args --file=/etc/apt/trusted.gpg.d/mobilizon.asc
  1784. 2020-05-16 19:44:49,962: DEBUG - + set +x
  1785. 2020-05-16 19:44:49,963: DEBUG - + local 'forbidden_path= /var/www /home/yunohost.app'
  1786. 2020-05-16 19:44:49,963: DEBUG - + '[' 1 -ge 2 ']'
  1787. 2020-05-16 19:44:49,963: DEBUG - + [[ -z /etc/apt/trusted.gpg.d/mobilizon.asc ]]
  1788. 2020-05-16 19:44:49,968: DEBUG - + [[ /var/www /home/yunohost.app =~ /etc/apt/trusted\.gpg\.d/mobilizon\.asc ]]
  1789. 2020-05-16 19:44:49,968: DEBUG - + [[ /etc/apt/trusted.gpg.d/mobilizon.asc =~ ^/[[:alnum:]]+$ ]]
  1790. 2020-05-16 19:44:49,968: DEBUG - + [[ c = \/ ]]
  1791. 2020-05-16 19:44:49,969: DEBUG - + '[' -e /etc/apt/trusted.gpg.d/mobilizon.asc ']'
  1792. 2020-05-16 19:44:49,969: DEBUG - + ynh_print_info '--message='\''/etc/apt/trusted.gpg.d/mobilizon.asc'\'' wasn'\''t deleted because it doesn'\''t exist.'
  1793. 2020-05-16 19:44:49,969: DEBUG - + local legacy_args=m
  1794. 2020-05-16 19:44:49,970: DEBUG - + args_array=([m]=message=)
  1795. 2020-05-16 19:44:49,970: DEBUG - + declare -Ar args_array
  1796. 2020-05-16 19:44:49,970: DEBUG - + local message
  1797. 2020-05-16 19:44:49,971: DEBUG - + ynh_handle_getopts_args '--message='\''/etc/apt/trusted.gpg.d/mobilizon.asc'\'' wasn'\''t deleted because it doesn'\''t exist.'
  1798. 2020-05-16 19:44:49,971: DEBUG - + set +x
  1799. 2020-05-16 19:44:49,975: DEBUG - + echo ''\''/etc/apt/trusted.gpg.d/mobilizon.asc'\'' wasn'\''t deleted because it doesn'\''t exist.'
  1800. 2020-05-16 19:44:49,976: DEBUG - + ynh_package_update
  1801. 2020-05-16 19:44:49,976: DEBUG - + ynh_apt update
  1802. 2020-05-16 19:44:49,976: DEBUG - + ynh_wait_dpkg_free
  1803. 2020-05-16 19:44:49,977: DEBUG - + local try
  1804. 2020-05-16 19:44:49,977: DEBUG - ++ seq 1 17
  1805. 2020-05-16 19:44:49,977: DEBUG - + for try in `seq 1 17`
  1806. 2020-05-16 19:44:49,977: DEBUG - + lsof /var/lib/dpkg/lock
  1807. 2020-05-16 19:44:50,078: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
  1808. 2020-05-16 19:44:50,079: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
  1809. 2020-05-16 19:44:50,079: DEBUG - + read dpkg_file
  1810. 2020-05-16 19:44:50,080: DEBUG - + grep -Pq '^[[:digit:]]+$'
  1811. 2020-05-16 19:44:50,080: DEBUG - + echo ''
  1812. 2020-05-16 19:44:50,080: DEBUG - + read dpkg_file
  1813. 2020-05-16 19:44:50,081: DEBUG - + return 0
  1814. 2020-05-16 19:44:50,081: DEBUG - + LC_ALL=C
  1815. 2020-05-16 19:44:50,081: DEBUG - + DEBIAN_FRONTEND=noninteractive
  1816. 2020-05-16 19:44:50,081: DEBUG - + apt-get -y update
  1817. 2020-05-16 19:44:50,282: DEBUG - Ign:1 http://ftp.tr.debian.org/debian stretch InRelease
  1818. 2020-05-16 19:44:50,283: DEBUG - Hit:2 http://ftp.tr.debian.org/debian stretch-updates InRelease
  1819. 2020-05-16 19:44:50,283: DEBUG - Hit:3 http://security.debian.org/debian-security stretch/updates InRelease
  1820. 2020-05-16 19:44:50,283: DEBUG - Hit:4 http://ftp.tr.debian.org/debian stretch Release
  1821. 2020-05-16 19:44:50,384: DEBUG - Hit:5 http://forge.yunohost.org/debian stretch InRelease
  1822. 2020-05-16 19:44:52,189: DEBUG - Reading package lists...
  1823. 2020-05-16 19:44:52,290: DEBUG - + ynh_print_info '--message=Creating a PostgreSQL database...'
  1824. 2020-05-16 19:44:52,290: DEBUG - + local legacy_args=m
  1825. 2020-05-16 19:44:52,290: DEBUG - + args_array=([m]=message=)
  1826. 2020-05-16 19:44:52,291: DEBUG - + declare -Ar args_array
  1827. 2020-05-16 19:44:52,291: DEBUG - + local message
  1828. 2020-05-16 19:44:52,291: DEBUG - + ynh_handle_getopts_args '--message=Creating a PostgreSQL database...'
  1829. 2020-05-16 19:44:52,292: DEBUG - + set +x
  1830. 2020-05-16 19:44:52,292: DEBUG - + echo 'Creating a PostgreSQL database...'
  1831. 2020-05-16 19:44:52,292: DEBUG - ++ ynh_sanitize_dbid --db_name=mobilizon
  1832. 2020-05-16 19:44:52,293: DEBUG - ++ local legacy_args=n
  1833. 2020-05-16 19:44:52,293: DEBUG - ++ args_array=([n]=db_name=)
  1834. 2020-05-16 19:44:52,293: DEBUG - ++ declare -Ar args_array
  1835. 2020-05-16 19:44:52,293: DEBUG - ++ local db_name
  1836. 2020-05-16 19:44:52,294: DEBUG - ++ ynh_handle_getopts_args --db_name=mobilizon
  1837. 2020-05-16 19:44:52,294: DEBUG - ++ set +x
  1838. 2020-05-16 19:44:52,294: DEBUG - ++ echo mobilizon
  1839. 2020-05-16 19:44:52,294: DEBUG - + db_name=mobilizon
  1840. 2020-05-16 19:44:52,294: DEBUG - + db_user=mobilizon
  1841. 2020-05-16 19:44:52,295: DEBUG - ++ ynh_string_random --length=30
  1842. 2020-05-16 19:44:52,295: DEBUG - ++ local legacy_args=l
  1843. 2020-05-16 19:44:52,295: DEBUG - ++ args_array=([l]=length=)
  1844. 2020-05-16 19:44:52,298: INFO - Creating a PostgreSQL database...
  1845. 2020-05-16 19:44:52,299: DEBUG - ++ declare -Ar args_array
  1846. 2020-05-16 19:44:52,300: DEBUG - ++ local length
  1847. 2020-05-16 19:44:52,300: DEBUG - ++ ynh_handle_getopts_args --length=30
  1848. 2020-05-16 19:44:52,300: DEBUG - ++ set +x
  1849. 2020-05-16 19:44:52,301: DEBUG - ++ length=30
  1850. 2020-05-16 19:44:52,301: DEBUG - ++ sed -n 's/\(.\{30\}\).*/\1/p'
  1851. 2020-05-16 19:44:52,301: DEBUG - ++ tr -c -d A-Za-z0-9
  1852. 2020-05-16 19:44:52,301: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
  1853. 2020-05-16 19:44:52,301: DEBUG - + db_pwd=**********
  1854. 2020-05-16 19:44:52,302: DEBUG - + ynh_app_setting_set --app=mobilizon --key=db_name --value=mobilizon
  1855. 2020-05-16 19:44:52,302: DEBUG - + local legacy_args=akv
  1856. 2020-05-16 19:44:52,303: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
  1857. 2020-05-16 19:44:52,303: DEBUG - + declare -Ar args_array
  1858. 2020-05-16 19:44:52,303: DEBUG - + local app
  1859. 2020-05-16 19:44:52,308: DEBUG - + local key
  1860. 2020-05-16 19:44:52,308: DEBUG - + local value
  1861. 2020-05-16 19:44:52,311: DEBUG - + ynh_handle_getopts_args --app=mobilizon --key=db_name --value=mobilizon
  1862. 2020-05-16 19:44:52,312: DEBUG - + set +x
  1863. 2020-05-16 19:44:52,312: DEBUG - + ynh_app_setting set mobilizon db_name mobilizon
  1864. 2020-05-16 19:44:52,312: DEBUG - + [[ set == \d\e\l\e\t\e ]]
  1865. 2020-05-16 19:44:52,313: DEBUG - + ACTION=set
  1866. 2020-05-16 19:44:52,313: DEBUG - + APP=mobilizon
  1867. 2020-05-16 19:44:52,313: DEBUG - + KEY=db_name
  1868. 2020-05-16 19:44:52,313: DEBUG - + VALUE=mobilizon
  1869. 2020-05-16 19:44:52,313: DEBUG - + python2.7 -
  1870. 2020-05-16 19:44:52,514: DEBUG - + [[ db_name =~ ^(unprotected|skipped)_ ]]
  1871. 2020-05-16 19:44:52,515: DEBUG - + ynh_app_setting_set --app=mobilizon --key=db_pwd --value=**********
  1872. 2020-05-16 19:44:52,515: DEBUG - + local legacy_args=akv
  1873. 2020-05-16 19:44:52,516: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
  1874. 2020-05-16 19:44:52,516: DEBUG - + declare -Ar args_array
  1875. 2020-05-16 19:44:52,517: DEBUG - + local app
  1876. 2020-05-16 19:44:52,517: DEBUG - + local key
  1877. 2020-05-16 19:44:52,517: DEBUG - + local value
  1878. 2020-05-16 19:44:52,518: DEBUG - + ynh_handle_getopts_args --app=mobilizon --key=db_pwd --value=**********
  1879. 2020-05-16 19:44:52,518: DEBUG - + set +x
  1880. 2020-05-16 19:44:52,518: DEBUG - + ynh_app_setting set mobilizon db_pwd **********
  1881. 2020-05-16 19:44:52,519: DEBUG - + [[ set == \d\e\l\e\t\e ]]
  1882. 2020-05-16 19:44:52,519: DEBUG - + ACTION=set
  1883. 2020-05-16 19:44:52,524: DEBUG - + APP=mobilizon
  1884. 2020-05-16 19:44:52,524: DEBUG - + KEY=db_pwd
  1885. 2020-05-16 19:44:52,524: DEBUG - + VALUE=**********
  1886. 2020-05-16 19:44:52,524: DEBUG - + python2.7 -
  1887. 2020-05-16 19:44:52,728: DEBUG - + [[ db_pwd =~ ^(unprotected|skipped)_ ]]
  1888. 2020-05-16 19:44:52,729: DEBUG - + ynh_psql_test_if_first_run
  1889. 2020-05-16 19:44:52,729: DEBUG - + '[' -f /etc/yunohost/psql ']'
  1890. 2020-05-16 19:44:52,730: DEBUG - + echo 'PostgreSQL is already installed, no need to create master password'
  1891. 2020-05-16 19:44:52,730: DEBUG - PostgreSQL is already installed, no need to create master password
  1892. 2020-05-16 19:44:52,730: DEBUG - + ynh_psql_setup_db --db_user=mobilizon --db_name=mobilizon --db_pwd=**********
  1893. 2020-05-16 19:44:52,731: DEBUG - + local legacy_args=unp
  1894. 2020-05-16 19:44:52,731: DEBUG - + args_array=([u]=db_user= [n]=db_name= [p]=db_pwd=)
  1895. 2020-05-16 19:44:52,736: DEBUG - + declare -Ar args_array
  1896. 2020-05-16 19:44:52,737: DEBUG - + local db_user
  1897. 2020-05-16 19:44:52,737: DEBUG - + local db_name
  1898. 2020-05-16 19:44:52,738: DEBUG - + db_pwd=
  1899. 2020-05-16 19:44:52,738: DEBUG - + ynh_handle_getopts_args --db_user=mobilizon --db_name=mobilizon --db_pwd=**********
  1900. 2020-05-16 19:44:52,738: DEBUG - + set +x
  1901. 2020-05-16 19:44:52,739: DEBUG - ++ ynh_string_random
  1902. 2020-05-16 19:44:52,739: DEBUG - ++ local legacy_args=l
  1903. 2020-05-16 19:44:52,742: DEBUG - ++ args_array=([l]=length=)
  1904. 2020-05-16 19:44:52,742: DEBUG - ++ declare -Ar args_array
  1905. 2020-05-16 19:44:52,743: DEBUG - ++ local length
  1906. 2020-05-16 19:44:52,743: DEBUG - ++ ynh_handle_getopts_args
  1907. 2020-05-16 19:44:52,751: DEBUG - ++ set +x
  1908. 2020-05-16 19:44:52,752: DEBUG - ++ length=24
  1909. 2020-05-16 19:44:52,752: DEBUG - ++ sed -n 's/\(.\{24\}\).*/\1/p'
  1910. 2020-05-16 19:44:52,753: DEBUG - ++ tr -c -d A-Za-z0-9
  1911. 2020-05-16 19:44:52,753: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
  1912. 2020-05-16 19:44:52,753: DEBUG - + local new_db_pwd=**********
  1913. 2020-05-16 19:44:52,754: DEBUG - + db_pwd=**********
  1914. 2020-05-16 19:44:52,754: DEBUG - + ynh_psql_user_exists --user=mobilizon
  1915. 2020-05-16 19:44:52,754: DEBUG - + local legacy_args=u
  1916. 2020-05-16 19:44:52,755: DEBUG - + args_array=([u]=user=)
  1917. 2020-05-16 19:44:52,755: DEBUG - + declare -Ar args_array
  1918. 2020-05-16 19:44:52,758: DEBUG - + local user
  1919. 2020-05-16 19:44:52,759: DEBUG - + ynh_handle_getopts_args --user=mobilizon
  1920. 2020-05-16 19:44:52,760: DEBUG - + set +x
  1921. 2020-05-16 19:44:52,760: DEBUG - + grep --quiet mobilizon
  1922. 2020-05-16 19:44:52,761: DEBUG - ++ cat /etc/yunohost/psql
  1923. 2020-05-16 19:44:52,761: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql -tAc 'SELECT rolname FROM pg_roles WHERE rolname='\''mobilizon'\'';'
  1924. 2020-05-16 19:44:52,962: DEBUG - + return 1
  1925. 2020-05-16 19:44:52,963: DEBUG - + ynh_psql_create_user mobilizon **********
  1926. 2020-05-16 19:44:52,963: DEBUG - + local user=mobilizon
  1927. 2020-05-16 19:44:52,963: DEBUG - + local pwd=**********
  1928. 2020-05-16 19:44:52,964: DEBUG - + ynh_psql_execute_as_root '--sql=CREATE USER mobilizon WITH ENCRYPTED PASSWORD '\''**********'\'''
  1929. 2020-05-16 19:44:52,964: DEBUG - + local legacy_args=sd
  1930. 2020-05-16 19:44:52,964: DEBUG - + args_array=([s]=sql= [d]=database=)
  1931. 2020-05-16 19:44:52,965: DEBUG - + declare -Ar args_array
  1932. 2020-05-16 19:44:52,965: DEBUG - + local sql
  1933. 2020-05-16 19:44:52,965: DEBUG - + local database
  1934. 2020-05-16 19:44:52,965: DEBUG - + ynh_handle_getopts_args '--sql=CREATE USER mobilizon WITH ENCRYPTED PASSWORD '\''**********'\'''
  1935. 2020-05-16 19:44:52,965: DEBUG - + set +x
  1936. 2020-05-16 19:44:52,966: DEBUG - + database=
  1937. 2020-05-16 19:44:52,966: DEBUG - ++ cat /etc/yunohost/psql
  1938. 2020-05-16 19:44:52,966: DEBUG - + ynh_psql_connect_as --user=postgres --password=********** --database=
  1939. 2020-05-16 19:44:52,966: DEBUG - + local legacy_args=upd
  1940. 2020-05-16 19:44:52,966: DEBUG - + args_array=([u]=user= [p]=password= [d]=database=)
  1941. 2020-05-16 19:44:52,967: DEBUG - + declare -Ar args_array
  1942. 2020-05-16 19:44:52,967: DEBUG - + local user
  1943. 2020-05-16 19:44:52,967: DEBUG - + local password
  1944. 2020-05-16 19:44:52,972: DEBUG - + local database
  1945. 2020-05-16 19:44:52,972: DEBUG - + ynh_handle_getopts_args --user=postgres --password=********** --database=
  1946. 2020-05-16 19:44:52,972: DEBUG - + set +x
  1947. 2020-05-16 19:44:52,972: DEBUG - + database=
  1948. 2020-05-16 19:44:52,973: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql ''
  1949. 2020-05-16 19:44:53,074: DEBUG - CREATE ROLE
  1950. 2020-05-16 19:44:53,075: DEBUG - + ynh_psql_create_db mobilizon mobilizon
  1951. 2020-05-16 19:44:53,075: DEBUG - + local db=mobilizon
  1952. 2020-05-16 19:44:53,078: DEBUG - + local user=mobilizon
  1953. 2020-05-16 19:44:53,078: DEBUG - + local 'sql=CREATE DATABASE mobilizon;'
  1954. 2020-05-16 19:44:53,078: DEBUG - + '[' -n mobilizon ']'
  1955. 2020-05-16 19:44:53,079: DEBUG - + sql+='GRANT ALL PRIVILEGES ON DATABASE mobilizon TO mobilizon WITH GRANT OPTION;'
  1956. 2020-05-16 19:44:53,079: DEBUG - + ynh_psql_execute_as_root '--sql=CREATE DATABASE mobilizon;GRANT ALL PRIVILEGES ON DATABASE mobilizon TO mobilizon WITH GRANT OPTION;'
  1957. 2020-05-16 19:44:53,079: DEBUG - + local legacy_args=sd
  1958. 2020-05-16 19:44:53,079: DEBUG - + args_array=([s]=sql= [d]=database=)
  1959. 2020-05-16 19:44:53,080: DEBUG - + declare -Ar args_array
  1960. 2020-05-16 19:44:53,080: DEBUG - + local sql
  1961. 2020-05-16 19:44:53,080: DEBUG - + local database
  1962. 2020-05-16 19:44:53,080: DEBUG - + ynh_handle_getopts_args '--sql=CREATE DATABASE mobilizon;GRANT ALL PRIVILEGES ON DATABASE mobilizon TO mobilizon WITH GRANT OPTION;'
  1963. 2020-05-16 19:44:53,081: DEBUG - + set +x
  1964. 2020-05-16 19:44:53,081: DEBUG - + database=
  1965. 2020-05-16 19:44:53,081: DEBUG - ++ cat /etc/yunohost/psql
  1966. 2020-05-16 19:44:53,081: DEBUG - + ynh_psql_connect_as --user=postgres --password=********** --database=
  1967. 2020-05-16 19:44:53,082: DEBUG - + local legacy_args=upd
  1968. 2020-05-16 19:44:53,082: DEBUG - + args_array=([u]=user= [p]=password= [d]=database=)
  1969. 2020-05-16 19:44:53,082: DEBUG - + declare -Ar args_array
  1970. 2020-05-16 19:44:53,082: DEBUG - + local user
  1971. 2020-05-16 19:44:53,083: DEBUG - + local password
  1972. 2020-05-16 19:44:53,083: DEBUG - + local database
  1973. 2020-05-16 19:44:53,086: DEBUG - + ynh_handle_getopts_args --user=postgres --password=********** --database=
  1974. 2020-05-16 19:44:53,087: DEBUG - + set +x
  1975. 2020-05-16 19:44:53,087: DEBUG - + database=
  1976. 2020-05-16 19:44:53,087: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql ''
  1977. 2020-05-16 19:44:53,490: DEBUG - CREATE DATABASE
  1978. 2020-05-16 19:44:53,490: DEBUG - GRANT
  1979. 2020-05-16 19:44:53,490: DEBUG - + ynh_app_setting_set --app=mobilizon --key=psqlpwd --value=**********
  1980. 2020-05-16 19:44:53,491: DEBUG - + local legacy_args=akv
  1981. 2020-05-16 19:44:53,491: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
  1982. 2020-05-16 19:44:53,492: DEBUG - + declare -Ar args_array
  1983. 2020-05-16 19:44:53,492: DEBUG - + local app
  1984. 2020-05-16 19:44:53,492: DEBUG - + local key
  1985. 2020-05-16 19:44:53,493: DEBUG - + local value
  1986. 2020-05-16 19:44:53,493: DEBUG - + ynh_handle_getopts_args --app=mobilizon --key=psqlpwd --value=**********
  1987. 2020-05-16 19:44:53,493: DEBUG - + set +x
  1988. 2020-05-16 19:44:53,494: DEBUG - + ynh_app_setting set mobilizon psqlpwd **********
  1989. 2020-05-16 19:44:53,494: DEBUG - + [[ set == \d\e\l\e\t\e ]]
  1990. 2020-05-16 19:44:53,494: DEBUG - + ACTION=set
  1991. 2020-05-16 19:44:53,495: DEBUG - + APP=mobilizon
  1992. 2020-05-16 19:44:53,495: DEBUG - + KEY=psqlpwd
  1993. 2020-05-16 19:44:53,500: DEBUG - + VALUE=**********
  1994. 2020-05-16 19:44:53,500: DEBUG - + python2.7 -
  1995. 2020-05-16 19:44:53,701: DEBUG - + [[ psqlpwd =~ ^(unprotected|skipped)_ ]]
  1996. 2020-05-16 19:44:53,702: DEBUG - + ynh_psql_execute_as_root '--sql=CREATE EXTENSION IF NOT EXISTS postgis;' --database=mobilizon
  1997. 2020-05-16 19:44:53,702: DEBUG - + local legacy_args=sd
  1998. 2020-05-16 19:44:53,702: DEBUG - + args_array=([s]=sql= [d]=database=)
  1999. 2020-05-16 19:44:53,703: DEBUG - + declare -Ar args_array
  2000. 2020-05-16 19:44:53,703: DEBUG - + local sql
  2001. 2020-05-16 19:44:53,704: DEBUG - + local database
  2002. 2020-05-16 19:44:53,704: DEBUG - + ynh_handle_getopts_args '--sql=CREATE EXTENSION IF NOT EXISTS postgis;' --database=mobilizon
  2003. 2020-05-16 19:44:53,705: DEBUG - + set +x
  2004. 2020-05-16 19:44:53,705: DEBUG - + database=mobilizon
  2005. 2020-05-16 19:44:53,705: DEBUG - ++ cat /etc/yunohost/psql
  2006. 2020-05-16 19:44:53,706: DEBUG - + ynh_psql_connect_as --user=postgres --password=********** --database=mobilizon
  2007. 2020-05-16 19:44:53,706: DEBUG - + local legacy_args=upd
  2008. 2020-05-16 19:44:53,706: DEBUG - + args_array=([u]=user= [p]=password= [d]=database=)
  2009. 2020-05-16 19:44:53,707: DEBUG - + declare -Ar args_array
  2010. 2020-05-16 19:44:53,707: DEBUG - + local user
  2011. 2020-05-16 19:44:53,715: DEBUG - + local password
  2012. 2020-05-16 19:44:53,716: DEBUG - + local database
  2013. 2020-05-16 19:44:53,717: DEBUG - + ynh_handle_getopts_args --user=postgres --password=********** --database=mobilizon
  2014. 2020-05-16 19:44:53,717: DEBUG - + set +x
  2015. 2020-05-16 19:44:53,717: DEBUG - + database=mobilizon
  2016. 2020-05-16 19:44:53,718: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql mobilizon
  2017. 2020-05-16 19:44:56,425: DEBUG - CREATE EXTENSION
  2018. 2020-05-16 19:44:56,526: DEBUG - + ynh_psql_execute_as_root '--sql=CREATE EXTENSION IF NOT EXISTS pg_trgm;' --database=mobilizon
  2019. 2020-05-16 19:44:56,526: DEBUG - + local legacy_args=sd
  2020. 2020-05-16 19:44:56,527: DEBUG - + args_array=([s]=sql= [d]=database=)
  2021. 2020-05-16 19:44:56,527: DEBUG - + declare -Ar args_array
  2022. 2020-05-16 19:44:56,527: DEBUG - + local sql
  2023. 2020-05-16 19:44:56,528: DEBUG - + local database
  2024. 2020-05-16 19:44:56,528: DEBUG - + ynh_handle_getopts_args '--sql=CREATE EXTENSION IF NOT EXISTS pg_trgm;' --database=mobilizon
  2025. 2020-05-16 19:44:56,528: DEBUG - + set +x
  2026. 2020-05-16 19:44:56,528: DEBUG - + database=mobilizon
  2027. 2020-05-16 19:44:56,528: DEBUG - ++ cat /etc/yunohost/psql
  2028. 2020-05-16 19:44:56,529: DEBUG - + ynh_psql_connect_as --user=postgres --password=********** --database=mobilizon
  2029. 2020-05-16 19:44:56,529: DEBUG - + local legacy_args=upd
  2030. 2020-05-16 19:44:56,529: DEBUG - + args_array=([u]=user= [p]=password= [d]=database=)
  2031. 2020-05-16 19:44:56,530: DEBUG - + declare -Ar args_array
  2032. 2020-05-16 19:44:56,530: DEBUG - + local user
  2033. 2020-05-16 19:44:56,530: DEBUG - + local password
  2034. 2020-05-16 19:44:56,531: DEBUG - + local database
  2035. 2020-05-16 19:44:56,531: DEBUG - + ynh_handle_getopts_args --user=postgres --password=********** --database=mobilizon
  2036. 2020-05-16 19:44:56,531: DEBUG - + set +x
  2037. 2020-05-16 19:44:56,535: DEBUG - + database=mobilizon
  2038. 2020-05-16 19:44:56,536: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql mobilizon
  2039. 2020-05-16 19:44:56,636: DEBUG - CREATE EXTENSION
  2040. 2020-05-16 19:44:56,637: DEBUG - + ynh_psql_execute_as_root '--sql=CREATE EXTENSION IF NOT EXISTS unaccent;' --database=mobilizon
  2041. 2020-05-16 19:44:56,637: DEBUG - + local legacy_args=sd
  2042. 2020-05-16 19:44:56,637: DEBUG - + args_array=([s]=sql= [d]=database=)
  2043. 2020-05-16 19:44:56,638: DEBUG - + declare -Ar args_array
  2044. 2020-05-16 19:44:56,638: DEBUG - + local sql
  2045. 2020-05-16 19:44:56,638: DEBUG - + local database
  2046. 2020-05-16 19:44:56,638: DEBUG - + ynh_handle_getopts_args '--sql=CREATE EXTENSION IF NOT EXISTS unaccent;' --database=mobilizon
  2047. 2020-05-16 19:44:56,639: DEBUG - + set +x
  2048. 2020-05-16 19:44:56,639: DEBUG - + database=mobilizon
  2049. 2020-05-16 19:44:56,641: DEBUG - ++ cat /etc/yunohost/psql
  2050. 2020-05-16 19:44:56,641: DEBUG - + ynh_psql_connect_as --user=postgres --password=********** --database=mobilizon
  2051. 2020-05-16 19:44:56,641: DEBUG - + local legacy_args=upd
  2052. 2020-05-16 19:44:56,642: DEBUG - + args_array=([u]=user= [p]=password= [d]=database=)
  2053. 2020-05-16 19:44:56,642: DEBUG - + declare -Ar args_array
  2054. 2020-05-16 19:44:56,642: DEBUG - + local user
  2055. 2020-05-16 19:44:56,643: DEBUG - + local password
  2056. 2020-05-16 19:44:56,643: DEBUG - + local database
  2057. 2020-05-16 19:44:56,645: DEBUG - + ynh_handle_getopts_args --user=postgres --password=********** --database=mobilizon
  2058. 2020-05-16 19:44:56,645: DEBUG - + set +x
  2059. 2020-05-16 19:44:56,746: DEBUG - + database=mobilizon
  2060. 2020-05-16 19:44:56,746: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql mobilizon
  2061. 2020-05-16 19:44:56,847: DEBUG - CREATE EXTENSION
  2062. 2020-05-16 19:44:56,848: DEBUG - + ynh_psql_execute_as_root '--sql=ALTER USER mobilizon PASSWORD '\''**********'\'';' --database=mobilizon
  2063. 2020-05-16 19:44:56,848: DEBUG - + local legacy_args=sd
  2064. 2020-05-16 19:44:56,848: DEBUG - + args_array=([s]=sql= [d]=database=)
  2065. 2020-05-16 19:44:56,849: DEBUG - + declare -Ar args_array
  2066. 2020-05-16 19:44:56,849: DEBUG - + local sql
  2067. 2020-05-16 19:44:56,849: DEBUG - + local database
  2068. 2020-05-16 19:44:56,850: DEBUG - + ynh_handle_getopts_args '--sql=ALTER USER mobilizon PASSWORD '\''**********'\'';' --database=mobilizon
  2069. 2020-05-16 19:44:56,850: DEBUG - + set +x
  2070. 2020-05-16 19:44:56,850: DEBUG - + database=mobilizon
  2071. 2020-05-16 19:44:56,850: DEBUG - ++ cat /etc/yunohost/psql
  2072. 2020-05-16 19:44:56,851: DEBUG - + ynh_psql_connect_as --user=postgres --password=********** --database=mobilizon
  2073. 2020-05-16 19:44:56,851: DEBUG - + local legacy_args=upd
  2074. 2020-05-16 19:44:56,855: DEBUG - + args_array=([u]=user= [p]=password= [d]=database=)
  2075. 2020-05-16 19:44:56,855: DEBUG - + declare -Ar args_array
  2076. 2020-05-16 19:44:56,855: DEBUG - + local user
  2077. 2020-05-16 19:44:56,856: DEBUG - + local password
  2078. 2020-05-16 19:44:56,856: DEBUG - + local database
  2079. 2020-05-16 19:44:56,856: DEBUG - + ynh_handle_getopts_args --user=postgres --password=********** --database=mobilizon
  2080. 2020-05-16 19:44:56,857: DEBUG - + set +x
  2081. 2020-05-16 19:44:56,857: DEBUG - + database=mobilizon
  2082. 2020-05-16 19:44:56,857: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql mobilizon
  2083. 2020-05-16 19:44:57,058: DEBUG - ALTER ROLE
  2084. 2020-05-16 19:44:57,059: INFO - Setting up source files...
  2085. 2020-05-16 19:44:57,059: DEBUG - + ynh_print_info '--message=Setting up source files...'
  2086. 2020-05-16 19:44:57,060: DEBUG - + local legacy_args=m
  2087. 2020-05-16 19:44:57,060: DEBUG - + args_array=([m]=message=)
  2088. 2020-05-16 19:44:57,060: DEBUG - + declare -Ar args_array
  2089. 2020-05-16 19:44:57,060: DEBUG - + local message
  2090. 2020-05-16 19:44:57,060: DEBUG - + ynh_handle_getopts_args '--message=Setting up source files...'
  2091. 2020-05-16 19:44:57,061: DEBUG - + set +x
  2092. 2020-05-16 19:44:57,061: DEBUG - + echo 'Setting up source files...'
  2093. 2020-05-16 19:44:57,061: DEBUG - + ynh_app_setting_set --app=mobilizon --key=final_path --value=/var/www/mobilizon
  2094. 2020-05-16 19:44:57,061: DEBUG - + local legacy_args=akv
  2095. 2020-05-16 19:44:57,062: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
  2096. 2020-05-16 19:44:57,062: DEBUG - + declare -Ar args_array
  2097. 2020-05-16 19:44:57,062: DEBUG - + local app
  2098. 2020-05-16 19:44:57,062: DEBUG - + local key
  2099. 2020-05-16 19:44:57,062: DEBUG - + local value
  2100. 2020-05-16 19:44:57,063: DEBUG - + ynh_handle_getopts_args --app=mobilizon --key=final_path --value=/var/www/mobilizon
  2101. 2020-05-16 19:44:57,063: DEBUG - + set +x
  2102. 2020-05-16 19:44:57,063: DEBUG - + ynh_app_setting set mobilizon final_path /var/www/mobilizon
  2103. 2020-05-16 19:44:57,067: DEBUG - + [[ set == \d\e\l\e\t\e ]]
  2104. 2020-05-16 19:44:57,067: DEBUG - + ACTION=set
  2105. 2020-05-16 19:44:57,068: DEBUG - + APP=mobilizon
  2106. 2020-05-16 19:44:57,068: DEBUG - + KEY=final_path
  2107. 2020-05-16 19:44:57,068: DEBUG - + VALUE=/var/www/mobilizon
  2108. 2020-05-16 19:44:57,068: DEBUG - + python2.7 -
  2109. 2020-05-16 19:44:57,169: DEBUG - + [[ final_path =~ ^(unprotected|skipped)_ ]]
  2110. 2020-05-16 19:44:57,169: DEBUG - + ynh_setup_source --dest_dir=/var/www/mobilizon/mobilizon
  2111. 2020-05-16 19:44:57,169: DEBUG - + local legacy_args=ds
  2112. 2020-05-16 19:44:57,170: DEBUG - + args_array=([d]=dest_dir= [s]=source_id=)
  2113. 2020-05-16 19:44:57,170: DEBUG - + declare -Ar args_array
  2114. 2020-05-16 19:44:57,170: DEBUG - + local dest_dir
  2115. 2020-05-16 19:44:57,171: DEBUG - + local source_id
  2116. 2020-05-16 19:44:57,171: DEBUG - + ynh_handle_getopts_args --dest_dir=/var/www/mobilizon/mobilizon
  2117. 2020-05-16 19:44:57,171: DEBUG - + set +x
  2118. 2020-05-16 19:44:57,172: DEBUG - + source_id=app
  2119. 2020-05-16 19:44:57,172: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/mobilizon_ynh-6b77f268d4e7e2cd525e11e11f3ed5a5162d0bd2/scripts/../conf/app.src
  2120. 2020-05-16 19:44:57,172: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/mobilizon_ynh-6b77f268d4e7e2cd525e11e11f3ed5a5162d0bd2/scripts/../conf/app.src ']'
  2121. 2020-05-16 19:44:57,172: DEBUG - ++ cut -d= -f2-
  2122. 2020-05-16 19:44:57,172: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/mobilizon_ynh-6b77f268d4e7e2cd525e11e11f3ed5a5162d0bd2/scripts/../conf/app.src
  2123. 2020-05-16 19:44:57,173: DEBUG - + local src_url=https://framagit.org/framasoft/mobilizon/-/archive/62ad69c53c1c0789e879ad04787121a27883639e/mobilizon-62ad69c53c1c0789e879ad04787121a27883639e.tar.gz
  2124. 2020-05-16 19:44:57,173: DEBUG - ++ cut -d= -f2-
  2125. 2020-05-16 19:44:57,173: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/mobilizon_ynh-6b77f268d4e7e2cd525e11e11f3ed5a5162d0bd2/scripts/../conf/app.src
  2126. 2020-05-16 19:44:57,174: DEBUG - + local src_sum=d9db8d987134cae240fbdc4b3fb207328eee168242b809ec3dc66d7bfd17660e
  2127. 2020-05-16 19:44:57,174: DEBUG - ++ cut -d= -f2-
  2128. 2020-05-16 19:44:57,174: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/mobilizon_ynh-6b77f268d4e7e2cd525e11e11f3ed5a5162d0bd2/scripts/../conf/app.src
  2129. 2020-05-16 19:44:57,174: DEBUG - + local src_sumprg=sha256sum
  2130. 2020-05-16 19:44:57,175: DEBUG - ++ cut -d= -f2-
  2131. 2020-05-16 19:44:57,175: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/mobilizon_ynh-6b77f268d4e7e2cd525e11e11f3ed5a5162d0bd2/scripts/../conf/app.src
  2132. 2020-05-16 19:44:57,175: DEBUG - + local src_format=tar.gz
  2133. 2020-05-16 19:44:57,177: DEBUG - ++ cut -d= -f2-
  2134. 2020-05-16 19:44:57,177: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/mobilizon_ynh-6b77f268d4e7e2cd525e11e11f3ed5a5162d0bd2/scripts/../conf/app.src
  2135. 2020-05-16 19:44:57,177: DEBUG - + local src_extract=
  2136. 2020-05-16 19:44:57,278: DEBUG - ++ cut -d= -f2-
  2137. 2020-05-16 19:44:57,278: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/mobilizon_ynh-6b77f268d4e7e2cd525e11e11f3ed5a5162d0bd2/scripts/../conf/app.src
  2138. 2020-05-16 19:44:57,278: DEBUG - + local src_in_subdir=true
  2139. 2020-05-16 19:44:57,279: DEBUG - ++ cut -d= -f2-
  2140. 2020-05-16 19:44:57,279: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/mobilizon_ynh-6b77f268d4e7e2cd525e11e11f3ed5a5162d0bd2/scripts/../conf/app.src
  2141. 2020-05-16 19:44:57,279: DEBUG - + local src_filename=0.1.0-2019-12-28.tar.gz
  2142. 2020-05-16 19:44:57,280: DEBUG - + src_sumprg=sha256sum
  2143. 2020-05-16 19:44:57,280: DEBUG - + src_in_subdir=true
  2144. 2020-05-16 19:44:57,281: DEBUG - + src_format=tar.gz
  2145. 2020-05-16 19:44:57,281: DEBUG - ++ tr '[:upper:]' '[:lower:]'
  2146. 2020-05-16 19:44:57,282: DEBUG - ++ echo tar.gz
  2147. 2020-05-16 19:44:57,282: DEBUG - + src_format=tar.gz
  2148. 2020-05-16 19:44:57,282: DEBUG - + src_extract=true
  2149. 2020-05-16 19:44:57,282: DEBUG - + '[' 0.1.0-2019-12-28.tar.gz = '' ']'
  2150. 2020-05-16 19:44:57,283: DEBUG - + local local_src=/opt/yunohost-apps-src/mobilizon/0.1.0-2019-12-28.tar.gz
  2151. 2020-05-16 19:44:57,283: DEBUG - + test -e /opt/yunohost-apps-src/mobilizon/0.1.0-2019-12-28.tar.gz
  2152. 2020-05-16 19:44:57,283: DEBUG - ++ wget -nv -O 0.1.0-2019-12-28.tar.gz https://framagit.org/framasoft/mobilizon/-/archive/62ad69c53c1c0789e879ad04787121a27883639e/mobilizon-62ad69c53c1c0789e879ad04787121a27883639e.tar.gz
  2153. 2020-05-16 19:44:58,187: DEBUG - + local 'out=2020-05-16 19:44:58 URL:https://framagit.org/framasoft/mobilizon/-/archive/62ad69c53c1c0789e879ad04787121a27883639e/mobilizon-62ad69c53c1c0789e879ad04787121a27883639e.tar.gz [2620327] -> "0.1.0-2019-12-28.tar.gz" [1]'
  2154. 2020-05-16 19:44:58,187: DEBUG - + sha256sum -c --status
  2155. 2020-05-16 19:44:58,187: DEBUG - + echo 'd9db8d987134cae240fbdc4b3fb207328eee168242b809ec3dc66d7bfd17660e 0.1.0-2019-12-28.tar.gz'
  2156. 2020-05-16 19:44:58,188: DEBUG - + mkdir -p /var/www/mobilizon/mobilizon
  2157. 2020-05-16 19:44:58,188: DEBUG - + true
  2158. 2020-05-16 19:44:58,188: DEBUG - + '[' tar.gz = zip ']'
  2159. 2020-05-16 19:44:58,188: DEBUG - + local strip=
  2160. 2020-05-16 19:44:58,188: DEBUG - + '[' true '!=' false ']'
  2161. 2020-05-16 19:44:58,189: DEBUG - + '[' true == true ']'
  2162. 2020-05-16 19:44:58,189: DEBUG - + local sub_dirs=1
  2163. 2020-05-16 19:44:58,189: DEBUG - + strip='--strip-components 1'
  2164. 2020-05-16 19:44:58,189: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
  2165. 2020-05-16 19:44:58,190: DEBUG - + tar -xf 0.1.0-2019-12-28.tar.gz -C /var/www/mobilizon/mobilizon --strip-components 1
  2166. 2020-05-16 19:44:58,390: DEBUG - ++ wc -l
  2167. 2020-05-16 19:44:58,391: INFO - Configuring nginx web server...
  2168. 2020-05-16 19:44:58,391: DEBUG - ++ find /var/cache/yunohost/from_file/mobilizon_ynh-6b77f268d4e7e2cd525e11e11f3ed5a5162d0bd2/scripts/../sources/patches/ -type f -name 'app-*.patch'
  2169. 2020-05-16 19:44:58,392: DEBUG - + (( 0 > 0 ))
  2170. 2020-05-16 19:44:58,392: DEBUG - + test -e /var/cache/yunohost/from_file/mobilizon_ynh-6b77f268d4e7e2cd525e11e11f3ed5a5162d0bd2/scripts/../sources/extra_files/app
  2171. 2020-05-16 19:44:58,392: DEBUG - + ynh_print_info '--message=Configuring nginx web server...'
  2172. 2020-05-16 19:44:58,392: DEBUG - + local legacy_args=m
  2173. 2020-05-16 19:44:58,392: DEBUG - + args_array=([m]=message=)
  2174. 2020-05-16 19:44:58,393: DEBUG - + declare -Ar args_array
  2175. 2020-05-16 19:44:58,393: DEBUG - + local message
  2176. 2020-05-16 19:44:58,393: DEBUG - + ynh_handle_getopts_args '--message=Configuring nginx web server...'
  2177. 2020-05-16 19:44:58,393: DEBUG - + set +x
  2178. 2020-05-16 19:44:58,394: DEBUG - + echo 'Configuring nginx web server...'
  2179. 2020-05-16 19:44:58,394: DEBUG - + ynh_add_nginx_config
  2180. 2020-05-16 19:44:58,394: DEBUG - + finalnginxconf=/etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2181. 2020-05-16 19:44:58,394: DEBUG - + local others_var=
  2182. 2020-05-16 19:44:58,394: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2183. 2020-05-16 19:44:58,395: DEBUG - + local legacy_args=f
  2184. 2020-05-16 19:44:58,395: DEBUG - + args_array=([f]=file=)
  2185. 2020-05-16 19:44:58,395: DEBUG - + declare -Ar args_array
  2186. 2020-05-16 19:44:58,399: DEBUG - + local file
  2187. 2020-05-16 19:44:58,400: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2188. 2020-05-16 19:44:58,400: DEBUG - + set +x
  2189. 2020-05-16 19:44:58,400: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_kombine.shop.d_mobilizon.conf
  2190. 2020-05-16 19:44:58,400: DEBUG - ++ ynh_app_setting_get --app=mobilizon --key=checksum__etc_nginx_conf.d_kombine.shop.d_mobilizon.conf
  2191. 2020-05-16 19:44:58,401: DEBUG - ++ local legacy_args=ak
  2192. 2020-05-16 19:44:58,401: DEBUG - ++ args_array=([a]=app= [k]=key=)
  2193. 2020-05-16 19:44:58,401: DEBUG - ++ declare -Ar args_array
  2194. 2020-05-16 19:44:58,401: DEBUG - ++ local app
  2195. 2020-05-16 19:44:58,402: DEBUG - ++ local key
  2196. 2020-05-16 19:44:58,402: DEBUG - ++ ynh_handle_getopts_args --app=mobilizon --key=checksum__etc_nginx_conf.d_kombine.shop.d_mobilizon.conf
  2197. 2020-05-16 19:44:58,402: DEBUG - ++ set +x
  2198. 2020-05-16 19:44:58,402: DEBUG - ++ ynh_app_setting get mobilizon checksum__etc_nginx_conf.d_kombine.shop.d_mobilizon.conf
  2199. 2020-05-16 19:44:58,402: DEBUG - ++ [[ get == \d\e\l\e\t\e ]]
  2200. 2020-05-16 19:44:58,403: DEBUG - ++ ACTION=get
  2201. 2020-05-16 19:44:58,403: DEBUG - ++ APP=mobilizon
  2202. 2020-05-16 19:44:58,403: DEBUG - ++ KEY=checksum__etc_nginx_conf.d_kombine.shop.d_mobilizon.conf
  2203. 2020-05-16 19:44:58,406: DEBUG - ++ VALUE=
  2204. 2020-05-16 19:44:58,406: DEBUG - ++ python2.7 -
  2205. 2020-05-16 19:44:58,507: DEBUG - ++ [[ checksum__etc_nginx_conf.d_kombine.shop.d_mobilizon.conf =~ ^(unprotected|skipped)_ ]]
  2206. 2020-05-16 19:44:58,507: DEBUG - + local checksum_value=
  2207. 2020-05-16 19:44:58,508: DEBUG - + backup_file_checksum=
  2208. 2020-05-16 19:44:58,508: DEBUG - + '[' -n '' ']'
  2209. 2020-05-16 19:44:58,508: DEBUG - + cp ../conf/nginx.conf /etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2210. 2020-05-16 19:44:58,508: DEBUG - + test -n /
  2211. 2020-05-16 19:44:58,508: DEBUG - + local path_url_slash_less=
  2212. 2020-05-16 19:44:58,509: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2213. 2020-05-16 19:44:58,509: DEBUG - + local legacy_args=mrf
  2214. 2020-05-16 19:44:58,509: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
  2215. 2020-05-16 19:44:58,509: DEBUG - + declare -Ar args_array
  2216. 2020-05-16 19:44:58,510: DEBUG - + local match_string
  2217. 2020-05-16 19:44:58,510: DEBUG - + local replace_string
  2218. 2020-05-16 19:44:58,510: DEBUG - + local target_file
  2219. 2020-05-16 19:44:58,510: DEBUG - + ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2220. 2020-05-16 19:44:58,510: DEBUG - + set +x
  2221. 2020-05-16 19:44:58,511: DEBUG - + local delimit=@
  2222. 2020-05-16 19:44:58,511: DEBUG - + match_string=__PATH__/
  2223. 2020-05-16 19:44:58,516: DEBUG - + replace_string=/
  2224. 2020-05-16 19:44:58,516: DEBUG - + sed --in-place s@__PATH__/@/@g /etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2225. 2020-05-16 19:44:58,516: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2226. 2020-05-16 19:44:58,517: DEBUG - + local legacy_args=mrf
  2227. 2020-05-16 19:44:58,517: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
  2228. 2020-05-16 19:44:58,517: DEBUG - + declare -Ar args_array
  2229. 2020-05-16 19:44:58,518: DEBUG - + local match_string
  2230. 2020-05-16 19:44:58,518: DEBUG - + local replace_string
  2231. 2020-05-16 19:44:58,518: DEBUG - + local target_file
  2232. 2020-05-16 19:44:58,518: DEBUG - + ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2233. 2020-05-16 19:44:58,519: DEBUG - + set +x
  2234. 2020-05-16 19:44:58,519: DEBUG - + local delimit=@
  2235. 2020-05-16 19:44:58,522: DEBUG - + match_string=__PATH__
  2236. 2020-05-16 19:44:58,522: DEBUG - + replace_string=/
  2237. 2020-05-16 19:44:58,523: DEBUG - + sed --in-place s@__PATH__@/@g /etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2238. 2020-05-16 19:44:58,523: DEBUG - + test -n kombine.shop
  2239. 2020-05-16 19:44:58,523: DEBUG - + ynh_replace_string --match_string=__DOMAIN__ --replace_string=kombine.shop --target_file=/etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2240. 2020-05-16 19:44:58,523: DEBUG - + local legacy_args=mrf
  2241. 2020-05-16 19:44:58,524: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
  2242. 2020-05-16 19:44:58,524: DEBUG - + declare -Ar args_array
  2243. 2020-05-16 19:44:58,524: DEBUG - + local match_string
  2244. 2020-05-16 19:44:58,524: DEBUG - + local replace_string
  2245. 2020-05-16 19:44:58,524: DEBUG - + local target_file
  2246. 2020-05-16 19:44:58,525: DEBUG - + ynh_handle_getopts_args --match_string=__DOMAIN__ --replace_string=kombine.shop --target_file=/etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2247. 2020-05-16 19:44:58,525: DEBUG - + set +x
  2248. 2020-05-16 19:44:58,625: DEBUG - + local delimit=@
  2249. 2020-05-16 19:44:58,626: DEBUG - + match_string=__DOMAIN__
  2250. 2020-05-16 19:44:58,626: DEBUG - + replace_string=kombine.shop
  2251. 2020-05-16 19:44:58,627: DEBUG - + sed --in-place s@__DOMAIN__@kombine.shop@g /etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2252. 2020-05-16 19:44:58,627: DEBUG - + test -n 8096
  2253. 2020-05-16 19:44:58,628: DEBUG - + ynh_replace_string --match_string=__PORT__ --replace_string=8096 --target_file=/etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2254. 2020-05-16 19:44:58,628: DEBUG - + local legacy_args=mrf
  2255. 2020-05-16 19:44:58,628: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
  2256. 2020-05-16 19:44:58,630: DEBUG - + declare -Ar args_array
  2257. 2020-05-16 19:44:58,630: DEBUG - + local match_string
  2258. 2020-05-16 19:44:58,631: DEBUG - + local replace_string
  2259. 2020-05-16 19:44:58,631: DEBUG - + local target_file
  2260. 2020-05-16 19:44:58,631: DEBUG - + ynh_handle_getopts_args --match_string=__PORT__ --replace_string=8096 --target_file=/etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2261. 2020-05-16 19:44:58,633: DEBUG - + set +x
  2262. 2020-05-16 19:44:58,633: DEBUG - + local delimit=@
  2263. 2020-05-16 19:44:58,633: DEBUG - + match_string=__PORT__
  2264. 2020-05-16 19:44:58,633: DEBUG - + replace_string=8096
  2265. 2020-05-16 19:44:58,634: DEBUG - + sed --in-place s@__PORT__@8096@g /etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2266. 2020-05-16 19:44:58,634: DEBUG - + test -n mobilizon
  2267. 2020-05-16 19:44:58,634: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=mobilizon --target_file=/etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2268. 2020-05-16 19:44:58,634: DEBUG - + local legacy_args=mrf
  2269. 2020-05-16 19:44:58,634: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
  2270. 2020-05-16 19:44:58,635: DEBUG - + declare -Ar args_array
  2271. 2020-05-16 19:44:58,635: DEBUG - + local match_string
  2272. 2020-05-16 19:44:58,635: DEBUG - + local replace_string
  2273. 2020-05-16 19:44:58,637: DEBUG - + local target_file
  2274. 2020-05-16 19:44:58,637: DEBUG - + ynh_handle_getopts_args --match_string=__NAME__ --replace_string=mobilizon --target_file=/etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2275. 2020-05-16 19:44:58,637: DEBUG - + set +x
  2276. 2020-05-16 19:44:58,638: DEBUG - + local delimit=@
  2277. 2020-05-16 19:44:58,638: DEBUG - + match_string=__NAME__
  2278. 2020-05-16 19:44:58,638: DEBUG - + replace_string=mobilizon
  2279. 2020-05-16 19:44:58,638: DEBUG - + sed --in-place s@__NAME__@mobilizon@g /etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2280. 2020-05-16 19:44:58,639: DEBUG - + test -n /var/www/mobilizon
  2281. 2020-05-16 19:44:58,639: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/mobilizon --target_file=/etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2282. 2020-05-16 19:44:58,639: DEBUG - + local legacy_args=mrf
  2283. 2020-05-16 19:44:58,640: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
  2284. 2020-05-16 19:44:58,641: DEBUG - + declare -Ar args_array
  2285. 2020-05-16 19:44:58,641: DEBUG - + local match_string
  2286. 2020-05-16 19:44:58,641: DEBUG - + local replace_string
  2287. 2020-05-16 19:44:58,642: DEBUG - + local target_file
  2288. 2020-05-16 19:44:58,642: DEBUG - + ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/mobilizon --target_file=/etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2289. 2020-05-16 19:44:58,642: DEBUG - + set +x
  2290. 2020-05-16 19:44:58,643: DEBUG - + local delimit=@
  2291. 2020-05-16 19:44:58,643: DEBUG - + match_string=__FINALPATH__
  2292. 2020-05-16 19:44:58,643: DEBUG - + replace_string=/var/www/mobilizon
  2293. 2020-05-16 19:44:58,645: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/mobilizon@g /etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2294. 2020-05-16 19:44:58,645: DEBUG - + '[' / '!=' / ']'
  2295. 2020-05-16 19:44:58,646: DEBUG - + ynh_replace_string '--match_string=^#root_path_only' --replace_string= --target_file=/etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2296. 2020-05-16 19:44:58,646: DEBUG - + local legacy_args=mrf
  2297. 2020-05-16 19:44:58,646: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
  2298. 2020-05-16 19:44:58,647: DEBUG - + declare -Ar args_array
  2299. 2020-05-16 19:44:58,647: DEBUG - + local match_string
  2300. 2020-05-16 19:44:58,649: DEBUG - + local replace_string
  2301. 2020-05-16 19:44:58,649: DEBUG - + local target_file
  2302. 2020-05-16 19:44:58,649: DEBUG - + ynh_handle_getopts_args '--match_string=^#root_path_only' --replace_string= --target_file=/etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2303. 2020-05-16 19:44:58,649: DEBUG - + set +x
  2304. 2020-05-16 19:44:58,650: DEBUG - + local delimit=@
  2305. 2020-05-16 19:44:58,650: DEBUG - + match_string='^#root_path_only'
  2306. 2020-05-16 19:44:58,650: DEBUG - + replace_string=
  2307. 2020-05-16 19:44:58,651: DEBUG - + sed --in-place 's@^#root_path_only@@g' /etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2308. 2020-05-16 19:44:58,651: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2309. 2020-05-16 19:44:58,652: DEBUG - + local legacy_args=f
  2310. 2020-05-16 19:44:58,653: DEBUG - + args_array=([f]=file=)
  2311. 2020-05-16 19:44:58,653: DEBUG - + declare -Ar args_array
  2312. 2020-05-16 19:44:58,653: DEBUG - + local file
  2313. 2020-05-16 19:44:58,653: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2314. 2020-05-16 19:44:58,653: DEBUG - + set +x
  2315. 2020-05-16 19:44:58,654: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_kombine.shop.d_mobilizon.conf
  2316. 2020-05-16 19:44:58,654: DEBUG - ++ cut '-d ' -f1
  2317. 2020-05-16 19:44:58,654: DEBUG - ++ md5sum /etc/nginx/conf.d/kombine.shop.d/mobilizon.conf
  2318. 2020-05-16 19:44:58,654: DEBUG - + ynh_app_setting_set --app=mobilizon --key=checksum__etc_nginx_conf.d_kombine.shop.d_mobilizon.conf --value=b498d8a9d0d1bcc895b6a86cd336c6db
  2319. 2020-05-16 19:44:58,655: DEBUG - + local legacy_args=akv
  2320. 2020-05-16 19:44:58,655: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
  2321. 2020-05-16 19:44:58,655: DEBUG - + declare -Ar args_array
  2322. 2020-05-16 19:44:58,659: DEBUG - + local app
  2323. 2020-05-16 19:44:58,659: DEBUG - + local key
  2324. 2020-05-16 19:44:58,659: DEBUG - + local value
  2325. 2020-05-16 19:44:58,659: DEBUG - + ynh_handle_getopts_args --app=mobilizon --key=checksum__etc_nginx_conf.d_kombine.shop.d_mobilizon.conf --value=b498d8a9d0d1bcc895b6a86cd336c6db
  2326. 2020-05-16 19:44:58,660: DEBUG - + set +x
  2327. 2020-05-16 19:44:58,660: DEBUG - + ynh_app_setting set mobilizon checksum__etc_nginx_conf.d_kombine.shop.d_mobilizon.conf b498d8a9d0d1bcc895b6a86cd336c6db
  2328. 2020-05-16 19:44:58,660: DEBUG - + [[ set == \d\e\l\e\t\e ]]
  2329. 2020-05-16 19:44:58,661: DEBUG - + ACTION=set
  2330. 2020-05-16 19:44:58,661: DEBUG - + APP=mobilizon
  2331. 2020-05-16 19:44:58,661: DEBUG - + KEY=checksum__etc_nginx_conf.d_kombine.shop.d_mobilizon.conf
  2332. 2020-05-16 19:44:58,662: DEBUG - + VALUE=b498d8a9d0d1bcc895b6a86cd336c6db
  2333. 2020-05-16 19:44:58,662: DEBUG - + python2.7 -
  2334. 2020-05-16 19:44:58,863: DEBUG - + [[ checksum__etc_nginx_conf.d_kombine.shop.d_mobilizon.conf =~ ^(unprotected|skipped)_ ]]
  2335. 2020-05-16 19:44:58,864: DEBUG - + '[' -n '' ']'
  2336. 2020-05-16 19:44:58,864: DEBUG - + unset backup_file_checksum
  2337. 2020-05-16 19:44:58,864: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
  2338. 2020-05-16 19:44:58,865: DEBUG - + local legacy_args=nalpte
  2339. 2020-05-16 19:44:58,865: DEBUG - + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
  2340. 2020-05-16 19:44:58,866: DEBUG - + declare -Ar args_array
  2341. 2020-05-16 19:44:58,866: DEBUG - + local service_name
  2342. 2020-05-16 19:44:58,866: DEBUG - + local action
  2343. 2020-05-16 19:44:58,867: DEBUG - + local line_match
  2344. 2020-05-16 19:44:58,867: DEBUG - + local length
  2345. 2020-05-16 19:44:58,871: DEBUG - + local log_path
  2346. 2020-05-16 19:44:58,872: DEBUG - + local timeout
  2347. 2020-05-16 19:44:58,872: DEBUG - + ynh_handle_getopts_args --service_name=nginx --action=reload
  2348. 2020-05-16 19:44:58,873: DEBUG - + set +x
  2349. 2020-05-16 19:44:58,873: DEBUG - + local service_name=nginx
  2350. 2020-05-16 19:44:58,873: DEBUG - + local action=reload
  2351. 2020-05-16 19:44:58,874: DEBUG - + local log_path=/var/log/nginx/nginx.log
  2352. 2020-05-16 19:44:58,874: DEBUG - + local length=20
  2353. 2020-05-16 19:44:58,874: DEBUG - + local timeout=300
  2354. 2020-05-16 19:44:58,875: DEBUG - + [[ -n '' ]]
  2355. 2020-05-16 19:44:58,875: DEBUG - + '[' reload == reload ']'
  2356. 2020-05-16 19:44:58,875: DEBUG - + action=reload-or-restart
  2357. 2020-05-16 19:44:58,878: DEBUG - + systemctl reload-or-restart nginx
  2358. 2020-05-16 19:44:59,079: DEBUG - + [[ -n '' ]]
  2359. 2020-05-16 19:44:59,080: INFO - Configuring system user...
  2360. 2020-05-16 19:44:59,081: DEBUG - + ynh_print_info '--message=Configuring system user...'
  2361. 2020-05-16 19:44:59,081: DEBUG - + local legacy_args=m
  2362. 2020-05-16 19:44:59,081: DEBUG - + args_array=([m]=message=)
  2363. 2020-05-16 19:44:59,082: DEBUG - + declare -Ar args_array
  2364. 2020-05-16 19:44:59,082: DEBUG - + local message
  2365. 2020-05-16 19:44:59,082: DEBUG - + ynh_handle_getopts_args '--message=Configuring system user...'
  2366. 2020-05-16 19:44:59,083: DEBUG - + set +x
  2367. 2020-05-16 19:44:59,083: DEBUG - + echo 'Configuring system user...'
  2368. 2020-05-16 19:44:59,085: DEBUG - + ynh_system_user_create --username=mobilizon --home_dir=/var/www/mobilizon
  2369. 2020-05-16 19:44:59,085: DEBUG - + local legacy_args=uhs
  2370. 2020-05-16 19:44:59,086: DEBUG - + args_array=([u]=username= [h]=home_dir= [s]=use_shell)
  2371. 2020-05-16 19:44:59,086: DEBUG - + declare -Ar args_array
  2372. 2020-05-16 19:44:59,086: DEBUG - + local username
  2373. 2020-05-16 19:44:59,087: DEBUG - + local home_dir
  2374. 2020-05-16 19:44:59,087: DEBUG - + local use_shell
  2375. 2020-05-16 19:44:59,087: DEBUG - + ynh_handle_getopts_args --username=mobilizon --home_dir=/var/www/mobilizon
  2376. 2020-05-16 19:44:59,093: DEBUG - + set +x
  2377. 2020-05-16 19:44:59,093: DEBUG - + use_shell=0
  2378. 2020-05-16 19:44:59,093: DEBUG - + home_dir=/var/www/mobilizon
  2379. 2020-05-16 19:44:59,093: DEBUG - + ynh_system_user_exists mobilizon
  2380. 2020-05-16 19:44:59,094: DEBUG - + local legacy_args=u
  2381. 2020-05-16 19:44:59,094: DEBUG - + args_array=([u]=username=)
  2382. 2020-05-16 19:44:59,094: DEBUG - + declare -Ar args_array
  2383. 2020-05-16 19:44:59,094: DEBUG - + local username
  2384. 2020-05-16 19:44:59,095: DEBUG - + ynh_handle_getopts_args mobilizon
  2385. 2020-05-16 19:44:59,095: DEBUG - + set +x
  2386. 2020-05-16 19:44:59,095: DEBUG - + echo '! Helper used in legacy mode !'
  2387. 2020-05-16 19:44:59,100: DEBUG - + set +x
  2388. 2020-05-16 19:44:59,100: DEBUG - + getent passwd mobilizon
  2389. 2020-05-16 19:44:59,201: DEBUG - + '[' -n /var/www/mobilizon ']'
  2390. 2020-05-16 19:44:59,201: DEBUG - + local 'user_home_dir=-d /var/www/mobilizon'
  2391. 2020-05-16 19:44:59,201: DEBUG - + '[' 0 -eq 1 ']'
  2392. 2020-05-16 19:44:59,202: DEBUG - + local 'shell=--shell /usr/sbin/nologin'
  2393. 2020-05-16 19:44:59,202: DEBUG - + useradd -d /var/www/mobilizon --system --user-group mobilizon --shell /usr/sbin/nologin
  2394. 2020-05-16 19:45:01,308: DEBUG - + ynh_print_info '--message=Modifying a config file...'
  2395. 2020-05-16 19:45:01,308: INFO - Modifying a config file...
  2396. 2020-05-16 19:45:01,309: DEBUG - + local legacy_args=m
  2397. 2020-05-16 19:45:01,309: DEBUG - + args_array=([m]=message=)
  2398. 2020-05-16 19:45:01,310: DEBUG - + declare -Ar args_array
  2399. 2020-05-16 19:45:01,310: DEBUG - + local message
  2400. 2020-05-16 19:45:01,310: DEBUG - + ynh_handle_getopts_args '--message=Modifying a config file...'
  2401. 2020-05-16 19:45:01,311: DEBUG - + set +x
  2402. 2020-05-16 19:45:01,311: DEBUG - + echo 'Modifying a config file...'
  2403. 2020-05-16 19:45:01,313: DEBUG - + config=/var/www/mobilizon/mobilizon/.env
  2404. 2020-05-16 19:45:01,313: DEBUG - + cp ../conf/.env /var/www/mobilizon/mobilizon/.env
  2405. 2020-05-16 19:45:01,313: DEBUG - + ynh_replace_string --match_string=__DOMAIN__ --replace_string=kombine.shop --target_file=/var/www/mobilizon/mobilizon/.env
  2406. 2020-05-16 19:45:01,313: DEBUG - + local legacy_args=mrf
  2407. 2020-05-16 19:45:01,314: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
  2408. 2020-05-16 19:45:01,314: DEBUG - + declare -Ar args_array
  2409. 2020-05-16 19:45:01,314: DEBUG - + local match_string
  2410. 2020-05-16 19:45:01,314: DEBUG - + local replace_string
  2411. 2020-05-16 19:45:01,314: DEBUG - + local target_file
  2412. 2020-05-16 19:45:01,315: DEBUG - + ynh_handle_getopts_args --match_string=__DOMAIN__ --replace_string=kombine.shop --target_file=/var/www/mobilizon/mobilizon/.env
  2413. 2020-05-16 19:45:01,315: DEBUG - + set +x
  2414. 2020-05-16 19:45:01,315: DEBUG - + local delimit=@
  2415. 2020-05-16 19:45:01,316: DEBUG - + match_string=__DOMAIN__
  2416. 2020-05-16 19:45:01,316: DEBUG - + replace_string=kombine.shop
  2417. 2020-05-16 19:45:01,317: DEBUG - + sed --in-place s@__DOMAIN__@kombine.shop@g /var/www/mobilizon/mobilizon/.env
  2418. 2020-05-16 19:45:01,317: DEBUG - + ynh_replace_string --match_string=__PORT__ --replace_string=8096 --target_file=/var/www/mobilizon/mobilizon/.env
  2419. 2020-05-16 19:45:01,317: DEBUG - + local legacy_args=mrf
  2420. 2020-05-16 19:45:01,317: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
  2421. 2020-05-16 19:45:01,318: DEBUG - + declare -Ar args_array
  2422. 2020-05-16 19:45:01,318: DEBUG - + local match_string
  2423. 2020-05-16 19:45:01,318: DEBUG - + local replace_string
  2424. 2020-05-16 19:45:01,318: DEBUG - + local target_file
  2425. 2020-05-16 19:45:01,319: DEBUG - + ynh_handle_getopts_args --match_string=__PORT__ --replace_string=8096 --target_file=/var/www/mobilizon/mobilizon/.env
  2426. 2020-05-16 19:45:01,319: DEBUG - + set +x
  2427. 2020-05-16 19:45:01,319: DEBUG - + local delimit=@
  2428. 2020-05-16 19:45:01,322: DEBUG - + match_string=__PORT__
  2429. 2020-05-16 19:45:01,322: DEBUG - + replace_string=8096
  2430. 2020-05-16 19:45:01,322: DEBUG - + sed --in-place s@__PORT__@8096@g /var/www/mobilizon/mobilizon/.env
  2431. 2020-05-16 19:45:01,323: DEBUG - + ynh_replace_string --match_string=__SECRET__ --replace_string=********** --target_file=/var/www/mobilizon/mobilizon/.env
  2432. 2020-05-16 19:45:01,323: DEBUG - + local legacy_args=mrf
  2433. 2020-05-16 19:45:01,323: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
  2434. 2020-05-16 19:45:01,323: DEBUG - + declare -Ar args_array
  2435. 2020-05-16 19:45:01,324: DEBUG - + local match_string
  2436. 2020-05-16 19:45:01,324: DEBUG - + local replace_string
  2437. 2020-05-16 19:45:01,324: DEBUG - + local target_file
  2438. 2020-05-16 19:45:01,324: DEBUG - + ynh_handle_getopts_args --match_string=__SECRET__ --replace_string=********** --target_file=/var/www/mobilizon/mobilizon/.env
  2439. 2020-05-16 19:45:01,324: DEBUG - + set +x
  2440. 2020-05-16 19:45:01,425: DEBUG - + local delimit=@
  2441. 2020-05-16 19:45:01,426: DEBUG - + match_string=__SECRET__
  2442. 2020-05-16 19:45:01,426: DEBUG - + replace_string=**********
  2443. 2020-05-16 19:45:01,426: DEBUG - + sed --in-place s@__SECRET__@**********@g /var/www/mobilizon/mobilizon/.env
  2444. 2020-05-16 19:45:01,427: DEBUG - + ynh_replace_string --match_string=__DB_NAME__ --replace_string=mobilizon --target_file=/var/www/mobilizon/mobilizon/.env
  2445. 2020-05-16 19:45:01,427: DEBUG - + local legacy_args=mrf
  2446. 2020-05-16 19:45:01,427: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
  2447. 2020-05-16 19:45:01,428: DEBUG - + declare -Ar args_array
  2448. 2020-05-16 19:45:01,428: DEBUG - + local match_string
  2449. 2020-05-16 19:45:01,428: DEBUG - + local replace_string
  2450. 2020-05-16 19:45:01,428: DEBUG - + local target_file
  2451. 2020-05-16 19:45:01,429: DEBUG - + ynh_handle_getopts_args --match_string=__DB_NAME__ --replace_string=mobilizon --target_file=/var/www/mobilizon/mobilizon/.env
  2452. 2020-05-16 19:45:01,429: DEBUG - + set +x
  2453. 2020-05-16 19:45:01,429: DEBUG - + local delimit=@
  2454. 2020-05-16 19:45:01,430: DEBUG - + match_string=__DB_NAME__
  2455. 2020-05-16 19:45:01,430: DEBUG - + replace_string=mobilizon
  2456. 2020-05-16 19:45:01,430: DEBUG - + sed --in-place s@__DB_NAME__@mobilizon@g /var/www/mobilizon/mobilizon/.env
  2457. 2020-05-16 19:45:01,430: DEBUG - + ynh_replace_string --match_string=__DB_USER__ --replace_string=mobilizon --target_file=/var/www/mobilizon/mobilizon/.env
  2458. 2020-05-16 19:45:01,431: DEBUG - + local legacy_args=mrf
  2459. 2020-05-16 19:45:01,431: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
  2460. 2020-05-16 19:45:01,433: DEBUG - + declare -Ar args_array
  2461. 2020-05-16 19:45:01,434: DEBUG - + local match_string
  2462. 2020-05-16 19:45:01,434: DEBUG - + local replace_string
  2463. 2020-05-16 19:45:01,434: DEBUG - + local target_file
  2464. 2020-05-16 19:45:01,434: DEBUG - + ynh_handle_getopts_args --match_string=__DB_USER__ --replace_string=mobilizon --target_file=/var/www/mobilizon/mobilizon/.env
  2465. 2020-05-16 19:45:01,435: DEBUG - + set +x
  2466. 2020-05-16 19:45:01,435: DEBUG - + local delimit=@
  2467. 2020-05-16 19:45:01,435: DEBUG - + match_string=__DB_USER__
  2468. 2020-05-16 19:45:01,435: DEBUG - + replace_string=mobilizon
  2469. 2020-05-16 19:45:01,436: DEBUG - + sed --in-place s@__DB_USER__@mobilizon@g /var/www/mobilizon/mobilizon/.env
  2470. 2020-05-16 19:45:01,436: DEBUG - + ynh_replace_string --match_string=__DB_PWD__ --replace_string=********** --target_file=/var/www/mobilizon/mobilizon/.env
  2471. 2020-05-16 19:45:01,436: DEBUG - + local legacy_args=mrf
  2472. 2020-05-16 19:45:01,436: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
  2473. 2020-05-16 19:45:01,437: DEBUG - + declare -Ar args_array
  2474. 2020-05-16 19:45:01,437: DEBUG - + local match_string
  2475. 2020-05-16 19:45:01,437: DEBUG - + local replace_string
  2476. 2020-05-16 19:45:01,437: DEBUG - + local target_file
  2477. 2020-05-16 19:45:01,437: DEBUG - + ynh_handle_getopts_args --match_string=__DB_PWD__ --replace_string=********** --target_file=/var/www/mobilizon/mobilizon/.env
  2478. 2020-05-16 19:45:01,438: DEBUG - + set +x
  2479. 2020-05-16 19:45:01,438: DEBUG - + local delimit=@
  2480. 2020-05-16 19:45:01,438: DEBUG - + match_string=__DB_PWD__
  2481. 2020-05-16 19:45:01,441: INFO - Making setup...
  2482. 2020-05-16 19:45:01,441: DEBUG - + replace_string=**********
  2483. 2020-05-16 19:45:01,442: DEBUG - + sed --in-place s@__DB_PWD__@**********@g /var/www/mobilizon/mobilizon/.env
  2484. 2020-05-16 19:45:01,442: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=Kombine.Shop --target_file=/var/www/mobilizon/mobilizon/.env
  2485. 2020-05-16 19:45:01,442: DEBUG - + local legacy_args=mrf
  2486. 2020-05-16 19:45:01,443: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
  2487. 2020-05-16 19:45:01,443: DEBUG - + declare -Ar args_array
  2488. 2020-05-16 19:45:01,443: DEBUG - + local match_string
  2489. 2020-05-16 19:45:01,445: DEBUG - + local replace_string
  2490. 2020-05-16 19:45:01,446: DEBUG - + local target_file
  2491. 2020-05-16 19:45:01,446: DEBUG - + ynh_handle_getopts_args --match_string=__NAME__ --replace_string=Kombine.Shop --target_file=/var/www/mobilizon/mobilizon/.env
  2492. 2020-05-16 19:45:01,446: DEBUG - + set +x
  2493. 2020-05-16 19:45:01,446: DEBUG - + local delimit=@
  2494. 2020-05-16 19:45:01,447: DEBUG - + match_string=__NAME__
  2495. 2020-05-16 19:45:01,447: DEBUG - + replace_string=Kombine.Shop
  2496. 2020-05-16 19:45:01,447: DEBUG - + sed --in-place s@__NAME__@Kombine.Shop@g /var/www/mobilizon/mobilizon/.env
  2497. 2020-05-16 19:45:01,447: DEBUG - + ynh_replace_string --match_string=__ADMIN_EMAIL__ --replace_string=info@kombine.shop --target_file=/var/www/mobilizon/mobilizon/.env
  2498. 2020-05-16 19:45:01,449: DEBUG - + local legacy_args=mrf
  2499. 2020-05-16 19:45:01,449: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
  2500. 2020-05-16 19:45:01,449: DEBUG - + declare -Ar args_array
  2501. 2020-05-16 19:45:01,449: DEBUG - + local match_string
  2502. 2020-05-16 19:45:01,450: DEBUG - + local replace_string
  2503. 2020-05-16 19:45:01,450: DEBUG - + local target_file
  2504. 2020-05-16 19:45:01,450: DEBUG - + ynh_handle_getopts_args --match_string=__ADMIN_EMAIL__ --replace_string=info@kombine.shop --target_file=/var/www/mobilizon/mobilizon/.env
  2505. 2020-05-16 19:45:01,450: DEBUG - + set +x
  2506. 2020-05-16 19:45:01,450: DEBUG - + local delimit=@
  2507. 2020-05-16 19:45:01,451: DEBUG - + match_string=__ADMIN_EMAIL__
  2508. 2020-05-16 19:45:01,451: DEBUG - + replace_string='info\@kombine.shop'
  2509. 2020-05-16 19:45:01,451: DEBUG - + sed --in-place 's@__ADMIN_EMAIL__@info\@kombine.shop@g' /var/www/mobilizon/mobilizon/.env
  2510. 2020-05-16 19:45:01,453: DEBUG - + ynh_print_info '--message=Making setup...'
  2511. 2020-05-16 19:45:01,453: DEBUG - + local legacy_args=m
  2512. 2020-05-16 19:45:01,454: DEBUG - + args_array=([m]=message=)
  2513. 2020-05-16 19:45:01,454: DEBUG - + declare -Ar args_array
  2514. 2020-05-16 19:45:01,454: DEBUG - + local message
  2515. 2020-05-16 19:45:01,454: DEBUG - + ynh_handle_getopts_args '--message=Making setup...'
  2516. 2020-05-16 19:45:01,455: DEBUG - + set +x
  2517. 2020-05-16 19:45:01,455: DEBUG - + echo 'Making setup...'
  2518. 2020-05-16 19:45:01,455: DEBUG - + ynh_replace_string --match_string=__DOMAIN__ --replace_string=kombine.shop --target_file=../conf/prod.exs
  2519. 2020-05-16 19:45:01,455: DEBUG - + local legacy_args=mrf
  2520. 2020-05-16 19:45:01,456: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
  2521. 2020-05-16 19:45:01,456: DEBUG - + declare -Ar args_array
  2522. 2020-05-16 19:45:01,457: DEBUG - + local match_string
  2523. 2020-05-16 19:45:01,457: DEBUG - + local replace_string
  2524. 2020-05-16 19:45:01,457: DEBUG - + local target_file
  2525. 2020-05-16 19:45:01,458: DEBUG - + ynh_handle_getopts_args --match_string=__DOMAIN__ --replace_string=kombine.shop --target_file=../conf/prod.exs
  2526. 2020-05-16 19:45:01,458: DEBUG - + set +x
  2527. 2020-05-16 19:45:01,458: DEBUG - + local delimit=@
  2528. 2020-05-16 19:45:01,458: DEBUG - + match_string=__DOMAIN__
  2529. 2020-05-16 19:45:01,458: DEBUG - + replace_string=kombine.shop
  2530. 2020-05-16 19:45:01,459: DEBUG - + sed --in-place s@__DOMAIN__@kombine.shop@g ../conf/prod.exs
  2531. 2020-05-16 19:45:01,459: DEBUG - + ynh_replace_string --match_string=__PORT__ --replace_string=8096 --target_file=../conf/prod.exs
  2532. 2020-05-16 19:45:01,459: DEBUG - + local legacy_args=mrf
  2533. 2020-05-16 19:45:01,461: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
  2534. 2020-05-16 19:45:01,461: DEBUG - + declare -Ar args_array
  2535. 2020-05-16 19:45:01,461: DEBUG - + local match_string
  2536. 2020-05-16 19:45:01,461: DEBUG - + local replace_string
  2537. 2020-05-16 19:45:01,462: DEBUG - + local target_file
  2538. 2020-05-16 19:45:01,462: DEBUG - + ynh_handle_getopts_args --match_string=__PORT__ --replace_string=8096 --target_file=../conf/prod.exs
  2539. 2020-05-16 19:45:01,462: DEBUG - + set +x
  2540. 2020-05-16 19:45:01,563: DEBUG - + local delimit=@
  2541. 2020-05-16 19:45:01,563: DEBUG - + match_string=__PORT__
  2542. 2020-05-16 19:45:01,563: DEBUG - + replace_string=8096
  2543. 2020-05-16 19:45:01,563: DEBUG - + sed --in-place s@__PORT__@8096@g ../conf/prod.exs
  2544. 2020-05-16 19:45:01,564: DEBUG - + ynh_replace_string --match_string=__SECRET__ --replace_string=********** --target_file=../conf/prod.exs
  2545. 2020-05-16 19:45:01,564: DEBUG - + local legacy_args=mrf
  2546. 2020-05-16 19:45:01,564: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
  2547. 2020-05-16 19:45:01,564: DEBUG - + declare -Ar args_array
  2548. 2020-05-16 19:45:01,564: DEBUG - + local match_string
  2549. 2020-05-16 19:45:01,565: DEBUG - + local replace_string
  2550. 2020-05-16 19:45:01,565: DEBUG - + local target_file
  2551. 2020-05-16 19:45:01,565: DEBUG - + ynh_handle_getopts_args --match_string=__SECRET__ --replace_string=********** --target_file=../conf/prod.exs
  2552. 2020-05-16 19:45:01,565: DEBUG - + set +x
  2553. 2020-05-16 19:45:01,566: DEBUG - + local delimit=@
  2554. 2020-05-16 19:45:01,566: DEBUG - + match_string=__SECRET__
  2555. 2020-05-16 19:45:01,566: DEBUG - + replace_string=**********
  2556. 2020-05-16 19:45:01,567: DEBUG - + sed --in-place s@__SECRET__@**********@g ../conf/prod.exs
  2557. 2020-05-16 19:45:01,567: DEBUG - + ynh_replace_string --match_string=__DB_NAME__ --replace_string=mobilizon --target_file=../conf/prod.exs
  2558. 2020-05-16 19:45:01,570: DEBUG - + local legacy_args=mrf
  2559. 2020-05-16 19:45:01,570: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
  2560. 2020-05-16 19:45:01,570: DEBUG - + declare -Ar args_array
  2561. 2020-05-16 19:45:01,570: DEBUG - + local match_string
  2562. 2020-05-16 19:45:01,571: DEBUG - + local replace_string
  2563. 2020-05-16 19:45:01,571: DEBUG - + local target_file
  2564. 2020-05-16 19:45:01,571: DEBUG - + ynh_handle_getopts_args --match_string=__DB_NAME__ --replace_string=mobilizon --target_file=../conf/prod.exs
  2565. 2020-05-16 19:45:01,573: DEBUG - + set +x
  2566. 2020-05-16 19:45:01,573: DEBUG - + local delimit=@
  2567. 2020-05-16 19:45:01,573: DEBUG - + match_string=__DB_NAME__
  2568. 2020-05-16 19:45:01,574: DEBUG - + replace_string=mobilizon
  2569. 2020-05-16 19:45:01,574: DEBUG - + sed --in-place s@__DB_NAME__@mobilizon@g ../conf/prod.exs
  2570. 2020-05-16 19:45:01,574: DEBUG - + ynh_replace_string --match_string=__DB_USER__ --replace_string=mobilizon --target_file=../conf/prod.exs
  2571. 2020-05-16 19:45:01,574: DEBUG - + local legacy_args=mrf
  2572. 2020-05-16 19:45:01,575: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
  2573. 2020-05-16 19:45:01,575: DEBUG - + declare -Ar args_array
  2574. 2020-05-16 19:45:01,575: DEBUG - + local match_string
  2575. 2020-05-16 19:45:01,577: DEBUG - + local replace_string
  2576. 2020-05-16 19:45:01,577: DEBUG - + local target_file
  2577. 2020-05-16 19:45:01,578: DEBUG - + ynh_handle_getopts_args --match_string=__DB_USER__ --replace_string=mobilizon --target_file=../conf/prod.exs
  2578. 2020-05-16 19:45:01,578: DEBUG - + set +x
  2579. 2020-05-16 19:45:01,578: DEBUG - + local delimit=@
  2580. 2020-05-16 19:45:01,578: DEBUG - + match_string=__DB_USER__
  2581. 2020-05-16 19:45:01,579: DEBUG - + replace_string=mobilizon
  2582. 2020-05-16 19:45:01,579: DEBUG - + sed --in-place s@__DB_USER__@mobilizon@g ../conf/prod.exs
  2583. 2020-05-16 19:45:01,579: DEBUG - + ynh_replace_string --match_string=__DB_PWD__ --replace_string=********** --target_file=../conf/prod.exs
  2584. 2020-05-16 19:45:01,580: DEBUG - + local legacy_args=mrf
  2585. 2020-05-16 19:45:01,580: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
  2586. 2020-05-16 19:45:01,581: DEBUG - + declare -Ar args_array
  2587. 2020-05-16 19:45:01,581: DEBUG - + local match_string
  2588. 2020-05-16 19:45:01,581: DEBUG - + local replace_string
  2589. 2020-05-16 19:45:01,582: DEBUG - + local target_file
  2590. 2020-05-16 19:45:01,582: DEBUG - + ynh_handle_getopts_args --match_string=__DB_PWD__ --replace_string=********** --target_file=../conf/prod.exs
  2591. 2020-05-16 19:45:01,582: DEBUG - + set +x
  2592. 2020-05-16 19:45:01,583: DEBUG - + local delimit=@
  2593. 2020-05-16 19:45:01,583: DEBUG - + match_string=__DB_PWD__
  2594. 2020-05-16 19:45:01,592: DEBUG - + replace_string=**********
  2595. 2020-05-16 19:45:01,592: DEBUG - + sed --in-place s@__DB_PWD__@**********@g ../conf/prod.exs
  2596. 2020-05-16 19:45:01,592: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=Kombine.Shop --target_file=../conf/prod.exs
  2597. 2020-05-16 19:45:01,592: DEBUG - + local legacy_args=mrf
  2598. 2020-05-16 19:45:01,593: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
  2599. 2020-05-16 19:45:01,593: DEBUG - + declare -Ar args_array
  2600. 2020-05-16 19:45:01,593: DEBUG - + local match_string
  2601. 2020-05-16 19:45:01,593: DEBUG - + local replace_string
  2602. 2020-05-16 19:45:01,593: DEBUG - + local target_file
  2603. 2020-05-16 19:45:01,594: DEBUG - + ynh_handle_getopts_args --match_string=__NAME__ --replace_string=Kombine.Shop --target_file=../conf/prod.exs
  2604. 2020-05-16 19:45:01,594: DEBUG - + set +x
  2605. 2020-05-16 19:45:01,594: DEBUG - + local delimit=@
  2606. 2020-05-16 19:45:01,594: DEBUG - + match_string=__NAME__
  2607. 2020-05-16 19:45:01,594: DEBUG - + replace_string=Kombine.Shop
  2608. 2020-05-16 19:45:01,595: DEBUG - + sed --in-place s@__NAME__@Kombine.Shop@g ../conf/prod.exs
  2609. 2020-05-16 19:45:01,595: DEBUG - + ynh_replace_string --match_string=__ADMIN_EMAIL__ --replace_string=info@kombine.shop --target_file=../conf/prod.exs
  2610. 2020-05-16 19:45:01,599: DEBUG - + local legacy_args=mrf
  2611. 2020-05-16 19:45:01,600: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
  2612. 2020-05-16 19:45:01,600: DEBUG - + declare -Ar args_array
  2613. 2020-05-16 19:45:01,601: DEBUG - + local match_string
  2614. 2020-05-16 19:45:01,601: DEBUG - + local replace_string
  2615. 2020-05-16 19:45:01,602: DEBUG - + local target_file
  2616. 2020-05-16 19:45:01,602: DEBUG - + ynh_handle_getopts_args --match_string=__ADMIN_EMAIL__ --replace_string=info@kombine.shop --target_file=../conf/prod.exs
  2617. 2020-05-16 19:45:01,602: DEBUG - + set +x
  2618. 2020-05-16 19:45:01,603: DEBUG - + local delimit=@
  2619. 2020-05-16 19:45:01,603: DEBUG - + match_string=__ADMIN_EMAIL__
  2620. 2020-05-16 19:45:01,603: DEBUG - + replace_string='info\@kombine.shop'
  2621. 2020-05-16 19:45:01,605: DEBUG - + sed --in-place 's@__ADMIN_EMAIL__@info\@kombine.shop@g' ../conf/prod.exs
  2622. 2020-05-16 19:45:01,606: DEBUG - + cp ../conf/prod.exs /var/www/mobilizon/mobilizon/config/prod.exs
  2623. 2020-05-16 19:45:01,606: DEBUG - + chown -R mobilizon:mobilizon /var/www/mobilizon
  2624. 2020-05-16 19:45:01,606: DEBUG - + pushd /var/www/mobilizon/mobilizon/js
  2625. 2020-05-16 19:45:01,607: DEBUG - /var/www/mobilizon/mobilizon/js /var/cache/yunohost/from_file/mobilizon_ynh-6b77f268d4e7e2cd525e11e11f3ed5a5162d0bd2/scripts
  2626. 2020-05-16 19:45:01,607: DEBUG - + ynh_use_nodejs
  2627. 2020-05-16 19:45:01,608: DEBUG - ++ ynh_app_setting_get --app=mobilizon --key=nodejs_version
  2628. 2020-05-16 19:45:01,609: DEBUG - ++ local legacy_args=ak
  2629. 2020-05-16 19:45:01,609: DEBUG - ++ args_array=([a]=app= [k]=key=)
  2630. 2020-05-16 19:45:01,709: DEBUG - ++ declare -Ar args_array
  2631. 2020-05-16 19:45:01,710: DEBUG - ++ local app
  2632. 2020-05-16 19:45:01,710: DEBUG - ++ local key
  2633. 2020-05-16 19:45:01,711: DEBUG - ++ ynh_handle_getopts_args --app=mobilizon --key=nodejs_version
  2634. 2020-05-16 19:45:01,711: DEBUG - ++ set +x
  2635. 2020-05-16 19:45:01,711: DEBUG - ++ ynh_app_setting get mobilizon nodejs_version
  2636. 2020-05-16 19:45:01,711: DEBUG - ++ [[ get == \d\e\l\e\t\e ]]
  2637. 2020-05-16 19:45:01,712: DEBUG - ++ ACTION=get
  2638. 2020-05-16 19:45:01,712: DEBUG - ++ APP=mobilizon
  2639. 2020-05-16 19:45:01,712: DEBUG - ++ KEY=nodejs_version
  2640. 2020-05-16 19:45:01,712: DEBUG - ++ VALUE=
  2641. 2020-05-16 19:45:01,713: DEBUG - ++ python2.7 -
  2642. 2020-05-16 19:45:01,813: DEBUG - ++ [[ nodejs_version =~ ^(unprotected|skipped)_ ]]
  2643. 2020-05-16 19:45:01,814: DEBUG - + nodejs_version=10
  2644. 2020-05-16 19:45:01,814: DEBUG - + nodejs_use_version='echo "Deprecated command, should be removed"'
  2645. 2020-05-16 19:45:01,815: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/10/bin
  2646. 2020-05-16 19:45:01,815: DEBUG - + [[ :/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin: == *\:\/\o\p\t\/\n\o\d\e\_\n\/\n\/\v\e\r\s\i\o\n\s\/\n\o\d\e\/\1\0\/\b\i\n* ]]
  2647. 2020-05-16 19:45:01,816: DEBUG - + sudo -u mobilizon env PATH=/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn install
  2648. 2020-05-16 19:45:02,117: DEBUG - Parsing scenario file install
  2649. 2020-05-16 19:45:02,118: WARNING - ERROR: [Errno 2] No such file or directory: 'install'
  2650. 2020-05-16 19:45:02,119: DEBUG - + ynh_exit_properly
  2651. 2020-05-16 19:45:02,119: DEBUG - + local exit_code=1
  2652. 2020-05-16 19:45:02,119: DEBUG - + '[' 1 -eq 0 ']'
  2653. 2020-05-16 19:45:02,120: DEBUG - + trap '' EXIT
  2654. 2020-05-16 19:45:02,120: DEBUG - + set +eu
  2655. 2020-05-16 19:45:02,120: DEBUG - + sleep 0.5
  2656. 2020-05-16 19:45:02,625: DEBUG - + type -t ynh_clean_setup
  2657. 2020-05-16 19:45:02,626: WARNING -
  2658. 2020-05-16 19:45:02,627: DEBUG - + ynh_clean_setup
  2659. 2020-05-16 19:45:02,628: DEBUG - + ynh_clean_check_starting
  2660. 2020-05-16 19:45:02,628: DEBUG - + '[' -n '' ']'
  2661. 2020-05-16 19:45:02,629: DEBUG - + '[' -n '' ']'
  2662. 2020-05-16 19:45:02,629: DEBUG - + ynh_die
  2663. 2020-05-16 19:45:02,629: DEBUG - + local legacy_args=mc
  2664. 2020-05-16 19:45:02,630: DEBUG - + args_array=([m]=message= [c]=ret_code=)
  2665. 2020-05-16 19:45:02,630: DEBUG - + declare -Ar args_array
  2666. 2020-05-16 19:45:02,631: DEBUG - + local message
  2667. 2020-05-16 19:45:02,631: DEBUG - + local ret_code
  2668. 2020-05-16 19:45:02,632: DEBUG - + ynh_handle_getopts_args
  2669. 2020-05-16 19:45:02,632: DEBUG - + set +x
  2670. 2020-05-16 19:45:02,633: DEBUG - + echo ''
  2671. 2020-05-16 19:45:02,633: DEBUG - + exit 1
  2672. 2020-05-16 19:45:02,749: ERROR - Could not install mobilizon: An error occurred inside the app installation script
Add Comment
Please, Sign In to add comment