FailedConsole Output

[FSTrigger] Triggered by a change to a folder (log)
Building in workspace /var/lib/jenkins/jobs/bozon_ynh (ewilly)/workspace
[workspace] $ /bin/sh -xe /tmp/jenkins5628754376159746692.sh
+ /home/CI_package_check/analyseCI.sh /home/yunohost.app/ssh_chroot_directories/ewilly/data/bozon_ynh bozon_ynh (ewilly)

Sun Jan  5 16:56:00 UTC 2020
Wait for work starting...
.........
Sun Jan  5 17:00:31 UTC 2020
Package check currently test the package
Start a test
Loads functions from launcher.sh
Loads functions from testing_process.sh
Loads functions from log_extractor.sh
Restore the previous snapshot.
Working time: 41 seconds.
Disable iptables rules.
Disable the network bridge.
Pick up the package which will be tested.
Initialize network for LXC.
RTNETLINK answers: File exists
ifup: failed to bring up lxc-pchecker
Activate iptables rules.
Parsing of check_process file

Tests serie: Test complet (bozon=sans bdd)

>> YunoHost versions:
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 4 seconds.
Debian GNU/Linux 9
yunohost: 
  repo: stable
  version: 3.6.5.3
yunohost-admin: 
  repo: stable
  version: 3.6.5.1
moulinette: 
  repo: stable
  version: 3.6.4.1
ssowat: 
  repo: stable
  version: 3.6.4
Connection to 10.1.4.2 closed.


>> Package linter... [Test 1/9]

    [YunoHost App Package Linter]

 App packaging documentation - https://yunohost.org/#/packaging_apps
 App package example         - https://github.com/YunoHost/example_ynh
 Official helpers            - https://yunohost.org/#/packaging_apps_helpers_en
 Experimental helpers        - https://github.com/YunoHost-Apps/Experimental_helpers

    Analyzing package /home/CI_package_check/dev_CI/../package_check/bozon_ynh_check

 [Loading App]


 [Misc File Checks]


 [Sources Management]


 [Manifest]

! Consider adding an 'help' key for argument 'is_public' to explain to the user what it means for *this* app to be public or private :
    "help": {
       "en": "Some explanation"
    } 

 [Install Script]

? [YEP-2.4] 'ynh_die' or 'exit' command is executed with system modification before (cmd 'rm').
This system modification is an issue if a verification exit the script.
You should move this verification before any system modification. 
! You probably don't need to run 'yunohost app ssowatconf' in the app script. It's supposed to be ran automatically after the script. 

 [Remove Script]


 [Upgrade Script]


 [Backup Script]


 [Restore Script]

--- SUCCESS ---


>> Installation in a sub path... [Test 2/9]
A LXC container is already running.
Working time: 2 seconds.
Working time: 33 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1025.1] Installing application bozon…
Info:  [+...................] > Validating installation parameters...
Info:  [#+..................] > Storing installation settings...
Info:  [##++++..............] > Installing dependencies...
Info:  [######+.............] > Configuring system user...
Info:  [#######++++.........] > Setting up source files...
Info:  [###########+........] > Configuring nginx web server...
Info:  [############+.......] > Configuring php-fpm...
Info:  [#############+++....] > Configuring admin user in BoZon...
Info:  [################+...] > Configuring SSOwat...
Info:  [#################+..] > Reloading nginx web server...

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



--- SUCCESS ---
Create a snapshot for sub path installation.
Working time: 17 seconds.
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 3 seconds.

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 16 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [949.1] Removing application bozon…
Info:  [++..................] > Loading installation settings... [00h00m,00s]
Info:  [##++++++............] > Backing up app and datas... [00h00m,01s]
Info: yunohost.backup _collect_app_files - [1067.1] Collecting files to be backuped for bozon…
Info:  [++++................] > Loading installation settings... [00h00m,00s]
Info:  [####++++............] > Backing up the main app directory... [00h00m,00s]
Info:  [########++++........] > Backing up nginx web server configuration... [00h00m,01s]
Info:  [############++++....] > Backing up php-fpm configuration... [00h00m,00s]
Info:  [################++++] > Backing up data directory...
Info: yunohost.backup backup_create - [1067.1] Now creating a backup archive from the files collected…
Warning: yunohost.hook <lambda> - [949.1] BoZon fully backuped.
Info:  [########++..........] > Removing dependencies... [00h00m,05s]
Info:  [##########++........] > Removing app main directory... [00h00m,07s]
Info:  [############++......] > Removing nginx web server configuration... [00h00m,00s]
Info:  [##############++....] > Removing php-fpm configuration... [00h00m,00s]
Info:  /etc/php/7.0/fpm/conf.d/20-bozon.ini wasn't deleted because it doesn't exist.
Info:  [################++..] > Removing the dedicated system user... [00h00m,01s]
Info:  [####################] > Removal of bozon completed [00h00m,00s]
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 2 seconds.
Working time: 33 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [2050.1] Installing application bozon…
Info:  [+...................] > Validating installation parameters...
Info:  [#+..................] > Storing installation settings...
Info:  [##++++..............] > Installing dependencies...
Info:  [######+.............] > Configuring system user...
Info:  [#######++++.........] > Setting up source files...
Info:  [###########+........] > Configuring nginx web server...
Info:  [############+.......] > Configuring php-fpm...
Info:  [#############+++....] > Configuring admin user in BoZon...
Info:  [################+...] > Configuring SSOwat...
Info:  [#################+..] > Reloading nginx web server...
Info:  [####################] > Installation of bozon completed

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 47 seconds.
Working time for this test: 2 minutes, 58 seconds.


>> Installation on the root... [Test 3/9]
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 35 seconds.
Installation successful. (0)
Warning: yunohost.service _run_service_command - [184.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.app app_install - [921.1] Installing application bozon…
Info:  [+...................] > Validating installation parameters...
Info:  [#+..................] > Storing installation settings...
Info:  [##++++..............] > Installing dependencies...
Info:  [######+.............] > Configuring system user...
Info:  [#######++++.........] > Setting up source files...
Info:  [###########+........] > Configuring nginx web server...
Info:  [############+.......] > Configuring php-fpm...
Info:  [#############+++....] > Configuring admin user in BoZon...
Info:  [################+...] > Configuring SSOwat...
Info:  [#################+..] > Reloading nginx web server...

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



Test url: sous.domain.tld/
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



--- SUCCESS ---
Create a snapshot for root installation.
Working time: 17 seconds.
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 4 seconds.

Deleting...
A LXC container is already running.
Working time: 1 second.
Working time: 16 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [950.1] Removing application bozon…
Info:  [++..................] > Loading installation settings... [00h00m,00s]
Info:  [##++++++............] > Backing up app and datas... [00h00m,01s]
Info: yunohost.backup _collect_app_files - [1068.1] Collecting files to be backuped for bozon…
Info:  [++++................] > Loading installation settings... [00h00m,00s]
Info:  [####++++............] > Backing up the main app directory... [00h00m,01s]
Info:  [########++++........] > Backing up nginx web server configuration... [00h00m,01s]
Info:  [############++++....] > Backing up php-fpm configuration... [00h00m,00s]
Info:  [################++++] > Backing up data directory...
Info:Info: yunohost.backup backup_create - [1068.1] Now creating a backup archive from the files collected…
Warning: yunohost.hook <lambda> - [950.1] BoZon fully backuped.
Info:  [########++..........] > Removing dependencies... [00h00m,05s]
Info:  [##########++........] > Removing app main directory... [00h00m,06s]
Info:  [############++......] > Removing nginx web server configuration... [00h00m,00s]
Info:  [##############++....] > Removing php-fpm configuration... [00h00m,01s]
Info:  /etc/php/7.0/fpm/conf.d/20-bozon.ini wasn't deleted because it doesn't exist.
Info:  [################++..] > Removing the dedicated system user... [00h00m,00s]
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 2 seconds.
Working time: 33 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [2054.1] Installing application bozon…
Info:  [+...................] > Validating installation parameters...
Info:  [#+..................] > Storing installation settings...
Info:  [##++++..............] > Installing dependencies...
Info:  [######+.............] > Configuring system user...
Info:  [#######++++.........] > Setting up source files...
Info:  [###########+........] > Configuring nginx web server...
Info:  [############+.......] > Configuring php-fpm...
Info:  [#############+++....] > Configuring admin user in BoZon...
Info:  [################+...] > Configuring SSOwat...
Info:  [#################+..] > Reloading nginx web server...

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
A LXC container is already running.
Working time: 1 second.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



Test url: sous.domain.tld/
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: Working time for this test: 3 minutes, 2 seconds.


>> Upgrade from the same version... [Test 4/9]

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 9 seconds.

Upgrade...
Start the LXC container.Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 25 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [915.1] Now upgrading app bozon…
Info:  [+...................] > Loading installation settings...
Info:  [#+..................] > Ensuring downward compatibility... [00h00m,02s]
Info:  Upgrade forced for package check.
Info:  [##++++..............] > Backing up the app before upgrading (may take a while)...
Info: yunohost.backup _collect_app_files - [1126.1] Collecting files to be backuped for bozon…
Info:  [++++................] > Loading installation settings... [00h00m,00s]
Info:  [####++++............] > Backing up the main app directory... [00h00m,01s]
Info:  [########++++........] > Backing up nginx web server configuration... [00h00m,00s]
Info:  [############++++....] > Backing up php-fpm configuration... [00h00m,01s]
Warning: yunohost.hook <lambda> - [1126.1] Data dir will not be saved, because backup_core_only is set to true.
Info:  [################++++] > Backing up data directory...
Warning: yunohost.hook <lambda> - [915.1] 2734 Data dir will not be saved, because backup_core_only is set to true.
Info: yunohost.backup backup_create - [1126.1] Now creating a backup archive from the files collected…
Info:  [######+++...........] > Setting up source files...
Info:  [#########+..........] > Upgrading nginx web server configuration...
Info:  [##########++........] > Upgrading dependencies... [00h00m,01s]
Info:  [############+.......] > Making sure dedicated system user exists...
Info:  [#############+......] > Upgrading php-fpm configuration...
Info:  [##############++....] > Upgrading SSOwat configuration...
Info:  [################+...] > Cleaning php sessions stored...
Info:  [#################+..] > Reloading nginx web server...
Info:  [####################] > Upgrade of bozon completed

Try to access by url...
A LXC container is already running.
Working time: 1 second.
Working time: 2 seconds.
A LXC container is already running.
Working time: 1 second.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



--- SUCCESS ---

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 16 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 48 seconds.


>> Upgrade from Use official helper... [Test 5/9]

Preliminary install...
Start the LXC container.Start the LXC container..
Create witness files...
Working time: 11 seconds.
Working time: 24 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [951.1] Installing application bozon…
Warning: yunohost.hook <lambda> - [951.1] [WARN] Too many arguments ! "1" will be ignored.
Warning: yunohost.hook <lambda> - [951.1] [WARN] Too many arguments ! "1" will be ignored.

Upgrade...
A LXC container is already running.
Working time: 2 seconds.
Working time: 30 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [2667.1] Now upgrading app bozon…
Info:  [+...................] > Loading installation settings...
Info:  [#+..................] > Ensuring downward compatibility... [00h00m,02s]
Info:  Upgrade forced for package check.
Info:  [##++++..............] > Backing up the app before upgrading (may take a while)...
Info: yunohost.backup _collect_app_files - [2889.1] Collecting files to be backuped for bozon…
Warning: yunohost.hook <lambda> - [2889.1] Data dir will not be saved, because backup_core_only is set to true.
Warning: yunohost.hook <lambda> - [2667.1] 1963 Data dir will not be saved, because backup_core_only is set to true.
Info: yunohost.backup backup_create - [2889.1] Now creating a backup archive from the files collected…
Info:  [######+++...........] > Setting up source files...
Info:  [#########+..........] > Upgrading nginx web server configuration...
Info:  [##########++........] > Upgrading dependencies... [00h00m,01s]
Info:  [############+.......] > Making sure dedicated system user exists...
Info:  [#############+......] > Upgrading php-fpm configuration...
Info:  [##############++....] > Upgrading SSOwat configuration...
Info:  [################+...] > Cleaning php sessions stored...
Info:  [#################+..] > Reloading nginx web server...
Info:  [####################] > Upgrade of bozon completed

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



--- SUCCESS ---

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 16 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 48 seconds.
Restore the previous snapshot.
Working time: 36 seconds.
Working time for this test: 4 minutes, 57 seconds.


>> Installation in public mode... [Test 6/9]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 32 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [902.1] Installing application bozon…
Info:  [+...................] > Validating installation parameters...
Info:  [#+..................] > Storing installation settings...
Info:  [##++++..............] > Installing dependencies...
Info:  [######+.............] > Configuring system user...
Info:  [#######++++.........] > Setting up source files...
Info:  [###########+........] > Configuring nginx web server...
Info:  [############+.......] > Configuring php-fpm...
Info:  [#############+++....] > Configuring admin user in BoZon...
Info:  [################+...] > Configuring SSOwat...
Info:  [#################+..] > Reloading nginx web server...

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



Test url: sous.domain.tld/
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 47 seconds.
Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 35 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [924.1] Installing application bozon…
Info:  [+...................] > Validating installation parameters...
Info:  [#+..................] > Storing installation settings...
Info:  [##++++..............] > Installing dependencies...
Info:  [######+.............] > Configuring system user...
Info:  [#######++++.........] > Setting up source files...
Info:  [###########+........] > Configuring nginx web server...
Info:  [############+.......] > Configuring php-fpm...
Info:  [#############+++....] > Configuring admin user in BoZon...
Info:  [################+...] > Configuring SSOwat...
Info:  [#################+..] > Reloading nginx web server...
Info:  [####################] > Installation of bozon completed

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 45 seconds.
Restore the previous snapshot.
Working time: Working time: 38 seconds.
Working time for this test: 3 minutes, 35 seconds.


>> Malformed path... [Test 7/9]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 31 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [912.1] Installing application bozon…
Info:  [+...................] > Validating installation parameters...
Info:  [#+..................] > Storing installation settings...
Info:  [##++++..............] > Installing dependencies...
Info:  [######+.............] > Configuring system user...
Info:  [#######++++.........] > Setting up source files...
Info:  [###########+........] > Configuring nginx web server...
Info:  [############+.......] > Configuring php-fpm...
Info:  [#############+++....] > Configuring admin user in BoZon...
Info:  [################+...] > Configuring SSOwat...
Info:  [#################+..] > Reloading nginx web server...

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 47 seconds.
Working time for this test: 1 minute, 36 seconds.


>> Backup/Restore... [Test 8/9]

Preliminary installation on the root...
Uses an existing snapshot for root installation.
Working time: 8 seconds.

Backup of the application...
Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 6 seconds.
Backup successful. (0)
Info: yunohost.backup _collect_app_files - [927.1] Collecting files to be backuped for bozon…
Info:  [++++................] > Loading installation settings... [00h00m,00s]
Info:  [####++++............] > Backing up the main app directory... [00h00m,00s]
Info:  [########++++........] > Backing up nginx web server configuration... [00h00m,01s]
Info:  [############++++....] > Backing up php-fpm configuration... [00h00m,00s]
Info:  [################++++] > Backing up data directory...
Warning: yunohost.hook <lambda> - [927.1] Data dir will not be saved, because backup_core_only is set to true.
Info: yunohost.backup backup_create - [927.1] Now creating a backup archive from the files collected…
--- SUCCESS ---

Deleting...
A LXC container is already running.
Working time: 1 second.
Working time: 16 seconds.
Deleting successful. (0)

Restore after removing the application...
A LXC container is already running.
Working time: 2 seconds.
Working time: 23 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [2438.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [2438.1] Restoring application bozon…
Info:  [++..................] > Loading installation settings... [00h00m,00s]
Info:  [##++................] > Validating restoration parameters... [00h00m,01s]
Info:  [####++..............] > Restoring the app main directory... [00h00m,01s]
Info:  [######++............] > Recreating the dedicated system user... [00h00m,00s]
Info:  [########+++.........] > Reinstalling dependencies... [00h00m,04s]
Info:  [###########++++.....] > Restoring the data directory... [00h00m,14s]
Info:  [###############++...] > Reloading nginx web server and php-fpm... [00h00m,00s]
Info:  [####################] > Restoration completed for bozon [00h00m,00s]

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



Test url: sous.domain.tld/
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 18 seconds.
Restore the previous snapshot.
Working time: 40 seconds.

Restore on a clean YunoHost system...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 25 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [903.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [903.1] Restoring application bozon…
Info:  [++..................] > Loading installation settings... [00h00m,00s]
Info:  [##++................] > Validating restoration parameters... [00h00m,02s]
Info:  [####++..............] > Restoring the app main directory... [00h00m,00s]
Info:  [######++............] > Recreating the dedicated system user... [00h00m,00s]
Info:  [########+++.........] > Reinstalling dependencies... [00h00m,04s]
Info:  [###########++++.....] > Restoring the data directory... [00h00m,15s]
Info:  [###############++...] > Reloading nginx web server and php-fpm... [00h00m,00s]
Info:  [####################] > Restoration completed for bozon [00h00m,00s]

Try to access by url...
A LXC container is already running.
Working time: 1 second.
Working time: 2 seconds.
A LXC container is already running.
Working time: 1 second.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



Test url: sous.domain.tld/
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 47 seconds.

Preliminary installation in a sub path...
Uses an existing snapshot for sub path installation.
Working time: 8 seconds.

Backup of the application...
Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 5 seconds.
Backup successful. (0)
Info: yunohost.backup _collect_app_files - [916.1] Collecting files to be backuped for bozon…
Info:  [++++................] > Loading installation settings... [00h00m,00s]
Info:  [####++++............] > Backing up the main app directory... [00h00m,01s]
Info:  [########++++........] > Backing up nginx web server configuration... [00h00m,00s]
Info:  [############++++....] > Backing up php-fpm configuration... [00h00m,01s]
Info:  [################++++] > Backing up data directory...
Warning: yunohost.hook <lambda> - [916.1] Data dir will not be saved, because backup_core_only is set to true.
Info: yunohost.backup backup_create - [916.1] Now creating a backup archive from the files collected…
--- SUCCESS ---

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 15 seconds.
Deleting successful. (0)

Restore after removing the application...
A LXC container is already running.
Working time: 2 seconds.
Working time: 24 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [2399.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [2399.1] Restoring application bozon…
Info:  [++..................] > Loading installation settings... [00h00m,00s]
Info:  [##++................] > Validating restoration parameters... [00h00m,01s]
Info:  [####++..............] > Restoring the app main directory... [00h00m,01s]
Info:  [######++............] > Recreating the dedicated system user... [00h00m,00s]
Info:  [########+++.........] > Reinstalling dependencies... [00h00m,04s]
Info:  [###########++++.....] > Restoring the data directory... [00h00m,14s]
Info:  [###############++...] > Reloading nginx web server and php-fpm... [00h00m,00s]
Info:  [####################] > Restoration completed for bozon [00h00m,01s]

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
A LXC container is already running.
Working time: 1 second.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 15 seconds.
Restore the previous snapshot.
Working time: 39 seconds.

Restore on a clean YunoHost system...
Start the LXC container..Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 23 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [922.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [922.1] Restoring application bozon…
Info:  [++..................] > Loading installation settings... [00h00m,00s]
Info:  [##++................] > Validating restoration parameters... [00h00m,01s]
Info:  [####++..............] > Restoring the app main directory... [00h00m,01s]
Info:  [######++............] > Recreating the dedicated system user... [00h00m,00s]
Info:  [########+++.........] > Reinstalling dependencies... [00h00m,04s]
Info:  [###########++++.....] > Restoring the data directory... [00h00m,14s]
Info:  [###############++...] > Reloading nginx web server and php-fpm... [00h00m,00s]

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 47 seconds.
Restore the previous snapshot.
Working time: 36 seconds.
Working time for this test: 7 minutes, 54 seconds.


>> Change URL... [Test 9/9]

Preliminary install...
Uses an existing snapshot for root installation.
Working time: 7 seconds.
Change the url from sous.domain.tld/ to sous.domain.tld/path...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 10 seconds.
Change_url script successful. (0)
Info:  [++++................] > Loading installation settings... [00h00m,00s]
Info:  [####++++............] > Backing up the app before changing its url (may take a while)... [00h00m,00s]
Info: yunohost.backup _collect_app_files - [989.1] Collecting files to be backuped for bozon…
Info:  [++++................] > Loading installation settings... [00h00m,00s]
Info:  [####++++............] > Backing up the main app directory... [00h00m,01s]
Info:  [########++++........] > Backing up nginx web server configuration... [00h00m,01s]
Info:  [############++++....] > Backing up php-fpm configuration... [00h00m,00s]
Warning: yunohost.hook <lambda> - [989.1] Data dir will not be saved, because backup_core_only is set to true.
Info:  [################++++] > Backing up data directory...
Warning: yunohost.hook <lambda> - [916.1] 3004 Data dir will not be saved, because backup_core_only is set to true.
Info: yunohost.backup backup_create - [989.1] Now creating a backup archive from the files collected…
Info:  [########++++........] > Updating nginx web server configuration... [00h00m,05s]
Info:  [############++++....] > Reloading nginx web server... [00h00m,02s]

Try to access by url...
A LXC container is already running.
Working time: 1 second.
Working time: 2 seconds.
A LXC container is already running.
Working time: 1 second.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 49 seconds.

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 7 seconds.
Change the url from sous.domain.tld/path to sous.domain.tld/path_2...
Start the LXC containerStart the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 9 seconds.
Change_url script successful. (0)
Info:  [++++................] > Loading installation settings... [00h00m,00s]
Info:  [####++++............] > Backing up the app before changing its url (may take a while)... [00h00m,00s]
Info: yunohost.backup _collect_app_files - [1010.1] Collecting files to be backuped for bozon…
Info:  [++++................] > Loading installation settings... [00h00m,00s]
Info:  [####++++............] > Backing up the main app directory... [00h00m,01s]
Info:  [########++++........] > Backing up nginx web server configuration... [00h00m,00s]
Info:  [############++++....] > Backing up php-fpm configuration... [00h00m,01s]
Warning: yunohost.hook <lambda> - [1010.1] Data dir will not be saved, because backup_core_only is set to true.
Info:  [################++++] > Backing up data directory...
Warning: yunohost.hook <lambda> - [937.1] 2922 Data dir will not be saved, because backup_core_only is set to true.
Info: yunohost.backup backup_create - [1010.1] Now creating a backup archive from the files collected…
Info:  [########++++........] > Updating nginx web server configuration... [00h00m,05s]
Info:  [############++++....] > Reloading nginx web server... [00h00m,02s]

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/path_2
Real url: https://sous.domain.tld/path_2/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



Test url: sous.domain.tld/path_2/
Real url: https://sous.domain.tld/path_2/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 45 seconds.

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 7 seconds.
Change the url from sous.domain.tld/path to sous.domain.tld/...
Start the LXC container.Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 9 seconds.
Change_url script successful. (0)
Info:  [++++................] > Loading installation settings... [00h00m,00s]
Info:  [####++++............] > Backing up the app before changing its url (may take a while)... [00h00m,00s]
Info: yunohost.backup _collect_app_files - [989.1] Collecting files to be backuped for bozon…
Info:  [++++................] > Loading installation settings... [00h00m,00s]
Info:  [####++++............] > Backing up the main app directory... [00h00m,01s]
Info:  [########++++........] > Backing up nginx web server configuration... [00h00m,01s]
Info:  [############++++....] > Backing up php-fpm configuration... [00h00m,00s]
Info:  [################++++] > Backing up data directory...
Warning: yunohost.hook <lambda> - [989.1] Data dir will not be saved, because backup_core_only is set to true.
Warning: yunohost.hook <lambda> - [916.1] 2784 Data dir will not be saved, because backup_core_only is set to true.
Info: yunohost.backup backup_create - [989.1] Now creating a backup archive from the files collected…
Info:  [########++++........] > Updating nginx web server configuration... [00h00m,05s]
Info:  [############++++....] > Reloading nginx web server... [00h00m,02s]

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



Test url: sous.domain.tld/
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 45 seconds.

Preliminary install...
Uses an existing snapshot for root installation.
Working time: 6 seconds.
Change the url from sous.domain.tld/ to domain.tld/path...
Start the LXC container.Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 50 seconds.
Change_url script successful. (0)
Info:  [++++................] > Loading installation settings... [00h00m,00s]
Info:  [####++++............] > Backing up the app before changing its url (may take a while)... [00h00m,00s]
Info: yunohost.backup _collect_app_files - [997.1] Collecting files to be backuped for bozon…
Info:  [++++................] > Loading installation settings... [00h00m,00s]
Info:  [####++++............] > Backing up the main app directory... [00h00m,00s]
Info:  [########++++........] > Backing up nginx web server configuration... [00h00m,01s]
Info:  [############++++....] > Backing up php-fpm configuration... [00h00m,00s]
Info:  [################++++] > Backing up data directory...
Warning: yunohost.hook <lambda> - [997.1] Data dir will not be saved, because backup_core_only is set to true.
Warning: yunohost.hook <lambda> - [924.1] 2812 Data dir will not be saved, because backup_core_only is set to true.
Info: yunohost.backup backup_create - [997.1] Now creating a backup archive from the files collected…
Info:  [########++++........] > Updating nginx web server configuration... [00h00m,05s]
Warning: yunohost.hook <lambda> - [924.1] sed: can't read /etc/nginx/conf.d/domain.tld.d/bozon.conf: No such file or directory
Warning: yunohost.hook <lambda> - [924.1] [ERR] !!
Warning: yunohost.hook <lambda> - [924.1]   bozon's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [924.1] !!
Warning: yunohost.hook <lambda> - [924.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [924.1] [DEBUG]: DEBUG   - + local action=reload
Warning: yunohost.hook <lambda> - [924.1] [DEBUG]: DEBUG   - + local log_path=/var/log/nginx/nginx.log
Warning: yunohost.hook <lambda> - [924.1] [DEBUG]: DEBUG   - + local length=20
Warning: yunohost.hook <lambda> - [924.1] [DEBUG]: DEBUG   - + local timeout=300
Warning: yunohost.hook <lambda> - [924.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [924.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [924.1] [DEBUG]: DEBUG   - + action=reload-or-restart
Warning: yunohost.hook <lambda> - [924.1] [DEBUG]: DEBUG   - + systemctl reload-or-restart nginx
Warning: yunohost.hook <lambda> - [924.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [924.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [924.1] [DEBUG]: DEBUG   - + ynh_replace_string '--match_string=^#sub_path_only' --replace_string= --target_file=/etc/nginx/conf.d/domain.tld.d/bozon.conf
Warning: yunohost.hook <lambda> - [924.1] [DEBUG]: DEBUG   - + local legacy_args=mrf
Warning: yunohost.hook <lambda> - [924.1] [DEBUG]: DEBUG   -=target_file=)
Warning: yunohost.hook <lambda> - [924.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [924.1] [DEBUG]: DEBUG   - + local match_string
Warning: yunohost.hook <lambda> - [924.1] [DEBUG]: DEBUG   - + local replace_string
Warning: yunohost.hook <lambda> - [924.1] [DEBUG]: DEBUG   - + local target_file
Warning: yunohost.hook <lambda> - [924.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args '--match_string=^#sub_path_only' --replace_string= --target_file=/etc/nginx/conf.d/domain.tld.d/bozon.conf
Warning: yunohost.hook <lambda> - [924.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [924.1] [DEBUG]: DEBUG   - + local delimit=@
Warning: yunohost.hook <lambda> - [924.1] [DEBUG]: DEBUG   - + match_string='^#sub_path_only'
Warning: yunohost.hook <lambda> - [924.1] [DEBUG]: DEBUG   - + replace_string=
Warning: yunohost.hook <lambda> - [924.1] [DEBUG]: DEBUG   - + sudo sed --in-place 's@^#sub_path_only@@g' /etc/nginx/conf.d/domain.tld.d/bozon.conf
Warning: yunohost.hook <lambda> - [924.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Warning: yunohost.hook <lambda> - [924.1] [ERR] Upgrade failed.
Info:  /etc/nginx/conf.d/domain.tld.d/bozon.conf wasn't deleted because it doesn't exist.
Info: yunohost.app app_remove - [1359.1] Removing application bozon…
Info:  [++..................] > Loading installation settings... [00h00m,00s]
Info:  [##++++++............] > Backing up app and datas... [00h00m,01s]
Info: yunohost.backup _collect_app_files - [1475.1] Collecting files to be backuped for bozon…
Info:  [++++................] > Loading installation settings... [00h00m,00s]
Info:  [####++++............] > Backing up the main app directory... [00h00m,01s]
Info:  [########++++........] > Backing up nginx web server configuration... [00h00m,00s]
Info:  [############++++....] > Backing up php-fpm configuration... [00h00m,01s]
Info:  [################++++] > Backing up data directory...
Info: yunohost.backup backup_create - [1475.1] Now creating a backup archive from the files collected…
Warning: yunohost.hook <lambda> - [1359.1] BoZon fully backuped.
Warning: yunohost.hook <lambda> - [924.1] BoZon fully backuped.
Info:  [########++..........] > Removing dependencies... [00h00m,04s]
Info:  [##########++........] > Removing app main directory... [00h00m,09s]
Info:  [############++......] > Removing nginx web server configuration... [00h00m,00s]
Info:  [##############++....] > Removing php-fpm configuration... [00h00m,00s]
Info:  /etc/php/7.0/fpm/conf.d/20-bozon.ini wasn't deleted because it doesn't exist.
Info:  [################++..] > Removing the dedicated system user... [00h00m,01s]
Info: yunohost.backup backup_restore - [2416.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [2416.1] Restoring application bozon…
Info:  [++..................] > Loading installation settings... [00h00m,00s]
Info:  [##++................] > Validating restoration parameters... [00h00m,01s]
Info:  [####++..............] > Restoring the app main directory... [00h00m,01s]
Info:  [######++............] > Recreating the dedicated system user... [00h00m,00s]
Info:  [########+++.........] > Reinstalling dependencies... [00h00m,03s]
Info:  [###########++++.....] > Restoring the data directory... [00h00m,15s]
Info:  [###############++...] > Reloading nginx web server and php-fpm... [00h00m,00s]
Warning: yunohost.hook <lambda> - [924.1] The app was restored to the way it was before the failed upgrade.
Error: yunohost.app app_change_url - [924.1] Failed to change 'bozon' url.
Info: yunohost.log close - [924.1] The operation 'Change the url of 'bozon' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20200105-172924-app_change_url-bozon --share'

Try to access by url...
A LXC container is already running.
Working time: 1 second.
Working time: 2 seconds.
A LXC container is already running.
Working time: 1 second.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: domain.tld/path
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9kb21haW4udGxkL3BhdGg=
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: domain.tld/path/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9kb21haW4udGxkL3BhdGgv
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 50 seconds.

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 8 seconds.
Change the url from sous.domain.tld/path to domain.tld/path_2...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 48 seconds.
Change_url script successful. (0)
Info:  [++++................] > Loading installation settings... [00h00m,00s]
Info:  [####++++............] > Backing up the app before changing its url (may take a while)... [00h00m,01s]
Info: yunohost.backup _collect_app_files - [1001.1] Collecting files to be backuped for bozon…
Info:  [++++................] > Loading installation settings... [00h00m,00s]
Info:  [####++++............] > Backing up the main app directory... [00h00m,01s]
Info:  [########++++........] > Backing up nginx web server configuration... [00h00m,00s]
Info:  [############++++....] > Backing up php-fpm configuration... [00h00m,00s]
Info:  [################++++] > Backing up data directory...
Warning: yunohost.hook <lambda> - [1001.1] Data dir will not be saved, because backup_core_only is set to true.
Warning: yunohost.hook <lambda> - [928.1] 2728 Data dir will not be saved, because backup_core_only is set to true.
Info: yunohost.backup backup_create - [1001.1] Now creating a backup archive from the files collected…
Info:  [########++++........] > Updating nginx web server configuration... [00h00m,04s]
Warning: yunohost.hook <lambda> - [928.1] sed: can't read /etc/nginx/conf.d/domain.tld.d/bozon.conf: No such file or directory
Warning: yunohost.hook <lambda> - [928.1] [ERR] !!
Warning: yunohost.hook <lambda> - [928.1]   bozon's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [928.1] !!
Warning: yunohost.hook <lambda> - [928.1] Please find here an extract of the log before the crash:
Info:  /etc/nginx/conf.d/domain.tld.d/bozon.conf wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   - + local match_string
Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   - + local replace_string
Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   - + local target_file
Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args '--match_string=^#sub_path_only' --replace_string= --target_file=/etc/nginx/conf.d/domain.tld.d/bozon.conf
Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   - + local delimit=@
Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   - + match_string='^#sub_path_only'
Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   - + replace_string=
Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   - + sudo sed --in-place 's@^#sub_path_only@@g' /etc/nginx/conf.d/domain.tld.d/bozon.conf
Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Warning: yunohost.hook <lambda> - [928.1] [ERR] Upgrade failed.
Info: yunohost.app app_remove - [1362.1] Removing application bozon…
Info:  [++..................] > Loading installation settings... [00h00m,00s]
Info:  [##++++++............] > Backing up app and datas... [00h00m,01s]
Info: yunohost.backup _collect_app_files - [1478.1] Collecting files to be backuped for bozon…
Info:  [++++................] > Loading installation settings... [00h00m,00s]
Info:  [####++++............] > Backing up the main app directory... [00h00m,01s]
Info:  [########++++........] > Backing up nginx web server configuration... [00h00m,00s]
Info:  [############++++....] > Backing up php-fpm configuration... [00h00m,01s]
Info:  [################++++] > Backing up data directory...
Info: yunohost.backup backup_create - [1478.1] Now creating a backup archive from the files collected…
Warning: yunohost.hook <lambda> - [1362.1] BoZon fully backuped.
Warning: yunohost.hook <lambda> - [928.1] BoZon fully backuped.
Info:  [########++..........] > Removing dependencies... [00h00m,04s]
Info:  [##########++........] > Removing app main directory... [00h00m,07s]
Info:  [############++......] > Removing nginx web server configuration... [00h00m,00s]
Info:  [##############++....] > Removing php-fpm configuration... [00h00m,00s]
Info:  /etc/php/7.0/fpm/conf.d/20-bozon.ini wasn't deleted because it doesn't exist.
Info:  [################++..] > Removing the dedicated system user... [00h00m,01s]
Info: yunohost.backup backup_restore - [2419.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [2419.1] Restoring application bozon…
Info:  [++..................] > Loading installation settings... [00h00m,00s]
Info:  [##++................] > Validating restoration parameters... [00h00m,01s]
Info:  [####++..............] > Restoring the app main directory... [00h00m,01s]
Info:  [######++............] > Recreating the dedicated system user... [00h00m,00s]
Info:  [########+++.........] > Reinstalling dependencies... [00h00m,04s]
Info:  [###########++++.....] > Restoring the data directory... [00h00m,15s]
Info:  [###############++...] > Reloading nginx web server and php-fpm... [00h00m,00s]
Warning: yunohost.hook <lambda> - [928.1] The app was restored to the way it was before the failed upgrade.
Error: yunohost.app app_change_url - [928.1] Failed to change 'bozon' url.
Info: yunohost.log close - [928.1] The operation 'Change the url of 'bozon' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20200105-173130-app_change_url-bozon --share'

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
Public access forced by a skipped_uris to check.
Test url: domain.tld/path_2
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9kb21haW4udGxkL3BhdGhfMg==
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: domain.tld/path_2/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9kb21haW4udGxkL3BhdGhfMi8=
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 48 seconds.

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 6 seconds.
Change the url from sous.domain.tld/path to domain.tld/...
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 10 seconds.
Change_url script successful. (0)
Info:  [++++................] > Loading installation settings... [00h00m,00s]
Info:  [####++++............] > Backing up the app before changing its url (may take a while)... [00h00m,00s]
Info: yunohost.backup _collect_app_files - [989.1] Collecting files to be backuped for bozon…
Info:  [++++................] > Loading installation settings... [00h00m,00s]
Info:  [####++++............] > Backing up the main app directory... [00h00m,01s]
Info:  [########++++........] > Backing up nginx web server configuration... [00h00m,00s]
Info:  [############++++....] > Backing up php-fpm configuration... [00h00m,00s]
Info:  [################++++] > Backing up data directory...
Warning: yunohost.hook <lambda> - [989.1] Data dir will not be saved, because backup_core_only is set to true.
Warning: yunohost.hook <lambda> - [916.1] 2827 Data dir will not be saved, because backup_core_only is set to true.
Info: yunohost.backup backup_create - [989.1] Now creating a backup archive from the files collected…
Info:  [########++++........] > Updating nginx web server configuration... [00h00m,05s]
Warning: yunohost.hook <lambda> - [916.1] md5sum: /etc/nginx/conf.d/domain.tld.d/bozon.conf: No such file or directory
Info:  [############++++....] > Reloading nginx web server... [00h00m,03s]

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
A LXC container is already running.A LXC container is already running.
Working time: 1 second.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: domain.tld
Real url: https://domain.tld/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



Test url: domain.tld/
Real url: https://domain.tld/
HTTP code: 200
Title of the page: BoZoN | Glisser, déposer, partager.
Extract of the page:
   []

     * [1]fr
          + [2]de
          + [3]en
          + [4]es
          + [5]fr

   [6]Se connecter

   BoZoN

Glisser, déposer, partager.

BoZoN est une application simplifiée de stockage et de partage de fichiers.

   Simple à installer, libre et opensource

   Just copy BoZoN's files onto your server. That's it.



--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 50 seconds.
Restore the previous snapshot.
Working time: 38 seconds.
Working time for this test: 10 minutes, 14 seconds.



Package linter:                  SUCCESS
Installation:                    SUCCESS
Deleting:                        SUCCESS
Installation in a sub path:      SUCCESS
Deleting from a sub path:        SUCCESS
Installation on the root:        SUCCESS
Deleting from root:              SUCCESS
Upgrade:                         SUCCESS
Installation in private mode:    Not evaluated.
Installation in public mode:     SUCCESS
Multi-instance installations:    Not evaluated.
Malformed path:                  SUCCESS
Port already used:               Not evaluated.
Backup:                          SUCCESS
Restore:                         SUCCESS
Change URL:                      FAIL
Level of this application: 6 (Open to contributions from the community)
	   Level 1: 1
	   Level 2: 1
	   Level 3: 1
	   Level 4: 1
	   Level 5: 1
	   Level 6: 1
	   Level 7: 0
	   Level 8: 0
	   Level 9: 0
	   Level 10: 0
You can find the complete log of these tests in /home/CI_package_check/dev_CI/../package_check/Complete.log
Global working time for all tests: 34 minutes, 32 seconds.
Disable iptables rules.
Disable the network bridge.
The complete log for this application was duplicated and is accessible at /home/CI_package_check/dev_CI/../logs/_home_yunohost.app_ssh_chroot_directories_ewilly_data_bozon_ynh_complete.log

Sun Jan  5 17:36:05 UTC 2020
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE