FailedConsole Output

Skipping 32 KB.. Full Log
om the same version... [Test 4/13]

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

Upgrade...
Start the LXC container.Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 6 minutes, 13 seconds.
Upgrade failed. (1)
Info: yunohost.app app_upgrade - [994.1] Now upgrading app seafile…
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Info:  [#...................] > Fixing old settings...
Info:  [#++++...............] > Upgrading source files...
Info:  [#####+..............] > Upgrading dependencies...
Warning: yunohost.hook <lambda> - [994.1] lsblk: /dev/vda1: not a block device
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> - [994.1] Please wait, the service seafile is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [994.1] [WARN] The service seafile didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [994.1] [WARN] Please find here an extract of the end of the log of the service seafile:
Warning: yunohost.hook <lambda> - [994.1] -- Logs begin at Fri 2019-11-01 21:53:00 UTC, end at Fri 2019-11-01 21:59:13 UTC. --
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:53:04 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:53:04 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:53:08 pchecker_lxc seafile.sh[628]: [11/01/19 21:53:08] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:53:08 pchecker_lxc seafile.sh[628]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:53:11 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:53:17 pchecker_lxc systemd[1]: Stopping Seafile...
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:53:17 pchecker_lxc seafile.sh[1191]: Stopping seafile server ...
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:53:17 pchecker_lxc systemd[1]: Stopped Seafile.
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:54:08 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:54:08 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:54:08 pchecker_lxc seafile.sh[2351]: [11/01/19 21:54:08] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:54:08 pchecker_lxc seafile.sh[2351]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:54:08 pchecker_lxc seafile-control[2372]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:54:11 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [994.1] --
Warning: yunohost.hook <lambda> - [994.1] [11/01/19 21:42:56] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [994.1] [11/01/19 21:42:56] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [994.1] [11/01/19 21:42:56] 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> - [994.1] [11/01/19 21:42:56] seafile-controller.c(94): spawned seaf-server, pid 5748
Warning: yunohost.hook <lambda> - [994.1] [11/01/19 21:42:56] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [994.1] [11/01/19 21:42:56] 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> - [994.1] [11/01/19 21:42:56] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 5749
Warning: yunohost.hook <lambda> - [994.1] [11/01/19 21:43:15] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [994.1] [11/01/19 21:53:08] seafile-controller.c(175): starting ccnet-server ...
Warning: yunohost.hook <lambda> - [994.1] [11/01/19 21:53:08] 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> - [994.1] [11/01/19 21:53:08] seafile-controller.c(94): spawned ccnet-server, pid 906
Warning: yunohost.hook <lambda> - [994.1] [11/01/19 21:53:09] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [994.1] [11/01/19 21:53:09] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [994.1] [11/01/19 21:53:09] 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> - [994.1] [11/01/19 21:53:09] seafile-controller.c(94): spawned seaf-server, pid 923
Warning: yunohost.hook <lambda> - [994.1] [11/01/19 21:53:09] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [994.1] [11/01/19 21:53:09] 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> - [994.1] [11/01/19 21:53:09] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 924
Warning: yunohost.hook <lambda> - [994.1] [11/01/19 21:53:17] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [994.1] [11/01/19 21:53:17] seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [994.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [994.1] -- Logs begin at Fri 2019-11-01 21:53:00 UTC, end at Fri 2019-11-01 21:59:20 UTC. --
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:53:11 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:53:11 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:53:11 pchecker_lxc seahub.sh[959]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:53:11 pchecker_lxc seahub.sh[959]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:53:17 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:53:17 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:53:17 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:53:17 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:59:14 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:59:14 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:59:14 pchecker_lxc seahub.sh[3018]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:59:14 pchecker_lxc seahub.sh[3018]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:59:20 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:59:20 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:59:20 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [994.1] Nov 01 21:59:20 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [994.1] [ERR] !!
Warning: yunohost.hook <lambda> - [994.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [994.1] !!
Warning: yunohost.hook <lambda> - [994.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [994.1] [DEBUG]: DEBUG   - + trap '' EXIT
Warning: -: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [994.1] [DEBUG]: DEBUG   - + set +eu
Warning: -: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [994.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> - [994.1] [DEBUG]: DEBUG   - + ynh_print_err '--message=!!
Warning: yunohost.hook <lambda> - [994.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [994.1] !!'
Warning: - !!
Warning: yunohost.hook <lambda> - [994.1] [DEBUG]: DEBUG   - + local legacy_args=m
Warning: -   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [994.1] [DEBUG]: DEBUG   -=message=)
Warning: - !!
Warning: yunohost.hook <lambda> - [994.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [994.1] [DEBUG]: DEBUG   - + local message
Warning: yunohost.hook <lambda> - [994.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args '--message=!!
Warning: yunohost.hook <lambda> - [994.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [994.1] !!'
Warning: yunohost.hook <lambda> - [994.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [994.1] [DEBUG]: DEBUG   - !!
Warning: yunohost.hook <lambda> - [994.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [994.1] !!'
Warning: yunohost.hook <lambda> - [994.1] [DEBUG]: DEBUG   - !!
Warning: yunohost.hook <lambda> - [994.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [994.1] !!'
Warning: yunohost.hook <lambda> - [994.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [994.1] [DEBUG]: DEBUG   - + set +x
Error: yunohost.app app_upgrade - [994.1] Unable to upgrade seafile
Info: yunohost.log close - [994.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 20191101-215315-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: 27 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 15 seconds.


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

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

Upgrade...
A LXC container is already running.
Working time: 2 seconds.
Working time: 16 seconds.
Upgrade failed. (1)
Info: yunohost.app app_upgrade - [2769.1] Now upgrading app seafile…
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [2769.1] seafile-server.service is not a native service, redirecting to systemd-sysv-install.
Warning: yunohost.hook <lambda> - [2769.1] Executing: /lib/systemd/systemd-sysv-install disable seafile-server
Info:  [#...................] > Fixing old settings...
Warning: yunohost.hook <lambda> - [2769.1] chown: cannot access '/opt/yunohost/seafile': No such file or directory
Warning: yunohost.hook <lambda> - [2769.1] [ERR] !!
Warning: yunohost.hook <lambda> - [2769.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [2769.1] !!
Warning: yunohost.hook <lambda> - [2769.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [2769.1] [DEBUG]: DEBUG   - + getent passwd seafile
Warning: yunohost.hook <lambda> - [2769.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [2769.1] [DEBUG]: DEBUG   - + local 'user_home_dir=-d /opt/yunohost/seafile'
Warning: yunohost.hook <lambda> - [2769.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [2769.1] [DEBUG]: DEBUG   - + local 'shell=--shell /usr/sbin/nologin'
Warning: yunohost.hook <lambda> - [2769.1] [DEBUG]: DEBUG   - + useradd -d /opt/yunohost/seafile --system --user-group seafile --shell /usr/sbin/nologin
Warning: yunohost.hook <lambda> - [2769.1] [DEBUG]: DEBUG   - + ynh_app_setting_set --app seafile --key final_path --value /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [2769.1] [DEBUG]: DEBUG   - + local legacy_args=akv
Warning: yunohost.hook <lambda> - [2769.1] [DEBUG]: DEBUG   -=value=)
Warning: yunohost.hook <lambda> - [2769.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [2769.1] [DEBUG]: DEBUG   - + local app
Warning: yunohost.hook <lambda> - [2769.1] [DEBUG]: DEBUG   - + local key
Warning: yunohost.hook <lambda> - [2769.1] [DEBUG]: DEBUG   - + local value
Warning: yunohost.hook <lambda> - [2769.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args --app seafile --key final_path --value /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [2769.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [2769.1] [DEBUG]: DEBUG   - + ynh_app_setting set seafile final_path /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [2769.1] [DEBUG]: DEBUG   - + ACTION=set
Warning: yunohost.hook <lambda> - [2769.1] [DEBUG]: DEBUG   - + APP=seafile
Warning: yunohost.hook <lambda> - [2769.1] [DEBUG]: DEBUG   - + KEY=final_path
Warning: yunohost.hook <lambda> - [2769.1] [DEBUG]: DEBUG   - + VALUE=/opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [2769.1] [DEBUG]: DEBUG   - + python -
Warning: yunohost.hook <lambda> - [2769.1] [DEBUG]: DEBUG   - + set_permission
Warning: - chown: cannot access '/opt/yunohost/seafile': No such file or directory
Warning: yunohost.hook <lambda> - [2769.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [2769.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_upgrade - [2769.1] Unable to upgrade seafile
Info: yunohost.log close - [2769.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 20191101-220330-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: 16 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, 36 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [906.1] Installing application seafile…
Warning: yunohost.hook <lambda> - [906.1] 
Extracting templates from packages: 61%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [906.1]   Ignoring imageio: markers 'python_version >= "3.4"' don't match your environment
Warning: yunohost.hook <lambda> - [906.1]   Ignoring imageio-ffmpeg: markers 'python_version >= "3.4"' don't match your environment

Upgrade...
A LXC container is already running.
Working time: 2 seconds.
Working time: 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   - + 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 20191101-220604-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: 14 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 15 seconds.


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

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

Upgrade...
A LXC container is already running.
Working time: 1 second.
Working time: 16 seconds.
Upgrade failed. (1)
Info: yunohost.app app_upgrade - [5147.1] Now upgrading app seafile…
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [5147.1] seafile-server.service is not a native service, redirecting to systemd-sysv-install.
Warning: yunohost.hook <lambda> - [5147.1] Executing: /lib/systemd/systemd-sysv-install disable seafile-server
Info:  [#...................] > Fixing old settings...
Info:  [#++++...............] > Upgrading source files...
Warning: yunohost.hook <lambda> - [5147.1] Unable to apply patches
Warning: yunohost.hook <lambda> - [5147.1] [ERR] !!
Warning: yunohost.hook <lambda> - [5147.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [5147.1] !!
Warning: yunohost.hook <lambda> - [5147.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [5147.1] [DEBUG]: DEBUG   - + patch -p1
Warning: yunohost.hook <lambda> - [5147.1] [DEBUG]: DEBUG   - patching file seahub/seahub/base/accounts.py
Warning: yunohost.hook <lambda> - [5147.1] [DEBUG]: DEBUG   - + for p in $YNH_CWD/../sources/patches/${source_id}-*.patch
Warning: yunohost.hook <lambda> - [5147.1] [DEBUG]: DEBUG   - + patch -p1
Warning: yunohost.hook <lambda> - [5147.1] [DEBUG]: DEBUG   - patching file seahub/seahub/auth/middleware.py
Warning: yunohost.hook <lambda> - [5147.1] [DEBUG]: DEBUG   - Hunk #1 FAILED at 1.
Warning: yunohost.hook <lambda> - [5147.1] [DEBUG]: DEBUG   - Hunk #2 succeeded at 85 with fuzz 2 (offset 35 lines).
Warning: yunohost.hook <lambda> - [5147.1] [DEBUG]: DEBUG   - 1 out of 2 hunks FAILED -- saving rejects to file seahub/seahub/auth/middleware.py.rej
Warning: yunohost.hook <lambda> - [5147.1] [DEBUG]: DEBUG   - patching file seahub/seahub/base/accounts.py
Warning: yunohost.hook <lambda> - [5147.1] [DEBUG]: DEBUG   - Hunk #1 succeeded at 587 (offset 191 lines).
Warning: yunohost.hook <lambda> - [5147.1] [DEBUG]: DEBUG   - patching file seahub/seahub/settings.py
Warning: yunohost.hook <lambda> - [5147.1] [DEBUG]: DEBUG   - Hunk #1 succeeded at 118 (offset 4 lines).
Warning: yunohost.hook <lambda> - [5147.1] [DEBUG]: DEBUG   - Hunk #2 FAILED at 233.
Warning: yunohost.hook <lambda> - [5147.1] [DEBUG]: DEBUG   - 1 out of 2 hunks FAILED -- saving rejects to file seahub/seahub/settings.py.rej
Warning: yunohost.hook <lambda> - [5147.1] [DEBUG]: DEBUG   - + ynh_die '--message=Unable to apply patches'
Warning: yunohost.hook <lambda> - [5147.1] [DEBUG]: DEBUG   - + local legacy_args=mc
Warning: yunohost.hook <lambda> - [5147.1] [DEBUG]: DEBUG   -=ret_code=)
Warning: yunohost.hook <lambda> - [5147.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [5147.1] [DEBUG]: DEBUG   - + local message
Warning: yunohost.hook <lambda> - [5147.1] [DEBUG]: DEBUG   - + local ret_code
Warning: yunohost.hook <lambda> - [5147.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args '--message=Unable to apply patches'
Warning: yunohost.hook <lambda> - [5147.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [5147.1] [DEBUG]: DEBUG   - + echo 'Unable to apply patches'
Warning: yunohost.hook <lambda> - [5147.1] [DEBUG]: DEBUG   - + exit 1
Warning: yunohost.hook <lambda> - [5147.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_upgrade - [5147.1] Unable to upgrade seafile
Info: yunohost.log close - [5147.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 20191101-220910-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: 17 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 16 seconds.
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 17 minutes, 28 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: 5 seconds.
Working time: 2 minutes, 18 seconds.
Installation failed. (1)
Warning: yunohost.service _run_service_command - [183.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.app app_install - [899.1] Installing application seafile…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Finding available ports...
Info:  [+...................] > Storing installation settings...
Info:  [#...................] > Configuring system user...
Info:  [#+++................] > Installing dependencies...
Warning: yunohost.hook <lambda> - [899.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [899.1] lsblk: /dev/vda1: not a block device
Info:  [####+...............] > Cleaning data directory...
Info:  [#####...............] > Creating base directory...
Info:  [#####+++............] > Installing sources files...
Info:  [########............] > Configuring MySQL database...
Info:  [########++..........] > Configuring application...
Info:  [##########+.........] > Configuring a systemd service...
Warning: yunohost.hook <lambda> - [899.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [899.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [###########.........] > Configuring nginx...
Warning: yunohost.hook <lambda> - [899.1] [DEBUG] total 16
Warning: yunohost.hook <lambda> - [899.1] drwx------  2 seafile seafile 4096 Nov  1 22:11 .
Warning: yunohost.hook <lambda> - [899.1] drwxr-xr-x 11 seafile seafile 4096 Nov  1 22:11 ..
Warning: yunohost.hook <lambda> - [899.1] -rw-r--r--  1 seafile seafile 1671 Nov  1 22:11 mykey.peer
Warning: yunohost.hook <lambda> - [899.1] -rw-r--r--  1 seafile seafile   31 Nov  1 22:11 seafile.ini
Warning: yunohost.hook <lambda> - [899.1] [DEBUG] This account is currently not available.
Warning: yunohost.hook <lambda> - [899.1] failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [899.1] [ERR] !!
Warning: yunohost.hook <lambda> - [899.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [899.1] !!
Warning: yunohost.hook <lambda> - [899.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [899.1] [DEBUG]: DEBUG   - +++ ls -la /opt/yunohost/seafile/ccnet
Warning: yunohost.hook <lambda> - [899.1] [DEBUG]: DEBUG   - + ynh_debug '--message=total 16
Warning: - total 16
Warning: yunohost.hook <lambda> - [899.1] [DEBUG]: DEBUG   - drwx------  2 seafile seafile 4096 Nov  1 22:11 .
Warning: - drwx------  2 seafile seafile 4096 Nov  1 22:11 .
Warning: yunohost.hook <lambda> - [899.1] [DEBUG]: DEBUG   - drwxr-xr-x 11 seafile seafile 4096 Nov  1 22:11 ..
Warning: - drwxr-xr-x 11 seafile seafile 4096 Nov  1 22:11 ..
Warning: yunohost.hook <lambda> - [899.1] [DEBUG]: DEBUG   - -rw-r--r--  1 seafile seafile 1671 Nov  1 22:11 mykey.peer
Warning: - -rw-r--r--  1 seafile seafile 1671 Nov  1 22:11 mykey.peer
Warning: yunohost.hook <lambda> - [899.1] [DEBUG]: DEBUG   - -rw-r--r--  1 seafile seafile   31 Nov  1 22:11 seafile.ini'
Warning: - -rw-r--r--  1 seafile seafile   31 Nov  1 22:11 seafile.ini
Warning: yunohost.hook <lambda> - [899.1] [DEBUG]: DEBUG   - + set +x
Warning: - This account is currently not available.
Warning: yunohost.hook <lambda> - [899.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [899.1] [DEBUG]: DEBUG   - + ynh_debug_exec su - seafile mkdir /opt/yunohost/seafile/ccnet/test__
Warning: yunohost.hook <lambda> - [899.1] [DEBUG]: DEBUG   - ++ eval su - seafile mkdir /opt/yunohost/seafile/ccnet/test__
Warning: yunohost.hook <lambda> - [899.1] [DEBUG]: DEBUG   - +++ su - seafile mkdir /opt/yunohost/seafile/ccnet/test__
Warning: yunohost.hook <lambda> - [899.1] [DEBUG]: DEBUG   - + ynh_debug '--message=This account is currently not available.'
Warning: yunohost.hook <lambda> - [899.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [899.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [899.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: yunohost.hook <lambda> - [899.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [899.1] [DEBUG]: DEBUG   - ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: - failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [899.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [899.1] The operation 'Install 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20191101-221018-app_install-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [899.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [899.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Warning: yunohost.hook <lambda> - [899.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [899.1] KeyError: 'skipped_urls'
Info:  [##+.................] > Removing logs...
Info:  /var/log/seafile wasn't deleted because it doesn't exist.
Info:  [###+................] > Removing code...
Info:  /var/www/seafile wasn't deleted because it doesn't exist.
Info:  [####+...............] > Removing user data...
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [#####+..............] > Removing databases...
Info:  [######..............] > Removing systemd units...
Warning: yunohost.hook <lambda> - [899.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Warning: yunohost.hook <lambda> - [899.1] Removed /etc/systemd/system/multi-user.target.wants/seahub.service.
Info:  [######+.............] > Removing the dedicated system user...
Info:  [#######+++++++++....] > Removing dependencies
Info:  [################+...] > Removing 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> - [899.1] Unknown service 'seafile'
Info:  [##################+.] > Removing seafile service...
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [899.1] Unknown service 'seahub'
Error: yunohost cli - The operation 'Install 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20191101-221018-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: 14 seconds.
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 2 minutes, 44 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: 6 seconds.
Working time: 2 minutes, 16 seconds.
Installation failed. (1)
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%
Warning: yunohost.hook <lambda> - [922.1] lsblk: /dev/vda1: not a block device
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] total 16
Warning: yunohost.hook <lambda> - [922.1] drwx------  2 seafile seafile 4096 Nov  1 22:14 .
Warning: yunohost.hook <lambda> - [922.1] drwxr-xr-x 11 seafile seafile 4096 Nov  1 22:14 ..
Warning: yunohost.hook <lambda> - [922.1] -rw-r--r--  1 seafile seafile 1675 Nov  1 22:14 mykey.peer
Warning: yunohost.hook <lambda> - [922.1] -rw-r--r--  1 seafile seafile   31 Nov  1 22:14 seafile.ini
Warning: yunohost.hook <lambda> - [922.1] [DEBUG] This account is currently not available.
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   - ++ eval ls -la /opt/yunohost/seafile/ccnet
Warning: - drwx------  2 seafile seafile 4096 Nov  1 22:14 .
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   - +++ ls -la /opt/yunohost/seafile/ccnet
Warning: - drwxr-xr-x 11 seafile seafile 4096 Nov  1 22:14 ..
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   - + ynh_debug '--message=total 16
Warning: - -rw-r--r--  1 seafile seafile 1675 Nov  1 22:14 mykey.peer
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   - drwx------  2 seafile seafile 4096 Nov  1 22:14 .
Warning: - -rw-r--r--  1 seafile seafile   31 Nov  1 22:14 seafile.ini
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   - drwxr-xr-x 11 seafile seafile 4096 Nov  1 22:14 ..
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   - -rw-r--r--  1 seafile seafile 1675 Nov  1 22:14 mykey.peer
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   - -rw-r--r--  1 seafile seafile   31 Nov  1 22:14 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   - + ynh_debug_exec su - seafile mkdir /opt/yunohost/seafile/ccnet/test__
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   - ++ eval su - seafile mkdir /opt/yunohost/seafile/ccnet/test__
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   - +++ su - seafile mkdir /opt/yunohost/seafile/ccnet/test__
Warning: yunohost.hook <lambda> - [922.1] [DEBUG]: DEBUG   - + ynh_debug '--message=This account is currently not available.'
Warning: - This account is currently not available.
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: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 20191101-221303-app_install-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [922.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
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'
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 20191101-221303-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: 14 seconds.
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 2 minutes, 44 seconds.


>> Malformed path... [Test 10/13]
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 2 minutes, 15 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [911.1] Installing application seafile…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Finding available ports...
Info:  [+...................] > Storing installation settings...
Info:  [#...................] > Configuring system user...
Info:  [#+++................] > Installing dependencies...
Warning: yunohost.hook <lambda> - [911.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [911.1] lsblk: /dev/vda1: not a block device
Info:  [####+...............] > Cleaning data directory...
Info:  [#####...............] > Creating base directory...
Info:  [#####+++............] > Installing sources files...
Info:  [########............] > Configuring MySQL database...
Info:  [########++..........] > Configuring application...
Info:  [##########+.........] > Configuring a systemd service...
Warning: yunohost.hook <lambda> - [911.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [911.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [###########.........] > Configuring nginx...
Warning: yunohost.hook <lambda> - [911.1] [DEBUG] total 16
Warning: yunohost.hook <lambda> - [911.1] drwx------  2 seafile seafile 4096 Nov  1 22:17 .
Warning: yunohost.hook <lambda> - [911.1] drwxr-xr-x 11 seafile seafile 4096 Nov  1 22:17 ..
Warning: yunohost.hook <lambda> - [911.1] -rw-r--r--  1 seafile seafile 1675 Nov  1 22:17 mykey.peer
Warning: yunohost.hook <lambda> - [911.1] -rw-r--r--  1 seafile seafile   31 Nov  1 22:17 seafile.ini
Warning: yunohost.hook <lambda> - [911.1] [DEBUG] This account is currently not available.
Warning: yunohost.hook <lambda> - [911.1] failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [911.1] [ERR] !!
Warning: yunohost.hook <lambda> - [911.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [911.1] !!
Warning: yunohost.hook <lambda> - [911.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [911.1] [DEBUG]: DEBUG   - ++ eval su - seafile mkdir /opt/yunohost/seafile/ccnet/test__
Warning: yunohost.hook <lambda> - [911.1] [DEBUG]: DEBUG   - +++ su - seafile mkdir /opt/yunohost/seafile/ccnet/test__
Warning: yunohost.hook <lambda> - [911.1] [DEBUG]: DEBUG   - + ynh_debug '--message=This account is currently not available.'
Warning: yunohost.hook <lambda> - [911.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [911.1] [DEBUG]: DEBUG   - + set +x
Warning: - This account is currently not available.
Warning: yunohost.hook <lambda> - [911.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: yunohost.hook <lambda> - [911.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [911.1] [DEBUG]: DEBUG   - ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: - failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [911.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [911.1] The operation 'Install 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20191101-221548-app_install-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [911.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [911.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Info:  [##+.................] > Removing logs...
Warning: yunohost.hook <lambda> - [911.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [911.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> - [911.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [######..............] > Removing systemd units...
Warning: yunohost.hook <lambda> - [911.1] Removed /etc/systemd/system/multi-user.target.wants/seahub.service.
Info:  [######+.............] > Removing the dedicated system user...
Info:  [#######+++++++++....] > Removing dependencies
Info:  [################+...] > Removing 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> - [911.1] Unknown service 'seafile'
Info:  [##################+.] > Removing seafile service...
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [911.1] Unknown service 'seahub'
Error: yunohost cli - The operation 'Install 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20191101-221548-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: 16 seconds.
Working time for this test: 2 minutes, 44 seconds.


>> Port already used... [Test 11/13]
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 7 seconds.
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 minutes, 15 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [990.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> - [990.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> - [990.1] lsblk: /dev/vda1: not a block device
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> - [990.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [990.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [###########.........] > Configuring nginx...
Warning: yunohost.hook <lambda> - [990.1] [DEBUG] total 16
Warning: yunohost.hook <lambda> - [990.1] drwx------  2 seafile seafile 4096 Nov  1 22:20 .
Warning: yunohost.hook <lambda> - [990.1] drwxr-xr-x 11 seafile seafile 4096 Nov  1 22:20 ..
Warning: yunohost.hook <lambda> - [990.1] -rw-r--r--  1 seafile seafile 1675 Nov  1 22:20 mykey.peer
Warning: yunohost.hook <lambda> - [990.1] -rw-r--r--  1 seafile seafile   31 Nov  1 22:20 seafile.ini
Warning: yunohost.hook <lambda> - [990.1] [DEBUG] This account is currently not available.
Warning: yunohost.hook <lambda> - [990.1] failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [990.1] [ERR] !!
Warning: yunohost.hook <lambda> - [990.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [990.1] !!
Warning: yunohost.hook <lambda> - [990.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [990.1] [DEBUG]: DEBUG   - ++ eval ls -la /opt/yunohost/seafile/ccnet
Warning: - drwx------  2 seafile seafile 4096 Nov  1 22:20 .
Warning: yunohost.hook <lambda> - [990.1] [DEBUG]: DEBUG   - +++ ls -la /opt/yunohost/seafile/ccnet
Warning: - drwxr-xr-x 11 seafile seafile 4096 Nov  1 22:20 ..
Warning: yunohost.hook <lambda> - [990.1] [DEBUG]: DEBUG   - + ynh_debug '--message=total 16
Warning: - -rw-r--r--  1 seafile seafile 1675 Nov  1 22:20 mykey.peer
Warning: yunohost.hook <lambda> - [990.1] [DEBUG]: DEBUG   - drwx------  2 seafile seafile 4096 Nov  1 22:20 .
Warning: - -rw-r--r--  1 seafile seafile   31 Nov  1 22:20 seafile.ini
Warning: yunohost.hook <lambda> - [990.1] [DEBUG]: DEBUG   - drwxr-xr-x 11 seafile seafile 4096 Nov  1 22:20 ..
Warning: yunohost.hook <lambda> - [990.1] [DEBUG]: DEBUG   - -rw-r--r--  1 seafile seafile 1675 Nov  1 22:20 mykey.peer
Warning: yunohost.hook <lambda> - [990.1] [DEBUG]: DEBUG   - -rw-r--r--  1 seafile seafile   31 Nov  1 22:20 seafile.ini'
Warning: yunohost.hook <lambda> - [990.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [990.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [990.1] [DEBUG]: DEBUG   - + ynh_debug_exec su - seafile mkdir /opt/yunohost/seafile/ccnet/test__
Warning: yunohost.hook <lambda> - [990.1] [DEBUG]: DEBUG   - ++ eval su - seafile mkdir /opt/yunohost/seafile/ccnet/test__
Warning: yunohost.hook <lambda> - [990.1] [DEBUG]: DEBUG   - +++ su - seafile mkdir /opt/yunohost/seafile/ccnet/test__
Warning: yunohost.hook <lambda> - [990.1] [DEBUG]: DEBUG   - + ynh_debug '--message=This account is currently not available.'
Warning: - This account is currently not available.
Warning: yunohost.hook <lambda> - [990.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [990.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [990.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: yunohost.hook <lambda> - [990.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [990.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> - [990.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [990.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 20191101-221834-app_install-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [990.1] Traceback (most recent call last):
Info:  [##+.................] > Removing logs...
Warning: yunohost.hook <lambda> - [990.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Info:  /var/log/seafile wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [990.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [990.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> - [990.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [######..............] > Removing systemd units...
Warning: yunohost.hook <lambda> - [990.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> - [990.1] Unknown service 'seafile'
Info:  [##################+.] > Removing seafile service...
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [990.1] Unknown service 'seahub'
Error: yunohost cli - The operation 'Install 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20191101-221834-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: 17 seconds.
Working time for this test: 2 minutes, 49 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: 9 seconds.
Working time: 1 minute, 40 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: 27 seconds.
Deleting successful. (0)

Restore after removing the application...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, 27 seconds.
Restore failed. (1)
Info: yunohost.backup backup_restore - [2554.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [2554.1] Restoring application seafile…
Info:  [....................] > Loading settings...
Info:  [+++++++.............] > Restoring files...
Info:  [#######+............] > Configuring system user...
Info:  [########+++.........] > Reinstalling dependencies...
Warning: yunohost.hook <lambda> - [2554.1] lsblk: /dev/vda1: not a block device
Warning: yunohost.hook <lambda> - [2554.1] Exception:
Warning: yunohost.hook <lambda> - [2554.1] Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [2554.1]   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
Warning: yunohost.hook <lambda> - [2554.1]     status = self.run(options, args)
Warning: yunohost.hook <lambda> - [2554.1]   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 307, in run
Warning: yunohost.hook <lambda> - [2554.1]     delete=build_delete) as build_dir:
Warning: yunohost.hook <lambda> - [2554.1]   File "/usr/lib/python2.7/dist-packages/pip/utils/build.py", line 22, in __init__
Warning: yunohost.hook <lambda> - [2554.1]     name = os.path.realpath(tempfile.mkdtemp(prefix="pip-build-"))
Warning: yunohost.hook <lambda> - [2554.1]   File "/usr/lib/python2.7/tempfile.py", line 331, in mkdtemp
Warning: yunohost.hook <lambda> - [2554.1]     dir = gettempdir()
Warning: yunohost.hook <lambda> - [2554.1]   File "/usr/lib/python2.7/tempfile.py", line 275, in gettempdir
Warning: yunohost.hook <lambda> - [2554.1]     tempdir = _get_default_tempdir()
Warning: yunohost.hook <lambda> - [2554.1]   File "/usr/lib/python2.7/tempfile.py", line 217, in _get_default_tempdir
Warning: yunohost.hook <lambda> - [2554.1]     ("No usable temporary directory found in %s" % dirlist))
Warning: yunohost.hook <lambda> - [2554.1] IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/yunohost.backup/tmp/Backup_test/apps/seafile/backup']
Warning: yunohost.hook <lambda> - [2554.1] [ERR] !!
Warning: yunohost.hook <lambda> - [2554.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [2554.1] !!
Warning: yunohost.hook <lambda> - [2554.1] Please find here an extract of the log before the crash:
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/utils/build.py", line 22, in __init__
Warning: -     name = os.path.realpath(tempfile.mkdtemp(prefix="pip-build-"))
Warning: -   File "/usr/lib/python2.7/tempfile.py", line 331, in mkdtemp
Warning: -     dir = gettempdir()
Warning: -   File "/usr/lib/python2.7/tempfile.py", line 275, in gettempdir
Warning: -     tempdir = _get_default_tempdir()
Warning: -   File "/usr/lib/python2.7/tempfile.py", line 217, in _get_default_tempdir
Warning: -     ("No usable temporary directory found in %s" % dirlist))
Warning: -
Warning: yunohost.hook <lambda> - [2554.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.backup _restore_app - [2554.1] Unable to restore the app 'seafile'
Info: yunohost.log close - [2554.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 20191101-222435-backup_restore_app-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [2554.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [2554.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Info:  [##+.................] > Removing logs...
Warning: yunohost.hook <lambda> - [2554.1]     data["skipped_urls"].remove("/seafhttp")
Info:  /var/log/seafile wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [2554.1] ValueError: list.remove(x): x not in list
Info:  [###+................] > Removing code...
Info:  /var/www/seafile wasn't deleted because it doesn't exist.
Info:  [####+...............] > Removing user data...
Warning: yunohost.hook <lambda> - [2554.1] [WARN] Database ccnetdb not found
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [#####+..............] > Removing databases...
Warning: yunohost.hook <lambda> - [2554.1] [WARN] Database seafiledb not found
Warning: yunohost.hook <lambda> - [2554.1] [WARN] Database seahubdb not found
Info:  [######..............] > Removing systemd units...
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> - [2554.1] Unknown service 'seafile'
Info:  [##################+.] > Removing seafile service...
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [2554.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: 26 seconds.
Restore the previous snapshot.
Working time: 11 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 - [908.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [908.1] Restoring application seafile…
Info:  [....................] > Loading settings...
Info:  [+++++++.............] > Restoring files...
Info:  [#######+............] > Configuring system user...
Info:  [########+++.........] > Reinstalling dependencies...
Warning: yunohost.hook <lambda> - [908.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> - [908.1] lsblk: /dev/vda1: not a block device
Warning: yunohost.hook <lambda> - [908.1] Exception:
Warning: yunohost.hook <lambda> - [908.1] Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [908.1]   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
Warning: yunohost.hook <lambda> - [908.1]     status = self.run(options, args)
Warning: yunohost.hook <lambda> - [908.1]   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 307, in run
Warning: yunohost.hook <lambda> - [908.1]     delete=build_delete) as build_dir:
Warning: yunohost.hook <lambda> - [908.1]   File "/usr/lib/python2.7/dist-packages/pip/utils/build.py", line 22, in __init__
Warning: yunohost.hook <lambda> - [908.1]     name = os.path.realpath(tempfile.mkdtemp(prefix="pip-build-"))
Warning: yunohost.hook <lambda> - [908.1]   File "/usr/lib/python2.7/tempfile.py", line 331, in mkdtemp
Warning: yunohost.hook <lambda> - [908.1]     dir = gettempdir()
Warning: yunohost.hook <lambda> - [908.1]   File "/usr/lib/python2.7/tempfile.py", line 275, in gettempdir
Warning: yunohost.hook <lambda> - [908.1]     tempdir = _get_default_tempdir()
Warning: yunohost.hook <lambda> - [908.1]   File "/usr/lib/python2.7/tempfile.py", line 217, in _get_default_tempdir
Warning: yunohost.hook <lambda> - [908.1]     ("No usable temporary directory found in %s" % dirlist))
Warning: yunohost.hook <lambda> - [908.1] IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/yunohost.backup/tmp/Backup_test/apps/seafile/backup']
Warning: yunohost.hook <lambda> - [908.1] [ERR] !!
Warning: yunohost.hook <lambda> - [908.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [908.1] !!
Warning: yunohost.hook <lambda> - [908.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [908.1] [DEBUG]: DEBUG   - + local main_device=
Warning: yunohost.hook <lambda> - [908.1] [DEBUG]: DEBUG   - + echo
Warning: yunohost.hook <lambda> - [908.1] [DEBUG]: DEBUG   - + grep --quiet mmc
Warning: yunohost.hook <lambda> - [908.1] [DEBUG]: DEBUG   - + return 1
Warning: yunohost.hook <lambda> - [908.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [908.1] [DEBUG]: DEBUG   - + local swap_size=2048000
Warning: yunohost.hook <lambda> - [908.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [908.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [908.1] [DEBUG]: DEBUG   - + sudo -u seafile pip install --user --upgrade Pillow 'moviepy<1.0' certifi idna
Warning: - Exception:
Warning: - Traceback (most recent call last):
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
Warning: -     status = self.run(options, args)
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 307, in run
Warning: -     delete=build_delete) as build_dir:
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/utils/build.py", line 22, in __init__
Warning: -     name = os.path.realpath(tempfile.mkdtemp(prefix="pip-build-"))
Warning: -   File "/usr/lib/python2.7/tempfile.py", line 331, in mkdtemp
Warning: -     dir = gettempdir()
Warning: -   File "/usr/lib/python2.7/tempfile.py", line 275, in gettempdir
Warning: -     tempdir = _get_default_tempdir()
Warning: -   File "/usr/lib/python2.7/tempfile.py", line 217, in _get_default_tempdir
Warning: -     ("No usable temporary directory found in %s" % dirlist))
Warning: -
Warning: yunohost.hook <lambda> - [908.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.backup _restore_app - [908.1] Unable to restore the app 'seafile'
Info: yunohost.log close - [908.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 20191101-222653-backup_restore_app-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [908.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [908.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Info:  [##+.................] > Removing logs...
Warning: yunohost.hook <lambda> - [908.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [908.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> - [908.1] [WARN] Database ccnetdb not found
Warning: yunohost.hook <lambda> - [908.1] [WARN] Database seafiledb not found
Warning: yunohost.hook <lambda> - [908.1] [WARN] Database seahubdb not found
Info:  [######..............] > Removing systemd units...
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> - [908.1] Unknown service 'seafile'
Info:  [##################+.] > Removing seafile service...
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [908.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: 19 seconds.
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 7 minutes, 30 seconds.


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

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 21 seconds.
Change the url from sous.domain.tld/path to sous.domain.tld/path_2...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 5 minutes, 28 seconds.
Change_url script successful. (0)
Info:  [+...................] > Loading installation settings...
Info:  [#++.................] > Updating nginx configuration...
Info:  [###+................] > Stoping services...
Info:  [####++..............] > Updating seafile configuration...
Info:  [######++++++++++....] > Updating seafile database
Info:  [################++..] > Starting services...
Warning: yunohost.hook <lambda> - [984.1] Please wait, the service seafile is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [984.1] [WARN] The service seafile didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [984.1] [WARN] Please find here an extract of the end of the log of the service seafile:
Warning: yunohost.hook <lambda> - [984.1] -- Logs begin at Fri 2019-11-01 22:28:56 UTC, end at Fri 2019-11-01 22:29:24 UTC. --
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:29:01 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:29:01 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:29:04 pchecker_lxc seafile.sh[623]: [11/01/19 22:29:04] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:29:04 pchecker_lxc seafile.sh[623]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:29:04 pchecker_lxc seafile-control[908]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:29:07 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:29:12 pchecker_lxc systemd[1]: Stopping Seafile...
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:29:12 pchecker_lxc seafile.sh[1221]: Stopping seafile server ...
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:29:12 pchecker_lxc systemd[1]: Stopped Seafile.
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:29:21 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:29:21 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:29:21 pchecker_lxc seafile.sh[2034]: [11/01/19 22:29:21] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:29:21 pchecker_lxc seafile.sh[2034]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:29:21 pchecker_lxc seafile-control[2055]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:29:24 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [984.1] --
Warning: yunohost.hook <lambda> - [984.1] [11/01/19 21:42:56] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [984.1] [11/01/19 21:42:56] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [984.1] [11/01/19 21:42:56] 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> - [984.1] [11/01/19 21:42:56] seafile-controller.c(94): spawned seaf-server, pid 5748
Warning: yunohost.hook <lambda> - [984.1] [11/01/19 21:42:56] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [984.1] [11/01/19 21:42:56] 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> - [984.1] [11/01/19 21:42:56] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 5749
Warning: yunohost.hook <lambda> - [984.1] [11/01/19 21:43:15] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [984.1] [11/01/19 22:29:04] seafile-controller.c(175): starting ccnet-server ...
Warning: yunohost.hook <lambda> - [984.1] [11/01/19 22:29:04] 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> - [984.1] [11/01/19 22:29:04] seafile-controller.c(94): spawned ccnet-server, pid 909
Warning: yunohost.hook <lambda> - [984.1] [11/01/19 22:29:05] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [984.1] [11/01/19 22:29:05] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [984.1] [11/01/19 22:29: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> - [984.1] [11/01/19 22:29:05] seafile-controller.c(94): spawned seaf-server, pid 913
Warning: yunohost.hook <lambda> - [984.1] [11/01/19 22:29:05] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [984.1] [11/01/19 22:29: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> - [984.1] [11/01/19 22:29:05] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 914
Warning: yunohost.hook <lambda> - [984.1] [11/01/19 22:29:12] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [984.1] [11/01/19 22:29:12] seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [984.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [984.1] -- Logs begin at Fri 2019-11-01 22:28:56 UTC, end at Fri 2019-11-01 22:34:33 UTC. --
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:29:07 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:29:07 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:29:07 pchecker_lxc seahub.sh[949]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:29:07 pchecker_lxc seahub.sh[949]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:29:12 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:34:27 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:34:27 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:34:27 pchecker_lxc seahub.sh[2701]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:34:27 pchecker_lxc seahub.sh[2701]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:34:33 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:34:33 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:34:33 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [984.1] Nov 01 22:34:33 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [984.1] [ERR] !!
Warning: yunohost.hook <lambda> - [984.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [984.1] !!
Warning: yunohost.hook <lambda> - [984.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [984.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [984.1] [DEBUG]: DEBUG   - + local pid_tail=2698
Warning: yunohost.hook <lambda> - [984.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [984.1] [DEBUG]: DEBUG   - + systemctl start seahub
Warning: yunohost.hook <lambda> - [984.1] [DEBUG]: DEBUG   - + journalctl --unit=seahub --follow --since=-0 --quiet
Warning: yunohost.hook <lambda> - [984.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> - [984.1] [DEBUG]: DEBUG   - + test -e systemd
Warning: - See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [984.1] [DEBUG]: DEBUG   - + false
Warning: - -- Logs begin at Fri 2019-11-01 22:28:56 UTC, end at Fri 2019-11-01 22:34:33 UTC. --
Warning: yunohost.hook <lambda> - [984.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_change_url - [984.1] Failed to change 'seafile' url.
Info: yunohost.log close - [984.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 20191101-222909-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: 18 seconds.

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 21 seconds.
Change the url from sous.domain.tld/path to sous.domain.tld/...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 5 minutes, 29 seconds.
Change_url script successful. (0)
Info:  [+...................] > Loading installation settings...
Info:  [#++.................] > Updating nginx configuration...
Info:  [###+................] > Stoping services...
Info:  [####++..............] > Updating seafile configuration...
Info:  [######++++++++++....] > Updating seafile database
Info:  [################++..] > Starting services...
Warning: yunohost.hook <lambda> - [991.1] Please wait, the service seafile is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [991.1] [WARN] The service seafile didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [991.1] [WARN] Please find here an extract of the end of the log of the service seafile:
Warning: yunohost.hook <lambda> - [991.1] -- Logs begin at Fri 2019-11-01 22:35:17 UTC, end at Fri 2019-11-01 22:39:01 UTC. --
Warning: yunohost.hook <lambda> - [991.1] Nov 01 22:35:21 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [991.1] Nov 01 22:35:21 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [991.1] Nov 01 22:35:25 pchecker_lxc seafile.sh[654]: [11/01/19 22:35:25] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [991.1] Nov 01 22:35:25 pchecker_lxc seafile.sh[654]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [991.1] Nov 01 22:35:25 pchecker_lxc seafile-control[915]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [991.1] Nov 01 22:35:28 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [991.1] Nov 01 22:35:32 pchecker_lxc systemd[1]: Stopping Seafile...
Warning: yunohost.hook <lambda> - [991.1] Nov 01 22:35:33 pchecker_lxc seafile.sh[1226]: Stopping seafile server ...
Warning: yunohost.hook <lambda> - [991.1] Nov 01 22:35:33 pchecker_lxc systemd[1]: Stopped Seafile.
Warning: yunohost.hook <lambda> - [991.1] Nov 01 22:35:42 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [991.1] Nov 01 22:35:42 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [991.1] Nov 01 22:35:42 pchecker_lxc seafile.sh[2041]: [11/01/19 22:35:42] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [991.1] Nov 01 22:35:42 pchecker_lxc seafile.sh[2041]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [991.1] Nov 01 22:35:45 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [991.1] --
Warning: yunohost.hook <lambda> - [991.1] [11/01/19 21:42:56] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [991.1] [11/01/19 21:42:56] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [991.1] [11/01/19 21:42:56] 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> - [991.1] [11/01/19 21:42:56] seafile-controller.c(94): spawned seaf-server, pid 5748
Warning: yunohost.hook <lambda> - [991.1] [11/01/19 21:42:56] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [991.1] [11/01/19 21:42:56] 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> - [991.1] [11/01/19 21:42:56] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 5749
Warning: yunohost.hook <lambda> - [991.1] [11/01/19 21:43:15] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [991.1] [11/01/19 22:35:25] seafile-controller.c(175): starting ccnet-server ...
Warning: yunohost.hook <lambda> - [991.1] [11/01/19 22:35:25] 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> - [991.1] [11/01/19 22:35:25] seafile-controller.c(94): spawned ccnet-server, pid 916
Warning: yunohost.hook <lambda> - [991.1] [11/01/19 22:35:26] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [991.1] [11/01/19 22:35:26] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [991.1] [11/01/19 22:35:26] 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> - [991.1] [11/01/19 22:35:26] seafile-controller.c(94): spawned seaf-server, pid 921
Warning: yunohost.hook <lambda> - [991.1] [11/01/19 22:35:26] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [991.1] [11/01/19 22:35:26] 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> - [991.1] [11/01/19 22:35:26] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 922
Warning: yunohost.hook <lambda> - [991.1] [11/01/19 22:35:33] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [991.1] [11/01/19 22:35:33] seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [991.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [991.1] -- Logs begin at Fri 2019-11-01 22:35:17 UTC, end at Fri 2019-11-01 22:40:54 UTC. --
Warning: yunohost.hook <lambda> - [991.1] Nov 01 22:35:28 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [991.1] Nov 01 22:35:28 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [991.1] Nov 01 22:35:28 pchecker_lxc seahub.sh[956]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [991.1] Nov 01 22:35:28 pchecker_lxc seahub.sh[956]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [991.1] Nov 01 22:35:33 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [991.1] Nov 01 22:40:48 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [991.1] Nov 01 22:40:48 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [991.1] Nov 01 22:40:48 pchecker_lxc seahub.sh[2755]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [991.1] Nov 01 22:40:48 pchecker_lxc seahub.sh[2755]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [991.1] Nov 01 22:40:54 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [991.1] Nov 01 22:40:54 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [991.1] Nov 01 22:40:54 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [991.1] Nov 01 22:40:54 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [991.1] [ERR] !!
Warning: yunohost.hook <lambda> - [991.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [991.1] !!
Warning: yunohost.hook <lambda> - [991.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [991.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [991.1] [DEBUG]: DEBUG   - + local pid_tail=2752
Warning: yunohost.hook <lambda> - [991.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [991.1] [DEBUG]: DEBUG   - + systemctl start seahub
Warning: yunohost.hook <lambda> - [991.1] [DEBUG]: DEBUG   - + journalctl --unit=seahub --follow --since=-0 --quiet
Warning: yunohost.hook <lambda> - [991.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> - [991.1] [DEBUG]: DEBUG   - + test -e systemd
Warning: - See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [991.1] [DEBUG]: DEBUG   - + false
Warning: - -- Logs begin at Fri 2019-11-01 22:35:17 UTC, end at Fri 2019-11-01 22:40:54 UTC. --
Warning: yunohost.hook <lambda> - [991.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_change_url - [991.1] Failed to change 'seafile' url.
Info: yunohost.log close - [991.1] The operation 'Change the url of 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20191101-223530-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: 18 seconds.
Root install failed, impossible to perform this test...

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 25 seconds.
Change the url from sous.domain.tld/path to domain.tld/path_2...
Start the LXC container..Start the LXC container..
Create witness files...
Working time: 11 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> - [988.1] Please wait, the service seafile is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [988.1] [WARN] The service seafile didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [988.1] [WARN] Please find here an extract of the end of the log of the service seafile:
Warning: yunohost.hook <lambda> - [988.1] -- Logs begin at Fri 2019-11-01 22:41:42 UTC, end at Fri 2019-11-01 22:42:13 UTC. --
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:41:47 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:41:47 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:41:51 pchecker_lxc seafile.sh[642]: [11/01/19 22:41:51] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:41:51 pchecker_lxc seafile.sh[642]: Starting seafile server, please wait ...
Warning:Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:41:51 pchecker_lxc seafile-control[912]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:41:54 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:42:00 pchecker_lxc systemd[1]: Stopping Seafile...
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:42:00 pchecker_lxc seafile.sh[1244]: Stopping seafile server ...
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:42:00 pchecker_lxc systemd[1]: Stopped Seafile.
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:42:09 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:42:09 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:42:09 pchecker_lxc seafile.sh[2060]: [11/01/19 22:42:09] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:42:09 pchecker_lxc seafile.sh[2060]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:42:09 pchecker_lxc seafile-control[2081]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:42:13 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [988.1] --
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 21:42:56] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 21:42:56] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 21:42:56] 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> - [988.1] [11/01/19 21:42:56] seafile-controller.c(94): spawned seaf-server, pid 5748
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 21:42:56] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 21:42:56] 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> - [988.1] [11/01/19 21:42:56] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 5749
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 21:43:15] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 22:41:51] seafile-controller.c(175): starting ccnet-server ...
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 22:41:51] 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> - [988.1] [11/01/19 22:41:51] seafile-controller.c(94): spawned ccnet-server, pid 913
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 22:41:52] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 22:41:52] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 22:41:52] 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> - [988.1] [11/01/19 22:41:52] seafile-controller.c(94): spawned seaf-server, pid 917
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 22:41:52] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 22:41:52] 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> - [988.1] [11/01/19 22:41:52] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 918
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 22:42:00] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 22:42:00] seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [988.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [988.1] -- Logs begin at Fri 2019-11-01 22:41:42 UTC, end at Fri 2019-11-01 22:47:21 UTC. --
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:41:54 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:41:54 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:41:54 pchecker_lxc seahub.sh[953]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:41:54 pchecker_lxc seahub.sh[953]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:42:00 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:42:00 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:42:00 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:42:00 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:47:16 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:47:16 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:47:16 pchecker_lxc seahub.sh[2727]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:47:16 pchecker_lxc seahub.sh[2727]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:47:21 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:47:21 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:47:21 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:47:21 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [988.1] [ERR] !!
Warning: yunohost.hook <lambda> - [988.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [988.1] !!
Warning: yunohost.hook <lambda> - [988.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [988.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Warning: -: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [988.1] [DEBUG]: DEBUG   - + local exit_code=1
Warning: -: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [988.1] [DEBUG]: DEBUG   -'
Warning: -: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [988.1] [DEBUG]: DEBUG   - + trap '' EXIT
Warning: -: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [988.1] [DEBUG]: DEBUG   - + set +eu
Warning: -: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [988.1] [DEBUG]: DEBUG   - + sleep 0.5
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> - [988.1] [DEBUG]: DEBUG   - + ynh_print_err '--message=!!
Warning: yunohost.hook <lambda> - [988.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [988.1] !!'
Warning: yunohost.hook <lambda> - [988.1] [DEBUG]: DEBUG   - + local legacy_args=m
Warning: yunohost.hook <lambda> - [988.1] [DEBUG]: DEBUG   -=message=)
Warning: yunohost.hook <lambda> - [988.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [988.1] [DEBUG]: DEBUG   - + local message
Warning: yunohost.hook <lambda> - [988.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args '--message=!!
Warning: yunohost.hook <lambda> - [988.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [988.1] !!'
Warning: yunohost.hook <lambda> - [988.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [988.1] [DEBUG]: DEBUG   - !!
Warning: yunohost.hook <lambda> - [988.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [988.1] !!'
Warning: - !!
Warning: yunohost.hook <lambda> - [988.1] [DEBUG]: DEBUG   - !!
Warning: yunohost.hook <lambda> - [988.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [988.1] !!'
Warning: -   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [988.1] [DEBUG]: DEBUG   -'
Warning: - !!
Warning: yunohost.hook <lambda> - [988.1] [DEBUG]: DEBUG   - + set +x
Error: yunohost.app app_change_url - [988.1] Failed to change 'seafile' url.
Info: yunohost.log close - [988.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 20191101-224156-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: 20 seconds.

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 23 seconds.
Change the url from sous.domain.tld/path to domain.tld/...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 5 minutes, 29 seconds.
Change_url script successful. (0)
Info:  [+...................] > Loading installation settings...
Info:  [#++.................] > Updating nginx configuration...
Info:  [###+................] > Stoping services...
Info:  [####++..............] > Updating seafile configuration...
Info:  [######++++++++++....] > Updating seafile database
Info:  [################++..] > Starting services...
Warning: yunohost.hook <lambda> - [988.1] Please wait, the service seafile is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [988.1] [WARN] The service seafile didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [988.1] [WARN] Please find here an extract of the end of the log of the service seafile:
Warning: yunohost.hook <lambda> - [988.1] -- Logs begin at Fri 2019-11-01 22:48:13 UTC, end at Fri 2019-11-01 22:48:42 UTC. --
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:48:18 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:48:18 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:48:21 pchecker_lxc seafile.sh[657]: [11/01/19 22:48:21] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:48:21 pchecker_lxc seafile.sh[657]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:48:21 pchecker_lxc seafile-control[912]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:48:24 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:48:29 pchecker_lxc systemd[1]: Stopping Seafile...
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:48:29 pchecker_lxc seafile.sh[1244]: Stopping seafile server ...
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:48:30 pchecker_lxc systemd[1]: Stopped Seafile.
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:48:39 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:48:39 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:48:39 pchecker_lxc seafile.sh[2059]: [11/01/19 22:48:39] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:48:39 pchecker_lxc seafile.sh[2059]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:48:39 pchecker_lxc seafile-control[2080]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:48:42 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [988.1] --
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 21:42:56] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 21:42:56] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 21:42:56] 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> - [988.1] [11/01/19 21:42:56] seafile-controller.c(94): spawned seaf-server, pid 5748
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 21:42:56] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 21:42:56] 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> - [988.1] [11/01/19 21:42:56] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 5749
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 21:43:15] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 22:48:21] seafile-controller.c(175): starting ccnet-server ...
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 22:48:21] 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> - [988.1] [11/01/19 22:48:21] seafile-controller.c(94): spawned ccnet-server, pid 913
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 22:48:22] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 22:48:22] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 22:48:22] 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> - [988.1] [11/01/19 22:48:22] seafile-controller.c(94): spawned seaf-server, pid 918
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 22:48:22] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 22:48:22] 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> - [988.1] [11/01/19 22:48:22] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 919
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 22:48:29] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [988.1] [11/01/19 22:48:29] seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [988.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [988.1] -- Logs begin at Fri 2019-11-01 22:48:13 UTC, end at Fri 2019-11-01 22:53:51 UTC. --
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:48:24 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:48:24 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:48:24 pchecker_lxc seahub.sh[953]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:48:24 pchecker_lxc seahub.sh[953]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:48:30 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:53:45 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:53:45 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:53:45 pchecker_lxc seahub.sh[2726]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:53:45 pchecker_lxc seahub.sh[2726]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:53:51 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:53:51 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:53:51 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [988.1] Nov 01 22:53:51 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [988.1] [ERR] !!
Warning: yunohost.hook <lambda> - [988.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [988.1] !!
Warning: yunohost.hook <lambda> - [988.1] Please find here an extract of the log before the crash:
Warning: - See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: - -- Logs begin at Fri 2019-11-01 22:48:13 UTC, end at Fri 2019-11-01 22:53:51 UTC. --
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: -: Stopped Seafile hub.
Warning: -: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [988.1] [DEBUG]: DEBUG   - + test -e systemd
Warning: -: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [988.1] [DEBUG]: DEBUG   - + false
Warning: -: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [988.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_change_url - [988.1] Failed to change 'seafile' url.
Info: yunohost.log close - [988.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 20191101-224826-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: 18 seconds.
Restore the previous snapshot.
Working time: 6 seconds.
Working time for this test: 25 minutes, 45 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, 14 minutes, 10 seconds.
Disable iptables rules.
Disable the network bridge.
The complete log for this application was duplicated and is accessible at /home/CI_package_check/dev_CI/../logs/_home_yunohost.app_ssh_chroot_directories_josue_data_seafile_ynh_complete.log

Fri Nov  1 22:56:06 UTC 2019
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE