Advertisement
Guest User

Untitled

a guest
Nov 12th, 2021
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 50.48 KB | None | 0 0
  1. args:
  2. app: thelounge
  3. args: domain=maindomain.tld&path=%2Firc&is_public=1
  4. force: false
  5. label: The Lounge
  6. no_remove_on_failure: false
  7. ended_at: 2021-11-12 18:59:25.619215
  8. env:
  9. YNH_APP_ARG_DOMAIN: maindomain.tld
  10. YNH_APP_ARG_IS_PUBLIC: '1'
  11. YNH_APP_ARG_PATH: /irc
  12. YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc
  13. YNH_APP_ID: thelounge
  14. YNH_APP_INSTANCE_NAME: thelounge
  15. YNH_APP_INSTANCE_NUMBER: '1'
  16. YNH_APP_MANIFEST_VERSION: 4.2.0~ynh5
  17. YNH_ARCH: amd64
  18. error: An error occurred inside the app installation script
  19. interface: api
  20. operation: app_install
  21. parent: null
  22. related_to:
  23. - - app
  24. - thelounge
  25. started_at: 2021-11-12 18:59:11.007659
  26. success: false
  27. yunohost_version: 4.3.2.2
  28.  
  29. ============
  30.  
  31. 2021-11-12 18:59:11,013: INFO - Installing thelounge...
  32. 2021-11-12 18:59:11,066: DEBUG - Nothing to update in LDAP
  33. 2021-11-12 18:59:11,066: DEBUG - Permission 'thelounge.main' updated
  34. 2021-11-12 18:59:11,106: DEBUG - Full log of this operation: '<a href="#/tools/logs/20211112-185911-permission_url-thelounge" style="text-decoration:underline">Update URL related to permission 'thelounge'</a>'
  35. 2021-11-12 18:59:11,187: DEBUG - The permission database has been resynchronized
  36. 2021-11-12 18:59:11,237: DEBUG - SSOwat configuration regenerated
  37. 2021-11-12 18:59:11,280: DEBUG - Permission 'thelounge.main' created
  38. 2021-11-12 18:59:11,280: DEBUG - Full log of this operation: '<a href="#/tools/logs/20211112-185911-permission_create-thelounge" style="text-decoration:underline">Create permission 'thelounge'</a>'
  39. 2021-11-12 18:59:11,290: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install" 7>&1']'
  40. 2021-11-12 18:59:11,294: DEBUG - + source _common.sh
  41. 2021-11-12 18:59:11,294: DEBUG - ++ nodejs_version=14
  42. 2021-11-12 18:59:11,294: DEBUG - + source /usr/share/yunohost/helpers
  43. 2021-11-12 18:59:11,295: DEBUG - +++ grep xtrace
  44. 2021-11-12 18:59:11,295: DEBUG - +++ set +o
  45. 2021-11-12 18:59:11,296: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
  46. 2021-11-12 18:59:11,297: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
  47. 2021-11-12 18:59:11,314: DEBUG - + ynh_abort_if_errors
  48. 2021-11-12 18:59:11,315: DEBUG - + trap ynh_exit_properly EXIT
  49. 2021-11-12 18:59:11,315: DEBUG - + domain=maindomain.tld
  50. 2021-11-12 18:59:11,315: DEBUG - + path_url=/irc
  51. 2021-11-12 18:59:11,315: DEBUG - + is_public=1
  52. 2021-11-12 18:59:11,315: DEBUG - + app=thelounge
  53. 2021-11-12 18:59:11,351: DEBUG - + final_path=/var/www/thelounge
  54. 2021-11-12 18:59:11,351: DEBUG - + test '!' -e /var/www/thelounge
  55. 2021-11-12 18:59:11,351: DEBUG - + ynh_webpath_register --app=thelounge --domain=maindomain.tld --path_url=/irc
  56. 2021-11-12 18:59:11,351: INFO - [+...................] > Validating installation parameters...
  57. 2021-11-12 18:59:11,388: DEBUG - + yunohost app register-url thelounge maindomain.tld /irc
  58. 2021-11-12 18:59:12,032: DEBUG - + ynh_app_setting_set --app=thelounge --key=domain --value=maindomain.tld
  59. 2021-11-12 18:59:12,032: DEBUG - + local _globalapp=thelounge
  60. 2021-11-12 18:59:12,032: INFO - [#+..................] > Storing installation settings...
  61. 2021-11-12 18:59:12,070: DEBUG - + app=thelounge
  62. 2021-11-12 18:59:12,071: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]]
  63. 2021-11-12 18:59:12,071: DEBUG - + ynh_app_setting set thelounge domain maindomain.tld
  64. 2021-11-12 18:59:12,097: DEBUG - + ynh_app_setting_set --app=thelounge --key=path --value=/irc
  65. 2021-11-12 18:59:12,097: DEBUG - + local _globalapp=thelounge
  66. 2021-11-12 18:59:12,132: DEBUG - + app=thelounge
  67. 2021-11-12 18:59:12,132: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]]
  68. 2021-11-12 18:59:12,132: DEBUG - + ynh_app_setting set thelounge path /irc
  69. 2021-11-12 18:59:12,181: INFO - [##+.................] > Finding an available port...
  70. 2021-11-12 18:59:12,181: DEBUG - ++ ynh_find_port 9000
  71. 2021-11-12 18:59:12,188: DEBUG - ++ test -n 9000
  72. 2021-11-12 18:59:12,188: DEBUG - ++ ynh_port_available --port=9000
  73. 2021-11-12 18:59:12,194: DEBUG - ++ grep --quiet --extended-regexp ':9000$'
  74. 2021-11-12 18:59:12,196: DEBUG - ++ awk '{print$5}'
  75. 2021-11-12 18:59:12,197: DEBUG - ++ ss --numeric --listening --tcp --udp
  76. 2021-11-12 18:59:12,209: DEBUG - ++ grep -q 'port: '\''9000'\''' /etc/yunohost/apps/alltube/settings.yml /etc/yunohost/apps/bludit/settings.yml /etc/yunohost/apps/converse/settings.yml /etc/yunohost/apps/mattermost/settings.yml /etc/yunohost/apps/navidrome/settings.yml /etc/yunohost/apps/nextcloud/settings.yml /etc/yunohost/apps/rainloop/settings.yml /etc/yunohost/apps/rocketchat/settings.yml /etc/yunohost/apps/thelounge/settings.yml
  77. 2021-11-12 18:59:12,210: DEBUG - ++ return 0
  78. 2021-11-12 18:59:12,210: DEBUG - ++ echo 9000
  79. 2021-11-12 18:59:12,210: DEBUG - + port=9000
  80. 2021-11-12 18:59:12,210: DEBUG - + ynh_app_setting_set --app=thelounge --key=port --value=9000
  81. 2021-11-12 18:59:12,211: DEBUG - + local _globalapp=thelounge
  82. 2021-11-12 18:59:12,251: DEBUG - + app=thelounge
  83. 2021-11-12 18:59:12,251: DEBUG - + [[ port =~ (unprotected|protected|skipped)_ ]]
  84. 2021-11-12 18:59:12,251: DEBUG - + ynh_app_setting set thelounge port 9000
  85. 2021-11-12 18:59:12,303: DEBUG - + ynh_exec_warn_less ynh_install_nodejs --nodejs_version=14
  86. 2021-11-12 18:59:12,303: DEBUG - + [[ 2 -eq 1 ]]
  87. 2021-11-12 18:59:12,303: DEBUG - + ynh_install_nodejs --nodejs_version=14
  88. 2021-11-12 18:59:12,304: INFO - [###++...............] > Installing dependencies...
  89. 2021-11-12 18:59:12,309: DEBUG - + mkdir --parents /opt/node_n
  90. 2021-11-12 18:59:12,310: DEBUG - + CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  91. 2021-11-12 18:59:12,311: DEBUG - ++ sed s@/usr/local/bin:@@
  92. 2021-11-12 18:59:12,312: DEBUG - ++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  93. 2021-11-12 18:59:12,313: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
  94. 2021-11-12 18:59:12,313: DEBUG - + test -x /usr/bin/node
  95. 2021-11-12 18:59:12,313: DEBUG - + mv /usr/bin/node /usr/bin/node_n
  96. 2021-11-12 18:59:12,314: DEBUG - + test -x /usr/bin/npm
  97. 2021-11-12 18:59:12,314: DEBUG - + /opt/node_n/bin/n --version
  98. 2021-11-12 18:59:12,319: DEBUG - ++ /opt/node_n/bin/n --version
  99. 2021-11-12 18:59:12,324: DEBUG - + dpkg --compare-versions v7.5.0 lt 7.5.0
  100. 2021-11-12 18:59:12,325: DEBUG - dpkg: warning: version 'v7.5.0' has bad syntax: version number does not start with digit
  101. 2021-11-12 18:59:12,326: 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
  102. 2021-11-12 18:59:12,363: DEBUG - + sed --in-place 's@^N_PREFIX=${N_PREFIX-.*}$@N_PREFIX=${N_PREFIX-/opt/node_n}@g' /opt/node_n/bin/n
  103. 2021-11-12 18:59:12,364: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  104. 2021-11-12 18:59:12,365: DEBUG - + test -x /usr/bin/node_n
  105. 2021-11-12 18:59:12,365: DEBUG - + mv /usr/bin/node_n /usr/bin/node
  106. 2021-11-12 18:59:12,365: DEBUG - + test -x /usr/bin/npm_n
  107. 2021-11-12 18:59:12,366: DEBUG - ++ uname --machine
  108. 2021-11-12 18:59:12,367: DEBUG - + uname=x86_64
  109. 2021-11-12 18:59:12,367: DEBUG - + [[ x86_64 =~ aarch64 ]]
  110. 2021-11-12 18:59:12,367: DEBUG - + [[ x86_64 =~ arm64 ]]
  111. 2021-11-12 18:59:12,367: DEBUG - + n 14
  112. 2021-11-12 18:59:13,845: DEBUG - installed : v14.18.1 (with npm 6.14.15)
  113. 2021-11-12 18:59:13,846: DEBUG - ++ tail --lines=1
  114. 2021-11-12 18:59:13,846: DEBUG - ++ sort --version-sort
  115. 2021-11-12 18:59:13,848: DEBUG - ++ find /opt/node_n/n/versions/node/14 /opt/node_n/n/versions/node/14.18.1 -maxdepth 0
  116. 2021-11-12 18:59:13,849: DEBUG - + real_nodejs_version=/opt/node_n/n/versions/node/14.18.1
  117. 2021-11-12 18:59:13,849: DEBUG - ++ basename /opt/node_n/n/versions/node/14.18.1
  118. 2021-11-12 18:59:13,850: DEBUG - + real_nodejs_version=14.18.1
  119. 2021-11-12 18:59:13,851: DEBUG - + '[' '!' -e /opt/node_n/n/versions/node/14 ']'
  120. 2021-11-12 18:59:13,851: DEBUG - + tee --append /opt/node_n/ynh_app_version
  121. 2021-11-12 18:59:13,851: DEBUG - + echo thelounge:14
  122. 2021-11-12 18:59:13,852: DEBUG - thelounge:14
  123. 2021-11-12 18:59:13,853: DEBUG - + ynh_app_setting_set --app=thelounge --key=nodejs_version --value=14
  124. 2021-11-12 18:59:13,853: DEBUG - + local _globalapp=thelounge
  125. 2021-11-12 18:59:13,888: DEBUG - + app=thelounge
  126. 2021-11-12 18:59:13,888: DEBUG - + [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
  127. 2021-11-12 18:59:13,888: DEBUG - + ynh_app_setting set thelounge nodejs_version 14
  128. 2021-11-12 18:59:13,917: DEBUG - + ynh_cron_upgrade_node
  129. 2021-11-12 18:59:13,917: DEBUG - + cat
  130. 2021-11-12 18:59:13,919: DEBUG - + chmod +x /opt/node_n/node_update.sh
  131. 2021-11-12 18:59:13,920: DEBUG - + cat
  132. 2021-11-12 18:59:13,921: DEBUG - + chmod +x /etc/cron.daily/node_update
  133. 2021-11-12 18:59:13,921: DEBUG - + ynh_use_nodejs
  134. 2021-11-12 18:59:13,922: DEBUG - ++ ynh_app_setting_get --app=thelounge --key=nodejs_version
  135. 2021-11-12 18:59:13,922: DEBUG - ++ local _globalapp=thelounge
  136. 2021-11-12 18:59:13,940: DEBUG - ++ app=thelounge
  137. 2021-11-12 18:59:13,940: DEBUG - ++ [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
  138. 2021-11-12 18:59:13,940: DEBUG - ++ ynh_app_setting get thelounge nodejs_version
  139. 2021-11-12 18:59:13,966: DEBUG - + nodejs_version=14
  140. 2021-11-12 18:59:13,966: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/14/bin
  141. 2021-11-12 18:59:13,966: DEBUG - + shopt -s expand_aliases
  142. 2021-11-12 18:59:13,966: DEBUG - + ynh_node=/opt/node_n/n/versions/node/14/bin/node
  143. 2021-11-12 18:59:13,966: DEBUG - + alias ynh_node=/opt/node_n/n/versions/node/14/bin/node
  144. 2021-11-12 18:59:13,966: DEBUG - + ynh_npm=/opt/node_n/n/versions/node/14/bin/npm
  145. 2021-11-12 18:59:13,966: DEBUG - + alias ynh_npm=/opt/node_n/n/versions/node/14/bin/npm
  146. 2021-11-12 18:59:13,966: 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\4\/\b\i\n* ]]
  147. 2021-11-12 18:59:13,966: DEBUG - + PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  148. 2021-11-12 18:59:13,966: DEBUG - + node_PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  149. 2021-11-12 18:59:13,966: DEBUG - + ynh_node_load_PATH=PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  150. 2021-11-12 18:59:13,967: DEBUG - + ynh_node_load_path=PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  151. 2021-11-12 18:59:13,967: 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
  152. 2021-11-12 18:59:14,021: DEBUG - + name=thelounge
  153. 2021-11-12 18:59:14,021: DEBUG - + key=https://dl.yarnpkg.com/debian/pubkey.gpg
  154. 2021-11-12 18:59:14,021: DEBUG - + '[' -n https://dl.yarnpkg.com/debian/pubkey.gpg ']'
  155. 2021-11-12 18:59:14,021: DEBUG - + key=--key=https://dl.yarnpkg.com/debian/pubkey.gpg
  156. 2021-11-12 18:59:14,021: 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=thelounge
  157. 2021-11-12 18:59:14,099: DEBUG - + name=thelounge
  158. 2021-11-12 18:59:14,100: DEBUG - + append=0
  159. 2021-11-12 18:59:14,100: DEBUG - + key=https://dl.yarnpkg.com/debian/pubkey.gpg
  160. 2021-11-12 18:59:14,100: DEBUG - + priority=995
  161. 2021-11-12 18:59:14,100: DEBUG - + append=
  162. 2021-11-12 18:59:14,100: DEBUG - + wget_append=tee
  163. 2021-11-12 18:59:14,100: DEBUG - + repo='https://dl.yarnpkg.com/debian/ stable main'
  164. 2021-11-12 18:59:14,100: DEBUG - ++ awk '{ print $1 }'
  165. 2021-11-12 18:59:14,101: DEBUG - ++ echo 'https://dl.yarnpkg.com/debian/ stable main'
  166. 2021-11-12 18:59:14,103: DEBUG - + local uri=https://dl.yarnpkg.com/debian/
  167. 2021-11-12 18:59:14,103: DEBUG - ++ awk '{ print $2 }'
  168. 2021-11-12 18:59:14,105: DEBUG - ++ echo 'https://dl.yarnpkg.com/debian/ stable main'
  169. 2021-11-12 18:59:14,105: DEBUG - + local suite=stable
  170. 2021-11-12 18:59:14,105: DEBUG - + local component=main
  171. 2021-11-12 18:59:14,106: DEBUG - + ynh_add_repo --uri=https://dl.yarnpkg.com/debian/ --suite=stable --component=main --name=thelounge
  172. 2021-11-12 18:59:14,182: DEBUG - + name=thelounge
  173. 2021-11-12 18:59:14,183: DEBUG - + append=0
  174. 2021-11-12 18:59:14,183: DEBUG - + append=tee
  175. 2021-11-12 18:59:14,183: DEBUG - + mkdir --parents /etc/apt/sources.list.d
  176. 2021-11-12 18:59:14,184: DEBUG - + tee /etc/apt/sources.list.d/thelounge.list
  177. 2021-11-12 18:59:14,185: DEBUG - deb https://dl.yarnpkg.com/debian/ stable main
  178. 2021-11-12 18:59:14,185: DEBUG - + local pin=dl.yarnpkg.com/debian/
  179. 2021-11-12 18:59:14,185: DEBUG - + pin=dl.yarnpkg.com
  180. 2021-11-12 18:59:14,186: DEBUG - + '[' -n 995 ']'
  181. 2021-11-12 18:59:14,186: DEBUG - + priority=--priority=995
  182. 2021-11-12 18:59:14,186: DEBUG - + ynh_pin_repo '--package=*' '--pin=origin "dl.yarnpkg.com"' --priority=995 --name=thelounge
  183. 2021-11-12 18:59:14,263: DEBUG - + package='*'
  184. 2021-11-12 18:59:14,263: DEBUG - + priority=995
  185. 2021-11-12 18:59:14,263: DEBUG - + name=thelounge
  186. 2021-11-12 18:59:14,263: DEBUG - + append=0
  187. 2021-11-12 18:59:14,263: DEBUG - + append=tee
  188. 2021-11-12 18:59:14,263: DEBUG - + [[ thelounge != \e\x\t\r\a\_\p\h\p\_\v\e\r\s\i\o\n ]]
  189. 2021-11-12 18:59:14,263: DEBUG - + mkdir --parents /etc/apt/preferences.d
  190. 2021-11-12 18:59:14,264: DEBUG - + tee /etc/apt/preferences.d/thelounge
  191. 2021-11-12 18:59:14,265: DEBUG - Pin: origin "dl.yarnpkg.com"
  192. 2021-11-12 18:59:14,265: DEBUG - Pin-Priority: 995
  193. 2021-11-12 18:59:14,265: DEBUG - '
  194. 2021-11-12 18:59:14,265: DEBUG - Package: *
  195. 2021-11-12 18:59:14,266: DEBUG - Pin: origin "dl.yarnpkg.com"
  196. 2021-11-12 18:59:14,266: DEBUG - Pin-Priority: 995
  197. 2021-11-12 18:59:14,266: DEBUG -
  198. 2021-11-12 18:59:14,266: DEBUG - + '[' -n https://dl.yarnpkg.com/debian/pubkey.gpg ']'
  199. 2021-11-12 18:59:14,266: DEBUG - + mkdir --parents /etc/apt/trusted.gpg.d
  200. 2021-11-12 18:59:14,267: DEBUG - + tee /etc/apt/trusted.gpg.d/thelounge.gpg
  201. 2021-11-12 18:59:14,268: DEBUG - + gpg --dearmor
  202. 2021-11-12 18:59:14,269: DEBUG - + wget --timeout 900 --quiet https://dl.yarnpkg.com/debian/pubkey.gpg --output-document=-
  203. 2021-11-12 18:59:14,451: DEBUG - + ynh_package_update
  204. 2021-11-12 18:59:14,451: DEBUG - + ynh_apt update
  205. 2021-11-12 18:59:14,451: DEBUG - + ynh_wait_dpkg_free
  206. 2021-11-12 18:59:14,497: DEBUG - + return 0
  207. 2021-11-12 18:59:14,497: DEBUG - + LC_ALL=C
  208. 2021-11-12 18:59:14,497: DEBUG - + DEBIAN_FRONTEND=noninteractive
  209. 2021-11-12 18:59:14,497: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
  210. 2021-11-12 18:59:14,719: DEBUG - Get:1 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
  211. 2021-11-12 18:59:14,813: DEBUG - Get:2 https://dl.yarnpkg.com/debian stable/main all Packages [10.4 kB]
  212. 2021-11-12 18:59:14,827: DEBUG - Get:3 https://dl.yarnpkg.com/debian stable/main amd64 Packages [10.4 kB]
  213. 2021-11-12 18:59:15,094: DEBUG - Hit:4 http://deb.debian.org/debian buster InRelease
  214. 2021-11-12 18:59:15,096: DEBUG - Hit:5 http://security.debian.org/debian-security buster/updates InRelease
  215. 2021-11-12 18:59:15,148: DEBUG - Hit:6 http://forge.yunohost.org/debian buster InRelease
  216. 2021-11-12 18:59:15,231: DEBUG - Hit:7 http://deb.debian.org/debian buster-updates InRelease
  217. 2021-11-12 18:59:15,390: DEBUG - Fetched 37.9 kB in 1s (44.7 kB/s)
  218. 2021-11-12 18:59:15,930: DEBUG - Reading package lists...
  219. 2021-11-12 18:59:15,951: DEBUG - + ynh_install_app_dependencies yarn
  220. 2021-11-12 18:59:15,952: DEBUG - + local dependencies=yarn
  221. 2021-11-12 18:59:15,952: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
  222. 2021-11-12 18:59:15,953: DEBUG - ++ echo yarn
  223. 2021-11-12 18:59:15,954: DEBUG - + dependencies=yarn
  224. 2021-11-12 18:59:15,954: DEBUG - + local dependencies=yarn
  225. 2021-11-12 18:59:15,954: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc/manifest.json
  226. 2021-11-12 18:59:15,954: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc/manifest.json
  227. 2021-11-12 18:59:15,959: DEBUG - + local version=4.2.0~ynh5
  228. 2021-11-12 18:59:15,959: DEBUG - + '[' -z 4.2.0~ynh5 ']'
  229. 2021-11-12 18:59:15,959: DEBUG - + '[' 4.2.0~ynh5 == null ']'
  230. 2021-11-12 18:59:15,959: DEBUG - + local dep_app=thelounge
  231. 2021-11-12 18:59:15,959: DEBUG - + [[ yarn =~ [<=>] ]]
  232. 2021-11-12 18:59:15,960: DEBUG - ++ sort -u
  233. 2021-11-12 18:59:15,961: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
  234. 2021-11-12 18:59:15,962: DEBUG - ++ echo yarn
  235. 2021-11-12 18:59:15,962: DEBUG - + local specific_php_version=
  236. 2021-11-12 18:59:15,962: DEBUG - + [[ '' != \7\.\3 ]]
  237. 2021-11-12 18:59:15,962: DEBUG - + [[ true == \t\r\u\e ]]
  238. 2021-11-12 18:59:15,962: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
  239. 2021-11-12 18:59:15,963: DEBUG - + grep --quiet php
  240. 2021-11-12 18:59:15,964: DEBUG - + cat
  241. 2021-11-12 18:59:15,965: DEBUG - + ynh_package_install_from_equivs /tmp/thelounge-ynh-deps.control
  242. 2021-11-12 18:59:15,965: DEBUG - + local controlfile=/tmp/thelounge-ynh-deps.control
  243. 2021-11-12 18:59:15,965: DEBUG - ++ cut '--delimiter= ' --fields=2
  244. 2021-11-12 18:59:15,966: DEBUG - ++ grep '^Package: ' /tmp/thelounge-ynh-deps.control
  245. 2021-11-12 18:59:15,967: DEBUG - + local pkgname=thelounge-ynh-deps
  246. 2021-11-12 18:59:15,968: DEBUG - ++ cut '--delimiter= ' --fields=2
  247. 2021-11-12 18:59:15,968: DEBUG - ++ grep '^Version: ' /tmp/thelounge-ynh-deps.control
  248. 2021-11-12 18:59:15,970: DEBUG - + local pkgversion=4.2.0~ynh5
  249. 2021-11-12 18:59:15,970: DEBUG - + [[ -z thelounge-ynh-deps ]]
  250. 2021-11-12 18:59:15,970: DEBUG - + [[ -z 4.2.0~ynh5 ]]
  251. 2021-11-12 18:59:15,970: DEBUG - + ynh_package_update
  252. 2021-11-12 18:59:15,970: DEBUG - + ynh_apt update
  253. 2021-11-12 18:59:15,970: DEBUG - + ynh_wait_dpkg_free
  254. 2021-11-12 18:59:16,019: DEBUG - + return 0
  255. 2021-11-12 18:59:16,019: DEBUG - + LC_ALL=C
  256. 2021-11-12 18:59:16,019: DEBUG - + DEBIAN_FRONTEND=noninteractive
  257. 2021-11-12 18:59:16,019: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
  258. 2021-11-12 18:59:16,234: DEBUG - Hit:1 https://dl.yarnpkg.com/debian stable InRelease
  259. 2021-11-12 18:59:16,468: DEBUG - Hit:2 http://deb.debian.org/debian buster InRelease
  260. 2021-11-12 18:59:16,469: DEBUG - Hit:3 http://security.debian.org/debian-security buster/updates InRelease
  261. 2021-11-12 18:59:16,531: DEBUG - Hit:4 http://forge.yunohost.org/debian buster InRelease
  262. 2021-11-12 18:59:16,606: DEBUG - Hit:5 http://deb.debian.org/debian buster-updates InRelease
  263. 2021-11-12 18:59:17,202: DEBUG - Reading package lists...
  264. 2021-11-12 18:59:17,225: DEBUG - ++ mktemp --directory
  265. 2021-11-12 18:59:17,226: DEBUG - + local TMPDIR=/tmp/tmp.6DNWrnoHTa
  266. 2021-11-12 18:59:17,227: DEBUG - + echo 10
  267. 2021-11-12 18:59:17,227: DEBUG - + ynh_wait_dpkg_free
  268. 2021-11-12 18:59:17,268: DEBUG - + return 0
  269. 2021-11-12 18:59:17,268: DEBUG - + cp /tmp/thelounge-ynh-deps.control /tmp/tmp.6DNWrnoHTa/control
  270. 2021-11-12 18:59:17,269: DEBUG - + cd /tmp/tmp.6DNWrnoHTa
  271. 2021-11-12 18:59:17,269: DEBUG - + LC_ALL=C
  272. 2021-11-12 18:59:17,269: DEBUG - + equivs-build ./control
  273. 2021-11-12 18:59:17,709: DEBUG - + tee ./dpkg_log
  274. 2021-11-12 18:59:17,710: DEBUG - + LC_ALL=C
  275. 2021-11-12 18:59:17,710: DEBUG - + dpkg --force-depends --install ./thelounge-ynh-deps_4.2.0~ynh5_all.deb
  276. 2021-11-12 18:59:17,869: DEBUG - (Reading database ... 62468 files and directories currently installed.)
  277. 2021-11-12 18:59:17,871: DEBUG - Preparing to unpack .../thelounge-ynh-deps_4.2.0~ynh5_all.deb ...
  278. 2021-11-12 18:59:17,873: DEBUG - Unpacking thelounge-ynh-deps (4.2.0~ynh5) over (4.2.0~ynh5) ...
  279. 2021-11-12 18:59:17,880: DEBUG - Setting up thelounge-ynh-deps (4.2.0~ynh5) ...
  280. 2021-11-12 18:59:17,888: DEBUG - + ynh_package_install --fix-broken
  281. 2021-11-12 18:59:17,889: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
  282. 2021-11-12 18:59:17,889: DEBUG - + ynh_wait_dpkg_free
  283. 2021-11-12 18:59:17,931: DEBUG - + return 0
  284. 2021-11-12 18:59:17,931: DEBUG - + LC_ALL=C
  285. 2021-11-12 18:59:17,931: DEBUG - + DEBIAN_FRONTEND=noninteractive
  286. 2021-11-12 18:59:17,931: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
  287. 2021-11-12 18:59:18,035: DEBUG - Reading package lists...
  288. 2021-11-12 18:59:18,166: DEBUG - Building dependency tree...
  289. 2021-11-12 18:59:18,167: DEBUG - Reading state information...
  290. 2021-11-12 18:59:18,306: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
  291. 2021-11-12 18:59:18,306: DEBUG - + [[ -n /tmp/tmp.6DNWrnoHTa ]]
  292. 2021-11-12 18:59:18,306: DEBUG - + rm --recursive --force /tmp/tmp.6DNWrnoHTa
  293. 2021-11-12 18:59:18,307: DEBUG - + ynh_package_is_installed thelounge-ynh-deps
  294. 2021-11-12 18:59:18,314: DEBUG - + ynh_wait_dpkg_free
  295. 2021-11-12 18:59:18,358: DEBUG - + return 0
  296. 2021-11-12 18:59:18,358: DEBUG - + grep --count 'ok installed'
  297. 2021-11-12 18:59:18,359: DEBUG - + dpkg-query --show '--showformat=${Status}' thelounge-ynh-deps
  298. 2021-11-12 18:59:18,369: DEBUG - + rm /tmp/thelounge-ynh-deps.control
  299. 2021-11-12 18:59:18,370: DEBUG - + grep --quiet php
  300. 2021-11-12 18:59:18,371: DEBUG - + ynh_remove_extra_repo --name=thelounge
  301. 2021-11-12 18:59:18,377: DEBUG - + name=thelounge
  302. 2021-11-12 18:59:18,377: DEBUG - + ynh_secure_remove --file=/etc/apt/sources.list.d/thelounge.list
  303. 2021-11-12 18:59:18,391: DEBUG - + [[ thelounge == \e\x\t\r\a\_\p\h\p\_\v\e\r\s\i\o\n ]]
  304. 2021-11-12 18:59:18,391: DEBUG - + ynh_secure_remove /etc/apt/preferences.d/thelounge
  305. 2021-11-12 18:59:18,404: DEBUG - + ynh_secure_remove --file=/etc/apt/trusted.gpg.d/thelounge.gpg
  306. 2021-11-12 18:59:18,416: DEBUG - + ynh_secure_remove --file=/etc/apt/trusted.gpg.d/thelounge.asc
  307. 2021-11-12 18:59:18,428: DEBUG - + ynh_package_update
  308. 2021-11-12 18:59:18,428: DEBUG - + ynh_apt update
  309. 2021-11-12 18:59:18,428: DEBUG - + ynh_wait_dpkg_free
  310. 2021-11-12 18:59:18,428: INFO - '/etc/apt/trusted.gpg.d/thelounge.asc' wasn't deleted because it doesn't exist.
  311. 2021-11-12 18:59:18,472: DEBUG - + return 0
  312. 2021-11-12 18:59:18,472: DEBUG - + LC_ALL=C
  313. 2021-11-12 18:59:18,472: DEBUG - + DEBIAN_FRONTEND=noninteractive
  314. 2021-11-12 18:59:18,472: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
  315. 2021-11-12 18:59:18,959: DEBUG - Hit:1 http://forge.yunohost.org/debian buster InRelease
  316. 2021-11-12 18:59:19,050: DEBUG - Hit:2 http://deb.debian.org/debian buster InRelease
  317. 2021-11-12 18:59:19,052: DEBUG - Hit:3 http://security.debian.org/debian-security buster/updates InRelease
  318. 2021-11-12 18:59:19,188: DEBUG - Hit:4 http://deb.debian.org/debian buster-updates InRelease
  319. 2021-11-12 18:59:19,724: DEBUG - Reading package lists...
  320. 2021-11-12 18:59:19,779: DEBUG - + ynh_system_user_create --username=thelounge --home_dir=/var/www/thelounge
  321. 2021-11-12 18:59:19,780: INFO - [#####+..............] > Configuring system user...
  322. 2021-11-12 18:59:19,816: DEBUG - + use_shell=0
  323. 2021-11-12 18:59:19,816: DEBUG - + home_dir=/var/www/thelounge
  324. 2021-11-12 18:59:19,817: DEBUG - + groups=
  325. 2021-11-12 18:59:19,817: DEBUG - + ynh_system_user_exists thelounge
  326. 2021-11-12 18:59:19,823: DEBUG - + getent passwd thelounge
  327. 2021-11-12 18:59:19,826: DEBUG - + '[' -n /var/www/thelounge ']'
  328. 2021-11-12 18:59:19,826: DEBUG - + local 'user_home_dir=--home-dir /var/www/thelounge'
  329. 2021-11-12 18:59:19,826: DEBUG - + local 'shell=--shell /usr/sbin/nologin'
  330. 2021-11-12 18:59:19,826: DEBUG - + useradd --home-dir /var/www/thelounge --system --user-group thelounge --shell /usr/sbin/nologin
  331. 2021-11-12 18:59:19,872: DEBUG - + ynh_app_setting_set --app=thelounge --key=final_path --value=/var/www/thelounge
  332. 2021-11-12 18:59:19,872: DEBUG - + local _globalapp=thelounge
  333. 2021-11-12 18:59:19,873: INFO - [######+.............] > Setting up source files...
  334. 2021-11-12 18:59:19,911: DEBUG - + app=thelounge
  335. 2021-11-12 18:59:19,911: DEBUG - + [[ final_path =~ (unprotected|protected|skipped)_ ]]
  336. 2021-11-12 18:59:19,911: DEBUG - + ynh_app_setting set thelounge final_path /var/www/thelounge
  337. 2021-11-12 18:59:19,938: DEBUG - + ynh_setup_source --dest_dir=/var/www/thelounge
  338. 2021-11-12 18:59:19,952: DEBUG - + source_id=app
  339. 2021-11-12 18:59:19,952: DEBUG - + keep=
  340. 2021-11-12 18:59:19,952: DEBUG - + local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc/conf/app.src
  341. 2021-11-12 18:59:19,953: DEBUG - ++ cut --delimiter== --fields=2-
  342. 2021-11-12 18:59:19,953: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc/conf/app.src
  343. 2021-11-12 18:59:19,955: DEBUG - + local src_url=https://github.com/thelounge/thelounge/archive/v4.2.0.tar.gz
  344. 2021-11-12 18:59:19,956: DEBUG - ++ cut --delimiter== --fields=2-
  345. 2021-11-12 18:59:19,956: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc/conf/app.src
  346. 2021-11-12 18:59:19,958: DEBUG - + local src_sum=6119c0692f03678940848ec19a8095ba67f8fdba42bb12481205314eabc0672d
  347. 2021-11-12 18:59:19,958: DEBUG - ++ cut --delimiter== --fields=2-
  348. 2021-11-12 18:59:19,959: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc/conf/app.src
  349. 2021-11-12 18:59:19,960: DEBUG - + local src_sumprg=sha256sum
  350. 2021-11-12 18:59:19,961: DEBUG - ++ cut --delimiter== --fields=2-
  351. 2021-11-12 18:59:19,961: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc/conf/app.src
  352. 2021-11-12 18:59:19,963: DEBUG - + local src_format=
  353. 2021-11-12 18:59:19,963: DEBUG - ++ cut --delimiter== --fields=2-
  354. 2021-11-12 18:59:19,964: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc/conf/app.src
  355. 2021-11-12 18:59:19,965: DEBUG - + local src_extract=
  356. 2021-11-12 18:59:19,966: DEBUG - ++ cut --delimiter== --fields=2-
  357. 2021-11-12 18:59:19,966: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc/conf/app.src
  358. 2021-11-12 18:59:19,968: DEBUG - + local src_in_subdir=true
  359. 2021-11-12 18:59:19,968: DEBUG - ++ cut --delimiter== --fields=2-
  360. 2021-11-12 18:59:19,969: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc/conf/app.src
  361. 2021-11-12 18:59:19,970: DEBUG - + local src_filename=
  362. 2021-11-12 18:59:19,970: DEBUG - + src_sumprg=sha256sum
  363. 2021-11-12 18:59:19,970: DEBUG - + src_in_subdir=true
  364. 2021-11-12 18:59:19,970: DEBUG - + src_format=tar.gz
  365. 2021-11-12 18:59:19,971: DEBUG - ++ tr '[:upper:]' '[:lower:]'
  366. 2021-11-12 18:59:19,972: DEBUG - ++ echo tar.gz
  367. 2021-11-12 18:59:19,972: DEBUG - + src_format=tar.gz
  368. 2021-11-12 18:59:19,972: DEBUG - + src_extract=true
  369. 2021-11-12 18:59:19,972: DEBUG - + '[' '' = '' ']'
  370. 2021-11-12 18:59:19,972: DEBUG - + src_filename=app.tar.gz
  371. 2021-11-12 18:59:19,973: DEBUG - + local local_src=/opt/yunohost-apps-src/thelounge/app.tar.gz
  372. 2021-11-12 18:59:19,973: DEBUG - + mkdir -p /var/cache/yunohost/download/thelounge/
  373. 2021-11-12 18:59:19,974: DEBUG - + src_filename=/var/cache/yunohost/download/thelounge/app.tar.gz
  374. 2021-11-12 18:59:19,974: DEBUG - + test -e /opt/yunohost-apps-src/thelounge/app.tar.gz
  375. 2021-11-12 18:59:19,974: DEBUG - + '[' -n https://github.com/thelounge/thelounge/archive/v4.2.0.tar.gz ']'
  376. 2021-11-12 18:59:19,974: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/thelounge/app.tar.gz https://github.com/thelounge/thelounge/archive/v4.2.0.tar.gz
  377. 2021-11-12 18:59:22,465: DEBUG - + out='2021-11-12 18:59:22 URL:https://codeload.github.com/thelounge/thelounge/tar.gz/v4.2.0 [521982] -> "/var/cache/yunohost/download/thelounge/app.tar.gz" [1]'
  378. 2021-11-12 18:59:22,466: DEBUG - + sha256sum --check --status
  379. 2021-11-12 18:59:22,469: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
  380. 2021-11-12 18:59:22,470: DEBUG - + '[' -n '' ']'
  381. 2021-11-12 18:59:22,470: DEBUG - + mkdir --parents /var/www/thelounge
  382. 2021-11-12 18:59:22,471: DEBUG - + '[' -n /var/www/thelounge ']'
  383. 2021-11-12 18:59:22,471: DEBUG - + '[' /var/www/thelounge == /var/www/thelounge ']'
  384. 2021-11-12 18:59:22,471: DEBUG - + _ynh_apply_default_permissions /var/www/thelounge
  385. 2021-11-12 18:59:22,471: DEBUG - + local target=/var/www/thelounge
  386. 2021-11-12 18:59:22,472: DEBUG - ++ tr -d '>= '
  387. 2021-11-12 18:59:22,473: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc/manifest.json
  388. 2021-11-12 18:59:22,475: DEBUG - + local ynh_requirement=4.2.4
  389. 2021-11-12 18:59:22,475: DEBUG - + '[' -z 4.2.4 ']'
  390. 2021-11-12 18:59:22,475: DEBUG - + '[' 4.2.4 == null ']'
  391. 2021-11-12 18:59:22,475: DEBUG - + dpkg --compare-versions 4.2.4 ge 4.2
  392. 2021-11-12 18:59:22,477: DEBUG - + chmod o-rwx /var/www/thelounge
  393. 2021-11-12 18:59:22,477: DEBUG - + chmod g-w /var/www/thelounge
  394. 2021-11-12 18:59:22,478: DEBUG - + chown -R root:root /var/www/thelounge
  395. 2021-11-12 18:59:22,481: DEBUG - + ynh_system_user_exists thelounge
  396. 2021-11-12 18:59:22,487: DEBUG - + getent passwd thelounge
  397. 2021-11-12 18:59:22,488: DEBUG - + chown thelounge:thelounge /var/www/thelounge
  398. 2021-11-12 18:59:22,491: DEBUG - + true
  399. 2021-11-12 18:59:22,491: DEBUG - + '[' tar.gz = zip ']'
  400. 2021-11-12 18:59:22,491: DEBUG - + local strip=
  401. 2021-11-12 18:59:22,491: DEBUG - + '[' true '!=' false ']'
  402. 2021-11-12 18:59:22,491: DEBUG - + '[' true == true ']'
  403. 2021-11-12 18:59:22,491: DEBUG - + local sub_dirs=1
  404. 2021-11-12 18:59:22,491: DEBUG - + strip='--strip-components 1'
  405. 2021-11-12 18:59:22,491: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
  406. 2021-11-12 18:59:22,491: DEBUG - + tar --extract --file=/var/cache/yunohost/download/thelounge/app.tar.gz --directory=/var/www/thelounge --strip-components 1
  407. 2021-11-12 18:59:22,508: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/thelounge/app.tar.gz
  408. 2021-11-12 18:59:22,520: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc/sources/patches/ ']'
  409. 2021-11-12 18:59:22,520: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc/sources/extra_files/app
  410. 2021-11-12 18:59:22,520: DEBUG - + '[' -n '' ']'
  411. 2021-11-12 18:59:22,520: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
  412. 2021-11-12 18:59:22,521: DEBUG - + chmod 750 /var/www/thelounge
  413. 2021-11-12 18:59:22,521: DEBUG - + chmod -R o-rwx /var/www/thelounge
  414. 2021-11-12 18:59:22,523: DEBUG - + chown -R thelounge:www-data /var/www/thelounge
  415. 2021-11-12 18:59:22,555: DEBUG - + ynh_add_nginx_config
  416. 2021-11-12 18:59:22,555: DEBUG - + local finalnginxconf=/etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  417. 2021-11-12 18:59:22,555: DEBUG - + '[' /irc '!=' / ']'
  418. 2021-11-12 18:59:22,555: DEBUG - + ynh_replace_string '--match_string=^#sub_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc/conf/nginx.conf
  419. 2021-11-12 18:59:22,555: INFO - [#######+............] > Configuring NGINX web server...
  420. 2021-11-12 18:59:22,594: DEBUG - + sed --in-place 's@^#sub_path_only@@g' /var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc/conf/nginx.conf
  421. 2021-11-12 18:59:22,596: DEBUG - + ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc/conf/nginx.conf --destination=/etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  422. 2021-11-12 18:59:22,615: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc/conf//var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc/conf/nginx.conf ']'
  423. 2021-11-12 18:59:22,616: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc/conf/nginx.conf ']'
  424. 2021-11-12 18:59:22,616: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc/conf/nginx.conf
  425. 2021-11-12 18:59:22,616: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  426. 2021-11-12 18:59:22,622: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_thelounge.conf
  427. 2021-11-12 18:59:22,622: DEBUG - ++ ynh_app_setting_get --app=thelounge --key=checksum__etc_nginx_conf.d_maindomain.tld.d_thelounge.conf
  428. 2021-11-12 18:59:22,623: DEBUG - ++ local _globalapp=thelounge
  429. 2021-11-12 18:59:22,642: DEBUG - ++ app=thelounge
  430. 2021-11-12 18:59:22,642: DEBUG - ++ [[ checksum__etc_nginx_conf.d_maindomain.tld.d_thelounge.conf =~ (unprotected|protected|skipped)_ ]]
  431. 2021-11-12 18:59:22,642: DEBUG - ++ ynh_app_setting get thelounge checksum__etc_nginx_conf.d_maindomain.tld.d_thelounge.conf
  432. 2021-11-12 18:59:22,668: DEBUG - + local checksum_value=
  433. 2021-11-12 18:59:22,668: DEBUG - + backup_file_checksum=
  434. 2021-11-12 18:59:22,668: DEBUG - + '[' -n '' ']'
  435. 2021-11-12 18:59:22,668: DEBUG - + touch /etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  436. 2021-11-12 18:59:22,669: DEBUG - + chown root:root /etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  437. 2021-11-12 18:59:22,670: DEBUG - + chmod 640 /etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  438. 2021-11-12 18:59:22,671: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc/conf/nginx.conf /etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  439. 2021-11-12 18:59:22,672: DEBUG - + _ynh_apply_default_permissions /etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  440. 2021-11-12 18:59:22,672: DEBUG - + local target=/etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  441. 2021-11-12 18:59:22,672: DEBUG - ++ tr -d '>= '
  442. 2021-11-12 18:59:22,673: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc/manifest.json
  443. 2021-11-12 18:59:22,676: DEBUG - + local ynh_requirement=4.2.4
  444. 2021-11-12 18:59:22,676: DEBUG - + '[' -z 4.2.4 ']'
  445. 2021-11-12 18:59:22,676: DEBUG - + '[' 4.2.4 == null ']'
  446. 2021-11-12 18:59:22,676: DEBUG - + dpkg --compare-versions 4.2.4 ge 4.2
  447. 2021-11-12 18:59:22,677: DEBUG - + chmod o-rwx /etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  448. 2021-11-12 18:59:22,678: DEBUG - + chmod g-w /etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  449. 2021-11-12 18:59:22,679: DEBUG - + chown -R root:root /etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  450. 2021-11-12 18:59:22,680: DEBUG - + ynh_system_user_exists thelounge
  451. 2021-11-12 18:59:22,686: DEBUG - + getent passwd thelounge
  452. 2021-11-12 18:59:22,687: DEBUG - + chown thelounge:thelounge /etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  453. 2021-11-12 18:59:22,688: DEBUG - + ynh_replace_vars --file=/etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  454. 2021-11-12 18:59:22,694: DEBUG - + test -n /irc
  455. 2021-11-12 18:59:22,694: DEBUG - + local path_url_slash_less=/irc
  456. 2021-11-12 18:59:22,694: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/irc/ --target_file=/etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  457. 2021-11-12 18:59:22,732: DEBUG - + sed --in-place s@__PATH__/@/irc/@g /etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  458. 2021-11-12 18:59:22,733: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/irc --target_file=/etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  459. 2021-11-12 18:59:22,774: DEBUG - + sed --in-place s@__PATH__@/irc@g /etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  460. 2021-11-12 18:59:22,775: DEBUG - + test -n thelounge
  461. 2021-11-12 18:59:22,775: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=thelounge --target_file=/etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  462. 2021-11-12 18:59:22,812: DEBUG - + sed --in-place s@__NAME__@thelounge@g /etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  463. 2021-11-12 18:59:22,814: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=thelounge --target_file=/etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  464. 2021-11-12 18:59:22,852: DEBUG - + sed --in-place s@__NAMETOCHANGE__@thelounge@g /etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  465. 2021-11-12 18:59:22,853: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=thelounge --target_file=/etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  466. 2021-11-12 18:59:22,890: DEBUG - + sed --in-place s@__USER__@thelounge@g /etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  467. 2021-11-12 18:59:22,892: DEBUG - + test -n /var/www/thelounge
  468. 2021-11-12 18:59:22,892: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/thelounge --target_file=/etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  469. 2021-11-12 18:59:22,929: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/thelounge@g /etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  470. 2021-11-12 18:59:22,931: DEBUG - + test -n 7.3
  471. 2021-11-12 18:59:22,931: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  472. 2021-11-12 18:59:22,969: DEBUG - + sed --in-place s@__PHPVERSION__@7.3@g /etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  473. 2021-11-12 18:59:22,970: DEBUG - + test -n PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  474. 2021-11-12 18:59:22,970: DEBUG - + ynh_replace_string --match_string=__YNH_NODE_LOAD_PATH__ --replace_string=PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --target_file=/etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  475. 2021-11-12 18:59:23,015: DEBUG - + sed --in-place s@__YNH_NODE_LOAD_PATH__@PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin@g /etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  476. 2021-11-12 18:59:23,016: DEBUG - + uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g"))
  477. 2021-11-12 18:59:23,017: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
  478. 2021-11-12 18:59:23,018: DEBUG - ++ sort --unique
  479. 2021-11-12 18:59:23,019: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  480. 2021-11-12 18:59:23,021: DEBUG - + local delimit=@
  481. 2021-11-12 18:59:23,021: DEBUG - + for one_var in "${uniques_vars[@]}"
  482. 2021-11-12 18:59:23,021: DEBUG - + [[ -v port ]]
  483. 2021-11-12 18:59:23,021: DEBUG - + match_string=__PORT__
  484. 2021-11-12 18:59:23,021: DEBUG - + match_string=__PORT__
  485. 2021-11-12 18:59:23,021: DEBUG - + replace_string=9000
  486. 2021-11-12 18:59:23,021: DEBUG - + replace_string=9000
  487. 2021-11-12 18:59:23,021: DEBUG - + replace_string=9000
  488. 2021-11-12 18:59:23,021: DEBUG - + sed --in-place s@__PORT__@9000@g /etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  489. 2021-11-12 18:59:23,022: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  490. 2021-11-12 18:59:23,023: DEBUG - + update_only=0
  491. 2021-11-12 18:59:23,033: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_thelounge.conf
  492. 2021-11-12 18:59:23,033: DEBUG - ++ cut '--delimiter= ' --fields=1
  493. 2021-11-12 18:59:23,034: DEBUG - ++ md5sum /etc/nginx/conf.d/maindomain.tld.d/thelounge.conf
  494. 2021-11-12 18:59:23,036: DEBUG - + ynh_app_setting_set --app=thelounge --key=checksum__etc_nginx_conf.d_maindomain.tld.d_thelounge.conf --value=8e472660587a30d1af499d1a9551666f
  495. 2021-11-12 18:59:23,036: DEBUG - + local _globalapp=thelounge
  496. 2021-11-12 18:59:23,073: DEBUG - + app=thelounge
  497. 2021-11-12 18:59:23,073: DEBUG - + [[ checksum__etc_nginx_conf.d_maindomain.tld.d_thelounge.conf =~ (unprotected|protected|skipped)_ ]]
  498. 2021-11-12 18:59:23,073: DEBUG - + ynh_app_setting set thelounge checksum__etc_nginx_conf.d_maindomain.tld.d_thelounge.conf 8e472660587a30d1af499d1a9551666f
  499. 2021-11-12 18:59:23,099: DEBUG - + '[' -n '' ']'
  500. 2021-11-12 18:59:23,099: DEBUG - + unset backup_file_checksum
  501. 2021-11-12 18:59:23,099: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
  502. 2021-11-12 18:59:23,147: DEBUG - + service_name=nginx
  503. 2021-11-12 18:59:23,147: DEBUG - + action=reload
  504. 2021-11-12 18:59:23,147: DEBUG - + line_match=
  505. 2021-11-12 18:59:23,147: DEBUG - + length=20
  506. 2021-11-12 18:59:23,147: DEBUG - + log_path=/var/log/nginx/nginx.log
  507. 2021-11-12 18:59:23,147: DEBUG - + timeout=300
  508. 2021-11-12 18:59:23,147: DEBUG - + '[' reload == stop ']'
  509. 2021-11-12 18:59:23,148: DEBUG - + '[' reload == reload ']'
  510. 2021-11-12 18:59:23,148: DEBUG - + action=reload-or-restart
  511. 2021-11-12 18:59:23,148: DEBUG - + systemctl reload-or-restart nginx
  512. 2021-11-12 18:59:23,391: DEBUG - + datadir=/home/yunohost.app/thelounge
  513. 2021-11-12 18:59:23,391: DEBUG - + ynh_app_setting_set --app=thelounge --key=datadir --value=/home/yunohost.app/thelounge
  514. 2021-11-12 18:59:23,391: DEBUG - + local _globalapp=thelounge
  515. 2021-11-12 18:59:23,391: INFO - [########++..........] > Creating a data directory...
  516. 2021-11-12 18:59:23,430: DEBUG - + app=thelounge
  517. 2021-11-12 18:59:23,430: DEBUG - + [[ datadir =~ (unprotected|protected|skipped)_ ]]
  518. 2021-11-12 18:59:23,430: DEBUG - + ynh_app_setting set thelounge datadir /home/yunohost.app/thelounge
  519. 2021-11-12 18:59:23,457: DEBUG - + mkdir -p /home/yunohost.app/thelounge
  520. 2021-11-12 18:59:23,458: DEBUG - + chmod 750 /home/yunohost.app/thelounge
  521. 2021-11-12 18:59:23,459: DEBUG - + chmod -R o-rwx /home/yunohost.app/thelounge
  522. 2021-11-12 18:59:23,459: DEBUG - + chown -R thelounge:www-data /home/yunohost.app/thelounge
  523. 2021-11-12 18:59:23,486: DEBUG - + ynh_add_config --template=../conf/config.js --destination=/home/yunohost.app/thelounge/config.js
  524. 2021-11-12 18:59:23,487: INFO - [##########+.........] > Modifying a config file...
  525. 2021-11-12 18:59:23,507: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc/conf/../conf/config.js ']'
  526. 2021-11-12 18:59:23,507: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc/conf/../conf/config.js
  527. 2021-11-12 18:59:23,507: DEBUG - + ynh_backup_if_checksum_is_different --file=/home/yunohost.app/thelounge/config.js
  528. 2021-11-12 18:59:23,513: DEBUG - + local checksum_setting_name=checksum__home_yunohost.app_thelounge_config.js
  529. 2021-11-12 18:59:23,513: DEBUG - ++ ynh_app_setting_get --app=thelounge --key=checksum__home_yunohost.app_thelounge_config.js
  530. 2021-11-12 18:59:23,513: DEBUG - ++ local _globalapp=thelounge
  531. 2021-11-12 18:59:23,533: DEBUG - ++ app=thelounge
  532. 2021-11-12 18:59:23,533: DEBUG - ++ [[ checksum__home_yunohost.app_thelounge_config.js =~ (unprotected|protected|skipped)_ ]]
  533. 2021-11-12 18:59:23,533: DEBUG - ++ ynh_app_setting get thelounge checksum__home_yunohost.app_thelounge_config.js
  534. 2021-11-12 18:59:23,559: DEBUG - + local checksum_value=
  535. 2021-11-12 18:59:23,559: DEBUG - + backup_file_checksum=
  536. 2021-11-12 18:59:23,559: DEBUG - + '[' -n '' ']'
  537. 2021-11-12 18:59:23,559: DEBUG - + touch /home/yunohost.app/thelounge/config.js
  538. 2021-11-12 18:59:23,560: DEBUG - + chown root:root /home/yunohost.app/thelounge/config.js
  539. 2021-11-12 18:59:23,560: DEBUG - + chmod 640 /home/yunohost.app/thelounge/config.js
  540. 2021-11-12 18:59:23,561: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc/conf/../conf/config.js /home/yunohost.app/thelounge/config.js
  541. 2021-11-12 18:59:23,562: DEBUG - + _ynh_apply_default_permissions /home/yunohost.app/thelounge/config.js
  542. 2021-11-12 18:59:23,563: DEBUG - + local target=/home/yunohost.app/thelounge/config.js
  543. 2021-11-12 18:59:23,563: DEBUG - ++ tr -d '>= '
  544. 2021-11-12 18:59:23,564: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc/manifest.json
  545. 2021-11-12 18:59:23,566: DEBUG - + local ynh_requirement=4.2.4
  546. 2021-11-12 18:59:23,567: DEBUG - + '[' -z 4.2.4 ']'
  547. 2021-11-12 18:59:23,567: DEBUG - + '[' 4.2.4 == null ']'
  548. 2021-11-12 18:59:23,567: DEBUG - + dpkg --compare-versions 4.2.4 ge 4.2
  549. 2021-11-12 18:59:23,568: DEBUG - + chmod o-rwx /home/yunohost.app/thelounge/config.js
  550. 2021-11-12 18:59:23,569: DEBUG - + chmod g-w /home/yunohost.app/thelounge/config.js
  551. 2021-11-12 18:59:23,569: DEBUG - + chown -R root:root /home/yunohost.app/thelounge/config.js
  552. 2021-11-12 18:59:23,570: DEBUG - + ynh_system_user_exists thelounge
  553. 2021-11-12 18:59:23,577: DEBUG - + getent passwd thelounge
  554. 2021-11-12 18:59:23,578: DEBUG - + chown thelounge:thelounge /home/yunohost.app/thelounge/config.js
  555. 2021-11-12 18:59:23,579: DEBUG - + ynh_replace_vars --file=/home/yunohost.app/thelounge/config.js
  556. 2021-11-12 18:59:23,585: DEBUG - + test -n /irc
  557. 2021-11-12 18:59:23,585: DEBUG - + local path_url_slash_less=/irc
  558. 2021-11-12 18:59:23,585: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/irc/ --target_file=/home/yunohost.app/thelounge/config.js
  559. 2021-11-12 18:59:23,624: DEBUG - + sed --in-place s@__PATH__/@/irc/@g /home/yunohost.app/thelounge/config.js
  560. 2021-11-12 18:59:23,625: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/irc --target_file=/home/yunohost.app/thelounge/config.js
  561. 2021-11-12 18:59:23,668: DEBUG - + sed --in-place s@__PATH__@/irc@g /home/yunohost.app/thelounge/config.js
  562. 2021-11-12 18:59:23,670: DEBUG - + test -n thelounge
  563. 2021-11-12 18:59:23,670: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=thelounge --target_file=/home/yunohost.app/thelounge/config.js
  564. 2021-11-12 18:59:23,712: DEBUG - + sed --in-place s@__NAME__@thelounge@g /home/yunohost.app/thelounge/config.js
  565. 2021-11-12 18:59:23,713: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=thelounge --target_file=/home/yunohost.app/thelounge/config.js
  566. 2021-11-12 18:59:23,754: DEBUG - + sed --in-place s@__NAMETOCHANGE__@thelounge@g /home/yunohost.app/thelounge/config.js
  567. 2021-11-12 18:59:23,756: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=thelounge --target_file=/home/yunohost.app/thelounge/config.js
  568. 2021-11-12 18:59:23,809: DEBUG - + sed --in-place s@__USER__@thelounge@g /home/yunohost.app/thelounge/config.js
  569. 2021-11-12 18:59:23,812: DEBUG - + test -n /var/www/thelounge
  570. 2021-11-12 18:59:23,812: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/thelounge --target_file=/home/yunohost.app/thelounge/config.js
  571. 2021-11-12 18:59:23,860: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/thelounge@g /home/yunohost.app/thelounge/config.js
  572. 2021-11-12 18:59:23,861: DEBUG - + test -n 7.3
  573. 2021-11-12 18:59:23,861: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/home/yunohost.app/thelounge/config.js
  574. 2021-11-12 18:59:23,900: DEBUG - + sed --in-place s@__PHPVERSION__@7.3@g /home/yunohost.app/thelounge/config.js
  575. 2021-11-12 18:59:23,901: DEBUG - + test -n PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  576. 2021-11-12 18:59:23,901: DEBUG - + ynh_replace_string --match_string=__YNH_NODE_LOAD_PATH__ --replace_string=PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --target_file=/home/yunohost.app/thelounge/config.js
  577. 2021-11-12 18:59:23,940: DEBUG - + sed --in-place s@__YNH_NODE_LOAD_PATH__@PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin@g /home/yunohost.app/thelounge/config.js
  578. 2021-11-12 18:59:23,941: DEBUG - + uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g"))
  579. 2021-11-12 18:59:23,942: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
  580. 2021-11-12 18:59:23,943: DEBUG - ++ sort --unique
  581. 2021-11-12 18:59:23,944: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /home/yunohost.app/thelounge/config.js
  582. 2021-11-12 18:59:23,946: DEBUG - + local delimit=@
  583. 2021-11-12 18:59:23,946: DEBUG - + for one_var in "${uniques_vars[@]}"
  584. 2021-11-12 18:59:23,946: DEBUG - + [[ -v port ]]
  585. 2021-11-12 18:59:23,946: DEBUG - + match_string=__PORT__
  586. 2021-11-12 18:59:23,946: DEBUG - + match_string=__PORT__
  587. 2021-11-12 18:59:23,946: DEBUG - + replace_string=9000
  588. 2021-11-12 18:59:23,946: DEBUG - + replace_string=9000
  589. 2021-11-12 18:59:23,946: DEBUG - + replace_string=9000
  590. 2021-11-12 18:59:23,946: DEBUG - + sed --in-place s@__PORT__@9000@g /home/yunohost.app/thelounge/config.js
  591. 2021-11-12 18:59:23,948: DEBUG - + ynh_store_file_checksum --file=/home/yunohost.app/thelounge/config.js
  592. 2021-11-12 18:59:23,948: DEBUG - + update_only=0
  593. 2021-11-12 18:59:23,959: DEBUG - + local checksum_setting_name=checksum__home_yunohost.app_thelounge_config.js
  594. 2021-11-12 18:59:23,960: DEBUG - ++ cut '--delimiter= ' --fields=1
  595. 2021-11-12 18:59:23,961: DEBUG - ++ md5sum /home/yunohost.app/thelounge/config.js
  596. 2021-11-12 18:59:23,962: DEBUG - + ynh_app_setting_set --app=thelounge --key=checksum__home_yunohost.app_thelounge_config.js --value=6fb54d138ff65614571d84698b8646b0
  597. 2021-11-12 18:59:23,962: DEBUG - + local _globalapp=thelounge
  598. 2021-11-12 18:59:24,006: DEBUG - + app=thelounge
  599. 2021-11-12 18:59:24,006: DEBUG - + [[ checksum__home_yunohost.app_thelounge_config.js =~ (unprotected|protected|skipped)_ ]]
  600. 2021-11-12 18:59:24,006: DEBUG - + ynh_app_setting set thelounge checksum__home_yunohost.app_thelounge_config.js 6fb54d138ff65614571d84698b8646b0
  601. 2021-11-12 18:59:24,037: DEBUG - + '[' -n '' ']'
  602. 2021-11-12 18:59:24,037: DEBUG - + unset backup_file_checksum
  603. 2021-11-12 18:59:24,065: DEBUG - + pushd /var/www/thelounge
  604. 2021-11-12 18:59:24,065: DEBUG - /var/www/thelounge /var/cache/yunohost/app_tmp_work_dirs/app_tt3an3zc/scripts
  605. 2021-11-12 18:59:24,065: DEBUG - + ynh_use_nodejs
  606. 2021-11-12 18:59:24,065: INFO - [###########+........] > Installing The Lounge...
  607. 2021-11-12 18:59:24,066: DEBUG - ++ ynh_app_setting_get --app=thelounge --key=nodejs_version
  608. 2021-11-12 18:59:24,066: DEBUG - ++ local _globalapp=thelounge
  609. 2021-11-12 18:59:24,086: DEBUG - ++ app=thelounge
  610. 2021-11-12 18:59:24,086: DEBUG - ++ [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
  611. 2021-11-12 18:59:24,086: DEBUG - ++ ynh_app_setting get thelounge nodejs_version
  612. 2021-11-12 18:59:24,113: DEBUG - + nodejs_version=14
  613. 2021-11-12 18:59:24,113: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/14/bin
  614. 2021-11-12 18:59:24,113: DEBUG - + shopt -s expand_aliases
  615. 2021-11-12 18:59:24,113: DEBUG - + ynh_node=/opt/node_n/n/versions/node/14/bin/node
  616. 2021-11-12 18:59:24,113: DEBUG - + alias ynh_node=/opt/node_n/n/versions/node/14/bin/node
  617. 2021-11-12 18:59:24,113: DEBUG - + ynh_npm=/opt/node_n/n/versions/node/14/bin/npm
  618. 2021-11-12 18:59:24,113: DEBUG - + alias ynh_npm=/opt/node_n/n/versions/node/14/bin/npm
  619. 2021-11-12 18:59:24,113: DEBUG - + [[ :/opt/node_n/n/versions/node/14/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\4\/\b\i\n* ]]
  620. 2021-11-12 18:59:24,113: DEBUG - + node_PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  621. 2021-11-12 18:59:24,113: DEBUG - + ynh_node_load_PATH=PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  622. 2021-11-12 18:59:24,113: DEBUG - + ynh_node_load_path=PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  623. 2021-11-12 18:59:24,113: DEBUG - + ynh_exec_warn_less NODE_ENV=production yarn install
  624. 2021-11-12 18:59:24,113: DEBUG - + [[ 3 -eq 1 ]]
  625. 2021-11-12 18:59:24,113: DEBUG - + NODE_ENV=production yarn install
  626. 2021-11-12 18:59:24,114: DEBUG - /usr/share/yunohost/helpers.d/logging: line 143: NODE_ENV=production: command not found
  627. 2021-11-12 18:59:24,114: DEBUG - + ynh_exit_properly
  628. 2021-11-12 18:59:24,114: DEBUG - + local exit_code=127
  629. 2021-11-12 18:59:24,115: DEBUG - + '[' 127 -eq 0 ']'
  630. 2021-11-12 18:59:25,618: ERROR - Unable to install thelounge: An error occurred inside the app installation script
  631.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement