FailedConsole Output

Skipping 27 KB.. Full Log
Ly9zb3VzLmRvbWFpbi50bGQv
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: 16 seconds.
Working time for this test: 5 minutes, 35 seconds.


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

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

Upgrade...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 6 minutes, 10 seconds.
Upgrade failed. (1)
Warning: yunohost.service _run_service_command - [207.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.app app_upgrade - [973.1] Now upgrading app seafile…
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Info:  [#...................] > Fixing old settings...
Info:  [#++++...............] > Upgrading source files...
Info:  [#####+..............] > Upgrading dependencies...
Info:  [######+.............] > Configuring application...
Info:  [#######.............] > Updating systemd units...
Info:  [#######+............] > Protecting directory...
Warning: yunohost.hook <lambda> - [973.1] /usr/share/yunohost/helpers.d/logrotate: line 52: [: -n : integer expression expected
Info:  [########+...........] > Configuring log rotation...
Info:  [#########++++++.....] > Configuring fail2ban...
Info:  [###############+....] > Register seafile service...
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [################++..] > Starting seafile services...
Warning: yunohost.hook <lambda> - [973.1] Please wait, the service seafile is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [973.1] [WARN] The service seafile didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [973.1] [WARN] Please find here an extract of the end of the log of the service seafile:
Warning: yunohost.hook <lambda> - [973.1] -- Logs begin at Tue 2019-09-10 22:02:15 UTC, end at Tue 2019-09-10 22:08:00 UTC. --
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:02:19 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:02:19 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:02:23 pchecker_lxc seafile.sh[627]: [09/10/19 22:02:23] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:02:23 pchecker_lxc seafile.sh[627]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:02:23 pchecker_lxc seafile-control[937]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:02:26 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:02:30 pchecker_lxc systemd[1]: Stopping Seafile...
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:02:30 pchecker_lxc seafile.sh[1191]: Stopping seafile server ...
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:02:30 pchecker_lxc systemd[1]: Stopped Seafile.
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:03:18 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:03:18 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:03:18 pchecker_lxc seafile.sh[2334]: [09/10/19 22:03:18] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:03:18 pchecker_lxc seafile.sh[2334]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:03:18 pchecker_lxc seafile-control[2355]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:03:21 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [973.1] --
Warning: yunohost.hook <lambda> - [973.1] [09/10/19 21:52:42] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [973.1] [09/10/19 21:52:42] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [973.1] [09/10/19 21:52:42] seafile-controller.c(79): spawn_process: seaf-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -d /home/yunohost.app/seafile-data -l /opt/yunohost/seafile/logs/seafile.log -P /opt/yunohost/seafile/pids/seaf-server.pid
Warning: yunohost.hook <lambda> - [973.1] [09/10/19 21:52:42] seafile-controller.c(94): spawned seaf-server, pid 5686
Warning: yunohost.hook <lambda> - [973.1] [09/10/19 21:52:42] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [973.1] [09/10/19 21:52:42] seafile-controller.c(79): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/yunohost/seafile/logs/seafdav.log --pid /opt/yunohost/seafile/pids/seafdav.pid --port 8080 --host localhost
Warning: yunohost.hook <lambda> - [973.1] [09/10/19 21:52:42] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 5687
Warning: yunohost.hook <lambda> - [973.1] [09/10/19 21:53:03] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [973.1] [09/10/19 22:02:23] seafile-controller.c(175): starting ccnet-server ...
Warning: yunohost.hook <lambda> - [973.1] [09/10/19 22:02:23] 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> - [973.1] [09/10/19 22:02:23] seafile-controller.c(94): spawned ccnet-server, pid 938
Warning: yunohost.hook <lambda> - [973.1] [09/10/19 22:02:24] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [973.1] [09/10/19 22:02:24] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [973.1] [09/10/19 22:02:24] 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> - [973.1] [09/10/19 22:02:24] seafile-controller.c(94): spawned seaf-server, pid 942
Warning: yunohost.hook <lambda> - [973.1] [09/10/19 22:02:24] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [973.1] [09/10/19 22:02:24] 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> - [973.1] [09/10/19 22:02:24] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 943
Warning: yunohost.hook <lambda> - [973.1] [09/10/19 22:02:30] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [973.1] [09/10/19 22:02:30] seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [973.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [973.1] -- Logs begin at Tue 2019-09-10 22:02:15 UTC, end at Tue 2019-09-10 22:08:29 UTC. --
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:02:26 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:02:26 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:02:26 pchecker_lxc seahub.sh[977]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:02:26 pchecker_lxc seahub.sh[977]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:02:30 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:08:23 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:08:23 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:08:23 pchecker_lxc seahub.sh[3001]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:08:23 pchecker_lxc seahub.sh[3001]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:08:29 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:08:29 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:08:29 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [973.1] Sep 10 22:08:29 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [973.1] [ERR] !!
Warning: yunohost.hook <lambda> - [973.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [973.1] !!
Warning: yunohost.hook <lambda> - [973.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [973.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [973.1] [DEBUG]: DEBUG   - + local pid_tail=2998
Warning: yunohost.hook <lambda> - [973.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [973.1] [DEBUG]: DEBUG   - + systemctl start seahub
Warning: yunohost.hook <lambda> - [973.1] [DEBUG]: DEBUG   - + journalctl --unit=seahub --follow --since=-0 --quiet
Warning: yunohost.hook <lambda> - [973.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: - See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [973.1] [DEBUG]: DEBUG   - + test -e systemd
Warning: - -- Logs begin at Tue 2019-09-10 22:02:15 UTC, end at Tue 2019-09-10 22:08:29 UTC. --
Warning: yunohost.hook <lambda> - [973.1] [DEBUG]: DEBUG   - + false
Warning: -: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [973.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_upgrade - [973.1] Unable to upgrade seafile
Info: yunohost.log close - [973.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 20190910-220227-app_upgrade-seafile --share'
Error: yunohost cli - The following apps were not upgraded: seafile

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

                                    nginx


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

                                    nginx


--- FAIL ---

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


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

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

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

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


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

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

Upgrade...
A LXC container is already running.
Working time: 2 seconds.
Working time: 15 seconds.
Upgrade failed. (1)
Info: yunohost.app app_upgrade - [5074.1] Now upgrading app seafile…
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [5074.1] seafile-server.service is not a native service, redirecting to systemd-sysv-install.
Warning: yunohost.hook <lambda> - [5074.1] Executing: /lib/systemd/systemd-sysv-install disable seafile-server
Info:  [#...................] > Fixing old settings...
Info:  [#++++...............] > Upgrading source files...
Warning: yunohost.hook <lambda> - [5074.1] Unable to apply patches
Warning: yunohost.hook <lambda> - [5074.1] [ERR] !!
Warning: yunohost.hook <lambda> - [5074.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [5074.1] !!
Warning: yunohost.hook <lambda> - [5074.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   - + ynh_die '--message=Unable to apply patches'
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   - + local legacy_args=mc
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   -=ret_code=)
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   - + local message
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   - + local ret_code
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args '--message=Unable to apply patches'
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   - + echo 'Unable to apply patches'
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   - + exit 1
Warning: yunohost.hook <lambda> - [5074.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_upgrade - [5074.1] Unable to upgrade seafile
Info: yunohost.log close - [5074.1] The operation 'Upgrade 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190910-221753-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: 15 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 18 seconds.
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 16 minutes, 52 seconds.


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


>> Installation in public mode... [Test 9/13]
Root install failed, impossible to perform this test...
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 2 minutes, 7 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [914.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> - [914.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%
Info:  [####+...............] > Cleaning data directory...
Info:  [#####...............] > Creating base directory...
Info:  [#####+++............] > Installing sources files...
Info:  [########............] > Configuring MySQL database...
Info:  [########++..........] > Configuring application...
Info:  [##########+.........] > Configuring a systemd service...
Warning: yunohost.hook <lambda> - [914.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [914.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [###########.........] > Configuring nginx...
Warning: yunohost.hook <lambda> - [914.1] [DEBUG] mykey.peer
Warning: yunohost.hook <lambda> - [914.1] seafile.ini
Warning: yunohost.hook <lambda> - [914.1] failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [914.1] [ERR] !!
Warning: yunohost.hook <lambda> - [914.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [914.1] !!
Warning: yunohost.hook <lambda> - [914.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [914.1] [DEBUG]: DEBUG   - + local timeout=300
Warning: yunohost.hook <lambda> - [914.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [914.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [914.1] [DEBUG]: DEBUG   - + action=reload-or-restart
Warning: yunohost.hook <lambda> - [914.1] [DEBUG]: DEBUG   - + systemctl reload-or-restart nginx
Warning: yunohost.hook <lambda> - [914.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [914.1] [DEBUG]: DEBUG   - + cp expect_scripts/first_launch.exp /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [914.1] [DEBUG]: DEBUG   - + chmod +x /opt/yunohost/seafile/first_launch.exp
Warning: yunohost.hook <lambda> - [914.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [914.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /home/yunohost.app/seafile-data
Warning: yunohost.hook <lambda> - [914.1] [DEBUG]: DEBUG   - + sleep 5
Warning: yunohost.hook <lambda> - [914.1] [DEBUG]: DEBUG   - + ynh_debug_exec ls /opt/yunohost/seafile/ccnet
Warning: - mykey.peer
Warning: yunohost.hook <lambda> - [914.1] [DEBUG]: DEBUG   - ++ eval ls /opt/yunohost/seafile/ccnet
Warning: - seafile.ini
Warning: yunohost.hook <lambda> - [914.1] [DEBUG]: DEBUG   - +++ ls /opt/yunohost/seafile/ccnet
Warning: yunohost.hook <lambda> - [914.1] [DEBUG]: DEBUG   - + ynh_debug '--message=mykey.peer
Warning: yunohost.hook <lambda> - [914.1] [DEBUG]: DEBUG   - seafile.ini'
Warning: yunohost.hook <lambda> - [914.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [914.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [914.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: yunohost.hook <lambda> - [914.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [914.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> - [914.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [914.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 20190910-222136-app_install-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [914.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [914.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Warning: yunohost.hook <lambda> - [914.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [914.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> - [914.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [######..............] > Removing systemd units...
Warning: yunohost.hook <lambda> - [914.1] Removed /etc/systemd/system/multi-user.target.wants/seahub.service.
Info:  [######+.............] > Removing the dedicated system user...
Info: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> - [914.1] Unknown service 'seafile'
Info:  [##################+.] > Removing seafile service...
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [914.1] Unknown service 'seahub'
Info:  [####################] > Removal of seafile completed
Error: yunohost cli - The operation 'Install 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190910-222136-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: 15 seconds.
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 2 minutes, 34 seconds.


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


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


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

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

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

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

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

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aA==
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/path/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aC8=
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 23 seconds.
Restore the previous snapshot.
Working time: 11 seconds.

Restore on a clean YunoHost system...
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 2 minutes, 2 seconds.
Restore failed. (1)
Info: yunohost.backup backup_restore - [921.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [921.1] Restoring application seafile…
Info:  [....................] > Loading settings...
Info:  [+++++++.............] > Restoring files...
Info:  [#######+............] > Configuring system user...
Info:  [########+++.........] > Reinstalling dependencies...
Warning: yunohost.hook <lambda> - [921.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> - [921.1] Exception:
Warning: yunohost.hook <lambda> - [921.1] Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [921.1]   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
Warning: yunohost.hook <lambda> - [921.1]     status = self.run(options, args)
Warning: yunohost.hook <lambda> - [921.1]   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 307, in run
Warning: yunohost.hook <lambda> - [921.1]     delete=build_delete) as build_dir:
Warning: yunohost.hook <lambda> - [921.1]   File "/usr/lib/python2.7/dist-packages/pip/utils/build.py", line 22, in __init__
Warning: yunohost.hook <lambda> - [921.1]     name = os.path.realpath(tempfile.mkdtemp(prefix="pip-build-"))
Warning: yunohost.hook <lambda> - [921.1]   File "/usr/lib/python2.7/tempfile.py", line 331, in mkdtemp
Warning: yunohost.hook <lambda> - [921.1]     dir = gettempdir()
Warning: yunohost.hook <lambda> - [921.1]   File "/usr/lib/python2.7/tempfile.py", line 275, in gettempdir
Warning: yunohost.hook <lambda> - [921.1]     tempdir = _get_default_tempdir()
Warning: yunohost.hook <lambda> - [921.1]   File "/usr/lib/python2.7/tempfile.py", line 217, in _get_default_tempdir
Warning: yunohost.hook <lambda> - [921.1]     ("No usable temporary directory found in %s" % dirlist))
Warning: yunohost.hook <lambda> - [921.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> - [921.1] [ERR] !!
Warning: yunohost.hook <lambda> - [921.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [921.1] !!
Warning: yunohost.hook <lambda> - [921.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args --app=seafile --key=apt_dependencies '--value=python2.7, python-pip, libpython2.7, python-setuptools, python-ldap, python-urllib3, python-simplejson, python-imaging, python-mysqldb, python-flup, expect, python-requests, python-dev, ffmpeg, python-memcache, libjpeg62-turbo-dev, zlib1g-dev'
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + ynh_app_setting set seafile apt_dependencies 'python2.7, python-pip, libpython2.7, python-setuptools, python-ldap, python-urllib3, python-simplejson, python-imaging, python-mysqldb, python-flup, expect, python-requests, python-dev, ffmpeg, python-memcache, libjpeg62-turbo-dev, zlib1g-dev'
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + ACTION=set
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + APP=seafile
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + KEY=apt_dependencies
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + VALUE='python2.7, python-pip, libpython2.7, python-setuptools, python-ldap, python-urllib3, python-simplejson, python-imaging, python-mysqldb, python-flup, expect, python-requests, python-dev, ffmpeg, python-memcache, libjpeg62-turbo-dev, zlib1g-dev'
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + python -
Warning: yunohost.hook <lambda> - [921.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> - [921.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.backup _restore_app - [921.1] Unable to restore the app 'seafile'
Info: yunohost.log close - [921.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 20190910-223432-backup_restore_app-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [921.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [921.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Warning: yunohost.hook <lambda> - [921.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [921.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> - [921.1] [WARN] Database ccnetdb not found
Warning: yunohost.hook <lambda> - [921.1] [WARN] Database seafiledb not found
Warning: yunohost.hook <lambda> - [921.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...
Info:  [##################+.] > Removing seafile service...
Error: yunohost cli - Unknown service 'seafile'
Warning: yunohost.hook <lambda> - [921.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [921.1] Unknown service 'seahub'
Info:  [####################] > Removal of seafile completed
Error: yunohost cli - Nothing has been restored

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aA==
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/path/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aC8=
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 16 seconds.
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 7 minutes, 9 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: 9 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> - [993.1] Please wait, the service seafile is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [993.1] [WARN] The service seafile didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [993.1] [WARN] Please find here an extract of the end of the log of the service seafile:
Warning: yunohost.hook <lambda> - [993.1] -- Logs begin at Tue 2019-09-10 22:36:30 UTC, end at Tue 2019-09-10 22:39:03 UTC. --
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:36:34 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:36:34 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:36:38 pchecker_lxc seafile.sh[649]: [09/10/19 22:36:38] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:36:38 pchecker_lxc seafile.sh[649]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:36:38 pchecker_lxc seafile-control[924]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:36:41 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:36:45 pchecker_lxc systemd[1]: Stopping Seafile...
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:36:45 pchecker_lxc seafile.sh[1235]: Stopping seafile server ...
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:36:45 pchecker_lxc systemd[1]: Stopped Seafile.
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:36:54 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:36:54 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:36:54 pchecker_lxc seafile.sh[2050]: [09/10/19 22:36:54] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:36:54 pchecker_lxc seafile.sh[2050]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:36:54 pchecker_lxc seafile-control[2071]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:36:57 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [993.1] --
Warning: yunohost.hook <lambda> - [993.1] [09/10/19 21:52:42] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [993.1] [09/10/19 21:52:42] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [993.1] [09/10/19 21:52:42] seafile-controller.c(79): spawn_process: seaf-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -d /home/yunohost.app/seafile-data -l /opt/yunohost/seafile/logs/seafile.log -P /opt/yunohost/seafile/pids/seaf-server.pid
Warning: yunohost.hook <lambda> - [993.1] [09/10/19 21:52:42] seafile-controller.c(94): spawned seaf-server, pid 5686
Warning: yunohost.hook <lambda> - [993.1] [09/10/19 21:52:42] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [993.1] [09/10/19 21:52:42] seafile-controller.c(79): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/yunohost/seafile/logs/seafdav.log --pid /opt/yunohost/seafile/pids/seafdav.pid --port 8080 --host localhost
Warning: yunohost.hook <lambda> - [993.1] [09/10/19 21:52:42] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 5687
Warning: yunohost.hook <lambda> - [993.1] [09/10/19 21:53:03] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [993.1] [09/10/19 22:36:38] seafile-controller.c(175): starting ccnet-server ...
Warning: yunohost.hook <lambda> - [993.1] [09/10/19 22:36:38] 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> - [993.1] [09/10/19 22:36:38] seafile-controller.c(94): spawned ccnet-server, pid 925
Warning: yunohost.hook <lambda> - [993.1] [09/10/19 22:36:39] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [993.1] [09/10/19 22:36:39] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [993.1] [09/10/19 22:36:39] 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> - [993.1] [09/10/19 22:36:39] seafile-controller.c(94): spawned seaf-server, pid 929
Warning: yunohost.hook <lambda> - [993.1] [09/10/19 22:36:39] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [993.1] [09/10/19 22:36:39] 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> - [993.1] [09/10/19 22:36:39] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 930
Warning: yunohost.hook <lambda> - [993.1] [09/10/19 22:36:45] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [993.1] [09/10/19 22:36:45] seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [993.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [993.1] -- Logs begin at Tue 2019-09-10 22:36:30 UTC, end at Tue 2019-09-10 22:42:05 UTC. --
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:36:41 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:36:41 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:36:41 pchecker_lxc seahub.sh[965]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:36:41 pchecker_lxc seahub.sh[965]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:36:45 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:41:59 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:41:59 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:41:59 pchecker_lxc seahub.sh[2764]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:41:59 pchecker_lxc seahub.sh[2764]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:42:05 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:42:05 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:42:05 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [993.1] Sep 10 22:42:05 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [993.1] [ERR] !!
Warning: yunohost.hook <lambda> - [993.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [993.1] !!
Warning: yunohost.hook <lambda> - [993.1] Please find here an extract of the log before the crash:
Warning: -: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [993.1] [DEBUG]: DEBUG   -'
Warning: -: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [993.1] [DEBUG]: DEBUG   - + trap '' EXIT
Warning: -: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [993.1] [DEBUG]: DEBUG   - + set +eu
Warning: -: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [993.1] [DEBUG]: DEBUG   - + sleep 0.5
Warning: -: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: -: Starting Seafile hub...
Warning: -: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: -: Starting seahub at port 8000 ...
Warning: -: seahub.service: Control process exited, code=exited status=1
Warning: -: Failed to start Seafile hub.
Warning: -: seahub.service: Unit entered failed state.
Warning: -: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [993.1] [DEBUG]: DEBUG   - + ynh_print_err '--message=!!
Warning: yunohost.hook <lambda> - [993.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [993.1] !!'
Warning: yunohost.hook <lambda> - [993.1] [DEBUG]: DEBUG   - + local legacy_args=m
Warning: yunohost.hook <lambda> - [993.1] [DEBUG]: DEBUG   -=message=)
Warning: yunohost.hook <lambda> - [993.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [993.1] [DEBUG]: DEBUG   - + local message
Warning: yunohost.hook <lambda> - [993.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args '--message=!!
Warning: yunohost.hook <lambda> - [993.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [993.1] !!'
Warning: yunohost.hook <lambda> - [993.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [993.1] [DEBUG]: DEBUG   - !!
Warning: yunohost.hook <lambda> - [993.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [993.1] !!'
Warning: - !!
Warning: yunohost.hook <lambda> - [993.1] [DEBUG]: DEBUG   - !!
Warning: yunohost.hook <lambda> - [993.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [993.1] !!'
Warning: -   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [993.1] [DEBUG]: DEBUG   -'
Warning: - !!
Warning: yunohost.hook <lambda> - [993.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [993.1] ./_common.sh: line 34:  2761 Terminated              journalctl --unit=$service_name --follow --since=-0 --quiet > "$templog"
Error: yunohost.app app_change_url - [993.1] Failed to change 'seafile' url.
Info: yunohost.log close - [993.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 20190910-223642-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: 20 seconds.
Change the url from sous.domain.tld/path to sous.domain.tld/...
Start the LXC container.
Create witness files...
Working time: 6 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> - [966.1] Please wait, the service seafile is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [966.1] [WARN] The service seafile didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [966.1] [WARN] Please find here an extract of the end of the log of the service seafile:
Warning: yunohost.hook <lambda> - [966.1] -- Logs begin at Tue 2019-09-10 22:42:50 UTC, end at Tue 2019-09-10 22:43:15 UTC. --
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:42:54 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:42:54 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:42:58 pchecker_lxc seafile.sh[683]: [09/10/19 22:42:58] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:42:58 pchecker_lxc seafile.sh[683]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:42:58 pchecker_lxc seafile-control[934]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:43:01 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:43:03 pchecker_lxc systemd[1]: Stopping Seafile...
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:43:03 pchecker_lxc seafile.sh[1226]: Stopping seafile server ...
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:43:03 pchecker_lxc systemd[1]: Stopped Seafile.
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:43:12 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:43:12 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:43:12 pchecker_lxc seafile.sh[2039]: [09/10/19 22:43:12] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:43:12 pchecker_lxc seafile.sh[2039]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:43:12 pchecker_lxc seafile-control[2060]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:43:15 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [966.1] --
Warning: yunohost.hook <lambda> - [966.1] [09/10/19 21:52:42] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [966.1] [09/10/19 21:52:42] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [966.1] [09/10/19 21:52:42] seafile-controller.c(79): spawn_process: seaf-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -d /home/yunohost.app/seafile-data -l /opt/yunohost/seafile/logs/seafile.log -P /opt/yunohost/seafile/pids/seaf-server.pid
Warning: yunohost.hook <lambda> - [966.1] [09/10/19 21:52:42] seafile-controller.c(94): spawned seaf-server, pid 5686
Warning: yunohost.hook <lambda> - [966.1] [09/10/19 21:52:42] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [966.1] [09/10/19 21:52:42] seafile-controller.c(79): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/yunohost/seafile/logs/seafdav.log --pid /opt/yunohost/seafile/pids/seafdav.pid --port 8080 --host localhost
Warning: yunohost.hook <lambda> - [966.1] [09/10/19 21:52:42] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 5687
Warning: yunohost.hook <lambda> - [966.1] [09/10/19 21:53:03] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [966.1] [09/10/19 22:42:58] seafile-controller.c(175): starting ccnet-server ...
Warning: yunohost.hook <lambda> - [966.1] [09/10/19 22:42:58] seafile-controller.c(79): spawn_process: ccnet-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -f /opt/yunohost/seafile/logs/ccnet.log -d -P /opt/yunohost/seafile/pids/ccnet.pid
Warning: yunohost.hook <lambda> - [966.1] [09/10/19 22:42:58] seafile-controller.c(94): spawned ccnet-server, pid 935
Warning: yunohost.hook <lambda> - [966.1] [09/10/19 22:42:59] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [966.1] [09/10/19 22:42:59] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [966.1] [09/10/19 22:42:59] seafile-controller.c(79): spawn_process: seaf-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -d /home/yunohost.app/seafile-data -l /opt/yunohost/seafile/logs/seafile.log -P /opt/yunohost/seafile/pids/seaf-server.pid
Warning: yunohost.hook <lambda> - [966.1] [09/10/19 22:42:59] seafile-controller.c(94): spawned seaf-server, pid 939
Warning: yunohost.hook <lambda> - [966.1] [09/10/19 22:42:59] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [966.1] [09/10/19 22:42:59] seafile-controller.c(79): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/yunohost/seafile/logs/seafdav.log --pid /opt/yunohost/seafile/pids/seafdav.pid --port 8080 --host localhost
Warning: yunohost.hook <lambda> - [966.1] [09/10/19 22:42:59] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 940
Warning: yunohost.hook <lambda> - [966.1] [09/10/19 22:43:03] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [966.1] [09/10/19 22:43:03] seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [966.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [966.1] -- Logs begin at Tue 2019-09-10 22:42:50 UTC, end at Tue 2019-09-10 22:48:23 UTC. --
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:43:01 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:43:01 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:43:01 pchecker_lxc seahub.sh[1041]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:43:01 pchecker_lxc seahub.sh[1041]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:43:03 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:48:18 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:48:18 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:48:18 pchecker_lxc seahub.sh[2706]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:48:18 pchecker_lxc seahub.sh[2706]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:48:23 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:48:23 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:48:23 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [966.1] Sep 10 22:48:23 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [966.1] [ERR] !!
Warning: yunohost.hook <lambda> - [966.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [966.1] !!
Warning: yunohost.hook <lambda> - [966.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [966.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [966.1] [DEBUG]: DEBUG   - + local pid_tail=2703
Warning: yunohost.hook <lambda> - [966.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [966.1] [DEBUG]: DEBUG   - + systemctl start seahub
Warning: yunohost.hook <lambda> - [966.1] [DEBUG]: DEBUG   - + journalctl --unit=seahub --follow --since=-0 --quiet
Warning: yunohost.hook <lambda> - [966.1] [DEBUG]: DEBUG   - + journalctl --no-pager --lines=20 -u seahub
Warning: - seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [966.1] [DEBUG]: DEBUG   - + test -e systemd
Warning: - See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [966.1] [DEBUG]: DEBUG   - + false
Warning: - -- Logs begin at Tue 2019-09-10 22:42:50 UTC, end at Tue 2019-09-10 22:48:23 UTC. --
Warning: yunohost.hook <lambda> - [966.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Warning: yunohost.hook <lambda> - [966.1] ./_common.sh: line 34:  2703 Terminated              journalctl --unit=$service_name --follow --since=-0 --quiet > "$templog"
Error: yunohost.app app_change_url - [966.1] Failed to change 'seafile' url.
Info: yunohost.log close - [966.1] The operation 'Change the url of 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190910-224300-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: 17 seconds.
Root install failed, impossible to perform this test...

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 20 seconds.
Change the url from sous.domain.tld/path to domain.tld/path_2...
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 5 minutes, 30 seconds.
Change_url script successful. (0)
Warning: yunohost.service _run_service_command - [206.1] Unable to execute command 'systemctl reload fail2ban'
Info:  [+...................] > Loading installation settings...
Info:  [#++.................] > Updating nginx configuration...
Info:  [###+................] > Stoping services...
Info:  [####++..............] > Updating seafile configuration...
Info:  [######++++++++++....] > Updating seafile database
Info:  [################++..] > Starting services...
Warning: yunohost.hook <lambda> - [970.1] Please wait, the service seafile is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [970.1] [WARN] The service seafile didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [970.1] [WARN] Please find here an extract of the end of the log of the service seafile:
Warning: yunohost.hook <lambda> - [970.1] -- Logs begin at Tue 2019-09-10 22:49:04 UTC, end at Tue 2019-09-10 22:49:30 UTC. --
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:49:09 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:49:09 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:49:12 pchecker_lxc seafile.sh[663]: [09/10/19 22:49:12] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:49:12 pchecker_lxc seafile.sh[663]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:49:12 pchecker_lxc seafile-control[934]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:49:15 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:49:18 pchecker_lxc systemd[1]: Stopping Seafile...
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:49:18 pchecker_lxc seafile.sh[1249]: Stopping seafile server ...
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:49:18 pchecker_lxc systemd[1]: Stopped Seafile.
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:49:27 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:49:27 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:49:27 pchecker_lxc seafile.sh[2064]: [09/10/19 22:49:27] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:49:27 pchecker_lxc seafile.sh[2064]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:49:27 pchecker_lxc seafile-control[2085]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:49:30 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [970.1] --
Warning: yunohost.hook <lambda> - [970.1] [09/10/19 21:52:42] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [970.1] [09/10/19 21:52:42] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [970.1] [09/10/19 21:52:42] seafile-controller.c(79): spawn_process: seaf-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -d /home/yunohost.app/seafile-data -l /opt/yunohost/seafile/logs/seafile.log -P /opt/yunohost/seafile/pids/seaf-server.pid
Warning: yunohost.hook <lambda> - [970.1] [09/10/19 21:52:42] seafile-controller.c(94): spawned seaf-server, pid 5686
Warning: yunohost.hook <lambda> - [970.1] [09/10/19 21:52:42] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [970.1] [09/10/19 21:52:42] seafile-controller.c(79): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/yunohost/seafile/logs/seafdav.log --pid /opt/yunohost/seafile/pids/seafdav.pid --port 8080 --host localhost
Warning: yunohost.hook <lambda> - [970.1] [09/10/19 21:52:42] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 5687
Warning: yunohost.hook <lambda> - [970.1] [09/10/19 21:53:03] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [970.1] [09/10/19 22:49:12] seafile-controller.c(175): starting ccnet-server ...
Warning: yunohost.hook <lambda> - [970.1] [09/10/19 22:49:12] seafile-controller.c(79): spawn_process: ccnet-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -f /opt/yunohost/seafile/logs/ccnet.log -d -P /opt/yunohost/seafile/pids/ccnet.pid
Warning: yunohost.hook <lambda> - [970.1] [09/10/19 22:49:12] seafile-controller.c(94): spawned ccnet-server, pid 935
Warning: yunohost.hook <lambda> - [970.1] [09/10/19 22:49:13] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [970.1] [09/10/19 22:49:13] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [970.1] [09/10/19 22:49:13] seafile-controller.c(79): spawn_process: seaf-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -d /home/yunohost.app/seafile-data -l /opt/yunohost/seafile/logs/seafile.log -P /opt/yunohost/seafile/pids/seaf-server.pid
Warning: yunohost.hook <lambda> - [970.1] [09/10/19 22:49:13] seafile-controller.c(94): spawned seaf-server, pid 939
Warning: yunohost.hook <lambda> - [970.1] [09/10/19 22:49:13] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [970.1] [09/10/19 22:49:13] seafile-controller.c(79): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/yunohost/seafile/logs/seafdav.log --pid /opt/yunohost/seafile/pids/seafdav.pid --port 8080 --host localhost
Warning: yunohost.hook <lambda> - [970.1] [09/10/19 22:49:13] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 940
Warning: yunohost.hook <lambda> - [970.1] [09/10/19 22:49:18] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [970.1] [09/10/19 22:49:18] seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [970.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [970.1] -- Logs begin at Tue 2019-09-10 22:49:04 UTC, end at Tue 2019-09-10 22:54:38 UTC. --
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:49:15 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:49:15 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:49:15 pchecker_lxc seahub.sh[1045]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:49:15 pchecker_lxc seahub.sh[1045]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:49:18 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:54:32 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:54:32 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:54:32 pchecker_lxc seahub.sh[2731]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:54:32 pchecker_lxc seahub.sh[2731]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:54:38 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:54:38 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:54:38 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [970.1] Sep 10 22:54:38 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [970.1] [ERR] !!
Warning: yunohost.hook <lambda> - [970.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [970.1] !!
Warning: yunohost.hook <lambda> - [970.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [970.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [970.1] [DEBUG]: DEBUG   - + local pid_tail=2728
Warning: yunohost.hook <lambda> - [970.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [970.1] [DEBUG]: DEBUG   - + systemctl start seahub
Warning: yunohost.hook <lambda> - [970.1] [DEBUG]: DEBUG   - + journalctl --unit=seahub --follow --since=-0 --quiet
Warning: yunohost.hook <lambda> - [970.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> - [970.1] [DEBUG]: DEBUG   - + test -e systemd
Warning: - See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [970.1] [DEBUG]: DEBUG   - + false
Warning: - -- Logs begin at Tue 2019-09-10 22:49:04 UTC, end at Tue 2019-09-10 22:54:38 UTC. --
Warning: yunohost.hook <lambda> - [970.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Warning: yunohost.hook <lambda> - [970.1] ./_common.sh: line 34:  2728 Terminated              journalctl --unit=$service_name --follow --since=-0 --quiet > "$templog"
Error: yunohost.app app_change_url - [970.1] Failed to change 'seafile' url.
Info: yunohost.log close - [970.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 20190910-224915-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: 16 seconds.

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 20 seconds.
Change the url from sous.domain.tld/path to domain.tld/...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 5 minutes, 27 seconds.
Change_url script successful. (0)
Info:  [+...................] > Loading installation settings...
Info:  [#++.................] > Updating nginx configuration...
Info:  [###+................] > Stoping services...
Info:  [####++..............] > Updating seafile configuration...
Info:  [######++++++++++....] > Updating seafile database
Info:  [################++..] > Starting services...
Warning: yunohost.hook <lambda> - [989.1] Please wait, the service seafile is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [989.1] [WARN] The service seafile didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [989.1] [WARN] Please find here an extract of the end of the log of the service seafile:
Warning: yunohost.hook <lambda> - [989.1] -- Logs begin at Tue 2019-09-10 22:55:19 UTC, end at Tue 2019-09-10 22:55:47 UTC. --
Warning: yunohost.hook <lambda> - [989.1] Sep 10 22:55:23 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [989.1] Sep 10 22:55:23 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [989.1] Sep 10 22:55:27 pchecker_lxc seafile.sh[653]: [09/10/19 22:55:27] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [989.1] Sep 10 22:55:27 pchecker_lxc seafile.sh[653]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [989.1] Sep 10 22:55:27 pchecker_lxc seafile-control[924]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [989.1] Sep 10 22:55:30 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [989.1] Sep 10 22:55:35 pchecker_lxc systemd[1]: Stopping Seafile...
Warning: yunohost.hook <lambda> - [989.1] Sep 10 22:55:35 pchecker_lxc seafile.sh[1252]: Stopping seafile server ...
Warning: yunohost.hook <lambda> - [989.1] Sep 10 22:55:35 pchecker_lxc systemd[1]: Stopped Seafile.
Warning: yunohost.hook <lambda> - [989.1] Sep 10 22:55:44 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [989.1] Sep 10 22:55:44 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [989.1] Sep 10 22:55:44 pchecker_lxc seafile.sh[2067]: [09/10/19 22:55:44] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [989.1] Sep 10 22:55:44 pchecker_lxc seafile.sh[2067]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [989.1] Sep 10 22:55:44 pchecker_lxc seafile-control[2088]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [989.1] Sep 10 22:55:47 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [989.1] --
Warning: yunohost.hook <lambda> - [989.1] [09/10/19 21:52:42] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [989.1] [09/10/19 21:52:42] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [989.1] [09/10/19 21:52:42] seafile-controller.c(79): spawn_process: seaf-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -d /home/yunohost.app/seafile-data -l /opt/yunohost/seafile/logs/seafile.log -P /opt/yunohost/seafile/pids/seaf-server.pid
Warning: yunohost.hook <lambda> - [989.1] [09/10/19 21:52:42] seafile-controller.c(94): spawned seaf-server, pid 5686
Warning: yunohost.hook <lambda> - [989.1] [09/10/19 21:52:42] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [989.1] [09/10/19 21:52:42] seafile-controller.c(79): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/yunohost/seafile/logs/seafdav.log --pid /opt/yunohost/seafile/pids/seafdav.pid --port 8080 --host localhost
Warning: yunohost.hook <lambda> - [989.1] [09/10/19 21:52:42] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 5687
Warning: yunohost.hook <lambda> - [989.1] [09/10/19 21:53:03] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [989.1] [09/10/19 22:55:27] seafile-controller.c(175): starting ccnet-server ...
Warning: yunohost.hook <lambda> - [989.1] [09/10/19 22:55:27] 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> - [989.1] [09/10/19 22:55:27] seafile-controller.c(94): spawned ccnet-server, pid 925
Warning: yunohost.hook <lambda> - [989.1] [09/10/19 22:55:28] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [989.1] [09/10/19 22:55:28] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [989.1] [09/10/19 22:55:28] 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> - [989.1] [09/10/19 22:55:28] seafile-controller.c(94): spawned seaf-server, pid 929
Warning: yunohost.hook <lambda> - [989.1] [09/10/19 22:55:28] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [989.1] [09/10/19 22:55:28] 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> - [989.1] [09/10/19 22:55:28] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 930
Warning: yunohost.hook <lambda> - [989.1] [09/10/19 22:55:35] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [989.1] [09/10/19 22:55:35] seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [989.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [989.1] -- Logs begin at Tue 2019-09-10 22:55:19 UTC, end at Tue 2019-09-10 23:00:55 UTC. --
Warning: yunohost.hook <lambda> - [989.1] Sep 10 22:55:30 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [989.1] Sep 10 22:55:30 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [989.1] Sep 10 22:55:30 pchecker_lxc seahub.sh[965]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [989.1] Sep 10 22:55:30 pchecker_lxc seahub.sh[965]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [989.1] Sep 10 22:55:35 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [989.1] Sep 10 23:00:49 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [989.1] Sep 10 23:00:49 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [989.1] Sep 10 23:00:49 pchecker_lxc seahub.sh[2734]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [989.1] Sep 10 23:00:49 pchecker_lxc seahub.sh[2734]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [989.1] Sep 10 23:00:55 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [989.1] Sep 10 23:00:55 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [989.1] Sep 10 23:00:55 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [989.1] Sep 10 23:00:55 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [989.1] [ERR] !!
Warning: yunohost.hook <lambda> - [989.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [989.1] !!
Warning: yunohost.hook <lambda> - [989.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - + local pid_tail=2731
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - + systemctl start seahub
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - + journalctl --unit=seahub --follow --since=-0 --quiet
Warning: yunohost.hook <lambda> - [989.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> - [989.1] [DEBUG]: DEBUG   - + test -e systemd
Warning: - See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - + false
Warning: - -- Logs begin at Tue 2019-09-10 22:55:19 UTC, end at Tue 2019-09-10 23:00:55 UTC. --
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_change_url - [989.1] Failed to change 'seafile' url.
Info: yunohost.log close - [989.1] The operation 'Change the url of 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190910-225531-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: 17 seconds.
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 25 minutes, 12 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, 11 minutes, 13 seconds.
Disable iptables rules.
Disable the network bridge.
The complete log for this application was duplicated and is accessible at /home/CI_package_check/dev_CI/../logs/_home_yunohost.app_ssh_chroot_directories_josue_data_seafile_ynh_complete.log

Tue Sep 10 23:02:10 UTC 2019
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE