FailedConsole Output

Skipping 23 KB.. Full Log
: yunohost.hook <lambda> - [2124.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [2124.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /home/yunohost.app/seafile-data
Warning: yunohost.hook <lambda> - [2124.1] [DEBUG]: DEBUG   - + sleep 5
Warning: yunohost.hook <lambda> - [2124.1] [DEBUG]: DEBUG   - + ynh_debug_exec ls /opt/yunohost/seafile/ccnet
Warning: yunohost.hook <lambda> - [2124.1] [DEBUG]: DEBUG   - ++ eval ls /opt/yunohost/seafile/ccnet
Warning: yunohost.hook <lambda> - [2124.1] [DEBUG]: DEBUG   - +++ ls /opt/yunohost/seafile/ccnet
Warning: yunohost.hook <lambda> - [2124.1] [DEBUG]: DEBUG   - + ynh_debug '--message=mykey.peer
Warning: - mykey.peer
Warning: yunohost.hook <lambda> - [2124.1] [DEBUG]: DEBUG   - seafile.ini'
Warning: - seafile.ini
Warning: yunohost.hook <lambda> - [2124.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [2124.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [2124.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: yunohost.hook <lambda> - [2124.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [2124.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> - [2124.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [2124.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 20191027-140044-app_install-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [2124.1] Traceback (most recent call last):
Info:  [##+.................] > Removing logs...
Warning: yunohost.hook <lambda> - [2124.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Warning: yunohost.hook <lambda> - [2124.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [2124.1] ValueError: list.remove(x): x not in list
Info:  /var/log/seafile wasn't deleted because it doesn't exist.
Info:  [###+................] > Removing code...
Info:  /var/www/seafile wasn't deleted because it doesn't exist.
Info:  [####+...............] > Removing user data...
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [#####+..............] > Removing databases...
Warning: yunohost.hook <lambda> - [2124.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [######..............] > Removing systemd units...
Warning: yunohost.hook <lambda> - [2124.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> - [2124.1] Unknown service 'seafile'
Info:  [##################+.] > Removing seafile service...
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [2124.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 20191027-140044-app_install-seafile --share'

Try to access by url...
Test url: sous.domain.tld
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 14 seconds.
Working time for this test: 5 minutes, 46 seconds.


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

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

Upgrade...
Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 6 minutes, 8 seconds.
Upgrade failed. (1)
Info: yunohost.app app_upgrade - [970.1] Now upgrading app seafile…
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Info:  [#...................] > Fixing old settings...
Info:  [#++++...............] > Upgrading source files...
Info:  [#####+..............] > Upgrading dependencies...
Warning: yunohost.hook <lambda> - [970.1] lsblk: /dev/vda1: not a block device
Info:  [######+.............] > Configuring application...
Info:  [#######.............] > Updating systemd units...
Info:  [#######+............] > Protecting directory...
Info:  [########+...........] > Configuring log rotation...
Info:  [#########++++++.....] > Configuring fail2ban...
Info:  [###############+....] > Register seafile service...
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [################++..] > Starting seafile services...
Warning: yunohost.hook <lambda> - [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 Sun 2019-10-27 14:02:56 UTC, end at Sun 2019-10-27 14:09:06 UTC. --
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:03:00 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:03:00 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:03:04 pchecker_lxc seafile.sh[675]: [10/27/19 14:03:04] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:03:04 pchecker_lxc seafile.sh[675]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:03:04 pchecker_lxc seafile-control[925]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:03:07 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:03:11 pchecker_lxc systemd[1]: Stopping Seafile...
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:03:11 pchecker_lxc seafile.sh[1188]: Stopping seafile server ...
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:03:11 pchecker_lxc systemd[1]: Stopped Seafile.
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:04:00 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:04:00 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:04:00 pchecker_lxc seafile.sh[2348]: [10/27/19 14:04:00] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:04:00 pchecker_lxc seafile.sh[2348]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:04:00 pchecker_lxc seafile-control[2369]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:04:03 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [970.1] --
Warning: yunohost.hook <lambda> - [970.1] [10/27/19 13:52:55] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [970.1] [10/27/19 13:52:55] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [970.1] [10/27/19 13:52:55] 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] [10/27/19 13:52:55] seafile-controller.c(94): spawned seaf-server, pid 5683
Warning: yunohost.hook <lambda> - [970.1] [10/27/19 13:52:55] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [970.1] [10/27/19 13:52:55] 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] [10/27/19 13:52:55] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 5684
Warning: yunohost.hook <lambda> - [970.1] [10/27/19 13:53:14] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [970.1] [10/27/19 14:03:04] seafile-controller.c(175): starting ccnet-server ...
Warning: yunohost.hook <lambda> - [970.1] [10/27/19 14:03:04] seafile-controller.c(79): spawn_process: ccnet-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -f /opt/yunohost/seafile/logs/ccnet.log -d -P /opt/yunohost/seafile/pids/ccnet.pid
Warning: yunohost.hook <lambda> - [970.1] [10/27/19 14:03:04] seafile-controller.c(94): spawned ccnet-server, pid 926
Warning: yunohost.hook <lambda> - [970.1] [10/27/19 14:03:05] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [970.1] [10/27/19 14:03:05] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [970.1] [10/27/19 14:03:05] seafile-controller.c(79): spawn_process: seaf-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -d /home/yunohost.app/seafile-data -l /opt/yunohost/seafile/logs/seafile.log -P /opt/yunohost/seafile/pids/seaf-server.pid
Warning: yunohost.hook <lambda> - [970.1] [10/27/19 14:03:05] seafile-controller.c(94): spawned seaf-server, pid 930
Warning: yunohost.hook <lambda> - [970.1] [10/27/19 14:03:05] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [970.1] [10/27/19 14:03:05] seafile-controller.c(79): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/yunohost/seafile/logs/seafdav.log --pid /opt/yunohost/seafile/pids/seafdav.pid --port 8080 --host localhost
Warning: yunohost.hook <lambda> - [970.1] [10/27/19 14:03:05] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 931
Warning: yunohost.hook <lambda> - [970.1] [10/27/19 14:03:11] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [970.1] [10/27/19 14:03:11] 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 Sun 2019-10-27 14:02:56 UTC, end at Sun 2019-10-27 14:09:12 UTC. --
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:03:07 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:03:07 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:03:07 pchecker_lxc seahub.sh[972]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:03:07 pchecker_lxc seahub.sh[972]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:03:11 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:09:06 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:09:06 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:09:06 pchecker_lxc seahub.sh[3018]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:09:06 pchecker_lxc seahub.sh[3018]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:09:12 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:09:12 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:09:12 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [970.1] Oct 27 14:09:12 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=3014
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 Sun 2019-10-27 14:02:56 UTC, end at Sun 2019-10-27 14:09:12 UTC. --
Warning: yunohost.hook <lambda> - [970.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Warning: yunohost.hook <lambda> - [970.1] ./_common.sh: line 36:  3014 Terminated              journalctl --unit=$service_name --follow --since=-0 --quiet > "$templog"
Error: yunohost.app app_upgrade - [970.1] Unable to upgrade seafile
Info: yunohost.log close - [970.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 20191027-140309-app_upgrade-seafile --share'
Error: yunohost cli - The following apps were not upgraded: seafile

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

                                    nginx


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

                                    nginx


--- FAIL ---

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


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

Preliminary install...
Start the LXC container..
Create witness files...
Working time: 11 seconds.
Working time: 2 minutes, 58 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [914.1] Installing application seafile…
Warning: moulinette.interface __call__ - 'yunohost app checkurl' is deprecated and will be removed in the future
Warning: yunohost.hook <lambda> - [914.1] 'yunohost app checkurl' is deprecated and will be removed in the future
Error: yunohost.app app_checkurl - [994.1] Packagers /! : 'app checkurl' is deprecated ! Please use the helper 'ynh_webpath_register' instead !
Warning: yunohost.hook <lambda> - [914.1] Packagers /! : 'app checkurl' is deprecated ! Please use the helper 'ynh_webpath_register' instead !
Warning: yunohost.hook <lambda> - [914.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [914.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [914.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [914.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 - [2775.1] Now upgrading app seafile…
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [2775.1] seafile-server.service is not a native service, redirecting to systemd-sysv-install.
Warning: yunohost.hook <lambda> - [2775.1] Executing: /lib/systemd/systemd-sysv-install disable seafile-server
Info:  [#...................] > Fixing old settings...
Warning: yunohost.hook <lambda> - [2775.1] chown: cannot access '/opt/yunohost/seafile': No such file or directory
Warning: yunohost.hook <lambda> - [2775.1] [ERR] !!
Warning: yunohost.hook <lambda> - [2775.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [2775.1] !!
Warning: yunohost.hook <lambda> - [2775.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [2775.1] [DEBUG]: DEBUG   - + getent passwd seafile
Warning: yunohost.hook <lambda> - [2775.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [2775.1] [DEBUG]: DEBUG   - + local 'user_home_dir=-d /opt/yunohost/seafile'
Warning: yunohost.hook <lambda> - [2775.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [2775.1] [DEBUG]: DEBUG   - + local 'shell=--shell /usr/sbin/nologin'
Warning: yunohost.hook <lambda> - [2775.1] [DEBUG]: DEBUG   - + useradd -d /opt/yunohost/seafile --system --user-group seafile --shell /usr/sbin/nologin
Warning: yunohost.hook <lambda> - [2775.1] [DEBUG]: DEBUG   - + ynh_app_setting_set --app seafile --key final_path --value /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [2775.1] [DEBUG]: DEBUG   - + local legacy_args=akv
Warning: yunohost.hook <lambda> - [2775.1] [DEBUG]: DEBUG   -=value=)
Warning: yunohost.hook <lambda> - [2775.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [2775.1] [DEBUG]: DEBUG   - + local app
Warning: yunohost.hook <lambda> - [2775.1] [DEBUG]: DEBUG   - + local key
Warning: yunohost.hook <lambda> - [2775.1] [DEBUG]: DEBUG   - + local value
Warning: yunohost.hook <lambda> - [2775.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args --app seafile --key final_path --value /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [2775.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [2775.1] [DEBUG]: DEBUG   - + ynh_app_setting set seafile final_path /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [2775.1] [DEBUG]: DEBUG   - + ACTION=set
Warning: yunohost.hook <lambda> - [2775.1] [DEBUG]: DEBUG   - + APP=seafile
Warning: yunohost.hook <lambda> - [2775.1] [DEBUG]: DEBUG   - + KEY=final_path
Warning: yunohost.hook <lambda> - [2775.1] [DEBUG]: DEBUG   - + VALUE=/opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [2775.1] [DEBUG]: DEBUG   - + python -
Warning: yunohost.hook <lambda> - [2775.1] [DEBUG]: DEBUG   - + set_permission
Warning: yunohost.hook <lambda> - [2775.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [2775.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_upgrade - [2775.1] Unable to upgrade seafile
Info: yunohost.log close - [2775.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 20191027-141313-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: 18 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: 7 seconds.
Working time: 1 minute, 38 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [902.1] Installing application seafile…
Warning: yunohost.hook <lambda> - [902.1] 
Extracting templates from packages: 61%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [902.1]   Ignoring imageio: markers 'python_version >= "3.4"' don't match your environment
Warning: yunohost.hook <lambda> - [902.1]   Ignoring imageio-ffmpeg: markers 'python_version >= "3.4"' don't match your environment

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

Upgrade...
A LXC container is already running.
Working time: 1 second.
Working time: 15 seconds.
Upgrade failed. (1)
Info: yunohost.app app_upgrade - [5076.1] Now upgrading app seafile…
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [5076.1] seafile-server.service is not a native service, redirecting to systemd-sysv-install.
Warning: yunohost.hook <lambda> - [5076.1] Executing: /lib/systemd/systemd-sysv-install disable seafile-server
Info:  [#...................] > Fixing old settings...
Info:  [#++++...............] > Upgrading source files...
Warning: yunohost.hook <lambda> - [5076.1] Unable to apply patches
Warning: yunohost.hook <lambda> - [5076.1] [ERR] !!
Warning: yunohost.hook <lambda> - [5076.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [5076.1] !!
Warning: yunohost.hook <lambda> - [5076.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [5076.1] [DEBUG]: DEBUG   - + patch -p1
Warning: yunohost.hook <lambda> - [5076.1] [DEBUG]: DEBUG   - patching file seahub/seahub/base/accounts.py
Warning: yunohost.hook <lambda> - [5076.1] [DEBUG]: DEBUG   - + for p in $YNH_CWD/../sources/patches/${source_id}-*.patch
Warning: yunohost.hook <lambda> - [5076.1] [DEBUG]: DEBUG   - + patch -p1
Warning: yunohost.hook <lambda> - [5076.1] [DEBUG]: DEBUG   - patching file seahub/seahub/auth/middleware.py
Warning: yunohost.hook <lambda> - [5076.1] [DEBUG]: DEBUG   - Hunk #1 FAILED at 1.
Warning: yunohost.hook <lambda> - [5076.1] [DEBUG]: DEBUG   - Hunk #2 succeeded at 85 with fuzz 2 (offset 35 lines).
Warning: yunohost.hook <lambda> - [5076.1] [DEBUG]: DEBUG   - 1 out of 2 hunks FAILED -- saving rejects to file seahub/seahub/auth/middleware.py.rej
Warning: yunohost.hook <lambda> - [5076.1] [DEBUG]: DEBUG   - patching file seahub/seahub/base/accounts.py
Warning: yunohost.hook <lambda> - [5076.1] [DEBUG]: DEBUG   - Hunk #1 succeeded at 587 (offset 191 lines).
Warning: yunohost.hook <lambda> - [5076.1] [DEBUG]: DEBUG   - patching file seahub/seahub/settings.py
Warning: yunohost.hook <lambda> - [5076.1] [DEBUG]: DEBUG   - Hunk #1 succeeded at 118 (offset 4 lines).
Warning: yunohost.hook <lambda> - [5076.1] [DEBUG]: DEBUG   - Hunk #2 FAILED at 233.
Warning: yunohost.hook <lambda> - [5076.1] [DEBUG]: DEBUG   - 1 out of 2 hunks FAILED -- saving rejects to file seahub/seahub/settings.py.rej
Warning: yunohost.hook <lambda> - [5076.1] [DEBUG]: DEBUG   - + ynh_die '--message=Unable to apply patches'
Warning: yunohost.hook <lambda> - [5076.1] [DEBUG]: DEBUG   - + local legacy_args=mc
Warning: yunohost.hook <lambda> - [5076.1] [DEBUG]: DEBUG   -=ret_code=)
Warning: yunohost.hook <lambda> - [5076.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [5076.1] [DEBUG]: DEBUG   - + local message
Warning: yunohost.hook <lambda> - [5076.1] [DEBUG]: DEBUG   - + local ret_code
Warning: yunohost.hook <lambda> - [5076.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args '--message=Unable to apply patches'
Warning: yunohost.hook <lambda> - [5076.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [5076.1] [DEBUG]: DEBUG   - + echo 'Unable to apply patches'
Warning: yunohost.hook <lambda> - [5076.1] [DEBUG]: DEBUG   - + exit 1
Warning: yunohost.hook <lambda> - [5076.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_upgrade - [5076.1] Unable to upgrade seafile
Info: yunohost.log close - [5076.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 20191027-141851-app_upgrade-seafile --share'
Error: yunohost cli - The following apps were not upgraded: seafile

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

                                    nginx


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

                                    nginx


--- FAIL ---

Deleting...
A LXC container is already running.
Working time: 1 second.
Working time: 15 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 17 seconds.
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 17 minutes, 12 seconds.


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


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


>> Port already used... [Test 11/13]
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 6 seconds.
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 minutes, 20 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [967.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> - [967.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> - [967.1] lsblk: /dev/vda1: not a block device
Info:  [####+...............] > Cleaning data directory...
Info:  [#####...............] > Creating base directory...
Info:  [#####+++............] > Installing sources files...
Info:  [########............] > Configuring MySQL database...
Info:  [########++..........] > Configuring application...
Info:  [##########+.........] > Configuring a systemd service...
Warning: yunohost.hook <lambda> - [967.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [967.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [###########.........] > Configuring nginx...
Warning: yunohost.hook <lambda> - [967.1] [DEBUG] mykey.peer
Warning: yunohost.hook <lambda> - [967.1] seafile.ini
Warning: yunohost.hook <lambda> - [967.1] failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [967.1] [ERR] !!
Warning: yunohost.hook <lambda> - [967.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [967.1] !!
Warning: yunohost.hook <lambda> - [967.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [967.1] [DEBUG]: DEBUG   - + chmod +x /opt/yunohost/seafile/first_launch.exp
Warning: yunohost.hook <lambda> - [967.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [967.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /home/yunohost.app/seafile-data
Warning: yunohost.hook <lambda> - [967.1] [DEBUG]: DEBUG   - + sleep 5
Warning: yunohost.hook <lambda> - [967.1] [DEBUG]: DEBUG   - + ynh_debug_exec ls /opt/yunohost/seafile/ccnet
Warning: - mykey.peer
Warning: yunohost.hook <lambda> - [967.1] [DEBUG]: DEBUG   - ++ eval ls /opt/yunohost/seafile/ccnet
Warning: - seafile.ini
Warning: yunohost.hook <lambda> - [967.1] [DEBUG]: DEBUG   - +++ ls /opt/yunohost/seafile/ccnet
Warning: yunohost.hook <lambda> - [967.1] [DEBUG]: DEBUG   - + ynh_debug '--message=mykey.peer
Warning: yunohost.hook <lambda> - [967.1] [DEBUG]: DEBUG   - seafile.ini'
Warning: yunohost.hook <lambda> - [967.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [967.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [967.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: yunohost.hook <lambda> - [967.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [967.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> - [967.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [967.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 20191027-142804-app_install-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [967.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [967.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Info:  [##+.................] > Removing logs...
Warning: yunohost.hook <lambda> - [967.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [967.1] KeyError: 'skipped_urls'
Info:  /var/log/seafile wasn't deleted because it doesn't exist.
Info:  [###+................] > Removing code...
Info:  /var/www/seafile wasn't deleted because it doesn't exist.
Info:  [####+...............] > Removing user data...
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [#####+..............] > Removing databases...
Warning: yunohost.hook <lambda> - [967.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [######..............] > Removing systemd units...
Warning: yunohost.hook <lambda> - [967.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> - [967.1] Unknown service 'seafile'
Info:  [##################+.] > Removing seafile service...
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [967.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 20191027-142804-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, 51 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, 38 seconds.
Backup successful. (0)
Info: yunohost.backup _collect_app_files - [974.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 - [974.1] Now creating a backup archive from the files collected…
--- SUCCESS ---

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

Restore after removing the application...
A LXC container is already running.
Working time: 4 seconds.
Working time: 1 minute, 21 seconds.
Restore failed. (1)
Info: yunohost.backup backup_restore - [2578.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [2578.1] Restoring application seafile…
Info:  [....................] > Loading settings...
Info:  [+++++++.............] > Restoring files...
Info:  [#######+............] > Configuring system user...
Info:  [########+++.........] > Reinstalling dependencies...
Warning: yunohost.hook <lambda> - [2578.1] lsblk: /dev/vda1: not a block device
Warning: yunohost.hook <lambda> - [2578.1] sudo: unknown user: seafile
Warning: yunohost.hook <lambda> - [2578.1] sudo: unable to initialize policy plugin
Warning: yunohost.hook <lambda> - [2578.1] [ERR] !!
Warning: yunohost.hook <lambda> - [2578.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [2578.1] !!
Warning: yunohost.hook <lambda> - [2578.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [2578.1] [DEBUG]: DEBUG   - + echo
Warning: yunohost.hook <lambda> - [2578.1] [DEBUG]: DEBUG   - + grep --quiet mmc
Warning: yunohost.hook <lambda> - [2578.1] [DEBUG]: DEBUG   - + return 1
Warning: yunohost.hook <lambda> - [2578.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [2578.1] [DEBUG]: DEBUG   - + local swap_size=2048000
Warning: yunohost.hook <lambda> - [2578.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [2578.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [2578.1] [DEBUG]: DEBUG   - + fallocate -l 2048000K /swap_seafile
Warning: yunohost.hook <lambda> - [2578.1] [DEBUG]: DEBUG   - + chmod 0600 /swap_seafile
Warning: yunohost.hook <lambda> - [2578.1] [DEBUG]: DEBUG   - + mkswap /swap_seafile
Warning: yunohost.hook <lambda> - [2578.1] [DEBUG]: DEBUG   - Setting up swapspace version 1, size = 2 GiB (2097147904 bytes)
Warning: yunohost.hook <lambda> - [2578.1] [DEBUG]: DEBUG   - no label, UUID=0541f013-06e3-432a-8fc9-8af57dbf6ec8
Warning: yunohost.hook <lambda> - [2578.1] [DEBUG]: DEBUG   - + swapon /swap_seafile
Warning: yunohost.hook <lambda> - [2578.1] [DEBUG]: DEBUG   - + echo -e '/swap_seafile swap swap defaults 0 0 #Swap added by seafile'
Warning: yunohost.hook <lambda> - [2578.1] [DEBUG]: DEBUG   - + sudo -u seafile pip install --user --upgrade Pillow 'moviepy<1.0' certifi idna
Warning: yunohost.hook <lambda> - [2578.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.backup _restore_app - [2578.1] Unable to restore the app 'seafile'
Info: yunohost.log close - [2578.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 20191027-143407-backup_restore_app-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [2578.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [2578.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Info:  [##+.................] > Removing logs...
Warning: yunohost.hook <lambda> - [2578.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [2578.1] ValueError: list.remove(x): x not in list
Info:  /var/log/seafile wasn't deleted because it doesn't exist.
Info:  [###+................] > Removing code...
Info:  /var/www/seafile wasn't deleted because it doesn't exist.
Info:  [####+...............] > Removing user data...
Warning: yunohost.hook <lambda> - [2578.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> - [2578.1] [WARN] Database seafiledb not found
Warning: yunohost.hook <lambda> - [2578.1] [WARN] Database seahubdb not found
Info:  [######..............] > Removing systemd units...
Warning: yunohost.hook <lambda> - [2578.1] [WARN] The user seafile was not found
Info:  [######+.............] > Removing the dedicated system user...
Info:  [#######+++++++++....] > Removing dependencies
Info:  [################+...] > Removing nginx configuration...
Info:  [#################+..] > Removing fail2ban configuration...
Error: yunohost cli - Unknown service 'seafile'
Warning: yunohost.hook <lambda> - [2578.1] Unknown service 'seafile'
Info:  [##################+.] > Removing seafile service...
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [2578.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: 25 seconds.
Restore the previous snapshot.
Working time: 11 seconds.

Restore on a clean YunoHost system...
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 2 minutes, 1 second.
Restore failed. (1)
Info: yunohost.backup backup_restore - [904.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [904.1] Restoring application seafile…
Info:  [....................] > Loading settings...
Info:  [+++++++.............] > Restoring files...
Info:  [#######+............] > Configuring system user...
Info:  [########+++.........] > Reinstalling dependencies...
Warning: yunohost.hook <lambda> - [904.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> - [904.1] lsblk: /dev/vda1: not a block device
Warning: yunohost.hook <lambda> - [904.1] sudo: unknown user: seafile
Warning: yunohost.hook <lambda> - [904.1] sudo: unable to initialize policy plugin
Warning: yunohost.hook <lambda> - [904.1] [ERR] !!
Warning: yunohost.hook <lambda> - [904.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [904.1] !!
Warning: yunohost.hook <lambda> - [904.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [904.1] [DEBUG]: DEBUG   - + local free_space=7614404
Warning: yunohost.hook <lambda> - [904.1] [DEBUG]: DEBUG   - + local usable_space=3807202
Warning: yunohost.hook <lambda> - [904.1] [DEBUG]: DEBUG   - + SD_CARD_CAN_SWAP=0
Warning: yunohost.hook <lambda> - [904.1] [DEBUG]: DEBUG   - + ynh_is_main_device_a_sd_card
Warning: yunohost.hook <lambda> - [904.1] [DEBUG]: DEBUG   - +++ findmnt / --nofsroot --uniq --output source --noheadings --first-only
Warning: yunohost.hook <lambda> - [904.1] [DEBUG]: DEBUG   - ++ lsblk --output PKNAME --noheadings /dev/vda1
Warning: yunohost.hook <lambda> - [904.1] [DEBUG]: DEBUG   - + local main_device=
Warning: - sudo: unknown user: seafile
Warning: yunohost.hook <lambda> - [904.1] [DEBUG]: DEBUG   - + echo
Warning: - sudo: unable to initialize policy plugin
Warning: yunohost.hook <lambda> - [904.1] [DEBUG]: DEBUG   - + grep --quiet mmc
Warning: yunohost.hook <lambda> - [904.1] [DEBUG]: DEBUG   - + return 1
Warning: yunohost.hook <lambda> - [904.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [904.1] [DEBUG]: DEBUG   - + local swap_size=2048000
Warning: yunohost.hook <lambda> - [904.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [904.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [904.1] [DEBUG]: DEBUG   - + sudo -u seafile pip install --user --upgrade Pillow 'moviepy<1.0' certifi idna
Warning: yunohost.hook <lambda> - [904.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.backup _restore_app - [904.1] Unable to restore the app 'seafile'
Info: yunohost.log close - [904.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 20191027-143619-backup_restore_app-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [904.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [904.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Info:  [##+.................] > Removing logs...
Warning: yunohost.hook <lambda> - [904.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [904.1] KeyError: 'skipped_urls'
Info:  /var/log/seafile wasn't deleted because it doesn't exist.
Info:  [###+................] > Removing code...
Info:  /var/www/seafile wasn't deleted because it doesn't exist.
Info:  [####+...............] > Removing user data...
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [#####+..............] > Removing databases...
Warning: yunohost.hook <lambda> - [904.1] [WARN] Database ccnetdb not found
Warning: yunohost.hook <lambda> - [904.1] [WARN] Database seafiledb not found
Warning: yunohost.hook <lambda> - [904.1] [WARN] Database seahubdb not found
Info:  [######..............] > Removing systemd units...
Warning: yunohost.hook <lambda> - [904.1] [WARN] The user seafile was not found
Info:  [######+.............] > Removing the dedicated system user...
Info:  [#######+++++++++....] > Removing dependencies
Info:  [################+...] > Removing nginx configuration...
Info:  [#################+..] > Removing fail2ban configuration...
Info:  [##################+.] > Removing seafile service...
Error: yunohost cli - Unknown service 'seafile'
Warning: yunohost.hook <lambda> - [904.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [904.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: 14 seconds.
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 7 minutes, 17 seconds.


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

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 20 seconds.
Change the url from sous.domain.tld/path to sous.domain.tld/path_2...
Start the LXC container.
Create witness files...
Working time: 11 seconds.
Working time: 5 minutes, 29 seconds.
Change_url script successful. (0)
Info:  [+...................] > Loading installation settings...
Info:  [#++.................] > Updating nginx configuration...
Info:  [###+................] > Stoping services...
Warning: yunohost.hook <lambda> - [981.1] Please wait, the service seafile is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [981.1] [WARN] The service seafile didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [981.1] [WARN] Please find here an extract of the end of the log of the service seafile:
Warning: yunohost.hook <lambda> - [981.1] -- Logs begin at Sun 2019-10-27 14:38:18 UTC, end at Sun 2019-10-27 14:39:01 UTC. --
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:38:22 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:38:22 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:38:26 pchecker_lxc seafile.sh[651]: [10/27/19 14:38:25] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:38:26 pchecker_lxc seafile.sh[651]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:38:26 pchecker_lxc seafile-control[912]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:38:29 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:38:33 pchecker_lxc systemd[1]: Stopping Seafile...
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:38:33 pchecker_lxc seafile.sh[1223]: Stopping seafile server ...
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:38:33 pchecker_lxc systemd[1]: Stopped Seafile.
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:38:42 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:38:42 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:38:42 pchecker_lxc seafile.sh[2038]: [10/27/19 14:38:42] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:38:42 pchecker_lxc seafile.sh[2038]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:38:42 pchecker_lxc seafile-control[2059]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:38:45 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [981.1] --
Warning: yunohost.hook <lambda> - [981.1] [10/27/19 13:52:55] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [981.1] [10/27/19 13:52:55] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [981.1] [10/27/19 13:52:55] 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> - [981.1] [10/27/19 13:52:55] seafile-controller.c(94): spawned seaf-server, pid 5683
Warning: yunohost.hook <lambda> - [981.1] [10/27/19 13:52:55] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [981.1] [10/27/19 13:52:55] 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> - [981.1] [10/27/19 13:52:55] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 5684
Warning: yunohost.hook <lambda> - [981.1] [10/27/19 13:53:14] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [981.1] [10/27/19 14:38:26] seafile-controller.c(175): starting ccnet-server ...
Warning: yunohost.hook <lambda> - [981.1] [10/27/19 14:38:26] 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> - [981.1] [10/27/19 14:38:26] seafile-controller.c(94): spawned ccnet-server, pid 913
Warning: yunohost.hook <lambda> - [981.1] [10/27/19 14:38:27] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [981.1] [10/27/19 14:38:27] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [981.1] [10/27/19 14:38:27] 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> - [981.1] [10/27/19 14:38:27] seafile-controller.c(94): spawned seaf-server, pid 917
Warning: yunohost.hook <lambda> - [981.1] [10/27/19 14:38:27] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [981.1] [10/27/19 14:38:27] 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> - [981.1] [10/27/19 14:38:27] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 918
Warning: yunohost.hook <lambda> - [981.1] [10/27/19 14:38:33] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [981.1] [10/27/19 14:38:33] seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [981.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [981.1] -- Logs begin at Sun 2019-10-27 14:38:18 UTC, end at Sun 2019-10-27 14:43:54 UTC. --
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:38:29 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:38:29 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:38:29 pchecker_lxc seahub.sh[953]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:38:29 pchecker_lxc seahub.sh[953]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:38:33 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:43:48 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:43:48 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:43:49 pchecker_lxc seahub.sh[2752]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:43:49 pchecker_lxc seahub.sh[2752]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:43:54 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:43:54 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:43:54 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [981.1] Oct 27 14:43:54 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [981.1] [ERR] !!
Warning: yunohost.hook <lambda> - [981.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [981.1] !!
Warning: yunohost.hook <lambda> - [981.1] Please find here an extract of the log before the crash:
Warning: -: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [981.1] [DEBUG]: DEBUG   -'
Warning: -: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [981.1] [DEBUG]: DEBUG   - + trap '' EXIT
Warning: -: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [981.1] [DEBUG]: DEBUG   - + set +eu
Warning: -: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [981.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> - [981.1] [DEBUG]: DEBUG   - + ynh_print_err '--message=!!
Warning: yunohost.hook <lambda> - [981.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [981.1] !!'
Warning: yunohost.hook <lambda> - [981.1] [DEBUG]: DEBUG   - + local legacy_args=m
Warning: yunohost.hook <lambda> - [981.1] [DEBUG]: DEBUG   -=message=)
Warning: yunohost.hook <lambda> - [981.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [981.1] [DEBUG]: DEBUG   - + local message
Warning: yunohost.hook <lambda> - [981.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args '--message=!!
Warning: yunohost.hook <lambda> - [981.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [981.1] !!'
Warning: yunohost.hook <lambda> - [981.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [981.1] [DEBUG]: DEBUG   - !!
Warning: yunohost.hook <lambda> - [981.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [981.1] !!'
Warning: - !!
Warning: yunohost.hook <lambda> - [981.1] [DEBUG]: DEBUG   - !!
Warning: yunohost.hook <lambda> - [981.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [981.1] !!'
Warning: -   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [981.1] [DEBUG]: DEBUG   -'
Warning: - !!
Warning: yunohost.hook <lambda> - [981.1] [DEBUG]: DEBUG   - + set +x
Error: yunohost.app app_change_url - [981.1] Failed to change 'seafile' url.
Info: yunohost.log close - [981.1] The operation 'Change the url of 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20191027-143830-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: 15 seconds.

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 21 seconds.
Change the url from sous.domain.tld/path to sous.domain.tld/...
Start the LXC container..
Create witness files...
Working time: 11 seconds.
Working time: 5 minutes, 30 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> - [994.1] Please wait, the service seafile is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [994.1] [WARN] The service seafile didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [994.1] [WARN] Please find here an extract of the end of the log of the service seafile:
Warning: yunohost.hook <lambda> - [994.1] -- Logs begin at Sun 2019-10-27 14:44:38 UTC, end at Sun 2019-10-27 14:45:06 UTC. --
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:44:42 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:44:42 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:44:46 pchecker_lxc seafile.sh[652]: [10/27/19 14:44:46] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:44:46 pchecker_lxc seafile.sh[652]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:44:46 pchecker_lxc seafile-control[925]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:44:49 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:44:53 pchecker_lxc systemd[1]: Stopping Seafile...
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:44:53 pchecker_lxc seafile.sh[1236]: Stopping seafile server ...
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:44:53 pchecker_lxc systemd[1]: Stopped Seafile.
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:45:03 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:45:03 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:45:03 pchecker_lxc seafile.sh[2051]: [10/27/19 14:45:03] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:45:03 pchecker_lxc seafile.sh[2051]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:45:03 pchecker_lxc seafile-control[2072]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:45:06 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [994.1] --
Warning: yunohost.hook <lambda> - [994.1] [10/27/19 13:52:55] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [994.1] [10/27/19 13:52:55] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [994.1] [10/27/19 13:52:55] seafile-controller.c(79): spawn_process: seaf-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -d /home/yunohost.app/seafile-data -l /opt/yunohost/seafile/logs/seafile.log -P /opt/yunohost/seafile/pids/seaf-server.pid
Warning: yunohost.hook <lambda> - [994.1] [10/27/19 13:52:55] seafile-controller.c(94): spawned seaf-server, pid 5683
Warning: yunohost.hook <lambda> - [994.1] [10/27/19 13:52:55] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [994.1] [10/27/19 13:52:55] seafile-controller.c(79): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/yunohost/seafile/logs/seafdav.log --pid /opt/yunohost/seafile/pids/seafdav.pid --port 8080 --host localhost
Warning: yunohost.hook <lambda> - [994.1] [10/27/19 13:52:55] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 5684
Warning: yunohost.hook <lambda> - [994.1] [10/27/19 13:53:14] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [994.1] [10/27/19 14:44:46] seafile-controller.c(175): starting ccnet-server ...
Warning: yunohost.hook <lambda> - [994.1] [10/27/19 14:44:46] seafile-controller.c(79): spawn_process: ccnet-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -f /opt/yunohost/seafile/logs/ccnet.log -d -P /opt/yunohost/seafile/pids/ccnet.pid
Warning: yunohost.hook <lambda> - [994.1] [10/27/19 14:44:46] seafile-controller.c(94): spawned ccnet-server, pid 926
Warning: yunohost.hook <lambda> - [994.1] [10/27/19 14:44:47] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [994.1] [10/27/19 14:44:47] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [994.1] [10/27/19 14:44:47] seafile-controller.c(79): spawn_process: seaf-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -d /home/yunohost.app/seafile-data -l /opt/yunohost/seafile/logs/seafile.log -P /opt/yunohost/seafile/pids/seaf-server.pid
Warning: yunohost.hook <lambda> - [994.1] [10/27/19 14:44:47] seafile-controller.c(94): spawned seaf-server, pid 930
Warning: yunohost.hook <lambda> - [994.1] [10/27/19 14:44:47] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [994.1] [10/27/19 14:44:47] seafile-controller.c(79): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/yunohost/seafile/logs/seafdav.log --pid /opt/yunohost/seafile/pids/seafdav.pid --port 8080 --host localhost
Warning: yunohost.hook <lambda> - [994.1] [10/27/19 14:44:47] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 931
Warning: yunohost.hook <lambda> - [994.1] [10/27/19 14:44:53] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [994.1] [10/27/19 14:44:53] seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [994.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [994.1] -- Logs begin at Sun 2019-10-27 14:44:38 UTC, end at Sun 2019-10-27 14:50:15 UTC. --
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:44:49 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:44:49 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:44:49 pchecker_lxc seahub.sh[966]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:44:49 pchecker_lxc seahub.sh[966]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:44:53 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:50:09 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:50:09 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:50:09 pchecker_lxc seahub.sh[2718]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:50:09 pchecker_lxc seahub.sh[2718]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:50:15 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:50:15 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:50:15 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [994.1] Oct 27 14:50:15 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [994.1] [ERR] !!
Warning: yunohost.hook <lambda> - [994.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [994.1] !!
Warning: yunohost.hook <lambda> - [994.1] Please find here an extract of the log before the crash:
Warning: -: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [994.1] [DEBUG]: DEBUG   -'
Warning: -: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [994.1] [DEBUG]: DEBUG   - + trap '' EXIT
Warning: -: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [994.1] [DEBUG]: DEBUG   - + set +eu
Warning: -: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [994.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> - [994.1] [DEBUG]: DEBUG   - + ynh_print_err '--message=!!
Warning: yunohost.hook <lambda> - [994.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [994.1] !!'
Warning: yunohost.hook <lambda> - [994.1] [DEBUG]: DEBUG   - + local legacy_args=m
Warning: yunohost.hook <lambda> - [994.1] [DEBUG]: DEBUG   -=message=)
Warning: yunohost.hook <lambda> - [994.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [994.1] [DEBUG]: DEBUG   - + local message
Warning: yunohost.hook <lambda> - [994.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args '--message=!!
Warning: yunohost.hook <lambda> - [994.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [994.1] !!'
Warning: yunohost.hook <lambda> - [994.1] [DEBUG]: DEBUG   - + set +x
Warning: - !!
Warning: yunohost.hook <lambda> - [994.1] [DEBUG]: DEBUG   - !!
Warning: yunohost.hook <lambda> - [994.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [994.1] !!'
Warning: -   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [994.1] [DEBUG]: DEBUG   - !!
Warning: yunohost.hook <lambda> - [994.1]   seafile'''s script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [994.1] !!'
Warning: - !!
Warning: yunohost.hook <lambda> - [994.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [994.1] [DEBUG]: DEBUG   - + set +x
Error: yunohost.app app_change_url - [994.1] Failed to change 'seafile' url.
Info: yunohost.log close - [994.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 20191027-144450-app_change_url-seafile --share'

Try to access by url...
Test url: sous.domain.tld
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 18 seconds.
Root install failed, impossible to perform this test...

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 22 seconds.
Change the url from sous.domain.tld/path to domain.tld/path_2...
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> - [968.1] Please wait, the service seafile is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [968.1] [WARN] The service seafile didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [968.1] [WARN] Please find here an extract of the end of the log of the service seafile:
Warning: yunohost.hook <lambda> - [968.1] -- Logs begin at Sun 2019-10-27 14:51:02 UTC, end at Sun 2019-10-27 14:51:30 UTC. --
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:51:07 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:51:07 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:51:10 pchecker_lxc seafile.sh[690]: [10/27/19 14:51:10] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:51:10 pchecker_lxc seafile.sh[690]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:51:10 pchecker_lxc seafile-control[923]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:51:13 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:51:17 pchecker_lxc systemd[1]: Stopping Seafile...
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:51:17 pchecker_lxc seafile.sh[1247]: Stopping seafile server ...
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:51:17 pchecker_lxc systemd[1]: Stopped Seafile.
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:51:27 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:51:27 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:51:27 pchecker_lxc seafile.sh[2062]: [10/27/19 14:51:27] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:51:27 pchecker_lxc seafile.sh[2062]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:51:27 pchecker_lxc seafile-control[2083]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:51:30 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [968.1] --
Warning: yunohost.hook <lambda> - [968.1] [10/27/19 13:52:55] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [968.1] [10/27/19 13:52:55] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [968.1] [10/27/19 13:52:55] 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> - [968.1] [10/27/19 13:52:55] seafile-controller.c(94): spawned seaf-server, pid 5683
Warning: yunohost.hook <lambda> - [968.1] [10/27/19 13:52:55] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [968.1] [10/27/19 13:52:55] 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> - [968.1] [10/27/19 13:52:55] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 5684
Warning: yunohost.hook <lambda> - [968.1] [10/27/19 13:53:14] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [968.1] [10/27/19 14:51:10] seafile-controller.c(175): starting ccnet-server ...
Warning: yunohost.hook <lambda> - [968.1] [10/27/19 14:51:10] 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> - [968.1] [10/27/19 14:51:10] seafile-controller.c(94): spawned ccnet-server, pid 924
Warning: yunohost.hook <lambda> - [968.1] [10/27/19 14:51:11] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [968.1] [10/27/19 14:51:11] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [968.1] [10/27/19 14:51:11] 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> - [968.1] [10/27/19 14:51:11] seafile-controller.c(94): spawned seaf-server, pid 928
Warning: yunohost.hook <lambda> - [968.1] [10/27/19 14:51:11] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [968.1] [10/27/19 14:51:11] 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> - [968.1] [10/27/19 14:51:11] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 929
Warning: yunohost.hook <lambda> - [968.1] [10/27/19 14:51:17] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [968.1] [10/27/19 14:51:17] seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [968.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [968.1] -- Logs begin at Sun 2019-10-27 14:51:02 UTC, end at Sun 2019-10-27 14:56:38 UTC. --
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:51:13 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:51:13 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:51:13 pchecker_lxc seahub.sh[970]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:51:13 pchecker_lxc seahub.sh[970]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:51:17 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:56:33 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:56:33 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:56:33 pchecker_lxc seahub.sh[2729]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:56:33 pchecker_lxc seahub.sh[2729]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:56:38 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:56:38 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:56:38 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [968.1] Oct 27 14:56:38 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [968.1] [ERR] !!
Warning: yunohost.hook <lambda> - [968.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [968.1] !!
Warning: yunohost.hook <lambda> - [968.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [968.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [968.1] [DEBUG]: DEBUG   - + local pid_tail=2726
Warning: yunohost.hook <lambda> - [968.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [968.1] [DEBUG]: DEBUG   - + systemctl start seahub
Warning: yunohost.hook <lambda> - [968.1] [DEBUG]: DEBUG   - + journalctl --unit=seahub --follow --since=-0 --quiet
Warning: yunohost.hook <lambda> - [968.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> - [968.1] [DEBUG]: DEBUG   - + test -e systemd
Warning: - See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [968.1] [DEBUG]: DEBUG   - + false
Warning: - -- Logs begin at Sun 2019-10-27 14:51:02 UTC, end at Sun 2019-10-27 14:56:38 UTC. --
Warning: yunohost.hook <lambda> - [968.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_change_url - [968.1] Failed to change 'seafile' url.
Info: yunohost.log close - [968.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 20191027-145113-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: 18 seconds.

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 22 seconds.
Change the url from sous.domain.tld/path to domain.tld/...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 5 minutes, 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> - [960.1] Please wait, the service seafile is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [960.1] [WARN] The service seafile didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [960.1] [WARN] Please find here an extract of the end of the log of the service seafile:
Warning: yunohost.hook <lambda> - [960.1] -- Logs begin at Sun 2019-10-27 14:57:23 UTC, end at Sun 2019-10-27 14:57:51 UTC. --
Warning: yunohost.hook <lambda> - [960.1] Oct 27 14:57:27 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [960.1] Oct 27 14:57:27 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [960.1] Oct 27 14:57:31 pchecker_lxc seafile.sh[646]: [10/27/19 14:57:31] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [960.1] Oct 27 14:57:31 pchecker_lxc seafile.sh[646]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [960.1] Oct 27 14:57:31 pchecker_lxc seafile-control[911]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [960.1] Oct 27 14:57:34 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [960.1] Oct 27 14:57:38 pchecker_lxc systemd[1]: Stopping Seafile...
Warning: yunohost.hook <lambda> - [960.1] Oct 27 14:57:38 pchecker_lxc seafile.sh[1239]: Stopping seafile server ...
Warning: yunohost.hook <lambda> - [960.1] Oct 27 14:57:38 pchecker_lxc systemd[1]: Stopped Seafile.
Warning: yunohost.hook <lambda> - [960.1] Oct 27 14:57:47 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [960.1] Oct 27 14:57:47 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [960.1] Oct 27 14:57:48 pchecker_lxc seafile.sh[2054]: [10/27/19 14:57:48] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [960.1] Oct 27 14:57:48 pchecker_lxc seafile.sh[2054]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [960.1] Oct 27 14:57:48 pchecker_lxc seafile-control[2075]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [960.1] Oct 27 14:57:51 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [960.1] --
Warning: yunohost.hook <lambda> - [960.1] [10/27/19 13:52:55] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [960.1] [10/27/19 13:52:55] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [960.1] [10/27/19 13:52:55] 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> - [960.1] [10/27/19 13:52:55] seafile-controller.c(94): spawned seaf-server, pid 5683
Warning: yunohost.hook <lambda> - [960.1] [10/27/19 13:52:55] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [960.1] [10/27/19 13:52:55] 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> - [960.1] [10/27/19 13:52:55] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 5684
Warning: yunohost.hook <lambda> - [960.1] [10/27/19 13:53:14] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [960.1] [10/27/19 14:57:31] seafile-controller.c(175): starting ccnet-server ...
Warning: yunohost.hook <lambda> - [960.1] [10/27/19 14:57:31] 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> - [960.1] [10/27/19 14:57:31] seafile-controller.c(94): spawned ccnet-server, pid 912
Warning: yunohost.hook <lambda> - [960.1] [10/27/19 14:57:32] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [960.1] [10/27/19 14:57:32] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [960.1] [10/27/19 14:57:32] 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> - [960.1] [10/27/19 14:57:32] seafile-controller.c(94): spawned seaf-server, pid 917
Warning: yunohost.hook <lambda> - [960.1] [10/27/19 14:57:32] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [960.1] [10/27/19 14:57:32] 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> - [960.1] [10/27/19 14:57:32] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 918
Warning: yunohost.hook <lambda> - [960.1] [10/27/19 14:57:38] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [960.1] [10/27/19 14:57:38] seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [960.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [960.1] -- Logs begin at Sun 2019-10-27 14:57:23 UTC, end at Sun 2019-10-27 15:02:59 UTC. --
Warning: yunohost.hook <lambda> - [960.1] Oct 27 14:57:34 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [960.1] Oct 27 14:57:34 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [960.1] Oct 27 14:57:34 pchecker_lxc seahub.sh[962]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [960.1] Oct 27 14:57:34 pchecker_lxc seahub.sh[962]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [960.1] Oct 27 14:57:38 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [960.1] Oct 27 15:02:54 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [960.1] Oct 27 15:02:54 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [960.1] Oct 27 15:02:54 pchecker_lxc seahub.sh[2721]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [960.1] Oct 27 15:02:54 pchecker_lxc seahub.sh[2721]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [960.1] Oct 27 15:02:59 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [960.1] Oct 27 15:02:59 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [960.1] Oct 27 15:02:59 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [960.1] Oct 27 15:02:59 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [960.1] [ERR] !!
Warning: yunohost.hook <lambda> - [960.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [960.1] !!
Warning: yunohost.hook <lambda> - [960.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [960.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [960.1] [DEBUG]: DEBUG   - + local pid_tail=2718
Warning: yunohost.hook <lambda> - [960.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [960.1] [DEBUG]: DEBUG   - + systemctl start seahub
Warning: yunohost.hook <lambda> - [960.1] [DEBUG]: DEBUG   - + journalctl --unit=seahub --follow --since=-0 --quiet
Warning: yunohost.hook <lambda> - [960.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> - [960.1] [DEBUG]: DEBUG   - + test -e systemd
Warning: - See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [960.1] [DEBUG]: DEBUG   - + false
Warning: - -- Logs begin at Sun 2019-10-27 14:57:23 UTC, end at Sun 2019-10-27 15:02:59 UTC. --
Warning: yunohost.hook <lambda> - [960.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Warning: yunohost.hook <lambda> - [960.1] /usr/share/yunohost/helpers.d/logging: line 1:  2718 Terminated              journalctl --unit=$service_name --follow --since=-0 --quiet > "$templog"
Error: yunohost.app app_change_url - [960.1] Failed to change 'seafile' url.
Info: yunohost.log close - [960.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 20191027-145734-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: 4 seconds.
Working time for this test: 25 minutes, 28 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, 13 minutes, 18 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

Sun Oct 27 15:04:07 UTC 2019
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE