FailedConsole Output

Skipping 25 KB.. Full Log
file' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20191001-232609-app_install-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [2069.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [2069.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Info:  [##+.................] > Removing logs...
Warning: yunohost.hook <lambda> - [2069.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [2069.1] ValueError: list.remove(x): x not in list
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:  [####+...............] > Removing user data...
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [#####+..............] > Removing databases...
Warning: yunohost.hook <lambda> - [2069.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [######..............] > Removing systemd units...
Warning: yunohost.hook <lambda> - [2069.1] Removed /etc/systemd/system/multi-user.target.wants/seahub.service.
Info:  [######+.............] > Removing the dedicated system user...
Info:  [#######+++++++++....] > Removing dependencies
Info:  [################+...] > Removing nginx configuration...
Info:  [#################+..] > Removing fail2ban 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> - [2069.1] Unknown service 'seafile'
Info:  [##################+.] > Removing seafile service...
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [2069.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 20191001-232609-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: 24 seconds.
Working time for this test: 6 minutes, 1 second.


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

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

Upgrade...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 6 minutes, 9 seconds.
Upgrade failed. (1)
Info: yunohost.app app_upgrade - [995.1] Now upgrading app seafile…
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Info:  [#...................] > Fixing old settings...
Info:  [#++++...............] > Upgrading source files...
Info:  [#####+..............] > Upgrading dependencies...
Info:  [######+.............] > Configuring application...
Info:  [#######.............] > Updating systemd units...
Info:  [#######+............] > Protecting directory...
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> - [995.1] Please wait, the service seafile is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [995.1] [WARN] The service seafile didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [995.1] [WARN] Please find here an extract of the end of the log of the service seafile:
Warning: yunohost.hook <lambda> - [995.1] -- Logs begin at Tue 2019-10-01 23:28:33 UTC, end at Tue 2019-10-01 23:34:42 UTC. --
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:28:37 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:28:37 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:28:40 pchecker_lxc seafile.sh[650]: [10/01/19 23:28:40] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:28:41 pchecker_lxc seafile.sh[650]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:28:41 pchecker_lxc seafile-control[918]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:28:44 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:28:49 pchecker_lxc systemd[1]: Stopping Seafile...
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:28:49 pchecker_lxc seafile.sh[1190]: Stopping seafile server ...
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:28:49 pchecker_lxc systemd[1]: Stopped Seafile.
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:29:36 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:29:36 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:29:36 pchecker_lxc seafile.sh[2333]: [10/01/19 23:29:36] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:29:36 pchecker_lxc seafile.sh[2333]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:29:36 pchecker_lxc seafile-control[2354]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:29:39 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [995.1] --
Warning: yunohost.hook <lambda> - [995.1] [10/01/19 23:18:05] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [995.1] [10/01/19 23:18:05] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [995.1] [10/01/19 23:18:05] seafile-controller.c(79): spawn_process: seaf-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -d /home/yunohost.app/seafile-data -l /opt/yunohost/seafile/logs/seafile.log -P /opt/yunohost/seafile/pids/seaf-server.pid
Warning: yunohost.hook <lambda> - [995.1] [10/01/19 23:18:05] seafile-controller.c(94): spawned seaf-server, pid 5668
Warning: yunohost.hook <lambda> - [995.1] [10/01/19 23:18:05] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [995.1] [10/01/19 23:18:05] seafile-controller.c(79): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/yunohost/seafile/logs/seafdav.log --pid /opt/yunohost/seafile/pids/seafdav.pid --port 8080 --host localhost
Warning: yunohost.hook <lambda> - [995.1] [10/01/19 23:18:05] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 5669
Warning: yunohost.hook <lambda> - [995.1] [10/01/19 23:18:26] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [995.1] [10/01/19 23:28:41] seafile-controller.c(175): starting ccnet-server ...
Warning: yunohost.hook <lambda> - [995.1] [10/01/19 23:28:41] seafile-controller.c(79): spawn_process: ccnet-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -f /opt/yunohost/seafile/logs/ccnet.log -d -P /opt/yunohost/seafile/pids/ccnet.pid
Warning: yunohost.hook <lambda> - [995.1] [10/01/19 23:28:41] seafile-controller.c(94): spawned ccnet-server, pid 920
Warning: yunohost.hook <lambda> - [995.1] [10/01/19 23:28:42] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [995.1] [10/01/19 23:28:42] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [995.1] [10/01/19 23:28:42] seafile-controller.c(79): spawn_process: seaf-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -d /home/yunohost.app/seafile-data -l /opt/yunohost/seafile/logs/seafile.log -P /opt/yunohost/seafile/pids/seaf-server.pid
Warning: yunohost.hook <lambda> - [995.1] [10/01/19 23:28:42] seafile-controller.c(94): spawned seaf-server, pid 924
Warning: yunohost.hook <lambda> - [995.1] [10/01/19 23:28:42] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [995.1] [10/01/19 23:28:42] seafile-controller.c(79): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/yunohost/seafile/logs/seafdav.log --pid /opt/yunohost/seafile/pids/seafdav.pid --port 8080 --host localhost
Warning: yunohost.hook <lambda> - [995.1] [10/01/19 23:28:42] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 925
Warning: yunohost.hook <lambda> - [995.1] [10/01/19 23:28:49] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [995.1] [10/01/19 23:28:49] seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [995.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [995.1] -- Logs begin at Tue 2019-10-01 23:28:33 UTC, end at Tue 2019-10-01 23:34:49 UTC. --
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:28:44 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:28:44 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:28:44 pchecker_lxc seahub.sh[960]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:28:44 pchecker_lxc seahub.sh[960]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:28:49 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:28:49 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:28:49 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:28:49 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:34:43 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:34:43 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:34:43 pchecker_lxc seahub.sh[3000]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:34:43 pchecker_lxc seahub.sh[3000]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:34:49 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:34:49 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:34:49 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [995.1] Oct 01 23:34:49 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [995.1] [ERR] !!
Warning: yunohost.hook <lambda> - [995.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [995.1] !!
Warning: yunohost.hook <lambda> - [995.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [995.1] [DEBUG]: DEBUG   - + trap '' EXIT
Warning: -: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [995.1] [DEBUG]: DEBUG   - + set +eu
Warning: -: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [995.1] [DEBUG]: DEBUG   - + sleep 0.5
Warning: -: Failed to start Seafile hub.
Warning: -: seahub.service: Unit entered failed state.
Warning: -: seahub.service: Failed with result 'exit-code'.
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> - [995.1] [DEBUG]: DEBUG   - + ynh_print_err '--message=!!
Warning: yunohost.hook <lambda> - [995.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [995.1] !!'
Warning: - !!
Warning: yunohost.hook <lambda> - [995.1] [DEBUG]: DEBUG   - + local legacy_args=m
Warning: -   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [995.1] [DEBUG]: DEBUG   -=message=)
Warning: - !!
Warning: yunohost.hook <lambda> - [995.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [995.1] [DEBUG]: DEBUG   - + local message
Warning: yunohost.hook <lambda> - [995.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args '--message=!!
Warning: yunohost.hook <lambda> - [995.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [995.1] !!'
Warning: yunohost.hook <lambda> - [995.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [995.1] [DEBUG]: DEBUG   - !!
Warning: yunohost.hook <lambda> - [995.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [995.1] !!'
Warning: yunohost.hook <lambda> - [995.1] [DEBUG]: DEBUG   - !!
Warning: yunohost.hook <lambda> - [995.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [995.1] !!'
Warning: yunohost.hook <lambda> - [995.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [995.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [995.1] ./_common.sh: line 34:  2997 Terminated              journalctl --unit=$service_name --follow --since=-0 --quiet > "$templog"
Error: yunohost.app app_upgrade - [995.1] Unable to upgrade seafile
Info: yunohost.log close - [995.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 20191001-232847-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: 26 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 26 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: 6 seconds.
Working time: 3 minutes, 3 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [919.1] Installing application seafile…
Warning: moulinette.interface __call__ - 'yunohost app checkurl' is deprecated and will be removed in the future
Warning: yunohost.hook <lambda> - [919.1] 'yunohost app checkurl' is deprecated and will be removed in the future
Error: yunohost.app app_checkurl - [999.1] Packagers /! : 'app checkurl' is deprecated ! Please use the helper 'ynh_webpath_register' instead !
Warning: yunohost.hook <lambda> - [919.1] Packagers /! : 'app checkurl' is deprecated ! Please use the helper 'ynh_webpath_register' instead !
Warning: yunohost.hook <lambda> - [919.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [919.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [919.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [919.1] 
Extracting templates from packages: 61%
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 - [2829.1] Now upgrading app seafile…
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [2829.1] seafile-server.service is not a native service, redirecting to systemd-sysv-install.
Warning: yunohost.hook <lambda> - [2829.1] Executing: /lib/systemd/systemd-sysv-install disable seafile-server
Info:  [#...................] > Fixing old settings...
Warning: yunohost.hook <lambda> - [2829.1] chown: cannot access '/opt/yunohost/seafile': No such file or directory
Warning: yunohost.hook <lambda> - [2829.1] [ERR] !!
Warning: yunohost.hook <lambda> - [2829.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [2829.1] !!
Warning: yunohost.hook <lambda> - [2829.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [2829.1] [DEBUG]: DEBUG   - + getent passwd seafile
Warning: yunohost.hook <lambda> - [2829.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [2829.1] [DEBUG]: DEBUG   - + local 'user_home_dir=-d /opt/yunohost/seafile'
Warning: yunohost.hook <lambda> - [2829.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [2829.1] [DEBUG]: DEBUG   - + local 'shell=--shell /usr/sbin/nologin'
Warning: yunohost.hook <lambda> - [2829.1] [DEBUG]: DEBUG   - + useradd -d /opt/yunohost/seafile --system --user-group seafile --shell /usr/sbin/nologin
Warning: yunohost.hook <lambda> - [2829.1] [DEBUG]: DEBUG   - + ynh_app_setting_set --app seafile --key final_path --value /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [2829.1] [DEBUG]: DEBUG   - + local legacy_args=akv
Warning: yunohost.hook <lambda> - [2829.1] [DEBUG]: DEBUG   -=value=)
Warning: yunohost.hook <lambda> - [2829.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [2829.1] [DEBUG]: DEBUG   - + local app
Warning: yunohost.hook <lambda> - [2829.1] [DEBUG]: DEBUG   - + local key
Warning: yunohost.hook <lambda> - [2829.1] [DEBUG]: DEBUG   - + local value
Warning: yunohost.hook <lambda> - [2829.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args --app seafile --key final_path --value /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [2829.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [2829.1] [DEBUG]: DEBUG   - + ynh_app_setting set seafile final_path /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [2829.1] [DEBUG]: DEBUG   - + ACTION=set
Warning: yunohost.hook <lambda> - [2829.1] [DEBUG]: DEBUG   - + APP=seafile
Warning: yunohost.hook <lambda> - [2829.1] [DEBUG]: DEBUG   - + KEY=final_path
Warning: yunohost.hook <lambda> - [2829.1] [DEBUG]: DEBUG   - + VALUE=/opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [2829.1] [DEBUG]: DEBUG   - + python -
Warning: yunohost.hook <lambda> - [2829.1] [DEBUG]: DEBUG   - + set_permission
Warning: yunohost.hook <lambda> - [2829.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [2829.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_upgrade - [2829.1] Unable to upgrade seafile
Info: yunohost.log close - [2829.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 20191001-233907-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: 6 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 26 seconds.


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

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

Upgrade...
A LXC container is already running.
Working time: 2 seconds.
Working time: 16 seconds.
Upgrade failed. (1)
Info: yunohost.app app_upgrade - [3019.1] Now upgrading app seafile…
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [3019.1] seafile-server.service is not a native service, redirecting to systemd-sysv-install.
Warning: yunohost.hook <lambda> - [3019.1] Executing: /lib/systemd/systemd-sysv-install disable seafile-server
Info:  [#...................] > Fixing old settings...
Warning: yunohost.hook <lambda> - [3019.1] chown: cannot access '/opt/yunohost/seafile': No such file or directory
Warning: yunohost.hook <lambda> - [3019.1] [ERR] !!
Warning: yunohost.hook <lambda> - [3019.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [3019.1] !!
Warning: yunohost.hook <lambda> - [3019.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [3019.1] [DEBUG]: DEBUG   - + getent passwd seafile
Warning: yunohost.hook <lambda> - [3019.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [3019.1] [DEBUG]: DEBUG   - + local 'user_home_dir=-d /opt/yunohost/seafile'
Warning: yunohost.hook <lambda> - [3019.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [3019.1] [DEBUG]: DEBUG   - + local 'shell=--shell /usr/sbin/nologin'
Warning: yunohost.hook <lambda> - [3019.1] [DEBUG]: DEBUG   - + useradd -d /opt/yunohost/seafile --system --user-group seafile --shell /usr/sbin/nologin
Warning: yunohost.hook <lambda> - [3019.1] [DEBUG]: DEBUG   - + ynh_app_setting_set --app seafile --key final_path --value /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [3019.1] [DEBUG]: DEBUG   - + local legacy_args=akv
Warning: yunohost.hook <lambda> - [3019.1] [DEBUG]: DEBUG   -=value=)
Warning: yunohost.hook <lambda> - [3019.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [3019.1] [DEBUG]: DEBUG   - + local app
Warning: yunohost.hook <lambda> - [3019.1] [DEBUG]: DEBUG   - + local key
Warning: yunohost.hook <lambda> - [3019.1] [DEBUG]: DEBUG   - + local value
Warning: yunohost.hook <lambda> - [3019.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args --app seafile --key final_path --value /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [3019.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [3019.1] [DEBUG]: DEBUG   - + ynh_app_setting set seafile final_path /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [3019.1] [DEBUG]: DEBUG   - + ACTION=set
Warning: yunohost.hook <lambda> - [3019.1] [DEBUG]: DEBUG   - + APP=seafile
Warning: yunohost.hook <lambda> - [3019.1] [DEBUG]: DEBUG   - + KEY=final_path
Warning: yunohost.hook <lambda> - [3019.1] [DEBUG]: DEBUG   - + VALUE=/opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [3019.1] [DEBUG]: DEBUG   - + python -
Warning: yunohost.hook <lambda> - [3019.1] [DEBUG]: DEBUG   - + set_permission
Warning: yunohost.hook <lambda> - [3019.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [3019.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_upgrade - [3019.1] Unable to upgrade seafile
Info: yunohost.log close - [3019.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 20191001-234151-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: 13 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 26 seconds.


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

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

Upgrade...
A LXC container is already running.
Working time: 2 seconds.
Working time: 17 seconds.
Upgrade failed. (1)
Info: yunohost.app app_upgrade - [5074.1] Now upgrading app seafile…
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [5074.1] seafile-server.service is not a native service, redirecting to systemd-sysv-install.
Warning: yunohost.hook <lambda> - [5074.1] Executing: /lib/systemd/systemd-sysv-install disable seafile-server
Info:  [#...................] > Fixing old settings...
Info:  [#++++...............] > Upgrading source files...
Warning: yunohost.hook <lambda> - [5074.1] Unable to apply patches
Warning: yunohost.hook <lambda> - [5074.1] [ERR] !!
Warning: yunohost.hook <lambda> - [5074.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [5074.1] !!
Warning: yunohost.hook <lambda> - [5074.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   - patching file seahub/seahub/base/accounts.py
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   - Hunk #1 succeeded at 587 (offset 191 lines).
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   - patching file seahub/seahub/settings.py
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   - Hunk #1 succeeded at 118 (offset 4 lines).
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   - Hunk #2 FAILED at 233.
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   - 1 out of 2 hunks FAILED -- saving rejects to file seahub/seahub/settings.py.rej
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   - + ynh_die '--message=Unable to apply patches'
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   - + local legacy_args=mc
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   -=ret_code=)
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   - + local message
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   - + local ret_code
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args '--message=Unable to apply patches'
Warning: - Unable to apply patches
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   - + echo 'Unable to apply patches'
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   - + exit 1
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_upgrade - [5074.1] Unable to upgrade seafile
Info: yunohost.log close - [5074.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 20191001-234510-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: 17 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 27 seconds.
Restore the previous snapshot.
Working time: 14 seconds.
Working time for this test: 18 minutes, 14 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: 2 minutes, 14 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [909.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> - [909.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%
Info:  [####+...............] > Cleaning data directory...
Info:  [#####...............] > Creating base directory...
Info:  [#####+++............] > Installing sources files...
Info:  [########............] > Configuring MySQL database...
Info:  [########++..........] > Configuring application...
Info:  [##########+.........] > Configuring a systemd service...
Warning: yunohost.hook <lambda> - [909.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [909.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [###########.........] > Configuring nginx...
Warning: yunohost.hook <lambda> - [909.1] [DEBUG] mykey.peer
Warning: yunohost.hook <lambda> - [909.1] seafile.ini
Warning: yunohost.hook <lambda> - [909.1] failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [909.1] [ERR] !!
Warning: yunohost.hook <lambda> - [909.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [909.1] !!
Warning: yunohost.hook <lambda> - [909.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [909.1] [DEBUG]: DEBUG   - + local timeout=300
Warning: yunohost.hook <lambda> - [909.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [909.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [909.1] [DEBUG]: DEBUG   - + action=reload-or-restart
Warning: yunohost.hook <lambda> - [909.1] [DEBUG]: DEBUG   - + systemctl reload-or-restart nginx
Warning: yunohost.hook <lambda> - [909.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [909.1] [DEBUG]: DEBUG   - + cp expect_scripts/first_launch.exp /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [909.1] [DEBUG]: DEBUG   - + chmod +x /opt/yunohost/seafile/first_launch.exp
Warning: yunohost.hook <lambda> - [909.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [909.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /home/yunohost.app/seafile-data
Warning: yunohost.hook <lambda> - [909.1] [DEBUG]: DEBUG   - + sleep 5
Warning: yunohost.hook <lambda> - [909.1] [DEBUG]: DEBUG   - + ynh_debug_exec ls /opt/yunohost/seafile/ccnet
Warning: yunohost.hook <lambda> - [909.1] [DEBUG]: DEBUG   - ++ eval ls /opt/yunohost/seafile/ccnet
Warning: yunohost.hook <lambda> - [909.1] [DEBUG]: DEBUG   - +++ ls /opt/yunohost/seafile/ccnet
Warning: yunohost.hook <lambda> - [909.1] [DEBUG]: DEBUG   - + ynh_debug '--message=mykey.peer
Warning: yunohost.hook <lambda> - [909.1] [DEBUG]: DEBUG   - seafile.ini'
Warning: yunohost.hook <lambda> - [909.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [909.1] [DEBUG]: DEBUG   - + set +x
Warning: - mykey.peer
Warning: yunohost.hook <lambda> - [909.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: - seafile.ini
Warning: yunohost.hook <lambda> - [909.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [909.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> - [909.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [909.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 20191001-234638-app_install-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [909.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [909.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Info:  [##+.................] > Removing logs...
Warning: yunohost.hook <lambda> - [909.1]     data["skipped_urls"].remove("/seafhttp")
Info:  /var/log/seafile wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [909.1] KeyError: 'skipped_urls'
Info:  [###+................] > Removing code...
Info:  /var/www/seafile wasn't deleted because it doesn't exist.
Info:  [####+...............] > Removing user data...
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [#####+..............] > Removing databases...
Warning: yunohost.hook <lambda> - [909.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [######..............] > Removing systemd units...
Warning: yunohost.hook <lambda> - [909.1] Removed /etc/systemd/system/multi-user.target.wants/seahub.service.
Info:  [######+.............] > Removing the dedicated system user...
Info:  [#######+++++++++....] > Removing dependencies
Info:  [################+...] > Removing nginx configuration...
Info:  [#################+..] > Removing fail2ban 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> - [909.1] Unknown service 'seafile'
Info:  [##################+.] > Removing seafile service...
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [909.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 20191001-234638-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: 23 seconds.
Restore the previous snapshot.
Working time: 14 seconds.
Working time for this test: 3 minutes, 4 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: 5 seconds.
Working time: 2 minutes, 18 seconds.
Installation failed. (1)
Warning: yunohost.service _run_service_command - [184.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.app app_install - [922.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> - [922.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%
Info:  [####+...............] > Cleaning data directory...
Info:  [#####...............] > Creating base directory...
Info:  [#####+++............] > Installing sources files...
Info:  [########............] > Configuring MySQL database...
Info:  [########++..........] > Configuring application...
Info:  [##########+.........] > Configuring a systemd service...
Warning: yunohost.hook <lambda> - [922.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [922.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [###########.........] > Configuring nginx...
Warning: yunohost.hook <lambda> - [922.1] [DEBUG] mykey.peer
Warning: yunohost.hook <lambda> - [922.1] seafile.ini
Warning: yunohost.hook <lambda> - [922.1] failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [922.1] [ERR] !!
Warning: yunohost.hook <lambda> - [922.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [922.1] !!
Warning: yunohost.hook <lambda> - [922.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   - + local timeout=300
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   - + action=reload-or-restart
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   - + systemctl reload-or-restart nginx
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   - + cp expect_scripts/first_launch.exp /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   - + chmod +x /opt/yunohost/seafile/first_launch.exp
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /home/yunohost.app/seafile-data
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   - + sleep 5
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   - + ynh_debug_exec ls /opt/yunohost/seafile/ccnet
Warning: - mykey.peer
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   - ++ eval ls /opt/yunohost/seafile/ccnet
Warning: - seafile.ini
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   - +++ ls /opt/yunohost/seafile/ccnet
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   - + ynh_debug '--message=mykey.peer
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   - seafile.ini'
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [922.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> - [922.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [922.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 20191001-234941-app_install-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [922.1] Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [922.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Warning: yunohost.hook <lambda> - [922.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [922.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:  [####+...............] > Removing user data...
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [#####+..............] > Removing databases...
Warning: yunohost.hook <lambda> - [922.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [######..............] > Removing systemd units...
Warning: yunohost.hook <lambda> - [922.1] Removed /etc/systemd/system/multi-user.target.wants/seahub.service.
Info:  [######+.............] > Removing the dedicated system user...
Info:  [#######+++++++++....] > Removing dependencies
Info:  [################+...] > Removing nginx configuration...
Info:  [#################+..] > Removing fail2ban 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> - [922.1] Unknown service 'seafile'
Info:  [##################+.] > Removing seafile service...
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [922.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 20191001-234941-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: 24 seconds.
Restore the previous snapshot.
Working time: 14 seconds.
Working time for this test: 3 minutes, 4 seconds.


>> Malformed path... [Test 10/13]
Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 2 minutes, 15 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...
Info:  [##########+.........] > Configuring a systemd service...
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 nginx...
Warning: yunohost.hook <lambda> - [910.1] [DEBUG] mykey.peer
Warning: yunohost.hook <lambda> - [910.1] seafile.ini
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 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   - + sleep 5
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + ynh_debug_exec ls /opt/yunohost/seafile/ccnet
Warning: - mykey.peer
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - ++ eval ls /opt/yunohost/seafile/ccnet
Warning: - seafile.ini
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - +++ ls /opt/yunohost/seafile/ccnet
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + ynh_debug '--message=mykey.peer
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - seafile.ini'
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + set +x
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 20191001-235245-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>
Warning: yunohost.hook <lambda> - [910.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [910.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:  [####+...............] > Removing 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 nginx configuration...
Info:  [#################+..] > Removing fail2ban 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.
Info:  [##################+.] > Removing seafile service...
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 20191001-235245-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: 24 seconds.
Working time for this test: 2 minutes, 48 seconds.


>> Port already used... [Test 11/13]
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 4 seconds.
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 minutes, 10 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [982.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> - [982.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%
Info:  [####+...............] > Cleaning data directory...
Info:  [#####...............] > Creating base directory...
Info:  [#####+++............] > Installing sources files...
Info:  [########............] > Configuring MySQL database...
Info:  [########++..........] > Configuring application...
Info:  [##########+.........] > Configuring a systemd service...
Warning: yunohost.hook <lambda> - [982.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [982.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [###########.........] > Configuring nginx...
Warning: yunohost.hook <lambda> - [982.1] [DEBUG] mykey.peer
Warning: yunohost.hook <lambda> - [982.1] seafile.ini
Warning: yunohost.hook <lambda> - [982.1] failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [982.1] [ERR] !!
Warning: yunohost.hook <lambda> - [982.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [982.1] !!
Warning: yunohost.hook <lambda> - [982.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [982.1] [DEBUG]: DEBUG   - + local timeout=300
Warning: yunohost.hook <lambda> - [982.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [982.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [982.1] [DEBUG]: DEBUG   - + action=reload-or-restart
Warning: yunohost.hook <lambda> - [982.1] [DEBUG]: DEBUG   - + systemctl reload-or-restart nginx
Warning: yunohost.hook <lambda> - [982.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [982.1] [DEBUG]: DEBUG   - + cp expect_scripts/first_launch.exp /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [982.1] [DEBUG]: DEBUG   - + chmod +x /opt/yunohost/seafile/first_launch.exp
Warning: yunohost.hook <lambda> - [982.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [982.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /home/yunohost.app/seafile-data
Warning: yunohost.hook <lambda> - [982.1] [DEBUG]: DEBUG   - + sleep 5
Warning: yunohost.hook <lambda> - [982.1] [DEBUG]: DEBUG   - + ynh_debug_exec ls /opt/yunohost/seafile/ccnet
Warning: - mykey.peer
Warning: yunohost.hook <lambda> - [982.1] [DEBUG]: DEBUG   - ++ eval ls /opt/yunohost/seafile/ccnet
Warning: - seafile.ini
Warning: yunohost.hook <lambda> - [982.1] [DEBUG]: DEBUG   - +++ ls /opt/yunohost/seafile/ccnet
Warning: yunohost.hook <lambda> - [982.1] [DEBUG]: DEBUG   - + ynh_debug '--message=mykey.peer
Warning: yunohost.hook <lambda> - [982.1] [DEBUG]: DEBUG   - seafile.ini'
Warning: yunohost.hook <lambda> - [982.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [982.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [982.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: yunohost.hook <lambda> - [982.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [982.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> - [982.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [982.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 20191001-235540-app_install-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [982.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [982.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Info:  [##+.................] > Removing logs...
Warning: yunohost.hook <lambda> - [982.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [982.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:  [####+...............] > Removing user data...
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [#####+..............] > Removing databases...
Warning: yunohost.hook <lambda> - [982.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [######..............] > Removing systemd units...
Warning: yunohost.hook <lambda> - [982.1] Removed /etc/systemd/system/multi-user.target.wants/seahub.service.
Info:  [######+.............] > Removing the dedicated system user...
Info:  [#######+++++++++....] > Removing dependencies
Info:  [################+...] > Removing nginx configuration...
Info:  [#################+..] > Removing fail2ban 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.
Warning: yunohost.hook <lambda> - [982.1] Unknown service 'seafile'
Info:  [##################+.] > Removing seafile service...
Error: yunohost cli - Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [982.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 20191001-235540-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: 29 seconds.
Working time for this test: 2 minutes, 59 seconds.


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

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

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

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

Restore after removing the application...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, 24 seconds.
Restore failed. (1)
Info: yunohost.backup backup_restore - [2562.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [2562.1] Restoring application seafile…
Info:  [....................] > Loading settings...
Info:  [+++++++.............] > Restoring files...
Info:  [#######+............] > Configuring system user...
Info:  [########+++.........] > Reinstalling dependencies...
Warning: yunohost.hook <lambda> - [2562.1] sudo: unknown user: seafile
Warning: yunohost.hook <lambda> - [2562.1] sudo: unable to initialize policy plugin
Warning: yunohost.hook <lambda> - [2562.1] [ERR] !!
Warning: yunohost.hook <lambda> - [2562.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [2562.1] !!
Warning: yunohost.hook <lambda> - [2562.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [2562.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> - [2562.1] [DEBUG]: DEBUG   - + ACTION=set
Warning: yunohost.hook <lambda> - [2562.1] [DEBUG]: DEBUG   - + APP=seafile
Warning: yunohost.hook <lambda> - [2562.1] [DEBUG]: DEBUG   - + KEY=apt_dependencies
Warning: yunohost.hook <lambda> - [2562.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> - [2562.1] [DEBUG]: DEBUG   - + python -
Warning: yunohost.hook <lambda> - [2562.1] [DEBUG]: DEBUG   - + sudo -u seafile pip install --user --upgrade Pillow 'moviepy<1.0' certifi idna
Warning: - sudo: unknown user: seafile
Warning: yunohost.hook <lambda> - [2562.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.backup _restore_app - [2562.1] Unable to restore the app 'seafile'
Info: yunohost.log close - [2562.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 20191002-000149-backup_restore_app-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [2562.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [2562.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Info:  [##+.................] > Removing logs...
Warning: yunohost.hook <lambda> - [2562.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [2562.1] ValueError: list.remove(x): x not in list
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:  [####+...............] > Removing user data...
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [#####+..............] > Removing databases...
Warning: yunohost.hook <lambda> - [2562.1] [WARN] Database ccnetdb not found
Warning: yunohost.hook <lambda> - [2562.1] [WARN] Database seafiledb not found
Warning: yunohost.hook <lambda> - [2562.1] [WARN] Database seahubdb not found
Info:  [######..............] > Removing systemd units...
Warning: yunohost.hook <lambda> - [2562.1] [WARN] The user seafile was not found
Info:  [######+.............] > Removing the dedicated system user...
Info:  [#######+++++++++....] > Removing dependencies
Info:  [################+...] > Removing nginx configuration...
Info:  [#################+..] > Removing fail2ban configuration...
Error: yunohost cli - Unknown service 'seafile'
Warning: yunohost.hook <lambda> - [2562.1] Unknown service 'seafile'
Info:  [##################+.] > Removing seafile service...
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [2562.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: 27 seconds.
Restore the previous snapshot.
Working time: 22 seconds.

Restore on a clean YunoHost system...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 2 minutes, 1 second.
Restore failed. (1)
Info: yunohost.backup backup_restore - [918.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [918.1] Restoring application seafile…
Info:  [....................] > Loading settings...
Info:  [+++++++.............] > Restoring files...
Info:  [#######+............] > Configuring system user...
Info:  [########+++.........] > Reinstalling dependencies...
Warning: yunohost.hook <lambda> - [918.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [918.1] sudo: unknown user: seafile
Warning: yunohost.hook <lambda> - [918.1] sudo: unable to initialize policy plugin
Warning: yunohost.hook <lambda> - [918.1] [ERR] !!
Warning: yunohost.hook <lambda> - [918.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [918.1] !!
Warning: yunohost.hook <lambda> - [918.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [918.1] [DEBUG]: DEBUG   -+$'
Warning: yunohost.hook <lambda> - [918.1] [DEBUG]: DEBUG   - + read dpkg_file
Warning: yunohost.hook <lambda> - [918.1] [DEBUG]: DEBUG   - + return 0
Warning: yunohost.hook <lambda> - [918.1] [DEBUG]: DEBUG   - + dpkg-query -W -f '${Status}' seafile-ynh-deps
Warning: yunohost.hook <lambda> - [918.1] [DEBUG]: DEBUG   - + grep -c 'ok installed'
Warning: yunohost.hook <lambda> - [918.1] [DEBUG]: DEBUG   - + rm /tmp/seafile-ynh-deps.control
Warning: yunohost.hook <lambda> - [918.1] [DEBUG]: DEBUG   - + ynh_app_setting_set --app=seafile --key=apt_dependencies '--value=python2.7, python-pip, libpython2.7, python-setuptools, python-ldap, python-urllib3, python-simplejson, python-imaging, python-mysqldb, python-flup, expect, python-requests, python-dev, ffmpeg, python-memcache, libjpeg62-turbo-dev, zlib1g-dev'
Warning: yunohost.hook <lambda> - [918.1] [DEBUG]: DEBUG   - + local legacy_args=akv
Warning: yunohost.hook <lambda> - [918.1] [DEBUG]: DEBUG   -=value=)
Warning: yunohost.hook <lambda> - [918.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [918.1] [DEBUG]: DEBUG   - + local app
Warning: yunohost.hook <lambda> - [918.1] [DEBUG]: DEBUG   - + local key
Warning: yunohost.hook <lambda> - [918.1] [DEBUG]: DEBUG   - + local value
Warning: yunohost.hook <lambda> - [918.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args --app=seafile --key=apt_dependencies '--value=python2.7, python-pip, libpython2.7, python-setuptools, python-ldap, python-urllib3, python-simplejson, python-imaging, python-mysqldb, python-flup, expect, python-requests, python-dev, ffmpeg, python-memcache, libjpeg62-turbo-dev, zlib1g-dev'
Warning: yunohost.hook <lambda> - [918.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [918.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> - [918.1] [DEBUG]: DEBUG   - + ACTION=set
Warning: yunohost.hook <lambda> - [918.1] [DEBUG]: DEBUG   - + APP=seafile
Warning: yunohost.hook <lambda> - [918.1] [DEBUG]: DEBUG   - + KEY=apt_dependencies
Warning: yunohost.hook <lambda> - [918.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> - [918.1] [DEBUG]: DEBUG   - + python -
Warning: yunohost.hook <lambda> - [918.1] [DEBUG]: DEBUG   - + sudo -u seafile pip install --user --upgrade Pillow 'moviepy<1.0' certifi idna
Warning: - sudo: unknown user: seafile
Warning: yunohost.hook <lambda> - [918.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.backup _restore_app - [918.1] Unable to restore the app 'seafile'
Info: yunohost.log close - [918.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 20191002-000416-backup_restore_app-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [918.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [918.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Warning: yunohost.hook <lambda> - [918.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [918.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:  [####+...............] > Removing user data...
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [#####+..............] > Removing databases...
Warning: yunohost.hook <lambda> - [918.1] [WARN] Database ccnetdb not found
Warning: yunohost.hook <lambda> - [918.1] [WARN] Database seafiledb not found
Warning: yunohost.hook <lambda> - [918.1] [WARN] Database seahubdb not found
Info:  [######..............] > Removing systemd units...
Warning: yunohost.hook <lambda> - [918.1] [WARN] The user seafile was not found
Info:  [######+.............] > Removing the dedicated system user...
Info:  [#######+++++++++....] > Removing dependencies
Info:  [################+...] > Removing nginx configuration...
Info:  [#################+..] > Removing fail2ban configuration...
Info:  [##################+.] > Removing seafile service...
Error: yunohost cli - Unknown service 'seafile'
Warning: yunohost.hook <lambda> - [918.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [918.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: 24 seconds.
Restore the previous snapshot.
Working time: 15 seconds.
Working time for this test: 7 minutes, 55 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: 23 seconds.
Change the url from sous.domain.tld/path to sous.domain.tld/path_2...
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 5 minutes, 31 seconds.
Change_url script successful. (0)
Warning: yunohost.service _run_service_command - [179.1] Unable to execute command 'systemctl reload fail2ban'
Info:  [+...................] > Loading installation settings...
Info:  [#++.................] > Updating nginx configuration...
Info:  [###+................] > Stoping services...
Info:  [####++..............] > Updating seafile configuration...
Info:  [######++++++++++....] > Updating seafile database
Info:  [################++..] > Starting services...
Warning: yunohost.hook <lambda> - [954.1] Please wait, the service seafile is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [954.1] [WARN] The service seafile didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [954.1] [WARN] Please find here an extract of the end of the log of the service seafile:
Warning: yunohost.hook <lambda> - [954.1] -- Logs begin at Wed 2019-10-02 00:06:36 UTC, end at Wed 2019-10-02 00:09:09 UTC. --
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:06:41 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:06:41 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:06:44 pchecker_lxc seafile.sh[652]: [10/02/19 00:06:44] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:06:44 pchecker_lxc seafile.sh[652]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:06:44 pchecker_lxc seafile-control[922]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:06:47 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:06:49 pchecker_lxc systemd[1]: Stopping Seafile...
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:06:50 pchecker_lxc seafile.sh[1212]: Stopping seafile server ...
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:06:50 pchecker_lxc systemd[1]: Stopped Seafile.
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:06:59 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:06:59 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:06:59 pchecker_lxc seafile.sh[2027]: [10/02/19 00:06:59] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:06:59 pchecker_lxc seafile.sh[2027]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:06:59 pchecker_lxc seafile-control[2048]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:07:02 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [954.1] --
Warning: yunohost.hook <lambda> - [954.1] [10/01/19 23:18:05] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [954.1] [10/01/19 23:18:05] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [954.1] [10/01/19 23:18:05] seafile-controller.c(79): spawn_process: seaf-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -d /home/yunohost.app/seafile-data -l /opt/yunohost/seafile/logs/seafile.log -P /opt/yunohost/seafile/pids/seaf-server.pid
Warning: yunohost.hook <lambda> - [954.1] [10/01/19 23:18:05] seafile-controller.c(94): spawned seaf-server, pid 5668
Warning: yunohost.hook <lambda> - [954.1] [10/01/19 23:18:05] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [954.1] [10/01/19 23:18:05] seafile-controller.c(79): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/yunohost/seafile/logs/seafdav.log --pid /opt/yunohost/seafile/pids/seafdav.pid --port 8080 --host localhost
Warning: yunohost.hook <lambda> - [954.1] [10/01/19 23:18:05] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 5669
Warning: yunohost.hook <lambda> - [954.1] [10/01/19 23:18:26] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [954.1] [10/02/19 00:06:44] seafile-controller.c(175): starting ccnet-server ...
Warning: yunohost.hook <lambda> - [954.1] [10/02/19 00:06:44] seafile-controller.c(79): spawn_process: ccnet-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -f /opt/yunohost/seafile/logs/ccnet.log -d -P /opt/yunohost/seafile/pids/ccnet.pid
Warning: yunohost.hook <lambda> - [954.1] [10/02/19 00:06:44] seafile-controller.c(94): spawned ccnet-server, pid 923
Warning: yunohost.hook <lambda> - [954.1] [10/02/19 00:06:45] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [954.1] [10/02/19 00:06:45] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [954.1] [10/02/19 00:06:45] seafile-controller.c(79): spawn_process: seaf-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -d /home/yunohost.app/seafile-data -l /opt/yunohost/seafile/logs/seafile.log -P /opt/yunohost/seafile/pids/seaf-server.pid
Warning: yunohost.hook <lambda> - [954.1] [10/02/19 00:06:45] seafile-controller.c(94): spawned seaf-server, pid 927
Warning: yunohost.hook <lambda> - [954.1] [10/02/19 00:06:45] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [954.1] [10/02/19 00:06:45] seafile-controller.c(79): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/yunohost/seafile/logs/seafdav.log --pid /opt/yunohost/seafile/pids/seafdav.pid --port 8080 --host localhost
Warning: yunohost.hook <lambda> - [954.1] [10/02/19 00:06:45] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 928
Warning: yunohost.hook <lambda> - [954.1] [10/02/19 00:06:50] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [954.1] [10/02/19 00:06:50] seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [954.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [954.1] -- Logs begin at Wed 2019-10-02 00:06:36 UTC, end at Wed 2019-10-02 00:12:11 UTC. --
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:06:47 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:06:47 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:06:47 pchecker_lxc seahub.sh[1019]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:06:47 pchecker_lxc seahub.sh[1019]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:06:50 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:12:05 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:12:05 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:12:05 pchecker_lxc seahub.sh[2741]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:12:05 pchecker_lxc seahub.sh[2741]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:12:11 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:12:11 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:12:11 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [954.1] Oct 02 00:12:11 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [954.1] [ERR] !!
Warning: yunohost.hook <lambda> - [954.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [954.1] !!
Warning: yunohost.hook <lambda> - [954.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [954.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [954.1] [DEBUG]: DEBUG   - + local pid_tail=2738
Warning: yunohost.hook <lambda> - [954.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [954.1] [DEBUG]: DEBUG   - + systemctl start seahub
Warning: yunohost.hook <lambda> - [954.1] [DEBUG]: DEBUG   - + journalctl --unit=seahub --follow --since=-0 --quiet
Warning: yunohost.hook <lambda> - [954.1] [DEBUG]: DEBUG   - + journalctl --no-pager --lines=20 -u seahub
Warning: - seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [954.1] [DEBUG]: DEBUG   - + test -e systemd
Warning: - See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [954.1] [DEBUG]: DEBUG   - + false
Warning: - -- Logs begin at Wed 2019-10-02 00:06:36 UTC, end at Wed 2019-10-02 00:12:11 UTC. --
Warning: yunohost.hook <lambda> - [954.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Warning: yunohost.hook <lambda> - [954.1] ./_common.sh: line 34:  2738 Terminated              journalctl --unit=$service_name --follow --since=-0 --quiet > "$templog"
Error: yunohost.app app_change_url - [954.1] Failed to change 'seafile' url.
Info: yunohost.log close - [954.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 20191002-000647-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: 27 seconds.

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 22 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: 5 minutes, 31 seconds.
Change_url script successful. (0)
Info:  [+...................] > Loading installation settings...
Info:  [#++.................] > Updating nginx configuration...
Info:  [###+................] > Stoping services...
Info:  [####++..............] > Updating seafile configuration...
Info:  [######++++++++++....] > Updating seafile database
Info:  [################++..] > Starting services...
Warning: yunohost.hook <lambda> - [977.1] Please wait, the service seafile is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [977.1] [WARN] The service seafile didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [977.1] [WARN] Please find here an extract of the end of the log of the service seafile:
Warning: yunohost.hook <lambda> - [977.1] -- Logs begin at Wed 2019-10-02 00:13:04 UTC, end at Wed 2019-10-02 00:17:01 UTC. --
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:13:09 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:13:09 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:13:12 pchecker_lxc seafile.sh[682]: [10/02/19 00:13:12] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:13:12 pchecker_lxc seafile.sh[682]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:13:12 pchecker_lxc seafile-control[941]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:13:15 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:13:18 pchecker_lxc systemd[1]: Stopping Seafile...
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:13:18 pchecker_lxc seafile.sh[1237]: Stopping seafile server ...
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:13:18 pchecker_lxc systemd[1]: Stopped Seafile.
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:13:27 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:13:27 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:13:28 pchecker_lxc seafile.sh[2050]: [10/02/19 00:13:28] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:13:28 pchecker_lxc seafile.sh[2050]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:13:28 pchecker_lxc seafile-control[2071]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:13:31 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [977.1] --
Warning: yunohost.hook <lambda> - [977.1] [10/01/19 23:18:05] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [977.1] [10/01/19 23:18:05] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [977.1] [10/01/19 23:18:05] seafile-controller.c(79): spawn_process: seaf-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -d /home/yunohost.app/seafile-data -l /opt/yunohost/seafile/logs/seafile.log -P /opt/yunohost/seafile/pids/seaf-server.pid
Warning: yunohost.hook <lambda> - [977.1] [10/01/19 23:18:05] seafile-controller.c(94): spawned seaf-server, pid 5668
Warning: yunohost.hook <lambda> - [977.1] [10/01/19 23:18:05] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [977.1] [10/01/19 23:18:05] seafile-controller.c(79): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/yunohost/seafile/logs/seafdav.log --pid /opt/yunohost/seafile/pids/seafdav.pid --port 8080 --host localhost
Warning: yunohost.hook <lambda> - [977.1] [10/01/19 23:18:05] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 5669
Warning: yunohost.hook <lambda> - [977.1] [10/01/19 23:18:26] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [977.1] [10/02/19 00:13:12] seafile-controller.c(175): starting ccnet-server ...
Warning: yunohost.hook <lambda> - [977.1] [10/02/19 00:13:12] seafile-controller.c(79): spawn_process: ccnet-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -f /opt/yunohost/seafile/logs/ccnet.log -d -P /opt/yunohost/seafile/pids/ccnet.pid
Warning: yunohost.hook <lambda> - [977.1] [10/02/19 00:13:12] seafile-controller.c(94): spawned ccnet-server, pid 942
Warning: yunohost.hook <lambda> - [977.1] [10/02/19 00:13:13] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [977.1] [10/02/19 00:13:13] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [977.1] [10/02/19 00:13:13] seafile-controller.c(79): spawn_process: seaf-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -d /home/yunohost.app/seafile-data -l /opt/yunohost/seafile/logs/seafile.log -P /opt/yunohost/seafile/pids/seaf-server.pid
Warning: yunohost.hook <lambda> - [977.1] [10/02/19 00:13:13] seafile-controller.c(94): spawned seaf-server, pid 946
Warning: yunohost.hook <lambda> - [977.1] [10/02/19 00:13:13] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [977.1] [10/02/19 00:13:13] seafile-controller.c(79): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/yunohost/seafile/logs/seafdav.log --pid /opt/yunohost/seafile/pids/seafdav.pid --port 8080 --host localhost
Warning: yunohost.hook <lambda> - [977.1] [10/02/19 00:13:13] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 947
Warning: yunohost.hook <lambda> - [977.1] [10/02/19 00:13:18] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [977.1] [10/02/19 00:13:18] seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [977.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [977.1] -- Logs begin at Wed 2019-10-02 00:13:04 UTC, end at Wed 2019-10-02 00:18:39 UTC. --
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:13:15 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:13:15 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:13:15 pchecker_lxc seahub.sh[1035]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:13:15 pchecker_lxc seahub.sh[1035]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:13:18 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:18:34 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:18:34 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:18:34 pchecker_lxc seahub.sh[2725]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:18:34 pchecker_lxc seahub.sh[2725]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:18:39 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:18:39 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:18:39 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [977.1] Oct 02 00:18:39 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [977.1] [ERR] !!
Warning: yunohost.hook <lambda> - [977.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [977.1] !!
Warning: yunohost.hook <lambda> - [977.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [977.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [977.1] [DEBUG]: DEBUG   - + local pid_tail=2722
Warning: yunohost.hook <lambda> - [977.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [977.1] [DEBUG]: DEBUG   - + systemctl start seahub
Warning: yunohost.hook <lambda> - [977.1] [DEBUG]: DEBUG   - + journalctl --unit=seahub --follow --since=-0 --quiet
Warning: yunohost.hook <lambda> - [977.1] [DEBUG]: DEBUG   - + journalctl --no-pager --lines=20 -u seahub
Warning: - seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [977.1] [DEBUG]: DEBUG   - + test -e systemd
Warning: - See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [977.1] [DEBUG]: DEBUG   - + false
Warning: - -- Logs begin at Wed 2019-10-02 00:13:04 UTC, end at Wed 2019-10-02 00:18:39 UTC. --
Warning: yunohost.hook <lambda> - [977.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_change_url - [977.1] Failed to change 'seafile' url.
Info: yunohost.log close - [977.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 20191002-001315-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: 28 seconds.
Root install failed, impossible to perform this test...

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 21 seconds.
Change the url from sous.domain.tld/path to domain.tld/path_2...
Start the LXC container..
Create witness files...
Working time: 5 seconds.
Working time: 5 minutes, 32 seconds.
Change_url script successful. (0)
Info:  [+...................] > Loading installation settings...
Info:  [#++.................] > Updating nginx configuration...
Info:  [###+................] > Stoping services...
Info:  [####++..............] > Updating seafile configuration...
Info:  [######++++++++++....] > Updating seafile database
Info:  [################++..] > Starting services...
Warning: yunohost.hook <lambda> - [965.1] Please wait, the service seafile is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [965.1] [WARN] The service seafile didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [965.1] [WARN] Please find here an extract of the end of the log of the service seafile:
Warning: yunohost.hook <lambda> - [965.1] -- Logs begin at Wed 2019-10-02 00:19:34 UTC, end at Wed 2019-10-02 00:20:01 UTC. --
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:19:39 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:19:39 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:19:42 pchecker_lxc seafile.sh[659]: [10/02/19 00:19:42] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:19:42 pchecker_lxc seafile.sh[659]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:19:42 pchecker_lxc seafile-control[933]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:19:45 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:19:48 pchecker_lxc systemd[1]: Stopping Seafile...
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:19:48 pchecker_lxc seafile.sh[1244]: Stopping seafile server ...
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:19:48 pchecker_lxc systemd[1]: Stopped Seafile.
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:19:58 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:19:58 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:19:58 pchecker_lxc seafile.sh[2060]: [10/02/19 00:19:58] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:19:58 pchecker_lxc seafile.sh[2060]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:19:58 pchecker_lxc seafile-control[2081]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:20:01 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [965.1] --
Warning: yunohost.hook <lambda> - [965.1] [10/01/19 23:18:05] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [965.1] [10/01/19 23:18:05] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [965.1] [10/01/19 23:18:05] seafile-controller.c(79): spawn_process: seaf-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -d /home/yunohost.app/seafile-data -l /opt/yunohost/seafile/logs/seafile.log -P /opt/yunohost/seafile/pids/seaf-server.pid
Warning: yunohost.hook <lambda> - [965.1] [10/01/19 23:18:05] seafile-controller.c(94): spawned seaf-server, pid 5668
Warning: yunohost.hook <lambda> - [965.1] [10/01/19 23:18:05] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [965.1] [10/01/19 23:18:05] seafile-controller.c(79): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/yunohost/seafile/logs/seafdav.log --pid /opt/yunohost/seafile/pids/seafdav.pid --port 8080 --host localhost
Warning: yunohost.hook <lambda> - [965.1] [10/01/19 23:18:05] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 5669
Warning: yunohost.hook <lambda> - [965.1] [10/01/19 23:18:26] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [965.1] [10/02/19 00:19:42] seafile-controller.c(175): starting ccnet-server ...
Warning: yunohost.hook <lambda> - [965.1] [10/02/19 00:19:42] seafile-controller.c(79): spawn_process: ccnet-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -f /opt/yunohost/seafile/logs/ccnet.log -d -P /opt/yunohost/seafile/pids/ccnet.pid
Warning: yunohost.hook <lambda> - [965.1] [10/02/19 00:19:42] seafile-controller.c(94): spawned ccnet-server, pid 934
Warning: yunohost.hook <lambda> - [965.1] [10/02/19 00:19:43] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [965.1] [10/02/19 00:19:43] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [965.1] [10/02/19 00:19:43] seafile-controller.c(79): spawn_process: seaf-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -d /home/yunohost.app/seafile-data -l /opt/yunohost/seafile/logs/seafile.log -P /opt/yunohost/seafile/pids/seaf-server.pid
Warning: yunohost.hook <lambda> - [965.1] [10/02/19 00:19:43] seafile-controller.c(94): spawned seaf-server, pid 938
Warning: yunohost.hook <lambda> - [965.1] [10/02/19 00:19:43] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [965.1] [10/02/19 00:19:43] seafile-controller.c(79): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/yunohost/seafile/logs/seafdav.log --pid /opt/yunohost/seafile/pids/seafdav.pid --port 8080 --host localhost
Warning: yunohost.hook <lambda> - [965.1] [10/02/19 00:19:43] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 939
Warning: yunohost.hook <lambda> - [965.1] [10/02/19 00:19:48] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [965.1] [10/02/19 00:19:48] seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [965.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [965.1] -- Logs begin at Wed 2019-10-02 00:19:34 UTC, end at Wed 2019-10-02 00:25:10 UTC. --
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:19:45 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:19:45 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:19:45 pchecker_lxc seahub.sh[1040]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:19:45 pchecker_lxc seahub.sh[1040]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:19:48 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:25:04 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:25:04 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:25:04 pchecker_lxc seahub.sh[2727]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:25:04 pchecker_lxc seahub.sh[2727]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:25:10 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:25:10 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:25:10 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [965.1] Oct 02 00:25:10 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [965.1] [ERR] !!
Warning: yunohost.hook <lambda> - [965.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [965.1] !!
Warning: yunohost.hook <lambda> - [965.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   - + local pid_tail=2724
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   - + systemctl start seahub
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   - + journalctl --unit=seahub --follow --since=-0 --quiet
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   - + journalctl --no-pager --lines=20 -u seahub
Warning: - seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   - + test -e systemd
Warning: - See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   - + false
Warning: - -- Logs begin at Wed 2019-10-02 00:19:34 UTC, end at Wed 2019-10-02 00:25:10 UTC. --
Warning: yunohost.hook <lambda> - [965.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_change_url - [965.1] Failed to change 'seafile' url.
Info: yunohost.log close - [965.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 20191002-001945-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: 26 seconds.

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 21 seconds.
Change the url from sous.domain.tld/path to domain.tld/...
Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 5 minutes, 31 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...
Info:  [######++++++++++....] > Updating seafile database
Info:  [################++..] > Starting services...
Warning: yunohost.hook <lambda> - [966.1] Please wait, the service seafile is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [966.1] [WARN] The service seafile didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [966.1] [WARN] Please find here an extract of the end of the log of the service seafile:
Warning: yunohost.hook <lambda> - [966.1] -- Logs begin at Wed 2019-10-02 00:26:02 UTC, end at Wed 2019-10-02 00:26:28 UTC. --
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:26:06 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:26:06 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:26:09 pchecker_lxc seafile.sh[670]: [10/02/19 00:26:09] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:26:09 pchecker_lxc seafile.sh[670]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:26:09 pchecker_lxc seafile-control[934]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:26:13 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:26:15 pchecker_lxc systemd[1]: Stopping Seafile...
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:26:15 pchecker_lxc seafile.sh[1247]: Stopping seafile server ...
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:26:15 pchecker_lxc systemd[1]: Stopped Seafile.
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:26:25 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:26:25 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:26:25 pchecker_lxc seafile.sh[2061]: [10/02/19 00:26:25] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:26:25 pchecker_lxc seafile.sh[2061]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:26:25 pchecker_lxc seafile-control[2082]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:26:28 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [966.1] --
Warning: yunohost.hook <lambda> - [966.1] [10/01/19 23:18:05] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [966.1] [10/01/19 23:18:05] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [966.1] [10/01/19 23:18:05] seafile-controller.c(79): spawn_process: seaf-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -d /home/yunohost.app/seafile-data -l /opt/yunohost/seafile/logs/seafile.log -P /opt/yunohost/seafile/pids/seaf-server.pid
Warning: yunohost.hook <lambda> - [966.1] [10/01/19 23:18:05] seafile-controller.c(94): spawned seaf-server, pid 5668
Warning: yunohost.hook <lambda> - [966.1] [10/01/19 23:18:05] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [966.1] [10/01/19 23:18:05] seafile-controller.c(79): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/yunohost/seafile/logs/seafdav.log --pid /opt/yunohost/seafile/pids/seafdav.pid --port 8080 --host localhost
Warning: yunohost.hook <lambda> - [966.1] [10/01/19 23:18:05] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 5669
Warning: yunohost.hook <lambda> - [966.1] [10/01/19 23:18:26] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [966.1] [10/02/19 00:26:09] seafile-controller.c(175): starting ccnet-server ...
Warning: yunohost.hook <lambda> - [966.1] [10/02/19 00:26:09] seafile-controller.c(79): spawn_process: ccnet-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -f /opt/yunohost/seafile/logs/ccnet.log -d -P /opt/yunohost/seafile/pids/ccnet.pid
Warning: yunohost.hook <lambda> - [966.1] [10/02/19 00:26:09] seafile-controller.c(94): spawned ccnet-server, pid 935
Warning: yunohost.hook <lambda> - [966.1] [10/02/19 00:26:10] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [966.1] [10/02/19 00:26:10] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [966.1] [10/02/19 00:26:10] seafile-controller.c(79): spawn_process: seaf-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -d /home/yunohost.app/seafile-data -l /opt/yunohost/seafile/logs/seafile.log -P /opt/yunohost/seafile/pids/seaf-server.pid
Warning: yunohost.hook <lambda> - [966.1] [10/02/19 00:26:10] seafile-controller.c(94): spawned seaf-server, pid 939
Warning: yunohost.hook <lambda> - [966.1] [10/02/19 00:26:10] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [966.1] [10/02/19 00:26:10] seafile-controller.c(79): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/yunohost/seafile/logs/seafdav.log --pid /opt/yunohost/seafile/pids/seafdav.pid --port 8080 --host localhost
Warning: yunohost.hook <lambda> - [966.1] [10/02/19 00:26:10] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 940
Warning: yunohost.hook <lambda> - [966.1] [10/02/19 00:26:15] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [966.1] [10/02/19 00:26:15] seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [966.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [966.1] -- Logs begin at Wed 2019-10-02 00:26:02 UTC, end at Wed 2019-10-02 00:31:37 UTC. --
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:26:13 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:26:13 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:26:13 pchecker_lxc seahub.sh[1041]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:26:13 pchecker_lxc seahub.sh[1041]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:26:15 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:31:31 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:31:31 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:31:31 pchecker_lxc seahub.sh[2728]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:31:31 pchecker_lxc seahub.sh[2728]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:31:37 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:31:37 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:31:37 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [966.1] Oct 02 00:31:37 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [966.1] [ERR] !!
Warning: yunohost.hook <lambda> - [966.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [966.1] !!
Warning: yunohost.hook <lambda> - [966.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [966.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [966.1] [DEBUG]: DEBUG   - + local pid_tail=2725
Warning: yunohost.hook <lambda> - [966.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [966.1] [DEBUG]: DEBUG   - + systemctl start seahub
Warning: yunohost.hook <lambda> - [966.1] [DEBUG]: DEBUG   - + journalctl --unit=seahub --follow --since=-0 --quiet
Warning: yunohost.hook <lambda> - [966.1] [DEBUG]: DEBUG   - + journalctl --no-pager --lines=20 -u seahub
Warning: - seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [966.1] [DEBUG]: DEBUG   - + test -e systemd
Warning: - See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [966.1] [DEBUG]: DEBUG   - + false
Warning: - -- Logs begin at Wed 2019-10-02 00:26:02 UTC, end at Wed 2019-10-02 00:31:37 UTC. --
Warning: yunohost.hook <lambda> - [966.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Warning: yunohost.hook <lambda> - [966.1] /usr/share/yunohost/helpers.d/logging: line 1:  2725 Terminated              journalctl --unit=$service_name --follow --since=-0 --quiet > "$templog"
Error: yunohost.app app_change_url - [966.1] Failed to change 'seafile' url.
Info: yunohost.log close - [966.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 20191002-002612-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: 26 seconds.
Restore the previous snapshot.
Working time: 14 seconds.
Working time for this test: 26 minutes, 9 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: 1 hour, 17 minutes, 2 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

Wed Oct  2 00:33:04 UTC 2019
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE