FailedConsole Output

Skipping 6 KB.. Full Log
services...
Info:  [##################+.] > Starting seafile services...

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: 46 seconds.
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 1 second.

Deleting...
A LXC container is already running.
Working time: 1 second.
Working time: 26 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [1035.1] Removing application seafile…
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> - [1035.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [##########+.........] > Removing systemd units...
Warning: yunohost.hook <lambda> - [1035.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, 37 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [2099.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...
Warning: yunohost.hook <lambda> - [2099.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [2099.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [##########+.........] > Configuring a systemd service...
Warning: yunohost.hook <lambda> - [2099.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: 46 seconds.
Working time for this test: 6 minutes, 12 seconds.


>> Installation on the root... [Test 3/13]
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 2 minutes, 14 seconds.
Installation successful. (0)
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...
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 a systemd service...
Warning: yunohost.hook <lambda> - [919.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: 44 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: 24 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [1023.1] Removing application seafile…
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> - [1023.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [##########+.........] > Removing systemd units...
Warning: yunohost.hook <lambda> - [1023.1] Removed /etc/systemd/system/multi-user.target.wants/seahub.service.
Info:  [###########+........] > Removing the dedicated system user...
Info:  [############++++++..] > Removing dependencies
Info:  [##################+.] > Removing configuration...
Info:  [####################] > Removal of seafile completed
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, 25 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [2087.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...
Warning: yunohost.hook <lambda> - [2087.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [2087.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [##########+.........] > Configuring a systemd service...
Warning: yunohost.hook <lambda> - [2087.1] failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [2087.1] [ERR] !!
Warning: yunohost.hook <lambda> - [2087.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [2087.1] !!
Warning: yunohost.hook <lambda> - [2087.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [2087.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [2087.1] [DEBUG]: DEBUG   - + cp expect_scripts/first_launch.exp /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [2087.1] [DEBUG]: DEBUG   - + chmod +x /opt/yunohost/seafile/first_launch.exp
Warning: yunohost.hook <lambda> - [2087.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [2087.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /home/yunohost.app/seafile-data
Warning: yunohost.hook <lambda> - [2087.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: yunohost.hook <lambda> - [2087.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [2087.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> - [2087.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [2087.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 20190801-133118-app_install-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [2087.1] Traceback (most recent call last):
Info:Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [2087.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Warning: yunohost.hook <lambda> - [2087.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [2087.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> - [2087.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [##########+.........] > Removing systemd units...
Warning: yunohost.hook <lambda> - [2087.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> - [2087.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [2087.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 20190801-133118-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: 44 seconds.
Working time for this test: 6 minutes, 2 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: 5 seconds.
Working time: 1 minute, 8 seconds.
Upgrade failed. (1)
Warning: yunohost.service _run_service_command - [191.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.app app_upgrade - [961.1] Now upgrading app seafile…
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Info:  [#++++...............] > Upgrading source files...
Info:  [#####+..............] > Upgrading dependencies...
Info:  [######..............] > Configuring application...
Info:  [######+.............] > Updating systemd units...
Info:  [#######+............] > Protecting directory...
Warning: yunohost.hook <lambda> - [961.1] /usr/share/yunohost/helpers.d/logrotate: line 52: [: -n : integer expression expected
Info:  [########............] > Configuring log rotation...
Info:  [########+++++++.....] > Configuring fail2ban...
Info:  [###############+....] > Register seafile service...
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [################++..] > Starting seafile services...
Warning: yunohost.hook <lambda> - [961.1] Job for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [961.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [961.1] -- Logs begin at Thu 2019-08-01 13:33:49 UTC, end at Thu 2019-08-01 13:34:59 UTC. --
Warning: yunohost.hook <lambda> - [961.1] Aug 01 13:34:00 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [961.1] Aug 01 13:34:00 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [961.1] Aug 01 13:34:00 pchecker_lxc seahub.sh[968]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [961.1] Aug 01 13:34:00 pchecker_lxc seahub.sh[968]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [961.1] Aug 01 13:34:04 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [961.1] Aug 01 13:34:53 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [961.1] Aug 01 13:34:53 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [961.1] Aug 01 13:34:53 pchecker_lxc seahub.sh[2385]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [961.1] Aug 01 13:34:53 pchecker_lxc seahub.sh[2385]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [961.1] Aug 01 13:34:59 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [961.1] Aug 01 13:34:59 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [961.1] Aug 01 13:34:59 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [961.1] Aug 01 13:34:59 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [961.1] [ERR] !!
Warning: yunohost.hook <lambda> - [961.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [961.1] !!
Warning: yunohost.hook <lambda> - [961.1] Please find here an extract of the log before the crash:
Warning: -: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [961.1] [DEBUG]: DEBUG   -'
Warning: -: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [961.1] [DEBUG]: DEBUG   - + trap '' EXIT
Warning: -: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [961.1] [DEBUG]: DEBUG   - + set +eu
Warning: -: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [961.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> - [961.1] [DEBUG]: DEBUG   - + ynh_print_err '--message=!!
Warning: yunohost.hook <lambda> - [961.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [961.1] !!'
Warning: - !!
Warning: yunohost.hook <lambda> - [961.1] [DEBUG]: DEBUG   - + local legacy_args=m
Warning: -   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [961.1] [DEBUG]: DEBUG   -=message=)
Warning: - !!
Warning: yunohost.hook <lambda> - [961.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [961.1] [DEBUG]: DEBUG   - + local message
Warning: yunohost.hook <lambda> - [961.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args '--message=!!
Warning: yunohost.hook <lambda> - [961.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [961.1] !!'
Warning: yunohost.hook <lambda> - [961.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [961.1] [DEBUG]: DEBUG   - !!
Warning: yunohost.hook <lambda> - [961.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [961.1] !!'
Warning: yunohost.hook <lambda> - [961.1] [DEBUG]: DEBUG   - !!
Warning: yunohost.hook <lambda> - [961.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [961.1] !!'
Warning: yunohost.hook <lambda> - [961.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [961.1] [DEBUG]: DEBUG   - + set +x
Error: yunohost.app app_upgrade - [961.1] Unable to upgrade seafile
Info: yunohost.log close - [961.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 20190801-133400-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: 23 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 43 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: 10 seconds.
Working time: 2 minutes, 55 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [911.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 - [991.1] Packagers /! : 'app checkurl' is deprecated ! Please use the helper 'ynh_webpath_register' instead !
Warning: yunohost.hook <lambda> - [911.1] 'yunohost app checkurl' is deprecated and will be removed in the future
Warning: yunohost.hook <lambda> - [911.1] Packagers /! : 'app checkurl' is deprecated ! Please use the helper 'ynh_webpath_register' instead !
Warning: yunohost.hook <lambda> - [911.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [911.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [911.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [911.1] 
Extracting templates from packages: 61%
Extracting templates from packages: 100%

Upgrade...
A LXC container is already running.
Working time: 1 second.
Working time: 1 minute, 19 seconds.
Upgrade failed. (1)
Info: yunohost.app app_upgrade - [2815.1] Now upgrading app seafile…
Info:  [....................] > Loading installation settings...
Warning: yunohost.hook <lambda> - [2815.1] seafile-server.service is not a native service, redirecting to systemd-sysv-install.
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [2815.1] Executing: /lib/systemd/systemd-sysv-install disable seafile-server
Info:  [#++++...............] > Upgrading source files...
Info:  [#####+..............] > Upgrading dependencies...
Warning: yunohost.hook <lambda> - [2815.1] 
Extracting templates from packages: 29%
Extracting templates from packages: 58%
Extracting templates from packages: 87%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [2815.1] Traceback (most recent call last):
Info:  [######..............] > Configuring application...
Warning: yunohost.hook <lambda> - [2815.1]   File "../conf/update_sso_conf.py", line 5, in <module>
Warning: yunohost.hook <lambda> - [2815.1]     data["unprotected_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [2815.1] KeyError: 'unprotected_urls'
Warning: yunohost.hook <lambda> - [2815.1] ./upgrade: line 132: django_session: command not found
Error: 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
Warning: yunohost.hook <lambda> - [2815.1] [ERR] !!
Warning: yunohost.hook <lambda> - [2815.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [2815.1] !!
Warning: yunohost.hook <lambda> - [2815.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [2815.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [2815.1] [DEBUG]: DEBUG   - ++ django_session
Warning: yunohost.hook <lambda> - [2815.1] [DEBUG]: DEBUG   - + ynh_mysql_execute_as_root --sql 'DELETE FROM ' --database seahubdb
Warning: yunohost.hook <lambda> - [2815.1] [DEBUG]: DEBUG   - + local legacy_args=sd
Warning: yunohost.hook <lambda> - [2815.1] [DEBUG]: DEBUG   -=database=)
Warning: yunohost.hook <lambda> - [2815.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [2815.1] [DEBUG]: DEBUG   - + local sql
Warning: yunohost.hook <lambda> - [2815.1] [DEBUG]: DEBUG   - + local database
Warning: yunohost.hook <lambda> - [2815.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args --sql 'DELETE FROM ' --database seahubdb
Warning: yunohost.hook <lambda> - [2815.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [2815.1] [DEBUG]: DEBUG   - + database=seahubdb
Warning: yunohost.hook <lambda> - [2815.1] [DEBUG]: DEBUG   - ++ sudo cat /etc/yunohost/mysql
Warning: yunohost.hook <lambda> - [2815.1] [DEBUG]: DEBUG   - + ynh_mysql_connect_as --user=root --password=wmubwMiWyH --database=seahubdb
Warning: yunohost.hook <lambda> - [2815.1] [DEBUG]: DEBUG   - + local legacy_args=upd
Warning: yunohost.hook <lambda> - [2815.1] [DEBUG]: DEBUG   -=database=)
Warning: yunohost.hook <lambda> - [2815.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [2815.1] [DEBUG]: DEBUG   - + local user
Warning: yunohost.hook <lambda> - [2815.1] [DEBUG]: DEBUG   - + local password
Warning: yunohost.hook <lambda> - [2815.1] [DEBUG]: DEBUG   - + local database
Warning: yunohost.hook <lambda> - [2815.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args --user=root --password=wmubwMiWyH --database=seahubdb
Warning: yunohost.hook <lambda> - [2815.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [2815.1] [DEBUG]: DEBUG   - + database=seahubdb
Error: 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
Warning: yunohost.hook <lambda> - [2815.1] [DEBUG]: DEBUG   - + mysql -u root --password=wmubwMiWyH -B seahubdb
Warning: yunohost.hook <lambda> - [2815.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_upgrade - [2815.1] Unable to upgrade seafile
Info: yunohost.log close - [2815.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 20190801-133924-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: 2 seconds.
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: 5 seconds.
Working time: 1 minute, 36 seconds.
Installation successful. (0)
Warning: yunohost.service _run_service_command - [191.1] Unable to execute command 'systemctl reload fail2ban'
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: 1 second.
Working time: 1 minute, 6 seconds.
Upgrade failed. (1)
Info: yunohost.app app_upgrade - [3013.1] Now upgrading app seafile…
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [3013.1] seafile-server.service is not a native service, redirecting to systemd-sysv-install.
Warning: yunohost.hook <lambda> - [3013.1] Executing: /lib/systemd/systemd-sysv-install disable seafile-server
Info:  [#++++...............] > Upgrading source files...
Info:  [#####+..............] > Upgrading dependencies...
Warning: yunohost.hook <lambda> - [3013.1] 
Extracting templates from packages: 29%
Extracting templates from packages: 58%
Extracting templates from packages: 87%
Extracting templates from packages: 100%
Info:  [######..............] > Configuring application...
Warning: yunohost.hook <lambda> - [3013.1] ./upgrade: line 132: django_session: command not found
Error: 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
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   -
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - ++ django_session
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - + ynh_mysql_execute_as_root --sql 'DELETE FROM ' --database seahubdb
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - + local legacy_args=sd
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   -=database=)
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - + local sql
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - + local database
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args --sql 'DELETE FROM ' --database seahubdb
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - + database=seahubdb
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - ++ sudo cat /etc/yunohost/mysql
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - + ynh_mysql_connect_as --user=root --password=wmubwMiWyH --database=seahubdb
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - + local legacy_args=upd
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   -=database=)
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - + local user
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - + local password
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - + local database
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args --user=root --password=wmubwMiWyH --database=seahubdb
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - + database=seahubdb
Warning: yunohost.hook <lambda> - [3013.1] [DEBUG]: DEBUG   - + mysql -u root --password=wmubwMiWyH -B seahubdb
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 20190801-134325-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: 44 seconds.


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

Preliminary install...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 2 minutes, .
Installation successful. (0)
Info: yunohost.app app_install - [910.1] Installing application seafile…
Warning: yunohost.hook <lambda> - [910.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: 16 seconds.
Upgrade failed. (1)
Info: yunohost.app app_upgrade - [5071.1] Now upgrading app seafile…
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [5071.1] seafile-server.service is not a native service, redirecting to systemd-sysv-install.
Warning: yunohost.hook <lambda> - [5071.1] Executing: /lib/systemd/systemd-sysv-install disable seafile-server
Info:  [#++++...............] > Upgrading source files...
Warning: yunohost.hook <lambda> - [5071.1] Unable to apply patches
Warning: yunohost.hook <lambda> - [5071.1] [ERR] !!
Warning: yunohost.hook <lambda> - [5071.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [5071.1] !!
Warning: yunohost.hook <lambda> - [5071.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [5071.1] [DEBUG]: DEBUG   - patching file seahub/seahub/base/accounts.py
Warning: yunohost.hook <lambda> - [5071.1] [DEBUG]: DEBUG   - + for p in $YNH_CWD/../sources/patches/${source_id}-*.patch
Warning: yunohost.hook <lambda> - [5071.1] [DEBUG]: DEBUG   - + patch -p1
Warning: yunohost.hook <lambda> - [5071.1] [DEBUG]: DEBUG   - patching file seahub/seahub/auth/middleware.py
Warning: yunohost.hook <lambda> - [5071.1] [DEBUG]: DEBUG   - Hunk #1 FAILED at 1.
Warning: yunohost.hook <lambda> - [5071.1] [DEBUG]: DEBUG   - Hunk #2 succeeded at 85 with fuzz 2 (offset 35 lines).
Warning: yunohost.hook <lambda> - [5071.1] [DEBUG]: DEBUG   - 1 out of 2 hunks FAILED -- saving rejects to file seahub/seahub/auth/middleware.py.rej
Warning: yunohost.hook <lambda> - [5071.1] [DEBUG]: DEBUG   - patching file seahub/seahub/base/accounts.py
Warning: yunohost.hook <lambda> - [5071.1] [DEBUG]: DEBUG   - Hunk #1 succeeded at 587 (offset 191 lines).
Warning: yunohost.hook <lambda> - [5071.1] [DEBUG]: DEBUG   - patching file seahub/seahub/settings.py
Warning: yunohost.hook <lambda> - [5071.1] [DEBUG]: DEBUG   - Hunk #1 succeeded at 118 (offset 4 lines).
Warning: yunohost.hook <lambda> - [5071.1] [DEBUG]: DEBUG   - Hunk #2 FAILED at 233.
Warning: yunohost.hook <lambda> - [5071.1] [DEBUG]: DEBUG   - 1 out of 2 hunks FAILED -- saving rejects to file seahub/seahub/settings.py.rej
Warning: yunohost.hook <lambda> - [5071.1] [DEBUG]: DEBUG   - + ynh_die '--message=Unable to apply patches'
Warning: yunohost.hook <lambda> - [5071.1] [DEBUG]: DEBUG   - + local legacy_args=mc
Warning: yunohost.hook <lambda> - [5071.1] [DEBUG]: DEBUG   -=ret_code=)
Warning: yunohost.hook <lambda> - [5071.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [5071.1] [DEBUG]: DEBUG   - + local message
Warning: yunohost.hook <lambda> - [5071.1] [DEBUG]: DEBUG   - + local ret_code
Warning: yunohost.hook <lambda> - [5071.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args '--message=Unable to apply patches'
Warning: yunohost.hook <lambda> - [5071.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [5071.1] [DEBUG]: DEBUG   - + echo 'Unable to apply patches'
Warning: yunohost.hook <lambda> - [5071.1] [DEBUG]: DEBUG   - + exit 1
Warning: yunohost.hook <lambda> - [5071.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_upgrade - [5071.1] Unable to upgrade seafile
Info: yunohost.log close - [5071.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 20190801-134746-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: 15 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 47 seconds.
Restore the previous snapshot.
Working time: 33 seconds.
Working time for this test: 16 minutes, 9 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: 9 seconds.
Working time: 1 minute, 58 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [913.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> - [913.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...
Warning: yunohost.hook <lambda> - [913.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [913.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [##########+.........] > Configuring a systemd service...
Warning: yunohost.hook <lambda> - [913.1] failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [913.1] [ERR] !!
Warning: yunohost.hook <lambda> - [913.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [913.1] !!
Warning: yunohost.hook <lambda> - [913.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [913.1] [DEBUG]: DEBUG   - + local line_match
Warning: yunohost.hook <lambda> - [913.1] [DEBUG]: DEBUG   - + local length
Warning: yunohost.hook <lambda> - [913.1] [DEBUG]: DEBUG   - + local log_path
Warning: yunohost.hook <lambda> - [913.1] [DEBUG]: DEBUG   - + local timeout
Warning: yunohost.hook <lambda> - [913.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args --service_name=nginx --action=reload
Warning: yunohost.hook <lambda> - [913.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [913.1] [DEBUG]: DEBUG   - + local service_name=nginx
Warning: yunohost.hook <lambda> - [913.1] [DEBUG]: DEBUG   - + local action=reload
Warning: yunohost.hook <lambda> - [913.1] [DEBUG]: DEBUG   - + local log_path=/var/log/nginx/nginx.log
Warning: yunohost.hook <lambda> - [913.1] [DEBUG]: DEBUG   - + local length=20
Warning: yunohost.hook <lambda> - [913.1] [DEBUG]: DEBUG   - + local timeout=300
Warning: yunohost.hook <lambda> - [913.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [913.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [913.1] [DEBUG]: DEBUG   - + action=reload-or-restart
Warning: yunohost.hook <lambda> - [913.1] [DEBUG]: DEBUG   - + systemctl reload-or-restart nginx
Warning: yunohost.hook <lambda> - [913.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [913.1] [DEBUG]: DEBUG   - + cp expect_scripts/first_launch.exp /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [913.1] [DEBUG]: DEBUG   - + chmod +x /opt/yunohost/seafile/first_launch.exp
Warning: yunohost.hook <lambda> - [913.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [913.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /home/yunohost.app/seafile-data
Warning: yunohost.hook <lambda> - [913.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: yunohost.hook <lambda> - [913.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [913.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> - [913.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [913.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 20190801-134951-app_install-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [913.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [913.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Warning: yunohost.hook <lambda> - [913.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [913.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> - [913.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [##########+.........] > Removing systemd units...
Warning: yunohost.hook <lambda> - [913.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> - [913.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [913.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 20190801-134951-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: 44 seconds.
Restore the previous snapshot.
Working time: 35 seconds.
Working time for this test: 3 minutes, 29 seconds.


>> Installation in public mode... [Test 9/13]
Root install failed, impossible to perform this test...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 1 minute, 54 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [910.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> - [910.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...
Warning: yunohost.hook <lambda> - [910.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [910.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [##########+.........] > Configuring a systemd service...
Warning: yunohost.hook <lambda> - [910.1] failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [910.1] [ERR] !!
Warning: yunohost.hook <lambda> - [910.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [910.1] !!
Warning: yunohost.hook <lambda> - [910.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + local line_match
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + local length
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + local log_path
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + local timeout
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args --service_name=nginx --action=reload
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + local service_name=nginx
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + local action=reload
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + local log_path=/var/log/nginx/nginx.log
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + local length=20
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + local timeout=300
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + action=reload-or-restart
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + systemctl reload-or-restart nginx
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + cp expect_scripts/first_launch.exp /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + chmod +x /opt/yunohost/seafile/first_launch.exp
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /home/yunohost.app/seafile-data
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [910.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> - [910.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [910.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 20190801-135321-app_install-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [910.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [910.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Info:  [##..................] > Removing logs...
Warning: yunohost.hook <lambda> - [910.1]     data["skipped_urls"].remove("/seafhttp")
Info:  /var/log/seafile wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [910.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> - [910.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [##########+.........] > Removing systemd units...
Warning: yunohost.hook <lambda> - [910.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> - [910.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [910.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 20190801-135321-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: 34 seconds.
Working time for this test: 3 minutes, 23 seconds.


>> Malformed path... [Test 10/13]
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 1 minute, 56 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [910.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> - [910.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...
Warning: yunohost.hook <lambda> - [910.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [910.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [##########+.........] > Configuring a systemd service...
Warning: yunohost.hook <lambda> - [910.1] failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [910.1] [ERR] !!
Warning: yunohost.hook <lambda> - [910.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [910.1] !!
Warning: yunohost.hook <lambda> - [910.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + local line_match
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + local length
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + local log_path
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + local timeout
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args --service_name=nginx --action=reload
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + local service_name=nginx
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + local action=reload
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + local log_path=/var/log/nginx/nginx.log
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + local length=20
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + local timeout=300
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + action=reload-or-restart
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + systemctl reload-or-restart nginx
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + cp expect_scripts/first_launch.exp /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + chmod +x /opt/yunohost/seafile/first_launch.exp
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /home/yunohost.app/seafile-data
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [910.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> - [910.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [910.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 20190801-135644-app_install-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [910.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [910.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Info:  [##..................] > Removing logs...
Warning: yunohost.hook <lambda> - [910.1]     data["skipped_urls"].remove("/seafhttp")
Info:  /var/log/seafile wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [910.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> - [910.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [##########+.........] > Removing systemd units...
Warning: yunohost.hook <lambda> - [910.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> - [910.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [910.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 20190801-135644-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: 44 seconds.
Working time for this test: 2 minutes, 53 seconds.


>> Port already used... [Test 11/13]
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 3 seconds.
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, 56 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [987.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> - [987.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...
Warning: yunohost.hook <lambda> - [987.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [987.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:Info:  [##########+.........] > Configuring a systemd service...
Warning: yunohost.hook <lambda> - [987.1] failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [987.1] [ERR] !!
Warning: yunohost.hook <lambda> - [987.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [987.1] !!
Warning: yunohost.hook <lambda> - [987.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [987.1] [DEBUG]: DEBUG   - + local line_match
Warning: yunohost.hook <lambda> - [987.1] [DEBUG]: DEBUG   - + local length
Warning: yunohost.hook <lambda> - [987.1] [DEBUG]: DEBUG   - + local log_path
Warning: yunohost.hook <lambda> - [987.1] [DEBUG]: DEBUG   - + local timeout
Warning: yunohost.hook <lambda> - [987.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args --service_name=nginx --action=reload
Warning: yunohost.hook <lambda> - [987.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [987.1] [DEBUG]: DEBUG   - + local service_name=nginx
Warning: yunohost.hook <lambda> - [987.1] [DEBUG]: DEBUG   - + local action=reload
Warning: yunohost.hook <lambda> - [987.1] [DEBUG]: DEBUG   - + local log_path=/var/log/nginx/nginx.log
Warning: yunohost.hook <lambda> - [987.1] [DEBUG]: DEBUG   - + local length=20
Warning: yunohost.hook <lambda> - [987.1] [DEBUG]: DEBUG   - + local timeout=300
Warning: yunohost.hook <lambda> - [987.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [987.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [987.1] [DEBUG]: DEBUG   - + action=reload-or-restart
Warning: yunohost.hook <lambda> - [987.1] [DEBUG]: DEBUG   - + systemctl reload-or-restart nginx
Warning: yunohost.hook <lambda> - [987.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [987.1] [DEBUG]: DEBUG   - + cp expect_scripts/first_launch.exp /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [987.1] [DEBUG]: DEBUG   - + chmod +x /opt/yunohost/seafile/first_launch.exp
Warning: yunohost.hook <lambda> - [987.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [987.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /home/yunohost.app/seafile-data
Warning: yunohost.hook <lambda> - [987.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: yunohost.hook <lambda> - [987.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [987.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> - [987.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [987.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 20190801-135940-app_install-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [987.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [987.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Info:  [##..................] > Removing logs...
Warning: yunohost.hook <lambda> - [987.1]     data["skipped_urls"].remove("/seafhttp")
Info:  /var/log/seafile wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [987.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> - [987.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [##########+.........] > Removing systemd units...
Warning: yunohost.hook <lambda> - [987.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> - [987.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [987.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 20190801-135940-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.
Working time for this test: 2 minutes, 57 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: 21 seconds.

Backup of the application...
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 1 minute, 36 seconds.
Backup successful. (0)
Info: yunohost.backup _collect_app_files - [961.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 - [961.1] Now creating a backup archive from the files collected…
--- SUCCESS ---

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

Restore after removing the application...
A LXC container is already running.
Working time: 1 second.
Working time: 1 minute, 23 seconds.
Restore failed. (1)
Info: yunohost.backup backup_restore - [2561.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [2561.1] Restoring application seafile…
Info:  [....................] > Loading settings...
Info:  [++++++++............] > Restoring files...
Info:  [########++++........] > Reinstalling dependencies...
Warning: yunohost.hook <lambda> - [2561.1] Exception:
Warning: yunohost.hook <lambda> - [2561.1] Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [2561.1]   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
Warning: yunohost.hook <lambda> - [2561.1]     status = self.run(options, args)
Warning: yunohost.hook <lambda> - [2561.1]   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 307, in run
Warning: yunohost.hook <lambda> - [2561.1]     delete=build_delete) as build_dir:
Warning: yunohost.hook <lambda> - [2561.1]   File "/usr/lib/python2.7/dist-packages/pip/utils/build.py", line 22, in __init__
Warning: yunohost.hook <lambda> - [2561.1]     name = os.path.realpath(tempfile.mkdtemp(prefix="pip-build-"))
Warning: yunohost.hook <lambda> - [2561.1]   File "/usr/lib/python2.7/tempfile.py", line 331, in mkdtemp
Warning: yunohost.hook <lambda> - [2561.1]     dir = gettempdir()
Warning: yunohost.hook <lambda> - [2561.1]   File "/usr/lib/python2.7/tempfile.py", line 275, in gettempdir
Warning: yunohost.hook <lambda> - [2561.1]     tempdir = _get_default_tempdir()
Warning: yunohost.hook <lambda> - [2561.1]   File "/usr/lib/python2.7/tempfile.py", line 217, in _get_default_tempdir
Warning: yunohost.hook <lambda> - [2561.1]     ("No usable temporary directory found in %s" % dirlist))
Warning: yunohost.hook <lambda> - [2561.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> - [2561.1] [ERR] !!
Warning: yunohost.hook <lambda> - [2561.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [2561.1] !!
Warning: yunohost.hook <lambda> - [2561.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [2561.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> - [2561.1] [DEBUG]: DEBUG   - + ACTION=set
Warning: yunohost.hook <lambda> - [2561.1] [DEBUG]: DEBUG   - + APP=seafile
Warning: yunohost.hook <lambda> - [2561.1] [DEBUG]: DEBUG   - + KEY=apt_dependencies
Warning: yunohost.hook <lambda> - [2561.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> - [2561.1] [DEBUG]: DEBUG   - + python -
Warning: yunohost.hook <lambda> - [2561.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [2561.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [2561.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> - [2561.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.backup _restore_app - [2561.1] Unable to restore the app 'seafile'
Info: yunohost.log close - [2561.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 20190801-140537-backup_restore_app-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [2561.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [2561.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Warning: yunohost.hook <lambda> - [2561.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [2561.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> - [2561.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> - [2561.1] [WARN] Database seafiledb not found
Warning: yunohost.hook <lambda> - [2561.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> - [2561.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [2561.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: 22 seconds.
Restore the previous snapshot.
Working time: 39 seconds.

Restore on a clean YunoHost system...
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 1 minute, 58 seconds.
Restore failed. (1)
Info: yunohost.backup backup_restore - [916.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [916.1] Restoring application seafile…
Info:  [....................] > Loading settings...
Info:  [++++++++............] > Restoring files...
Info:  [########++++........] > Reinstalling dependencies...
Warning: yunohost.hook <lambda> - [916.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> - [916.1] Exception:
Warning: yunohost.hook <lambda> - [916.1] Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [916.1]   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
Warning: yunohost.hook <lambda> - [916.1]     status = self.run(options, args)
Warning: yunohost.hook <lambda> - [916.1]   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 307, in run
Warning: yunohost.hook <lambda> - [916.1]     delete=build_delete) as build_dir:
Warning: yunohost.hook <lambda> - [916.1]   File "/usr/lib/python2.7/dist-packages/pip/utils/build.py", line 22, in __init__
Warning: yunohost.hook <lambda> - [916.1]     name = os.path.realpath(tempfile.mkdtemp(prefix="pip-build-"))
Warning: yunohost.hook <lambda> - [916.1]   File "/usr/lib/python2.7/tempfile.py", line 331, in mkdtemp
Warning: yunohost.hook <lambda> - [916.1]     dir = gettempdir()
Warning: yunohost.hook <lambda> - [916.1]   File "/usr/lib/python2.7/tempfile.py", line 275, in gettempdir
Warning: yunohost.hook <lambda> - [916.1]     tempdir = _get_default_tempdir()
Warning: yunohost.hook <lambda> - [916.1]   File "/usr/lib/python2.7/tempfile.py", line 217, in _get_default_tempdir
Warning: yunohost.hook <lambda> - [916.1]     ("No usable temporary directory found in %s" % dirlist))
Warning: yunohost.hook <lambda> - [916.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> - [916.1] [ERR] !!
Warning: yunohost.hook <lambda> - [916.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [916.1] !!
Warning: yunohost.hook <lambda> - [916.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [916.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> - [916.1] [DEBUG]: DEBUG   - + ACTION=set
Warning: yunohost.hook <lambda> - [916.1] [DEBUG]: DEBUG   - + APP=seafile
Warning: yunohost.hook <lambda> - [916.1] [DEBUG]: DEBUG   - + KEY=apt_dependencies
Warning: yunohost.hook <lambda> - [916.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> - [916.1] [DEBUG]: DEBUG   - + python -
Warning: yunohost.hook <lambda> - [916.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [916.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [916.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> - [916.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.backup _restore_app - [916.1] Unable to restore the app 'seafile'
Info: yunohost.log close - [916.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 20190801-140814-backup_restore_app-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [916.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [916.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Info:  [##..................] > Removing logs...
Warning: yunohost.hook <lambda> - [916.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [916.1] KeyError: 'skipped_urls'
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> - [916.1] [WARN] Database ccnetdb not found
Warning: yunohost.hook <lambda> - [916.1] [WARN] Database seafiledb not found
Warning: yunohost.hook <lambda> - [916.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> - [916.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [916.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: 46 seconds.
Restore the previous snapshot.
Working time: 35 seconds.
Working time for this test: 8 minutes, 29 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: 20 seconds.
Change the url from sous.domain.tld/path to sous.domain.tld/path_2...
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 11 seconds.
Change_url script successful. (0)
Info:  [+...................] > Loading installation settings...
Info:  [#++.................] > Updating nginx configuration...
Info:  [###+................] > Stoping services...
Info:  [####++..............] > Updating seafile configuration...
Warning: yunohost.hook <lambda> - [978.1] sed: unrecognized option '--target_file'
Warning: yunohost.hook <lambda> - [978.1] Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...
Warning: yunohost.hook <lambda> - [978.1]   -n, --quiet, --silent
Warning: yunohost.hook <lambda> - [978.1]                  suppress automatic printing of pattern space
Warning: yunohost.hook <lambda> - [978.1]   -e script, --expression=script
Warning: yunohost.hook <lambda> - [978.1]                  add the script to the commands to be executed
Warning: yunohost.hook <lambda> - [978.1]   -f script-file, --file=script-file
Warning: yunohost.hook <lambda> - [978.1]                  add the contents of script-file to the commands to be executed
Warning: yunohost.hook <lambda> - [978.1]   --follow-symlinks
Warning: yunohost.hook <lambda> - [978.1]                  follow symlinks when processing in place
Warning: yunohost.hook <lambda> - [978.1]   -i[SUFFIX], --in-place[=SUFFIX]
Warning: yunohost.hook <lambda> - [978.1]                  edit files in place (makes backup if SUFFIX supplied)
Warning: yunohost.hook <lambda> - [978.1]   -l N, --line-length=N
Warning: yunohost.hook <lambda> - [978.1]                  specify the desired line-wrap length for the `l' command
Warning: yunohost.hook <lambda> - [978.1]   --posix
Warning: yunohost.hook <lambda> - [978.1]                  disable all GNU extensions.
Warning: yunohost.hook <lambda> - [978.1]   -E, -r, --regexp-extended
Warning: yunohost.hook <lambda> - [978.1]                  use extended regular expressions in the script
Warning: yunohost.hook <lambda> - [978.1]                  (for portability use POSIX -E).
Warning: yunohost.hook <lambda> - [978.1]   -s, --separate
Warning: yunohost.hook <lambda> - [978.1]                  consider files as separate rather than as a single,
Warning: yunohost.hook <lambda> - [978.1]                  continuous long stream.
Warning: yunohost.hook <lambda> - [978.1]       --sandbox
Warning: yunohost.hook <lambda> - [978.1]                  operate in sandbox mode.
Warning: yunohost.hook <lambda> - [978.1]   -u, --unbuffered
Warning: yunohost.hook <lambda> - [978.1]                  load minimal amounts of data from the input files and flush
Warning: yunohost.hook <lambda> - [978.1]                  the output buffers more often
Warning: yunohost.hook <lambda> - [978.1]   -z, --null-data
Warning: yunohost.hook <lambda> - [978.1]                  separate lines by NUL characters
Warning: yunohost.hook <lambda> - [978.1]       --help     display this help and exit
Warning: yunohost.hook <lambda> - [978.1]       --version  output version information and exit
Warning: yunohost.hook <lambda> - [978.1] If no -e, --expression, -f, or --file option is given, then the first
Warning: yunohost.hook <lambda> - [978.1] non-option argument is taken as the sed script to interpret.  All
Warning: yunohost.hook <lambda> - [978.1] remaining arguments are names of input files; if no input files are
Warning: yunohost.hook <lambda> - [978.1] specified, then the standard input is read.
Warning: yunohost.hook <lambda> - [978.1] GNU sed home page: <http://www.gnu.org/software/sed/>.
Warning: yunohost.hook <lambda> - [978.1] General help using GNU software: <http://www.gnu.org/gethelp/>.
Warning: yunohost.hook <lambda> - [978.1] [ERR] !!
Warning: yunohost.hook <lambda> - [978.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [978.1] !!
Warning: yunohost.hook <lambda> - [978.1] Please find here an extract of the log before the crash:
Warning: -                  operate in sandbox mode.
Warning: -   -u, --unbuffered
Warning: -                  load minimal amounts of data from the input files and flush
Warning: -                  the output buffers more often
Warning: -   -z, --null-data
Warning: -                  separate lines by NUL characters
Warning: -       --help     display this help and exit
Warning: -       --version  output version information and exit
Warning: -
Warning: - If no -e, --expression, -f, or --file option is given, then the first
Warning: - non-option argument is taken as the sed script to interpret.  All
Warning: - remaining arguments are names of input files; if no input files are
Warning: - specified, then the standard input is read.
Warning: -
Warning: - GNU sed home page: <http://www.gnu.org/software/sed/>.
Warning: - General help using GNU software: <http://www.gnu.org/gethelp/>.
Warning: yunohost.hook <lambda> - [978.1] [DEBUG]: DEBUG   - + ynh_print_err '--message=!!
Warning: yunohost.hook <lambda> - [978.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [978.1] !!'
Warning: - !!
Warning: yunohost.hook <lambda> - [978.1] [DEBUG]: DEBUG   - + local legacy_args=m
Warning: -   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [978.1] [DEBUG]: DEBUG   -=message=)
Warning: - !!
Warning: yunohost.hook <lambda> - [978.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [978.1] [DEBUG]: DEBUG   - + local message
Warning: yunohost.hook <lambda> - [978.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args '--message=!!
Warning: yunohost.hook <lambda> - [978.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [978.1] !!'
Warning: yunohost.hook <lambda> - [978.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [978.1] [DEBUG]: DEBUG   - !!
Warning: yunohost.hook <lambda> - [978.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [978.1] !!'
Warning: yunohost.hook <lambda> - [978.1] [DEBUG]: DEBUG   - !!
Warning: yunohost.hook <lambda> - [978.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [978.1] !!'
Warning: yunohost.hook <lambda> - [978.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [978.1] [DEBUG]: DEBUG   - + set +x
Error: yunohost.app app_change_url - [978.1] Failed to change 'seafile' url.
Info: yunohost.log close - [978.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 20190801-141120-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: 46 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: 14 seconds.
Change_url script successful. (0)
Warning: yunohost.service _run_service_command - [192.1] Unable to execute command 'systemctl reload fail2ban'
Info:  [+...................] > Loading installation settings...
Info:  [#++.................] > Updating nginx configuration...
Info:  [###+................] > Stoping services...
Info:  [####++..............] > Updating seafile configuration...
Warning: yunohost.hook <lambda> - [973.1] sed: unrecognized option '--target_file'
Warning: yunohost.hook <lambda> - [973.1] Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...
Warning: yunohost.hook <lambda> - [973.1]   -n, --quiet, --silent
Warning: yunohost.hook <lambda> - [973.1]                  suppress automatic printing of pattern space
Warning: yunohost.hook <lambda> - [973.1]   -e script, --expression=script
Warning: yunohost.hook <lambda> - [973.1]                  add the script to the commands to be executed
Warning: yunohost.hook <lambda> - [973.1]   -f script-file, --file=script-file
Warning: yunohost.hook <lambda> - [973.1]                  add the contents of script-file to the commands to be executed
Warning: yunohost.hook <lambda> - [973.1]   --follow-symlinks
Warning: yunohost.hook <lambda> - [973.1]                  follow symlinks when processing in place
Warning: yunohost.hook <lambda> - [973.1]   -i[SUFFIX], --in-place[=SUFFIX]
Warning: yunohost.hook <lambda> - [973.1]                  edit files in place (makes backup if SUFFIX supplied)
Warning: yunohost.hook <lambda> - [973.1]   -l N, --line-length=N
Warning: yunohost.hook <lambda> - [973.1]                  specify the desired line-wrap length for the `l' command
Warning: yunohost.hook <lambda> - [973.1]   --posix
Warning: yunohost.hook <lambda> - [973.1]                  disable all GNU extensions.
Warning: yunohost.hook <lambda> - [973.1]   -E, -r, --regexp-extended
Warning: yunohost.hook <lambda> - [973.1]                  use extended regular expressions in the script
Warning: yunohost.hook <lambda> - [973.1]                  (for portability use POSIX -E).
Warning: yunohost.hook <lambda> - [973.1]   -s, --separate
Warning: yunohost.hook <lambda> - [973.1]                  consider files as separate rather than as a single,
Warning: yunohost.hook <lambda> - [973.1]                  continuous long stream.
Warning: yunohost.hook <lambda> - [973.1]       --sandbox
Warning: yunohost.hook <lambda> - [973.1]                  operate in sandbox mode.
Warning: yunohost.hook <lambda> - [973.1]   -u, --unbuffered
Warning: yunohost.hook <lambda> - [973.1]                  load minimal amounts of data from the input files and flush
Warning: yunohost.hook <lambda> - [973.1]                  the output buffers more often
Warning: yunohost.hook <lambda> - [973.1]   -z, --null-data
Warning: yunohost.hook <lambda> - [973.1]                  separate lines by NUL characters
Warning: yunohost.hook <lambda> - [973.1]       --help     display this help and exit
Warning: yunohost.hook <lambda> - [973.1]       --version  output version information and exit
Warning: yunohost.hook <lambda> - [973.1] If no -e, --expression, -f, or --file option is given, then the first
Warning: yunohost.hook <lambda> - [973.1] non-option argument is taken as the sed script to interpret.  All
Warning: yunohost.hook <lambda> - [973.1] remaining arguments are names of input files; if no input files are
Warning: yunohost.hook <lambda> - [973.1] specified, then the standard input is read.
Warning: yunohost.hook <lambda> - [973.1] GNU sed home page: <http://www.gnu.org/software/sed/>.
Warning: yunohost.hook <lambda> - [973.1] General help using GNU software: <http://www.gnu.org/gethelp/>.
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: -                  operate in sandbox mode.
Warning: -   -u, --unbuffered
Warning: -                  load minimal amounts of data from the input files and flush
Warning: -                  the output buffers more often
Warning: -   -z, --null-data
Warning: -                  separate lines by NUL characters
Warning: -       --help     display this help and exit
Warning: -       --version  output version information and exit
Warning: -
Warning: - If no -e, --expression, -f, or --file option is given, then the first
Warning: - non-option argument is taken as the sed script to interpret.  All
Warning: - remaining arguments are names of input files; if no input files are
Warning: - specified, then the standard input is read.
Warning: -
Warning: - GNU sed home page: <http://www.gnu.org/software/sed/>.
Warning: - General help using GNU software: <http://www.gnu.org/gethelp/>.
Warning: yunohost.hook <lambda> - [973.1] [DEBUG]: DEBUG   - + ynh_print_err '--message=!!
Warning: yunohost.hook <lambda> - [973.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [973.1] !!'
Warning: - !!
Warning: yunohost.hook <lambda> - [973.1] [DEBUG]: DEBUG   - + local legacy_args=m
Warning: -   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [973.1] [DEBUG]: DEBUG   -=message=)
Warning: - !!
Warning: yunohost.hook <lambda> - [973.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [973.1] [DEBUG]: DEBUG   - + local message
Warning: yunohost.hook <lambda> - [973.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args '--message=!!
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] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [973.1] [DEBUG]: DEBUG   - !!
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] [DEBUG]: DEBUG   - !!
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] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [973.1] [DEBUG]: DEBUG   - + set +x
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 20190801-141246-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: 47 seconds.
Root install failed, impossible to perform this test...

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 18 seconds.
Change the url from sous.domain.tld/path to domain.tld/path_2...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 12 seconds.
Change_url script successful. (0)
Info:  [+...................] > Loading installation settings...
Info:  [#++.................] > Updating nginx configuration...
Info:  [###+................] > Stoping services...
Info:  [####++..............] > Updating seafile configuration...
Warning: yunohost.hook <lambda> - [981.1] sed: unrecognized option '--target_file'
Warning: yunohost.hook <lambda> - [981.1] Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...
Warning: yunohost.hook <lambda> - [981.1]   -n, --quiet, --silent
Warning: yunohost.hook <lambda> - [981.1]                  suppress automatic printing of pattern space
Warning: yunohost.hook <lambda> - [981.1]   -e script, --expression=script
Warning: yunohost.hook <lambda> - [981.1]                  add the script to the commands to be executed
Warning: yunohost.hook <lambda> - [981.1]   -f script-file, --file=script-file
Warning: yunohost.hook <lambda> - [981.1]                  add the contents of script-file to the commands to be executed
Warning: yunohost.hook <lambda> - [981.1]   --follow-symlinks
Warning: yunohost.hook <lambda> - [981.1]                  follow symlinks when processing in place
Warning: yunohost.hook <lambda> - [981.1]   -i[SUFFIX], --in-place[=SUFFIX]
Warning: yunohost.hook <lambda> - [981.1]                  edit files in place (makes backup if SUFFIX supplied)
Warning: yunohost.hook <lambda> - [981.1]   -l N, --line-length=N
Warning: yunohost.hook <lambda> - [981.1]                  specify the desired line-wrap length for the `l' command
Warning: yunohost.hook <lambda> - [981.1]   --posix
Warning: yunohost.hook <lambda> - [981.1]                  disable all GNU extensions.
Warning: yunohost.hook <lambda> - [981.1]   -E, -r, --regexp-extended
Warning: yunohost.hook <lambda> - [981.1]                  use extended regular expressions in the script
Warning: yunohost.hook <lambda> - [981.1]                  (for portability use POSIX -E).
Warning: yunohost.hook <lambda> - [981.1]   -s, --separate
Warning: yunohost.hook <lambda> - [981.1]                  consider files as separate rather than as a single,
Warning: yunohost.hook <lambda> - [981.1]                  continuous long stream.
Warning: yunohost.hook <lambda> - [981.1]       --sandbox
Warning: yunohost.hook <lambda> - [981.1]                  operate in sandbox mode.
Warning: yunohost.hook <lambda> - [981.1]   -u, --unbuffered
Warning: yunohost.hook <lambda> - [981.1]                  load minimal amounts of data from the input files and flush
Warning: yunohost.hook <lambda> - [981.1]                  the output buffers more often
Warning: yunohost.hook <lambda> - [981.1]   -z, --null-data
Warning: yunohost.hook <lambda> - [981.1]                  separate lines by NUL characters
Warning: yunohost.hook <lambda> - [981.1]       --help     display this help and exit
Warning: yunohost.hook <lambda> - [981.1]       --version  output version information and exit
Warning: yunohost.hook <lambda> - [981.1] If no -e, --expression, -f, or --file option is given, then the first
Warning: yunohost.hook <lambda> - [981.1] non-option argument is taken as the sed script to interpret.  All
Warning: yunohost.hook <lambda> - [981.1] remaining arguments are names of input files; if no input files are
Warning: yunohost.hook <lambda> - [981.1] specified, then the standard input is read.
Warning: yunohost.hook <lambda> - [981.1] GNU sed home page: <http://www.gnu.org/software/sed/>.
Warning: yunohost.hook <lambda> - [981.1] General help using GNU software: <http://www.gnu.org/gethelp/>.
Warning: yunohost.hook <lambda> - [981.1] [ERR] !!
Warning: yunohost.hook <lambda> - [981.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [981.1] !!
Warning: yunohost.hook <lambda> - [981.1] Please find here an extract of the log before the crash:
Warning: -                  operate in sandbox mode.
Warning: -   -u, --unbuffered
Warning: -                  load minimal amounts of data from the input files and flush
Warning: -                  the output buffers more often
Warning: -   -z, --null-data
Warning: -                  separate lines by NUL characters
Warning: -       --help     display this help and exit
Warning: -       --version  output version information and exit
Warning: -
Warning: - If no -e, --expression, -f, or --file option is given, then the first
Warning: - non-option argument is taken as the sed script to interpret.  All
Warning: - remaining arguments are names of input files; if no input files are
Warning: - specified, then the standard input is read.
Warning: -
Warning: - GNU sed home page: <http://www.gnu.org/software/sed/>.
Warning: - General help using GNU software: <http://www.gnu.org/gethelp/>.
Warning: yunohost.hook <lambda> - [981.1] [DEBUG]: DEBUG   - + ynh_print_err '--message=!!
Warning: yunohost.hook <lambda> - [981.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [981.1] !!'
Warning: - !!
Warning: yunohost.hook <lambda> - [981.1] [DEBUG]: DEBUG   - + local legacy_args=m
Warning: -   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [981.1] [DEBUG]: DEBUG   -=message=)
Warning: - !!
Warning: yunohost.hook <lambda> - [981.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [981.1] [DEBUG]: DEBUG   - + local message
Warning: yunohost.hook <lambda> - [981.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args '--message=!!
Warning: yunohost.hook <lambda> - [981.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [981.1] !!'
Warning: yunohost.hook <lambda> - [981.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [981.1] [DEBUG]: DEBUG   - !!
Warning: yunohost.hook <lambda> - [981.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [981.1] !!'
Warning: yunohost.hook <lambda> - [981.1] [DEBUG]: DEBUG   - !!
Warning: yunohost.hook <lambda> - [981.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [981.1] !!'
Warning: yunohost.hook <lambda> - [981.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [981.1] [DEBUG]: DEBUG   - + set +x
Error: yunohost.app app_change_url - [981.1] Failed to change 'seafile' url.
Info: yunohost.log close - [981.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 20190801-141416-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: 46 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.Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 12 seconds.
Change_url script successful. (0)
Info:  [+...................] > Loading installation settings...
Info:  [#++.................] > Updating nginx configuration...
Info:  [###+................] > Stoping services...
Info:  [####++..............] > Updating seafile configuration...
Warning: yunohost.hook <lambda> - [991.1] sed: unrecognized option '--target_file'
Warning: yunohost.hook <lambda> - [991.1] Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...
Warning: yunohost.hook <lambda> - [991.1]   -n, --quiet, --silent
Warning: yunohost.hook <lambda> - [991.1]                  suppress automatic printing of pattern space
Warning: yunohost.hook <lambda> - [991.1]   -e script, --expression=script
Warning: yunohost.hook <lambda> - [991.1]                  add the script to the commands to be executed
Warning: yunohost.hook <lambda> - [991.1]   -f script-file, --file=script-file
Warning: yunohost.hook <lambda> - [991.1]                  add the contents of script-file to the commands to be executed
Warning: yunohost.hook <lambda> - [991.1]   --follow-symlinks
Warning: yunohost.hook <lambda> - [991.1]                  follow symlinks when processing in place
Warning: yunohost.hook <lambda> - [991.1]   -i[SUFFIX], --in-place[=SUFFIX]
Warning: yunohost.hook <lambda> - [991.1]                  edit files in place (makes backup if SUFFIX supplied)
Warning: yunohost.hook <lambda> - [991.1]   -l N, --line-length=N
Warning: yunohost.hook <lambda> - [991.1]                  specify the desired line-wrap length for the `l' command
Warning: yunohost.hook <lambda> - [991.1]   --posix
Warning: yunohost.hook <lambda> - [991.1]                  disable all GNU extensions.
Warning: yunohost.hook <lambda> - [991.1]   -E, -r, --regexp-extended
Warning: yunohost.hook <lambda> - [991.1]                  use extended regular expressions in the script
Warning: yunohost.hook <lambda> - [991.1]                  (for portability use POSIX -E).
Warning: yunohost.hook <lambda> - [991.1]   -s, --separate
Warning: yunohost.hook <lambda> - [991.1]                  consider files as separate rather than as a single,
Warning: yunohost.hook <lambda> - [991.1]                  continuous long stream.
Warning: yunohost.hook <lambda> - [991.1]       --sandbox
Warning: yunohost.hook <lambda> - [991.1]                  operate in sandbox mode.
Warning: yunohost.hook <lambda> - [991.1]   -u, --unbuffered
Warning: yunohost.hook <lambda> - [991.1]                  load minimal amounts of data from the input files and flush
Warning: yunohost.hook <lambda> - [991.1]                  the output buffers more often
Warning: yunohost.hook <lambda> - [991.1]   -z, --null-data
Warning: yunohost.hook <lambda> - [991.1]                  separate lines by NUL characters
Warning: yunohost.hook <lambda> - [991.1]       --help     display this help and exit
Warning: yunohost.hook <lambda> - [991.1]       --version  output version information and exit
Warning: yunohost.hook <lambda> - [991.1] If no -e, --expression, -f, or --file option is given, then the first
Warning: yunohost.hook <lambda> - [991.1] non-option argument is taken as the sed script to interpret.  All
Warning: yunohost.hook <lambda> - [991.1] remaining arguments are names of input files; if no input files are
Warning: yunohost.hook <lambda> - [991.1] specified, then the standard input is read.
Warning: yunohost.hook <lambda> - [991.1] GNU sed home page: <http://www.gnu.org/software/sed/>.
Warning: yunohost.hook <lambda> - [991.1] General help using GNU software: <http://www.gnu.org/gethelp/>.
Warning: yunohost.hook <lambda> - [991.1] [ERR] !!
Warning: yunohost.hook <lambda> - [991.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [991.1] !!
Warning: yunohost.hook <lambda> - [991.1] Please find here an extract of the log before the crash:
Warning: -                  operate in sandbox mode.
Warning: -   -u, --unbuffered
Warning: -                  load minimal amounts of data from the input files and flush
Warning: -                  the output buffers more often
Warning: -   -z, --null-data
Warning: -                  separate lines by NUL characters
Warning: -       --help     display this help and exit
Warning: -       --version  output version information and exit
Warning: -
Warning: - If no -e, --expression, -f, or --file option is given, then the first
Warning: - non-option argument is taken as the sed script to interpret.  All
Warning: - remaining arguments are names of input files; if no input files are
Warning: - specified, then the standard input is read.
Warning: -
Warning: - GNU sed home page: <http://www.gnu.org/software/sed/>.
Warning: - General help using GNU software: <http://www.gnu.org/gethelp/>.
Warning: yunohost.hook <lambda> - [991.1] [DEBUG]: DEBUG   - + ynh_print_err '--message=!!
Warning: yunohost.hook <lambda> - [991.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [991.1] !!'
Warning: - !!
Warning: yunohost.hook <lambda> - [991.1] [DEBUG]: DEBUG   - + local legacy_args=m
Warning: -   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [991.1] [DEBUG]: DEBUG   -=message=)
Warning: - !!
Warning: yunohost.hook <lambda> - [991.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [991.1] [DEBUG]: DEBUG   - + local message
Warning: yunohost.hook <lambda> - [991.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args '--message=!!
Warning: yunohost.hook <lambda> - [991.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [991.1] !!'
Warning: yunohost.hook <lambda> - [991.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [991.1] [DEBUG]: DEBUG   - !!
Warning: yunohost.hook <lambda> - [991.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [991.1] !!'
Warning: yunohost.hook <lambda> - [991.1] [DEBUG]: DEBUG   - !!
Warning: yunohost.hook <lambda> - [991.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [991.1] !!'
Warning: yunohost.hook <lambda> - [991.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [991.1] [DEBUG]: DEBUG   - + set +x
Error: yunohost.app app_change_url - [991.1] Failed to change 'seafile' url.
Info: yunohost.log close - [991.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 20190801-141546-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: 45 seconds.
Restore the previous snapshot.
Working time: 34 seconds.
Working time for this test: 6 minutes, 29 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: 56 minutes, 32 seconds.
Disable iptables rules.
Disable the network bridge.
The complete log for this application was duplicated and is accessible at /home/CI_package_check/dev_CI/../logs/_home_yunohost.app_ssh_chroot_directories_josue_data_seafile_ynh_complete.log

Thu Aug  1 14:18:05 UTC 2019
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE