Advertisement
Guest User

Untitled

a guest
Sep 7th, 2023
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 220.15 KB | None | 0 0
  1. 122 DEBUG initializing base actions map parser for cli
  2. 123 DEBUG loading actions map
  3. 125 DEBUG building parser...
  4. 140 DEBUG building parser took 0.015s
  5. 141 DEBUG acquiring lock...
  6. 152 DEBUG lock has been acquired
  7. 163 DEBUG loading python module yunohost.app took 0.011s
  8. 163 DEBUG processing action [3409676.1]: yunohost.app.upgrade with args={'app': ['jellyseerr'], 'url': 'https://github.com/YunoHost-Apps/jellyseerr_ynh/tree/fi x-upgrade', 'file': None, 'force': False, 'no_safety_backup': False, 'continue_o n_failure': False}
  9. 351 INFO Mise à jour de jellyseerr...
  10. 397 DEBUG initializing ldap interface
  11. 456 DEBUG Checking default branch
  12. 4066 DEBUG Téléchargement en cours...
  13. 12274 DEBUG Terminé
  14. 142408 DEBUG Vérification des prérequis pour jellyseerr ...
  15. 142427 INFO Creating a safety backup prior to the upgrade
  16. 142539 INFO Collecte des fichiers devant être sauvegardés pour jellyseerr...
  17. 142635 DEBUG Executing command '['sh', '-c', '/bin/bash -x "/var/cache/yunohost/app_tmp_work_dirs/app_5zfef994/scripts/backup" 7>&1']'
  18. 142641 DEBUG + source ../settings/scripts/_common.sh
  19. 142642 DEBUG ++ nodejs_version=18
  20. 142642 DEBUG + source /usr/share/yunohost/helpers
  21. 142657 DEBUG +++ set +o
  22. 142657 DEBUG +++ grep xtrace
  23. 142659 DEBUG ++ readonly 'XTRACE_ENABLE=set -o xtrace'
  24. 142659 DEBUG ++ XTRACE_ENABLE='set -o xtrace'
  25. 142659 DEBUG ++ set +x
  26. 142709 DEBUG + ynh_print_info '--message=Declaring files to be backed up...'
  27. 142709 DEBUG + local legacy_args=m
  28. 142710 DEBUG + args_array=(['m']='message=')
  29. 142710 DEBUG + local -A args_array
  30. 142710 DEBUG + local message
  31. 142710 DEBUG + ynh_handle_getopts_args '--message=Declaring files to be backed up...'
  32. 142710 DEBUG + set +o xtrace
  33. 142738 DEBUG + echo 'Declaring files to be backed up...'
  34. 142738 INFO Declaring files to be backed up...
  35. 142740 DEBUG + ynh_backup --src_path=/var/www/jellyseerr
  36. 142740 DEBUG + local legacy_args=sdbm
  37. 142740 DEBUG + args_array=(['s']='src_path=' ['d']='dest_path=' ['b']='is_big' ['m']='not_mandatory')
  38. 142741 DEBUG + local -A args_array
  39. 142741 DEBUG + local src_path
  40. 142741 DEBUG + local dest_path
  41. 142741 DEBUG + local is_big
  42. 142741 DEBUG + local not_mandatory
  43. 142741 DEBUG + ynh_handle_getopts_args --src_path=/var/www/jellyseerr
  44. 142741 DEBUG + set +o xtrace
  45. 142766 DEBUG + dest_path=
  46. 142766 DEBUG + is_big=0
  47. 142766 DEBUG + not_mandatory=0
  48. 142766 DEBUG + BACKUP_CORE_ONLY=1
  49. 142766 DEBUG + test -n jellyseerr
  50. 142767 DEBUG ++ ynh_app_setting_get --app=jellyseerr --key=do_not_backup_data
  51. 142767 DEBUG ++ local _globalapp=jellyseerr
  52. 142767 DEBUG ++ local legacy_args=ak
  53. 142767 DEBUG ++ args_array=(['a']='app=' ['k']='key=')
  54. 142767 DEBUG ++ local -A args_array
  55. 142768 DEBUG ++ local app
  56. 142768 DEBUG ++ local key
  57. 142768 DEBUG ++ ynh_handle_getopts_args --app=jellyseerr --key=do_not_backup_data
  58. 142768 DEBUG ++ set +o xtrace
  59. 142799 DEBUG ++ app=jellyseerr
  60. 142799 DEBUG ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
  61. 142799 DEBUG ++ ynh_app_setting get jellyseerr do_not_backup_data
  62. 142800 DEBUG ++ set +o xtrace
  63. 142852 DEBUG + do_not_backup_data=
  64. 142852 DEBUG + '[' 0 -eq 1 ']'
  65. 142852 DEBUG + '[' '!' -e /var/www/jellyseerr ']'
  66. 142853 DEBUG ++ realpath /var/www/jellyseerr
  67. 142854 DEBUG + src_path=/var/www/jellyseerr
  68. 142854 DEBUG + [[ -z '' ]]
  69. 142854 DEBUG + dest_path=var/www/jellyseerr
  70. 142854 DEBUG + [[ -e var/www/jellyseerr ]]
  71. 142854 DEBUG + local rel_dir=/apps/jellyseerr/backup
  72. 142855 DEBUG + rel_dir=/apps/jellyseerr/backup/
  73. 142855 DEBUG + dest_path=/apps/jellyseerr/backup/var/www/jellyseerr
  74. 142855 DEBUG + dest_path=apps/jellyseerr/backup/var/www/jellyseerr
  75. 142855 DEBUG ++ sed --regexp-extended 's/"/\"\"/g'
  76. 142856 DEBUG ++ echo /var/www/jellyseerr
  77. 142857 DEBUG + local src=/var/www/jellyseerr
  78. 142857 DEBUG ++ echo apps/jellyseerr/backup/var/www/jellyseerr
  79. 142858 DEBUG ++ sed --regexp-extended 's/"/\"\"/g'
  80. 142860 DEBUG + local dest=apps/jellyseerr/backup/var/www/jellyseerr
  81. 142860 DEBUG + echo '"/var/www/jellyseerr","apps/jellyseerr/backup/var/www/jellyseerr"'
  82. 142860 DEBUG ++ dirname /home/yunohost.backup/tmp/jellyseerr-pre-upgrade2/apps/jellyseerr/backup/var/www/jellyseerr
  83. 142861 DEBUG + mkdir --parents /home/yunohost.backup/tmp/jellyseerr-pre-upgrade2/apps/jellyseerr/backup/var/www
  84. 142875 DEBUG + ynh_backup --src_path=/home/yunohost.app/jellyseerr --is_big
  85. 142875 DEBUG + local legacy_args=sdbm
  86. 142875 DEBUG + args_array=(['s']='src_path=' ['d']='dest_path=' ['b']='is_big' ['m']='not_mandatory')
  87. 142876 DEBUG + local -A args_array
  88. 142876 DEBUG + local src_path
  89. 142876 DEBUG + local dest_path
  90. 142876 DEBUG + local is_big
  91. 142876 DEBUG + local not_mandatory
  92. 142876 DEBUG + ynh_handle_getopts_args --src_path=/home/yunohost.app/jellyseerr --is_big
  93. 142876 DEBUG + set +o xtrace
  94. 142950 DEBUG + dest_path=
  95. 142950 DEBUG + is_big=1
  96. 142950 DEBUG + not_mandatory=0
  97. 142951 DEBUG + BACKUP_CORE_ONLY=1
  98. 142951 DEBUG + test -n jellyseerr
  99. 142951 DEBUG ++ ynh_app_setting_get --app=jellyseerr --key=do_not_backup_data
  100. 142952 DEBUG ++ local _globalapp=jellyseerr
  101. 142952 DEBUG ++ local legacy_args=ak
  102. 142952 DEBUG ++ args_array=(['a']='app=' ['k']='key=')
  103. 142952 DEBUG ++ local -A args_array
  104. 142953 DEBUG ++ local app
  105. 142953 DEBUG ++ local key
  106. 142953 DEBUG ++ ynh_handle_getopts_args --app=jellyseerr --key=do_not_backup_data
  107. 142954 DEBUG ++ set +o xtrace
  108. 142994 DEBUG ++ app=jellyseerr
  109. 142994 DEBUG ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
  110. 142994 DEBUG ++ ynh_app_setting get jellyseerr do_not_backup_data
  111. 142995 DEBUG ++ set +o xtrace
  112. 143053 DEBUG + do_not_backup_data=
  113. 143053 DEBUG + '[' 1 -eq 1 ']'
  114. 143053 DEBUG + '[' 0 -eq 1 ']'
  115. 143054 DEBUG + '[' 1 -eq 1 ']'
  116. 143055 DEBUG + '[' 1 -eq 1 ']'
  117. 143055 DEBUG + ynh_print_info '--message=/home/yunohost.app/jellyseerr will not be saved, because '\''BACKUP_CORE_ONLY'\'' is set.'
  118. 143055 DEBUG + local legacy_args=m
  119. 143055 DEBUG + args_array=(['m']='message=')
  120. 143055 DEBUG + local -A args_array
  121. 143055 DEBUG + local message
  122. 143055 DEBUG + ynh_handle_getopts_args '--message=/home/yunohost.app/jellyseerr will not be saved, because '\''BACKUP_CORE_ONLY'\'' is set.'
  123. 143056 DEBUG + set +o xtrace
  124. 143067 DEBUG + echo '/home/yunohost.app/jellyseerr will not be saved, because '\''BACKUP_CORE_ONLY'\'' is set.'
  125. 143068 DEBUG + return 0
  126. 143068 DEBUG + ynh_backup --src_path=/etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf
  127. 143068 DEBUG + local legacy_args=sdbm
  128. 143068 DEBUG + args_array=(['s']='src_path=' ['d']='dest_path=' ['b']='is_big' ['m']='not_mandatory')
  129. 143068 DEBUG + local -A args_array
  130. 143068 DEBUG + local src_path
  131. 143068 DEBUG + local dest_path
  132. 143069 DEBUG + local is_big
  133. 143069 DEBUG + local not_mandatory
  134. 143069 DEBUG + ynh_handle_getopts_args --src_path=/etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf
  135. 143069 DEBUG + set +o xtrace
  136. 143069 INFO /home/yunohost.app/jellyseerr will not be saved, because 'BACKUP_CORE_ONLY' is set.
  137. 143110 DEBUG + dest_path=
  138. 143110 DEBUG + is_big=0
  139. 143110 DEBUG + not_mandatory=0
  140. 143111 DEBUG + BACKUP_CORE_ONLY=1
  141. 143111 DEBUG + test -n jellyseerr
  142. 143112 DEBUG ++ ynh_app_setting_get --app=jellyseerr --key=do_not_backup_data
  143. 143113 DEBUG ++ local _globalapp=jellyseerr
  144. 143115 DEBUG ++ local legacy_args=ak
  145. 143115 DEBUG ++ args_array=(['a']='app=' ['k']='key=')
  146. 143116 DEBUG ++ local -A args_array
  147. 143116 DEBUG ++ local app
  148. 143116 DEBUG ++ local key
  149. 143117 DEBUG ++ ynh_handle_getopts_args --app=jellyseerr --key=do_not_backup_data
  150. 143117 DEBUG ++ set +o xtrace
  151. 143197 DEBUG ++ app=jellyseerr
  152. 143197 DEBUG ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
  153. 143197 DEBUG ++ ynh_app_setting get jellyseerr do_not_backup_data
  154. 143197 DEBUG ++ set +o xtrace
  155. 143262 DEBUG + do_not_backup_data=
  156. 143262 DEBUG + '[' 0 -eq 1 ']'
  157. 143263 DEBUG + '[' '!' -e /etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf ']'
  158. 143263 DEBUG ++ realpath /etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf
  159. 143265 DEBUG + src_path=/etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf
  160. 143265 DEBUG + [[ -z '' ]]
  161. 143265 DEBUG + dest_path=etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf
  162. 143265 DEBUG + [[ -e etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf ]]
  163. 143266 DEBUG + local rel_dir=/apps/jellyseerr/backup
  164. 143266 DEBUG + rel_dir=/apps/jellyseerr/backup/
  165. 143266 DEBUG + dest_path=/apps/jellyseerr/backup/etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf
  166. 143266 DEBUG + dest_path=apps/jellyseerr/backup/etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf
  167. 143267 DEBUG ++ echo /etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf
  168. 143271 DEBUG ++ sed --regexp-extended 's/"/\"\"/g'
  169. 143274 DEBUG + local src=/etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf
  170. 143276 DEBUG ++ echo apps/jellyseerr/backup/etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf
  171. 143276 DEBUG ++ sed --regexp-extended 's/"/\"\"/g'
  172. 143279 DEBUG + local dest=apps/jellyseerr/backup/etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf
  173. 143279 DEBUG + echo '"/etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf","apps/jellyseerr/backup/etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf"'
  174. 143280 DEBUG ++ dirname /home/yunohost.backup/tmp/jellyseerr-pre-upgrade2/apps/jellyseerr/backup/etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf
  175. 143282 DEBUG + mkdir --parents /home/yunohost.backup/tmp/jellyseerr-pre-upgrade2/apps/jellyseerr/backup/etc/nginx/conf.d/media.centonze.noho.st.d
  176. 143285 DEBUG + ynh_backup --src_path=/etc/logrotate.d/jellyseerr
  177. 143285 DEBUG + local legacy_args=sdbm
  178. 143285 DEBUG + args_array=(['s']='src_path=' ['d']='dest_path=' ['b']='is_big' ['m']='not_mandatory')
  179. 143285 DEBUG + local -A args_array
  180. 143285 DEBUG + local src_path
  181. 143286 DEBUG + local dest_path
  182. 143286 DEBUG + local is_big
  183. 143286 DEBUG + local not_mandatory
  184. 143286 DEBUG + ynh_handle_getopts_args --src_path=/etc/logrotate.d/jellyseerr
  185. 143286 DEBUG + set +o xtrace
  186. 143319 DEBUG + dest_path=
  187. 143319 DEBUG + is_big=0
  188. 143319 DEBUG + not_mandatory=0
  189. 143319 DEBUG + BACKUP_CORE_ONLY=1
  190. 143319 DEBUG + test -n jellyseerr
  191. 143320 DEBUG ++ ynh_app_setting_get --app=jellyseerr --key=do_not_backup_data
  192. 143320 DEBUG ++ local _globalapp=jellyseerr
  193. 143320 DEBUG ++ local legacy_args=ak
  194. 143320 DEBUG ++ args_array=(['a']='app=' ['k']='key=')
  195. 143320 DEBUG ++ local -A args_array
  196. 143320 DEBUG ++ local app
  197. 143321 DEBUG ++ local key
  198. 143321 DEBUG ++ ynh_handle_getopts_args --app=jellyseerr --key=do_not_backup_data
  199. 143321 DEBUG ++ set +o xtrace
  200. 143347 DEBUG ++ app=jellyseerr
  201. 143347 DEBUG ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
  202. 143348 DEBUG ++ ynh_app_setting get jellyseerr do_not_backup_data
  203. 143348 DEBUG ++ set +o xtrace
  204. 143404 DEBUG + do_not_backup_data=
  205. 143404 DEBUG + '[' 0 -eq 1 ']'
  206. 143404 DEBUG + '[' '!' -e /etc/logrotate.d/jellyseerr ']'
  207. 143417 DEBUG ++ realpath /etc/logrotate.d/jellyseerr
  208. 143418 DEBUG + src_path=/etc/logrotate.d/jellyseerr
  209. 143418 DEBUG + [[ -z '' ]]
  210. 143419 DEBUG + dest_path=etc/logrotate.d/jellyseerr
  211. 143419 DEBUG + [[ -e etc/logrotate.d/jellyseerr ]]
  212. 143419 DEBUG + local rel_dir=/apps/jellyseerr/backup
  213. 143419 DEBUG + rel_dir=/apps/jellyseerr/backup/
  214. 143419 DEBUG + dest_path=/apps/jellyseerr/backup/etc/logrotate.d/jellyseerr
  215. 143419 DEBUG + dest_path=apps/jellyseerr/backup/etc/logrotate.d/jellyseerr
  216. 143420 DEBUG ++ echo /etc/logrotate.d/jellyseerr
  217. 143421 DEBUG ++ sed --regexp-extended 's/"/\"\"/g'
  218. 143422 DEBUG + local src=/etc/logrotate.d/jellyseerr
  219. 143423 DEBUG ++ echo apps/jellyseerr/backup/etc/logrotate.d/jellyseerr
  220. 143423 DEBUG ++ sed --regexp-extended 's/"/\"\"/g'
  221. 143426 DEBUG + local dest=apps/jellyseerr/backup/etc/logrotate.d/jellyseerr
  222. 143426 DEBUG + echo '"/etc/logrotate.d/jellyseerr","apps/jellyseerr/backup/etc/logrotate.d/jellyseerr"'
  223. 143426 DEBUG ++ dirname /home/yunohost.backup/tmp/jellyseerr-pre-upgrade2/apps/jellyseerr/backup/etc/logrotate.d/jellyseerr
  224. 143427 DEBUG + mkdir --parents /home/yunohost.backup/tmp/jellyseerr-pre-upgrade2/apps/jellyseerr/backup/etc/logrotate.d
  225. 143429 DEBUG + ynh_backup --src_path=/etc/systemd/system/jellyseerr.service
  226. 143429 DEBUG + local legacy_args=sdbm
  227. 143430 DEBUG + args_array=(['s']='src_path=' ['d']='dest_path=' ['b']='is_big' ['m']='not_mandatory')
  228. 143430 DEBUG + local -A args_array
  229. 143430 DEBUG + local src_path
  230. 143430 DEBUG + local dest_path
  231. 143430 DEBUG + local is_big
  232. 143430 DEBUG + local not_mandatory
  233. 143430 DEBUG + ynh_handle_getopts_args --src_path=/etc/systemd/system/jellyseerr.service
  234. 143431 DEBUG + set +o xtrace
  235. 143461 DEBUG + dest_path=
  236. 143462 DEBUG + is_big=0
  237. 143462 DEBUG + not_mandatory=0
  238. 143462 DEBUG + BACKUP_CORE_ONLY=1
  239. 143462 DEBUG + test -n jellyseerr
  240. 143463 DEBUG ++ ynh_app_setting_get --app=jellyseerr --key=do_not_backup_data
  241. 143463 DEBUG ++ local _globalapp=jellyseerr
  242. 143463 DEBUG ++ local legacy_args=ak
  243. 143463 DEBUG ++ args_array=(['a']='app=' ['k']='key=')
  244. 143464 DEBUG ++ local -A args_array
  245. 143464 DEBUG ++ local app
  246. 143464 DEBUG ++ local key
  247. 143464 DEBUG ++ ynh_handle_getopts_args --app=jellyseerr --key=do_not_backup_data
  248. 143464 DEBUG ++ set +o xtrace
  249. 143495 DEBUG ++ app=jellyseerr
  250. 143495 DEBUG ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
  251. 143495 DEBUG ++ ynh_app_setting get jellyseerr do_not_backup_data
  252. 143496 DEBUG ++ set +o xtrace
  253. 143551 DEBUG + do_not_backup_data=
  254. 143551 DEBUG + '[' 0 -eq 1 ']'
  255. 143551 DEBUG + '[' '!' -e /etc/systemd/system/jellyseerr.service ']'
  256. 143552 DEBUG ++ realpath /etc/systemd/system/jellyseerr.service
  257. 143553 DEBUG + src_path=/etc/systemd/system/jellyseerr.service
  258. 143553 DEBUG + [[ -z '' ]]
  259. 143554 DEBUG + dest_path=etc/systemd/system/jellyseerr.service
  260. 143554 DEBUG + [[ -e etc/systemd/system/jellyseerr.service ]]
  261. 143554 DEBUG + local rel_dir=/apps/jellyseerr/backup
  262. 143554 DEBUG + rel_dir=/apps/jellyseerr/backup/
  263. 143554 DEBUG + dest_path=/apps/jellyseerr/backup/etc/systemd/system/jellyseerr.service
  264. 143554 DEBUG + dest_path=apps/jellyseerr/backup/etc/systemd/system/jellyseerr.service
  265. 143555 DEBUG ++ sed --regexp-extended 's/"/\"\"/g'
  266. 143556 DEBUG ++ echo /etc/systemd/system/jellyseerr.service
  267. 143557 DEBUG + local src=/etc/systemd/system/jellyseerr.service
  268. 143557 DEBUG ++ echo apps/jellyseerr/backup/etc/systemd/system/jellyseerr.service
  269. 143558 DEBUG ++ sed --regexp-extended 's/"/\"\"/g'
  270. 143560 DEBUG + local dest=apps/jellyseerr/backup/etc/systemd/system/jellyseerr.service
  271. 143560 DEBUG + echo '"/etc/systemd/system/jellyseerr.service","apps/jellyseerr/backup/etc/systemd/system/jellyseerr.service"'
  272. 143561 DEBUG ++ dirname /home/yunohost.backup/tmp/jellyseerr-pre-upgrade2/apps/jellyseerr/backup/etc/systemd/system/jellyseerr.service
  273. 143562 DEBUG + mkdir --parents /home/yunohost.backup/tmp/jellyseerr-pre-upgrade2/apps/jellyseerr/backup/etc/systemd/system
  274. 143564 DEBUG + ynh_print_info '--message=Backup script completed for jellyseerr. (YunoHost will then actually copy those files to the archive).'
  275. 143565 DEBUG + local legacy_args=m
  276. 143565 DEBUG + args_array=(['m']='message=')
  277. 143565 DEBUG + local -A args_array
  278. 143565 DEBUG + local message
  279. 143565 DEBUG + ynh_handle_getopts_args '--message=Backup script completed for jellyseerr. (YunoHost will then actually copy those files to the archive).'
  280. 143565 DEBUG + set +o xtrace
  281. 143575 DEBUG + echo 'Backup script completed for jellyseerr. (YunoHost will then actually copy those files to the archive).'
  282. 143576 DEBUG + ynh_exit_properly
  283. 143576 DEBUG + local exit_code=0
  284. 143576 DEBUG + [[ backup =~ ^install$|^upgrade$|^restore$ ]]
  285. 143576 DEBUG + '[' 0 -eq 0 ']'
  286. 143576 DEBUG + exit 0
  287. 143576 INFO Backup script completed for jellyseerr. (YunoHost will then actually copy those files to the archive).
  288. 144578 DEBUG Permission de sauvegarde pour jellyseerr
  289. 219409 INFO Création d'une archive de sauvegarde à partir des fichiers collectés ...
  290. 219409 INFO L'archive contiendra environ 3.3GB de données.
  291. 219410 DEBUG Création de l'archive TAR de la sauvegarde ...
  292. 540365 DEBUG L'archive TAR de la sauvegarde a été créée
  293. 540433 SUCCESS Sauvegarde créée : jellyseerr-pre-upgrade2
  294. 540766 DEBUG Pour voir le journal de cette opération 'Créer une archive de sauvegarde', utilisez la commande 'yunohost log show 20230907-081957-backup_create'
  295. 541235 SUCCESS Sauvegarde supprimée : jellyseerr-pre-upgrade1
  296. 541235 DEBUG Checking that required services are up and running...
  297. 586855 INFO Updating sources...
  298. 586856 DEBUG Prefetching asset main: https://github.com/Fallenbagel/jellyseerr/archive/refs/tags/v1.6.0.tar.gz ...
  299. 725342 INFO Updating system_user...
  300. 725687 INFO Updating install_dir...
  301. 725755 INFO Updating data_dir...
  302. 725763 INFO Updating permissions...
  303. 726884 DEBUG Nothing to update in LDAP
  304. 727183 DEBUG Permission 'jellyseerr.main' mise à jour
  305. 727184 DEBUG Pour voir le journal de cette opération 'Mise à jour des accès pour la permission 'jellyseerr'', utilisez la commande 'yunohost log show 20230907-082941-user_permission_update-jellyseerr'
  306. 727946 DEBUG Nothing to update in LDAP
  307. 727946 DEBUG Permission 'jellyseerr.main' mise à jour
  308. 728250 DEBUG Pour voir le journal de cette opération 'Mise à jour de l'URL associée à l'autorisation 'jellyseerr'', utilisez la commande 'yunohost log show 20230907-082942-permission_url-jellyseerr'
  309. 728569 DEBUG The permission database has been resynchronized
  310. 729805 DEBUG La configuration de SSOwat a été regénérée
  311. 729812 INFO Updating ports...
  312. 729936 DEBUG Executing command '['sh', '-c', '/bin/bash -x "./upgrade" 7>&1']'
  313. 729956 DEBUG + source _common.sh
  314. 729957 DEBUG ++ nodejs_version=18
  315. 729957 DEBUG + source /usr/share/yunohost/helpers
  316. 729989 DEBUG +++ set +o
  317. 729989 DEBUG +++ grep xtrace
  318. 729990 DEBUG ++ readonly 'XTRACE_ENABLE=set -o xtrace'
  319. 729991 DEBUG ++ XTRACE_ENABLE='set -o xtrace'
  320. 729991 DEBUG ++ set +x
  321. 730053 DEBUG ++ ynh_check_app_version_changed
  322. 730053 DEBUG ++ local return_value=UPGRADE_FULL
  323. 730054 DEBUG ++ '[' UPGRADE_FULL == UPGRADE_FULL ']'
  324. 730054 DEBUG ++ return_value=UPGRADE_APP
  325. 730054 DEBUG ++ echo UPGRADE_APP
  326. 730054 DEBUG + upgrade_type=UPGRADE_APP
  327. 730054 DEBUG + ynh_script_progression '--message=Stopping a systemd service...' --weight=1
  328. 730054 DEBUG + set +o xtrace
  329. 730126 DEBUG + set +o xtrace
  330. 730182 DEBUG + echo '! Helper used in legacy mode !'
  331. 730182 DEBUG + set +x
  332. 730183 DEBUG + echo '[....................] > Stopping a systemd service...'
  333. 730184 DEBUG + set -o xtrace
  334. 730184 DEBUG + ynh_systemd_action --service_name=jellyseerr --action=stop --log_path=/var/log/jellyseerr/jellyseerr.log
  335. 730184 DEBUG + local legacy_args=nalpte
  336. 730184 DEBUG + args_array=(['n']='service_name=' ['a']='action=' ['l']='line_match=' ['p']='log_path=' ['t']='timeout=' ['e']='length=')
  337. 730184 INFO [....................] > Stopping a systemd service...
  338. 730185 DEBUG + local -A args_array
  339. 730185 DEBUG + local service_name
  340. 730185 DEBUG + local action
  341. 730185 DEBUG + local line_match
  342. 730185 DEBUG + local length
  343. 730185 DEBUG + local log_path
  344. 730185 DEBUG + local timeout
  345. 730185 DEBUG + ynh_handle_getopts_args --service_name=jellyseerr --action=stop --log_path=/var/log/jellyseerr/jellyseerr.log
  346. 730186 DEBUG + set +o xtrace
  347. 730286 DEBUG + service_name=jellyseerr
  348. 730286 DEBUG + action=stop
  349. 730286 DEBUG + line_match=
  350. 730286 DEBUG + length=20
  351. 730286 DEBUG + log_path=/var/log/jellyseerr/jellyseerr.log
  352. 730287 DEBUG + timeout=300
  353. 730287 DEBUG + '[' stop == stop ']'
  354. 730287 DEBUG + systemctl is-active --quiet jellyseerr
  355. 730372 DEBUG + [[ -n '' ]]
  356. 730373 DEBUG + '[' stop == reload ']'
  357. 730373 DEBUG ++ date --utc --rfc-3339=seconds
  358. 730373 DEBUG ++ cut -d+ -f1
  359. 730375 DEBUG + local 'time_start=2023-09-07 08:29:45 UTC'
  360. 730375 DEBUG + systemctl stop jellyseerr
  361. 730564 DEBUG + [[ -n '' ]]
  362. 730564 DEBUG + ynh_script_progression '--message=Installing dependencies...' --weight=5
  363. 730564 DEBUG + set +o xtrace
  364. 730619 DEBUG + set +o xtrace
  365. 730634 DEBUG + echo '! Helper used in legacy mode !'
  366. 730634 DEBUG + set +x
  367. 730637 DEBUG + echo '[+...................] > Installing dependencies...'
  368. 730637 DEBUG + set -o xtrace
  369. 730637 DEBUG + ynh_exec_warn_less ynh_install_nodejs --nodejs_version=18
  370. 730637 DEBUG + [[ 2 -eq 1 ]]
  371. 730637 DEBUG + ynh_install_nodejs --nodejs_version=18
  372. 730637 DEBUG + local legacy_args=n
  373. 730637 DEBUG + args_array=(['n']='nodejs_version=')
  374. 730638 DEBUG + local -A args_array
  375. 730638 DEBUG + local nodejs_version
  376. 730638 DEBUG + ynh_handle_getopts_args --nodejs_version=18
  377. 730638 DEBUG + set +o xtrace
  378. 730638 INFO [+...................] > Installing dependencies...
  379. 730646 DEBUG + mkdir --parents /opt/node_n
  380. 730884 DEBUG + CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  381. 730886 DEBUG ++ sed s@/usr/local/bin:@@
  382. 730888 DEBUG ++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  383. 730889 DEBUG + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
  384. 730889 DEBUG + test -x /usr/bin/node
  385. 730889 DEBUG + mv /usr/bin/node /usr/bin/node_n
  386. 731054 DEBUG + test -x /usr/bin/npm
  387. 731054 DEBUG + mkdir -p /opt/node_n/bin/
  388. 731055 DEBUG + cp /usr/share/yunohost/helpers.d/vendor/n/n /opt/node_n/bin/n
  389. 731160 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
  390. 731160 DEBUG + local legacy_args=mrf
  391. 731161 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
  392. 731161 DEBUG + local -A args_array
  393. 731161 DEBUG + local match_string
  394. 731161 DEBUG + local replace_string
  395. 731161 DEBUG + local target_file
  396. 731161 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
  397. 731161 DEBUG + set +o xtrace
  398. 731215 DEBUG + set +o xtrace
  399. 731215 DEBUG + sed --in-place 's^N_PREFIX=${N_PREFIX-.*}$N_PREFIX=${N_PREFIX-/opt/node_n}g' /opt/node_n/bin/n
  400. 731235 DEBUG + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  401. 731235 DEBUG + test -x /usr/bin/node_n
  402. 731236 DEBUG + mv /usr/bin/node_n /usr/bin/node
  403. 731237 DEBUG + test -x /usr/bin/npm_n
  404. 731238 DEBUG ++ uname --machine
  405. 731250 DEBUG + uname=x86_64
  406. 731250 DEBUG + [[ x86_64 =~ aarch64 ]]
  407. 731250 DEBUG + [[ x86_64 =~ arm64 ]]
  408. 731250 DEBUG + n 18
  409. 731546 DEBUG copying : node/18.17.1
  410. 785177 DEBUG installed : v18.17.1 (with npm 9.6.7)
  411. 785179 DEBUG ++ sort --version-sort
  412. 785179 DEBUG ++ tail --lines=1
  413. 785243 DEBUG ++ find /opt/node_n/n/versions/node/18 /opt/node_n/n/versions/node/18.16.1 /opt/node_n/n/versions/node/18.17.0 /opt/node_n/n/versions/node/18.17.1 -maxdepth 0
  414. 785267 DEBUG + real_nodejs_version=/opt/node_n/n/versions/node/18.17.1
  415. 785267 DEBUG ++ basename /opt/node_n/n/versions/node/18.17.1
  416. 785269 DEBUG + real_nodejs_version=18.17.1
  417. 785269 DEBUG + '[' '!' -e /opt/node_n/n/versions/node/18 ']'
  418. 785269 DEBUG + echo jellyseerr:18
  419. 785269 DEBUG + tee --append /opt/node_n/ynh_app_version
  420. 785317 DEBUG jellyseerr:18
  421. 785341 DEBUG + ynh_app_setting_set --app=jellyseerr --key=nodejs_version --value=18
  422. 785341 DEBUG + local _globalapp=jellyseerr
  423. 785341 DEBUG + local legacy_args=akv
  424. 785342 DEBUG + args_array=(['a']='app=' ['k']='key=' ['v']='value=')
  425. 785342 DEBUG + local -A args_array
  426. 785342 DEBUG + local app
  427. 785342 DEBUG + local key
  428. 785342 DEBUG + local value
  429. 785342 DEBUG + ynh_handle_getopts_args --app=jellyseerr --key=nodejs_version --value=18
  430. 785342 DEBUG + set +o xtrace
  431. 785403 DEBUG + app=jellyseerr
  432. 785403 DEBUG + [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
  433. 785403 DEBUG + ynh_app_setting set jellyseerr nodejs_version 18
  434. 785403 DEBUG + set +o xtrace
  435. 785571 DEBUG + ynh_cron_upgrade_node
  436. 785571 DEBUG + cat
  437. 785616 DEBUG + chmod +x /opt/node_n/node_update.sh
  438. 785618 DEBUG + cat
  439. 785671 DEBUG + chmod +x /etc/cron.daily/node_update
  440. 785672 DEBUG + ynh_use_nodejs
  441. 785673 DEBUG ++ ynh_app_setting_get --app=jellyseerr --key=nodejs_version
  442. 785673 DEBUG ++ local _globalapp=jellyseerr
  443. 785673 DEBUG ++ local legacy_args=ak
  444. 785673 DEBUG ++ args_array=(['a']='app=' ['k']='key=')
  445. 785674 DEBUG ++ local -A args_array
  446. 785674 DEBUG ++ local app
  447. 785674 DEBUG ++ local key
  448. 785674 DEBUG ++ ynh_handle_getopts_args --app=jellyseerr --key=nodejs_version
  449. 785674 DEBUG ++ set +o xtrace
  450. 785700 DEBUG ++ app=jellyseerr
  451. 785700 DEBUG ++ [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
  452. 785701 DEBUG ++ ynh_app_setting get jellyseerr nodejs_version
  453. 785701 DEBUG ++ set +o xtrace
  454. 785756 DEBUG + nodejs_version=18
  455. 785756 DEBUG + nodejs_path=/opt/node_n/n/versions/node/18/bin
  456. 785756 DEBUG + shopt -s expand_aliases
  457. 785757 DEBUG + ynh_node=/opt/node_n/n/versions/node/18/bin/node
  458. 785757 DEBUG + alias ynh_node=/opt/node_n/n/versions/node/18/bin/node
  459. 785757 DEBUG + ynh_npm=/opt/node_n/n/versions/node/18/bin/npm
  460. 785757 DEBUG + alias ynh_npm=/opt/node_n/n/versions/node/18/bin/npm
  461. 785757 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\8\/\b\i\n* ]]
  462. 785757 DEBUG + PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  463. 785757 DEBUG + node_PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  464. 785758 DEBUG + ynh_node_load_PATH=PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  465. 785758 DEBUG + ynh_node_load_path=PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  466. 785758 DEBUG + /opt/node_n/n/versions/node/18/bin/npm install --global npm@latest
  467. 790833 DEBUG
  468. 790833 DEBUG removed 12 packages, and changed 76 packages in 4s
  469. 790834 DEBUG
  470. 790834 DEBUG 28 packages are looking for funding
  471. 790834 DEBUG run `npm fund` for details
  472. 790854 DEBUG + /opt/node_n/n/versions/node/18/bin/npm install --global yarn
  473. 792981 DEBUG
  474. 792981 DEBUG added 1 package in 2s
  475. 792993 DEBUG + ynh_script_progression '--message=Setting up source files...' --weight=1
  476. 792993 DEBUG + set +o xtrace
  477. 793044 DEBUG + set +o xtrace
  478. 793054 DEBUG + echo '! Helper used in legacy mode !'
  479. 793054 DEBUG + set +x
  480. 793056 DEBUG + echo '[#...................] > Setting up source files...'
  481. 793056 DEBUG + set -o xtrace
  482. 793056 DEBUG + '[' UPGRADE_APP == UPGRADE_APP ']'
  483. 793056 DEBUG + ynh_script_progression '--message=Upgrading source files...'
  484. 793057 DEBUG + set +o xtrace
  485. 793057 INFO [#...................] > Setting up source files...
  486. 793086 DEBUG + set +o xtrace
  487. 793097 DEBUG + echo '! Helper used in legacy mode !'
  488. 793097 DEBUG + set +x
  489. 793099 DEBUG + echo '[#...................] > Upgrading source files...'
  490. 793099 DEBUG + set -o xtrace
  491. 793099 DEBUG + mv /var/www/jellyseerr /var/www/jellyseerr.old
  492. 793099 INFO [#...................] > Upgrading source files...
  493. 793101 DEBUG + ynh_setup_source --dest_dir=/var/www/jellyseerr
  494. 793101 DEBUG + local legacy_args=dsk
  495. 793102 DEBUG + args_array=(['d']='dest_dir=' ['s']='source_id=' ['k']='keep=' ['r']='full_replace=')
  496. 793102 DEBUG + local -A args_array
  497. 793102 DEBUG + local dest_dir
  498. 793102 DEBUG + local source_id
  499. 793102 DEBUG + local keep
  500. 793102 DEBUG + local full_replace
  501. 793102 DEBUG + ynh_handle_getopts_args --dest_dir=/var/www/jellyseerr
  502. 793102 DEBUG + set +o xtrace
  503. 793136 DEBUG + keep=
  504. 793136 DEBUG + full_replace=0
  505. 793137 DEBUG + test -e /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml
  506. 793137 DEBUG + cat /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml
  507. 793138 DEBUG + toml_to_json
  508. 793138 DEBUG + jq -e .resources.sources
  509. 793138 DEBUG + python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
  510. 793327 DEBUG + source_id=main
  511. 793328 DEBUG ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml
  512. 793328 DEBUG ++ toml_to_json
  513. 793328 DEBUG ++ python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
  514. 793328 DEBUG ++ jq '.resources.sources["main"]'
  515. 793377 DEBUG + local 'sources_json={
  516. 793377 DEBUG "url": "https://github.com/Fallenbagel/jellyseerr/archive/refs/tags/v1.6.0.tar.gz",
  517. 793377 DEBUG "sha256": "f51014752e679d558c5c0ba6e3df363a1ef6c16b8a5176dbc0a4d3f3301ef156",
  518. 793378 DEBUG "autoupdate": {
  519. 793378 DEBUG "strategy": "latest_github_tag"
  520. 793378 DEBUG }
  521. 793378 DEBUG }'
  522. 793378 DEBUG + jq -re .url
  523. 793423 DEBUG https://github.com/Fallenbagel/jellyseerr/archive/refs/tags/v1.6.0.tar.gz
  524. 793424 DEBUG + local arch_prefix=
  525. 793424 DEBUG ++ sed 's/^null$//'
  526. 793424 DEBUG ++ jq -r .url
  527. 793471 DEBUG + local src_url=https://github.com/Fallenbagel/jellyseerr/archive/refs/tags/v1.6.0.tar.gz
  528. 793471 DEBUG ++ jq -r .sha256
  529. 793471 DEBUG ++ sed 's/^null$//'
  530. 793518 DEBUG + local src_sum=f51014752e679d558c5c0ba6e3df363a1ef6c16b8a5176dbc0a4d3f3301ef156
  531. 793518 DEBUG + local src_sumprg=sha256sum
  532. 793519 DEBUG ++ sed 's/^null$//'
  533. 793519 DEBUG ++ jq -r .format
  534. 793570 DEBUG + local src_format=
  535. 793571 DEBUG ++ jq -r .in_subdir
  536. 793571 DEBUG ++ sed 's/^null$//'
  537. 793619 DEBUG + local src_in_subdir=
  538. 793620 DEBUG ++ jq -r .extract
  539. 793620 DEBUG ++ sed 's/^null$//'
  540. 793667 DEBUG + local src_extract=
  541. 793668 DEBUG ++ jq -r .platform
  542. 793668 DEBUG ++ sed 's/^null$//'
  543. 793716 DEBUG + local src_platform=
  544. 793717 DEBUG ++ jq -r .rename
  545. 793717 DEBUG ++ sed 's/^null$//'
  546. 793763 DEBUG + local src_rename=
  547. 793763 DEBUG + [[ -n https://github.com/Fallenbagel/jellyseerr/archive/refs/tags/v1.6.0.tar.gz ]]
  548. 793763 DEBUG + [[ -n f51014752e679d558c5c0ba6e3df363a1ef6c16b8a5176dbc0a4d3f3301ef156 ]]
  549. 793763 DEBUG + [[ -z '' ]]
  550. 793764 DEBUG + [[ https://github.com/Fallenbagel/jellyseerr/archive/refs/tags/v1.6.0.tar.gz =~ ^.*\.zip$ ]]
  551. 793764 DEBUG + [[ https://github.com/Fallenbagel/jellyseerr/archive/refs/tags/v1.6.0.tar.gz =~ ^.*/zipball/.*$ ]]
  552. 793764 DEBUG + [[ https://github.com/Fallenbagel/jellyseerr/archive/refs/tags/v1.6.0.tar.gz =~ ^.*\.tar\.gz$ ]]
  553. 793764 DEBUG + src_format=tar.gz
  554. 793764 DEBUG + src_sumprg=sha256sum
  555. 793764 DEBUG + src_in_subdir=true
  556. 793765 DEBUG + src_format=tar.gz
  557. 793765 DEBUG ++ tr '[:upper:]' '[:lower:]'
  558. 793765 DEBUG ++ echo tar.gz
  559. 793766 DEBUG + src_format=tar.gz
  560. 793766 DEBUG + src_extract=true
  561. 793766 DEBUG + [[ true != \t\r\u\e ]]
  562. 793766 DEBUG + local local_src=/opt/yunohost-apps-src/jellyseerr/main
  563. 793767 DEBUG ++ dirname /var/cache/yunohost/download/jellyseerr/main
  564. 793802 DEBUG + mkdir -p /var/cache/yunohost/download/jellyseerr
  565. 793803 DEBUG + src_filename=/var/cache/yunohost/download/jellyseerr/main
  566. 793804 DEBUG + '[' tar.gz = docker ']'
  567. 793804 DEBUG + test -e /opt/yunohost-apps-src/jellyseerr/main
  568. 793804 DEBUG + '[' -n https://github.com/Fallenbagel/jellyseerr/archive/refs/tags/v1.6.0.tar.gz ']'
  569. 793804 DEBUG + '[' -e /var/cache/yunohost/download/jellyseerr/main ']'
  570. 793804 DEBUG + sha256sum --check --status
  571. 793805 DEBUG + echo 'f51014752e679d558c5c0ba6e3df363a1ef6c16b8a5176dbc0a4d3f3301ef156 /var/cache/yunohost/download/jellyseerr/main'
  572. 793844 DEBUG + '[' '!' -e /var/cache/yunohost/download/jellyseerr/main ']'
  573. 793845 DEBUG + sha256sum --check --status
  574. 793845 DEBUG + echo 'f51014752e679d558c5c0ba6e3df363a1ef6c16b8a5176dbc0a4d3f3301ef156 /var/cache/yunohost/download/jellyseerr/main'
  575. 793886 DEBUG + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
  576. 793890 DEBUG + '[' -n '' ']'
  577. 793890 DEBUG + '[' 0 -eq 1 ']'
  578. 793890 DEBUG + mkdir --parents /var/www/jellyseerr
  579. 793890 DEBUG + '[' -n /var/www/jellyseerr ']'
  580. 793891 DEBUG + '[' /var/www/jellyseerr == /var/www/jellyseerr ']'
  581. 793891 DEBUG + _ynh_apply_default_permissions /var/www/jellyseerr
  582. 793891 DEBUG + local target=/var/www/jellyseerr
  583. 793892 DEBUG ++ ynh_read_manifest --manifest_key=requirements.yunohost
  584. 793892 DEBUG ++ tr -d '<>= '
  585. 793892 DEBUG ++ local legacy_args=mk
  586. 793892 DEBUG ++ args_array=(['m']='manifest=' ['k']='manifest_key=')
  587. 793893 DEBUG ++ local -A args_array
  588. 793893 DEBUG ++ local manifest
  589. 793893 DEBUG ++ local manifest_key
  590. 793893 DEBUG ++ ynh_handle_getopts_args --manifest_key=requirements.yunohost
  591. 793893 DEBUG ++ set +o xtrace
  592. 793909 DEBUG ++ '[' '!' -e '' ']'
  593. 793909 DEBUG ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.json ']'
  594. 793909 DEBUG ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml ']'
  595. 793909 DEBUG ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml
  596. 793910 DEBUG ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml
  597. 793910 DEBUG ++ grep -q '\.json$'
  598. 793912 DEBUG ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml
  599. 793913 DEBUG ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
  600. 793914 DEBUG ++ jq .requirements.yunohost --raw-output
  601. 793963 DEBUG + local ynh_requirement=null
  602. 793964 DEBUG + dpkg --compare-versions 2.0 ge 2
  603. 793966 DEBUG + chmod o-rwx /var/www/jellyseerr
  604. 793967 DEBUG + chmod g-w /var/www/jellyseerr
  605. 793968 DEBUG + chown -R root:root /var/www/jellyseerr
  606. 793972 DEBUG + ynh_system_user_exists jellyseerr
  607. 793972 DEBUG + local legacy_args=u
  608. 793972 DEBUG + args_array=(['u']='username=')
  609. 793973 DEBUG + local -A args_array
  610. 793973 DEBUG + local username
  611. 793973 DEBUG + ynh_handle_getopts_args jellyseerr
  612. 793973 DEBUG + set +o xtrace
  613. 793979 DEBUG + echo '! Helper used in legacy mode !'
  614. 793980 DEBUG + set +x
  615. 793981 DEBUG + getent passwd jellyseerr
  616. 793985 DEBUG + chown jellyseerr:jellyseerr /var/www/jellyseerr
  617. 793988 DEBUG + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system'
  618. 793988 DEBUG + echo /var/www/jellyseerr
  619. 793991 DEBUG + '[' -n '' ']'
  620. 793991 DEBUG + [[ true == \f\a\l\s\e ]]
  621. 793991 DEBUG + [[ tar.gz == \d\o\c\k\e\r ]]
  622. 793991 DEBUG + [[ tar.gz == \z\i\p ]]
  623. 793991 DEBUG + local strip=
  624. 793991 DEBUG + '[' true '!=' false ']'
  625. 793991 DEBUG + '[' true == true ']'
  626. 793992 DEBUG + local sub_dirs=1
  627. 793992 DEBUG + strip='--strip-components 1'
  628. 793992 DEBUG + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
  629. 793992 DEBUG + tar --extract --file=/var/cache/yunohost/download/jellyseerr/main --directory=/var/www/jellyseerr --strip-components 1
  630. 794196 DEBUG + ynh_secure_remove --file=/var/cache/yunohost/download/jellyseerr/main
  631. 794196 DEBUG + local legacy_args=f
  632. 794196 DEBUG + args_array=(['f']='file=')
  633. 794196 DEBUG + local -A args_array
  634. 794196 DEBUG + local file
  635. 794196 DEBUG + ynh_handle_getopts_args --file=/var/cache/yunohost/download/jellyseerr/main
  636. 794197 DEBUG + set +o xtrace
  637. 794205 DEBUG + set +o xtrace
  638. 794388 DEBUG + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/sources/patches/ ']'
  639. 794402 DEBUG ++ realpath /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/sources/patches/
  640. 794405 DEBUG + local patches_folder=/var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/sources/patches
  641. 794406 DEBUG ++ wc --lines
  642. 794407 DEBUG ++ find /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/sources/patches -type f -name 'main-*.patch'
  643. 794425 DEBUG + (( 0 > 0 ))
  644. 794425 DEBUG + test -e /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/sources/extra_files/main
  645. 794426 DEBUG + '[' -n '' ']'
  646. 794426 DEBUG + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
  647. 794427 DEBUG + cp -a /var/www/jellyseerr.old/config /var/www/jellyseerr
  648. 794870 DEBUG + ynh_secure_remove --file=/var/www/jellyseerr.old
  649. 794870 DEBUG + local legacy_args=f
  650. 794870 DEBUG + args_array=(['f']='file=')
  651. 794871 DEBUG + local -A args_array
  652. 794871 DEBUG + local file
  653. 794871 DEBUG + ynh_handle_getopts_args --file=/var/www/jellyseerr.old
  654. 794871 DEBUG + set +o xtrace
  655. 794883 DEBUG + set +o xtrace
  656. 819237 DEBUG + chmod 750 /var/www/jellyseerr
  657. 819239 DEBUG + chmod -R o-rwx /var/www/jellyseerr
  658. 819251 DEBUG + chown -R jellyseerr:www-data /var/www/jellyseerr
  659. 819264 DEBUG + ynh_script_progression '--message=Building app... This may take quiete some time' --weight=30
  660. 819265 DEBUG + set +o xtrace
  661. 819316 DEBUG + set +o xtrace
  662. 819327 DEBUG + echo '! Helper used in legacy mode !'
  663. 819327 DEBUG + set +x
  664. 819329 DEBUG + echo '[#+++++++............] > Building app... This may take quiete some time'
  665. 819329 INFO [#+++++++............] > Building app... This may take quiete some time
  666. 819329 DEBUG + set -o xtrace
  667. 819329 DEBUG + pushd /var/www/jellyseerr
  668. 819330 DEBUG /var/www/jellyseerr /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/scripts
  669. 819330 DEBUG + ynh_use_nodejs
  670. 819330 DEBUG ++ ynh_app_setting_get --app=jellyseerr --key=nodejs_version
  671. 819330 DEBUG ++ local _globalapp=jellyseerr
  672. 819330 DEBUG ++ local legacy_args=ak
  673. 819330 DEBUG ++ args_array=(['a']='app=' ['k']='key=')
  674. 819331 DEBUG ++ local -A args_array
  675. 819331 DEBUG ++ local app
  676. 819331 DEBUG ++ local key
  677. 819331 DEBUG ++ ynh_handle_getopts_args --app=jellyseerr --key=nodejs_version
  678. 819331 DEBUG ++ set +o xtrace
  679. 819358 DEBUG ++ app=jellyseerr
  680. 819358 DEBUG ++ [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
  681. 819358 DEBUG ++ ynh_app_setting get jellyseerr nodejs_version
  682. 819359 DEBUG ++ set +o xtrace
  683. 819415 DEBUG + nodejs_version=18
  684. 819416 DEBUG + nodejs_path=/opt/node_n/n/versions/node/18/bin
  685. 819416 DEBUG + shopt -s expand_aliases
  686. 819416 DEBUG + ynh_node=/opt/node_n/n/versions/node/18/bin/node
  687. 819416 DEBUG + alias ynh_node=/opt/node_n/n/versions/node/18/bin/node
  688. 819416 DEBUG + ynh_npm=/opt/node_n/n/versions/node/18/bin/npm
  689. 819416 DEBUG + alias ynh_npm=/opt/node_n/n/versions/node/18/bin/npm
  690. 819416 DEBUG + [[ :/opt/node_n/n/versions/node/18/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\8\/\b\i\n* ]]
  691. 819417 DEBUG + node_PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  692. 819417 DEBUG + ynh_node_load_PATH=PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  693. 819417 DEBUG + ynh_node_load_path=PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  694. 819417 DEBUG + ynh_script_progression '--message=Fetching Yarn dev dependencies... This can be very long, be patient !' --weight=18
  695. 819417 DEBUG + set +o xtrace
  696. 819472 DEBUG + set +o xtrace
  697. 819484 DEBUG + echo '! Helper used in legacy mode !'
  698. 819484 DEBUG + set +x
  699. 819486 DEBUG + echo '[########++++........] > Fetching Yarn dev dependencies... This can be very long, be patient !'
  700. 819486 DEBUG + set -o xtrace
  701. 819486 DEBUG + ynh_exec_warn_less ynh_exec_as jellyseerr env PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn install --network-timeout=100000
  702. 819486 DEBUG + [[ 7 -eq 1 ]]
  703. 819486 DEBUG + ynh_exec_as jellyseerr env PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn install --network-timeout=100000
  704. 819487 DEBUG + local user=jellyseerr
  705. 819487 DEBUG + shift 1
  706. 819487 INFO [########++++........] > Fetching Yarn dev dependencies... This can be very long, be patient !
  707. 819487 DEBUG ++ whoami
  708. 819503 DEBUG + [[ jellyseerr = root ]]
  709. 819504 DEBUG + sudo -u jellyseerr env PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn install --network-timeout=100000
  710. 820994 DEBUG yarn install v1.22.19
  711. 821238 DEBUG [1/4] Resolving packages...
  712. 822446 DEBUG [2/4] Fetching packages...
  713. 907528 DEBUG warning swr@2.0.4: The engine "pnpm" appears to be invalid.
  714. 907614 DEBUG [3/4] Linking dependencies...
  715. 907614 DEBUG warning " > connect-typeorm@1.1.4" has incorrect peer dependency "typeorm@^0.1.4 || ^0.2.5".
  716. 907614 DEBUG warning "react-select > @emotion/react > @emotion/babel-plugin@11.10.5" has unmet peer dependency "@babel/core@^7.0.0".
  717. 907614 DEBUG warning "react-spring > @react-spring/konva@9.7.1" has unmet peer dependency "konva@>=2.6".
  718. 907614 DEBUG warning "react-spring > @react-spring/konva@9.7.1" has unmet peer dependency "react-konva@^16.8.0 || ^16.8.7-0 || ^16.9.0-0 || ^16.10.1-0 || ^16.12.0-0 || ^16.13.0-0 || ^17.0.0-0 || ^17.0.1-0 || ^17.0.2-0 || ^18.0.0-0".
  719. 907614 DEBUG warning "react-spring > @react-spring/native@9.7.1" has unmet peer dependency "react-native@>=0.58".
  720. 907614 DEBUG warning "react-spring > @react-spring/three@9.7.1" has unmet peer dependency "@react-three/fiber@>=6.0".
  721. 907615 DEBUG warning "react-spring > @react-spring/three@9.7.1" has unmet peer dependency "three@>=0.126".
  722. 907615 DEBUG warning "react-spring > @react-spring/zdog@9.7.1" has unmet peer dependency "react-zdog@>=1.0".
  723. 907615 DEBUG warning "react-spring > @react-spring/zdog@9.7.1" has unmet peer dependency "zdog@>=1.0".
  724. 907615 DEBUG warning " > react-toast-notifications@2.5.1" has incorrect peer dependency "react@^16.8.0 || ^17.0.0".
  725. 907615 DEBUG warning " > react-toast-notifications@2.5.1" has incorrect peer dependency "react-dom@^16.8.0 || ^17.0.0".
  726. 907615 DEBUG warning " > @babel/cli@7.21.0" has unmet peer dependency "@babel/core@^7.0.0-0".
  727. 907616 DEBUG warning " > semantic-release-docker-buildx@1.0.1" has incorrect peer dependency "semantic-release@>=11.0.0 <18.0.0".
  728. 907769 DEBUG warning Workspaces can only be enabled in private projects.
  729. 1269719 DEBUG [4/4] Building fresh packages...
  730. 1320109 DEBUG $ husky install
  731. 1321745 DEBUG fatal: ni ceci ni aucun de ses répertoires parents n'est un dépôt git : .git
  732. 1321751 DEBUG husky - git command not found, skipping install
  733. 1321761 DEBUG Done in 500.77s.
  734. 1322142 DEBUG + ynh_script_progression '--message=Building Yarn dev dependencies... This can be very long, be patient !' --weight=25
  735. 1322142 DEBUG + set +o xtrace
  736. 1322668 DEBUG + set +o xtrace
  737. 1322680 DEBUG + echo '! Helper used in legacy mode !'
  738. 1322680 DEBUG + set +x
  739. 1322681 DEBUG + echo '[############++++++..] > Building Yarn dev dependencies... This can be very long, be patient !'
  740. 1322682 DEBUG + set -o xtrace
  741. 1322682 DEBUG + ynh_exec_warn_less ynh_exec_as jellyseerr env PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn run build
  742. 1322682 DEBUG + [[ 7 -eq 1 ]]
  743. 1322682 DEBUG + ynh_exec_as jellyseerr env PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn run build
  744. 1322682 DEBUG + local user=jellyseerr
  745. 1322682 DEBUG + shift 1
  746. 1322683 INFO [############++++++..] > Building Yarn dev dependencies... This can be very long, be patient !
  747. 1322683 DEBUG ++ whoami
  748. 1322781 DEBUG + [[ jellyseerr = root ]]
  749. 1322782 DEBUG + sudo -u jellyseerr env PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn run build
  750. 1324649 DEBUG yarn run v1.22.19
  751. 1324720 DEBUG $ yarn build:next && yarn build:server
  752. 1325067 DEBUG $ next build
  753. 1327957 DEBUG warn - You have enabled experimental features (scrollRestoration, largePageDataBytes) in next.config.js.
  754. 1327987 DEBUG warn - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.
  755. 1327987 DEBUG
  756. 1328462 DEBUG Attention: Next.js now collects completely anonymous telemetry regarding usage.
  757. 1328463 DEBUG This information is used to shape Next.js' roadmap and prioritize features.
  758. 1328463 DEBUG You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
  759. 1328463 DEBUG https://nextjs.org/telemetry
  760. 1328463 DEBUG
  761. 1331415 DEBUG info - Linting and checking validity of types...
  762. 1343706 DEBUG warn - The Next.js plugin was not detected in your ESLint configuration. See https://nextjs.org/docs/basic-features/eslint#migrating-existing-config
  763. 1386857 DEBUG info - Creating an optimized production build...
  764. 1387937 DEBUG info - Disabled SWC as replacement for Babel because of custom Babel configuration "babel.config.js" https://nextjs.org/docs/messages/swc-disabled
  765. 1388644 DEBUG Browserslist: caniuse-lite is outdated. Please run:
  766. 1388645 DEBUG npx browserslist@latest --update-db
  767. 1388645 DEBUG Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
  768. 1389146 DEBUG info - Using external babel configuration from /var/www/jellyseerr/babel.config.js
  769. 1627973 DEBUG Browserslist: caniuse-lite is outdated. Please run:
  770. 1627973 DEBUG npx update-browserslist-db@latest
  771. 1627973 DEBUG Why you should do it regularly: https://github.com/browserslist/update-db#readme
  772. 1750303 DEBUG (node:3416240) [DEP_WEBPACK_MODULE_UPDATE_HASH] DeprecationWarning: Module.updateHash: Use new ChunkGraph API
  773. 1750303 DEBUG (Use `node --trace-deprecation ...` to show where the warning was created)
  774. 1856662 DEBUG info - Compiled successfully
  775. 1856663 DEBUG info - Collecting page data...
  776. 1863614 DEBUG Warning: You have opted-out of Automatic Static Optimization due to `getInitialProps` in `pages/_app`. This does not opt-out pages with `getStaticProps`
  777. 1863615 DEBUG Read more: https://nextjs.org/docs/messages/opt-out-auto-static-optimization
  778. 1863615 DEBUG
  779. 1869786 DEBUG Route (pages) Size First Load JS
  780. 1869786 DEBUG ┌ λ / 41.3 kB 424 kB
  781. 1869829 DEBUG ├ /_app 0 B 223 kB
  782. 1869829 DEBUG ├ λ /404 952 B 224 kB
  783. 1869830 DEBUG ├ λ /collection/[collectionId] 4.97 kB 335 kB
  784. 1869830 DEBUG ├ λ /discover/movies 1.5 kB 387 kB
  785. 1869830 DEBUG ├ λ /discover/movies/genre/[genreId] 792 B 307 kB
  786. 1869830 DEBUG ├ λ /discover/movies/genres 3.66 kB 239 kB
  787. 1869831 DEBUG ├ λ /discover/movies/keyword 847 B 307 kB
  788. 1869831 DEBUG ├ λ /discover/movies/language/[language] 798 B 307 kB
  789. 1869831 DEBUG ├ λ /discover/movies/studio/[studioId] 905 B 307 kB
  790. 1869831 DEBUG ├ λ /discover/movies/upcoming 688 B 306 kB
  791. 1869832 DEBUG ├ λ /discover/trending 675 B 306 kB
  792. 1869832 DEBUG ├ λ /discover/tv 1.73 kB 388 kB
  793. 1869832 DEBUG ├ λ /discover/tv/genre/[genreId] 791 B 307 kB
  794. 1869832 DEBUG ├ λ /discover/tv/genres 3.66 kB 239 kB
  795. 1869833 DEBUG ├ λ /discover/tv/keyword 842 B 307 kB
  796. 1869833 DEBUG ├ λ /discover/tv/language/[language] 795 B 307 kB
  797. 1869833 DEBUG ├ λ /discover/tv/network/[networkId] 908 B 307 kB
  798. 1869833 DEBUG ├ λ /discover/tv/upcoming 685 B 306 kB
  799. 1869833 DEBUG ├ λ /discover/watchlist 942 B 307 kB
  800. 1869834 DEBUG ├ λ /issues 8.09 kB 231 kB
  801. 1869834 DEBUG ├ λ /issues/[issueId] 41.4 kB 294 kB
  802. 1869834 DEBUG ├ λ /login 4.47 kB 282 kB
  803. 1869834 DEBUG ├ λ /login/plex/loading 285 B 224 kB
  804. 1869835 DEBUG ├ λ /movie/[movieId] 11 kB 404 kB
  805. 1869835 DEBUG ├ λ /movie/[movieId]/cast 2.77 kB 226 kB
  806. 1869835 DEBUG ├ λ /movie/[movieId]/crew 2.77 kB 226 kB
  807. 1869835 DEBUG ├ λ /movie/[movieId]/recommendations 831 B 307 kB
  808. 1869836 DEBUG ├ λ /movie/[movieId]/similar 832 B 307 kB
  809. 1869836 DEBUG ├ λ /person/[personId] 9.64 kB 309 kB
  810. 1869836 DEBUG ├ λ /profile 303 B 341 kB
  811. 1869836 DEBUG ├ λ /profile/requests 295 B 316 kB
  812. 1869837 DEBUG ├ λ /profile/settings 314 B 322 kB
  813. 1869837 DEBUG ├ λ /profile/settings/main 320 B 322 kB
  814. 1869837 DEBUG ├ λ /profile/settings/notifications/discord 2.27 kB 289 kB
  815. 1869837 DEBUG ├ λ /profile/settings/notifications/email 1.87 kB 303 kB
  816. 1869838 DEBUG ├ λ /profile/settings/notifications/pushbullet 3.01 kB 290 kB
  817. 1869838 DEBUG ├ λ /profile/settings/notifications/pushover 2.07 kB 289 kB
  818. 1869838 DEBUG ├ λ /profile/settings/notifications/telegram 2.32 kB 289 kB
  819. 1869838 DEBUG ├ λ /profile/settings/notifications/webpush 1.74 kB 270 kB
  820. 1869838 DEBUG ├ λ /profile/settings/password 307 B 260 kB
  821. 1869839 DEBUG ├ λ /profile/settings/permissions 309 B 242 kB
  822. 1869839 DEBUG ├ λ /profile/watchlist 939 B 307 kB
  823. 1869839 DEBUG ├ λ /requests 289 B 316 kB
  824. 1869839 DEBUG ├ λ /resetpassword 3.79 kB 256 kB
  825. 1869840 DEBUG ├ λ /resetpassword/[guid] 4.77 kB 257 kB
  826. 1869840 DEBUG ├ λ /search 739 B 307 kB
  827. 1869840 DEBUG ├ λ /settings 344 B 331 kB
  828. 1869840 DEBUG ├ λ /settings/about 9.29 kB 233 kB
  829. 1869841 DEBUG ├ λ /settings/jellyfin 3.58 kB 260 kB
  830. 1869841 DEBUG ├ λ /settings/jobs 34.3 kB 258 kB
  831. 1869841 DEBUG ├ λ /settings/logs 9.29 kB 242 kB
  832. 1869841 DEBUG ├ λ /settings/main 348 B 331 kB
  833. 1869842 DEBUG ├ λ /settings/notifications/discord 6.68 kB 289 kB
  834. 1869842 DEBUG ├ λ /settings/notifications/email 7.27 kB 275 kB
  835. 1869842 DEBUG ├ λ /settings/notifications/gotify 6.88 kB 289 kB
  836. 1869842 DEBUG ├ λ /settings/notifications/lunasea 6.52 kB 289 kB
  837. 1869843 DEBUG ├ λ /settings/notifications/pushbullet 7.36 kB 290 kB
  838. 1869843 DEBUG ├ λ /settings/notifications/pushover 6.61 kB 289 kB
  839. 1869843 DEBUG ├ λ /settings/notifications/slack 6.39 kB 289 kB
  840. 1869843 DEBUG ├ λ /settings/notifications/telegram 7.75 kB 290 kB
  841. 1869844 DEBUG ├ λ /settings/notifications/webhook 10.1 kB 293 kB
  842. 1869844 DEBUG ├ λ /settings/notifications/webpush 9.09 kB 243 kB
  843. 1869844 DEBUG ├ λ /settings/plex 4.35 kB 298 kB
  844. 1869844 DEBUG ├ λ /settings/services 2.86 kB 295 kB
  845. 1869845 DEBUG ├ λ /settings/users 4.75 kB 242 kB
  846. 1869845 DEBUG ├ λ /setup 3.49 kB 357 kB
  847. 1869845 DEBUG ├ λ /tv/[tvId] 12.9 kB 406 kB
  848. 1869845 DEBUG ├ λ /tv/[tvId]/cast 2.76 kB 226 kB
  849. 1869845 DEBUG ├ λ /tv/[tvId]/crew 2.77 kB 226 kB
  850. 1869846 DEBUG ├ λ /tv/[tvId]/recommendations 827 B 307 kB
  851. 1869846 DEBUG ├ λ /tv/[tvId]/similar 828 B 307 kB
  852. 1869846 DEBUG ├ λ /users 11.4 kB 266 kB
  853. 1869846 DEBUG ├ λ /users/[userId] 308 B 341 kB
  854. 1869847 DEBUG ├ λ /users/[userId]/requests 463 B 317 kB
  855. 1869847 DEBUG ├ λ /users/[userId]/settings 464 B 322 kB
  856. 1869847 DEBUG ├ λ /users/[userId]/settings/main 467 B 322 kB
  857. 1869847 DEBUG ├ λ /users/[userId]/settings/notifications/discord 2.4 kB 289 kB
  858. 1869848 DEBUG ├ λ /users/[userId]/settings/notifications/email 2 kB 304 kB
  859. 1869848 DEBUG ├ λ /users/[userId]/settings/notifications/pushbullet 3.13 kB 290 kB
  860. 1869848 DEBUG ├ λ /users/[userId]/settings/notifications/pushover 2.2 kB 289 kB
  861. 1869848 DEBUG ├ λ /users/[userId]/settings/notifications/telegram 2.45 kB 289 kB
  862. 1869849 DEBUG ├ λ /users/[userId]/settings/notifications/webpush 1.87 kB 270 kB
  863. 1869849 DEBUG ├ λ /users/[userId]/settings/password 454 B 260 kB
  864. 1869849 DEBUG ├ λ /users/[userId]/settings/permissions 452 B 242 kB
  865. 1869849 DEBUG └ λ /users/[userId]/watchlist 1.1 kB 307 kB
  866. 1869850 DEBUG + First Load JS shared by all 242 kB
  867. 1869850 DEBUG ├ chunks/framework-6a24ea55bfe2d3c0.js 45.3 kB
  868. 1869850 DEBUG ├ chunks/main-a0d77ee65511e9c3.js 29.9 kB
  869. 1869850 DEBUG ├ chunks/pages/_app-f984730f88f541a6.js 124 kB
  870. 1869850 DEBUG ├ chunks/webpack-be736be3d1c9eec1.js 24.4 kB
  871. 1869851 DEBUG └ css/b53c3b612703eade.css 18.7 kB
  872. 1869851 DEBUG
  873. 1869851 DEBUG λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
  874. 1869851 DEBUG
  875. 1871043 DEBUG $ tsc --project server/tsconfig.json && copyfiles -u 2 server/templates/**/*.{html,pug} dist/templates && tsc-alias -p server/tsconfig.json
  876. 1896581 DEBUG Done in 571.94s.
  877. 1896610 DEBUG + ynh_script_progression '--message=Cleaning cache... ' --weight=3
  878. 1896611 DEBUG + set +o xtrace
  879. 1896663 DEBUG + set +o xtrace
  880. 1896675 DEBUG + echo '! Helper used in legacy mode !'
  881. 1896675 DEBUG + set +x
  882. 1896676 DEBUG + echo '[##################..] > Cleaning cache... '
  883. 1896676 INFO [##################..] > Cleaning cache...
  884. 1896677 DEBUG + set -o xtrace
  885. 1896677 DEBUG + ynh_exec_warn_less sudo -u jellyseerr env PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn cache clean
  886. 1896677 DEBUG + [[ 8 -eq 1 ]]
  887. 1896677 DEBUG + sudo -u jellyseerr env PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn cache clean
  888. 1896950 DEBUG yarn cache v1.22.19
  889. 1991832 DEBUG success Cleared cache.
  890. 1991833 DEBUG Done in 94.89s.
  891. 1991930 DEBUG + popd
  892. 1991930 DEBUG /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/scripts
  893. 1991930 DEBUG + chmod 750 /var/www/jellyseerr
  894. 1991980 DEBUG + chmod -R o-rwx /var/www/jellyseerr
  895. 2012297 DEBUG + chown -R jellyseerr:jellyseerr /var/www/jellyseerr
  896. 2013138 DEBUG + ynh_script_progression '--message=Configuring a systemd service...'
  897. 2013138 DEBUG + set +o xtrace
  898. 2013168 DEBUG + set +o xtrace
  899. 2013179 DEBUG + echo '! Helper used in legacy mode !'
  900. 2013179 DEBUG + set +x
  901. 2013180 DEBUG + echo '[##################..] > Configuring a systemd service...'
  902. 2013180 INFO [##################..] > Configuring a systemd service...
  903. 2013181 DEBUG + set -o xtrace
  904. 2013181 DEBUG + ynh_add_systemd_config
  905. 2013181 DEBUG + local legacy_args=stv
  906. 2013181 DEBUG + args_array=(['s']='service=' ['t']='template=')
  907. 2013182 DEBUG + local -A args_array
  908. 2013182 DEBUG + local service
  909. 2013182 DEBUG + local template
  910. 2013182 DEBUG + ynh_handle_getopts_args
  911. 2013182 DEBUG + set +o xtrace
  912. 2013182 DEBUG + service=jellyseerr
  913. 2013182 DEBUG + template=systemd.service
  914. 2013183 DEBUG + ynh_add_config --template=systemd.service --destination=/etc/systemd/system/jellyseerr.service
  915. 2013183 DEBUG + local legacy_args=tdv
  916. 2013183 DEBUG + args_array=(['t']='template=' ['d']='destination=')
  917. 2013183 DEBUG + local -A args_array
  918. 2013183 DEBUG + local template
  919. 2013183 DEBUG + local destination
  920. 2013184 DEBUG + ynh_handle_getopts_args --template=systemd.service --destination=/etc/systemd/system/jellyseerr.service
  921. 2013184 DEBUG + set +o xtrace
  922. 2013209 DEBUG + local template_path
  923. 2013210 DEBUG + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/conf/systemd.service ']'
  924. 2013231 DEBUG + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/conf/systemd.service
  925. 2013231 DEBUG + ynh_backup_if_checksum_is_different --file=/etc/systemd/system/jellyseerr.service
  926. 2013232 DEBUG + local legacy_args=f
  927. 2013232 DEBUG + args_array=(['f']='file=')
  928. 2013232 DEBUG + local -A args_array
  929. 2013232 DEBUG + local file
  930. 2013232 DEBUG + ynh_handle_getopts_args --file=/etc/systemd/system/jellyseerr.service
  931. 2013233 DEBUG + set +o xtrace
  932. 2013240 DEBUG + local checksum_setting_name=checksum__etc_systemd_system_jellyseerr.service
  933. 2013241 DEBUG ++ ynh_app_setting_get --app=jellyseerr --key=checksum__etc_systemd_system_jellyseerr.service
  934. 2013241 DEBUG ++ local _globalapp=jellyseerr
  935. 2013241 DEBUG ++ local legacy_args=ak
  936. 2013241 DEBUG ++ args_array=(['a']='app=' ['k']='key=')
  937. 2013242 DEBUG ++ local -A args_array
  938. 2013242 DEBUG ++ local app
  939. 2013242 DEBUG ++ local key
  940. 2013242 DEBUG ++ ynh_handle_getopts_args --app=jellyseerr --key=checksum__etc_systemd_system_jellyseerr.service
  941. 2013242 DEBUG ++ set +o xtrace
  942. 2013270 DEBUG ++ app=jellyseerr
  943. 2013270 DEBUG ++ [[ checksum__etc_systemd_system_jellyseerr.service =~ (unprotected|protected|skipped)_ ]]
  944. 2013271 DEBUG ++ ynh_app_setting get jellyseerr checksum__etc_systemd_system_jellyseerr.service
  945. 2013271 DEBUG ++ set +o xtrace
  946. 2013838 DEBUG + local checksum_value=eb66b90bd071b8d549f84d9d5cfa2161
  947. 2013838 DEBUG + backup_file_checksum=
  948. 2013838 DEBUG + '[' -n eb66b90bd071b8d549f84d9d5cfa2161 ']'
  949. 2013839 DEBUG + '[' -e /etc/systemd/system/jellyseerr.service ']'
  950. 2013839 DEBUG + md5sum --check --status
  951. 2013840 DEBUG + echo 'eb66b90bd071b8d549f84d9d5cfa2161 /etc/systemd/system/jellyseerr.service'
  952. 2013861 DEBUG + touch /etc/systemd/system/jellyseerr.service
  953. 2013895 DEBUG + chown root:root /etc/systemd/system/jellyseerr.service
  954. 2013900 DEBUG + chmod 640 /etc/systemd/system/jellyseerr.service
  955. 2013902 DEBUG + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/conf/systemd.service /etc/systemd/system/jellyseerr.service
  956. 2013963 DEBUG + _ynh_apply_default_permissions /etc/systemd/system/jellyseerr.service
  957. 2013963 DEBUG + local target=/etc/systemd/system/jellyseerr.service
  958. 2013964 DEBUG ++ ynh_read_manifest --manifest_key=requirements.yunohost
  959. 2013965 DEBUG ++ tr -d '<>= '
  960. 2013965 DEBUG ++ local legacy_args=mk
  961. 2013966 DEBUG ++ args_array=(['m']='manifest=' ['k']='manifest_key=')
  962. 2013966 DEBUG ++ local -A args_array
  963. 2013966 DEBUG ++ local manifest
  964. 2013967 DEBUG ++ local manifest_key
  965. 2013967 DEBUG ++ ynh_handle_getopts_args --manifest_key=requirements.yunohost
  966. 2013967 DEBUG ++ set +o xtrace
  967. 2013985 DEBUG ++ '[' '!' -e '' ']'
  968. 2013985 DEBUG ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.json ']'
  969. 2013985 DEBUG ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml ']'
  970. 2013985 DEBUG ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml
  971. 2013985 DEBUG ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml
  972. 2013986 DEBUG ++ grep -q '\.json$'
  973. 2013988 DEBUG ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml
  974. 2013989 DEBUG ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
  975. 2013989 DEBUG ++ jq .requirements.yunohost --raw-output
  976. 2015067 DEBUG + local ynh_requirement=null
  977. 2015067 DEBUG + dpkg --compare-versions 2.0 ge 2
  978. 2015320 DEBUG + chmod o-rwx /etc/systemd/system/jellyseerr.service
  979. 2015322 DEBUG + chmod g-w /etc/systemd/system/jellyseerr.service
  980. 2015323 DEBUG + chown -R root:root /etc/systemd/system/jellyseerr.service
  981. 2015326 DEBUG + ynh_system_user_exists jellyseerr
  982. 2015326 DEBUG + local legacy_args=u
  983. 2015326 DEBUG + args_array=(['u']='username=')
  984. 2015327 DEBUG + local -A args_array
  985. 2015327 DEBUG + local username
  986. 2015327 DEBUG + ynh_handle_getopts_args jellyseerr
  987. 2015327 DEBUG + set +o xtrace
  988. 2015336 DEBUG + echo '! Helper used in legacy mode !'
  989. 2015337 DEBUG + set +x
  990. 2015339 DEBUG + getent passwd jellyseerr
  991. 2015392 DEBUG + chown jellyseerr:jellyseerr /etc/systemd/system/jellyseerr.service
  992. 2015394 DEBUG + echo /etc/systemd/system/jellyseerr.service
  993. 2015395 DEBUG + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system'
  994. 2015398 DEBUG + chmod 400 /etc/systemd/system/jellyseerr.service
  995. 2015401 DEBUG + chown root:root /etc/systemd/system/jellyseerr.service
  996. 2015405 DEBUG + ynh_replace_vars --file=/etc/systemd/system/jellyseerr.service
  997. 2015406 DEBUG + local legacy_args=f
  998. 2015406 DEBUG + args_array=(['f']='file=')
  999. 2015407 DEBUG + local -A args_array
  1000. 2015407 DEBUG + local file
  1001. 2015407 DEBUG + ynh_handle_getopts_args --file=/etc/systemd/system/jellyseerr.service
  1002. 2015407 DEBUG + set +o xtrace
  1003. 2015419 DEBUG + test -n /
  1004. 2015420 DEBUG + local path_url_slash_less=
  1005. 2015420 DEBUG + ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/systemd/system/jellyseerr.service
  1006. 2015420 DEBUG + local legacy_args=mrf
  1007. 2015420 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
  1008. 2015420 DEBUG + local -A args_array
  1009. 2015420 DEBUG + local match_string
  1010. 2015421 DEBUG + local replace_string
  1011. 2015421 DEBUG + local target_file
  1012. 2015421 DEBUG + ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/ --target_file=/etc/systemd/system/jellyseerr.service
  1013. 2015421 DEBUG + set +o xtrace
  1014. 2015483 DEBUG + set +o xtrace
  1015. 2015483 DEBUG + sed --in-place $'s\001__PATH__/\001/\001g' /etc/systemd/system/jellyseerr.service
  1016. 2015739 DEBUG + ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/systemd/system/jellyseerr.service
  1017. 2015739 DEBUG + local legacy_args=mrf
  1018. 2015739 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
  1019. 2015739 DEBUG + local -A args_array
  1020. 2015740 DEBUG + local match_string
  1021. 2015740 DEBUG + local replace_string
  1022. 2015740 DEBUG + local target_file
  1023. 2015740 DEBUG + ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/ --target_file=/etc/systemd/system/jellyseerr.service
  1024. 2015740 DEBUG + set +o xtrace
  1025. 2015797 DEBUG + set +o xtrace
  1026. 2015797 DEBUG + sed --in-place $'s\001__PATH__\001/\001g' /etc/systemd/system/jellyseerr.service
  1027. 2015799 DEBUG + test -n jellyseerr
  1028. 2015799 DEBUG + ynh_replace_string --match_string=__NAME__ --replace_string=jellyseerr --target_file=/etc/systemd/system/jellyseerr.service
  1029. 2015799 DEBUG + local legacy_args=mrf
  1030. 2015799 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
  1031. 2015799 DEBUG + local -A args_array
  1032. 2015799 DEBUG + local match_string
  1033. 2015800 DEBUG + local replace_string
  1034. 2015800 DEBUG + local target_file
  1035. 2015800 DEBUG + ynh_handle_getopts_args --match_string=__NAME__ --replace_string=jellyseerr --target_file=/etc/systemd/system/jellyseerr.service
  1036. 2015800 DEBUG + set +o xtrace
  1037. 2015856 DEBUG + set +o xtrace
  1038. 2015856 DEBUG + sed --in-place $'s\001__NAME__\001jellyseerr\001g' /etc/systemd/system/jellyseerr.service
  1039. 2015858 DEBUG + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=jellyseerr --target_file=/etc/systemd/system/jellyseerr.service
  1040. 2015858 DEBUG + local legacy_args=mrf
  1041. 2015859 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
  1042. 2015859 DEBUG + local -A args_array
  1043. 2015859 DEBUG + local match_string
  1044. 2015859 DEBUG + local replace_string
  1045. 2015859 DEBUG + local target_file
  1046. 2015859 DEBUG + ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=jellyseerr --target_file=/etc/systemd/system/jellyseerr.service
  1047. 2015860 DEBUG + set +o xtrace
  1048. 2015932 DEBUG + set +o xtrace
  1049. 2015932 DEBUG + sed --in-place $'s\001__NAMETOCHANGE__\001jellyseerr\001g' /etc/systemd/system/jellyseerr.service
  1050. 2015936 DEBUG + ynh_replace_string --match_string=__USER__ --replace_string=jellyseerr --target_file=/etc/systemd/system/jellyseerr.service
  1051. 2015936 DEBUG + local legacy_args=mrf
  1052. 2015936 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
  1053. 2015936 DEBUG + local -A args_array
  1054. 2015937 DEBUG + local match_string
  1055. 2015937 DEBUG + local replace_string
  1056. 2015937 DEBUG + local target_file
  1057. 2015937 DEBUG + ynh_handle_getopts_args --match_string=__USER__ --replace_string=jellyseerr --target_file=/etc/systemd/system/jellyseerr.service
  1058. 2015937 DEBUG + set +o xtrace
  1059. 2016013 DEBUG + set +o xtrace
  1060. 2016013 DEBUG + sed --in-place $'s\001__USER__\001jellyseerr\001g' /etc/systemd/system/jellyseerr.service
  1061. 2016015 DEBUG + test -n ''
  1062. 2016015 DEBUG + dpkg --compare-versions 2.0 lt 2
  1063. 2016018 DEBUG + test -n PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  1064. 2016018 DEBUG + ynh_replace_string --match_string=__YNH_NODE_LOAD_PATH__ --replace_string=PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --target_file=/etc/systemd/system/jellyseerr.service
  1065. 2016019 DEBUG + local legacy_args=mrf
  1066. 2016019 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
  1067. 2016019 DEBUG + local -A args_array
  1068. 2016019 DEBUG + local match_string
  1069. 2016019 DEBUG + local replace_string
  1070. 2016019 DEBUG + local target_file
  1071. 2016019 DEBUG + ynh_handle_getopts_args --match_string=__YNH_NODE_LOAD_PATH__ --replace_string=PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --target_file=/etc/systemd/system/jellyseerr.service
  1072. 2016020 DEBUG + set +o xtrace
  1073. 2016100 DEBUG + set +o xtrace
  1074. 2016100 DEBUG + sed --in-place $'s\001__YNH_NODE_LOAD_PATH__\001PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\001g' /etc/systemd/system/jellyseerr.service
  1075. 2016103 DEBUG ++ sort --unique
  1076. 2016104 DEBUG ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/systemd/system/jellyseerr.service
  1077. 2016106 DEBUG ++ sed 's@__\([^.]*\)__@\L\1@g'
  1078. 2016157 DEBUG + uniques_vars=('app' 'install_dir' 'ynh_node')
  1079. 2016157 DEBUG + local uniques_vars
  1080. 2016157 DEBUG + local delimit=@
  1081. 2016157 DEBUG + for one_var in "${uniques_vars[@]}"
  1082. 2016157 DEBUG + [[ -v app ]]
  1083. 2016158 DEBUG + match_string=__APP__
  1084. 2016158 DEBUG + match_string=__APP__
  1085. 2016158 DEBUG + replace_string=jellyseerr
  1086. 2016158 DEBUG + replace_string=jellyseerr
  1087. 2016158 DEBUG + replace_string=jellyseerr
  1088. 2016158 DEBUG + sed --in-place s@__APP__@jellyseerr@g /etc/systemd/system/jellyseerr.service
  1089. 2016160 DEBUG + for one_var in "${uniques_vars[@]}"
  1090. 2016160 DEBUG + [[ -v install_dir ]]
  1091. 2016160 DEBUG + match_string=__INSTALL_DIR__
  1092. 2016160 DEBUG + match_string=__INSTALL_DIR__
  1093. 2016160 DEBUG + replace_string=/var/www/jellyseerr
  1094. 2016160 DEBUG + replace_string=/var/www/jellyseerr
  1095. 2016160 DEBUG + replace_string=/var/www/jellyseerr
  1096. 2016161 DEBUG + sed --in-place s@__INSTALL_DIR__@/var/www/jellyseerr@g /etc/systemd/system/jellyseerr.service
  1097. 2016162 DEBUG + for one_var in "${uniques_vars[@]}"
  1098. 2016162 DEBUG + [[ -v ynh_node ]]
  1099. 2016162 DEBUG + match_string=__YNH_NODE__
  1100. 2016163 DEBUG + match_string=__YNH_NODE__
  1101. 2016163 DEBUG + replace_string=/opt/node_n/n/versions/node/18/bin/node
  1102. 2016163 DEBUG + replace_string=/opt/node_n/n/versions/node/18/bin/node
  1103. 2016163 DEBUG + replace_string=/opt/node_n/n/versions/node/18/bin/node
  1104. 2016163 DEBUG + sed --in-place s@__YNH_NODE__@/opt/node_n/n/versions/node/18/bin/node@g /etc/systemd/system/jellyseerr.service
  1105. 2016165 DEBUG + ynh_store_file_checksum --file=/etc/systemd/system/jellyseerr.service
  1106. 2016165 DEBUG + local legacy_args=f
  1107. 2016165 DEBUG + args_array=(['f']='file=' ['u']='update_only')
  1108. 2016165 DEBUG + local -A args_array
  1109. 2016165 DEBUG + local file
  1110. 2016166 DEBUG + local update_only
  1111. 2016166 DEBUG + update_only=0
  1112. 2016166 DEBUG + ynh_handle_getopts_args --file=/etc/systemd/system/jellyseerr.service
  1113. 2016166 DEBUG + set +o xtrace
  1114. 2016191 DEBUG + local checksum_setting_name=checksum__etc_systemd_system_jellyseerr.service
  1115. 2016191 DEBUG + '[' 0 -eq 1 ']'
  1116. 2016192 DEBUG ++ md5sum /etc/systemd/system/jellyseerr.service
  1117. 2016194 DEBUG ++ cut '--delimiter= ' --fields=1
  1118. 2016209 DEBUG + ynh_app_setting_set --app=jellyseerr --key=checksum__etc_systemd_system_jellyseerr.service --value=eb66b90bd071b8d549f84d9d5cfa2161
  1119. 2016210 DEBUG + local _globalapp=jellyseerr
  1120. 2016210 DEBUG + local legacy_args=akv
  1121. 2016210 DEBUG + args_array=(['a']='app=' ['k']='key=' ['v']='value=')
  1122. 2016210 DEBUG + local -A args_array
  1123. 2016210 DEBUG + local app
  1124. 2016210 DEBUG + local key
  1125. 2016210 DEBUG + local value
  1126. 2016211 DEBUG + ynh_handle_getopts_args --app=jellyseerr --key=checksum__etc_systemd_system_jellyseerr.service --value=eb66b90bd071b8d549f84d9d5cfa2161
  1127. 2016211 DEBUG + set +o xtrace
  1128. 2016279 DEBUG + app=jellyseerr
  1129. 2016279 DEBUG + [[ checksum__etc_systemd_system_jellyseerr.service =~ (unprotected|protected|skipped)_ ]]
  1130. 2016279 DEBUG + ynh_app_setting set jellyseerr checksum__etc_systemd_system_jellyseerr.service eb66b90bd071b8d549f84d9d5cfa2161
  1131. 2016279 DEBUG + set +o xtrace
  1132. 2016348 DEBUG + '[' 0 -eq 1 ']'
  1133. 2016348 DEBUG + '[' -n '' ']'
  1134. 2016348 DEBUG + unset backup_file_checksum
  1135. 2016348 DEBUG + systemctl enable jellyseerr --quiet
  1136. 2019457 DEBUG + systemctl daemon-reload
  1137. 2019762 DEBUG + ynh_script_progression '--message=Configuring logrotate to manage application logfiles' --weight=1
  1138. 2019763 DEBUG + set +o xtrace
  1139. 2019814 DEBUG + set +o xtrace
  1140. 2019825 DEBUG + echo '! Helper used in legacy mode !'
  1141. 2019825 DEBUG + set +x
  1142. 2019827 DEBUG + echo '[##################+.] > Configuring logrotate to manage application logfiles'
  1143. 2019827 DEBUG + set -o xtrace
  1144. 2019827 DEBUG + ynh_use_logrotate --specific_user=jellyseerr
  1145. 2019827 DEBUG + all_args=('--specific_user=jellyseerr')
  1146. 2019827 DEBUG + local all_args
  1147. 2019828 INFO [##################+.] > Configuring logrotate to manage application logfiles
  1148. 2019828 DEBUG ++ seq 0 0
  1149. 2019829 DEBUG + for I in $(seq 0 $(($# - 1)))
  1150. 2019829 DEBUG + [[ --specific_user=jellyseerr == \-\-\n\o\n\-\a\p\p\e\n\d ]]
  1151. 2019829 DEBUG + set -- --specific_user=jellyseerr
  1152. 2019829 DEBUG + local legacy_args=lnu
  1153. 2019830 DEBUG + args_array=(['l']='logfile=' ['n']='nonappend' ['u']='specific_user=')
  1154. 2019830 DEBUG + local -A args_array
  1155. 2019830 DEBUG + local logfile
  1156. 2019830 DEBUG + local nonappend
  1157. 2019830 DEBUG + local specific_user
  1158. 2019830 DEBUG + ynh_handle_getopts_args --specific_user=jellyseerr
  1159. 2019830 DEBUG + set +o xtrace
  1160. 2019852 DEBUG + logfile=
  1161. 2019852 DEBUG + nonappend=0
  1162. 2019852 DEBUG + specific_user=jellyseerr
  1163. 2019852 DEBUG + '[' 1 -gt 0 ']'
  1164. 2019852 DEBUG ++ echo -
  1165. 2019852 DEBUG + '[' - '!=' - ']'
  1166. 2019853 DEBUG + local 'customtee=tee --append'
  1167. 2019853 DEBUG + '[' 0 -eq 1 ']'
  1168. 2019853 DEBUG + '[' -n '' ']'
  1169. 2019853 DEBUG + logfile='/var/log/jellyseerr/*.log'
  1170. 2019853 DEBUG + local su_directive=
  1171. 2019853 DEBUG + [[ -n jellyseerr ]]
  1172. 2019853 DEBUG + su_directive=' # Run logorotate as specific user - group
  1173. 2019854 DEBUG su jellyseerr jellyseerr'
  1174. 2019854 DEBUG + cat
  1175. 2019855 DEBUG ++ dirname '/var/log/jellyseerr/*.log'
  1176. 2019932 DEBUG + mkdir --parents /var/log/jellyseerr
  1177. 2019936 DEBUG + cat jellyseerr-logrotate
  1178. 2019936 DEBUG + tee --append /etc/logrotate.d/jellyseerr
  1179. 2020039 DEBUG + touch /var/log/jellyseerr/jellyseerr.log
  1180. 2020040 DEBUG + chown -R jellyseerr:www-data /var/log/jellyseerr/
  1181. 2020048 DEBUG + ynh_script_progression '--message=Integrating service in YunoHost...'
  1182. 2020049 DEBUG + set +o xtrace
  1183. 2020082 DEBUG + set +o xtrace
  1184. 2020093 DEBUG + echo '! Helper used in legacy mode !'
  1185. 2020093 DEBUG + set +x
  1186. 2020095 DEBUG + echo '[###################.] > Integrating service in YunoHost...'
  1187. 2020095 DEBUG + set -o xtrace
  1188. 2020095 INFO [###################.] > Integrating service in YunoHost...
  1189. 2020095 DEBUG + yunohost service add jellyseerr --log=/var/log/jellyseerr/jellyseerr.log
  1190. 2026245 DEBUG Le service 'jellyseerr' a été ajouté
  1191. 2026285 DEBUG + ynh_script_progression '--message=Updating a configuration file...' --weight=1
  1192. 2026285 DEBUG + set +o xtrace
  1193. 2026340 DEBUG + set +o xtrace
  1194. 2026351 DEBUG + echo '! Helper used in legacy mode !'
  1195. 2026351 DEBUG + set +x
  1196. 2026353 DEBUG + echo '[###################.] > Updating a configuration file...'
  1197. 2026353 INFO [###################.] > Updating a configuration file...
  1198. 2026353 DEBUG + set -o xtrace
  1199. 2026353 DEBUG + ynh_add_config --template=../conf/jellyseerr.conf --destination=/var/www/jellyseerr/jellyseerr.conf
  1200. 2026353 DEBUG + local legacy_args=tdv
  1201. 2026354 DEBUG + args_array=(['t']='template=' ['d']='destination=')
  1202. 2026354 DEBUG + local -A args_array
  1203. 2026354 DEBUG + local template
  1204. 2026354 DEBUG + local destination
  1205. 2026354 DEBUG + ynh_handle_getopts_args --template=../conf/jellyseerr.conf --destination=/var/www/jellyseerr/jellyseerr.conf
  1206. 2026354 DEBUG + set +o xtrace
  1207. 2026381 DEBUG + local template_path
  1208. 2026381 DEBUG + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/conf/../conf/jellyseerr.conf ']'
  1209. 2026381 DEBUG + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/conf/../conf/jellyseerr.conf
  1210. 2026381 DEBUG + ynh_backup_if_checksum_is_different --file=/var/www/jellyseerr/jellyseerr.conf
  1211. 2026382 DEBUG + local legacy_args=f
  1212. 2026382 DEBUG + args_array=(['f']='file=')
  1213. 2026382 DEBUG + local -A args_array
  1214. 2026382 DEBUG + local file
  1215. 2026382 DEBUG + ynh_handle_getopts_args --file=/var/www/jellyseerr/jellyseerr.conf
  1216. 2026382 DEBUG + set +o xtrace
  1217. 2026392 DEBUG + local checksum_setting_name=checksum__var_www_jellyseerr_jellyseerr.conf
  1218. 2026393 DEBUG ++ ynh_app_setting_get --app=jellyseerr --key=checksum__var_www_jellyseerr_jellyseerr.conf
  1219. 2026393 DEBUG ++ local _globalapp=jellyseerr
  1220. 2026394 DEBUG ++ local legacy_args=ak
  1221. 2026394 DEBUG ++ args_array=(['a']='app=' ['k']='key=')
  1222. 2026394 DEBUG ++ local -A args_array
  1223. 2026395 DEBUG ++ local app
  1224. 2026395 DEBUG ++ local key
  1225. 2026395 DEBUG ++ ynh_handle_getopts_args --app=jellyseerr --key=checksum__var_www_jellyseerr_jellyseerr.conf
  1226. 2026395 DEBUG ++ set +o xtrace
  1227. 2026428 DEBUG ++ app=jellyseerr
  1228. 2026429 DEBUG ++ [[ checksum__var_www_jellyseerr_jellyseerr.conf =~ (unprotected|protected|skipped)_ ]]
  1229. 2026429 DEBUG ++ ynh_app_setting get jellyseerr checksum__var_www_jellyseerr_jellyseerr.conf
  1230. 2026429 DEBUG ++ set +o xtrace
  1231. 2026483 DEBUG + local checksum_value=9c4064361f387f830413c0603e82cc6f
  1232. 2026483 DEBUG + backup_file_checksum=
  1233. 2026483 DEBUG + '[' -n 9c4064361f387f830413c0603e82cc6f ']'
  1234. 2026484 DEBUG + '[' -e /var/www/jellyseerr/jellyseerr.conf ']'
  1235. 2026484 DEBUG + touch /var/www/jellyseerr/jellyseerr.conf
  1236. 2026485 DEBUG + chown root:root /var/www/jellyseerr/jellyseerr.conf
  1237. 2026486 DEBUG + chmod 640 /var/www/jellyseerr/jellyseerr.conf
  1238. 2026487 DEBUG + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/conf/../conf/jellyseerr.conf /var/www/jellyseerr/jellyseerr.conf
  1239. 2026507 DEBUG + _ynh_apply_default_permissions /var/www/jellyseerr/jellyseerr.conf
  1240. 2026508 DEBUG + local target=/var/www/jellyseerr/jellyseerr.conf
  1241. 2026508 DEBUG ++ ynh_read_manifest --manifest_key=requirements.yunohost
  1242. 2026508 DEBUG ++ tr -d '<>= '
  1243. 2026509 DEBUG ++ local legacy_args=mk
  1244. 2026509 DEBUG ++ args_array=(['m']='manifest=' ['k']='manifest_key=')
  1245. 2026509 DEBUG ++ local -A args_array
  1246. 2026510 DEBUG ++ local manifest
  1247. 2026510 DEBUG ++ local manifest_key
  1248. 2026510 DEBUG ++ ynh_handle_getopts_args --manifest_key=requirements.yunohost
  1249. 2026510 DEBUG ++ set +o xtrace
  1250. 2026528 DEBUG ++ '[' '!' -e '' ']'
  1251. 2026528 DEBUG ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.json ']'
  1252. 2026528 DEBUG ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml ']'
  1253. 2026528 DEBUG ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml
  1254. 2026528 DEBUG ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml
  1255. 2026529 DEBUG ++ grep -q '\.json$'
  1256. 2026531 DEBUG ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml
  1257. 2026531 DEBUG ++ jq .requirements.yunohost --raw-output
  1258. 2026532 DEBUG ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
  1259. 2026585 DEBUG + local ynh_requirement=null
  1260. 2026585 DEBUG + dpkg --compare-versions 2.0 ge 2
  1261. 2026587 DEBUG + chmod o-rwx /var/www/jellyseerr/jellyseerr.conf
  1262. 2026588 DEBUG + chmod g-w /var/www/jellyseerr/jellyseerr.conf
  1263. 2026589 DEBUG + chown -R root:root /var/www/jellyseerr/jellyseerr.conf
  1264. 2026590 DEBUG + ynh_system_user_exists jellyseerr
  1265. 2026590 DEBUG + local legacy_args=u
  1266. 2026591 DEBUG + args_array=(['u']='username=')
  1267. 2026591 DEBUG + local -A args_array
  1268. 2026591 DEBUG + local username
  1269. 2026591 DEBUG + ynh_handle_getopts_args jellyseerr
  1270. 2026591 DEBUG + set +o xtrace
  1271. 2026598 DEBUG + echo '! Helper used in legacy mode !'
  1272. 2026598 DEBUG + set +x
  1273. 2026600 DEBUG + getent passwd jellyseerr
  1274. 2026602 DEBUG + chown jellyseerr:jellyseerr /var/www/jellyseerr/jellyseerr.conf
  1275. 2026603 DEBUG + echo /var/www/jellyseerr/jellyseerr.conf
  1276. 2026605 DEBUG + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system'
  1277. 2026607 DEBUG + ynh_replace_vars --file=/var/www/jellyseerr/jellyseerr.conf
  1278. 2026607 DEBUG + local legacy_args=f
  1279. 2026607 DEBUG + args_array=(['f']='file=')
  1280. 2026607 DEBUG + local -A args_array
  1281. 2026608 DEBUG + local file
  1282. 2026608 DEBUG + ynh_handle_getopts_args --file=/var/www/jellyseerr/jellyseerr.conf
  1283. 2026608 DEBUG + set +o xtrace
  1284. 2026617 DEBUG + test -n /
  1285. 2026617 DEBUG + local path_url_slash_less=
  1286. 2026617 DEBUG + ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/var/www/jellyseerr/jellyseerr.conf
  1287. 2026617 DEBUG + local legacy_args=mrf
  1288. 2026618 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
  1289. 2026618 DEBUG + local -A args_array
  1290. 2026618 DEBUG + local match_string
  1291. 2026618 DEBUG + local replace_string
  1292. 2026618 DEBUG + local target_file
  1293. 2026618 DEBUG + ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/ --target_file=/var/www/jellyseerr/jellyseerr.conf
  1294. 2026619 DEBUG + set +o xtrace
  1295. 2026674 DEBUG + set +o xtrace
  1296. 2026674 DEBUG + sed --in-place $'s\001__PATH__/\001/\001g' /var/www/jellyseerr/jellyseerr.conf
  1297. 2026676 DEBUG + ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/var/www/jellyseerr/jellyseerr.conf
  1298. 2026677 DEBUG + local legacy_args=mrf
  1299. 2026677 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
  1300. 2026677 DEBUG + local -A args_array
  1301. 2026677 DEBUG + local match_string
  1302. 2026677 DEBUG + local replace_string
  1303. 2026677 DEBUG + local target_file
  1304. 2026677 DEBUG + ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/ --target_file=/var/www/jellyseerr/jellyseerr.conf
  1305. 2026678 DEBUG + set +o xtrace
  1306. 2026733 DEBUG + set +o xtrace
  1307. 2026733 DEBUG + sed --in-place $'s\001__PATH__\001/\001g' /var/www/jellyseerr/jellyseerr.conf
  1308. 2026736 DEBUG + test -n jellyseerr
  1309. 2026736 DEBUG + ynh_replace_string --match_string=__NAME__ --replace_string=jellyseerr --target_file=/var/www/jellyseerr/jellyseerr.conf
  1310. 2026736 DEBUG + local legacy_args=mrf
  1311. 2026736 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
  1312. 2026736 DEBUG + local -A args_array
  1313. 2026736 DEBUG + local match_string
  1314. 2026736 DEBUG + local replace_string
  1315. 2026737 DEBUG + local target_file
  1316. 2026737 DEBUG + ynh_handle_getopts_args --match_string=__NAME__ --replace_string=jellyseerr --target_file=/var/www/jellyseerr/jellyseerr.conf
  1317. 2026737 DEBUG + set +o xtrace
  1318. 2026794 DEBUG + set +o xtrace
  1319. 2026794 DEBUG + sed --in-place $'s\001__NAME__\001jellyseerr\001g' /var/www/jellyseerr/jellyseerr.conf
  1320. 2026796 DEBUG + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=jellyseerr --target_file=/var/www/jellyseerr/jellyseerr.conf
  1321. 2026796 DEBUG + local legacy_args=mrf
  1322. 2026796 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
  1323. 2026797 DEBUG + local -A args_array
  1324. 2026797 DEBUG + local match_string
  1325. 2026797 DEBUG + local replace_string
  1326. 2026797 DEBUG + local target_file
  1327. 2026797 DEBUG + ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=jellyseerr --target_file=/var/www/jellyseerr/jellyseerr.conf
  1328. 2026797 DEBUG + set +o xtrace
  1329. 2026854 DEBUG + set +o xtrace
  1330. 2026854 DEBUG + sed --in-place $'s\001__NAMETOCHANGE__\001jellyseerr\001g' /var/www/jellyseerr/jellyseerr.conf
  1331. 2026857 DEBUG + ynh_replace_string --match_string=__USER__ --replace_string=jellyseerr --target_file=/var/www/jellyseerr/jellyseerr.conf
  1332. 2026857 DEBUG + local legacy_args=mrf
  1333. 2026857 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
  1334. 2026857 DEBUG + local -A args_array
  1335. 2026857 DEBUG + local match_string
  1336. 2026857 DEBUG + local replace_string
  1337. 2026857 DEBUG + local target_file
  1338. 2026858 DEBUG + ynh_handle_getopts_args --match_string=__USER__ --replace_string=jellyseerr --target_file=/var/www/jellyseerr/jellyseerr.conf
  1339. 2026858 DEBUG + set +o xtrace
  1340. 2026915 DEBUG + set +o xtrace
  1341. 2026915 DEBUG + sed --in-place $'s\001__USER__\001jellyseerr\001g' /var/www/jellyseerr/jellyseerr.conf
  1342. 2026917 DEBUG + test -n ''
  1343. 2026917 DEBUG + dpkg --compare-versions 2.0 lt 2
  1344. 2026919 DEBUG + test -n PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  1345. 2026919 DEBUG + ynh_replace_string --match_string=__YNH_NODE_LOAD_PATH__ --replace_string=PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --target_file=/var/www/jellyseerr/jellyseerr.conf
  1346. 2026919 DEBUG + local legacy_args=mrf
  1347. 2026919 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
  1348. 2026919 DEBUG + local -A args_array
  1349. 2026919 DEBUG + local match_string
  1350. 2026919 DEBUG + local replace_string
  1351. 2026920 DEBUG + local target_file
  1352. 2026920 DEBUG + ynh_handle_getopts_args --match_string=__YNH_NODE_LOAD_PATH__ --replace_string=PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --target_file=/var/www/jellyseerr/jellyseerr.conf
  1353. 2026920 DEBUG + set +o xtrace
  1354. 2026977 DEBUG + set +o xtrace
  1355. 2026977 DEBUG + sed --in-place $'s\001__YNH_NODE_LOAD_PATH__\001PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\001g' /var/www/jellyseerr/jellyseerr.conf
  1356. 2026979 DEBUG ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /var/www/jellyseerr/jellyseerr.conf
  1357. 2026980 DEBUG ++ sed 's@__\([^.]*\)__@\L\1@g'
  1358. 2026981 DEBUG ++ sort --unique
  1359. 2026983 DEBUG + uniques_vars=('port')
  1360. 2026984 DEBUG + local uniques_vars
  1361. 2026984 DEBUG + local delimit=@
  1362. 2026984 DEBUG + for one_var in "${uniques_vars[@]}"
  1363. 2026984 DEBUG + [[ -v port ]]
  1364. 2026984 DEBUG + match_string=__PORT__
  1365. 2026984 DEBUG + match_string=__PORT__
  1366. 2026985 DEBUG + replace_string=5055
  1367. 2026985 DEBUG + replace_string=5055
  1368. 2026985 DEBUG + replace_string=5055
  1369. 2026985 DEBUG + sed --in-place s@__PORT__@5055@g /var/www/jellyseerr/jellyseerr.conf
  1370. 2026986 DEBUG + ynh_store_file_checksum --file=/var/www/jellyseerr/jellyseerr.conf
  1371. 2026986 DEBUG + local legacy_args=f
  1372. 2026986 DEBUG + args_array=(['f']='file=' ['u']='update_only')
  1373. 2026986 DEBUG + local -A args_array
  1374. 2026987 DEBUG + local file
  1375. 2026987 DEBUG + local update_only
  1376. 2026987 DEBUG + update_only=0
  1377. 2026987 DEBUG + ynh_handle_getopts_args --file=/var/www/jellyseerr/jellyseerr.conf
  1378. 2026987 DEBUG + set +o xtrace
  1379. 2027002 DEBUG + local checksum_setting_name=checksum__var_www_jellyseerr_jellyseerr.conf
  1380. 2027002 DEBUG + '[' 0 -eq 1 ']'
  1381. 2027003 DEBUG ++ cut '--delimiter= ' --fields=1
  1382. 2027003 DEBUG ++ md5sum /var/www/jellyseerr/jellyseerr.conf
  1383. 2027006 DEBUG + ynh_app_setting_set --app=jellyseerr --key=checksum__var_www_jellyseerr_jellyseerr.conf --value=9c4064361f387f830413c0603e82cc6f
  1384. 2027006 DEBUG + local _globalapp=jellyseerr
  1385. 2027006 DEBUG + local legacy_args=akv
  1386. 2027006 DEBUG + args_array=(['a']='app=' ['k']='key=' ['v']='value=')
  1387. 2027006 DEBUG + local -A args_array
  1388. 2027007 DEBUG + local app
  1389. 2027007 DEBUG + local key
  1390. 2027007 DEBUG + local value
  1391. 2027007 DEBUG + ynh_handle_getopts_args --app=jellyseerr --key=checksum__var_www_jellyseerr_jellyseerr.conf --value=9c4064361f387f830413c0603e82cc6f
  1392. 2027007 DEBUG + set +o xtrace
  1393. 2027064 DEBUG + app=jellyseerr
  1394. 2027065 DEBUG + [[ checksum__var_www_jellyseerr_jellyseerr.conf =~ (unprotected|protected|skipped)_ ]]
  1395. 2027065 DEBUG + ynh_app_setting set jellyseerr checksum__var_www_jellyseerr_jellyseerr.conf 9c4064361f387f830413c0603e82cc6f
  1396. 2027065 DEBUG + set +o xtrace
  1397. 2027122 DEBUG + '[' 0 -eq 1 ']'
  1398. 2027123 DEBUG + '[' -n '' ']'
  1399. 2027123 DEBUG + unset backup_file_checksum
  1400. 2027123 DEBUG + chmod 600 /var/www/jellyseerr/jellyseerr.conf
  1401. 2027125 DEBUG + chown jellyseerr:jellyseerr /var/www/jellyseerr/jellyseerr.conf
  1402. 2027127 DEBUG + ynh_script_progression '--message=Starting a systemd service...' --weight=1
  1403. 2027127 DEBUG + set +o xtrace
  1404. 2027186 DEBUG + set +o xtrace
  1405. 2027198 DEBUG + echo '! Helper used in legacy mode !'
  1406. 2027198 DEBUG + set +x
  1407. 2027200 INFO [###################.] > Starting a systemd service...
  1408. 2027201 DEBUG + echo '[###################.] > Starting a systemd service...'
  1409. 2027201 DEBUG + set -o xtrace
  1410. 2027201 DEBUG + ynh_exec_warn_less ynh_systemd_action --service_name=jellyseerr --action=start --log_path=/var/log/jellyseerr/jellyseerr.log '--line_match=Starting Overseer version'
  1411. 2027201 DEBUG + [[ 5 -eq 1 ]]
  1412. 2027201 DEBUG + ynh_systemd_action --service_name=jellyseerr --action=start --log_path=/var/log/jellyseerr/jellyseerr.log '--line_match=Starting Overseer version'
  1413. 2027201 DEBUG + local legacy_args=nalpte
  1414. 2027201 DEBUG + args_array=(['n']='service_name=' ['a']='action=' ['l']='line_match=' ['p']='log_path=' ['t']='timeout=' ['e']='length=')
  1415. 2027202 DEBUG + local -A args_array
  1416. 2027202 DEBUG + local service_name
  1417. 2027202 DEBUG + local action
  1418. 2027202 DEBUG + local line_match
  1419. 2027202 DEBUG + local length
  1420. 2027202 DEBUG + local log_path
  1421. 2027202 DEBUG + local timeout
  1422. 2027203 DEBUG + ynh_handle_getopts_args --service_name=jellyseerr --action=start --log_path=/var/log/jellyseerr/jellyseerr.log '--line_match=Starting Overseer version'
  1423. 2027203 DEBUG + set +o xtrace
  1424. 2027344 DEBUG + service_name=jellyseerr
  1425. 2027345 DEBUG + action=start
  1426. 2027345 DEBUG + line_match='Starting Overseer version'
  1427. 2027345 DEBUG + length=20
  1428. 2027345 DEBUG + log_path=/var/log/jellyseerr/jellyseerr.log
  1429. 2027345 DEBUG + timeout=300
  1430. 2027345 DEBUG + '[' start == stop ']'
  1431. 2027345 DEBUG + [[ -n Starting Overseer version ]]
  1432. 2027346 DEBUG ++ mktemp
  1433. 2027381 DEBUG + local templog=/tmp/tmp.8GjqGgph5L
  1434. 2027382 DEBUG + '[' /var/log/jellyseerr/jellyseerr.log == systemd ']'
  1435. 2027382 DEBUG + local pid_tail=3419536
  1436. 2027382 DEBUG + '[' start == reload ']'
  1437. 2027383 DEBUG + tail --follow=name --retry --lines=0 /var/log/jellyseerr/jellyseerr.log
  1438. 2027383 DEBUG ++ cut -d+ -f1
  1439. 2027384 DEBUG ++ date --utc --rfc-3339=seconds
  1440. 2027385 DEBUG + local 'time_start=2023-09-07 08:51:22 UTC'
  1441. 2027386 DEBUG + systemctl start jellyseerr
  1442. 2027398 DEBUG + [[ -n Starting Overseer version ]]
  1443. 2027398 DEBUG + set +x
  1444. 2056730 DEBUG (this may take some time)
  1445. 2328656 DEBUG + '[' 300 -ge 3 ']'
  1446. 2328656 DEBUG + echo ''
  1447. 2328656 DEBUG
  1448. 2328657 DEBUG + '[' 300 -eq 300 ']'
  1449. 2328657 DEBUG + ynh_print_warn '--message=The service jellyseerr didn'\''t fully executed the action start before the timeout.'
  1450. 2328657 DEBUG + local legacy_args=m
  1451. 2328658 DEBUG + args_array=(['m']='message=')
  1452. 2328658 DEBUG + local -A args_array
  1453. 2328658 DEBUG + local message
  1454. 2328658 DEBUG + ynh_handle_getopts_args '--message=The service jellyseerr didn'\''t fully executed the action start before the timeout.'
  1455. 2328658 DEBUG + set +o xtrace
  1456. 2328670 DEBUG + ynh_print_log 'The service jellyseerr didn'\''t fully executed the action start before the timeout.'
  1457. 2328670 DEBUG + echo -e 'The service jellyseerr didn'\''t fully executed the action start before the timeout.'
  1458. 2328670 DEBUG The service jellyseerr didn't fully executed the action start before the timeout.
  1459. 2328671 DEBUG + ynh_print_warn '--message=Please find here an extract of the end of the log of the service jellyseerr:'
  1460. 2328671 DEBUG + local legacy_args=m
  1461. 2328671 DEBUG + args_array=(['m']='message=')
  1462. 2328671 DEBUG + local -A args_array
  1463. 2328672 DEBUG + local message
  1464. 2328672 DEBUG + ynh_handle_getopts_args '--message=Please find here an extract of the end of the log of the service jellyseerr:'
  1465. 2328672 DEBUG + set +o xtrace
  1466. 2328682 DEBUG + ynh_print_log 'Please find here an extract of the end of the log of the service jellyseerr:'
  1467. 2328682 DEBUG + echo -e 'Please find here an extract of the end of the log of the service jellyseerr:'
  1468. 2328683 DEBUG Please find here an extract of the end of the log of the service jellyseerr:
  1469. 2328683 DEBUG + ynh_exec_warn journalctl --quiet --no-hostname --no-pager --lines=20 --unit=jellyseerr
  1470. 2328683 DEBUG + [[ 6 -eq 1 ]]
  1471. 2328683 DEBUG ++ journalctl --quiet --no-hostname --no-pager --lines=20 --unit=jellyseerr
  1472. 2336534 DEBUG + ynh_print_warn '--message=août 10 22:18:50 systemd[1]: jellyseerr.service: Succeeded.
  1473. 2336535 DEBUG août 10 22:18:50 systemd[1]: Stopped Jellyseer Service.
  1474. 2336535 DEBUG août 10 22:18:50 systemd[1]: jellyseerr.service: Consumed 8min 25.384s CPU time.
  1475. 2336535 DEBUG août 10 22:33:00 systemd[1]: Started Jellyseer Service.
  1476. 2336535 DEBUG août 19 19:16:35 systemd[1]: Started Jellyseer Service.
  1477. 2336535 DEBUG août 24 19:17:23 systemd[1]: Stopping Jellyseer Service...
  1478. 2336535 DEBUG août 24 19:17:24 systemd[1]: jellyseerr.service: Succeeded.
  1479. 2336535 DEBUG août 24 19:17:24 systemd[1]: Stopped Jellyseer Service.
  1480. 2336536 DEBUG août 24 19:17:24 systemd[1]: jellyseerr.service: Consumed 18min 28.289s CPU time.
  1481. 2336536 DEBUG août 24 19:20:16 systemd[1]: Started Jellyseer Service.
  1482. 2336536 DEBUG août 24 19:42:20 systemd[1]: Stopping Jellyseer Service...
  1483. 2336536 DEBUG août 24 19:42:20 systemd[1]: jellyseerr.service: Succeeded.
  1484. 2336536 DEBUG août 24 19:42:20 systemd[1]: Stopped Jellyseer Service.
  1485. 2336537 DEBUG août 24 19:42:20 systemd[1]: jellyseerr.service: Consumed 10.999s CPU time.
  1486. 2336537 DEBUG août 24 20:00:11 systemd[1]: Started Jellyseer Service.
  1487. 2336537 DEBUG sept. 07 10:29:45 systemd[1]: Stopping Jellyseer Service...
  1488. 2336537 DEBUG sept. 07 10:29:45 systemd[1]: jellyseerr.service: Succeeded.
  1489. 2336537 DEBUG sept. 07 10:29:45 systemd[1]: Stopped Jellyseer Service.
  1490. 2336538 DEBUG sept. 07 10:29:45 systemd[1]: jellyseerr.service: Consumed 53min 34.103s CPU time.
  1491. 2336538 DEBUG sept. 07 10:51:22 systemd[1]: Started Jellyseer Service.'
  1492. 2336538 DEBUG + local legacy_args=m
  1493. 2336538 DEBUG + args_array=(['m']='message=')
  1494. 2336539 DEBUG + local -A args_array
  1495. 2336539 DEBUG + local message
  1496. 2336539 DEBUG + ynh_handle_getopts_args '--message=août 10 22:18:50 systemd[1]: jellyseerr.service: Succeeded.
  1497. 2336540 DEBUG août 10 22:18:50 systemd[1]: Stopped Jellyseer Service.
  1498. 2336540 DEBUG août 10 22:18:50 systemd[1]: jellyseerr.service: Consumed 8min 25.384s CPU time.
  1499. 2336540 DEBUG août 10 22:33:00 systemd[1]: Started Jellyseer Service.
  1500. 2336540 DEBUG août 19 19:16:35 systemd[1]: Started Jellyseer Service.
  1501. 2336541 DEBUG août 24 19:17:23 systemd[1]: Stopping Jellyseer Service...
  1502. 2336541 DEBUG août 24 19:17:24 systemd[1]: jellyseerr.service: Succeeded.
  1503. 2336542 DEBUG août 24 19:17:24 systemd[1]: Stopped Jellyseer Service.
  1504. 2336542 DEBUG août 24 19:17:24 systemd[1]: jellyseerr.service: Consumed 18min 28.289s CPU time.
  1505. 2336542 DEBUG août 24 19:20:16 systemd[1]: Started Jellyseer Service.
  1506. 2336542 DEBUG août 24 19:42:20 systemd[1]: Stopping Jellyseer Service...
  1507. 2336542 DEBUG août 24 19:42:20 systemd[1]: jellyseerr.service: Succeeded.
  1508. 2336543 DEBUG août 24 19:42:20 systemd[1]: Stopped Jellyseer Service.
  1509. 2336543 DEBUG août 24 19:42:20 systemd[1]: jellyseerr.service: Consumed 10.999s CPU time.
  1510. 2336543 DEBUG août 24 20:00:11 systemd[1]: Started Jellyseer Service.
  1511. 2336543 DEBUG sept. 07 10:29:45 systemd[1]: Stopping Jellyseer Service...
  1512. 2336544 DEBUG sept. 07 10:29:45 systemd[1]: jellyseerr.service: Succeeded.
  1513. 2336544 DEBUG sept. 07 10:29:45 systemd[1]: Stopped Jellyseer Service.
  1514. 2336544 DEBUG sept. 07 10:29:45 systemd[1]: jellyseerr.service: Consumed 53min 34.103s CPU time.
  1515. 2336544 DEBUG sept. 07 10:51:22 systemd[1]: Started Jellyseer Service.'
  1516. 2336545 DEBUG + set +o xtrace
  1517. 2336555 DEBUG + ynh_print_log 'août 10 22:18:50 systemd[1]: jellyseerr.service: Succeeded.
  1518. 2336555 DEBUG août 10 22:18:50 systemd[1]: Stopped Jellyseer Service.
  1519. 2336555 DEBUG août 10 22:18:50 systemd[1]: jellyseerr.service: Consumed 8min 25.384s CPU time.
  1520. 2336555 DEBUG août 10 22:33:00 systemd[1]: Started Jellyseer Service.
  1521. 2336555 DEBUG août 19 19:16:35 systemd[1]: Started Jellyseer Service.
  1522. 2336555 DEBUG août 24 19:17:23 systemd[1]: Stopping Jellyseer Service...
  1523. 2336556 DEBUG août 24 19:17:24 systemd[1]: jellyseerr.service: Succeeded.
  1524. 2336556 DEBUG août 24 19:17:24 systemd[1]: Stopped Jellyseer Service.
  1525. 2336556 DEBUG août 24 19:17:24 systemd[1]: jellyseerr.service: Consumed 18min 28.289s CPU time.
  1526. 2336556 DEBUG août 24 19:20:16 systemd[1]: Started Jellyseer Service.
  1527. 2336556 DEBUG août 24 19:42:20 systemd[1]: Stopping Jellyseer Service...
  1528. 2336556 DEBUG août 24 19:42:20 systemd[1]: jellyseerr.service: Succeeded.
  1529. 2336556 DEBUG août 24 19:42:20 systemd[1]: Stopped Jellyseer Service.
  1530. 2336557 DEBUG août 24 19:42:20 systemd[1]: jellyseerr.service: Consumed 10.999s CPU time.
  1531. 2336557 DEBUG août 24 20:00:11 systemd[1]: Started Jellyseer Service.
  1532. 2336557 DEBUG sept. 07 10:29:45 systemd[1]: Stopping Jellyseer Service...
  1533. 2336557 DEBUG sept. 07 10:29:45 systemd[1]: jellyseerr.service: Succeeded.
  1534. 2336557 DEBUG sept. 07 10:29:45 systemd[1]: Stopped Jellyseer Service.
  1535. 2336557 DEBUG sept. 07 10:29:45 systemd[1]: jellyseerr.service: Consumed 53min 34.103s CPU time.
  1536. 2336557 DEBUG sept. 07 10:51:22 systemd[1]: Started Jellyseer Service.'
  1537. 2336558 DEBUG + echo -e 'août 10 22:18:50 systemd[1]: jellyseerr.service: Succeeded.
  1538. 2336558 DEBUG août 10 22:18:50 systemd[1]: Stopped Jellyseer Service.
  1539. 2336558 DEBUG août 10 22:18:50 systemd[1]: jellyseerr.service: Consumed 8min 25.384s CPU time.
  1540. 2336558 DEBUG août 10 22:33:00 systemd[1]: Started Jellyseer Service.
  1541. 2336558 DEBUG août 19 19:16:35 systemd[1]: Started Jellyseer Service.
  1542. 2336558 DEBUG août 24 19:17:23 systemd[1]: Stopping Jellyseer Service...
  1543. 2336558 DEBUG août 24 19:17:24 systemd[1]: jellyseerr.service: Succeeded.
  1544. 2336559 DEBUG août 24 19:17:24 systemd[1]: Stopped Jellyseer Service.
  1545. 2336559 DEBUG août 24 19:17:24 systemd[1]: jellyseerr.service: Consumed 18min 28.289s CPU time.
  1546. 2336559 DEBUG août 24 19:20:16 systemd[1]: Started Jellyseer Service.
  1547. 2336559 DEBUG août 24 19:42:20 systemd[1]: Stopping Jellyseer Service...
  1548. 2336560 DEBUG août 24 19:42:20 systemd[1]: jellyseerr.service: Succeeded.
  1549. 2336562 DEBUG août 24 19:42:20 systemd[1]: Stopped Jellyseer Service.
  1550. 2336562 DEBUG août 24 19:42:20 systemd[1]: jellyseerr.service: Consumed 10.999s CPU time.
  1551. 2336562 DEBUG août 24 20:00:11 systemd[1]: Started Jellyseer Service.
  1552. 2336563 DEBUG sept. 07 10:29:45 systemd[1]: Stopping Jellyseer Service...
  1553. 2336564 DEBUG sept. 07 10:29:45 systemd[1]: jellyseerr.service: Succeeded.
  1554. 2336564 DEBUG sept. 07 10:29:45 systemd[1]: Stopped Jellyseer Service.
  1555. 2336564 DEBUG sept. 07 10:29:45 systemd[1]: jellyseerr.service: Consumed 53min 34.103s CPU time.
  1556. 2336564 DEBUG sept. 07 10:51:22 systemd[1]: Started Jellyseer Service.'
  1557. 2336565 DEBUG août 10 22:18:50 systemd[1]: jellyseerr.service: Succeeded.
  1558. 2336565 DEBUG août 10 22:18:50 systemd[1]: Stopped Jellyseer Service.
  1559. 2336565 DEBUG août 10 22:18:50 systemd[1]: jellyseerr.service: Consumed 8min 25.384s CPU time.
  1560. 2336565 DEBUG août 10 22:33:00 systemd[1]: Started Jellyseer Service.
  1561. 2336566 DEBUG août 19 19:16:35 systemd[1]: Started Jellyseer Service.
  1562. 2336566 DEBUG août 24 19:17:23 systemd[1]: Stopping Jellyseer Service...
  1563. 2336566 DEBUG août 24 19:17:24 systemd[1]: jellyseerr.service: Succeeded.
  1564. 2336566 DEBUG août 24 19:17:24 systemd[1]: Stopped Jellyseer Service.
  1565. 2336567 DEBUG août 24 19:17:24 systemd[1]: jellyseerr.service: Consumed 18min 28.289s CPU time.
  1566. 2336567 DEBUG août 24 19:20:16 systemd[1]: Started Jellyseer Service.
  1567. 2336567 DEBUG août 24 19:42:20 systemd[1]: Stopping Jellyseer Service...
  1568. 2336567 DEBUG août 24 19:42:20 systemd[1]: jellyseerr.service: Succeeded.
  1569. 2336567 DEBUG août 24 19:42:20 systemd[1]: Stopped Jellyseer Service.
  1570. 2336568 DEBUG août 24 19:42:20 systemd[1]: jellyseerr.service: Consumed 10.999s CPU time.
  1571. 2336568 DEBUG août 24 20:00:11 systemd[1]: Started Jellyseer Service.
  1572. 2336570 DEBUG sept. 07 10:29:45 systemd[1]: Stopping Jellyseer Service...
  1573. 2336570 DEBUG sept. 07 10:29:45 systemd[1]: jellyseerr.service: Succeeded.
  1574. 2336570 DEBUG sept. 07 10:29:45 systemd[1]: Stopped Jellyseer Service.
  1575. 2336570 DEBUG sept. 07 10:29:45 systemd[1]: jellyseerr.service: Consumed 53min 34.103s CPU time.
  1576. 2336571 DEBUG sept. 07 10:51:22 systemd[1]: Started Jellyseer Service.
  1577. 2336571 DEBUG + '[' -e /var/log/jellyseerr/jellyseerr.log ']'
  1578. 2336571 DEBUG + ynh_print_warn '--message=\-\-\-'
  1579. 2336571 DEBUG + local legacy_args=m
  1580. 2336572 DEBUG + args_array=(['m']='message=')
  1581. 2336572 DEBUG + local -A args_array
  1582. 2336573 DEBUG + local message
  1583. 2336574 DEBUG + ynh_handle_getopts_args '--message=\-\-\-'
  1584. 2336574 DEBUG + set +o xtrace
  1585. 2336577 DEBUG + ynh_print_log '\-\-\-'
  1586. 2336577 DEBUG + echo -e '\-\-\-'
  1587. 2336577 DEBUG \-\-\-
  1588. 2336578 DEBUG + ynh_exec_warn tail --lines=20 /var/log/jellyseerr/jellyseerr.log
  1589. 2336578 DEBUG + [[ 3 -eq 1 ]]
  1590. 2336578 DEBUG ++ tail --lines=20 /var/log/jellyseerr/jellyseerr.log
  1591. 2336580 DEBUG + ynh_print_warn '--message=2023-09-07T08:55:01.037Z [debug][Jellyfin Sync]: Title already exists and no new media types found Punch-Drunk Love
  1592. 2336580 DEBUG 2023-09-07T08:55:01.038Z [debug][Jellyfin Sync]: Title already exists and no new media types found Asteroid City
  1593. 2336580 DEBUG 2023-09-07T08:55:01.121Z [debug][Jellyfin Sync]: Title already exists and no new media types found Death and the Maiden
  1594. 2336580 DEBUG 2023-09-07T08:55:01.123Z [debug][Jellyfin Sync]: Title already exists and no new media types found Transformers: The Last Knight
  1595. 2336581 DEBUG 2023-09-07T08:55:01.189Z [debug][Jellyfin Sync]: Title already exists and no new media types found Polytechnique
  1596. 2336581 DEBUG 2023-09-07T08:55:01.221Z [debug][Jellyfin Sync]: Title already exists and no new media types found Maelstrom
  1597. 2336581 DEBUG 2023-09-07T08:55:01.296Z [debug][Jellyfin Sync]: Title already exists and no new media types found The Flash
  1598. 2336581 DEBUG 2023-09-07T08:55:01.297Z [debug][Jellyfin Sync]: Title already exists and no new media types found Disco Boy
  1599. 2336581 DEBUG 2023-09-07T08:55:05.302Z [info][Jellyfin Sync]: Beginning to process recently added for library: SÉRIES
  1600. 2336581 DEBUG 2023-09-07T08:55:05.889Z [debug][Jellyfin Sync]: Updating existing title: Cyberpunk: Edgerunners
  1601. 2336581 DEBUG 2023-09-07T08:55:05.910Z [debug][Jellyfin Sync]: Updating existing title: Who Is America?
  1602. 2336582 DEBUG 2023-09-07T08:55:06.098Z [debug][Jellyfin Sync]: Updating existing title: Cunk on...
  1603. 2336582 DEBUG 2023-09-07T08:55:06.191Z [debug][Jellyfin Sync]: Updating existing title: Baraki
  1604. 2336582 DEBUG 2023-09-07T08:55:06.309Z [debug][Jellyfin Sync]: Updating existing title: Call My Agent!
  1605. 2336582 DEBUG 2023-09-07T08:55:06.311Z [debug][Jellyfin Sync]: Updating existing title: The Man in the High Castle
  1606. 2336582 DEBUG 2023-09-07T08:55:06.312Z [debug][Jellyfin Sync]: Updating existing title: Black Mirror
  1607. 2336582 DEBUG 2023-09-07T08:55:06.340Z [debug][Jellyfin Sync]: Updating existing title: The Eric Andre Show
  1608. 2336582 DEBUG 2023-09-07T08:55:06.585Z [debug][Jellyfin Sync]: Updating existing title: Robot Chicken
  1609. 2336583 DEBUG 2023-09-07T08:55:10.589Z [info][Jellyfin Sync]: Recently Added Scan Complete
  1610. 2336583 DEBUG 2023-09-07T08:56:00.025Z [debug][Jobs]: Starting scheduled job: Download Sync '
  1611. 2336583 DEBUG + local legacy_args=m
  1612. 2336583 DEBUG + args_array=(['m']='message=')
  1613. 2336583 DEBUG + local -A args_array
  1614. 2336583 DEBUG + local message
  1615. 2336584 DEBUG + ynh_handle_getopts_args '--message=2023-09-07T08:55:01.037Z [debug][Jellyfin Sync]: Title already exists and no new media types found Punch-Drunk Love
  1616. 2336584 DEBUG 2023-09-07T08:55:01.038Z [debug][Jellyfin Sync]: Title already exists and no new media types found Asteroid City
  1617. 2336584 DEBUG 2023-09-07T08:55:01.121Z [debug][Jellyfin Sync]: Title already exists and no new media types found Death and the Maiden
  1618. 2336584 DEBUG 2023-09-07T08:55:01.123Z [debug][Jellyfin Sync]: Title already exists and no new media types found Transformers: The Last Knight
  1619. 2336584 DEBUG 2023-09-07T08:55:01.189Z [debug][Jellyfin Sync]: Title already exists and no new media types found Polytechnique
  1620. 2336584 DEBUG 2023-09-07T08:55:01.221Z [debug][Jellyfin Sync]: Title already exists and no new media types found Maelstrom
  1621. 2336585 DEBUG 2023-09-07T08:55:01.296Z [debug][Jellyfin Sync]: Title already exists and no new media types found The Flash
  1622. 2336585 DEBUG 2023-09-07T08:55:01.297Z [debug][Jellyfin Sync]: Title already exists and no new media types found Disco Boy
  1623. 2336585 DEBUG 2023-09-07T08:55:05.302Z [info][Jellyfin Sync]: Beginning to process recently added for library: SÉRIES
  1624. 2336585 DEBUG 2023-09-07T08:55:05.889Z [debug][Jellyfin Sync]: Updating existing title: Cyberpunk: Edgerunners
  1625. 2336585 DEBUG 2023-09-07T08:55:05.910Z [debug][Jellyfin Sync]: Updating existing title: Who Is America?
  1626. 2336585 DEBUG 2023-09-07T08:55:06.098Z [debug][Jellyfin Sync]: Updating existing title: Cunk on...
  1627. 2336585 DEBUG 2023-09-07T08:55:06.191Z [debug][Jellyfin Sync]: Updating existing title: Baraki
  1628. 2336586 DEBUG 2023-09-07T08:55:06.309Z [debug][Jellyfin Sync]: Updating existing title: Call My Agent!
  1629. 2336586 DEBUG 2023-09-07T08:55:06.311Z [debug][Jellyfin Sync]: Updating existing title: The Man in the High Castle
  1630. 2336586 DEBUG 2023-09-07T08:55:06.312Z [debug][Jellyfin Sync]: Updating existing title: Black Mirror
  1631. 2336586 DEBUG 2023-09-07T08:55:06.340Z [debug][Jellyfin Sync]: Updating existing title: The Eric Andre Show
  1632. 2336586 DEBUG 2023-09-07T08:55:06.585Z [debug][Jellyfin Sync]: Updating existing title: Robot Chicken
  1633. 2336586 DEBUG 2023-09-07T08:55:10.589Z [info][Jellyfin Sync]: Recently Added Scan Complete
  1634. 2336586 DEBUG 2023-09-07T08:56:00.025Z [debug][Jobs]: Starting scheduled job: Download Sync '
  1635. 2336587 DEBUG + set +o xtrace
  1636. 2336596 DEBUG + ynh_print_log '2023-09-07T08:55:01.037Z [debug][Jellyfin Sync]: Title already exists and no new media types found Punch-Drunk Love
  1637. 2336596 DEBUG 2023-09-07T08:55:01.038Z [debug][Jellyfin Sync]: Title already exists and no new media types found Asteroid City
  1638. 2336597 DEBUG 2023-09-07T08:55:01.121Z [debug][Jellyfin Sync]: Title already exists and no new media types found Death and the Maiden
  1639. 2336597 DEBUG 2023-09-07T08:55:01.123Z [debug][Jellyfin Sync]: Title already exists and no new media types found Transformers: The Last Knight
  1640. 2336597 DEBUG 2023-09-07T08:55:01.189Z [debug][Jellyfin Sync]: Title already exists and no new media types found Polytechnique
  1641. 2336597 DEBUG 2023-09-07T08:55:01.221Z [debug][Jellyfin Sync]: Title already exists and no new media types found Maelstrom
  1642. 2336597 DEBUG 2023-09-07T08:55:01.296Z [debug][Jellyfin Sync]: Title already exists and no new media types found The Flash
  1643. 2336597 DEBUG 2023-09-07T08:55:01.297Z [debug][Jellyfin Sync]: Title already exists and no new media types found Disco Boy
  1644. 2336598 DEBUG 2023-09-07T08:55:05.302Z [info][Jellyfin Sync]: Beginning to process recently added for library: SÉRIES
  1645. 2336598 DEBUG 2023-09-07T08:55:05.889Z [debug][Jellyfin Sync]: Updating existing title: Cyberpunk: Edgerunners
  1646. 2336598 DEBUG 2023-09-07T08:55:05.910Z [debug][Jellyfin Sync]: Updating existing title: Who Is America?
  1647. 2336598 DEBUG 2023-09-07T08:55:06.098Z [debug][Jellyfin Sync]: Updating existing title: Cunk on...
  1648. 2336598 DEBUG 2023-09-07T08:55:06.191Z [debug][Jellyfin Sync]: Updating existing title: Baraki
  1649. 2336598 DEBUG 2023-09-07T08:55:06.309Z [debug][Jellyfin Sync]: Updating existing title: Call My Agent!
  1650. 2336598 DEBUG 2023-09-07T08:55:06.311Z [debug][Jellyfin Sync]: Updating existing title: The Man in the High Castle
  1651. 2336599 DEBUG 2023-09-07T08:55:06.312Z [debug][Jellyfin Sync]: Updating existing title: Black Mirror
  1652. 2336599 DEBUG 2023-09-07T08:55:06.340Z [debug][Jellyfin Sync]: Updating existing title: The Eric Andre Show
  1653. 2336599 DEBUG 2023-09-07T08:55:06.585Z [debug][Jellyfin Sync]: Updating existing title: Robot Chicken
  1654. 2336599 DEBUG 2023-09-07T08:55:10.589Z [info][Jellyfin Sync]: Recently Added Scan Complete
  1655. 2336599 DEBUG 2023-09-07T08:56:00.025Z [debug][Jobs]: Starting scheduled job: Download Sync '
  1656. 2336599 DEBUG + echo -e '2023-09-07T08:55:01.037Z [debug][Jellyfin Sync]: Title already exists and no new media types found Punch-Drunk Love
  1657. 2336599 DEBUG 2023-09-07T08:55:01.038Z [debug][Jellyfin Sync]: Title already exists and no new media types found Asteroid City
  1658. 2336600 DEBUG 2023-09-07T08:55:01.121Z [debug][Jellyfin Sync]: Title already exists and no new media types found Death and the Maiden
  1659. 2336600 DEBUG 2023-09-07T08:55:01.123Z [debug][Jellyfin Sync]: Title already exists and no new media types found Transformers: The Last Knight
  1660. 2336600 DEBUG 2023-09-07T08:55:01.189Z [debug][Jellyfin Sync]: Title already exists and no new media types found Polytechnique
  1661. 2336600 DEBUG 2023-09-07T08:55:01.221Z [debug][Jellyfin Sync]: Title already exists and no new media types found Maelstrom
  1662. 2336600 DEBUG 2023-09-07T08:55:01.296Z [debug][Jellyfin Sync]: Title already exists and no new media types found The Flash
  1663. 2336600 DEBUG 2023-09-07T08:55:01.297Z [debug][Jellyfin Sync]: Title already exists and no new media types found Disco Boy
  1664. 2336601 DEBUG 2023-09-07T08:55:05.302Z [info][Jellyfin Sync]: Beginning to process recently added for library: SÉRIES
  1665. 2336601 DEBUG 2023-09-07T08:55:05.889Z [debug][Jellyfin Sync]: Updating existing title: Cyberpunk: Edgerunners
  1666. 2336601 DEBUG 2023-09-07T08:55:05.910Z [debug][Jellyfin Sync]: Updating existing title: Who Is America?
  1667. 2336601 DEBUG 2023-09-07T08:55:06.098Z [debug][Jellyfin Sync]: Updating existing title: Cunk on...
  1668. 2336601 DEBUG 2023-09-07T08:55:06.191Z [debug][Jellyfin Sync]: Updating existing title: Baraki
  1669. 2336601 DEBUG 2023-09-07T08:55:06.309Z [debug][Jellyfin Sync]: Updating existing title: Call My Agent!
  1670. 2336601 DEBUG 2023-09-07T08:55:06.311Z [debug][Jellyfin Sync]: Updating existing title: The Man in the High Castle
  1671. 2336602 DEBUG 2023-09-07T08:55:06.312Z [debug][Jellyfin Sync]: Updating existing title: Black Mirror
  1672. 2336602 DEBUG 2023-09-07T08:55:06.340Z [debug][Jellyfin Sync]: Updating existing title: The Eric Andre Show
  1673. 2336602 DEBUG 2023-09-07T08:55:06.585Z [debug][Jellyfin Sync]: Updating existing title: Robot Chicken
  1674. 2336602 DEBUG 2023-09-07T08:55:10.589Z [info][Jellyfin Sync]: Recently Added Scan Complete
  1675. 2336602 DEBUG 2023-09-07T08:56:00.025Z [debug][Jobs]: Starting scheduled job: Download Sync '
  1676. 2336602 DEBUG 2023-09-07T08:55:01.037Z [debug][Jellyfin Sync]: Title already exists and no new media types found Punch-Drunk Love
  1677. 2336602 DEBUG 2023-09-07T08:55:01.038Z [debug][Jellyfin Sync]: Title already exists and no new media types found Asteroid City
  1678. 2336603 DEBUG 2023-09-07T08:55:01.121Z [debug][Jellyfin Sync]: Title already exists and no new media types found Death and the Maiden
  1679. 2336603 DEBUG 2023-09-07T08:55:01.123Z [debug][Jellyfin Sync]: Title already exists and no new media types found Transformers: The Last Knight
  1680. 2336603 DEBUG 2023-09-07T08:55:01.189Z [debug][Jellyfin Sync]: Title already exists and no new media types found Polytechnique
  1681. 2336603 DEBUG 2023-09-07T08:55:01.221Z [debug][Jellyfin Sync]: Title already exists and no new media types found Maelstrom
  1682. 2336604 DEBUG 2023-09-07T08:55:01.296Z [debug][Jellyfin Sync]: Title already exists and no new media types found The Flash
  1683. 2336604 DEBUG 2023-09-07T08:55:01.297Z [debug][Jellyfin Sync]: Title already exists and no new media types found Disco Boy
  1684. 2336604 DEBUG 2023-09-07T08:55:05.302Z [info][Jellyfin Sync]: Beginning to process recently added for library: SÉRIES
  1685. 2336604 DEBUG 2023-09-07T08:55:05.889Z [debug][Jellyfin Sync]: Updating existing title: Cyberpunk: Edgerunners
  1686. 2336604 DEBUG 2023-09-07T08:55:05.910Z [debug][Jellyfin Sync]: Updating existing title: Who Is America?
  1687. 2336604 DEBUG 2023-09-07T08:55:06.098Z [debug][Jellyfin Sync]: Updating existing title: Cunk on...
  1688. 2336605 DEBUG 2023-09-07T08:55:06.191Z [debug][Jellyfin Sync]: Updating existing title: Baraki
  1689. 2336605 DEBUG 2023-09-07T08:55:06.309Z [debug][Jellyfin Sync]: Updating existing title: Call My Agent!
  1690. 2336605 DEBUG 2023-09-07T08:55:06.311Z [debug][Jellyfin Sync]: Updating existing title: The Man in the High Castle
  1691. 2336605 DEBUG 2023-09-07T08:55:06.312Z [debug][Jellyfin Sync]: Updating existing title: Black Mirror
  1692. 2336605 DEBUG 2023-09-07T08:55:06.340Z [debug][Jellyfin Sync]: Updating existing title: The Eric Andre Show
  1693. 2336605 DEBUG 2023-09-07T08:55:06.585Z [debug][Jellyfin Sync]: Updating existing title: Robot Chicken
  1694. 2336605 DEBUG 2023-09-07T08:55:10.589Z [info][Jellyfin Sync]: Recently Added Scan Complete
  1695. 2336606 DEBUG 2023-09-07T08:56:00.025Z [debug][Jobs]: Starting scheduled job: Download Sync
  1696. 2336606 DEBUG + ynh_clean_check_starting
  1697. 2336606 DEBUG + '[' -n 3419536 ']'
  1698. 2336606 DEBUG + kill -SIGTERM 3419536
  1699. 2336606 DEBUG + '[' -n /tmp/tmp.8GjqGgph5L ']'
  1700. 2336606 DEBUG + ynh_secure_remove --file=/tmp/tmp.8GjqGgph5L
  1701. 2336606 DEBUG + local legacy_args=f
  1702. 2336606 DEBUG + args_array=(['f']='file=')
  1703. 2336607 DEBUG + local -A args_array
  1704. 2336607 DEBUG + local file
  1705. 2336607 DEBUG + ynh_handle_getopts_args --file=/tmp/tmp.8GjqGgph5L
  1706. 2336610 DEBUG + set +o xtrace
  1707. 2336621 DEBUG + set +o xtrace
  1708. 2336877 DEBUG + ynh_script_progression '--message=Upgrade of jellyseerr completed' --last
  1709. 2336877 DEBUG + set +o xtrace
  1710. 2336945 DEBUG + set +o xtrace
  1711. 2336960 DEBUG + echo '! Helper used in legacy mode !'
  1712. 2336960 DEBUG + set +x
  1713. 2336962 DEBUG + echo '[####################] > Upgrade of jellyseerr completed'
  1714. 2336962 INFO [####################] > Upgrade of jellyseerr completed
  1715. 2336963 DEBUG + set -o xtrace
  1716. 2336963 DEBUG + ynh_exit_properly
  1717. 2336963 DEBUG + local exit_code=0
  1718. 2336963 DEBUG + [[ upgrade =~ ^install$|^upgrade$|^restore$ ]]
  1719. 2336963 DEBUG + rm -rf /var/cache/yunohost/download/
  1720. 2336975 DEBUG + '[' 0 -eq 0 ']'
  1721. 2336975 DEBUG + exit 0
  1722. 2337999 DEBUG Checking that required services are up and running...
  1723. 2348982 SUCCESS jellyseerr mis à jour
  1724. 2349060 DEBUG Pour voir le journal de cette opération 'Mettre à jour l'application 'jellyseerr'', utilisez la commande 'yunohost log show 20230907-082721-app_upgrade-jellyseerr'
  1725. 2350410 DEBUG The permission database has been resynchronized
  1726. 2351579 DEBUG La configuration de SSOwat a été regénérée
  1727. 2351616 SUCCESS Mise à jour terminée
  1728. 2351623 DEBUG action [3409676.1] executed in 2351.459s
  1729. 2351623 DEBUG lock has been released
  1730. 122 DEBUG initializing base actions map parser for cli
  1731. 123 DEBUG loading actions map
  1732. 125 DEBUG building parser...
  1733. 140 DEBUG building parser took 0.015s
  1734. 141 DEBUG acquiring lock...
  1735. 152 DEBUG lock has been acquired
  1736. 163 DEBUG loading python module yunohost.app took 0.011s
  1737. 163 DEBUG processing action [3409676.1]: yunohost.app.upgrade with args={'app': ['jellyseerr'], 'url': 'https://github.com/YunoHost-Apps/jellyseerr_ynh/tree/fi x-upgrade', 'file': None, 'force': False, 'no_safety_backup': False, 'continue_o n_failure': False}
  1738. 351 INFO Mise à jour de jellyseerr...
  1739. 397 DEBUG initializing ldap interface
  1740. 456 DEBUG Checking default branch
  1741. 4066 DEBUG Téléchargement en cours...
  1742. 12274 DEBUG Terminé
  1743. 142408 DEBUG Vérification des prérequis pour jellyseerr ...
  1744. 142427 INFO Creating a safety backup prior to the upgrade
  1745. 142539 INFO Collecte des fichiers devant être sauvegardés pour jellyseerr...
  1746. 142635 DEBUG Executing command '['sh', '-c', '/bin/bash -x "/var/cache/yunohost/app_tmp_work_dirs/app_5zfef994/scripts/backup" 7>&1']'
  1747. 142641 DEBUG + source ../settings/scripts/_common.sh
  1748. 142642 DEBUG ++ nodejs_version=18
  1749. 142642 DEBUG + source /usr/share/yunohost/helpers
  1750. 142657 DEBUG +++ set +o
  1751. 142657 DEBUG +++ grep xtrace
  1752. 142659 DEBUG ++ readonly 'XTRACE_ENABLE=set -o xtrace'
  1753. 142659 DEBUG ++ XTRACE_ENABLE='set -o xtrace'
  1754. 142659 DEBUG ++ set +x
  1755. 142709 DEBUG + ynh_print_info '--message=Declaring files to be backed up...'
  1756. 142709 DEBUG + local legacy_args=m
  1757. 142710 DEBUG + args_array=(['m']='message=')
  1758. 142710 DEBUG + local -A args_array
  1759. 142710 DEBUG + local message
  1760. 142710 DEBUG + ynh_handle_getopts_args '--message=Declaring files to be backed up...'
  1761. 142710 DEBUG + set +o xtrace
  1762. 142738 DEBUG + echo 'Declaring files to be backed up...'
  1763. 142738 INFO Declaring files to be backed up...
  1764. 142740 DEBUG + ynh_backup --src_path=/var/www/jellyseerr
  1765. 142740 DEBUG + local legacy_args=sdbm
  1766. 142740 DEBUG + args_array=(['s']='src_path=' ['d']='dest_path=' ['b']='is_big' ['m']='not_mandatory')
  1767. 142741 DEBUG + local -A args_array
  1768. 142741 DEBUG + local src_path
  1769. 142741 DEBUG + local dest_path
  1770. 142741 DEBUG + local is_big
  1771. 142741 DEBUG + local not_mandatory
  1772. 142741 DEBUG + ynh_handle_getopts_args --src_path=/var/www/jellyseerr
  1773. 142741 DEBUG + set +o xtrace
  1774. 142766 DEBUG + dest_path=
  1775. 142766 DEBUG + is_big=0
  1776. 142766 DEBUG + not_mandatory=0
  1777. 142766 DEBUG + BACKUP_CORE_ONLY=1
  1778. 142766 DEBUG + test -n jellyseerr
  1779. 142767 DEBUG ++ ynh_app_setting_get --app=jellyseerr --key=do_not_backup_data
  1780. 142767 DEBUG ++ local _globalapp=jellyseerr
  1781. 142767 DEBUG ++ local legacy_args=ak
  1782. 142767 DEBUG ++ args_array=(['a']='app=' ['k']='key=')
  1783. 142767 DEBUG ++ local -A args_array
  1784. 142768 DEBUG ++ local app
  1785. 142768 DEBUG ++ local key
  1786. 142768 DEBUG ++ ynh_handle_getopts_args --app=jellyseerr --key=do_not_backup_data
  1787. 142768 DEBUG ++ set +o xtrace
  1788. 142799 DEBUG ++ app=jellyseerr
  1789. 142799 DEBUG ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
  1790. 142799 DEBUG ++ ynh_app_setting get jellyseerr do_not_backup_data
  1791. 142800 DEBUG ++ set +o xtrace
  1792. 142852 DEBUG + do_not_backup_data=
  1793. 142852 DEBUG + '[' 0 -eq 1 ']'
  1794. 142852 DEBUG + '[' '!' -e /var/www/jellyseerr ']'
  1795. 142853 DEBUG ++ realpath /var/www/jellyseerr
  1796. 142854 DEBUG + src_path=/var/www/jellyseerr
  1797. 142854 DEBUG + [[ -z '' ]]
  1798. 142854 DEBUG + dest_path=var/www/jellyseerr
  1799. 142854 DEBUG + [[ -e var/www/jellyseerr ]]
  1800. 142854 DEBUG + local rel_dir=/apps/jellyseerr/backup
  1801. 142855 DEBUG + rel_dir=/apps/jellyseerr/backup/
  1802. 142855 DEBUG + dest_path=/apps/jellyseerr/backup/var/www/jellyseerr
  1803. 142855 DEBUG + dest_path=apps/jellyseerr/backup/var/www/jellyseerr
  1804. 142855 DEBUG ++ sed --regexp-extended 's/"/\"\"/g'
  1805. 142856 DEBUG ++ echo /var/www/jellyseerr
  1806. 142857 DEBUG + local src=/var/www/jellyseerr
  1807. 142857 DEBUG ++ echo apps/jellyseerr/backup/var/www/jellyseerr
  1808. 142858 DEBUG ++ sed --regexp-extended 's/"/\"\"/g'
  1809. 142860 DEBUG + local dest=apps/jellyseerr/backup/var/www/jellyseerr
  1810. 142860 DEBUG + echo '"/var/www/jellyseerr","apps/jellyseerr/backup/var/www/jellyseerr"'
  1811. 142860 DEBUG ++ dirname /home/yunohost.backup/tmp/jellyseerr-pre-upgrade2/apps/jellyseerr/backup/var/www/jellyseerr
  1812. 142861 DEBUG + mkdir --parents /home/yunohost.backup/tmp/jellyseerr-pre-upgrade2/apps/jellyseerr/backup/var/www
  1813. 142875 DEBUG + ynh_backup --src_path=/home/yunohost.app/jellyseerr --is_big
  1814. 142875 DEBUG + local legacy_args=sdbm
  1815. 142875 DEBUG + args_array=(['s']='src_path=' ['d']='dest_path=' ['b']='is_big' ['m']='not_mandatory')
  1816. 142876 DEBUG + local -A args_array
  1817. 142876 DEBUG + local src_path
  1818. 142876 DEBUG + local dest_path
  1819. 142876 DEBUG + local is_big
  1820. 142876 DEBUG + local not_mandatory
  1821. 142876 DEBUG + ynh_handle_getopts_args --src_path=/home/yunohost.app/jellyseerr --is_big
  1822. 142876 DEBUG + set +o xtrace
  1823. 142950 DEBUG + dest_path=
  1824. 142950 DEBUG + is_big=1
  1825. 142950 DEBUG + not_mandatory=0
  1826. 142951 DEBUG + BACKUP_CORE_ONLY=1
  1827. 142951 DEBUG + test -n jellyseerr
  1828. 142951 DEBUG ++ ynh_app_setting_get --app=jellyseerr --key=do_not_backup_data
  1829. 142952 DEBUG ++ local _globalapp=jellyseerr
  1830. 142952 DEBUG ++ local legacy_args=ak
  1831. 142952 DEBUG ++ args_array=(['a']='app=' ['k']='key=')
  1832. 142952 DEBUG ++ local -A args_array
  1833. 142953 DEBUG ++ local app
  1834. 142953 DEBUG ++ local key
  1835. 142953 DEBUG ++ ynh_handle_getopts_args --app=jellyseerr --key=do_not_backup_data
  1836. 142954 DEBUG ++ set +o xtrace
  1837. 142994 DEBUG ++ app=jellyseerr
  1838. 142994 DEBUG ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
  1839. 142994 DEBUG ++ ynh_app_setting get jellyseerr do_not_backup_data
  1840. 142995 DEBUG ++ set +o xtrace
  1841. 143053 DEBUG + do_not_backup_data=
  1842. 143053 DEBUG + '[' 1 -eq 1 ']'
  1843. 143053 DEBUG + '[' 0 -eq 1 ']'
  1844. 143054 DEBUG + '[' 1 -eq 1 ']'
  1845. 143055 DEBUG + '[' 1 -eq 1 ']'
  1846. 143055 DEBUG + ynh_print_info '--message=/home/yunohost.app/jellyseerr will not be saved, because '\''BACKUP_CORE_ONLY'\'' is set.'
  1847. 143055 DEBUG + local legacy_args=m
  1848. 143055 DEBUG + args_array=(['m']='message=')
  1849. 143055 DEBUG + local -A args_array
  1850. 143055 DEBUG + local message
  1851. 143055 DEBUG + ynh_handle_getopts_args '--message=/home/yunohost.app/jellyseerr will not be saved, because '\''BACKUP_CORE_ONLY'\'' is set.'
  1852. 143056 DEBUG + set +o xtrace
  1853. 143067 DEBUG + echo '/home/yunohost.app/jellyseerr will not be saved, because '\''BACKUP_CORE_ONLY'\'' is set.'
  1854. 143068 DEBUG + return 0
  1855. 143068 DEBUG + ynh_backup --src_path=/etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf
  1856. 143068 DEBUG + local legacy_args=sdbm
  1857. 143068 DEBUG + args_array=(['s']='src_path=' ['d']='dest_path=' ['b']='is_big' ['m']='not_mandatory')
  1858. 143068 DEBUG + local -A args_array
  1859. 143068 DEBUG + local src_path
  1860. 143068 DEBUG + local dest_path
  1861. 143069 DEBUG + local is_big
  1862. 143069 DEBUG + local not_mandatory
  1863. 143069 DEBUG + ynh_handle_getopts_args --src_path=/etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf
  1864. 143069 DEBUG + set +o xtrace
  1865. 143069 INFO /home/yunohost.app/jellyseerr will not be saved, because 'BACKUP_CORE_ONLY' is set.
  1866. 143110 DEBUG + dest_path=
  1867. 143110 DEBUG + is_big=0
  1868. 143110 DEBUG + not_mandatory=0
  1869. 143111 DEBUG + BACKUP_CORE_ONLY=1
  1870. 143111 DEBUG + test -n jellyseerr
  1871. 143112 DEBUG ++ ynh_app_setting_get --app=jellyseerr --key=do_not_backup_data
  1872. 143113 DEBUG ++ local _globalapp=jellyseerr
  1873. 143115 DEBUG ++ local legacy_args=ak
  1874. 143115 DEBUG ++ args_array=(['a']='app=' ['k']='key=')
  1875. 143116 DEBUG ++ local -A args_array
  1876. 143116 DEBUG ++ local app
  1877. 143116 DEBUG ++ local key
  1878. 143117 DEBUG ++ ynh_handle_getopts_args --app=jellyseerr --key=do_not_backup_data
  1879. 143117 DEBUG ++ set +o xtrace
  1880. 143197 DEBUG ++ app=jellyseerr
  1881. 143197 DEBUG ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
  1882. 143197 DEBUG ++ ynh_app_setting get jellyseerr do_not_backup_data
  1883. 143197 DEBUG ++ set +o xtrace
  1884. 143262 DEBUG + do_not_backup_data=
  1885. 143262 DEBUG + '[' 0 -eq 1 ']'
  1886. 143263 DEBUG + '[' '!' -e /etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf ']'
  1887. 143263 DEBUG ++ realpath /etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf
  1888. 143265 DEBUG + src_path=/etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf
  1889. 143265 DEBUG + [[ -z '' ]]
  1890. 143265 DEBUG + dest_path=etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf
  1891. 143265 DEBUG + [[ -e etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf ]]
  1892. 143266 DEBUG + local rel_dir=/apps/jellyseerr/backup
  1893. 143266 DEBUG + rel_dir=/apps/jellyseerr/backup/
  1894. 143266 DEBUG + dest_path=/apps/jellyseerr/backup/etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf
  1895. 143266 DEBUG + dest_path=apps/jellyseerr/backup/etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf
  1896. 143267 DEBUG ++ echo /etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf
  1897. 143271 DEBUG ++ sed --regexp-extended 's/"/\"\"/g'
  1898. 143274 DEBUG + local src=/etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf
  1899. 143276 DEBUG ++ echo apps/jellyseerr/backup/etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf
  1900. 143276 DEBUG ++ sed --regexp-extended 's/"/\"\"/g'
  1901. 143279 DEBUG + local dest=apps/jellyseerr/backup/etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf
  1902. 143279 DEBUG + echo '"/etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf","apps/jellyseerr/backup/etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf"'
  1903. 143280 DEBUG ++ dirname /home/yunohost.backup/tmp/jellyseerr-pre-upgrade2/apps/jellyseerr/backup/etc/nginx/conf.d/media.centonze.noho.st.d/jellyseerr.conf
  1904. 143282 DEBUG + mkdir --parents /home/yunohost.backup/tmp/jellyseerr-pre-upgrade2/apps/jellyseerr/backup/etc/nginx/conf.d/media.centonze.noho.st.d
  1905. 143285 DEBUG + ynh_backup --src_path=/etc/logrotate.d/jellyseerr
  1906. 143285 DEBUG + local legacy_args=sdbm
  1907. 143285 DEBUG + args_array=(['s']='src_path=' ['d']='dest_path=' ['b']='is_big' ['m']='not_mandatory')
  1908. 143285 DEBUG + local -A args_array
  1909. 143285 DEBUG + local src_path
  1910. 143286 DEBUG + local dest_path
  1911. 143286 DEBUG + local is_big
  1912. 143286 DEBUG + local not_mandatory
  1913. 143286 DEBUG + ynh_handle_getopts_args --src_path=/etc/logrotate.d/jellyseerr
  1914. 143286 DEBUG + set +o xtrace
  1915. 143319 DEBUG + dest_path=
  1916. 143319 DEBUG + is_big=0
  1917. 143319 DEBUG + not_mandatory=0
  1918. 143319 DEBUG + BACKUP_CORE_ONLY=1
  1919. 143319 DEBUG + test -n jellyseerr
  1920. 143320 DEBUG ++ ynh_app_setting_get --app=jellyseerr --key=do_not_backup_data
  1921. 143320 DEBUG ++ local _globalapp=jellyseerr
  1922. 143320 DEBUG ++ local legacy_args=ak
  1923. 143320 DEBUG ++ args_array=(['a']='app=' ['k']='key=')
  1924. 143320 DEBUG ++ local -A args_array
  1925. 143320 DEBUG ++ local app
  1926. 143321 DEBUG ++ local key
  1927. 143321 DEBUG ++ ynh_handle_getopts_args --app=jellyseerr --key=do_not_backup_data
  1928. 143321 DEBUG ++ set +o xtrace
  1929. 143347 DEBUG ++ app=jellyseerr
  1930. 143347 DEBUG ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
  1931. 143348 DEBUG ++ ynh_app_setting get jellyseerr do_not_backup_data
  1932. 143348 DEBUG ++ set +o xtrace
  1933. 143404 DEBUG + do_not_backup_data=
  1934. 143404 DEBUG + '[' 0 -eq 1 ']'
  1935. 143404 DEBUG + '[' '!' -e /etc/logrotate.d/jellyseerr ']'
  1936. 143417 DEBUG ++ realpath /etc/logrotate.d/jellyseerr
  1937. 143418 DEBUG + src_path=/etc/logrotate.d/jellyseerr
  1938. 143418 DEBUG + [[ -z '' ]]
  1939. 143419 DEBUG + dest_path=etc/logrotate.d/jellyseerr
  1940. 143419 DEBUG + [[ -e etc/logrotate.d/jellyseerr ]]
  1941. 143419 DEBUG + local rel_dir=/apps/jellyseerr/backup
  1942. 143419 DEBUG + rel_dir=/apps/jellyseerr/backup/
  1943. 143419 DEBUG + dest_path=/apps/jellyseerr/backup/etc/logrotate.d/jellyseerr
  1944. 143419 DEBUG + dest_path=apps/jellyseerr/backup/etc/logrotate.d/jellyseerr
  1945. 143420 DEBUG ++ echo /etc/logrotate.d/jellyseerr
  1946. 143421 DEBUG ++ sed --regexp-extended 's/"/\"\"/g'
  1947. 143422 DEBUG + local src=/etc/logrotate.d/jellyseerr
  1948. 143423 DEBUG ++ echo apps/jellyseerr/backup/etc/logrotate.d/jellyseerr
  1949. 143423 DEBUG ++ sed --regexp-extended 's/"/\"\"/g'
  1950. 143426 DEBUG + local dest=apps/jellyseerr/backup/etc/logrotate.d/jellyseerr
  1951. 143426 DEBUG + echo '"/etc/logrotate.d/jellyseerr","apps/jellyseerr/backup/etc/logrotate.d/jellyseerr"'
  1952. 143426 DEBUG ++ dirname /home/yunohost.backup/tmp/jellyseerr-pre-upgrade2/apps/jellyseerr/backup/etc/logrotate.d/jellyseerr
  1953. 143427 DEBUG + mkdir --parents /home/yunohost.backup/tmp/jellyseerr-pre-upgrade2/apps/jellyseerr/backup/etc/logrotate.d
  1954. 143429 DEBUG + ynh_backup --src_path=/etc/systemd/system/jellyseerr.service
  1955. 143429 DEBUG + local legacy_args=sdbm
  1956. 143430 DEBUG + args_array=(['s']='src_path=' ['d']='dest_path=' ['b']='is_big' ['m']='not_mandatory')
  1957. 143430 DEBUG + local -A args_array
  1958. 143430 DEBUG + local src_path
  1959. 143430 DEBUG + local dest_path
  1960. 143430 DEBUG + local is_big
  1961. 143430 DEBUG + local not_mandatory
  1962. 143430 DEBUG + ynh_handle_getopts_args --src_path=/etc/systemd/system/jellyseerr.service
  1963. 143431 DEBUG + set +o xtrace
  1964. 143461 DEBUG + dest_path=
  1965. 143462 DEBUG + is_big=0
  1966. 143462 DEBUG + not_mandatory=0
  1967. 143462 DEBUG + BACKUP_CORE_ONLY=1
  1968. 143462 DEBUG + test -n jellyseerr
  1969. 143463 DEBUG ++ ynh_app_setting_get --app=jellyseerr --key=do_not_backup_data
  1970. 143463 DEBUG ++ local _globalapp=jellyseerr
  1971. 143463 DEBUG ++ local legacy_args=ak
  1972. 143463 DEBUG ++ args_array=(['a']='app=' ['k']='key=')
  1973. 143464 DEBUG ++ local -A args_array
  1974. 143464 DEBUG ++ local app
  1975. 143464 DEBUG ++ local key
  1976. 143464 DEBUG ++ ynh_handle_getopts_args --app=jellyseerr --key=do_not_backup_data
  1977. 143464 DEBUG ++ set +o xtrace
  1978. 143495 DEBUG ++ app=jellyseerr
  1979. 143495 DEBUG ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
  1980. 143495 DEBUG ++ ynh_app_setting get jellyseerr do_not_backup_data
  1981. 143496 DEBUG ++ set +o xtrace
  1982. 143551 DEBUG + do_not_backup_data=
  1983. 143551 DEBUG + '[' 0 -eq 1 ']'
  1984. 143551 DEBUG + '[' '!' -e /etc/systemd/system/jellyseerr.service ']'
  1985. 143552 DEBUG ++ realpath /etc/systemd/system/jellyseerr.service
  1986. 143553 DEBUG + src_path=/etc/systemd/system/jellyseerr.service
  1987. 143553 DEBUG + [[ -z '' ]]
  1988. 143554 DEBUG + dest_path=etc/systemd/system/jellyseerr.service
  1989. 143554 DEBUG + [[ -e etc/systemd/system/jellyseerr.service ]]
  1990. 143554 DEBUG + local rel_dir=/apps/jellyseerr/backup
  1991. 143554 DEBUG + rel_dir=/apps/jellyseerr/backup/
  1992. 143554 DEBUG + dest_path=/apps/jellyseerr/backup/etc/systemd/system/jellyseerr.service
  1993. 143554 DEBUG + dest_path=apps/jellyseerr/backup/etc/systemd/system/jellyseerr.service
  1994. 143555 DEBUG ++ sed --regexp-extended 's/"/\"\"/g'
  1995. 143556 DEBUG ++ echo /etc/systemd/system/jellyseerr.service
  1996. 143557 DEBUG + local src=/etc/systemd/system/jellyseerr.service
  1997. 143557 DEBUG ++ echo apps/jellyseerr/backup/etc/systemd/system/jellyseerr.service
  1998. 143558 DEBUG ++ sed --regexp-extended 's/"/\"\"/g'
  1999. 143560 DEBUG + local dest=apps/jellyseerr/backup/etc/systemd/system/jellyseerr.service
  2000. 143560 DEBUG + echo '"/etc/systemd/system/jellyseerr.service","apps/jellyseerr/backup/etc/systemd/system/jellyseerr.service"'
  2001. 143561 DEBUG ++ dirname /home/yunohost.backup/tmp/jellyseerr-pre-upgrade2/apps/jellyseerr/backup/etc/systemd/system/jellyseerr.service
  2002. 143562 DEBUG + mkdir --parents /home/yunohost.backup/tmp/jellyseerr-pre-upgrade2/apps/jellyseerr/backup/etc/systemd/system
  2003. 143564 DEBUG + ynh_print_info '--message=Backup script completed for jellyseerr. (YunoHost will then actually copy those files to the archive).'
  2004. 143565 DEBUG + local legacy_args=m
  2005. 143565 DEBUG + args_array=(['m']='message=')
  2006. 143565 DEBUG + local -A args_array
  2007. 143565 DEBUG + local message
  2008. 143565 DEBUG + ynh_handle_getopts_args '--message=Backup script completed for jellyseerr. (YunoHost will then actually copy those files to the archive).'
  2009. 143565 DEBUG + set +o xtrace
  2010. 143575 DEBUG + echo 'Backup script completed for jellyseerr. (YunoHost will then actually copy those files to the archive).'
  2011. 143576 DEBUG + ynh_exit_properly
  2012. 143576 DEBUG + local exit_code=0
  2013. 143576 DEBUG + [[ backup =~ ^install$|^upgrade$|^restore$ ]]
  2014. 143576 DEBUG + '[' 0 -eq 0 ']'
  2015. 143576 DEBUG + exit 0
  2016. 143576 INFO Backup script completed for jellyseerr. (YunoHost will then actually copy those files to the archive).
  2017. 144578 DEBUG Permission de sauvegarde pour jellyseerr
  2018. 219409 INFO Création d'une archive de sauvegarde à partir des fichiers collectés ...
  2019. 219409 INFO L'archive contiendra environ 3.3GB de données.
  2020. 219410 DEBUG Création de l'archive TAR de la sauvegarde ...
  2021. 540365 DEBUG L'archive TAR de la sauvegarde a été créée
  2022. 540433 SUCCESS Sauvegarde créée : jellyseerr-pre-upgrade2
  2023. 540766 DEBUG Pour voir le journal de cette opération 'Créer une archive de sauvegarde', utilisez la commande 'yunohost log show 20230907-081957-backup_create'
  2024. 541235 SUCCESS Sauvegarde supprimée : jellyseerr-pre-upgrade1
  2025. 541235 DEBUG Checking that required services are up and running...
  2026. 586855 INFO Updating sources...
  2027. 586856 DEBUG Prefetching asset main: https://github.com/Fallenbagel/jellyseerr/archive/refs/tags/v1.6.0.tar.gz ...
  2028. 725342 INFO Updating system_user...
  2029. 725687 INFO Updating install_dir...
  2030. 725755 INFO Updating data_dir...
  2031. 725763 INFO Updating permissions...
  2032. 726884 DEBUG Nothing to update in LDAP
  2033. 727183 DEBUG Permission 'jellyseerr.main' mise à jour
  2034. 727184 DEBUG Pour voir le journal de cette opération 'Mise à jour des accès pour la permission 'jellyseerr'', utilisez la commande 'yunohost log show 20230907-082941-user_permission_update-jellyseerr'
  2035. 727946 DEBUG Nothing to update in LDAP
  2036. 727946 DEBUG Permission 'jellyseerr.main' mise à jour
  2037. 728250 DEBUG Pour voir le journal de cette opération 'Mise à jour de l'URL associée à l'autorisation 'jellyseerr'', utilisez la commande 'yunohost log show 20230907-082942-permission_url-jellyseerr'
  2038. 728569 DEBUG The permission database has been resynchronized
  2039. 729805 DEBUG La configuration de SSOwat a été regénérée
  2040. 729812 INFO Updating ports...
  2041. 729936 DEBUG Executing command '['sh', '-c', '/bin/bash -x "./upgrade" 7>&1']'
  2042. 729956 DEBUG + source _common.sh
  2043. 729957 DEBUG ++ nodejs_version=18
  2044. 729957 DEBUG + source /usr/share/yunohost/helpers
  2045. 729989 DEBUG +++ set +o
  2046. 729989 DEBUG +++ grep xtrace
  2047. 729990 DEBUG ++ readonly 'XTRACE_ENABLE=set -o xtrace'
  2048. 729991 DEBUG ++ XTRACE_ENABLE='set -o xtrace'
  2049. 729991 DEBUG ++ set +x
  2050. 730053 DEBUG ++ ynh_check_app_version_changed
  2051. 730053 DEBUG ++ local return_value=UPGRADE_FULL
  2052. 730054 DEBUG ++ '[' UPGRADE_FULL == UPGRADE_FULL ']'
  2053. 730054 DEBUG ++ return_value=UPGRADE_APP
  2054. 730054 DEBUG ++ echo UPGRADE_APP
  2055. 730054 DEBUG + upgrade_type=UPGRADE_APP
  2056. 730054 DEBUG + ynh_script_progression '--message=Stopping a systemd service...' --weight=1
  2057. 730054 DEBUG + set +o xtrace
  2058. 730126 DEBUG + set +o xtrace
  2059. 730182 DEBUG + echo '! Helper used in legacy mode !'
  2060. 730182 DEBUG + set +x
  2061. 730183 DEBUG + echo '[....................] > Stopping a systemd service...'
  2062. 730184 DEBUG + set -o xtrace
  2063. 730184 DEBUG + ynh_systemd_action --service_name=jellyseerr --action=stop --log_path=/var/log/jellyseerr/jellyseerr.log
  2064. 730184 DEBUG + local legacy_args=nalpte
  2065. 730184 DEBUG + args_array=(['n']='service_name=' ['a']='action=' ['l']='line_match=' ['p']='log_path=' ['t']='timeout=' ['e']='length=')
  2066. 730184 INFO [....................] > Stopping a systemd service...
  2067. 730185 DEBUG + local -A args_array
  2068. 730185 DEBUG + local service_name
  2069. 730185 DEBUG + local action
  2070. 730185 DEBUG + local line_match
  2071. 730185 DEBUG + local length
  2072. 730185 DEBUG + local log_path
  2073. 730185 DEBUG + local timeout
  2074. 730185 DEBUG + ynh_handle_getopts_args --service_name=jellyseerr --action=stop --log_path=/var/log/jellyseerr/jellyseerr.log
  2075. 730186 DEBUG + set +o xtrace
  2076. 730286 DEBUG + service_name=jellyseerr
  2077. 730286 DEBUG + action=stop
  2078. 730286 DEBUG + line_match=
  2079. 730286 DEBUG + length=20
  2080. 730286 DEBUG + log_path=/var/log/jellyseerr/jellyseerr.log
  2081. 730287 DEBUG + timeout=300
  2082. 730287 DEBUG + '[' stop == stop ']'
  2083. 730287 DEBUG + systemctl is-active --quiet jellyseerr
  2084. 730372 DEBUG + [[ -n '' ]]
  2085. 730373 DEBUG + '[' stop == reload ']'
  2086. 730373 DEBUG ++ date --utc --rfc-3339=seconds
  2087. 730373 DEBUG ++ cut -d+ -f1
  2088. 730375 DEBUG + local 'time_start=2023-09-07 08:29:45 UTC'
  2089. 730375 DEBUG + systemctl stop jellyseerr
  2090. 730564 DEBUG + [[ -n '' ]]
  2091. 730564 DEBUG + ynh_script_progression '--message=Installing dependencies...' --weight=5
  2092. 730564 DEBUG + set +o xtrace
  2093. 730619 DEBUG + set +o xtrace
  2094. 730634 DEBUG + echo '! Helper used in legacy mode !'
  2095. 730634 DEBUG + set +x
  2096. 730637 DEBUG + echo '[+...................] > Installing dependencies...'
  2097. 730637 DEBUG + set -o xtrace
  2098. 730637 DEBUG + ynh_exec_warn_less ynh_install_nodejs --nodejs_version=18
  2099. 730637 DEBUG + [[ 2 -eq 1 ]]
  2100. 730637 DEBUG + ynh_install_nodejs --nodejs_version=18
  2101. 730637 DEBUG + local legacy_args=n
  2102. 730637 DEBUG + args_array=(['n']='nodejs_version=')
  2103. 730638 DEBUG + local -A args_array
  2104. 730638 DEBUG + local nodejs_version
  2105. 730638 DEBUG + ynh_handle_getopts_args --nodejs_version=18
  2106. 730638 DEBUG + set +o xtrace
  2107. 730638 INFO [+...................] > Installing dependencies...
  2108. 730646 DEBUG + mkdir --parents /opt/node_n
  2109. 730884 DEBUG + CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  2110. 730886 DEBUG ++ sed s@/usr/local/bin:@@
  2111. 730888 DEBUG ++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  2112. 730889 DEBUG + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
  2113. 730889 DEBUG + test -x /usr/bin/node
  2114. 730889 DEBUG + mv /usr/bin/node /usr/bin/node_n
  2115. 731054 DEBUG + test -x /usr/bin/npm
  2116. 731054 DEBUG + mkdir -p /opt/node_n/bin/
  2117. 731055 DEBUG + cp /usr/share/yunohost/helpers.d/vendor/n/n /opt/node_n/bin/n
  2118. 731160 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
  2119. 731160 DEBUG + local legacy_args=mrf
  2120. 731161 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
  2121. 731161 DEBUG + local -A args_array
  2122. 731161 DEBUG + local match_string
  2123. 731161 DEBUG + local replace_string
  2124. 731161 DEBUG + local target_file
  2125. 731161 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
  2126. 731161 DEBUG + set +o xtrace
  2127. 731215 DEBUG + set +o xtrace
  2128. 731215 DEBUG + sed --in-place 's^N_PREFIX=${N_PREFIX-.*}$N_PREFIX=${N_PREFIX-/opt/node_n}g' /opt/node_n/bin/n
  2129. 731235 DEBUG + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  2130. 731235 DEBUG + test -x /usr/bin/node_n
  2131. 731236 DEBUG + mv /usr/bin/node_n /usr/bin/node
  2132. 731237 DEBUG + test -x /usr/bin/npm_n
  2133. 731238 DEBUG ++ uname --machine
  2134. 731250 DEBUG + uname=x86_64
  2135. 731250 DEBUG + [[ x86_64 =~ aarch64 ]]
  2136. 731250 DEBUG + [[ x86_64 =~ arm64 ]]
  2137. 731250 DEBUG + n 18
  2138. 731546 DEBUG copying : node/18.17.1
  2139. 785177 DEBUG installed : v18.17.1 (with npm 9.6.7)
  2140. 785179 DEBUG ++ sort --version-sort
  2141. 785179 DEBUG ++ tail --lines=1
  2142. 785243 DEBUG ++ find /opt/node_n/n/versions/node/18 /opt/node_n/n/versions/node/18.16.1 /opt/node_n/n/versions/node/18.17.0 /opt/node_n/n/versions/node/18.17.1 -maxdepth 0
  2143. 785267 DEBUG + real_nodejs_version=/opt/node_n/n/versions/node/18.17.1
  2144. 785267 DEBUG ++ basename /opt/node_n/n/versions/node/18.17.1
  2145. 785269 DEBUG + real_nodejs_version=18.17.1
  2146. 785269 DEBUG + '[' '!' -e /opt/node_n/n/versions/node/18 ']'
  2147. 785269 DEBUG + echo jellyseerr:18
  2148. 785269 DEBUG + tee --append /opt/node_n/ynh_app_version
  2149. 785317 DEBUG jellyseerr:18
  2150. 785341 DEBUG + ynh_app_setting_set --app=jellyseerr --key=nodejs_version --value=18
  2151. 785341 DEBUG + local _globalapp=jellyseerr
  2152. 785341 DEBUG + local legacy_args=akv
  2153. 785342 DEBUG + args_array=(['a']='app=' ['k']='key=' ['v']='value=')
  2154. 785342 DEBUG + local -A args_array
  2155. 785342 DEBUG + local app
  2156. 785342 DEBUG + local key
  2157. 785342 DEBUG + local value
  2158. 785342 DEBUG + ynh_handle_getopts_args --app=jellyseerr --key=nodejs_version --value=18
  2159. 785342 DEBUG + set +o xtrace
  2160. 785403 DEBUG + app=jellyseerr
  2161. 785403 DEBUG + [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
  2162. 785403 DEBUG + ynh_app_setting set jellyseerr nodejs_version 18
  2163. 785403 DEBUG + set +o xtrace
  2164. 785571 DEBUG + ynh_cron_upgrade_node
  2165. 785571 DEBUG + cat
  2166. 785616 DEBUG + chmod +x /opt/node_n/node_update.sh
  2167. 785618 DEBUG + cat
  2168. 785671 DEBUG + chmod +x /etc/cron.daily/node_update
  2169. 785672 DEBUG + ynh_use_nodejs
  2170. 785673 DEBUG ++ ynh_app_setting_get --app=jellyseerr --key=nodejs_version
  2171. 785673 DEBUG ++ local _globalapp=jellyseerr
  2172. 785673 DEBUG ++ local legacy_args=ak
  2173. 785673 DEBUG ++ args_array=(['a']='app=' ['k']='key=')
  2174. 785674 DEBUG ++ local -A args_array
  2175. 785674 DEBUG ++ local app
  2176. 785674 DEBUG ++ local key
  2177. 785674 DEBUG ++ ynh_handle_getopts_args --app=jellyseerr --key=nodejs_version
  2178. 785674 DEBUG ++ set +o xtrace
  2179. 785700 DEBUG ++ app=jellyseerr
  2180. 785700 DEBUG ++ [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
  2181. 785701 DEBUG ++ ynh_app_setting get jellyseerr nodejs_version
  2182. 785701 DEBUG ++ set +o xtrace
  2183. 785756 DEBUG + nodejs_version=18
  2184. 785756 DEBUG + nodejs_path=/opt/node_n/n/versions/node/18/bin
  2185. 785756 DEBUG + shopt -s expand_aliases
  2186. 785757 DEBUG + ynh_node=/opt/node_n/n/versions/node/18/bin/node
  2187. 785757 DEBUG + alias ynh_node=/opt/node_n/n/versions/node/18/bin/node
  2188. 785757 DEBUG + ynh_npm=/opt/node_n/n/versions/node/18/bin/npm
  2189. 785757 DEBUG + alias ynh_npm=/opt/node_n/n/versions/node/18/bin/npm
  2190. 785757 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\8\/\b\i\n* ]]
  2191. 785757 DEBUG + PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  2192. 785757 DEBUG + node_PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  2193. 785758 DEBUG + ynh_node_load_PATH=PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  2194. 785758 DEBUG + ynh_node_load_path=PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  2195. 785758 DEBUG + /opt/node_n/n/versions/node/18/bin/npm install --global npm@latest
  2196. 790833 DEBUG
  2197. 790833 DEBUG removed 12 packages, and changed 76 packages in 4s
  2198. 790834 DEBUG
  2199. 790834 DEBUG 28 packages are looking for funding
  2200. 790834 DEBUG run `npm fund` for details
  2201. 790854 DEBUG + /opt/node_n/n/versions/node/18/bin/npm install --global yarn
  2202. 792981 DEBUG
  2203. 792981 DEBUG added 1 package in 2s
  2204. 792993 DEBUG + ynh_script_progression '--message=Setting up source files...' --weight=1
  2205. 792993 DEBUG + set +o xtrace
  2206. 793044 DEBUG + set +o xtrace
  2207. 793054 DEBUG + echo '! Helper used in legacy mode !'
  2208. 793054 DEBUG + set +x
  2209. 793056 DEBUG + echo '[#...................] > Setting up source files...'
  2210. 793056 DEBUG + set -o xtrace
  2211. 793056 DEBUG + '[' UPGRADE_APP == UPGRADE_APP ']'
  2212. 793056 DEBUG + ynh_script_progression '--message=Upgrading source files...'
  2213. 793057 DEBUG + set +o xtrace
  2214. 793057 INFO [#...................] > Setting up source files...
  2215. 793086 DEBUG + set +o xtrace
  2216. 793097 DEBUG + echo '! Helper used in legacy mode !'
  2217. 793097 DEBUG + set +x
  2218. 793099 DEBUG + echo '[#...................] > Upgrading source files...'
  2219. 793099 DEBUG + set -o xtrace
  2220. 793099 DEBUG + mv /var/www/jellyseerr /var/www/jellyseerr.old
  2221. 793099 INFO [#...................] > Upgrading source files...
  2222. 793101 DEBUG + ynh_setup_source --dest_dir=/var/www/jellyseerr
  2223. 793101 DEBUG + local legacy_args=dsk
  2224. 793102 DEBUG + args_array=(['d']='dest_dir=' ['s']='source_id=' ['k']='keep=' ['r']='full_replace=')
  2225. 793102 DEBUG + local -A args_array
  2226. 793102 DEBUG + local dest_dir
  2227. 793102 DEBUG + local source_id
  2228. 793102 DEBUG + local keep
  2229. 793102 DEBUG + local full_replace
  2230. 793102 DEBUG + ynh_handle_getopts_args --dest_dir=/var/www/jellyseerr
  2231. 793102 DEBUG + set +o xtrace
  2232. 793136 DEBUG + keep=
  2233. 793136 DEBUG + full_replace=0
  2234. 793137 DEBUG + test -e /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml
  2235. 793137 DEBUG + cat /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml
  2236. 793138 DEBUG + toml_to_json
  2237. 793138 DEBUG + jq -e .resources.sources
  2238. 793138 DEBUG + python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
  2239. 793327 DEBUG + source_id=main
  2240. 793328 DEBUG ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml
  2241. 793328 DEBUG ++ toml_to_json
  2242. 793328 DEBUG ++ python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
  2243. 793328 DEBUG ++ jq '.resources.sources["main"]'
  2244. 793377 DEBUG + local 'sources_json={
  2245. 793377 DEBUG "url": "https://github.com/Fallenbagel/jellyseerr/archive/refs/tags/v1.6.0.tar.gz",
  2246. 793377 DEBUG "sha256": "f51014752e679d558c5c0ba6e3df363a1ef6c16b8a5176dbc0a4d3f3301ef156",
  2247. 793378 DEBUG "autoupdate": {
  2248. 793378 DEBUG "strategy": "latest_github_tag"
  2249. 793378 DEBUG }
  2250. 793378 DEBUG }'
  2251. 793378 DEBUG + jq -re .url
  2252. 793423 DEBUG https://github.com/Fallenbagel/jellyseerr/archive/refs/tags/v1.6.0.tar.gz
  2253. 793424 DEBUG + local arch_prefix=
  2254. 793424 DEBUG ++ sed 's/^null$//'
  2255. 793424 DEBUG ++ jq -r .url
  2256. 793471 DEBUG + local src_url=https://github.com/Fallenbagel/jellyseerr/archive/refs/tags/v1.6.0.tar.gz
  2257. 793471 DEBUG ++ jq -r .sha256
  2258. 793471 DEBUG ++ sed 's/^null$//'
  2259. 793518 DEBUG + local src_sum=f51014752e679d558c5c0ba6e3df363a1ef6c16b8a5176dbc0a4d3f3301ef156
  2260. 793518 DEBUG + local src_sumprg=sha256sum
  2261. 793519 DEBUG ++ sed 's/^null$//'
  2262. 793519 DEBUG ++ jq -r .format
  2263. 793570 DEBUG + local src_format=
  2264. 793571 DEBUG ++ jq -r .in_subdir
  2265. 793571 DEBUG ++ sed 's/^null$//'
  2266. 793619 DEBUG + local src_in_subdir=
  2267. 793620 DEBUG ++ jq -r .extract
  2268. 793620 DEBUG ++ sed 's/^null$//'
  2269. 793667 DEBUG + local src_extract=
  2270. 793668 DEBUG ++ jq -r .platform
  2271. 793668 DEBUG ++ sed 's/^null$//'
  2272. 793716 DEBUG + local src_platform=
  2273. 793717 DEBUG ++ jq -r .rename
  2274. 793717 DEBUG ++ sed 's/^null$//'
  2275. 793763 DEBUG + local src_rename=
  2276. 793763 DEBUG + [[ -n https://github.com/Fallenbagel/jellyseerr/archive/refs/tags/v1.6.0.tar.gz ]]
  2277. 793763 DEBUG + [[ -n f51014752e679d558c5c0ba6e3df363a1ef6c16b8a5176dbc0a4d3f3301ef156 ]]
  2278. 793763 DEBUG + [[ -z '' ]]
  2279. 793764 DEBUG + [[ https://github.com/Fallenbagel/jellyseerr/archive/refs/tags/v1.6.0.tar.gz =~ ^.*\.zip$ ]]
  2280. 793764 DEBUG + [[ https://github.com/Fallenbagel/jellyseerr/archive/refs/tags/v1.6.0.tar.gz =~ ^.*/zipball/.*$ ]]
  2281. 793764 DEBUG + [[ https://github.com/Fallenbagel/jellyseerr/archive/refs/tags/v1.6.0.tar.gz =~ ^.*\.tar\.gz$ ]]
  2282. 793764 DEBUG + src_format=tar.gz
  2283. 793764 DEBUG + src_sumprg=sha256sum
  2284. 793764 DEBUG + src_in_subdir=true
  2285. 793765 DEBUG + src_format=tar.gz
  2286. 793765 DEBUG ++ tr '[:upper:]' '[:lower:]'
  2287. 793765 DEBUG ++ echo tar.gz
  2288. 793766 DEBUG + src_format=tar.gz
  2289. 793766 DEBUG + src_extract=true
  2290. 793766 DEBUG + [[ true != \t\r\u\e ]]
  2291. 793766 DEBUG + local local_src=/opt/yunohost-apps-src/jellyseerr/main
  2292. 793767 DEBUG ++ dirname /var/cache/yunohost/download/jellyseerr/main
  2293. 793802 DEBUG + mkdir -p /var/cache/yunohost/download/jellyseerr
  2294. 793803 DEBUG + src_filename=/var/cache/yunohost/download/jellyseerr/main
  2295. 793804 DEBUG + '[' tar.gz = docker ']'
  2296. 793804 DEBUG + test -e /opt/yunohost-apps-src/jellyseerr/main
  2297. 793804 DEBUG + '[' -n https://github.com/Fallenbagel/jellyseerr/archive/refs/tags/v1.6.0.tar.gz ']'
  2298. 793804 DEBUG + '[' -e /var/cache/yunohost/download/jellyseerr/main ']'
  2299. 793804 DEBUG + sha256sum --check --status
  2300. 793805 DEBUG + echo 'f51014752e679d558c5c0ba6e3df363a1ef6c16b8a5176dbc0a4d3f3301ef156 /var/cache/yunohost/download/jellyseerr/main'
  2301. 793844 DEBUG + '[' '!' -e /var/cache/yunohost/download/jellyseerr/main ']'
  2302. 793845 DEBUG + sha256sum --check --status
  2303. 793845 DEBUG + echo 'f51014752e679d558c5c0ba6e3df363a1ef6c16b8a5176dbc0a4d3f3301ef156 /var/cache/yunohost/download/jellyseerr/main'
  2304. 793886 DEBUG + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
  2305. 793890 DEBUG + '[' -n '' ']'
  2306. 793890 DEBUG + '[' 0 -eq 1 ']'
  2307. 793890 DEBUG + mkdir --parents /var/www/jellyseerr
  2308. 793890 DEBUG + '[' -n /var/www/jellyseerr ']'
  2309. 793891 DEBUG + '[' /var/www/jellyseerr == /var/www/jellyseerr ']'
  2310. 793891 DEBUG + _ynh_apply_default_permissions /var/www/jellyseerr
  2311. 793891 DEBUG + local target=/var/www/jellyseerr
  2312. 793892 DEBUG ++ ynh_read_manifest --manifest_key=requirements.yunohost
  2313. 793892 DEBUG ++ tr -d '<>= '
  2314. 793892 DEBUG ++ local legacy_args=mk
  2315. 793892 DEBUG ++ args_array=(['m']='manifest=' ['k']='manifest_key=')
  2316. 793893 DEBUG ++ local -A args_array
  2317. 793893 DEBUG ++ local manifest
  2318. 793893 DEBUG ++ local manifest_key
  2319. 793893 DEBUG ++ ynh_handle_getopts_args --manifest_key=requirements.yunohost
  2320. 793893 DEBUG ++ set +o xtrace
  2321. 793909 DEBUG ++ '[' '!' -e '' ']'
  2322. 793909 DEBUG ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.json ']'
  2323. 793909 DEBUG ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml ']'
  2324. 793909 DEBUG ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml
  2325. 793910 DEBUG ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml
  2326. 793910 DEBUG ++ grep -q '\.json$'
  2327. 793912 DEBUG ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml
  2328. 793913 DEBUG ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
  2329. 793914 DEBUG ++ jq .requirements.yunohost --raw-output
  2330. 793963 DEBUG + local ynh_requirement=null
  2331. 793964 DEBUG + dpkg --compare-versions 2.0 ge 2
  2332. 793966 DEBUG + chmod o-rwx /var/www/jellyseerr
  2333. 793967 DEBUG + chmod g-w /var/www/jellyseerr
  2334. 793968 DEBUG + chown -R root:root /var/www/jellyseerr
  2335. 793972 DEBUG + ynh_system_user_exists jellyseerr
  2336. 793972 DEBUG + local legacy_args=u
  2337. 793972 DEBUG + args_array=(['u']='username=')
  2338. 793973 DEBUG + local -A args_array
  2339. 793973 DEBUG + local username
  2340. 793973 DEBUG + ynh_handle_getopts_args jellyseerr
  2341. 793973 DEBUG + set +o xtrace
  2342. 793979 DEBUG + echo '! Helper used in legacy mode !'
  2343. 793980 DEBUG + set +x
  2344. 793981 DEBUG + getent passwd jellyseerr
  2345. 793985 DEBUG + chown jellyseerr:jellyseerr /var/www/jellyseerr
  2346. 793988 DEBUG + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system'
  2347. 793988 DEBUG + echo /var/www/jellyseerr
  2348. 793991 DEBUG + '[' -n '' ']'
  2349. 793991 DEBUG + [[ true == \f\a\l\s\e ]]
  2350. 793991 DEBUG + [[ tar.gz == \d\o\c\k\e\r ]]
  2351. 793991 DEBUG + [[ tar.gz == \z\i\p ]]
  2352. 793991 DEBUG + local strip=
  2353. 793991 DEBUG + '[' true '!=' false ']'
  2354. 793991 DEBUG + '[' true == true ']'
  2355. 793992 DEBUG + local sub_dirs=1
  2356. 793992 DEBUG + strip='--strip-components 1'
  2357. 793992 DEBUG + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
  2358. 793992 DEBUG + tar --extract --file=/var/cache/yunohost/download/jellyseerr/main --directory=/var/www/jellyseerr --strip-components 1
  2359. 794196 DEBUG + ynh_secure_remove --file=/var/cache/yunohost/download/jellyseerr/main
  2360. 794196 DEBUG + local legacy_args=f
  2361. 794196 DEBUG + args_array=(['f']='file=')
  2362. 794196 DEBUG + local -A args_array
  2363. 794196 DEBUG + local file
  2364. 794196 DEBUG + ynh_handle_getopts_args --file=/var/cache/yunohost/download/jellyseerr/main
  2365. 794197 DEBUG + set +o xtrace
  2366. 794205 DEBUG + set +o xtrace
  2367. 794388 DEBUG + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/sources/patches/ ']'
  2368. 794402 DEBUG ++ realpath /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/sources/patches/
  2369. 794405 DEBUG + local patches_folder=/var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/sources/patches
  2370. 794406 DEBUG ++ wc --lines
  2371. 794407 DEBUG ++ find /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/sources/patches -type f -name 'main-*.patch'
  2372. 794425 DEBUG + (( 0 > 0 ))
  2373. 794425 DEBUG + test -e /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/sources/extra_files/main
  2374. 794426 DEBUG + '[' -n '' ']'
  2375. 794426 DEBUG + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
  2376. 794427 DEBUG + cp -a /var/www/jellyseerr.old/config /var/www/jellyseerr
  2377. 794870 DEBUG + ynh_secure_remove --file=/var/www/jellyseerr.old
  2378. 794870 DEBUG + local legacy_args=f
  2379. 794870 DEBUG + args_array=(['f']='file=')
  2380. 794871 DEBUG + local -A args_array
  2381. 794871 DEBUG + local file
  2382. 794871 DEBUG + ynh_handle_getopts_args --file=/var/www/jellyseerr.old
  2383. 794871 DEBUG + set +o xtrace
  2384. 794883 DEBUG + set +o xtrace
  2385. 819237 DEBUG + chmod 750 /var/www/jellyseerr
  2386. 819239 DEBUG + chmod -R o-rwx /var/www/jellyseerr
  2387. 819251 DEBUG + chown -R jellyseerr:www-data /var/www/jellyseerr
  2388. 819264 DEBUG + ynh_script_progression '--message=Building app... This may take quiete some time' --weight=30
  2389. 819265 DEBUG + set +o xtrace
  2390. 819316 DEBUG + set +o xtrace
  2391. 819327 DEBUG + echo '! Helper used in legacy mode !'
  2392. 819327 DEBUG + set +x
  2393. 819329 DEBUG + echo '[#+++++++............] > Building app... This may take quiete some time'
  2394. 819329 INFO [#+++++++............] > Building app... This may take quiete some time
  2395. 819329 DEBUG + set -o xtrace
  2396. 819329 DEBUG + pushd /var/www/jellyseerr
  2397. 819330 DEBUG /var/www/jellyseerr /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/scripts
  2398. 819330 DEBUG + ynh_use_nodejs
  2399. 819330 DEBUG ++ ynh_app_setting_get --app=jellyseerr --key=nodejs_version
  2400. 819330 DEBUG ++ local _globalapp=jellyseerr
  2401. 819330 DEBUG ++ local legacy_args=ak
  2402. 819330 DEBUG ++ args_array=(['a']='app=' ['k']='key=')
  2403. 819331 DEBUG ++ local -A args_array
  2404. 819331 DEBUG ++ local app
  2405. 819331 DEBUG ++ local key
  2406. 819331 DEBUG ++ ynh_handle_getopts_args --app=jellyseerr --key=nodejs_version
  2407. 819331 DEBUG ++ set +o xtrace
  2408. 819358 DEBUG ++ app=jellyseerr
  2409. 819358 DEBUG ++ [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
  2410. 819358 DEBUG ++ ynh_app_setting get jellyseerr nodejs_version
  2411. 819359 DEBUG ++ set +o xtrace
  2412. 819415 DEBUG + nodejs_version=18
  2413. 819416 DEBUG + nodejs_path=/opt/node_n/n/versions/node/18/bin
  2414. 819416 DEBUG + shopt -s expand_aliases
  2415. 819416 DEBUG + ynh_node=/opt/node_n/n/versions/node/18/bin/node
  2416. 819416 DEBUG + alias ynh_node=/opt/node_n/n/versions/node/18/bin/node
  2417. 819416 DEBUG + ynh_npm=/opt/node_n/n/versions/node/18/bin/npm
  2418. 819416 DEBUG + alias ynh_npm=/opt/node_n/n/versions/node/18/bin/npm
  2419. 819416 DEBUG + [[ :/opt/node_n/n/versions/node/18/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\8\/\b\i\n* ]]
  2420. 819417 DEBUG + node_PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  2421. 819417 DEBUG + ynh_node_load_PATH=PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  2422. 819417 DEBUG + ynh_node_load_path=PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  2423. 819417 DEBUG + ynh_script_progression '--message=Fetching Yarn dev dependencies... This can be very long, be patient !' --weight=18
  2424. 819417 DEBUG + set +o xtrace
  2425. 819472 DEBUG + set +o xtrace
  2426. 819484 DEBUG + echo '! Helper used in legacy mode !'
  2427. 819484 DEBUG + set +x
  2428. 819486 DEBUG + echo '[########++++........] > Fetching Yarn dev dependencies... This can be very long, be patient !'
  2429. 819486 DEBUG + set -o xtrace
  2430. 819486 DEBUG + ynh_exec_warn_less ynh_exec_as jellyseerr env PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn install --network-timeout=100000
  2431. 819486 DEBUG + [[ 7 -eq 1 ]]
  2432. 819486 DEBUG + ynh_exec_as jellyseerr env PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn install --network-timeout=100000
  2433. 819487 DEBUG + local user=jellyseerr
  2434. 819487 DEBUG + shift 1
  2435. 819487 INFO [########++++........] > Fetching Yarn dev dependencies... This can be very long, be patient !
  2436. 819487 DEBUG ++ whoami
  2437. 819503 DEBUG + [[ jellyseerr = root ]]
  2438. 819504 DEBUG + sudo -u jellyseerr env PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn install --network-timeout=100000
  2439. 820994 DEBUG yarn install v1.22.19
  2440. 821238 DEBUG [1/4] Resolving packages...
  2441. 822446 DEBUG [2/4] Fetching packages...
  2442. 907528 DEBUG warning swr@2.0.4: The engine "pnpm" appears to be invalid.
  2443. 907614 DEBUG [3/4] Linking dependencies...
  2444. 907614 DEBUG warning " > connect-typeorm@1.1.4" has incorrect peer dependency "typeorm@^0.1.4 || ^0.2.5".
  2445. 907614 DEBUG warning "react-select > @emotion/react > @emotion/babel-plugin@11.10.5" has unmet peer dependency "@babel/core@^7.0.0".
  2446. 907614 DEBUG warning "react-spring > @react-spring/konva@9.7.1" has unmet peer dependency "konva@>=2.6".
  2447. 907614 DEBUG warning "react-spring > @react-spring/konva@9.7.1" has unmet peer dependency "react-konva@^16.8.0 || ^16.8.7-0 || ^16.9.0-0 || ^16.10.1-0 || ^16.12.0-0 || ^16.13.0-0 || ^17.0.0-0 || ^17.0.1-0 || ^17.0.2-0 || ^18.0.0-0".
  2448. 907614 DEBUG warning "react-spring > @react-spring/native@9.7.1" has unmet peer dependency "react-native@>=0.58".
  2449. 907614 DEBUG warning "react-spring > @react-spring/three@9.7.1" has unmet peer dependency "@react-three/fiber@>=6.0".
  2450. 907615 DEBUG warning "react-spring > @react-spring/three@9.7.1" has unmet peer dependency "three@>=0.126".
  2451. 907615 DEBUG warning "react-spring > @react-spring/zdog@9.7.1" has unmet peer dependency "react-zdog@>=1.0".
  2452. 907615 DEBUG warning "react-spring > @react-spring/zdog@9.7.1" has unmet peer dependency "zdog@>=1.0".
  2453. 907615 DEBUG warning " > react-toast-notifications@2.5.1" has incorrect peer dependency "react@^16.8.0 || ^17.0.0".
  2454. 907615 DEBUG warning " > react-toast-notifications@2.5.1" has incorrect peer dependency "react-dom@^16.8.0 || ^17.0.0".
  2455. 907615 DEBUG warning " > @babel/cli@7.21.0" has unmet peer dependency "@babel/core@^7.0.0-0".
  2456. 907616 DEBUG warning " > semantic-release-docker-buildx@1.0.1" has incorrect peer dependency "semantic-release@>=11.0.0 <18.0.0".
  2457. 907769 DEBUG warning Workspaces can only be enabled in private projects.
  2458. 1269719 DEBUG [4/4] Building fresh packages...
  2459. 1320109 DEBUG $ husky install
  2460. 1321745 DEBUG fatal: ni ceci ni aucun de ses répertoires parents n'est un dépôt git : .git
  2461. 1321751 DEBUG husky - git command not found, skipping install
  2462. 1321761 DEBUG Done in 500.77s.
  2463. 1322142 DEBUG + ynh_script_progression '--message=Building Yarn dev dependencies... This can be very long, be patient !' --weight=25
  2464. 1322142 DEBUG + set +o xtrace
  2465. 1322668 DEBUG + set +o xtrace
  2466. 1322680 DEBUG + echo '! Helper used in legacy mode !'
  2467. 1322680 DEBUG + set +x
  2468. 1322681 DEBUG + echo '[############++++++..] > Building Yarn dev dependencies... This can be very long, be patient !'
  2469. 1322682 DEBUG + set -o xtrace
  2470. 1322682 DEBUG + ynh_exec_warn_less ynh_exec_as jellyseerr env PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn run build
  2471. 1322682 DEBUG + [[ 7 -eq 1 ]]
  2472. 1322682 DEBUG + ynh_exec_as jellyseerr env PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn run build
  2473. 1322682 DEBUG + local user=jellyseerr
  2474. 1322682 DEBUG + shift 1
  2475. 1322683 INFO [############++++++..] > Building Yarn dev dependencies... This can be very long, be patient !
  2476. 1322683 DEBUG ++ whoami
  2477. 1322781 DEBUG + [[ jellyseerr = root ]]
  2478. 1322782 DEBUG + sudo -u jellyseerr env PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn run build
  2479. 1324649 DEBUG yarn run v1.22.19
  2480. 1324720 DEBUG $ yarn build:next && yarn build:server
  2481. 1325067 DEBUG $ next build
  2482. 1327957 DEBUG warn - You have enabled experimental features (scrollRestoration, largePageDataBytes) in next.config.js.
  2483. 1327987 DEBUG warn - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.
  2484. 1327987 DEBUG
  2485. 1328462 DEBUG Attention: Next.js now collects completely anonymous telemetry regarding usage.
  2486. 1328463 DEBUG This information is used to shape Next.js' roadmap and prioritize features.
  2487. 1328463 DEBUG You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
  2488. 1328463 DEBUG https://nextjs.org/telemetry
  2489. 1328463 DEBUG
  2490. 1331415 DEBUG info - Linting and checking validity of types...
  2491. 1343706 DEBUG warn - The Next.js plugin was not detected in your ESLint configuration. See https://nextjs.org/docs/basic-features/eslint#migrating-existing-config
  2492. 1386857 DEBUG info - Creating an optimized production build...
  2493. 1387937 DEBUG info - Disabled SWC as replacement for Babel because of custom Babel configuration "babel.config.js" https://nextjs.org/docs/messages/swc-disabled
  2494. 1388644 DEBUG Browserslist: caniuse-lite is outdated. Please run:
  2495. 1388645 DEBUG npx browserslist@latest --update-db
  2496. 1388645 DEBUG Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
  2497. 1389146 DEBUG info - Using external babel configuration from /var/www/jellyseerr/babel.config.js
  2498. 1627973 DEBUG Browserslist: caniuse-lite is outdated. Please run:
  2499. 1627973 DEBUG npx update-browserslist-db@latest
  2500. 1627973 DEBUG Why you should do it regularly: https://github.com/browserslist/update-db#readme
  2501. 1750303 DEBUG (node:3416240) [DEP_WEBPACK_MODULE_UPDATE_HASH] DeprecationWarning: Module.updateHash: Use new ChunkGraph API
  2502. 1750303 DEBUG (Use `node --trace-deprecation ...` to show where the warning was created)
  2503. 1856662 DEBUG info - Compiled successfully
  2504. 1856663 DEBUG info - Collecting page data...
  2505. 1863614 DEBUG Warning: You have opted-out of Automatic Static Optimization due to `getInitialProps` in `pages/_app`. This does not opt-out pages with `getStaticProps`
  2506. 1863615 DEBUG Read more: https://nextjs.org/docs/messages/opt-out-auto-static-optimization
  2507. 1863615 DEBUG
  2508. 1869786 DEBUG Route (pages) Size First Load JS
  2509. 1869786 DEBUG ┌ λ / 41.3 kB 424 kB
  2510. 1869829 DEBUG ├ /_app 0 B 223 kB
  2511. 1869829 DEBUG ├ λ /404 952 B 224 kB
  2512. 1869830 DEBUG ├ λ /collection/[collectionId] 4.97 kB 335 kB
  2513. 1869830 DEBUG ├ λ /discover/movies 1.5 kB 387 kB
  2514. 1869830 DEBUG ├ λ /discover/movies/genre/[genreId] 792 B 307 kB
  2515. 1869830 DEBUG ├ λ /discover/movies/genres 3.66 kB 239 kB
  2516. 1869831 DEBUG ├ λ /discover/movies/keyword 847 B 307 kB
  2517. 1869831 DEBUG ├ λ /discover/movies/language/[language] 798 B 307 kB
  2518. 1869831 DEBUG ├ λ /discover/movies/studio/[studioId] 905 B 307 kB
  2519. 1869831 DEBUG ├ λ /discover/movies/upcoming 688 B 306 kB
  2520. 1869832 DEBUG ├ λ /discover/trending 675 B 306 kB
  2521. 1869832 DEBUG ├ λ /discover/tv 1.73 kB 388 kB
  2522. 1869832 DEBUG ├ λ /discover/tv/genre/[genreId] 791 B 307 kB
  2523. 1869832 DEBUG ├ λ /discover/tv/genres 3.66 kB 239 kB
  2524. 1869833 DEBUG ├ λ /discover/tv/keyword 842 B 307 kB
  2525. 1869833 DEBUG ├ λ /discover/tv/language/[language] 795 B 307 kB
  2526. 1869833 DEBUG ├ λ /discover/tv/network/[networkId] 908 B 307 kB
  2527. 1869833 DEBUG ├ λ /discover/tv/upcoming 685 B 306 kB
  2528. 1869833 DEBUG ├ λ /discover/watchlist 942 B 307 kB
  2529. 1869834 DEBUG ├ λ /issues 8.09 kB 231 kB
  2530. 1869834 DEBUG ├ λ /issues/[issueId] 41.4 kB 294 kB
  2531. 1869834 DEBUG ├ λ /login 4.47 kB 282 kB
  2532. 1869834 DEBUG ├ λ /login/plex/loading 285 B 224 kB
  2533. 1869835 DEBUG ├ λ /movie/[movieId] 11 kB 404 kB
  2534. 1869835 DEBUG ├ λ /movie/[movieId]/cast 2.77 kB 226 kB
  2535. 1869835 DEBUG ├ λ /movie/[movieId]/crew 2.77 kB 226 kB
  2536. 1869835 DEBUG ├ λ /movie/[movieId]/recommendations 831 B 307 kB
  2537. 1869836 DEBUG ├ λ /movie/[movieId]/similar 832 B 307 kB
  2538. 1869836 DEBUG ├ λ /person/[personId] 9.64 kB 309 kB
  2539. 1869836 DEBUG ├ λ /profile 303 B 341 kB
  2540. 1869836 DEBUG ├ λ /profile/requests 295 B 316 kB
  2541. 1869837 DEBUG ├ λ /profile/settings 314 B 322 kB
  2542. 1869837 DEBUG ├ λ /profile/settings/main 320 B 322 kB
  2543. 1869837 DEBUG ├ λ /profile/settings/notifications/discord 2.27 kB 289 kB
  2544. 1869837 DEBUG ├ λ /profile/settings/notifications/email 1.87 kB 303 kB
  2545. 1869838 DEBUG ├ λ /profile/settings/notifications/pushbullet 3.01 kB 290 kB
  2546. 1869838 DEBUG ├ λ /profile/settings/notifications/pushover 2.07 kB 289 kB
  2547. 1869838 DEBUG ├ λ /profile/settings/notifications/telegram 2.32 kB 289 kB
  2548. 1869838 DEBUG ├ λ /profile/settings/notifications/webpush 1.74 kB 270 kB
  2549. 1869838 DEBUG ├ λ /profile/settings/password 307 B 260 kB
  2550. 1869839 DEBUG ├ λ /profile/settings/permissions 309 B 242 kB
  2551. 1869839 DEBUG ├ λ /profile/watchlist 939 B 307 kB
  2552. 1869839 DEBUG ├ λ /requests 289 B 316 kB
  2553. 1869839 DEBUG ├ λ /resetpassword 3.79 kB 256 kB
  2554. 1869840 DEBUG ├ λ /resetpassword/[guid] 4.77 kB 257 kB
  2555. 1869840 DEBUG ├ λ /search 739 B 307 kB
  2556. 1869840 DEBUG ├ λ /settings 344 B 331 kB
  2557. 1869840 DEBUG ├ λ /settings/about 9.29 kB 233 kB
  2558. 1869841 DEBUG ├ λ /settings/jellyfin 3.58 kB 260 kB
  2559. 1869841 DEBUG ├ λ /settings/jobs 34.3 kB 258 kB
  2560. 1869841 DEBUG ├ λ /settings/logs 9.29 kB 242 kB
  2561. 1869841 DEBUG ├ λ /settings/main 348 B 331 kB
  2562. 1869842 DEBUG ├ λ /settings/notifications/discord 6.68 kB 289 kB
  2563. 1869842 DEBUG ├ λ /settings/notifications/email 7.27 kB 275 kB
  2564. 1869842 DEBUG ├ λ /settings/notifications/gotify 6.88 kB 289 kB
  2565. 1869842 DEBUG ├ λ /settings/notifications/lunasea 6.52 kB 289 kB
  2566. 1869843 DEBUG ├ λ /settings/notifications/pushbullet 7.36 kB 290 kB
  2567. 1869843 DEBUG ├ λ /settings/notifications/pushover 6.61 kB 289 kB
  2568. 1869843 DEBUG ├ λ /settings/notifications/slack 6.39 kB 289 kB
  2569. 1869843 DEBUG ├ λ /settings/notifications/telegram 7.75 kB 290 kB
  2570. 1869844 DEBUG ├ λ /settings/notifications/webhook 10.1 kB 293 kB
  2571. 1869844 DEBUG ├ λ /settings/notifications/webpush 9.09 kB 243 kB
  2572. 1869844 DEBUG ├ λ /settings/plex 4.35 kB 298 kB
  2573. 1869844 DEBUG ├ λ /settings/services 2.86 kB 295 kB
  2574. 1869845 DEBUG ├ λ /settings/users 4.75 kB 242 kB
  2575. 1869845 DEBUG ├ λ /setup 3.49 kB 357 kB
  2576. 1869845 DEBUG ├ λ /tv/[tvId] 12.9 kB 406 kB
  2577. 1869845 DEBUG ├ λ /tv/[tvId]/cast 2.76 kB 226 kB
  2578. 1869845 DEBUG ├ λ /tv/[tvId]/crew 2.77 kB 226 kB
  2579. 1869846 DEBUG ├ λ /tv/[tvId]/recommendations 827 B 307 kB
  2580. 1869846 DEBUG ├ λ /tv/[tvId]/similar 828 B 307 kB
  2581. 1869846 DEBUG ├ λ /users 11.4 kB 266 kB
  2582. 1869846 DEBUG ├ λ /users/[userId] 308 B 341 kB
  2583. 1869847 DEBUG ├ λ /users/[userId]/requests 463 B 317 kB
  2584. 1869847 DEBUG ├ λ /users/[userId]/settings 464 B 322 kB
  2585. 1869847 DEBUG ├ λ /users/[userId]/settings/main 467 B 322 kB
  2586. 1869847 DEBUG ├ λ /users/[userId]/settings/notifications/discord 2.4 kB 289 kB
  2587. 1869848 DEBUG ├ λ /users/[userId]/settings/notifications/email 2 kB 304 kB
  2588. 1869848 DEBUG ├ λ /users/[userId]/settings/notifications/pushbullet 3.13 kB 290 kB
  2589. 1869848 DEBUG ├ λ /users/[userId]/settings/notifications/pushover 2.2 kB 289 kB
  2590. 1869848 DEBUG ├ λ /users/[userId]/settings/notifications/telegram 2.45 kB 289 kB
  2591. 1869849 DEBUG ├ λ /users/[userId]/settings/notifications/webpush 1.87 kB 270 kB
  2592. 1869849 DEBUG ├ λ /users/[userId]/settings/password 454 B 260 kB
  2593. 1869849 DEBUG ├ λ /users/[userId]/settings/permissions 452 B 242 kB
  2594. 1869849 DEBUG └ λ /users/[userId]/watchlist 1.1 kB 307 kB
  2595. 1869850 DEBUG + First Load JS shared by all 242 kB
  2596. 1869850 DEBUG ├ chunks/framework-6a24ea55bfe2d3c0.js 45.3 kB
  2597. 1869850 DEBUG ├ chunks/main-a0d77ee65511e9c3.js 29.9 kB
  2598. 1869850 DEBUG ├ chunks/pages/_app-f984730f88f541a6.js 124 kB
  2599. 1869850 DEBUG ├ chunks/webpack-be736be3d1c9eec1.js 24.4 kB
  2600. 1869851 DEBUG └ css/b53c3b612703eade.css 18.7 kB
  2601. 1869851 DEBUG
  2602. 1869851 DEBUG λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
  2603. 1869851 DEBUG
  2604. 1871043 DEBUG $ tsc --project server/tsconfig.json && copyfiles -u 2 server/templates/**/*.{html,pug} dist/templates && tsc-alias -p server/tsconfig.json
  2605. 1896581 DEBUG Done in 571.94s.
  2606. 1896610 DEBUG + ynh_script_progression '--message=Cleaning cache... ' --weight=3
  2607. 1896611 DEBUG + set +o xtrace
  2608. 1896663 DEBUG + set +o xtrace
  2609. 1896675 DEBUG + echo '! Helper used in legacy mode !'
  2610. 1896675 DEBUG + set +x
  2611. 1896676 DEBUG + echo '[##################..] > Cleaning cache... '
  2612. 1896676 INFO [##################..] > Cleaning cache...
  2613. 1896677 DEBUG + set -o xtrace
  2614. 1896677 DEBUG + ynh_exec_warn_less sudo -u jellyseerr env PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn cache clean
  2615. 1896677 DEBUG + [[ 8 -eq 1 ]]
  2616. 1896677 DEBUG + sudo -u jellyseerr env PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn cache clean
  2617. 1896950 DEBUG yarn cache v1.22.19
  2618. 1991832 DEBUG success Cleared cache.
  2619. 1991833 DEBUG Done in 94.89s.
  2620. 1991930 DEBUG + popd
  2621. 1991930 DEBUG /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/scripts
  2622. 1991930 DEBUG + chmod 750 /var/www/jellyseerr
  2623. 1991980 DEBUG + chmod -R o-rwx /var/www/jellyseerr
  2624. 2012297 DEBUG + chown -R jellyseerr:jellyseerr /var/www/jellyseerr
  2625. 2013138 DEBUG + ynh_script_progression '--message=Configuring a systemd service...'
  2626. 2013138 DEBUG + set +o xtrace
  2627. 2013168 DEBUG + set +o xtrace
  2628. 2013179 DEBUG + echo '! Helper used in legacy mode !'
  2629. 2013179 DEBUG + set +x
  2630. 2013180 DEBUG + echo '[##################..] > Configuring a systemd service...'
  2631. 2013180 INFO [##################..] > Configuring a systemd service...
  2632. 2013181 DEBUG + set -o xtrace
  2633. 2013181 DEBUG + ynh_add_systemd_config
  2634. 2013181 DEBUG + local legacy_args=stv
  2635. 2013181 DEBUG + args_array=(['s']='service=' ['t']='template=')
  2636. 2013182 DEBUG + local -A args_array
  2637. 2013182 DEBUG + local service
  2638. 2013182 DEBUG + local template
  2639. 2013182 DEBUG + ynh_handle_getopts_args
  2640. 2013182 DEBUG + set +o xtrace
  2641. 2013182 DEBUG + service=jellyseerr
  2642. 2013182 DEBUG + template=systemd.service
  2643. 2013183 DEBUG + ynh_add_config --template=systemd.service --destination=/etc/systemd/system/jellyseerr.service
  2644. 2013183 DEBUG + local legacy_args=tdv
  2645. 2013183 DEBUG + args_array=(['t']='template=' ['d']='destination=')
  2646. 2013183 DEBUG + local -A args_array
  2647. 2013183 DEBUG + local template
  2648. 2013183 DEBUG + local destination
  2649. 2013184 DEBUG + ynh_handle_getopts_args --template=systemd.service --destination=/etc/systemd/system/jellyseerr.service
  2650. 2013184 DEBUG + set +o xtrace
  2651. 2013209 DEBUG + local template_path
  2652. 2013210 DEBUG + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/conf/systemd.service ']'
  2653. 2013231 DEBUG + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/conf/systemd.service
  2654. 2013231 DEBUG + ynh_backup_if_checksum_is_different --file=/etc/systemd/system/jellyseerr.service
  2655. 2013232 DEBUG + local legacy_args=f
  2656. 2013232 DEBUG + args_array=(['f']='file=')
  2657. 2013232 DEBUG + local -A args_array
  2658. 2013232 DEBUG + local file
  2659. 2013232 DEBUG + ynh_handle_getopts_args --file=/etc/systemd/system/jellyseerr.service
  2660. 2013233 DEBUG + set +o xtrace
  2661. 2013240 DEBUG + local checksum_setting_name=checksum__etc_systemd_system_jellyseerr.service
  2662. 2013241 DEBUG ++ ynh_app_setting_get --app=jellyseerr --key=checksum__etc_systemd_system_jellyseerr.service
  2663. 2013241 DEBUG ++ local _globalapp=jellyseerr
  2664. 2013241 DEBUG ++ local legacy_args=ak
  2665. 2013241 DEBUG ++ args_array=(['a']='app=' ['k']='key=')
  2666. 2013242 DEBUG ++ local -A args_array
  2667. 2013242 DEBUG ++ local app
  2668. 2013242 DEBUG ++ local key
  2669. 2013242 DEBUG ++ ynh_handle_getopts_args --app=jellyseerr --key=checksum__etc_systemd_system_jellyseerr.service
  2670. 2013242 DEBUG ++ set +o xtrace
  2671. 2013270 DEBUG ++ app=jellyseerr
  2672. 2013270 DEBUG ++ [[ checksum__etc_systemd_system_jellyseerr.service =~ (unprotected|protected|skipped)_ ]]
  2673. 2013271 DEBUG ++ ynh_app_setting get jellyseerr checksum__etc_systemd_system_jellyseerr.service
  2674. 2013271 DEBUG ++ set +o xtrace
  2675. 2013838 DEBUG + local checksum_value=eb66b90bd071b8d549f84d9d5cfa2161
  2676. 2013838 DEBUG + backup_file_checksum=
  2677. 2013838 DEBUG + '[' -n eb66b90bd071b8d549f84d9d5cfa2161 ']'
  2678. 2013839 DEBUG + '[' -e /etc/systemd/system/jellyseerr.service ']'
  2679. 2013839 DEBUG + md5sum --check --status
  2680. 2013840 DEBUG + echo 'eb66b90bd071b8d549f84d9d5cfa2161 /etc/systemd/system/jellyseerr.service'
  2681. 2013861 DEBUG + touch /etc/systemd/system/jellyseerr.service
  2682. 2013895 DEBUG + chown root:root /etc/systemd/system/jellyseerr.service
  2683. 2013900 DEBUG + chmod 640 /etc/systemd/system/jellyseerr.service
  2684. 2013902 DEBUG + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/conf/systemd.service /etc/systemd/system/jellyseerr.service
  2685. 2013963 DEBUG + _ynh_apply_default_permissions /etc/systemd/system/jellyseerr.service
  2686. 2013963 DEBUG + local target=/etc/systemd/system/jellyseerr.service
  2687. 2013964 DEBUG ++ ynh_read_manifest --manifest_key=requirements.yunohost
  2688. 2013965 DEBUG ++ tr -d '<>= '
  2689. 2013965 DEBUG ++ local legacy_args=mk
  2690. 2013966 DEBUG ++ args_array=(['m']='manifest=' ['k']='manifest_key=')
  2691. 2013966 DEBUG ++ local -A args_array
  2692. 2013966 DEBUG ++ local manifest
  2693. 2013967 DEBUG ++ local manifest_key
  2694. 2013967 DEBUG ++ ynh_handle_getopts_args --manifest_key=requirements.yunohost
  2695. 2013967 DEBUG ++ set +o xtrace
  2696. 2013985 DEBUG ++ '[' '!' -e '' ']'
  2697. 2013985 DEBUG ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.json ']'
  2698. 2013985 DEBUG ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml ']'
  2699. 2013985 DEBUG ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml
  2700. 2013985 DEBUG ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml
  2701. 2013986 DEBUG ++ grep -q '\.json$'
  2702. 2013988 DEBUG ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml
  2703. 2013989 DEBUG ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
  2704. 2013989 DEBUG ++ jq .requirements.yunohost --raw-output
  2705. 2015067 DEBUG + local ynh_requirement=null
  2706. 2015067 DEBUG + dpkg --compare-versions 2.0 ge 2
  2707. 2015320 DEBUG + chmod o-rwx /etc/systemd/system/jellyseerr.service
  2708. 2015322 DEBUG + chmod g-w /etc/systemd/system/jellyseerr.service
  2709. 2015323 DEBUG + chown -R root:root /etc/systemd/system/jellyseerr.service
  2710. 2015326 DEBUG + ynh_system_user_exists jellyseerr
  2711. 2015326 DEBUG + local legacy_args=u
  2712. 2015326 DEBUG + args_array=(['u']='username=')
  2713. 2015327 DEBUG + local -A args_array
  2714. 2015327 DEBUG + local username
  2715. 2015327 DEBUG + ynh_handle_getopts_args jellyseerr
  2716. 2015327 DEBUG + set +o xtrace
  2717. 2015336 DEBUG + echo '! Helper used in legacy mode !'
  2718. 2015337 DEBUG + set +x
  2719. 2015339 DEBUG + getent passwd jellyseerr
  2720. 2015392 DEBUG + chown jellyseerr:jellyseerr /etc/systemd/system/jellyseerr.service
  2721. 2015394 DEBUG + echo /etc/systemd/system/jellyseerr.service
  2722. 2015395 DEBUG + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system'
  2723. 2015398 DEBUG + chmod 400 /etc/systemd/system/jellyseerr.service
  2724. 2015401 DEBUG + chown root:root /etc/systemd/system/jellyseerr.service
  2725. 2015405 DEBUG + ynh_replace_vars --file=/etc/systemd/system/jellyseerr.service
  2726. 2015406 DEBUG + local legacy_args=f
  2727. 2015406 DEBUG + args_array=(['f']='file=')
  2728. 2015407 DEBUG + local -A args_array
  2729. 2015407 DEBUG + local file
  2730. 2015407 DEBUG + ynh_handle_getopts_args --file=/etc/systemd/system/jellyseerr.service
  2731. 2015407 DEBUG + set +o xtrace
  2732. 2015419 DEBUG + test -n /
  2733. 2015420 DEBUG + local path_url_slash_less=
  2734. 2015420 DEBUG + ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/systemd/system/jellyseerr.service
  2735. 2015420 DEBUG + local legacy_args=mrf
  2736. 2015420 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
  2737. 2015420 DEBUG + local -A args_array
  2738. 2015420 DEBUG + local match_string
  2739. 2015421 DEBUG + local replace_string
  2740. 2015421 DEBUG + local target_file
  2741. 2015421 DEBUG + ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/ --target_file=/etc/systemd/system/jellyseerr.service
  2742. 2015421 DEBUG + set +o xtrace
  2743. 2015483 DEBUG + set +o xtrace
  2744. 2015483 DEBUG + sed --in-place $'s\001__PATH__/\001/\001g' /etc/systemd/system/jellyseerr.service
  2745. 2015739 DEBUG + ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/systemd/system/jellyseerr.service
  2746. 2015739 DEBUG + local legacy_args=mrf
  2747. 2015739 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
  2748. 2015739 DEBUG + local -A args_array
  2749. 2015740 DEBUG + local match_string
  2750. 2015740 DEBUG + local replace_string
  2751. 2015740 DEBUG + local target_file
  2752. 2015740 DEBUG + ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/ --target_file=/etc/systemd/system/jellyseerr.service
  2753. 2015740 DEBUG + set +o xtrace
  2754. 2015797 DEBUG + set +o xtrace
  2755. 2015797 DEBUG + sed --in-place $'s\001__PATH__\001/\001g' /etc/systemd/system/jellyseerr.service
  2756. 2015799 DEBUG + test -n jellyseerr
  2757. 2015799 DEBUG + ynh_replace_string --match_string=__NAME__ --replace_string=jellyseerr --target_file=/etc/systemd/system/jellyseerr.service
  2758. 2015799 DEBUG + local legacy_args=mrf
  2759. 2015799 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
  2760. 2015799 DEBUG + local -A args_array
  2761. 2015799 DEBUG + local match_string
  2762. 2015800 DEBUG + local replace_string
  2763. 2015800 DEBUG + local target_file
  2764. 2015800 DEBUG + ynh_handle_getopts_args --match_string=__NAME__ --replace_string=jellyseerr --target_file=/etc/systemd/system/jellyseerr.service
  2765. 2015800 DEBUG + set +o xtrace
  2766. 2015856 DEBUG + set +o xtrace
  2767. 2015856 DEBUG + sed --in-place $'s\001__NAME__\001jellyseerr\001g' /etc/systemd/system/jellyseerr.service
  2768. 2015858 DEBUG + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=jellyseerr --target_file=/etc/systemd/system/jellyseerr.service
  2769. 2015858 DEBUG + local legacy_args=mrf
  2770. 2015859 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
  2771. 2015859 DEBUG + local -A args_array
  2772. 2015859 DEBUG + local match_string
  2773. 2015859 DEBUG + local replace_string
  2774. 2015859 DEBUG + local target_file
  2775. 2015859 DEBUG + ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=jellyseerr --target_file=/etc/systemd/system/jellyseerr.service
  2776. 2015860 DEBUG + set +o xtrace
  2777. 2015932 DEBUG + set +o xtrace
  2778. 2015932 DEBUG + sed --in-place $'s\001__NAMETOCHANGE__\001jellyseerr\001g' /etc/systemd/system/jellyseerr.service
  2779. 2015936 DEBUG + ynh_replace_string --match_string=__USER__ --replace_string=jellyseerr --target_file=/etc/systemd/system/jellyseerr.service
  2780. 2015936 DEBUG + local legacy_args=mrf
  2781. 2015936 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
  2782. 2015936 DEBUG + local -A args_array
  2783. 2015937 DEBUG + local match_string
  2784. 2015937 DEBUG + local replace_string
  2785. 2015937 DEBUG + local target_file
  2786. 2015937 DEBUG + ynh_handle_getopts_args --match_string=__USER__ --replace_string=jellyseerr --target_file=/etc/systemd/system/jellyseerr.service
  2787. 2015937 DEBUG + set +o xtrace
  2788. 2016013 DEBUG + set +o xtrace
  2789. 2016013 DEBUG + sed --in-place $'s\001__USER__\001jellyseerr\001g' /etc/systemd/system/jellyseerr.service
  2790. 2016015 DEBUG + test -n ''
  2791. 2016015 DEBUG + dpkg --compare-versions 2.0 lt 2
  2792. 2016018 DEBUG + test -n PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  2793. 2016018 DEBUG + ynh_replace_string --match_string=__YNH_NODE_LOAD_PATH__ --replace_string=PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --target_file=/etc/systemd/system/jellyseerr.service
  2794. 2016019 DEBUG + local legacy_args=mrf
  2795. 2016019 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
  2796. 2016019 DEBUG + local -A args_array
  2797. 2016019 DEBUG + local match_string
  2798. 2016019 DEBUG + local replace_string
  2799. 2016019 DEBUG + local target_file
  2800. 2016019 DEBUG + ynh_handle_getopts_args --match_string=__YNH_NODE_LOAD_PATH__ --replace_string=PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --target_file=/etc/systemd/system/jellyseerr.service
  2801. 2016020 DEBUG + set +o xtrace
  2802. 2016100 DEBUG + set +o xtrace
  2803. 2016100 DEBUG + sed --in-place $'s\001__YNH_NODE_LOAD_PATH__\001PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\001g' /etc/systemd/system/jellyseerr.service
  2804. 2016103 DEBUG ++ sort --unique
  2805. 2016104 DEBUG ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/systemd/system/jellyseerr.service
  2806. 2016106 DEBUG ++ sed 's@__\([^.]*\)__@\L\1@g'
  2807. 2016157 DEBUG + uniques_vars=('app' 'install_dir' 'ynh_node')
  2808. 2016157 DEBUG + local uniques_vars
  2809. 2016157 DEBUG + local delimit=@
  2810. 2016157 DEBUG + for one_var in "${uniques_vars[@]}"
  2811. 2016157 DEBUG + [[ -v app ]]
  2812. 2016158 DEBUG + match_string=__APP__
  2813. 2016158 DEBUG + match_string=__APP__
  2814. 2016158 DEBUG + replace_string=jellyseerr
  2815. 2016158 DEBUG + replace_string=jellyseerr
  2816. 2016158 DEBUG + replace_string=jellyseerr
  2817. 2016158 DEBUG + sed --in-place s@__APP__@jellyseerr@g /etc/systemd/system/jellyseerr.service
  2818. 2016160 DEBUG + for one_var in "${uniques_vars[@]}"
  2819. 2016160 DEBUG + [[ -v install_dir ]]
  2820. 2016160 DEBUG + match_string=__INSTALL_DIR__
  2821. 2016160 DEBUG + match_string=__INSTALL_DIR__
  2822. 2016160 DEBUG + replace_string=/var/www/jellyseerr
  2823. 2016160 DEBUG + replace_string=/var/www/jellyseerr
  2824. 2016160 DEBUG + replace_string=/var/www/jellyseerr
  2825. 2016161 DEBUG + sed --in-place s@__INSTALL_DIR__@/var/www/jellyseerr@g /etc/systemd/system/jellyseerr.service
  2826. 2016162 DEBUG + for one_var in "${uniques_vars[@]}"
  2827. 2016162 DEBUG + [[ -v ynh_node ]]
  2828. 2016162 DEBUG + match_string=__YNH_NODE__
  2829. 2016163 DEBUG + match_string=__YNH_NODE__
  2830. 2016163 DEBUG + replace_string=/opt/node_n/n/versions/node/18/bin/node
  2831. 2016163 DEBUG + replace_string=/opt/node_n/n/versions/node/18/bin/node
  2832. 2016163 DEBUG + replace_string=/opt/node_n/n/versions/node/18/bin/node
  2833. 2016163 DEBUG + sed --in-place s@__YNH_NODE__@/opt/node_n/n/versions/node/18/bin/node@g /etc/systemd/system/jellyseerr.service
  2834. 2016165 DEBUG + ynh_store_file_checksum --file=/etc/systemd/system/jellyseerr.service
  2835. 2016165 DEBUG + local legacy_args=f
  2836. 2016165 DEBUG + args_array=(['f']='file=' ['u']='update_only')
  2837. 2016165 DEBUG + local -A args_array
  2838. 2016165 DEBUG + local file
  2839. 2016166 DEBUG + local update_only
  2840. 2016166 DEBUG + update_only=0
  2841. 2016166 DEBUG + ynh_handle_getopts_args --file=/etc/systemd/system/jellyseerr.service
  2842. 2016166 DEBUG + set +o xtrace
  2843. 2016191 DEBUG + local checksum_setting_name=checksum__etc_systemd_system_jellyseerr.service
  2844. 2016191 DEBUG + '[' 0 -eq 1 ']'
  2845. 2016192 DEBUG ++ md5sum /etc/systemd/system/jellyseerr.service
  2846. 2016194 DEBUG ++ cut '--delimiter= ' --fields=1
  2847. 2016209 DEBUG + ynh_app_setting_set --app=jellyseerr --key=checksum__etc_systemd_system_jellyseerr.service --value=eb66b90bd071b8d549f84d9d5cfa2161
  2848. 2016210 DEBUG + local _globalapp=jellyseerr
  2849. 2016210 DEBUG + local legacy_args=akv
  2850. 2016210 DEBUG + args_array=(['a']='app=' ['k']='key=' ['v']='value=')
  2851. 2016210 DEBUG + local -A args_array
  2852. 2016210 DEBUG + local app
  2853. 2016210 DEBUG + local key
  2854. 2016210 DEBUG + local value
  2855. 2016211 DEBUG + ynh_handle_getopts_args --app=jellyseerr --key=checksum__etc_systemd_system_jellyseerr.service --value=eb66b90bd071b8d549f84d9d5cfa2161
  2856. 2016211 DEBUG + set +o xtrace
  2857. 2016279 DEBUG + app=jellyseerr
  2858. 2016279 DEBUG + [[ checksum__etc_systemd_system_jellyseerr.service =~ (unprotected|protected|skipped)_ ]]
  2859. 2016279 DEBUG + ynh_app_setting set jellyseerr checksum__etc_systemd_system_jellyseerr.service eb66b90bd071b8d549f84d9d5cfa2161
  2860. 2016279 DEBUG + set +o xtrace
  2861. 2016348 DEBUG + '[' 0 -eq 1 ']'
  2862. 2016348 DEBUG + '[' -n '' ']'
  2863. 2016348 DEBUG + unset backup_file_checksum
  2864. 2016348 DEBUG + systemctl enable jellyseerr --quiet
  2865. 2019457 DEBUG + systemctl daemon-reload
  2866. 2019762 DEBUG + ynh_script_progression '--message=Configuring logrotate to manage application logfiles' --weight=1
  2867. 2019763 DEBUG + set +o xtrace
  2868. 2019814 DEBUG + set +o xtrace
  2869. 2019825 DEBUG + echo '! Helper used in legacy mode !'
  2870. 2019825 DEBUG + set +x
  2871. 2019827 DEBUG + echo '[##################+.] > Configuring logrotate to manage application logfiles'
  2872. 2019827 DEBUG + set -o xtrace
  2873. 2019827 DEBUG + ynh_use_logrotate --specific_user=jellyseerr
  2874. 2019827 DEBUG + all_args=('--specific_user=jellyseerr')
  2875. 2019827 DEBUG + local all_args
  2876. 2019828 INFO [##################+.] > Configuring logrotate to manage application logfiles
  2877. 2019828 DEBUG ++ seq 0 0
  2878. 2019829 DEBUG + for I in $(seq 0 $(($# - 1)))
  2879. 2019829 DEBUG + [[ --specific_user=jellyseerr == \-\-\n\o\n\-\a\p\p\e\n\d ]]
  2880. 2019829 DEBUG + set -- --specific_user=jellyseerr
  2881. 2019829 DEBUG + local legacy_args=lnu
  2882. 2019830 DEBUG + args_array=(['l']='logfile=' ['n']='nonappend' ['u']='specific_user=')
  2883. 2019830 DEBUG + local -A args_array
  2884. 2019830 DEBUG + local logfile
  2885. 2019830 DEBUG + local nonappend
  2886. 2019830 DEBUG + local specific_user
  2887. 2019830 DEBUG + ynh_handle_getopts_args --specific_user=jellyseerr
  2888. 2019830 DEBUG + set +o xtrace
  2889. 2019852 DEBUG + logfile=
  2890. 2019852 DEBUG + nonappend=0
  2891. 2019852 DEBUG + specific_user=jellyseerr
  2892. 2019852 DEBUG + '[' 1 -gt 0 ']'
  2893. 2019852 DEBUG ++ echo -
  2894. 2019852 DEBUG + '[' - '!=' - ']'
  2895. 2019853 DEBUG + local 'customtee=tee --append'
  2896. 2019853 DEBUG + '[' 0 -eq 1 ']'
  2897. 2019853 DEBUG + '[' -n '' ']'
  2898. 2019853 DEBUG + logfile='/var/log/jellyseerr/*.log'
  2899. 2019853 DEBUG + local su_directive=
  2900. 2019853 DEBUG + [[ -n jellyseerr ]]
  2901. 2019853 DEBUG + su_directive=' # Run logorotate as specific user - group
  2902. 2019854 DEBUG su jellyseerr jellyseerr'
  2903. 2019854 DEBUG + cat
  2904. 2019855 DEBUG ++ dirname '/var/log/jellyseerr/*.log'
  2905. 2019932 DEBUG + mkdir --parents /var/log/jellyseerr
  2906. 2019936 DEBUG + cat jellyseerr-logrotate
  2907. 2019936 DEBUG + tee --append /etc/logrotate.d/jellyseerr
  2908. 2020039 DEBUG + touch /var/log/jellyseerr/jellyseerr.log
  2909. 2020040 DEBUG + chown -R jellyseerr:www-data /var/log/jellyseerr/
  2910. 2020048 DEBUG + ynh_script_progression '--message=Integrating service in YunoHost...'
  2911. 2020049 DEBUG + set +o xtrace
  2912. 2020082 DEBUG + set +o xtrace
  2913. 2020093 DEBUG + echo '! Helper used in legacy mode !'
  2914. 2020093 DEBUG + set +x
  2915. 2020095 DEBUG + echo '[###################.] > Integrating service in YunoHost...'
  2916. 2020095 DEBUG + set -o xtrace
  2917. 2020095 INFO [###################.] > Integrating service in YunoHost...
  2918. 2020095 DEBUG + yunohost service add jellyseerr --log=/var/log/jellyseerr/jellyseerr.log
  2919. 2026245 DEBUG Le service 'jellyseerr' a été ajouté
  2920. 2026285 DEBUG + ynh_script_progression '--message=Updating a configuration file...' --weight=1
  2921. 2026285 DEBUG + set +o xtrace
  2922. 2026340 DEBUG + set +o xtrace
  2923. 2026351 DEBUG + echo '! Helper used in legacy mode !'
  2924. 2026351 DEBUG + set +x
  2925. 2026353 DEBUG + echo '[###################.] > Updating a configuration file...'
  2926. 2026353 INFO [###################.] > Updating a configuration file...
  2927. 2026353 DEBUG + set -o xtrace
  2928. 2026353 DEBUG + ynh_add_config --template=../conf/jellyseerr.conf --destination=/var/www/jellyseerr/jellyseerr.conf
  2929. 2026353 DEBUG + local legacy_args=tdv
  2930. 2026354 DEBUG + args_array=(['t']='template=' ['d']='destination=')
  2931. 2026354 DEBUG + local -A args_array
  2932. 2026354 DEBUG + local template
  2933. 2026354 DEBUG + local destination
  2934. 2026354 DEBUG + ynh_handle_getopts_args --template=../conf/jellyseerr.conf --destination=/var/www/jellyseerr/jellyseerr.conf
  2935. 2026354 DEBUG + set +o xtrace
  2936. 2026381 DEBUG + local template_path
  2937. 2026381 DEBUG + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/conf/../conf/jellyseerr.conf ']'
  2938. 2026381 DEBUG + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/conf/../conf/jellyseerr.conf
  2939. 2026381 DEBUG + ynh_backup_if_checksum_is_different --file=/var/www/jellyseerr/jellyseerr.conf
  2940. 2026382 DEBUG + local legacy_args=f
  2941. 2026382 DEBUG + args_array=(['f']='file=')
  2942. 2026382 DEBUG + local -A args_array
  2943. 2026382 DEBUG + local file
  2944. 2026382 DEBUG + ynh_handle_getopts_args --file=/var/www/jellyseerr/jellyseerr.conf
  2945. 2026382 DEBUG + set +o xtrace
  2946. 2026392 DEBUG + local checksum_setting_name=checksum__var_www_jellyseerr_jellyseerr.conf
  2947. 2026393 DEBUG ++ ynh_app_setting_get --app=jellyseerr --key=checksum__var_www_jellyseerr_jellyseerr.conf
  2948. 2026393 DEBUG ++ local _globalapp=jellyseerr
  2949. 2026394 DEBUG ++ local legacy_args=ak
  2950. 2026394 DEBUG ++ args_array=(['a']='app=' ['k']='key=')
  2951. 2026394 DEBUG ++ local -A args_array
  2952. 2026395 DEBUG ++ local app
  2953. 2026395 DEBUG ++ local key
  2954. 2026395 DEBUG ++ ynh_handle_getopts_args --app=jellyseerr --key=checksum__var_www_jellyseerr_jellyseerr.conf
  2955. 2026395 DEBUG ++ set +o xtrace
  2956. 2026428 DEBUG ++ app=jellyseerr
  2957. 2026429 DEBUG ++ [[ checksum__var_www_jellyseerr_jellyseerr.conf =~ (unprotected|protected|skipped)_ ]]
  2958. 2026429 DEBUG ++ ynh_app_setting get jellyseerr checksum__var_www_jellyseerr_jellyseerr.conf
  2959. 2026429 DEBUG ++ set +o xtrace
  2960. 2026483 DEBUG + local checksum_value=9c4064361f387f830413c0603e82cc6f
  2961. 2026483 DEBUG + backup_file_checksum=
  2962. 2026483 DEBUG + '[' -n 9c4064361f387f830413c0603e82cc6f ']'
  2963. 2026484 DEBUG + '[' -e /var/www/jellyseerr/jellyseerr.conf ']'
  2964. 2026484 DEBUG + touch /var/www/jellyseerr/jellyseerr.conf
  2965. 2026485 DEBUG + chown root:root /var/www/jellyseerr/jellyseerr.conf
  2966. 2026486 DEBUG + chmod 640 /var/www/jellyseerr/jellyseerr.conf
  2967. 2026487 DEBUG + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/conf/../conf/jellyseerr.conf /var/www/jellyseerr/jellyseerr.conf
  2968. 2026507 DEBUG + _ynh_apply_default_permissions /var/www/jellyseerr/jellyseerr.conf
  2969. 2026508 DEBUG + local target=/var/www/jellyseerr/jellyseerr.conf
  2970. 2026508 DEBUG ++ ynh_read_manifest --manifest_key=requirements.yunohost
  2971. 2026508 DEBUG ++ tr -d '<>= '
  2972. 2026509 DEBUG ++ local legacy_args=mk
  2973. 2026509 DEBUG ++ args_array=(['m']='manifest=' ['k']='manifest_key=')
  2974. 2026509 DEBUG ++ local -A args_array
  2975. 2026510 DEBUG ++ local manifest
  2976. 2026510 DEBUG ++ local manifest_key
  2977. 2026510 DEBUG ++ ynh_handle_getopts_args --manifest_key=requirements.yunohost
  2978. 2026510 DEBUG ++ set +o xtrace
  2979. 2026528 DEBUG ++ '[' '!' -e '' ']'
  2980. 2026528 DEBUG ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.json ']'
  2981. 2026528 DEBUG ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml ']'
  2982. 2026528 DEBUG ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml
  2983. 2026528 DEBUG ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml
  2984. 2026529 DEBUG ++ grep -q '\.json$'
  2985. 2026531 DEBUG ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_cvhb91xn/manifest.toml
  2986. 2026531 DEBUG ++ jq .requirements.yunohost --raw-output
  2987. 2026532 DEBUG ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
  2988. 2026585 DEBUG + local ynh_requirement=null
  2989. 2026585 DEBUG + dpkg --compare-versions 2.0 ge 2
  2990. 2026587 DEBUG + chmod o-rwx /var/www/jellyseerr/jellyseerr.conf
  2991. 2026588 DEBUG + chmod g-w /var/www/jellyseerr/jellyseerr.conf
  2992. 2026589 DEBUG + chown -R root:root /var/www/jellyseerr/jellyseerr.conf
  2993. 2026590 DEBUG + ynh_system_user_exists jellyseerr
  2994. 2026590 DEBUG + local legacy_args=u
  2995. 2026591 DEBUG + args_array=(['u']='username=')
  2996. 2026591 DEBUG + local -A args_array
  2997. 2026591 DEBUG + local username
  2998. 2026591 DEBUG + ynh_handle_getopts_args jellyseerr
  2999. 2026591 DEBUG + set +o xtrace
  3000. 2026598 DEBUG + echo '! Helper used in legacy mode !'
  3001. 2026598 DEBUG + set +x
  3002. 2026600 DEBUG + getent passwd jellyseerr
  3003. 2026602 DEBUG + chown jellyseerr:jellyseerr /var/www/jellyseerr/jellyseerr.conf
  3004. 2026603 DEBUG + echo /var/www/jellyseerr/jellyseerr.conf
  3005. 2026605 DEBUG + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system'
  3006. 2026607 DEBUG + ynh_replace_vars --file=/var/www/jellyseerr/jellyseerr.conf
  3007. 2026607 DEBUG + local legacy_args=f
  3008. 2026607 DEBUG + args_array=(['f']='file=')
  3009. 2026607 DEBUG + local -A args_array
  3010. 2026608 DEBUG + local file
  3011. 2026608 DEBUG + ynh_handle_getopts_args --file=/var/www/jellyseerr/jellyseerr.conf
  3012. 2026608 DEBUG + set +o xtrace
  3013. 2026617 DEBUG + test -n /
  3014. 2026617 DEBUG + local path_url_slash_less=
  3015. 2026617 DEBUG + ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/var/www/jellyseerr/jellyseerr.conf
  3016. 2026617 DEBUG + local legacy_args=mrf
  3017. 2026618 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
  3018. 2026618 DEBUG + local -A args_array
  3019. 2026618 DEBUG + local match_string
  3020. 2026618 DEBUG + local replace_string
  3021. 2026618 DEBUG + local target_file
  3022. 2026618 DEBUG + ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/ --target_file=/var/www/jellyseerr/jellyseerr.conf
  3023. 2026619 DEBUG + set +o xtrace
  3024. 2026674 DEBUG + set +o xtrace
  3025. 2026674 DEBUG + sed --in-place $'s\001__PATH__/\001/\001g' /var/www/jellyseerr/jellyseerr.conf
  3026. 2026676 DEBUG + ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/var/www/jellyseerr/jellyseerr.conf
  3027. 2026677 DEBUG + local legacy_args=mrf
  3028. 2026677 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
  3029. 2026677 DEBUG + local -A args_array
  3030. 2026677 DEBUG + local match_string
  3031. 2026677 DEBUG + local replace_string
  3032. 2026677 DEBUG + local target_file
  3033. 2026677 DEBUG + ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/ --target_file=/var/www/jellyseerr/jellyseerr.conf
  3034. 2026678 DEBUG + set +o xtrace
  3035. 2026733 DEBUG + set +o xtrace
  3036. 2026733 DEBUG + sed --in-place $'s\001__PATH__\001/\001g' /var/www/jellyseerr/jellyseerr.conf
  3037. 2026736 DEBUG + test -n jellyseerr
  3038. 2026736 DEBUG + ynh_replace_string --match_string=__NAME__ --replace_string=jellyseerr --target_file=/var/www/jellyseerr/jellyseerr.conf
  3039. 2026736 DEBUG + local legacy_args=mrf
  3040. 2026736 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
  3041. 2026736 DEBUG + local -A args_array
  3042. 2026736 DEBUG + local match_string
  3043. 2026736 DEBUG + local replace_string
  3044. 2026737 DEBUG + local target_file
  3045. 2026737 DEBUG + ynh_handle_getopts_args --match_string=__NAME__ --replace_string=jellyseerr --target_file=/var/www/jellyseerr/jellyseerr.conf
  3046. 2026737 DEBUG + set +o xtrace
  3047. 2026794 DEBUG + set +o xtrace
  3048. 2026794 DEBUG + sed --in-place $'s\001__NAME__\001jellyseerr\001g' /var/www/jellyseerr/jellyseerr.conf
  3049. 2026796 DEBUG + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=jellyseerr --target_file=/var/www/jellyseerr/jellyseerr.conf
  3050. 2026796 DEBUG + local legacy_args=mrf
  3051. 2026796 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
  3052. 2026797 DEBUG + local -A args_array
  3053. 2026797 DEBUG + local match_string
  3054. 2026797 DEBUG + local replace_string
  3055. 2026797 DEBUG + local target_file
  3056. 2026797 DEBUG + ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=jellyseerr --target_file=/var/www/jellyseerr/jellyseerr.conf
  3057. 2026797 DEBUG + set +o xtrace
  3058. 2026854 DEBUG + set +o xtrace
  3059. 2026854 DEBUG + sed --in-place $'s\001__NAMETOCHANGE__\001jellyseerr\001g' /var/www/jellyseerr/jellyseerr.conf
  3060. 2026857 DEBUG + ynh_replace_string --match_string=__USER__ --replace_string=jellyseerr --target_file=/var/www/jellyseerr/jellyseerr.conf
  3061. 2026857 DEBUG + local legacy_args=mrf
  3062. 2026857 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
  3063. 2026857 DEBUG + local -A args_array
  3064. 2026857 DEBUG + local match_string
  3065. 2026857 DEBUG + local replace_string
  3066. 2026857 DEBUG + local target_file
  3067. 2026858 DEBUG + ynh_handle_getopts_args --match_string=__USER__ --replace_string=jellyseerr --target_file=/var/www/jellyseerr/jellyseerr.conf
  3068. 2026858 DEBUG + set +o xtrace
  3069. 2026915 DEBUG + set +o xtrace
  3070. 2026915 DEBUG + sed --in-place $'s\001__USER__\001jellyseerr\001g' /var/www/jellyseerr/jellyseerr.conf
  3071. 2026917 DEBUG + test -n ''
  3072. 2026917 DEBUG + dpkg --compare-versions 2.0 lt 2
  3073. 2026919 DEBUG + test -n PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  3074. 2026919 DEBUG + ynh_replace_string --match_string=__YNH_NODE_LOAD_PATH__ --replace_string=PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --target_file=/var/www/jellyseerr/jellyseerr.conf
  3075. 2026919 DEBUG + local legacy_args=mrf
  3076. 2026919 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
  3077. 2026919 DEBUG + local -A args_array
  3078. 2026919 DEBUG + local match_string
  3079. 2026919 DEBUG + local replace_string
  3080. 2026920 DEBUG + local target_file
  3081. 2026920 DEBUG + ynh_handle_getopts_args --match_string=__YNH_NODE_LOAD_PATH__ --replace_string=PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --target_file=/var/www/jellyseerr/jellyseerr.conf
  3082. 2026920 DEBUG + set +o xtrace
  3083. 2026977 DEBUG + set +o xtrace
  3084. 2026977 DEBUG + sed --in-place $'s\001__YNH_NODE_LOAD_PATH__\001PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\001g' /var/www/jellyseerr/jellyseerr.conf
  3085. 2026979 DEBUG ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /var/www/jellyseerr/jellyseerr.conf
  3086. 2026980 DEBUG ++ sed 's@__\([^.]*\)__@\L\1@g'
  3087. 2026981 DEBUG ++ sort --unique
  3088. 2026983 DEBUG + uniques_vars=('port')
  3089. 2026984 DEBUG + local uniques_vars
  3090. 2026984 DEBUG + local delimit=@
  3091. 2026984 DEBUG + for one_var in "${uniques_vars[@]}"
  3092. 2026984 DEBUG + [[ -v port ]]
  3093. 2026984 DEBUG + match_string=__PORT__
  3094. 2026984 DEBUG + match_string=__PORT__
  3095. 2026985 DEBUG + replace_string=5055
  3096. 2026985 DEBUG + replace_string=5055
  3097. 2026985 DEBUG + replace_string=5055
  3098. 2026985 DEBUG + sed --in-place s@__PORT__@5055@g /var/www/jellyseerr/jellyseerr.conf
  3099. 2026986 DEBUG + ynh_store_file_checksum --file=/var/www/jellyseerr/jellyseerr.conf
  3100. 2026986 DEBUG + local legacy_args=f
  3101. 2026986 DEBUG + args_array=(['f']='file=' ['u']='update_only')
  3102. 2026986 DEBUG + local -A args_array
  3103. 2026987 DEBUG + local file
  3104. 2026987 DEBUG + local update_only
  3105. 2026987 DEBUG + update_only=0
  3106. 2026987 DEBUG + ynh_handle_getopts_args --file=/var/www/jellyseerr/jellyseerr.conf
  3107. 2026987 DEBUG + set +o xtrace
  3108. 2027002 DEBUG + local checksum_setting_name=checksum__var_www_jellyseerr_jellyseerr.conf
  3109. 2027002 DEBUG + '[' 0 -eq 1 ']'
  3110. 2027003 DEBUG ++ cut '--delimiter= ' --fields=1
  3111. 2027003 DEBUG ++ md5sum /var/www/jellyseerr/jellyseerr.conf
  3112. 2027006 DEBUG + ynh_app_setting_set --app=jellyseerr --key=checksum__var_www_jellyseerr_jellyseerr.conf --value=9c4064361f387f830413c0603e82cc6f
  3113. 2027006 DEBUG + local _globalapp=jellyseerr
  3114. 2027006 DEBUG + local legacy_args=akv
  3115. 2027006 DEBUG + args_array=(['a']='app=' ['k']='key=' ['v']='value=')
  3116. 2027006 DEBUG + local -A args_array
  3117. 2027007 DEBUG + local app
  3118. 2027007 DEBUG + local key
  3119. 2027007 DEBUG + local value
  3120. 2027007 DEBUG + ynh_handle_getopts_args --app=jellyseerr --key=checksum__var_www_jellyseerr_jellyseerr.conf --value=9c4064361f387f830413c0603e82cc6f
  3121. 2027007 DEBUG + set +o xtrace
  3122. 2027064 DEBUG + app=jellyseerr
  3123. 2027065 DEBUG + [[ checksum__var_www_jellyseerr_jellyseerr.conf =~ (unprotected|protected|skipped)_ ]]
  3124. 2027065 DEBUG + ynh_app_setting set jellyseerr checksum__var_www_jellyseerr_jellyseerr.conf 9c4064361f387f830413c0603e82cc6f
  3125. 2027065 DEBUG + set +o xtrace
  3126. 2027122 DEBUG + '[' 0 -eq 1 ']'
  3127. 2027123 DEBUG + '[' -n '' ']'
  3128. 2027123 DEBUG + unset backup_file_checksum
  3129. 2027123 DEBUG + chmod 600 /var/www/jellyseerr/jellyseerr.conf
  3130. 2027125 DEBUG + chown jellyseerr:jellyseerr /var/www/jellyseerr/jellyseerr.conf
  3131. 2027127 DEBUG + ynh_script_progression '--message=Starting a systemd service...' --weight=1
  3132. 2027127 DEBUG + set +o xtrace
  3133. 2027186 DEBUG + set +o xtrace
  3134. 2027198 DEBUG + echo '! Helper used in legacy mode !'
  3135. 2027198 DEBUG + set +x
  3136. 2027200 INFO [###################.] > Starting a systemd service...
  3137. 2027201 DEBUG + echo '[###################.] > Starting a systemd service...'
  3138. 2027201 DEBUG + set -o xtrace
  3139. 2027201 DEBUG + ynh_exec_warn_less ynh_systemd_action --service_name=jellyseerr --action=start --log_path=/var/log/jellyseerr/jellyseerr.log '--line_match=Starting Overseer version'
  3140. 2027201 DEBUG + [[ 5 -eq 1 ]]
  3141. 2027201 DEBUG + ynh_systemd_action --service_name=jellyseerr --action=start --log_path=/var/log/jellyseerr/jellyseerr.log '--line_match=Starting Overseer version'
  3142. 2027201 DEBUG + local legacy_args=nalpte
  3143. 2027201 DEBUG + args_array=(['n']='service_name=' ['a']='action=' ['l']='line_match=' ['p']='log_path=' ['t']='timeout=' ['e']='length=')
  3144. 2027202 DEBUG + local -A args_array
  3145. 2027202 DEBUG + local service_name
  3146. 2027202 DEBUG + local action
  3147. 2027202 DEBUG + local line_match
  3148. 2027202 DEBUG + local length
  3149. 2027202 DEBUG + local log_path
  3150. 2027202 DEBUG + local timeout
  3151. 2027203 DEBUG + ynh_handle_getopts_args --service_name=jellyseerr --action=start --log_path=/var/log/jellyseerr/jellyseerr.log '--line_match=Starting Overseer version'
  3152. 2027203 DEBUG + set +o xtrace
  3153. 2027344 DEBUG + service_name=jellyseerr
  3154. 2027345 DEBUG + action=start
  3155. 2027345 DEBUG + line_match='Starting Overseer version'
  3156. 2027345 DEBUG + length=20
  3157. 2027345 DEBUG + log_path=/var/log/jellyseerr/jellyseerr.log
  3158. 2027345 DEBUG + timeout=300
  3159. 2027345 DEBUG + '[' start == stop ']'
  3160. 2027345 DEBUG + [[ -n Starting Overseer version ]]
  3161. 2027346 DEBUG ++ mktemp
  3162. 2027381 DEBUG + local templog=/tmp/tmp.8GjqGgph5L
  3163. 2027382 DEBUG + '[' /var/log/jellyseerr/jellyseerr.log == systemd ']'
  3164. 2027382 DEBUG + local pid_tail=3419536
  3165. 2027382 DEBUG + '[' start == reload ']'
  3166. 2027383 DEBUG + tail --follow=name --retry --lines=0 /var/log/jellyseerr/jellyseerr.log
  3167. 2027383 DEBUG ++ cut -d+ -f1
  3168. 2027384 DEBUG ++ date --utc --rfc-3339=seconds
  3169. 2027385 DEBUG + local 'time_start=2023-09-07 08:51:22 UTC'
  3170. 2027386 DEBUG + systemctl start jellyseerr
  3171. 2027398 DEBUG + [[ -n Starting Overseer version ]]
  3172. 2027398 DEBUG + set +x
  3173. 2056730 DEBUG (this may take some time)
  3174. 2328656 DEBUG + '[' 300 -ge 3 ']'
  3175. 2328656 DEBUG + echo ''
  3176. 2328656 DEBUG
  3177. 2328657 DEBUG + '[' 300 -eq 300 ']'
  3178. 2328657 DEBUG + ynh_print_warn '--message=The service jellyseerr didn'\''t fully executed the action start before the timeout.'
  3179. 2328657 DEBUG + local legacy_args=m
  3180. 2328658 DEBUG + args_array=(['m']='message=')
  3181. 2328658 DEBUG + local -A args_array
  3182. 2328658 DEBUG + local message
  3183. 2328658 DEBUG + ynh_handle_getopts_args '--message=The service jellyseerr didn'\''t fully executed the action start before the timeout.'
  3184. 2328658 DEBUG + set +o xtrace
  3185. 2328670 DEBUG + ynh_print_log 'The service jellyseerr didn'\''t fully executed the action start before the timeout.'
  3186. 2328670 DEBUG + echo -e 'The service jellyseerr didn'\''t fully executed the action start before the timeout.'
  3187. 2328670 DEBUG The service jellyseerr didn't fully executed the action start before the timeout.
  3188. 2328671 DEBUG + ynh_print_warn '--message=Please find here an extract of the end of the log of the service jellyseerr:'
  3189. 2328671 DEBUG + local legacy_args=m
  3190. 2328671 DEBUG + args_array=(['m']='message=')
  3191. 2328671 DEBUG + local -A args_array
  3192. 2328672 DEBUG + local message
  3193. 2328672 DEBUG + ynh_handle_getopts_args '--message=Please find here an extract of the end of the log of the service jellyseerr:'
  3194. 2328672 DEBUG + set +o xtrace
  3195. 2328682 DEBUG + ynh_print_log 'Please find here an extract of the end of the log of the service jellyseerr:'
  3196. 2328682 DEBUG + echo -e 'Please find here an extract of the end of the log of the service jellyseerr:'
  3197. 2328683 DEBUG Please find here an extract of the end of the log of the service jellyseerr:
  3198. 2328683 DEBUG + ynh_exec_warn journalctl --quiet --no-hostname --no-pager --lines=20 --unit=jellyseerr
  3199. 2328683 DEBUG + [[ 6 -eq 1 ]]
  3200. 2328683 DEBUG ++ journalctl --quiet --no-hostname --no-pager --lines=20 --unit=jellyseerr
  3201. 2336534 DEBUG + ynh_print_warn '--message=août 10 22:18:50 systemd[1]: jellyseerr.service: Succeeded.
  3202. 2336535 DEBUG août 10 22:18:50 systemd[1]: Stopped Jellyseer Service.
  3203. 2336535 DEBUG août 10 22:18:50 systemd[1]: jellyseerr.service: Consumed 8min 25.384s CPU time.
  3204. 2336535 DEBUG août 10 22:33:00 systemd[1]: Started Jellyseer Service.
  3205. 2336535 DEBUG août 19 19:16:35 systemd[1]: Started Jellyseer Service.
  3206. 2336535 DEBUG août 24 19:17:23 systemd[1]: Stopping Jellyseer Service...
  3207. 2336535 DEBUG août 24 19:17:24 systemd[1]: jellyseerr.service: Succeeded.
  3208. 2336535 DEBUG août 24 19:17:24 systemd[1]: Stopped Jellyseer Service.
  3209. 2336536 DEBUG août 24 19:17:24 systemd[1]: jellyseerr.service: Consumed 18min 28.289s CPU time.
  3210. 2336536 DEBUG août 24 19:20:16 systemd[1]: Started Jellyseer Service.
  3211. 2336536 DEBUG août 24 19:42:20 systemd[1]: Stopping Jellyseer Service...
  3212. 2336536 DEBUG août 24 19:42:20 systemd[1]: jellyseerr.service: Succeeded.
  3213. 2336536 DEBUG août 24 19:42:20 systemd[1]: Stopped Jellyseer Service.
  3214. 2336537 DEBUG août 24 19:42:20 systemd[1]: jellyseerr.service: Consumed 10.999s CPU time.
  3215. 2336537 DEBUG août 24 20:00:11 systemd[1]: Started Jellyseer Service.
  3216. 2336537 DEBUG sept. 07 10:29:45 systemd[1]: Stopping Jellyseer Service...
  3217. 2336537 DEBUG sept. 07 10:29:45 systemd[1]: jellyseerr.service: Succeeded.
  3218. 2336537 DEBUG sept. 07 10:29:45 systemd[1]: Stopped Jellyseer Service.
  3219. 2336538 DEBUG sept. 07 10:29:45 systemd[1]: jellyseerr.service: Consumed 53min 34.103s CPU time.
  3220. 2336538 DEBUG sept. 07 10:51:22 systemd[1]: Started Jellyseer Service.'
  3221. 2336538 DEBUG + local legacy_args=m
  3222. 2336538 DEBUG + args_array=(['m']='message=')
  3223. 2336539 DEBUG + local -A args_array
  3224. 2336539 DEBUG + local message
  3225. 2336539 DEBUG + ynh_handle_getopts_args '--message=août 10 22:18:50 systemd[1]: jellyseerr.service: Succeeded.
  3226. 2336540 DEBUG août 10 22:18:50 systemd[1]: Stopped Jellyseer Service.
  3227. 2336540 DEBUG août 10 22:18:50 systemd[1]: jellyseerr.service: Consumed 8min 25.384s CPU time.
  3228. 2336540 DEBUG août 10 22:33:00 systemd[1]: Started Jellyseer Service.
  3229. 2336540 DEBUG août 19 19:16:35 systemd[1]: Started Jellyseer Service.
  3230. 2336541 DEBUG août 24 19:17:23 systemd[1]: Stopping Jellyseer Service...
  3231. 2336541 DEBUG août 24 19:17:24 systemd[1]: jellyseerr.service: Succeeded.
  3232. 2336542 DEBUG août 24 19:17:24 systemd[1]: Stopped Jellyseer Service.
  3233. 2336542 DEBUG août 24 19:17:24 systemd[1]: jellyseerr.service: Consumed 18min 28.289s CPU time.
  3234. 2336542 DEBUG août 24 19:20:16 systemd[1]: Started Jellyseer Service.
  3235. 2336542 DEBUG août 24 19:42:20 systemd[1]: Stopping Jellyseer Service...
  3236. 2336542 DEBUG août 24 19:42:20 systemd[1]: jellyseerr.service: Succeeded.
  3237. 2336543 DEBUG août 24 19:42:20 systemd[1]: Stopped Jellyseer Service.
  3238. 2336543 DEBUG août 24 19:42:20 systemd[1]: jellyseerr.service: Consumed 10.999s CPU time.
  3239. 2336543 DEBUG août 24 20:00:11 systemd[1]: Started Jellyseer Service.
  3240. 2336543 DEBUG sept. 07 10:29:45 systemd[1]: Stopping Jellyseer Service...
  3241. 2336544 DEBUG sept. 07 10:29:45 systemd[1]: jellyseerr.service: Succeeded.
  3242. 2336544 DEBUG sept. 07 10:29:45 systemd[1]: Stopped Jellyseer Service.
  3243. 2336544 DEBUG sept. 07 10:29:45 systemd[1]: jellyseerr.service: Consumed 53min 34.103s CPU time.
  3244. 2336544 DEBUG sept. 07 10:51:22 systemd[1]: Started Jellyseer Service.'
  3245. 2336545 DEBUG + set +o xtrace
  3246. 2336555 DEBUG + ynh_print_log 'août 10 22:18:50 systemd[1]: jellyseerr.service: Succeeded.
  3247. 2336555 DEBUG août 10 22:18:50 systemd[1]: Stopped Jellyseer Service.
  3248. 2336555 DEBUG août 10 22:18:50 systemd[1]: jellyseerr.service: Consumed 8min 25.384s CPU time.
  3249. 2336555 DEBUG août 10 22:33:00 systemd[1]: Started Jellyseer Service.
  3250. 2336555 DEBUG août 19 19:16:35 systemd[1]: Started Jellyseer Service.
  3251. 2336555 DEBUG août 24 19:17:23 systemd[1]: Stopping Jellyseer Service...
  3252. 2336556 DEBUG août 24 19:17:24 systemd[1]: jellyseerr.service: Succeeded.
  3253. 2336556 DEBUG août 24 19:17:24 systemd[1]: Stopped Jellyseer Service.
  3254. 2336556 DEBUG août 24 19:17:24 systemd[1]: jellyseerr.service: Consumed 18min 28.289s CPU time.
  3255. 2336556 DEBUG août 24 19:20:16 systemd[1]: Started Jellyseer Service.
  3256. 2336556 DEBUG août 24 19:42:20 systemd[1]: Stopping Jellyseer Service...
  3257. 2336556 DEBUG août 24 19:42:20 systemd[1]: jellyseerr.service: Succeeded.
  3258. 2336556 DEBUG août 24 19:42:20 systemd[1]: Stopped Jellyseer Service.
  3259. 2336557 DEBUG août 24 19:42:20 systemd[1]: jellyseerr.service: Consumed 10.999s CPU time.
  3260. 2336557 DEBUG août 24 20:00:11 systemd[1]: Started Jellyseer Service.
  3261. 2336557 DEBUG sept. 07 10:29:45 systemd[1]: Stopping Jellyseer Service...
  3262. 2336557 DEBUG sept. 07 10:29:45 systemd[1]: jellyseerr.service: Succeeded.
  3263. 2336557 DEBUG sept. 07 10:29:45 systemd[1]: Stopped Jellyseer Service.
  3264. 2336557 DEBUG sept. 07 10:29:45 systemd[1]: jellyseerr.service: Consumed 53min 34.103s CPU time.
  3265. 2336557 DEBUG sept. 07 10:51:22 systemd[1]: Started Jellyseer Service.'
  3266. 2336558 DEBUG + echo -e 'août 10 22:18:50 systemd[1]: jellyseerr.service: Succeeded.
  3267. 2336558 DEBUG août 10 22:18:50 systemd[1]: Stopped Jellyseer Service.
  3268. 2336558 DEBUG août 10 22:18:50 systemd[1]: jellyseerr.service: Consumed 8min 25.384s CPU time.
  3269. 2336558 DEBUG août 10 22:33:00 systemd[1]: Started Jellyseer Service.
  3270. 2336558 DEBUG août 19 19:16:35 systemd[1]: Started Jellyseer Service.
  3271. 2336558 DEBUG août 24 19:17:23 systemd[1]: Stopping Jellyseer Service...
  3272. 2336558 DEBUG août 24 19:17:24 systemd[1]: jellyseerr.service: Succeeded.
  3273. 2336559 DEBUG août 24 19:17:24 systemd[1]: Stopped Jellyseer Service.
  3274. 2336559 DEBUG août 24 19:17:24 systemd[1]: jellyseerr.service: Consumed 18min 28.289s CPU time.
  3275. 2336559 DEBUG août 24 19:20:16 systemd[1]: Started Jellyseer Service.
  3276. 2336559 DEBUG août 24 19:42:20 systemd[1]: Stopping Jellyseer Service...
  3277. 2336560 DEBUG août 24 19:42:20 systemd[1]: jellyseerr.service: Succeeded.
  3278. 2336562 DEBUG août 24 19:42:20 systemd[1]: Stopped Jellyseer Service.
  3279. 2336562 DEBUG août 24 19:42:20 systemd[1]: jellyseerr.service: Consumed 10.999s CPU time.
  3280. 2336562 DEBUG août 24 20:00:11 systemd[1]: Started Jellyseer Service.
  3281. 2336563 DEBUG sept. 07 10:29:45 systemd[1]: Stopping Jellyseer Service...
  3282. 2336564 DEBUG sept. 07 10:29:45 systemd[1]: jellyseerr.service: Succeeded.
  3283. 2336564 DEBUG sept. 07 10:29:45 systemd[1]: Stopped Jellyseer Service.
  3284. 2336564 DEBUG sept. 07 10:29:45 systemd[1]: jellyseerr.service: Consumed 53min 34.103s CPU time.
  3285. 2336564 DEBUG sept. 07 10:51:22 systemd[1]: Started Jellyseer Service.'
  3286. 2336565 DEBUG août 10 22:18:50 systemd[1]: jellyseerr.service: Succeeded.
  3287. 2336565 DEBUG août 10 22:18:50 systemd[1]: Stopped Jellyseer Service.
  3288. 2336565 DEBUG août 10 22:18:50 systemd[1]: jellyseerr.service: Consumed 8min 25.384s CPU time.
  3289. 2336565 DEBUG août 10 22:33:00 systemd[1]: Started Jellyseer Service.
  3290. 2336566 DEBUG août 19 19:16:35 systemd[1]: Started Jellyseer Service.
  3291. 2336566 DEBUG août 24 19:17:23 systemd[1]: Stopping Jellyseer Service...
  3292. 2336566 DEBUG août 24 19:17:24 systemd[1]: jellyseerr.service: Succeeded.
  3293. 2336566 DEBUG août 24 19:17:24 systemd[1]: Stopped Jellyseer Service.
  3294. 2336567 DEBUG août 24 19:17:24 systemd[1]: jellyseerr.service: Consumed 18min 28.289s CPU time.
  3295. 2336567 DEBUG août 24 19:20:16 systemd[1]: Started Jellyseer Service.
  3296. 2336567 DEBUG août 24 19:42:20 systemd[1]: Stopping Jellyseer Service...
  3297. 2336567 DEBUG août 24 19:42:20 systemd[1]: jellyseerr.service: Succeeded.
  3298. 2336567 DEBUG août 24 19:42:20 systemd[1]: Stopped Jellyseer Service.
  3299. 2336568 DEBUG août 24 19:42:20 systemd[1]: jellyseerr.service: Consumed 10.999s CPU time.
  3300. 2336568 DEBUG août 24 20:00:11 systemd[1]: Started Jellyseer Service.
  3301. 2336570 DEBUG sept. 07 10:29:45 systemd[1]: Stopping Jellyseer Service...
  3302. 2336570 DEBUG sept. 07 10:29:45 systemd[1]: jellyseerr.service: Succeeded.
  3303. 2336570 DEBUG sept. 07 10:29:45 systemd[1]: Stopped Jellyseer Service.
  3304. 2336570 DEBUG sept. 07 10:29:45 systemd[1]: jellyseerr.service: Consumed 53min 34.103s CPU time.
  3305. 2336571 DEBUG sept. 07 10:51:22 systemd[1]: Started Jellyseer Service.
  3306. 2336571 DEBUG + '[' -e /var/log/jellyseerr/jellyseerr.log ']'
  3307. 2336571 DEBUG + ynh_print_warn '--message=\-\-\-'
  3308. 2336571 DEBUG + local legacy_args=m
  3309. 2336572 DEBUG + args_array=(['m']='message=')
  3310. 2336572 DEBUG + local -A args_array
  3311. 2336573 DEBUG + local message
  3312. 2336574 DEBUG + ynh_handle_getopts_args '--message=\-\-\-'
  3313. 2336574 DEBUG + set +o xtrace
  3314. 2336577 DEBUG + ynh_print_log '\-\-\-'
  3315. 2336577 DEBUG + echo -e '\-\-\-'
  3316. 2336577 DEBUG \-\-\-
  3317. 2336578 DEBUG + ynh_exec_warn tail --lines=20 /var/log/jellyseerr/jellyseerr.log
  3318. 2336578 DEBUG + [[ 3 -eq 1 ]]
  3319. 2336578 DEBUG ++ tail --lines=20 /var/log/jellyseerr/jellyseerr.log
  3320. 2336580 DEBUG + ynh_print_warn '--message=2023-09-07T08:55:01.037Z [debug][Jellyfin Sync]: Title already exists and no new media types found Punch-Drunk Love
  3321. 2336580 DEBUG 2023-09-07T08:55:01.038Z [debug][Jellyfin Sync]: Title already exists and no new media types found Asteroid City
  3322. 2336580 DEBUG 2023-09-07T08:55:01.121Z [debug][Jellyfin Sync]: Title already exists and no new media types found Death and the Maiden
  3323. 2336580 DEBUG 2023-09-07T08:55:01.123Z [debug][Jellyfin Sync]: Title already exists and no new media types found Transformers: The Last Knight
  3324. 2336581 DEBUG 2023-09-07T08:55:01.189Z [debug][Jellyfin Sync]: Title already exists and no new media types found Polytechnique
  3325. 2336581 DEBUG 2023-09-07T08:55:01.221Z [debug][Jellyfin Sync]: Title already exists and no new media types found Maelstrom
  3326. 2336581 DEBUG 2023-09-07T08:55:01.296Z [debug][Jellyfin Sync]: Title already exists and no new media types found The Flash
  3327. 2336581 DEBUG 2023-09-07T08:55:01.297Z [debug][Jellyfin Sync]: Title already exists and no new media types found Disco Boy
  3328. 2336581 DEBUG 2023-09-07T08:55:05.302Z [info][Jellyfin Sync]: Beginning to process recently added for library: SÉRIES
  3329. 2336581 DEBUG 2023-09-07T08:55:05.889Z [debug][Jellyfin Sync]: Updating existing title: Cyberpunk: Edgerunners
  3330. 2336581 DEBUG 2023-09-07T08:55:05.910Z [debug][Jellyfin Sync]: Updating existing title: Who Is America?
  3331. 2336582 DEBUG 2023-09-07T08:55:06.098Z [debug][Jellyfin Sync]: Updating existing title: Cunk on...
  3332. 2336582 DEBUG 2023-09-07T08:55:06.191Z [debug][Jellyfin Sync]: Updating existing title: Baraki
  3333. 2336582 DEBUG 2023-09-07T08:55:06.309Z [debug][Jellyfin Sync]: Updating existing title: Call My Agent!
  3334. 2336582 DEBUG 2023-09-07T08:55:06.311Z [debug][Jellyfin Sync]: Updating existing title: The Man in the High Castle
  3335. 2336582 DEBUG 2023-09-07T08:55:06.312Z [debug][Jellyfin Sync]: Updating existing title: Black Mirror
  3336. 2336582 DEBUG 2023-09-07T08:55:06.340Z [debug][Jellyfin Sync]: Updating existing title: The Eric Andre Show
  3337. 2336582 DEBUG 2023-09-07T08:55:06.585Z [debug][Jellyfin Sync]: Updating existing title: Robot Chicken
  3338. 2336583 DEBUG 2023-09-07T08:55:10.589Z [info][Jellyfin Sync]: Recently Added Scan Complete
  3339. 2336583 DEBUG 2023-09-07T08:56:00.025Z [debug][Jobs]: Starting scheduled job: Download Sync '
  3340. 2336583 DEBUG + local legacy_args=m
  3341. 2336583 DEBUG + args_array=(['m']='message=')
  3342. 2336583 DEBUG + local -A args_array
  3343. 2336583 DEBUG + local message
  3344. 2336584 DEBUG + ynh_handle_getopts_args '--message=2023-09-07T08:55:01.037Z [debug][Jellyfin Sync]: Title already exists and no new media types found Punch-Drunk Love
  3345. 2336584 DEBUG 2023-09-07T08:55:01.038Z [debug][Jellyfin Sync]: Title already exists and no new media types found Asteroid City
  3346. 2336584 DEBUG 2023-09-07T08:55:01.121Z [debug][Jellyfin Sync]: Title already exists and no new media types found Death and the Maiden
  3347. 2336584 DEBUG 2023-09-07T08:55:01.123Z [debug][Jellyfin Sync]: Title already exists and no new media types found Transformers: The Last Knight
  3348. 2336584 DEBUG 2023-09-07T08:55:01.189Z [debug][Jellyfin Sync]: Title already exists and no new media types found Polytechnique
  3349. 2336584 DEBUG 2023-09-07T08:55:01.221Z [debug][Jellyfin Sync]: Title already exists and no new media types found Maelstrom
  3350. 2336585 DEBUG 2023-09-07T08:55:01.296Z [debug][Jellyfin Sync]: Title already exists and no new media types found The Flash
  3351. 2336585 DEBUG 2023-09-07T08:55:01.297Z [debug][Jellyfin Sync]: Title already exists and no new media types found Disco Boy
  3352. 2336585 DEBUG 2023-09-07T08:55:05.302Z [info][Jellyfin Sync]: Beginning to process recently added for library: SÉRIES
  3353. 2336585 DEBUG 2023-09-07T08:55:05.889Z [debug][Jellyfin Sync]: Updating existing title: Cyberpunk: Edgerunners
  3354. 2336585 DEBUG 2023-09-07T08:55:05.910Z [debug][Jellyfin Sync]: Updating existing title: Who Is America?
  3355. 2336585 DEBUG 2023-09-07T08:55:06.098Z [debug][Jellyfin Sync]: Updating existing title: Cunk on...
  3356. 2336585 DEBUG 2023-09-07T08:55:06.191Z [debug][Jellyfin Sync]: Updating existing title: Baraki
  3357. 2336586 DEBUG 2023-09-07T08:55:06.309Z [debug][Jellyfin Sync]: Updating existing title: Call My Agent!
  3358. 2336586 DEBUG 2023-09-07T08:55:06.311Z [debug][Jellyfin Sync]: Updating existing title: The Man in the High Castle
  3359. 2336586 DEBUG 2023-09-07T08:55:06.312Z [debug][Jellyfin Sync]: Updating existing title: Black Mirror
  3360. 2336586 DEBUG 2023-09-07T08:55:06.340Z [debug][Jellyfin Sync]: Updating existing title: The Eric Andre Show
  3361. 2336586 DEBUG 2023-09-07T08:55:06.585Z [debug][Jellyfin Sync]: Updating existing title: Robot Chicken
  3362. 2336586 DEBUG 2023-09-07T08:55:10.589Z [info][Jellyfin Sync]: Recently Added Scan Complete
  3363. 2336586 DEBUG 2023-09-07T08:56:00.025Z [debug][Jobs]: Starting scheduled job: Download Sync '
  3364. 2336587 DEBUG + set +o xtrace
  3365. 2336596 DEBUG + ynh_print_log '2023-09-07T08:55:01.037Z [debug][Jellyfin Sync]: Title already exists and no new media types found Punch-Drunk Love
  3366. 2336596 DEBUG 2023-09-07T08:55:01.038Z [debug][Jellyfin Sync]: Title already exists and no new media types found Asteroid City
  3367. 2336597 DEBUG 2023-09-07T08:55:01.121Z [debug][Jellyfin Sync]: Title already exists and no new media types found Death and the Maiden
  3368. 2336597 DEBUG 2023-09-07T08:55:01.123Z [debug][Jellyfin Sync]: Title already exists and no new media types found Transformers: The Last Knight
  3369. 2336597 DEBUG 2023-09-07T08:55:01.189Z [debug][Jellyfin Sync]: Title already exists and no new media types found Polytechnique
  3370. 2336597 DEBUG 2023-09-07T08:55:01.221Z [debug][Jellyfin Sync]: Title already exists and no new media types found Maelstrom
  3371. 2336597 DEBUG 2023-09-07T08:55:01.296Z [debug][Jellyfin Sync]: Title already exists and no new media types found The Flash
  3372. 2336597 DEBUG 2023-09-07T08:55:01.297Z [debug][Jellyfin Sync]: Title already exists and no new media types found Disco Boy
  3373. 2336598 DEBUG 2023-09-07T08:55:05.302Z [info][Jellyfin Sync]: Beginning to process recently added for library: SÉRIES
  3374. 2336598 DEBUG 2023-09-07T08:55:05.889Z [debug][Jellyfin Sync]: Updating existing title: Cyberpunk: Edgerunners
  3375. 2336598 DEBUG 2023-09-07T08:55:05.910Z [debug][Jellyfin Sync]: Updating existing title: Who Is America?
  3376. 2336598 DEBUG 2023-09-07T08:55:06.098Z [debug][Jellyfin Sync]: Updating existing title: Cunk on...
  3377. 2336598 DEBUG 2023-09-07T08:55:06.191Z [debug][Jellyfin Sync]: Updating existing title: Baraki
  3378. 2336598 DEBUG 2023-09-07T08:55:06.309Z [debug][Jellyfin Sync]: Updating existing title: Call My Agent!
  3379. 2336598 DEBUG 2023-09-07T08:55:06.311Z [debug][Jellyfin Sync]: Updating existing title: The Man in the High Castle
  3380. 2336599 DEBUG 2023-09-07T08:55:06.312Z [debug][Jellyfin Sync]: Updating existing title: Black Mirror
  3381. 2336599 DEBUG 2023-09-07T08:55:06.340Z [debug][Jellyfin Sync]: Updating existing title: The Eric Andre Show
  3382. 2336599 DEBUG 2023-09-07T08:55:06.585Z [debug][Jellyfin Sync]: Updating existing title: Robot Chicken
  3383. 2336599 DEBUG 2023-09-07T08:55:10.589Z [info][Jellyfin Sync]: Recently Added Scan Complete
  3384. 2336599 DEBUG 2023-09-07T08:56:00.025Z [debug][Jobs]: Starting scheduled job: Download Sync '
  3385. 2336599 DEBUG + echo -e '2023-09-07T08:55:01.037Z [debug][Jellyfin Sync]: Title already exists and no new media types found Punch-Drunk Love
  3386. 2336599 DEBUG 2023-09-07T08:55:01.038Z [debug][Jellyfin Sync]: Title already exists and no new media types found Asteroid City
  3387. 2336600 DEBUG 2023-09-07T08:55:01.121Z [debug][Jellyfin Sync]: Title already exists and no new media types found Death and the Maiden
  3388. 2336600 DEBUG 2023-09-07T08:55:01.123Z [debug][Jellyfin Sync]: Title already exists and no new media types found Transformers: The Last Knight
  3389. 2336600 DEBUG 2023-09-07T08:55:01.189Z [debug][Jellyfin Sync]: Title already exists and no new media types found Polytechnique
  3390. 2336600 DEBUG 2023-09-07T08:55:01.221Z [debug][Jellyfin Sync]: Title already exists and no new media types found Maelstrom
  3391. 2336600 DEBUG 2023-09-07T08:55:01.296Z [debug][Jellyfin Sync]: Title already exists and no new media types found The Flash
  3392. 2336600 DEBUG 2023-09-07T08:55:01.297Z [debug][Jellyfin Sync]: Title already exists and no new media types found Disco Boy
  3393. 2336601 DEBUG 2023-09-07T08:55:05.302Z [info][Jellyfin Sync]: Beginning to process recently added for library: SÉRIES
  3394. 2336601 DEBUG 2023-09-07T08:55:05.889Z [debug][Jellyfin Sync]: Updating existing title: Cyberpunk: Edgerunners
  3395. 2336601 DEBUG 2023-09-07T08:55:05.910Z [debug][Jellyfin Sync]: Updating existing title: Who Is America?
  3396. 2336601 DEBUG 2023-09-07T08:55:06.098Z [debug][Jellyfin Sync]: Updating existing title: Cunk on...
  3397. 2336601 DEBUG 2023-09-07T08:55:06.191Z [debug][Jellyfin Sync]: Updating existing title: Baraki
  3398. 2336601 DEBUG 2023-09-07T08:55:06.309Z [debug][Jellyfin Sync]: Updating existing title: Call My Agent!
  3399. 2336601 DEBUG 2023-09-07T08:55:06.311Z [debug][Jellyfin Sync]: Updating existing title: The Man in the High Castle
  3400. 2336602 DEBUG 2023-09-07T08:55:06.312Z [debug][Jellyfin Sync]: Updating existing title: Black Mirror
  3401. 2336602 DEBUG 2023-09-07T08:55:06.340Z [debug][Jellyfin Sync]: Updating existing title: The Eric Andre Show
  3402. 2336602 DEBUG 2023-09-07T08:55:06.585Z [debug][Jellyfin Sync]: Updating existing title: Robot Chicken
  3403. 2336602 DEBUG 2023-09-07T08:55:10.589Z [info][Jellyfin Sync]: Recently Added Scan Complete
  3404. 2336602 DEBUG 2023-09-07T08:56:00.025Z [debug][Jobs]: Starting scheduled job: Download Sync '
  3405. 2336602 DEBUG 2023-09-07T08:55:01.037Z [debug][Jellyfin Sync]: Title already exists and no new media types found Punch-Drunk Love
  3406. 2336602 DEBUG 2023-09-07T08:55:01.038Z [debug][Jellyfin Sync]: Title already exists and no new media types found Asteroid City
  3407. 2336603 DEBUG 2023-09-07T08:55:01.121Z [debug][Jellyfin Sync]: Title already exists and no new media types found Death and the Maiden
  3408. 2336603 DEBUG 2023-09-07T08:55:01.123Z [debug][Jellyfin Sync]: Title already exists and no new media types found Transformers: The Last Knight
  3409. 2336603 DEBUG 2023-09-07T08:55:01.189Z [debug][Jellyfin Sync]: Title already exists and no new media types found Polytechnique
  3410. 2336603 DEBUG 2023-09-07T08:55:01.221Z [debug][Jellyfin Sync]: Title already exists and no new media types found Maelstrom
  3411. 2336604 DEBUG 2023-09-07T08:55:01.296Z [debug][Jellyfin Sync]: Title already exists and no new media types found The Flash
  3412. 2336604 DEBUG 2023-09-07T08:55:01.297Z [debug][Jellyfin Sync]: Title already exists and no new media types found Disco Boy
  3413. 2336604 DEBUG 2023-09-07T08:55:05.302Z [info][Jellyfin Sync]: Beginning to process recently added for library: SÉRIES
  3414. 2336604 DEBUG 2023-09-07T08:55:05.889Z [debug][Jellyfin Sync]: Updating existing title: Cyberpunk: Edgerunners
  3415. 2336604 DEBUG 2023-09-07T08:55:05.910Z [debug][Jellyfin Sync]: Updating existing title: Who Is America?
  3416. 2336604 DEBUG 2023-09-07T08:55:06.098Z [debug][Jellyfin Sync]: Updating existing title: Cunk on...
  3417. 2336605 DEBUG 2023-09-07T08:55:06.191Z [debug][Jellyfin Sync]: Updating existing title: Baraki
  3418. 2336605 DEBUG 2023-09-07T08:55:06.309Z [debug][Jellyfin Sync]: Updating existing title: Call My Agent!
  3419. 2336605 DEBUG 2023-09-07T08:55:06.311Z [debug][Jellyfin Sync]: Updating existing title: The Man in the High Castle
  3420. 2336605 DEBUG 2023-09-07T08:55:06.312Z [debug][Jellyfin Sync]: Updating existing title: Black Mirror
  3421. 2336605 DEBUG 2023-09-07T08:55:06.340Z [debug][Jellyfin Sync]: Updating existing title: The Eric Andre Show
  3422. 2336605 DEBUG 2023-09-07T08:55:06.585Z [debug][Jellyfin Sync]: Updating existing title: Robot Chicken
  3423. 2336605 DEBUG 2023-09-07T08:55:10.589Z [info][Jellyfin Sync]: Recently Added Scan Complete
  3424. 2336606 DEBUG 2023-09-07T08:56:00.025Z [debug][Jobs]: Starting scheduled job: Download Sync
  3425. 2336606 DEBUG + ynh_clean_check_starting
  3426. 2336606 DEBUG + '[' -n 3419536 ']'
  3427. 2336606 DEBUG + kill -SIGTERM 3419536
  3428. 2336606 DEBUG + '[' -n /tmp/tmp.8GjqGgph5L ']'
  3429. 2336606 DEBUG + ynh_secure_remove --file=/tmp/tmp.8GjqGgph5L
  3430. 2336606 DEBUG + local legacy_args=f
  3431. 2336606 DEBUG + args_array=(['f']='file=')
  3432. 2336607 DEBUG + local -A args_array
  3433. 2336607 DEBUG + local file
  3434. 2336607 DEBUG + ynh_handle_getopts_args --file=/tmp/tmp.8GjqGgph5L
  3435. 2336610 DEBUG + set +o xtrace
  3436. 2336621 DEBUG + set +o xtrace
  3437. 2336877 DEBUG + ynh_script_progression '--message=Upgrade of jellyseerr completed' --last
  3438. 2336877 DEBUG + set +o xtrace
  3439. 2336945 DEBUG + set +o xtrace
  3440. 2336960 DEBUG + echo '! Helper used in legacy mode !'
  3441. 2336960 DEBUG + set +x
  3442. 2336962 DEBUG + echo '[####################] > Upgrade of jellyseerr completed'
  3443. 2336962 INFO [####################] > Upgrade of jellyseerr completed
  3444. 2336963 DEBUG + set -o xtrace
  3445. 2336963 DEBUG + ynh_exit_properly
  3446. 2336963 DEBUG + local exit_code=0
  3447. 2336963 DEBUG + [[ upgrade =~ ^install$|^upgrade$|^restore$ ]]
  3448. 2336963 DEBUG + rm -rf /var/cache/yunohost/download/
  3449. 2336975 DEBUG + '[' 0 -eq 0 ']'
  3450. 2336975 DEBUG + exit 0
  3451. 2337999 DEBUG Checking that required services are up and running...
  3452. 2348982 SUCCESS jellyseerr mis à jour
  3453. 2349060 DEBUG Pour voir le journal de cette opération 'Mettre à jour l'application 'jellyseerr'', utilisez la commande 'yunohost log show 20230907-082721-app_upgrade-jellyseerr'
  3454. 2350410 DEBUG The permission database has been resynchronized
  3455. 2351579 DEBUG La configuration de SSOwat a été regénérée
  3456. 2351616 SUCCESS Mise à jour terminée
  3457. 2351623 DEBUG action [3409676.1] executed in 2351.459s
  3458. 2351623 DEBUG lock has been released
  3459.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement