FailedConsole Output

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

Fri Aug  2 22:43:00 UTC 2019
Wait for work starting...
.....
Fri Aug  2 22:45:30 UTC 2019
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: 36 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: Nom du test

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


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

    [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/seafile_ynh_check

 [Loading App]


 [Misc File Checks]


 [Sources Management]


 [Manifest]

! [YEP-2.1] You should specify the type of the argument 'server_name'. You can use : domain, path, boolean, app, password, user, string. 

 [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. 

 [Remove Script]


 [Upgrade 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. 

 [Backup Script]


 [Restore 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. 
--- SUCCESS ---


>> Installation in a sub path... [Test 2/13]
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 minutes, 9 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1018.1] Installing application seafile…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Finding available ports...
Info:  [+...................] > Storing installation settings...
Info:  [#...................] > Configuring system user...
Info:  [#+++................] > Installing dependencies...
Warning: yunohost.hook <lambda> - [1018.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%
Info:  [####+...............] > Cleaning data directory...
Info:  [#####...............] > Creating base directory...
Info:  [#####+++............] > Installing sources files...
Warning: yunohost.hook <lambda> - [1018.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [1018.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Warning: yunohost.hook <lambda> - [1018.1] ** Message: seafile-controller.c(718): No seafevents.

Try to access by url...
Test url: sous.domain.tld/path
Real url: http://sous.domain.tld/path/accounts/login/?next=/path/
HTTP code: 200
Title of the page: Log In - Private Seafile
Extract of the page:
   [1]logo
   [2]English
     * [3]Català
     * [4]Čeština
     * [5]Deutsch
     * [6]English
     * [7]Español
     * [8]Español de Argentina
     * [9]Español de México
     * [10]Français
     * [11]Italiano
     * [12]Íslenska
     * [13]Latvian
     * [14]Magyar
     * [15]Nederlands
     * [16]Polski
     * [17]Portuguese, Brazil
     * [18]Русский
     * [19]Slovenian
     * [20]Suomi


Test url: sous.domain.tld/path/
Real url: http://sous.domain.tld/path/accounts/login/?next=/path/
HTTP code: 200
Title of the page: Log In - Private Seafile
Extract of the page:
   [1]logo
   [2]English
     * [3]Català
     * [4]Čeština
     * [5]Deutsch
     * [6]English
     * [7]Español
     * [8]Español de Argentina
     * [9]Español de México
     * [10]Français
     * [11]Italiano
     * [12]Íslenska
     * [13]Latvian
     * [14]Magyar
     * [15]Nederlands
     * [16]Polski
     * [17]Portuguese, Brazil
     * [18]Русский
     * [19]Slovenian
     * [20]Suomi


--- SUCCESS ---
Create a snapshot for sub path installation.
Working time: 29 seconds.
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 2 seconds.

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 22 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [1049.1] Removing application seafile…
Warning: yunohost.hook <lambda> - [1049.1] ./remove: line 20: get_configuration: command not found
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Info:  [#+..................] > Cleaning SSO configuration...
Info:  [##..................] > Removing logs...
Info:  [##+.................] > Removing code...
Info:  /var/www/seafile wasn't deleted because it doesn't exist.
Info:  [###+++++++..........] > Backing up user data...
Info:  [##########..........] > Removing databases...
Warning: yunohost.hook <lambda> - [1049.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [##########+.........] > Removing systemd units...
Warning: yunohost.hook <lambda> - [1049.1] Removed /etc/systemd/system/multi-user.target.wants/seahub.service.
Info:  [###########+........] > Removing the dedicated system user...
Info:  [############++++++..] > Removing dependencies
Info:  [##################+.] > Removing configuration...
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, 35 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [2094.1] Installing application seafile…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Finding available ports...
Info:  [+...................] > Storing installation settings...
Info:  [#...................] > Configuring system user...
Info:  [#+++................] > Installing dependencies...
Info:  [####+...............] > Cleaning data directory...
Info:  [#####...............] > Creating base directory...
Info:  [#####+++............] > Installing sources files...
Info:  [########............] > Configuring MySQL database...
Info:  [########++..........] > Configuring application...
Info:  [##########+.........] > Configuring a systemd service...
Warning: yunohost.hook <lambda> - [2094.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [2094.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [###########.........] > Configuring nginx...
Warning: yunohost.hook <lambda> - [2094.1] ** Message: seafile-controller.c(718): No seafevents.
Info:  [###########.........] > Protecting directory...
Info:  [###########+........] > Configuring permissions...
Info:  [############........] > Configuring log rotation...
Info:  [############+++++...] > Configuring fail2ban...
Info:  [#################+..] > Starting starting services...
Info:  [##################+.] > Starting seafile services...
Info:  [####################] > Installation of seafile completed

Try to access by url...
Test url: sous.domain.tld/path
Real url: http://sous.domain.tld/path/accounts/login/?next=/path/
HTTP code: 200
Title of the page: Log In - Private Seafile
Extract of the page:
   [1]logo
   [2]English
     * [3]Català
     * [4]Čeština
     * [5]Deutsch
     * [6]English
     * [7]Español
     * [8]Español de Argentina
     * [9]Español de México
     * [10]Français
     * [11]Italiano
     * [12]Íslenska
     * [13]Latvian
     * [14]Magyar
     * [15]Nederlands
     * [16]Polski
     * [17]Portuguese, Brazil
     * [18]Русский
     * [19]Slovenian
     * [20]Suomi


Test url: sous.domain.tld/path/
Real url: http://sous.domain.tld/path/accounts/login/?next=/path/
HTTP code: 200
Title of the page: Log In - Private Seafile
Extract of the page:
   [1]logo
   [2]English
     * [3]Català
     * [4]Čeština
     * [5]Deutsch
     * [6]English
     * [7]Español
     * [8]Español de Argentina
     * [9]Español de México
     * [10]Français
     * [11]Italiano
     * [12]Íslenska
     * [13]Latvian
     * [14]Magyar
     * [15]Nederlands
     * [16]Polski
     * [17]Portuguese, Brazil
     * [18]Русский
     * [19]Slovenian
     * [20]Suomi


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


>> Installation on the root... [Test 3/13]
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 2 minutes, 12 seconds.
Installation successful. (0)
Warning: yunohost.service _run_service_command - [185.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.app app_install - [918.1] Installing application seafile…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Finding available ports...
Info:  [+...................] > Storing installation settings...
Info:  [#...................] > Configuring system user...
Info:  [#+++................] > Installing dependencies...
Warning: yunohost.hook <lambda> - [918.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%
Info:  [####+...............] > Cleaning data directory...
Info:  [#####...............] > Creating base directory...
Info:  [#####+++............] > Installing sources files...
Info:  [########............] > Configuring MySQL database...
Info:  [########++..........] > Configuring application...
Info:  [##########+.........] > Configuring a systemd service...
Warning: yunohost.hook <lambda> - [918.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [918.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [###########.........] > Configuring nginx...
Warning: yunohost.hook <lambda> - [918.1] ** Message: seafile-controller.c(718): No seafevents.
Info:  [###########.........] > Protecting directory...
Info:  [###########+........] > Configuring permissions...
Info:  [############........] > Configuring log rotation...
Info:  [############+++++...] > Configuring fail2ban...
Info:  [#################+..] > Starting starting services...
Info:  [##################+.] > Starting seafile services...
Info:  [####################] > Installation of seafile completed

Try to access by url...
Test url: sous.domain.tld
Real url: http://sous.domain.tld/accounts/login/?next=/
HTTP code: 200
Title of the page: Log In - Private Seafile
Extract of the page:
   [1]logo
   [2]English
     * [3]Català
     * [4]Čeština
     * [5]Deutsch
     * [6]English
     * [7]Español
     * [8]Español de Argentina
     * [9]Español de México
     * [10]Français
     * [11]Italiano
     * [12]Íslenska
     * [13]Latvian
     * [14]Magyar
     * [15]Nederlands
     * [16]Polski
     * [17]Portuguese, Brazil
     * [18]Русский
     * [19]Slovenian
     * [20]Suomi


Test url: sous.domain.tld/
Real url: http://sous.domain.tld/accounts/login/?next=/
HTTP code: 200
Title of the page: Log In - Private Seafile
Extract of the page:
   [1]logo
   [2]English
     * [3]Català
     * [4]Čeština
     * [5]Deutsch
     * [6]English
     * [7]Español
     * [8]Español de Argentina
     * [9]Español de México
     * [10]Français
     * [11]Italiano
     * [12]Íslenska
     * [13]Latvian
     * [14]Magyar
     * [15]Nederlands
     * [16]Polski
     * [17]Portuguese, Brazil
     * [18]Русский
     * [19]Slovenian
     * [20]Suomi


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

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 23 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [1043.1] Removing application seafile…
Warning: yunohost.hook <lambda> - [1043.1] ./remove: line 20: get_configuration: command not found
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Info:  [#+..................] > Cleaning SSO configuration...
Info:  [##..................] > Removing logs...
Info:  [##+.................] > Removing code...
Info:  /var/www/seafile wasn't deleted because it doesn't exist.
Info:  [###+++++++..........] > Backing up user data...
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [##########..........] > Removing databases...
Warning: yunohost.hook <lambda> - [1043.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [##########+.........] > Removing systemd units...
Warning: yunohost.hook <lambda> - [1043.1] Removed /etc/systemd/system/multi-user.target.wants/seahub.service.
Info:  [###########+........] > Removing the dedicated system user...
Info:  [############++++++..] > Removing dependencies
Info:  [##################+.] > Removing configuration...
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 1 second.
Working time: 1 minute, 26 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [2104.1] Installing application seafile…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Finding available ports...
Info:  [+...................] > Storing installation settings...
Info:  [#...................] > Configuring system user...
Info:  [#+++................] > Installing dependencies...
Info:  [####+...............] > Cleaning data directory...
Info:  [#####...............] > Creating base directory...
Info:  [#####+++............] > Installing sources files...
Info:  [########............] > Configuring MySQL database...
Info:  [########++..........] > Configuring application...
Info:  [##########+.........] > Configuring a systemd service...
Warning: yunohost.hook <lambda> - [2104.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [2104.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [###########.........] > Configuring nginx...
Warning: yunohost.hook <lambda> - [2104.1] failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [2104.1] [ERR] !!
Warning: yunohost.hook <lambda> - [2104.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [2104.1] !!
Warning: yunohost.hook <lambda> - [2104.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [2104.1] [DEBUG]: DEBUG   - + local line_match
Warning: yunohost.hook <lambda> - [2104.1] [DEBUG]: DEBUG   - + local length
Warning: yunohost.hook <lambda> - [2104.1] [DEBUG]: DEBUG   - + local log_path
Warning: yunohost.hook <lambda> - [2104.1] [DEBUG]: DEBUG   - + local timeout
Warning: yunohost.hook <lambda> - [2104.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args --service_name=nginx --action=reload
Warning: yunohost.hook <lambda> - [2104.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [2104.1] [DEBUG]: DEBUG   - + local service_name=nginx
Warning: yunohost.hook <lambda> - [2104.1] [DEBUG]: DEBUG   - + local action=reload
Warning: yunohost.hook <lambda> - [2104.1] [DEBUG]: DEBUG   - + local log_path=/var/log/nginx/nginx.log
Warning: yunohost.hook <lambda> - [2104.1] [DEBUG]: DEBUG   - + local length=20
Warning: yunohost.hook <lambda> - [2104.1] [DEBUG]: DEBUG   - + local timeout=300
Warning: yunohost.hook <lambda> - [2104.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [2104.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [2104.1] [DEBUG]: DEBUG   - + action=reload-or-restart
Warning: yunohost.hook <lambda> - [2104.1] [DEBUG]: DEBUG   - + systemctl reload-or-restart nginx
Warning: yunohost.hook <lambda> - [2104.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [2104.1] [DEBUG]: DEBUG   - + cp expect_scripts/first_launch.exp /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [2104.1] [DEBUG]: DEBUG   - + chmod +x /opt/yunohost/seafile/first_launch.exp
Warning: yunohost.hook <lambda> - [2104.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [2104.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /home/yunohost.app/seafile-data
Warning: yunohost.hook <lambda> - [2104.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: yunohost.hook <lambda> - [2104.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [2104.1] [DEBUG]: DEBUG   - ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: - failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [2104.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [2104.1] The operation 'Install 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190802-225534-app_install-seafile --share'
Warning: yunohost.hook <lambda> - [2104.1] ./remove: line 20: get_configuration: command not found
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [2104.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [2104.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Warning: yunohost.hook <lambda> - [2104.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [2104.1] ValueError: list.remove(x): x not in list
Info:  [##..................] > Removing logs...
Info:  /var/log/seafile wasn't deleted because it doesn't exist.
Info:  [##+.................] > Removing code...
Info:  /var/www/seafile wasn't deleted because it doesn't exist.
Info:  [###+++++++..........] > Backing up user data...
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [##########..........] > Removing databases...
Warning: yunohost.hook <lambda> - [2104.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [##########+.........] > Removing systemd units...
Warning: yunohost.hook <lambda> - [2104.1] Removed /etc/systemd/system/multi-user.target.wants/seahub.service.
Info:  [###########+........] > Removing the dedicated system user...
Info:  [############++++++..] > Removing dependencies
Info:  [##################+.] > Removing configuration...
Info:  /etc/fail2ban/jail.d/seafile.conf wasn't deleted because it doesn't exist.
Info:  /etc/fail2ban/filter.d/seafile.conf wasn't deleted because it doesn't exist.
Error: yunohost cli - Unknown service 'seafile'
Warning: yunohost.hook <lambda> - [2104.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [2104.1] Unknown service 'seahub'
Info:  [####################] > Removal of seafile completed
Error: yunohost cli - The operation 'Install 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190802-225534-app_install-seafile --share'

Try to access by url...
Test url: sous.domain.tld
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv
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: 45 seconds.
Working time for this test: 5 minutes, 47 seconds.


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

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

Upgrade...
Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 6 seconds.
Upgrade failed. (1)
Info: yunohost.app app_upgrade - [989.1] Now upgrading app seafile…
Warning: yunohost.hook <lambda> - [989.1] ./upgrade: line 20: get_configuration: command not found
Info:  [....................] > Loading installation settings...
Warning: yunohost.hook <lambda> - [989.1] [ERR] !!
Warning: yunohost.hook <lambda> - [989.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [989.1] !!
Warning: yunohost.hook <lambda> - [989.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - ++++ ynh_handle_getopts_args --manifest=../manifest.json --manifest_key=version
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - ++++ set +x
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - ++++ jq .version ../manifest.json --raw-output
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - +++ version_key=7.0.4~ynh1
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - +++ echo 7.0.4
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - ++ seafile_version=7.0.4
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - + ynh_script_progression '--message=Loading installation settings...'
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - + echo '! Helper used in legacy mode !'
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - > Loading installation settings...'
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - + set -x
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - + get_configuration
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_upgrade - [989.1] Unable to upgrade seafile
Info: yunohost.log close - [989.1] The operation 'Upgrade 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190802-225819-app_upgrade-seafile --share'
Error: yunohost cli - The following apps were not upgraded: seafile

Try to access by url...
Test url: sous.domain.tld/path
Real url: http://sous.domain.tld/path
HTTP code: 502
The HTTP code show an error.
Title of the page: 
Extract of the page:
                               502 Bad Gateway
     __________________________________________________________________

                                    nginx


Test url: sous.domain.tld/path/
Real url: http://sous.domain.tld/path/
HTTP code: 502
The HTTP code show an error.
Title of the page: 
Extract of the page:
                               502 Bad Gateway
     __________________________________________________________________

                                    nginx


--- FAIL ---

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


>> Upgrade from The oldest installable version - branch Old_version_for_CI... [Test 5/13]

Preliminary install...
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 2 minutes, 59 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [915.1] Installing application seafile…
Warning: moulinette.interface __call__ - 'yunohost app checkurl' is deprecated and will be removed in the future
Error: yunohost.app app_checkurl - [995.1] Packagers /! : 'app checkurl' is deprecated ! Please use the helper 'ynh_webpath_register' instead !
Warning: yunohost.hook <lambda> - [915.1] 'yunohost app checkurl' is deprecated and will be removed in the future
Warning: yunohost.hook <lambda> - [915.1] Packagers /! : 'app checkurl' is deprecated ! Please use the helper 'ynh_webpath_register' instead !
Warning: yunohost.hook <lambda> - [915.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [915.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [915.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [915.1] 
Extracting templates from packages: 61%
Extracting templates from packages: 100%

Upgrade...
A LXC container is already running.
Working time: 2 seconds.
Working time: 5 seconds.
Upgrade failed. (1)
Info: yunohost.app app_upgrade - [2773.1] Now upgrading app seafile…
Warning: yunohost.hook <lambda> - [2773.1] ./upgrade: line 20: get_configuration: command not found
Warning: yunohost.hook <lambda> - [2773.1] [ERR] !!
Info:  [....................] > Loading installation settings...
Warning: yunohost.hook <lambda> - [2773.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [2773.1] !!
Warning: yunohost.hook <lambda> - [2773.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [2773.1] [DEBUG]: DEBUG   - +++ set +x
Warning: yunohost.hook <lambda> - [2773.1] [DEBUG]: DEBUG   - +++ manifest=../manifest.json
Warning: yunohost.hook <lambda> - [2773.1] [DEBUG]: DEBUG   - ++++ ynh_read_manifest --manifest=../manifest.json --manifest_key=version
Warning: yunohost.hook <lambda> - [2773.1] [DEBUG]: DEBUG   - ++++ local legacy_args=mk
Warning: yunohost.hook <lambda> - [2773.1] [DEBUG]: DEBUG   -=manifest_key=)
Warning: yunohost.hook <lambda> - [2773.1] [DEBUG]: DEBUG   - ++++ declare -Ar args_array
Warning: yunohost.hook <lambda> - [2773.1] [DEBUG]: DEBUG   - ++++ local manifest
Warning: yunohost.hook <lambda> - [2773.1] [DEBUG]: DEBUG   - ++++ local manifest_key
Warning: yunohost.hook <lambda> - [2773.1] [DEBUG]: DEBUG   - ++++ ynh_handle_getopts_args --manifest=../manifest.json --manifest_key=version
Warning: yunohost.hook <lambda> - [2773.1] [DEBUG]: DEBUG   - ++++ set +x
Warning: yunohost.hook <lambda> - [2773.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [2773.1] [DEBUG]: DEBUG   - ++++ jq .version ../manifest.json --raw-output
Warning: yunohost.hook <lambda> - [2773.1] [DEBUG]: DEBUG   - +++ version_key=7.0.4~ynh1
Warning: - ./upgrade: line 20: get_configuration: command not found
Warning: yunohost.hook <lambda> - [2773.1] [DEBUG]: DEBUG   - +++ echo 7.0.4
Warning: yunohost.hook <lambda> - [2773.1] [DEBUG]: DEBUG   - ++ seafile_version=7.0.4
Warning: yunohost.hook <lambda> - [2773.1] [DEBUG]: DEBUG   - + ynh_script_progression '--message=Loading installation settings...'
Warning: yunohost.hook <lambda> - [2773.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [2773.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [2773.1] [DEBUG]: DEBUG   - + echo '! Helper used in legacy mode !'
Warning: yunohost.hook <lambda> - [2773.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [2773.1] [DEBUG]: DEBUG   - > Loading installation settings...'
Warning: yunohost.hook <lambda> - [2773.1] [DEBUG]: DEBUG   - + set -x
Warning: yunohost.hook <lambda> - [2773.1] [DEBUG]: DEBUG   - + get_configuration
Warning: yunohost.hook <lambda> - [2773.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_upgrade - [2773.1] Unable to upgrade seafile
Info: yunohost.log close - [2773.1] The operation 'Upgrade 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190802-230244-app_upgrade-seafile --share'
Error: yunohost cli - The following apps were not upgraded: seafile

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path
HTTP code: 502
The HTTP code show an error.
Title of the page: 
Extract of the page:
                               502 Bad Gateway
     __________________________________________________________________

                                    nginx


Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 502
The HTTP code show an error.
Title of the page: 
Extract of the page:
                               502 Bad Gateway
     __________________________________________________________________

                                    nginx


--- FAIL ---

Deleting...
A LXC container is already running.
Working time: 1 second.
Working time: 8 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 45 seconds.


>> Upgrade from Before move main dir to opt - branch Old_version_for_CI_2... [Test 6/13]

Preliminary install...
Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 1 minute, 32 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [906.1] Installing application seafile…
Warning: yunohost.hook <lambda> - [906.1] 
Extracting templates from packages: 61%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [906.1]   Ignoring imageio: markers 'python_version >= "3.4"' don't match your environment
Warning: yunohost.hook <lambda> - [906.1]   Ignoring imageio-ffmpeg: markers 'python_version >= "3.4"' don't match your environment

Upgrade...
A LXC container is already running.
Working time: 2 seconds.
Working time: 5 seconds.
Upgrade failed. (1)
Info: yunohost.app app_upgrade - [3013.1] Now upgrading app seafile…
Warning: yunohost.hook <lambda> - [3013.1] ./upgrade: line 20: get_configuration: command not found
Info:  [....................] > Loading installation settings...
Warning: yunohost.hook <lambda> - [3013.1] [ERR] !!
Warning: yunohost.hook <lambda> - [3013.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [3013.1] !!
Warning: yunohost.hook <lambda> - [3013.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - +++ manifest=../manifest.json
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - ++++ ynh_read_manifest --manifest=../manifest.json --manifest_key=version
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - ++++ local legacy_args=mk
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   -=manifest_key=)
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - ++++ declare -Ar args_array
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - ++++ local manifest
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - ++++ local manifest_key
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - ++++ ynh_handle_getopts_args --manifest=../manifest.json --manifest_key=version
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - ++++ set +x
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - ++++ jq .version ../manifest.json --raw-output
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - +++ version_key=7.0.4~ynh1
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - +++ echo 7.0.4
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - ++ seafile_version=7.0.4
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - + ynh_script_progression '--message=Loading installation settings...'
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - + echo '! Helper used in legacy mode !'
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - > Loading installation settings...'
Warning: - ./upgrade: line 20: get_configuration: command not found
Info: - > Loading installation settings...
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - + set -x
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - + get_configuration
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_upgrade - [3013.1] Unable to upgrade seafile
Info: yunohost.log close - [3013.1] The operation 'Upgrade 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190802-230531-app_upgrade-seafile --share'
Error: yunohost cli - The following apps were not upgraded: seafile

Try to access by url...
Test url: sous.domain.tld/path
Real url: http://sous.domain.tld/path
HTTP code: 502
The HTTP code show an error.
Title of the page: 
Extract of the page:
                               502 Bad Gateway
     __________________________________________________________________

                                    nginx


Test url: sous.domain.tld/path/
Real url: http://sous.domain.tld/path/
HTTP code: 502
The HTTP code show an error.
Title of the page: 
Extract of the page:
                               502 Bad Gateway
     __________________________________________________________________

                                    nginx


--- FAIL ---

Deleting...
A LXC container is already running.
Working time: 1 second.
Working time: 13 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 43 seconds.


>> Upgrade from the commit f28bb98edd9bd018acc168a22186cc79737373a0... [Test 7/13]

Preliminary install...
Start the LXC container.
Working time: 10 seconds.
Working time: 1 minute, 58 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [905.1] Installing application seafile…
Warning: yunohost.hook <lambda> - [905.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%

Upgrade...
A LXC container is already running.
Working time: 1 second.
Working time: 5 seconds.
Upgrade failed. (1)
Info: yunohost.app app_upgrade - [5062.1] Now upgrading app seafile…
Warning: yunohost.hook <lambda> - [5062.1] ./upgrade: line 20: get_configuration: command not found
Warning: yunohost.hook <lambda> - [5062.1] [ERR] !!
Info:  [....................] > Loading installation settings...
Warning: yunohost.hook <lambda> - [5062.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [5062.1] !!
Warning: yunohost.hook <lambda> - [5062.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [5062.1] [DEBUG]: DEBUG   - +++ ynh_handle_getopts_args
Warning: yunohost.hook <lambda> - [5062.1] [DEBUG]: DEBUG   - +++ set +x
Warning: yunohost.hook <lambda> - [5062.1] [DEBUG]: DEBUG   - +++ manifest=../manifest.json
Warning: yunohost.hook <lambda> - [5062.1] [DEBUG]: DEBUG   - ++++ ynh_read_manifest --manifest=../manifest.json --manifest_key=version
Warning: yunohost.hook <lambda> - [5062.1] [DEBUG]: DEBUG   - ++++ local legacy_args=mk
Warning: yunohost.hook <lambda> - [5062.1] [DEBUG]: DEBUG   -=manifest_key=)
Warning: yunohost.hook <lambda> - [5062.1] [DEBUG]: DEBUG   - ++++ declare -Ar args_array
Warning: yunohost.hook <lambda> - [5062.1] [DEBUG]: DEBUG   - ++++ local manifest
Warning: yunohost.hook <lambda> - [5062.1] [DEBUG]: DEBUG   - ++++ local manifest_key
Warning: yunohost.hook <lambda> - [5062.1] [DEBUG]: DEBUG   - ++++ ynh_handle_getopts_args --manifest=../manifest.json --manifest_key=version
Warning: yunohost.hook <lambda> - [5062.1] [DEBUG]: DEBUG   - ++++ set +x
Warning: yunohost.hook <lambda> - [5062.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [5062.1] [DEBUG]: DEBUG   - ++++ jq .version ../manifest.json --raw-output
Warning: yunohost.hook <lambda> - [5062.1] [DEBUG]: DEBUG   - +++ version_key=7.0.4~ynh1
Warning: yunohost.hook <lambda> - [5062.1] [DEBUG]: DEBUG   - +++ echo 7.0.4
Warning: yunohost.hook <lambda> - [5062.1] [DEBUG]: DEBUG   - ++ seafile_version=7.0.4
Warning: yunohost.hook <lambda> - [5062.1] [DEBUG]: DEBUG   - + ynh_script_progression '--message=Loading installation settings...'
Warning: yunohost.hook <lambda> - [5062.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [5062.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [5062.1] [DEBUG]: DEBUG   - + echo '! Helper used in legacy mode !'
Warning: yunohost.hook <lambda> - [5062.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [5062.1] [DEBUG]: DEBUG   - > Loading installation settings...'
Warning: yunohost.hook <lambda> - [5062.1] [DEBUG]: DEBUG   - + set -x
Warning: yunohost.hook <lambda> - [5062.1] [DEBUG]: DEBUG   - + get_configuration
Warning: yunohost.hook <lambda> - [5062.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_upgrade - [5062.1] Unable to upgrade seafile
Info: yunohost.log close - [5062.1] The operation 'Upgrade 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190802-230847-app_upgrade-seafile --share'
Error: yunohost cli - The following apps were not upgraded: seafile

Try to access by url...
Test url: sous.domain.tld/path
Real url: http://sous.domain.tld/path
HTTP code: 502
The HTTP code show an error.
Title of the page: 
Extract of the page:
                               502 Bad Gateway
     __________________________________________________________________

                                    nginx


Test url: sous.domain.tld/path/
Real url: http://sous.domain.tld/path/
HTTP code: 502
The HTTP code show an error.
Title of the page: 
Extract of the page:
                               502 Bad Gateway
     __________________________________________________________________

                                    nginx


--- FAIL ---

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 14 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 43 seconds.
Restore the previous snapshot.
Working time: 34 seconds.
Working time for this test: 12 minutes, 40 seconds.


>> Installation in private mode... [Test 8/13]
Root install failed, impossible to perform this test...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 1 minute, 57 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [911.1] Installing application seafile…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Finding available ports...
Info:  [+...................] > Storing installation settings...
Info:  [#...................] > Configuring system user...
Info:  [#+++................] > Installing dependencies...
Warning: yunohost.hook <lambda> - [911.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%
Info:  [####+...............] > Cleaning data directory...
Info:  [#####...............] > Creating base directory...
Info:  [#####+++............] > Installing sources files...
Info:  [########............] > Configuring MySQL database...
Info:  [########++..........] > Configuring application...
Info:  [##########+.........] > Configuring a systemd service...
Warning: yunohost.hook <lambda> - [911.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [911.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [###########.........] > Configuring nginx...
Warning: yunohost.hook <lambda> - [911.1] failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [911.1] [ERR] !!
Warning: yunohost.hook <lambda> - [911.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [911.1] !!
Warning: yunohost.hook <lambda> - [911.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [911.1] [DEBUG]: DEBUG   - + systemctl reload-or-restart nginx
Warning: yunohost.hook <lambda> - [911.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [911.1] [DEBUG]: DEBUG   - + cp expect_scripts/first_launch.exp /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [911.1] [DEBUG]: DEBUG   - + chmod +x /opt/yunohost/seafile/first_launch.exp
Warning: yunohost.hook <lambda> - [911.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [911.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /home/yunohost.app/seafile-data
Warning: yunohost.hook <lambda> - [911.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: yunohost.hook <lambda> - [911.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [911.1] [DEBUG]: DEBUG   - ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: - failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [911.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [911.1] The operation 'Install 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190802-231039-app_install-seafile --share'
Warning: yunohost.hook <lambda> - [911.1] ./remove: line 20: get_configuration: command not found
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [911.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [911.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Warning: yunohost.hook <lambda> - [911.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [911.1] KeyError: 'skipped_urls'
Info:  [##..................] > Removing logs...
Info:  /var/log/seafile wasn't deleted because it doesn't exist.
Info:  [##+.................] > Removing code...
Info:  /var/www/seafile wasn't deleted because it doesn't exist.
Info:  [###+++++++..........] > Backing up user data...
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [##########..........] > Removing databases...
Warning: yunohost.hook <lambda> - [911.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [##########+.........] > Removing systemd units...
Warning: yunohost.hook <lambda> - [911.1] Removed /etc/systemd/system/multi-user.target.wants/seahub.service.
Info:  [###########+........] > Removing the dedicated system user...
Info:  [############++++++..] > Removing dependencies
Info:  [##################+.] > Removing configuration...
Info:  /etc/fail2ban/jail.d/seafile.conf wasn't deleted because it doesn't exist.
Info:  /etc/fail2ban/filter.d/seafile.conf wasn't deleted because it doesn't exist.
Error: yunohost cli - Unknown service 'seafile'
Warning: yunohost.hook <lambda> - [911.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [911.1] Unknown service 'seahub'
Info:  [####################] > Removal of seafile completed
Error: yunohost cli - The operation 'Install 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190802-231039-app_install-seafile --share'

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aA==
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/path/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aC8=
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: 43 seconds.
Restore the previous snapshot.
Working time: 35 seconds.
Working time for this test: 3 minutes, 27 seconds.


>> Installation in public mode... [Test 9/13]
Root install failed, impossible to perform this test...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 2 minutes, 3 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [919.1] Installing application seafile…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Finding available ports...
Info:  [+...................] > Storing installation settings...
Info:  [#...................] > Configuring system user...
Info:  [#+++................] > Installing dependencies...
Warning: yunohost.hook <lambda> - [919.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%
Info:  [####+...............] > Cleaning data directory...
Info:  [#####...............] > Creating base directory...
Info:  [#####+++............] > Installing sources files...
Info:  [########............] > Configuring MySQL database...
Info:  [########++..........] > Configuring application...
Info:  [##########+.........] > Configuring a systemd service...
Warning: yunohost.hook <lambda> - [919.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [919.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [###########.........] > Configuring nginx...
Warning: yunohost.hook <lambda> - [919.1] failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [919.1] [ERR] !!
Warning: yunohost.hook <lambda> - [919.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [919.1] !!
Warning: yunohost.hook <lambda> - [919.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + local line_match
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + local length
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + local log_path
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + local timeout
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args --service_name=nginx --action=reload
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + local service_name=nginx
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + local action=reload
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + local log_path=/var/log/nginx/nginx.log
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + local length=20
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + local timeout=300
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + action=reload-or-restart
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + systemctl reload-or-restart nginx
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + cp expect_scripts/first_launch.exp /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + chmod +x /opt/yunohost/seafile/first_launch.exp
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /home/yunohost.app/seafile-data
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: - failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [919.1] The operation 'Install 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190802-231404-app_install-seafile --share'
Warning: yunohost.hook <lambda> - [919.1] ./remove: line 20: get_configuration: command not found
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [919.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [919.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Warning: yunohost.hook <lambda> - [919.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [919.1] KeyError: 'skipped_urls'
Info:  [##..................] > Removing logs...
Info:  /var/log/seafile wasn't deleted because it doesn't exist.
Info:  [##+.................] > Removing code...
Info:  /var/www/seafile wasn't deleted because it doesn't exist.
Info:  [###+++++++..........] > Backing up user data...
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [##########..........] > Removing databases...
Warning: yunohost.hook <lambda> - [919.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [##########+.........] > Removing systemd units...
Warning: yunohost.hook <lambda> - [919.1] Removed /etc/systemd/system/multi-user.target.wants/seahub.service.
Info:  [###########+........] > Removing the dedicated system user...
Info:  [############++++++..] > Removing dependencies
Info:  [##################+.] > Removing configuration...
Info:  /etc/fail2ban/jail.d/seafile.conf wasn't deleted because it doesn't exist.
Info:  /etc/fail2ban/filter.d/seafile.conf wasn't deleted because it doesn't exist.
Error: yunohost cli - Unknown service 'seafile'
Warning: yunohost.hook <lambda> - [919.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [919.1] Unknown service 'seahub'
Error: yunohost cli - The operation 'Install 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190802-231404-app_install-seafile --share'

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aA==
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/path/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aC8=
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
App page is not public: it should be publicly accessible, but redirects to the Yunohost portal instead
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 42 seconds.
Restore the previous snapshot.
Working time: 35 seconds.
Working time for this test: 3 minutes, 28 seconds.


>> Malformed path... [Test 10/13]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 1 minute, 59 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [899.1] Installing application seafile…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Finding available ports...
Info:  [+...................] > Storing installation settings...
Info:  [#...................] > Configuring system user...
Info:  [#+++................] > Installing dependencies...
Warning: yunohost.hook <lambda> - [899.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%
Info:  [####+...............] > Cleaning data directory...
Info:  [#####...............] > Creating base directory...
Info:  [#####+++............] > Installing sources files...
Info:  [########............] > Configuring MySQL database...
Info:  [########++..........] > Configuring application...
Info:  [##########+.........] > Configuring a systemd service...
Warning: yunohost.hook <lambda> - [899.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [899.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [###########.........] > Configuring nginx...
Warning: yunohost.hook <lambda> - [899.1] failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [899.1] [ERR] !!
Warning: yunohost.hook <lambda> - [899.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [899.1] !!
Warning: yunohost.hook <lambda> - [899.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [899.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [899.1] [DEBUG]: DEBUG   - + cp expect_scripts/first_launch.exp /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [899.1] [DEBUG]: DEBUG   - + chmod +x /opt/yunohost/seafile/first_launch.exp
Warning: yunohost.hook <lambda> - [899.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [899.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /home/yunohost.app/seafile-data
Warning: yunohost.hook <lambda> - [899.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: yunohost.hook <lambda> - [899.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [899.1] [DEBUG]: DEBUG   - ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: - failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [899.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [899.1] The operation 'Install 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190802-231734-app_install-seafile --share'
Warning: yunohost.hook <lambda> - [899.1] ./remove: line 20: get_configuration: command not found
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [899.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [899.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Warning: yunohost.hook <lambda> - [899.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [899.1] KeyError: 'skipped_urls'
Info:  [##..................] > Removing logs...
Info:  /var/log/seafile wasn't deleted because it doesn't exist.
Info:  [##+.................] > Removing code...
Info:  /var/www/seafile wasn't deleted because it doesn't exist.
Info:  [###+++++++..........] > Backing up user data...
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [##########..........] > Removing databases...
Warning: yunohost.hook <lambda> - [899.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [##########+.........] > Removing systemd units...
Warning: yunohost.hook <lambda> - [899.1] Removed /etc/systemd/system/multi-user.target.wants/seahub.service.
Info:  [###########+........] > Removing the dedicated system user...
Info:  [############++++++..] > Removing dependencies
Info:  [##################+.] > Removing configuration...
Info:  /etc/fail2ban/jail.d/seafile.conf wasn't deleted because it doesn't exist.
Info:  /etc/fail2ban/filter.d/seafile.conf wasn't deleted because it doesn't exist.
Error: yunohost cli - Unknown service 'seafile'
Warning: yunohost.hook <lambda> - [899.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [899.1] Unknown service 'seahub'
Info:  [####################] > Removal of seafile completed
Error: yunohost cli - The operation 'Install 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190802-231734-app_install-seafile --share'

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aA==
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/path/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aC8=
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: 45 seconds.
Working time for this test: 2 minutes, 56 seconds.


>> Port already used... [Test 11/13]
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 7 seconds.
A LXC container is already running.
Working time: 1 second.
Working time: 1 minute, 56 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [965.1] Installing application seafile…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Finding available ports...
Info:  [+...................] > Storing installation settings...
Info:  [#...................] > Configuring system user...
Info:  [#+++................] > Installing dependencies...
Warning: yunohost.hook <lambda> - [965.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%
Info:  [####+...............] > Cleaning data directory...
Info:  [#####...............] > Creating base directory...
Info:  [#####+++............] > Installing sources files...
Info:  [########............] > Configuring MySQL database...
Info:  [########++..........] > Configuring application...
Info:  [##########+.........] > Configuring a systemd service...
Warning: yunohost.hook <lambda> - [965.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [965.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [###########.........] > Configuring nginx...
Warning: yunohost.hook <lambda> - [965.1] failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [965.1] [ERR] !!
Warning: yunohost.hook <lambda> - [965.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [965.1] !!
Warning: yunohost.hook <lambda> - [965.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   - + local line_match
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   - + local length
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   - + local log_path
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   - + local timeout
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args --service_name=nginx --action=reload
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   - + local service_name=nginx
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   - + local action=reload
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   - + local log_path=/var/log/nginx/nginx.log
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   - + local length=20
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   - + local timeout=300
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   - + action=reload-or-restart
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   - + systemctl reload-or-restart nginx
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   - + cp expect_scripts/first_launch.exp /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   - + chmod +x /opt/yunohost/seafile/first_launch.exp
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /home/yunohost.app/seafile-data
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   - ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: - failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [965.1] The operation 'Install 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190802-232032-app_install-seafile --share'
Warning: yunohost.hook <lambda> - [965.1] ./remove: line 20: get_configuration: command not found
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [965.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [965.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Warning: yunohost.hook <lambda> - [965.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [965.1] KeyError: 'skipped_urls'
Info:  [##..................] > Removing logs...
Info:  /var/log/seafile wasn't deleted because it doesn't exist.
Info:  [##+.................] > Removing code...
Info:  /var/www/seafile wasn't deleted because it doesn't exist.
Info:  [###+++++++..........] > Backing up user data...
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [##########..........] > Removing databases...
Warning: yunohost.hook <lambda> - [965.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [##########+.........] > Removing systemd units...
Warning: yunohost.hook <lambda> - [965.1] Removed /etc/systemd/system/multi-user.target.wants/seahub.service.
Info:  [###########+........] > Removing the dedicated system user...
Info:  [############++++++..] > Removing dependencies
Info:  [##################+.] > Removing configuration...
Info:  /etc/fail2ban/jail.d/seafile.conf wasn't deleted because it doesn't exist.
Info:  /etc/fail2ban/filter.d/seafile.conf wasn't deleted because it doesn't exist.
Error: yunohost cli - Unknown service 'seafile'
Warning: yunohost.hook <lambda> - [965.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [965.1] Unknown service 'seahub'
Info:  [####################] > Removal of seafile completed
Error: yunohost cli - The operation 'Install 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190802-232032-app_install-seafile --share'

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aA==
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/path/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aC8=
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: 47 seconds.
Working time for this test: 2 minutes, 59 seconds.


>> Backup/Restore... [Test 12/13]
Root install failed, impossible to perform this test...

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

Backup of the application...
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 1 minute, 37 seconds.
Backup successful. (0)
Info: yunohost.backup _collect_app_files - [989.1] Collecting files to be backuped for seafile…
Info:  [+...................] > Loading installation settings...
Info:  [#+++................] > Backing up code...
Info:  [####++++++++++++....] > Backing up user data...
Info:  [################+...] > Backing configuration...
Info:  [#################+..] > Backing database
Info: yunohost.backup backup_create - [989.1] Now creating a backup archive from the files collected…
--- SUCCESS ---

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

Restore after removing the application...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, 21 seconds.
Restore failed. (1)
Info: yunohost.backup backup_restore - [2549.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [2549.1] Restoring application seafile…
Info:  [....................] > Loading settings...
Info:  [++++++++............] > Restoring files...
Info:  [########++++........] > Reinstalling dependencies...
Warning: yunohost.hook <lambda> - [2549.1] Exception:
Warning: yunohost.hook <lambda> - [2549.1] Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [2549.1]   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
Warning: yunohost.hook <lambda> - [2549.1]     status = self.run(options, args)
Warning: yunohost.hook <lambda> - [2549.1]   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 307, in run
Warning: yunohost.hook <lambda> - [2549.1]     delete=build_delete) as build_dir:
Warning: yunohost.hook <lambda> - [2549.1]   File "/usr/lib/python2.7/dist-packages/pip/utils/build.py", line 22, in __init__
Warning: yunohost.hook <lambda> - [2549.1]     name = os.path.realpath(tempfile.mkdtemp(prefix="pip-build-"))
Warning: yunohost.hook <lambda> - [2549.1]   File "/usr/lib/python2.7/tempfile.py", line 331, in mkdtemp
Warning: yunohost.hook <lambda> - [2549.1]     dir = gettempdir()
Warning: yunohost.hook <lambda> - [2549.1]   File "/usr/lib/python2.7/tempfile.py", line 275, in gettempdir
Warning: yunohost.hook <lambda> - [2549.1]     tempdir = _get_default_tempdir()
Warning: yunohost.hook <lambda> - [2549.1]   File "/usr/lib/python2.7/tempfile.py", line 217, in _get_default_tempdir
Warning: yunohost.hook <lambda> - [2549.1]     ("No usable temporary directory found in %s" % dirlist))
Warning: yunohost.hook <lambda> - [2549.1] IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/yunohost.backup/tmp/Backup_test/apps/seafile/backup']
Warning: yunohost.hook <lambda> - [2549.1] [ERR] !!
Warning: yunohost.hook <lambda> - [2549.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [2549.1] !!
Warning: yunohost.hook <lambda> - [2549.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [2549.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args --app=seafile --key=apt_dependencies '--value=python2.7, python-pip, libpython2.7, python-setuptools, python-ldap, python-urllib3, python-simplejson, python-imaging, python-mysqldb, python-flup, expect, python-requests, python-dev, ffmpeg, python-memcache, libjpeg62-turbo-dev, zlib1g-dev'
Warning: yunohost.hook <lambda> - [2549.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [2549.1] [DEBUG]: DEBUG   - + ynh_app_setting set seafile apt_dependencies 'python2.7, python-pip, libpython2.7, python-setuptools, python-ldap, python-urllib3, python-simplejson, python-imaging, python-mysqldb, python-flup, expect, python-requests, python-dev, ffmpeg, python-memcache, libjpeg62-turbo-dev, zlib1g-dev'
Warning: yunohost.hook <lambda> - [2549.1] [DEBUG]: DEBUG   - + ACTION=set
Warning: yunohost.hook <lambda> - [2549.1] [DEBUG]: DEBUG   - + APP=seafile
Warning: yunohost.hook <lambda> - [2549.1] [DEBUG]: DEBUG   - + KEY=apt_dependencies
Warning: yunohost.hook <lambda> - [2549.1] [DEBUG]: DEBUG   - + VALUE='python2.7, python-pip, libpython2.7, python-setuptools, python-ldap, python-urllib3, python-simplejson, python-imaging, python-mysqldb, python-flup, expect, python-requests, python-dev, ffmpeg, python-memcache, libjpeg62-turbo-dev, zlib1g-dev'
Warning: yunohost.hook <lambda> - [2549.1] [DEBUG]: DEBUG   - + python -
Warning: yunohost.hook <lambda> - [2549.1] [DEBUG]: DEBUG   - + sudo -u seafile pip install --user --upgrade Pillow 'moviepy<1.0' certifi idna
Warning: - Exception:
Warning: - Traceback (most recent call last):
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
Warning: -     status = self.run(options, args)
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 307, in run
Warning: -     delete=build_delete) as build_dir:
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/utils/build.py", line 22, in __init__
Warning: -     name = os.path.realpath(tempfile.mkdtemp(prefix="pip-build-"))
Warning: -   File "/usr/lib/python2.7/tempfile.py", line 331, in mkdtemp
Warning: -     dir = gettempdir()
Warning: -   File "/usr/lib/python2.7/tempfile.py", line 275, in gettempdir
Warning: -     tempdir = _get_default_tempdir()
Warning: -   File "/usr/lib/python2.7/tempfile.py", line 217, in _get_default_tempdir
Warning: -     ("No usable temporary directory found in %s" % dirlist))
Warning: -
Warning: yunohost.hook <lambda> - [2549.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.backup _restore_app - [2549.1] Unable to restore the app 'seafile'
Info: yunohost.log close - [2549.1] The operation 'Restore 'seafile' from a backup archive' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190802-232632-backup_restore_app-seafile --share'
Warning: yunohost.hook <lambda> - [2549.1] ./remove: line 20: get_configuration: command not found
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [2549.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [2549.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Warning: yunohost.hook <lambda> - [2549.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [2549.1] ValueError: list.remove(x): x not in list
Info:  [##..................] > Removing logs...
Info:  /var/log/seafile wasn't deleted because it doesn't exist.
Info:  [##+.................] > Removing code...
Info:  /var/www/seafile wasn't deleted because it doesn't exist.
Info:  [###+++++++..........] > Backing up user data...
Warning: yunohost.hook <lambda> - [2549.1] [WARN] Database ccnetdb not found
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [##########..........] > Removing databases...
Warning: yunohost.hook <lambda> - [2549.1] [WARN] Database seafiledb not found
Warning: yunohost.hook <lambda> - [2549.1] [WARN] Database seahubdb not found
Info:  [##########+.........] > Removing systemd units...
Info:  [###########+........] > Removing the dedicated system user...
Info:  [############++++++..] > Removing dependencies
Info:  [##################+.] > Removing configuration...
Error: yunohost cli - Unknown service 'seafile'
Warning: yunohost.hook <lambda> - [2549.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [2549.1] Unknown service 'seahub'
Info:  [####################] > Removal of seafile completed
Error: yunohost cli - Nothing has been restored

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aA==
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/path/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aC8=
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: 21 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: 5 seconds.
Working time: 2 minutes, .
Restore failed. (1)
Warning: yunohost.service _run_service_command - [187.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.backup backup_restore - [919.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [919.1] Restoring application seafile…
Info:  [....................] > Loading settings...
Info:  [++++++++............] > Restoring files...
Info:  [########++++........] > Reinstalling dependencies...
Warning: yunohost.hook <lambda> - [919.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [919.1] Exception:
Warning: yunohost.hook <lambda> - [919.1] Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [919.1]   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
Warning: yunohost.hook <lambda> - [919.1]     status = self.run(options, args)
Warning: yunohost.hook <lambda> - [919.1]   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 307, in run
Warning: yunohost.hook <lambda> - [919.1]     delete=build_delete) as build_dir:
Warning: yunohost.hook <lambda> - [919.1]   File "/usr/lib/python2.7/dist-packages/pip/utils/build.py", line 22, in __init__
Warning: yunohost.hook <lambda> - [919.1]     name = os.path.realpath(tempfile.mkdtemp(prefix="pip-build-"))
Warning: yunohost.hook <lambda> - [919.1]   File "/usr/lib/python2.7/tempfile.py", line 331, in mkdtemp
Warning: yunohost.hook <lambda> - [919.1]     dir = gettempdir()
Warning: yunohost.hook <lambda> - [919.1]   File "/usr/lib/python2.7/tempfile.py", line 275, in gettempdir
Warning: yunohost.hook <lambda> - [919.1]     tempdir = _get_default_tempdir()
Warning: yunohost.hook <lambda> - [919.1]   File "/usr/lib/python2.7/tempfile.py", line 217, in _get_default_tempdir
Warning: yunohost.hook <lambda> - [919.1]     ("No usable temporary directory found in %s" % dirlist))
Warning: yunohost.hook <lambda> - [919.1] IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/yunohost.backup/tmp/Backup_test/apps/seafile/backup']
Warning: yunohost.hook <lambda> - [919.1] [ERR] !!
Warning: yunohost.hook <lambda> - [919.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [919.1] !!
Warning: yunohost.hook <lambda> - [919.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args --app=seafile --key=apt_dependencies '--value=python2.7, python-pip, libpython2.7, python-setuptools, python-ldap, python-urllib3, python-simplejson, python-imaging, python-mysqldb, python-flup, expect, python-requests, python-dev, ffmpeg, python-memcache, libjpeg62-turbo-dev, zlib1g-dev'
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + ynh_app_setting set seafile apt_dependencies 'python2.7, python-pip, libpython2.7, python-setuptools, python-ldap, python-urllib3, python-simplejson, python-imaging, python-mysqldb, python-flup, expect, python-requests, python-dev, ffmpeg, python-memcache, libjpeg62-turbo-dev, zlib1g-dev'
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + ACTION=set
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + APP=seafile
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + KEY=apt_dependencies
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + VALUE='python2.7, python-pip, libpython2.7, python-setuptools, python-ldap, python-urllib3, python-simplejson, python-imaging, python-mysqldb, python-flup, expect, python-requests, python-dev, ffmpeg, python-memcache, libjpeg62-turbo-dev, zlib1g-dev'
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + python -
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + sudo -u seafile pip install --user --upgrade Pillow 'moviepy<1.0' certifi idna
Warning: - Exception:
Warning: - Traceback (most recent call last):
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
Warning: -     status = self.run(options, args)
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 307, in run
Warning: -     delete=build_delete) as build_dir:
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/utils/build.py", line 22, in __init__
Warning: -     name = os.path.realpath(tempfile.mkdtemp(prefix="pip-build-"))
Warning: -   File "/usr/lib/python2.7/tempfile.py", line 331, in mkdtemp
Warning: -     dir = gettempdir()
Warning: -   File "/usr/lib/python2.7/tempfile.py", line 275, in gettempdir
Warning: -     tempdir = _get_default_tempdir()
Warning: -   File "/usr/lib/python2.7/tempfile.py", line 217, in _get_default_tempdir
Warning: -     ("No usable temporary directory found in %s" % dirlist))
Warning: -
Warning: yunohost.hook <lambda> - [919.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.backup _restore_app - [919.1] Unable to restore the app 'seafile'
Info: yunohost.log close - [919.1] The operation 'Restore 'seafile' from a backup archive' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190802-232906-backup_restore_app-seafile --share'
Warning: yunohost.hook <lambda> - [919.1] ./remove: line 20: get_configuration: command not found
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [919.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [919.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Info:  [##..................] > Removing logs...
Warning: yunohost.hook <lambda> - [919.1]     data["skipped_urls"].remove("/seafhttp")
Info:  /var/log/seafile wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [919.1] KeyError: 'skipped_urls'
Info:  [##+.................] > Removing code...
Info:  /var/www/seafile wasn't deleted because it doesn't exist.
Info:  [###+++++++..........] > Backing up user data...
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [##########..........] > Removing databases...
Warning: yunohost.hook <lambda> - [919.1] [WARN] Database ccnetdb not found
Warning: yunohost.hook <lambda> - [919.1] [WARN] Database seafiledb not found
Warning: yunohost.hook <lambda> - [919.1] [WARN] Database seahubdb not found
Info:  [##########+.........] > Removing systemd units...
Info:  [###########+........] > Removing the dedicated system user...
Info:  [############++++++..] > Removing dependencies
Info:  [##################+.] > Removing configuration...
Error: yunohost cli - Unknown service 'seafile'
Warning: yunohost.hook <lambda> - [919.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [919.1] Unknown service 'seahub'
Error: yunohost cli - Nothing has been restored

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aA==
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/path/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aC8=
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: 42 seconds.
Restore the previous snapshot.
Working time: 34 seconds.
Working time for this test: 8 minutes, 23 seconds.


>> Change URL... [Test 13/13]
Root install failed, impossible to perform this test...

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 21 seconds.
Change the url from sous.domain.tld/path to sous.domain.tld/path_2...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 24 seconds.
Change_url script successful. (0)
Info:  [+...................] > Loading installation settings...
Info:  [#++.................] > Updating nginx configuration...
Info:  [###+................] > Stoping services...
Info:  [####++..............] > Updating seafile configuration...
Info:  [######++++++++++....] > Updating seafile database
Info:  [################++..] > Starting services...
Warning: yunohost.hook <lambda> - [989.1] Job for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [989.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [989.1] -- Logs begin at Fri 2019-08-02 23:31:58 UTC, end at Fri 2019-08-02 23:32:31 UTC. --
Warning: yunohost.hook <lambda> - [989.1] Aug 02 23:32:09 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [989.1] Aug 02 23:32:09 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [989.1] Aug 02 23:32:09 pchecker_lxc seahub.sh[961]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [989.1] Aug 02 23:32:09 pchecker_lxc seahub.sh[961]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [989.1] Aug 02 23:32:13 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [989.1] Aug 02 23:32:25 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [989.1] Aug 02 23:32:25 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [989.1] Aug 02 23:32:25 pchecker_lxc seahub.sh[2094]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [989.1] Aug 02 23:32:25 pchecker_lxc seahub.sh[2094]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [989.1] Aug 02 23:32:31 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [989.1] Aug 02 23:32:31 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [989.1] Aug 02 23:32:31 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [989.1] Aug 02 23:32:31 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [989.1] [ERR] !!
Warning: yunohost.hook <lambda> - [989.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [989.1] !!
Warning: yunohost.hook <lambda> - [989.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - + local length=20
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - + local timeout=300
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - + systemctl start seahub
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - + journalctl --no-pager --lines=20 -u seahub
Warning: - Job for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - + test -e /var/log/seahub/seahub.log
Warning: - See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - + false
Warning: - -- Logs begin at Fri 2019-08-02 23:31:58 UTC, end at Fri 2019-08-02 23:32:31 UTC. --
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_change_url - [989.1] Failed to change 'seafile' url.
Info: yunohost.log close - [989.1] The operation 'Change the url of 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190802-233210-app_change_url-seafile --share'

Try to access by url...
Test url: sous.domain.tld/path_2
Real url: http://sous.domain.tld/path_2
HTTP code: 502
The HTTP code show an error.
Title of the page: 
Extract of the page:
                               502 Bad Gateway
     __________________________________________________________________

                                    nginx


Test url: sous.domain.tld/path_2/
Real url: http://sous.domain.tld/path_2/
HTTP code: 502
The HTTP code show an error.
Title of the page: 
Extract of the page:
                               502 Bad Gateway
     __________________________________________________________________

                                    nginx


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

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 19 seconds.
Change the url from sous.domain.tld/path to sous.domain.tld/...
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 28 seconds.
Change_url script successful. (0)
Info:  [+...................] > Loading installation settings...
Info:  [#++.................] > Updating nginx configuration...
Info:  [###+................] > Stoping services...
Info:  [####++..............] > Updating seafile configuration...
Info:  [######++++++++++....] > Updating seafile database
Info:  [################++..] > Starting services...
Warning: yunohost.hook <lambda> - [963.1] Job for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [963.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [963.1] -- Logs begin at Fri 2019-08-02 23:33:39 UTC, end at Fri 2019-08-02 23:34:10 UTC. --
Warning: yunohost.hook <lambda> - [963.1] Aug 02 23:33:50 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [963.1] Aug 02 23:33:50 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [963.1] Aug 02 23:33:50 pchecker_lxc seahub.sh[1048]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [963.1] Aug 02 23:33:50 pchecker_lxc seahub.sh[1048]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [963.1] Aug 02 23:33:52 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [963.1] Aug 02 23:34:04 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [963.1] Aug 02 23:34:04 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [963.1] Aug 02 23:34:04 pchecker_lxc seahub.sh[2085]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [963.1] Aug 02 23:34:04 pchecker_lxc seahub.sh[2085]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [963.1] Aug 02 23:34:10 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [963.1] Aug 02 23:34:10 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [963.1] Aug 02 23:34:10 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [963.1] Aug 02 23:34:10 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [963.1] [ERR] !!
Warning: yunohost.hook <lambda> - [963.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [963.1] !!
Warning: yunohost.hook <lambda> - [963.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [963.1] [DEBUG]: DEBUG   - + local length=20
Warning: yunohost.hook <lambda> - [963.1] [DEBUG]: DEBUG   - + local timeout=300
Warning: yunohost.hook <lambda> - [963.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [963.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [963.1] [DEBUG]: DEBUG   - + systemctl start seahub
Warning: yunohost.hook <lambda> - [963.1] [DEBUG]: DEBUG   - + journalctl --no-pager --lines=20 -u seahub
Warning: - Job for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [963.1] [DEBUG]: DEBUG   - + test -e /var/log/seahub/seahub.log
Warning: - See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [963.1] [DEBUG]: DEBUG   - + false
Warning: - -- Logs begin at Fri 2019-08-02 23:33:39 UTC, end at Fri 2019-08-02 23:34:10 UTC. --
Warning: yunohost.hook <lambda> - [963.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_change_url - [963.1] Failed to change 'seafile' url.
Info: yunohost.log close - [963.1] The operation 'Change the url of 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190802-233349-app_change_url-seafile --share'

Try to access by url...
Test url: sous.domain.tld
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv
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: 46 seconds.
Root install failed, impossible to perform this test...

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 20 seconds.
Change the url from sous.domain.tld/path to domain.tld/path_2...
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 29 seconds.
Change_url script successful. (0)
Info:  [+...................] > Loading installation settings...
Info:  [#++.................] > Updating nginx configuration...
Info:  [###+................] > Stoping services...
Info:  [####++..............] > Updating seafile configuration...
Info:  [######++++++++++....] > Updating seafile database
Info:  [################++..] > Starting services...
Warning: yunohost.hook <lambda> - [979.1] Job for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [979.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [979.1] -- Logs begin at Fri 2019-08-02 23:35:19 UTC, end at Fri 2019-08-02 23:35:51 UTC. --
Warning: yunohost.hook <lambda> - [979.1] Aug 02 23:35:30 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [979.1] Aug 02 23:35:30 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [979.1] Aug 02 23:35:30 pchecker_lxc seahub.sh[1064]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [979.1] Aug 02 23:35:30 pchecker_lxc seahub.sh[1064]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [979.1] Aug 02 23:35:33 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [979.1] Aug 02 23:35:45 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [979.1] Aug 02 23:35:45 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [979.1] Aug 02 23:35:45 pchecker_lxc seahub.sh[2121]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [979.1] Aug 02 23:35:45 pchecker_lxc seahub.sh[2121]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [979.1] Aug 02 23:35:51 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [979.1] Aug 02 23:35:51 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [979.1] Aug 02 23:35:51 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [979.1] Aug 02 23:35:51 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [979.1] [ERR] !!
Warning: yunohost.hook <lambda> - [979.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [979.1] !!
Warning: yunohost.hook <lambda> - [979.1] Please find here an extract of the log before the crash:
Warning: -: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [979.1] [DEBUG]: DEBUG   -'
Warning: -: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [979.1] [DEBUG]: DEBUG   - + trap '' EXIT
Warning: -: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [979.1] [DEBUG]: DEBUG   - + set +eu
Warning: -: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [979.1] [DEBUG]: DEBUG   - + sleep 0.5
Warning: -: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: -: Starting Seafile hub...
Warning: -: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: -: Starting seahub at port 8000 ...
Warning: -: seahub.service: Control process exited, code=exited status=1
Warning: -: Failed to start Seafile hub.
Warning: -: seahub.service: Unit entered failed state.
Warning: -: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [979.1] [DEBUG]: DEBUG   - + ynh_print_err '--message=!!
Warning: yunohost.hook <lambda> - [979.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [979.1] !!'
Warning: yunohost.hook <lambda> - [979.1] [DEBUG]: DEBUG   - + local legacy_args=m
Warning: yunohost.hook <lambda> - [979.1] [DEBUG]: DEBUG   -=message=)
Warning: yunohost.hook <lambda> - [979.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [979.1] [DEBUG]: DEBUG   - + local message
Warning: yunohost.hook <lambda> - [979.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args '--message=!!
Warning: yunohost.hook <lambda> - [979.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [979.1] !!'
Warning: yunohost.hook <lambda> - [979.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [979.1] [DEBUG]: DEBUG   - !!
Warning: yunohost.hook <lambda> - [979.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [979.1] !!'
Warning: - !!
Warning: yunohost.hook <lambda> - [979.1] [DEBUG]: DEBUG   - !!
Warning: yunohost.hook <lambda> - [979.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [979.1] !!'
Warning: -   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [979.1] [DEBUG]: DEBUG   -'
Warning: - !!
Warning: yunohost.hook <lambda> - [979.1] [DEBUG]: DEBUG   - + set +x
Error: yunohost.app app_change_url - [979.1] Failed to change 'seafile' url.
Info: yunohost.log close - [979.1] The operation 'Change the url of 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190802-233529-app_change_url-seafile --share'

Try to access by url...
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: 45 seconds.

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 20 seconds.
Change the url from sous.domain.tld/path to domain.tld/...
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 28 seconds.
Change_url script successful. (0)
Warning: yunohost.service _run_service_command - [186.1] Unable to execute command 'systemctl reload fail2ban'
Info:  [+...................] > Loading installation settings...
Info:  [#++.................] > Updating nginx configuration...
Info:  [###+................] > Stoping services...
Info:  [####++..............] > Updating seafile configuration...
Info:  [######++++++++++....] > Updating seafile database
Info:  [################++..] > Starting services...
Warning: yunohost.hook <lambda> - [973.1] Job for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [973.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [973.1] -- Logs begin at Fri 2019-08-02 23:37:01 UTC, end at Fri 2019-08-02 23:37:33 UTC. --
Warning: yunohost.hook <lambda> - [973.1] Aug 02 23:37:12 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [973.1] Aug 02 23:37:12 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [973.1] Aug 02 23:37:12 pchecker_lxc seahub.sh[1058]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [973.1] Aug 02 23:37:12 pchecker_lxc seahub.sh[1058]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [973.1] Aug 02 23:37:15 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [973.1] Aug 02 23:37:27 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [973.1] Aug 02 23:37:27 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [973.1] Aug 02 23:37:27 pchecker_lxc seahub.sh[2116]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [973.1] Aug 02 23:37:27 pchecker_lxc seahub.sh[2116]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [973.1] Aug 02 23:37:33 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [973.1] Aug 02 23:37:33 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [973.1] Aug 02 23:37:33 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [973.1] Aug 02 23:37:33 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [973.1] [ERR] !!
Warning: yunohost.hook <lambda> - [973.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [973.1] !!
Warning: yunohost.hook <lambda> - [973.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [973.1] [DEBUG]: DEBUG   - + local length=20
Warning: yunohost.hook <lambda> - [973.1] [DEBUG]: DEBUG   - + local timeout=300
Warning: yunohost.hook <lambda> - [973.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [973.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [973.1] [DEBUG]: DEBUG   - + systemctl start seahub
Warning: yunohost.hook <lambda> - [973.1] [DEBUG]: DEBUG   - + journalctl --no-pager --lines=20 -u seahub
Warning: - Job for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [973.1] [DEBUG]: DEBUG   - + test -e /var/log/seahub/seahub.log
Warning: - See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [973.1] [DEBUG]: DEBUG   - + false
Warning: - -- Logs begin at Fri 2019-08-02 23:37:01 UTC, end at Fri 2019-08-02 23:37:33 UTC. --
Warning: yunohost.hook <lambda> - [973.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_change_url - [973.1] Failed to change 'seafile' url.
Info: yunohost.log close - [973.1] The operation 'Change the url of 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190802-233711-app_change_url-seafile --share'

Try to access by url...
Test url: domain.tld
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9kb21haW4udGxkLw==
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: domain.tld/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9kb21haW4udGxkLw==
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: 44 seconds.
Restore the previous snapshot.
Working time: 34 seconds.
Working time for this test: 7 minutes, 17 seconds.



Package linter:                  SUCCESS
Installation:                    SUCCESS
Deleting:                        SUCCESS
Installation in a sub path:      SUCCESS
Deleting from a sub path:        SUCCESS
Installation on the root:        FAIL
Deleting from root:              SUCCESS
Upgrade:                         FAIL
Installation in private mode:    FAIL
Installation in public mode:     FAIL
Multi-instance installations:    Not evaluated.
Malformed path:                  FAIL
Port already used:               FAIL
Backup:                          SUCCESS
Restore:                         FAIL
Change URL:                      FAIL
Level of this application: 1 (Installable)
	   Level 1: 1
	   Level 2: 0
	   Level 3: 0
	   Level 4: 0
	   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: 53 minutes, 13 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_josue_data_seafile_ynh_complete.log

Fri Aug  2 23:39:05 UTC 2019
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE