FailedConsole Output

Skipping 24 KB.. Full Log
93m yunohost.hook <lambda> - [2080.1] [DEBUG]: DEBUG   - ++ eval ls /opt/yunohost/seafile/ccnet
Warning: - seafile.ini
Warning: yunohost.hook <lambda> - [2080.1] [DEBUG]: DEBUG   - +++ ls /opt/yunohost/seafile/ccnet
Warning: yunohost.hook <lambda> - [2080.1] [DEBUG]: DEBUG   - + ynh_debug '--message=mykey.peer
Warning: yunohost.hook <lambda> - [2080.1] [DEBUG]: DEBUG   - seafile.ini'
Warning: yunohost.hook <lambda> - [2080.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [2080.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [2080.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: yunohost.hook <lambda> - [2080.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [2080.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> - [2080.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [2080.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 20190805-224533-app_install-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [2080.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [2080.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Warning: yunohost.hook <lambda> - [2080.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [2080.1] ValueError: list.remove(x): x not in list
Info:  [##..................] > Removing logs...
Info:  /var/log/seafile wasn't deleted because it doesn't exist.
Info:  [##+.................] > Removing code...
Info:  /var/www/seafile wasn't deleted because it doesn't exist.
Info:  [###+++++++..........] > Backing up user data...
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [##########..........] > Removing databases...
Warning: yunohost.hook <lambda> - [2080.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [##########+.........] > Removing systemd units...
Warning: yunohost.hook <lambda> - [2080.1] Removed /etc/systemd/system/multi-user.target.wants/seahub.service.
Info:  [###########+........] > Removing the dedicated system user...
Info:  [############++++++..] > Removing dependencies
Info:  [##################+.] > Removing configuration...
Info:  /etc/fail2ban/jail.d/seafile.conf wasn't deleted because it doesn't exist.
Info:  /etc/fail2ban/filter.d/seafile.conf wasn't deleted because it doesn't exist.
Error: yunohost cli - Unknown service 'seafile'
Warning: yunohost.hook <lambda> - [2080.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [2080.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 20190805-224533-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: 16 seconds.
Working time for this test: 5 minutes, 52 seconds.


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

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

Upgrade...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 6 minutes, 7 seconds.
Upgrade failed. (1)
Info: yunohost.app app_upgrade - [977.1] Now upgrading app seafile…
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Info:  [#...................] > Fixing old settings...
Info:  [#++++...............] > Upgrading source files...
Info:  [#####+..............] > Upgrading dependencies...
Info:  [######+.............] > Configuring application...
Info:  [#######.............] > Updating systemd units...
Info:  [#######+............] > Protecting directory...
Warning: yunohost.hook <lambda> - [977.1] /usr/share/yunohost/helpers.d/logrotate: line 52: [: -n : integer expression expected
Info:  [########+...........] > Configuring log rotation...
Info:  [#########++++++.....] > Configuring fail2ban...
Info:  [###############+....] > Register seafile service...
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [################++..] > Starting seafile services...
Warning: yunohost.hook <lambda> - [977.1] Please wait, the service seafile is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [977.1] [WARN] The service seafile didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [977.1] [WARN] Please find here an extract of the end of the log of the service seafile:
Warning: yunohost.hook <lambda> - [977.1] -- Logs begin at Mon 2019-08-05 22:47:47 UTC, end at Mon 2019-08-05 22:53:57 UTC. --
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:47:52 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:47:52 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:47:55 pchecker_lxc seafile.sh[678]: [08/05/19 22:47:55] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:47:55 pchecker_lxc seafile.sh[678]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:47:55 pchecker_lxc seafile-control[916]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:47:58 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:48:03 pchecker_lxc systemd[1]: Stopping Seafile...
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:48:04 pchecker_lxc seafile.sh[1179]: Stopping seafile server ...
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:48:04 pchecker_lxc systemd[1]: Stopped Seafile.
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:48:51 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:48:51 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:48:51 pchecker_lxc seafile.sh[2316]: [08/05/19 22:48:51] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:48:51 pchecker_lxc seafile.sh[2316]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:48:51 pchecker_lxc seafile-control[2337]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:48:54 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [977.1] --
Warning: yunohost.hook <lambda> - [977.1] [08/05/19 22:37:48] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [977.1] [08/05/19 22:37:48] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [977.1] [08/05/19 22:37:48] seafile-controller.c(79): spawn_process: seaf-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -d /home/yunohost.app/seafile-data -l /opt/yunohost/seafile/logs/seafile.log -P /opt/yunohost/seafile/pids/seaf-server.pid
Warning: yunohost.hook <lambda> - [977.1] [08/05/19 22:37:48] seafile-controller.c(94): spawned seaf-server, pid 5650
Warning: yunohost.hook <lambda> - [977.1] [08/05/19 22:37:48] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [977.1] [08/05/19 22:37:48] seafile-controller.c(79): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/yunohost/seafile/logs/seafdav.log --pid /opt/yunohost/seafile/pids/seafdav.pid --port 8080 --host localhost
Warning: yunohost.hook <lambda> - [977.1] [08/05/19 22:37:48] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 5651
Warning: yunohost.hook <lambda> - [977.1] [08/05/19 22:38:08] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [977.1] [08/05/19 22:47:55] seafile-controller.c(175): starting ccnet-server ...
Warning: yunohost.hook <lambda> - [977.1] [08/05/19 22:47:55] seafile-controller.c(79): spawn_process: ccnet-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -f /opt/yunohost/seafile/logs/ccnet.log -d -P /opt/yunohost/seafile/pids/ccnet.pid
Warning: yunohost.hook <lambda> - [977.1] [08/05/19 22:47:55] seafile-controller.c(94): spawned ccnet-server, pid 917
Warning: yunohost.hook <lambda> - [977.1] [08/05/19 22:47:56] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [977.1] [08/05/19 22:47:56] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [977.1] [08/05/19 22:47:56] seafile-controller.c(79): spawn_process: seaf-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -d /home/yunohost.app/seafile-data -l /opt/yunohost/seafile/logs/seafile.log -P /opt/yunohost/seafile/pids/seaf-server.pid
Warning: yunohost.hook <lambda> - [977.1] [08/05/19 22:47:56] seafile-controller.c(94): spawned seaf-server, pid 921
Warning: yunohost.hook <lambda> - [977.1] [08/05/19 22:47:56] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [977.1] [08/05/19 22:47:56] seafile-controller.c(79): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/yunohost/seafile/logs/seafdav.log --pid /opt/yunohost/seafile/pids/seafdav.pid --port 8080 --host localhost
Warning: yunohost.hook <lambda> - [977.1] [08/05/19 22:47:56] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 922
Warning: yunohost.hook <lambda> - [977.1] [08/05/19 22:48:04] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [977.1] [08/05/19 22:48:04] seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [977.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [977.1] -- Logs begin at Mon 2019-08-05 22:47:47 UTC, end at Mon 2019-08-05 22:54:03 UTC. --
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:47:58 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:47:58 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:47:58 pchecker_lxc seahub.sh[953]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:47:58 pchecker_lxc seahub.sh[953]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:48:04 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:53:57 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:53:57 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:53:57 pchecker_lxc seahub.sh[2983]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:53:58 pchecker_lxc seahub.sh[2983]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:54:03 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:54:03 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:54:03 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [977.1] Aug 05 22:54:03 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [977.1] [ERR] !!
Warning: yunohost.hook <lambda> - [977.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [977.1] !!
Warning: yunohost.hook <lambda> - [977.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [977.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [977.1] [DEBUG]: DEBUG   - + local pid_tail=2980
Warning: yunohost.hook <lambda> - [977.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [977.1] [DEBUG]: DEBUG   - + systemctl start seahub
Warning: yunohost.hook <lambda> - [977.1] [DEBUG]: DEBUG   - + journalctl --unit=seahub --follow --since=-0 --quiet
Warning: yunohost.hook <lambda> - [977.1] [DEBUG]: DEBUG   - + journalctl --no-pager --lines=20 -u seahub
Warning: - seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [977.1] [DEBUG]: DEBUG   - + test -e systemd
Warning: - See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [977.1] [DEBUG]: DEBUG   - + false
Warning: - -- Logs begin at Mon 2019-08-05 22:47:47 UTC, end at Mon 2019-08-05 22:54:03 UTC. --
Warning: yunohost.hook <lambda> - [977.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_upgrade - [977.1] Unable to upgrade seafile
Info: yunohost.log close - [977.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 20190805-224801-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: 16 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: 5 seconds.
Working time: 3 minutes, 3 seconds.
Installation successful. (0)
Warning: yunohost.service _run_service_command - [179.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.app app_install - [915.1] Installing application seafile…
Warning: moulinette.interface __call__ - 'yunohost app checkurl' is deprecated and will be removed in the future
Warning: yunohost.hook <lambda> - [915.1] 'yunohost app checkurl' is deprecated and will be removed in the future
Error: yunohost.app app_checkurl - [995.1] Packagers /! : 'app checkurl' is deprecated ! Please use the helper 'ynh_webpath_register' instead !
Warning: yunohost.hook <lambda> - [915.1] Packagers /! : 'app checkurl' is deprecated ! Please use the helper 'ynh_webpath_register' instead !
Warning: yunohost.hook <lambda> - [915.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [915.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [915.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [915.1] 
Extracting templates from packages: 61%
Extracting templates from packages: 100%

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

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

                                    nginx


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

                                    nginx


--- FAIL ---

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


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

Preliminary install...
Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 1 minute, 39 seconds.
Installation successful. (0)
Warning: yunohost.service _run_service_command - [206.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.app app_install - [906.1] Installing application seafile…
Warning: yunohost.hook <lambda> - [906.1] 
Extracting templates from packages: 61%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [906.1]   Ignoring imageio: markers 'python_version >= "3.4"' don't match your environment
Warning: yunohost.hook <lambda> - [906.1]   Ignoring imageio-ffmpeg: markers 'python_version >= "3.4"' don't match your environment

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

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

                                    nginx


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

                                    nginx


--- FAIL ---

Deleting...
A LXC container is already running.
Working time: 1 second.
Working time: 14 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 17 seconds.


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

Preliminary install...
Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 2 minutes, 10 seconds.
Installation successful. (0)
Warning: yunohost.service _run_service_command - [211.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.app app_install - [924.1] Installing application seafile…
Warning: yunohost.hook <lambda> - [924.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%

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

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

                                    nginx


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

                                    nginx


--- FAIL ---

Deleting...
A LXC container is already running.
Working time: 1 second.
Working time: 17 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 15 seconds.
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 17 minutes, 16 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, 12 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [921.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> - [921.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%
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> - [921.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [921.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [###########.........] > Configuring nginx...
Warning: yunohost.hook <lambda> - [921.1] [DEBUG] mykey.peer
Warning: yunohost.hook <lambda> - [921.1] seafile.ini
Warning: yunohost.hook <lambda> - [921.1] failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [921.1] [ERR] !!
Warning: yunohost.hook <lambda> - [921.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [921.1] !!
Warning: yunohost.hook <lambda> - [921.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + chmod +x /opt/yunohost/seafile/first_launch.exp
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /home/yunohost.app/seafile-data
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + sleep 5
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + ynh_debug_exec ls /opt/yunohost/seafile/ccnet
Warning: - mykey.peer
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - ++ eval ls /opt/yunohost/seafile/ccnet
Warning: - seafile.ini
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - +++ ls /opt/yunohost/seafile/ccnet
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + ynh_debug '--message=mykey.peer
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - seafile.ini'
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [921.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> - [921.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [921.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 20190805-230456-app_install-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [921.1] Traceback (most recent call last):
Info:  [##..................] > Removing logs...
Warning: yunohost.hook <lambda> - [921.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Info:  /var/log/seafile wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [921.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [921.1] KeyError: 'skipped_urls'
Info:  [##+.................] > Removing code...
Info:  /var/www/seafile wasn't deleted because it doesn't exist.
Info:  [###+++++++..........] > Backing up user data...
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [##########..........] > Removing databases...
Warning: yunohost.hook <lambda> - [921.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [##########+.........] > Removing systemd units...
Warning: yunohost.hook <lambda> - [921.1] Removed /etc/systemd/system/multi-user.target.wants/seahub.service.
Info:  [###########+........] > Removing the dedicated system user...
Info:  [############++++++..] > Removing dependencies
Info:  [##################+.] > Removing configuration...
Info:  /etc/fail2ban/jail.d/seafile.conf wasn't deleted because it doesn't exist.
Info:  /etc/fail2ban/filter.d/seafile.conf wasn't deleted because it doesn't exist.
Error: yunohost cli - Unknown service 'seafile'
Warning: yunohost.hook <lambda> - [921.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [921.1] Unknown service 'seahub'
Info:  [####################] > Removal of seafile completed
Error: yunohost cli - The operation 'Install 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190805-230456-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: 15 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: 9 seconds.
Working time: 2 minutes, 16 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [906.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> - [906.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%
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> - [906.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [906.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [###########.........] > Configuring nginx...
Warning: yunohost.hook <lambda> - [906.1] [DEBUG] mykey.peer
Warning: yunohost.hook <lambda> - [906.1] seafile.ini
Warning: yunohost.hook <lambda> - [906.1] failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [906.1] [ERR] !!
Warning: yunohost.hook <lambda> - [906.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [906.1] !!
Warning: yunohost.hook <lambda> - [906.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [906.1] [DEBUG]: DEBUG   - + local timeout=300
Warning: yunohost.hook <lambda> - [906.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [906.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [906.1] [DEBUG]: DEBUG   - + action=reload-or-restart
Warning: yunohost.hook <lambda> - [906.1] [DEBUG]: DEBUG   - + systemctl reload-or-restart nginx
Warning: yunohost.hook <lambda> - [906.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [906.1] [DEBUG]: DEBUG   - + cp expect_scripts/first_launch.exp /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [906.1] [DEBUG]: DEBUG   - + chmod +x /opt/yunohost/seafile/first_launch.exp
Warning: yunohost.hook <lambda> - [906.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [906.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /home/yunohost.app/seafile-data
Warning: yunohost.hook <lambda> - [906.1] [DEBUG]: DEBUG   - + sleep 5
Warning: yunohost.hook <lambda> - [906.1] [DEBUG]: DEBUG   - + ynh_debug_exec ls /opt/yunohost/seafile/ccnet
Warning: - mykey.peer
Warning: yunohost.hook <lambda> - [906.1] [DEBUG]: DEBUG   - ++ eval ls /opt/yunohost/seafile/ccnet
Warning: - seafile.ini
Warning: yunohost.hook <lambda> - [906.1] [DEBUG]: DEBUG   - +++ ls /opt/yunohost/seafile/ccnet
Warning: yunohost.hook <lambda> - [906.1] [DEBUG]: DEBUG   - + ynh_debug '--message=mykey.peer
Warning: yunohost.hook <lambda> - [906.1] [DEBUG]: DEBUG   - seafile.ini'
Warning: yunohost.hook <lambda> - [906.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [906.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [906.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: yunohost.hook <lambda> - [906.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [906.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> - [906.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [906.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 20190805-230740-app_install-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [906.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [906.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Info:  [##..................] > Removing logs...
Warning: yunohost.hook <lambda> - [906.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [906.1] KeyError: 'skipped_urls'
Info:  /var/log/seafile wasn't deleted because it doesn't exist.
Info:  [##+.................] > Removing code...
Info:  /var/www/seafile wasn't deleted because it doesn't exist.
Info:  [###+++++++..........] > Backing up user data...
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [##########..........] > Removing databases...
Warning: yunohost.hook <lambda> - [906.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [##########+.........] > Removing systemd units...
Warning: yunohost.hook <lambda> - [906.1] Removed /etc/systemd/system/multi-user.target.wants/seahub.service.
Info:  [###########+........] > Removing the dedicated system user...
Info:  [############++++++..] > Removing dependencies
Info:  [##################+.] > Removing configuration...
Info:  /etc/fail2ban/jail.d/seafile.conf wasn't deleted because it doesn't exist.
Info:  /etc/fail2ban/filter.d/seafile.conf wasn't deleted because it doesn't exist.
Error: yunohost cli - Unknown service 'seafile'
Warning: yunohost.hook <lambda> - [906.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [906.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 20190805-230740-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: 16 seconds.
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 2 minutes, 48 seconds.


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


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

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aA==
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/path/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aC8=
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 16 seconds.
Working time for this test: 2 minutes, 48 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: 23 seconds.

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

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

Restore after removing the application...
A LXC container is already running.
Working time: 1 second.
Working time: 1 minute, 27 seconds.
Restore failed. (1)
Info: yunohost.backup backup_restore - [2539.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [2539.1] Restoring application seafile…
Info:  [....................] > Loading settings...
Info:  [++++++++............] > Restoring files...
Info:  [########++++........] > Reinstalling dependencies...
Warning: yunohost.hook <lambda> - [2539.1] Exception:
Warning: yunohost.hook <lambda> - [2539.1] Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [2539.1]   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
Warning: yunohost.hook <lambda> - [2539.1]     status = self.run(options, args)
Warning: yunohost.hook <lambda> - [2539.1]   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 307, in run
Warning: yunohost.hook <lambda> - [2539.1]     delete=build_delete) as build_dir:
Warning: yunohost.hook <lambda> - [2539.1]   File "/usr/lib/python2.7/dist-packages/pip/utils/build.py", line 22, in __init__
Warning: yunohost.hook <lambda> - [2539.1]     name = os.path.realpath(tempfile.mkdtemp(prefix="pip-build-"))
Warning: yunohost.hook <lambda> - [2539.1]   File "/usr/lib/python2.7/tempfile.py", line 331, in mkdtemp
Warning: yunohost.hook <lambda> - [2539.1]     dir = gettempdir()
Warning: yunohost.hook <lambda> - [2539.1]   File "/usr/lib/python2.7/tempfile.py", line 275, in gettempdir
Warning: yunohost.hook <lambda> - [2539.1]     tempdir = _get_default_tempdir()
Warning: yunohost.hook <lambda> - [2539.1]   File "/usr/lib/python2.7/tempfile.py", line 217, in _get_default_tempdir
Warning: yunohost.hook <lambda> - [2539.1]     ("No usable temporary directory found in %s" % dirlist))
Warning: yunohost.hook <lambda> - [2539.1] IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/yunohost.backup/tmp/Backup_test/apps/seafile/backup']
Warning: yunohost.hook <lambda> - [2539.1] [ERR] !!
Warning: yunohost.hook <lambda> - [2539.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [2539.1] !!
Warning: yunohost.hook <lambda> - [2539.1] Please find here an extract of the log before the crash:
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/utils/build.py", line 22, in __init__
Warning: -     name = os.path.realpath(tempfile.mkdtemp(prefix="pip-build-"))
Warning: -   File "/usr/lib/python2.7/tempfile.py", line 331, in mkdtemp
Warning: -     dir = gettempdir()
Warning: -   File "/usr/lib/python2.7/tempfile.py", line 275, in gettempdir
Warning: -     tempdir = _get_default_tempdir()
Warning: -   File "/usr/lib/python2.7/tempfile.py", line 217, in _get_default_tempdir
Warning: -     ("No usable temporary directory found in %s" % dirlist))
Warning: -
Warning: yunohost.hook <lambda> - [2539.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.backup _restore_app - [2539.1] Unable to restore the app 'seafile'
Info: yunohost.log close - [2539.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 20190805-231908-backup_restore_app-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [2539.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [2539.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Info:  [##..................] > Removing logs...
Warning: yunohost.hook <lambda> - [2539.1]     data["skipped_urls"].remove("/seafhttp")
Info:  /var/log/seafile wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [2539.1] ValueError: list.remove(x): x not in list
Info:  [##+.................] > Removing code...
Info:  /var/www/seafile wasn't deleted because it doesn't exist.
Info:  [###+++++++..........] > Backing up user data...
Warning: yunohost.hook <lambda> - [2539.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> - [2539.1] [WARN] Database seafiledb not found
Warning: yunohost.hook <lambda> - [2539.1] [WARN] Database seahubdb not found
Info:  [##########+.........] > Removing systemd units...
Info:  [###########+........] > Removing the dedicated system user...
Info:  [############++++++..] > Removing dependencies
Info:  [##################+.] > Removing configuration...
Error: yunohost cli - Unknown service 'seafile'
Warning: yunohost.hook <lambda> - [2539.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [2539.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: 28 seconds.
Restore the previous snapshot.
Working time: 12 seconds.

Restore on a clean YunoHost system...
Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 2 minutes, 2 seconds.
Restore failed. (1)
Info: yunohost.backup backup_restore - [923.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [923.1] Restoring application seafile…
Info:  [....................] > Loading settings...
Info:  [++++++++............] > Restoring files...
Info:  [########++++........] > Reinstalling dependencies...
Warning: yunohost.hook <lambda> - [923.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [923.1] Exception:
Warning: yunohost.hook <lambda> - [923.1] Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [923.1]   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
Warning: yunohost.hook <lambda> - [923.1]     status = self.run(options, args)
Warning: yunohost.hook <lambda> - [923.1]   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 307, in run
Warning: yunohost.hook <lambda> - [923.1]     delete=build_delete) as build_dir:
Warning: yunohost.hook <lambda> - [923.1]   File "/usr/lib/python2.7/dist-packages/pip/utils/build.py", line 22, in __init__
Warning: yunohost.hook <lambda> - [923.1]     name = os.path.realpath(tempfile.mkdtemp(prefix="pip-build-"))
Warning: yunohost.hook <lambda> - [923.1]   File "/usr/lib/python2.7/tempfile.py", line 331, in mkdtemp
Warning: yunohost.hook <lambda> - [923.1]     dir = gettempdir()
Warning: yunohost.hook <lambda> - [923.1]   File "/usr/lib/python2.7/tempfile.py", line 275, in gettempdir
Warning: yunohost.hook <lambda> - [923.1]     tempdir = _get_default_tempdir()
Warning: yunohost.hook <lambda> - [923.1]   File "/usr/lib/python2.7/tempfile.py", line 217, in _get_default_tempdir
Warning: yunohost.hook <lambda> - [923.1]     ("No usable temporary directory found in %s" % dirlist))
Warning: yunohost.hook <lambda> - [923.1] IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/yunohost.backup/tmp/Backup_test/apps/seafile/backup']
Warning: yunohost.hook <lambda> - [923.1] [ERR] !!
Warning: yunohost.hook <lambda> - [923.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [923.1] !!
Warning: yunohost.hook <lambda> - [923.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [923.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args --app=seafile --key=apt_dependencies '--value=python2.7, python-pip, libpython2.7, python-setuptools, python-ldap, python-urllib3, python-simplejson, python-imaging, python-mysqldb, python-flup, expect, python-requests, python-dev, ffmpeg, python-memcache, libjpeg62-turbo-dev, zlib1g-dev'
Warning: yunohost.hook <lambda> - [923.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [923.1] [DEBUG]: DEBUG   - + ynh_app_setting set seafile apt_dependencies 'python2.7, python-pip, libpython2.7, python-setuptools, python-ldap, python-urllib3, python-simplejson, python-imaging, python-mysqldb, python-flup, expect, python-requests, python-dev, ffmpeg, python-memcache, libjpeg62-turbo-dev, zlib1g-dev'
Warning: yunohost.hook <lambda> - [923.1] [DEBUG]: DEBUG   - + ACTION=set
Warning: yunohost.hook <lambda> - [923.1] [DEBUG]: DEBUG   - + APP=seafile
Warning: yunohost.hook <lambda> - [923.1] [DEBUG]: DEBUG   - + KEY=apt_dependencies
Warning: yunohost.hook <lambda> - [923.1] [DEBUG]: DEBUG   - + VALUE='python2.7, python-pip, libpython2.7, python-setuptools, python-ldap, python-urllib3, python-simplejson, python-imaging, python-mysqldb, python-flup, expect, python-requests, python-dev, ffmpeg, python-memcache, libjpeg62-turbo-dev, zlib1g-dev'
Warning: yunohost.hook <lambda> - [923.1] [DEBUG]: DEBUG   - + python -
Warning: yunohost.hook <lambda> - [923.1] [DEBUG]: DEBUG   - + sudo -u seafile pip install --user --upgrade Pillow 'moviepy<1.0' certifi idna
Warning: - Exception:
Warning: - Traceback (most recent call last):
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
Warning: -     status = self.run(options, args)
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 307, in run
Warning: -     delete=build_delete) as build_dir:
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/utils/build.py", line 22, in __init__
Warning: -     name = os.path.realpath(tempfile.mkdtemp(prefix="pip-build-"))
Warning: -   File "/usr/lib/python2.7/tempfile.py", line 331, in mkdtemp
Warning: -     dir = gettempdir()
Warning: -   File "/usr/lib/python2.7/tempfile.py", line 275, in gettempdir
Warning: -     tempdir = _get_default_tempdir()
Warning: -   File "/usr/lib/python2.7/tempfile.py", line 217, in _get_default_tempdir
Warning: -     ("No usable temporary directory found in %s" % dirlist))
Warning: -
Warning: yunohost.hook <lambda> - [923.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.backup _restore_app - [923.1] Unable to restore the app 'seafile'
Info: yunohost.log close - [923.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 20190805-232129-backup_restore_app-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [923.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [923.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Info:  [##..................] > Removing logs...
Warning: yunohost.hook <lambda> - [923.1]     data["skipped_urls"].remove("/seafhttp")
Info:  /var/log/seafile wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [923.1] KeyError: 'skipped_urls'
Info:  [##+.................] > Removing code...
Info:  /var/www/seafile wasn't deleted because it doesn't exist.
Info:  [###+++++++..........] > Backing up user data...
Warning: yunohost.hook <lambda> - [923.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> - [923.1] [WARN] Database seafiledb not found
Warning: yunohost.hook <lambda> - [923.1] [WARN] Database seahubdb not found
Info:  [##########+.........] > Removing systemd units...
Info:  [###########+........] > Removing the dedicated system user...
Info:  [############++++++..] > Removing dependencies
Info:  [##################+.] > Removing configuration...
Error: yunohost cli - Unknown service 'seafile'
Warning: yunohost.hook <lambda> - [923.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [923.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: 4 seconds.
Working time for this test: 7 minutes, 30 seconds.


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

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 23 seconds.
Change the url from sous.domain.tld/path to sous.domain.tld/path_2...
Start the LXC containerStart the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 5 minutes, 32 seconds.
Change_url script successful. (0)
Info:  [+...................] > Loading installation settings...
Info:  [#++.................] > Updating nginx configuration...
Info:  [###+................] > Stoping services...
Info:  [####++..............] > Updating seafile configuration...
Info:  [######++++++++++....] > Updating seafile database
Info:  [################++..] > Starting services...
Warning: yunohost.hook <lambda> - [978.1] Please wait, the service seafile is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [978.1] [WARN] The service seafile didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [978.1] [WARN] Please find here an extract of the end of the log of the service seafile:
Warning: yunohost.hook <lambda> - [978.1] -- Logs begin at Mon 2019-08-05 23:23:32 UTC, end at Mon 2019-08-05 23:23:58 UTC. --
Warning: yunohost.hook <lambda> - [978.1] Aug 05 23:23:36 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [978.1] Aug 05 23:23:36 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [978.1] Aug 05 23:23:40 pchecker_lxc seafile.sh[676]: [08/05/19 23:23:40] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [978.1] Aug 05 23:23:40 pchecker_lxc seafile.sh[676]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [978.1] Aug 05 23:23:40 pchecker_lxc seafile-control[942]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [978.1] Aug 05 23:23:43 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [978.1] Aug 05 23:23:45 pchecker_lxc systemd[1]: Stopping Seafile...
Warning: yunohost.hook <lambda> - [978.1] Aug 05 23:23:45 pchecker_lxc seafile.sh[1236]: Stopping seafile server ...
Warning: yunohost.hook <lambda> - [978.1] Aug 05 23:23:45 pchecker_lxc systemd[1]: Stopped Seafile.
Warning: yunohost.hook <lambda> - [978.1] Aug 05 23:23:55 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [978.1] Aug 05 23:23:55 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [978.1] Aug 05 23:23:55 pchecker_lxc seafile.sh[2051]: [08/05/19 23:23:55] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [978.1] Aug 05 23:23:55 pchecker_lxc seafile.sh[2051]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [978.1] Aug 05 23:23:58 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [978.1] --
Warning: yunohost.hook <lambda> - [978.1] [08/05/19 22:37:48] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [978.1] [08/05/19 22:37:48] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [978.1] [08/05/19 22:37:48] 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> - [978.1] [08/05/19 22:37:48] seafile-controller.c(94): spawned seaf-server, pid 5650
Warning: yunohost.hook <lambda> - [978.1] [08/05/19 22:37:48] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [978.1] [08/05/19 22:37:48] 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> - [978.1] [08/05/19 22:37:48] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 5651
Warning: yunohost.hook <lambda> - [978.1] [08/05/19 22:38:08] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [978.1] [08/05/19 23:23:40] seafile-controller.c(175): starting ccnet-server ...
Warning: yunohost.hook <lambda> - [978.1] [08/05/19 23:23:40] 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> - [978.1] [08/05/19 23:23:40] seafile-controller.c(94): spawned ccnet-server, pid 943
Warning: yunohost.hook <lambda> - [978.1] [08/05/19 23:23:41] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [978.1] [08/05/19 23:23:41] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [978.1] [08/05/19 23:23:41] 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> - [978.1] [08/05/19 23:23:41] seafile-controller.c(94): spawned seaf-server, pid 947
Warning: yunohost.hook <lambda> - [978.1] [08/05/19 23:23:41] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [978.1] [08/05/19 23:23:41] 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> - [978.1] [08/05/19 23:23:41] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 948
Warning: yunohost.hook <lambda> - [978.1] [08/05/19 23:23:45] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [978.1] [08/05/19 23:23:45] seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [978.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [978.1] -- Logs begin at Mon 2019-08-05 23:23:32 UTC, end at Mon 2019-08-05 23:29:07 UTC. --
Warning: yunohost.hook <lambda> - [978.1] Aug 05 23:23:43 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [978.1] Aug 05 23:23:43 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [978.1] Aug 05 23:23:43 pchecker_lxc seahub.sh[1031]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [978.1] Aug 05 23:23:43 pchecker_lxc seahub.sh[1031]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [978.1] Aug 05 23:23:46 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [978.1] Aug 05 23:29:01 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [978.1] Aug 05 23:29:01 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [978.1] Aug 05 23:29:01 pchecker_lxc seahub.sh[2718]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [978.1] Aug 05 23:29:01 pchecker_lxc seahub.sh[2718]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [978.1] Aug 05 23:29:07 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [978.1] Aug 05 23:29:07 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [978.1] Aug 05 23:29:07 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [978.1] Aug 05 23:29:07 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [978.1] [ERR] !!
Warning: yunohost.hook <lambda> - [978.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [978.1] !!
Warning: yunohost.hook <lambda> - [978.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [978.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [978.1] [DEBUG]: DEBUG   - + local pid_tail=2715
Warning: yunohost.hook <lambda> - [978.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [978.1] [DEBUG]: DEBUG   - + systemctl start seahub
Warning: yunohost.hook <lambda> - [978.1] [DEBUG]: DEBUG   - + journalctl --unit=seahub --follow --since=-0 --quiet
Warning: yunohost.hook <lambda> - [978.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> - [978.1] [DEBUG]: DEBUG   - + test -e systemd
Warning: - See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [978.1] [DEBUG]: DEBUG   - + false
Warning: - -- Logs begin at Mon 2019-08-05 23:23:32 UTC, end at Mon 2019-08-05 23:29:07 UTC. --
Warning: yunohost.hook <lambda> - [978.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_change_url - [978.1] Failed to change 'seafile' url.
Info: yunohost.log close - [978.1] The operation 'Change the url of 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190805-232342-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: 19 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.Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 5 minutes, 31 seconds.
Change_url script successful. (0)
Warning: yunohost.service _run_service_command - [200.1] Unable to execute command 'systemctl reload fail2ban'
Info:  [+...................] > Loading installation settings...
Info:  [#++.................] > Updating nginx configuration...
Info:  [###+................] > Stoping services...
Info:  [####++..............] > Updating seafile configuration...
Info:  [######++++++++++....] > Updating seafile database
Info:  [################++..] > Starting services...
Warning: yunohost.hook <lambda> - [969.1] Please wait, the service seafile is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [969.1] [WARN] The service seafile didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [969.1] [WARN] Please find here an extract of the end of the log of the service seafile:
Warning: yunohost.hook <lambda> - [969.1] -- Logs begin at Mon 2019-08-05 23:29:51 UTC, end at Mon 2019-08-05 23:30:17 UTC. --
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:29:56 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:29:56 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:29:59 pchecker_lxc seafile.sh[675]: [08/05/19 23:29:59] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:29:59 pchecker_lxc seafile.sh[675]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:29:59 pchecker_lxc seafile-control[933]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:30:02 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:30:04 pchecker_lxc systemd[1]: Stopping Seafile...
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:30:05 pchecker_lxc seafile.sh[1227]: Stopping seafile server ...
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:30:05 pchecker_lxc systemd[1]: Stopped Seafile.
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:30:14 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:30:14 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:30:14 pchecker_lxc seafile.sh[2043]: [08/05/19 23:30:14] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:30:14 pchecker_lxc seafile.sh[2043]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:30:14 pchecker_lxc seafile-control[2064]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:30:17 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [969.1] --
Warning: yunohost.hook <lambda> - [969.1] [08/05/19 22:37:48] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [969.1] [08/05/19 22:37:48] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [969.1] [08/05/19 22:37:48] 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> - [969.1] [08/05/19 22:37:48] seafile-controller.c(94): spawned seaf-server, pid 5650
Warning: yunohost.hook <lambda> - [969.1] [08/05/19 22:37:48] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [969.1] [08/05/19 22:37:48] 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> - [969.1] [08/05/19 22:37:48] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 5651
Warning: yunohost.hook <lambda> - [969.1] [08/05/19 22:38:08] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [969.1] [08/05/19 23:29:59] seafile-controller.c(175): starting ccnet-server ...
Warning: yunohost.hook <lambda> - [969.1] [08/05/19 23:29:59] 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> - [969.1] [08/05/19 23:29:59] seafile-controller.c(94): spawned ccnet-server, pid 934
Warning: yunohost.hook <lambda> - [969.1] [08/05/19 23:30:00] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [969.1] [08/05/19 23:30:00] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [969.1] [08/05/19 23:30:00] 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> - [969.1] [08/05/19 23:30:00] seafile-controller.c(94): spawned seaf-server, pid 938
Warning: yunohost.hook <lambda> - [969.1] [08/05/19 23:30:00] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [969.1] [08/05/19 23:30:00] 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> - [969.1] [08/05/19 23:30:00] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 939
Warning: yunohost.hook <lambda> - [969.1] [08/05/19 23:30:05] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [969.1] [08/05/19 23:30:05] seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [969.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [969.1] -- Logs begin at Mon 2019-08-05 23:29:51 UTC, end at Mon 2019-08-05 23:35:26 UTC. --
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:30:02 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:30:02 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:30:02 pchecker_lxc seahub.sh[1044]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:30:02 pchecker_lxc seahub.sh[1044]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:30:05 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:35:20 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:35:20 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:35:20 pchecker_lxc seahub.sh[2710]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:35:20 pchecker_lxc seahub.sh[2710]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:35:26 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:35:26 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:35:26 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [969.1] Aug 05 23:35:26 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [969.1] [ERR] !!
Warning: yunohost.hook <lambda> - [969.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [969.1] !!
Warning: yunohost.hook <lambda> - [969.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [969.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [969.1] [DEBUG]: DEBUG   - + local pid_tail=2707
Warning: yunohost.hook <lambda> - [969.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [969.1] [DEBUG]: DEBUG   - + systemctl start seahub
Warning: yunohost.hook <lambda> - [969.1] [DEBUG]: DEBUG   - + journalctl --unit=seahub --follow --since=-0 --quiet
Warning: yunohost.hook <lambda> - [969.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> - [969.1] [DEBUG]: DEBUG   - + test -e systemd
Warning: - See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [969.1] [DEBUG]: DEBUG   - + false
Warning: - -- Logs begin at Mon 2019-08-05 23:29:51 UTC, end at Mon 2019-08-05 23:35:26 UTC. --
Warning: yunohost.hook <lambda> - [969.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Warning: yunohost.hook <lambda> - [969.1] ./_common.sh: line 34:  2707 Terminated              journalctl --unit=$service_name --follow --since=-0 --quiet > "$templog"
Error: yunohost.app app_change_url - [969.1] Failed to change 'seafile' url.
Info: yunohost.log close - [969.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 20190805-233001-app_change_url-seafile --share'

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

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 20 seconds.
Change the url from sous.domain.tld/path to domain.tld/path_2...
Start the LXC container..Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 5 minutes, 29 seconds.
Change_url script successful. (0)
Info:  [+...................] > Loading installation settings...
Info:  [#++.................] > Updating nginx configuration...
Info:  [###+................] > Stoping services...
Info:  [####++..............] > Updating seafile configuration...
Info:  [######++++++++++....] > Updating seafile database
Info:  [################++..] > Starting services...
Warning: yunohost.hook <lambda> - [989.1] Please wait, the service seafile is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [989.1] [WARN] The service seafile didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [989.1] [WARN] Please find here an extract of the end of the log of the service seafile:
Warning: yunohost.hook <lambda> - [989.1] -- Logs begin at Mon 2019-08-05 23:36:08 UTC, end at Mon 2019-08-05 23:39:01 UTC. --
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:36:12 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:36:12 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:36:15 pchecker_lxc seafile.sh[616]: [08/05/19 23:36:15] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:36:15 pchecker_lxc seafile.sh[616]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:36:15 pchecker_lxc seafile-control[897]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:36:18 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:36:24 pchecker_lxc systemd[1]: Stopping Seafile...
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:36:24 pchecker_lxc seafile.sh[1245]: Stopping seafile server ...
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:36:24 pchecker_lxc systemd[1]: Stopped Seafile.
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:36:33 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:36:33 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:36:33 pchecker_lxc seafile.sh[2060]: [08/05/19 23:36:33] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:36:33 pchecker_lxc seafile.sh[2060]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:36:33 pchecker_lxc seafile-control[2081]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:36:36 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [989.1] --
Warning: yunohost.hook <lambda> - [989.1] [08/05/19 22:37:48] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [989.1] [08/05/19 22:37:48] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [989.1] [08/05/19 22:37:48] seafile-controller.c(79): spawn_process: seaf-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -d /home/yunohost.app/seafile-data -l /opt/yunohost/seafile/logs/seafile.log -P /opt/yunohost/seafile/pids/seaf-server.pid
Warning: yunohost.hook <lambda> - [989.1] [08/05/19 22:37:48] seafile-controller.c(94): spawned seaf-server, pid 5650
Warning: yunohost.hook <lambda> - [989.1] [08/05/19 22:37:48] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [989.1] [08/05/19 22:37:48] seafile-controller.c(79): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/yunohost/seafile/logs/seafdav.log --pid /opt/yunohost/seafile/pids/seafdav.pid --port 8080 --host localhost
Warning: yunohost.hook <lambda> - [989.1] [08/05/19 22:37:48] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 5651
Warning: yunohost.hook <lambda> - [989.1] [08/05/19 22:38:08] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [989.1] [08/05/19 23:36:15] seafile-controller.c(175): starting ccnet-server ...
Warning: yunohost.hook <lambda> - [989.1] [08/05/19 23:36:15] seafile-controller.c(79): spawn_process: ccnet-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -f /opt/yunohost/seafile/logs/ccnet.log -d -P /opt/yunohost/seafile/pids/ccnet.pid
Warning: yunohost.hook <lambda> - [989.1] [08/05/19 23:36:15] seafile-controller.c(94): spawned ccnet-server, pid 898
Warning: yunohost.hook <lambda> - [989.1] [08/05/19 23:36:16] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [989.1] [08/05/19 23:36:16] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [989.1] [08/05/19 23:36:16] seafile-controller.c(79): spawn_process: seaf-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -d /home/yunohost.app/seafile-data -l /opt/yunohost/seafile/logs/seafile.log -P /opt/yunohost/seafile/pids/seaf-server.pid
Warning: yunohost.hook <lambda> - [989.1] [08/05/19 23:36:16] seafile-controller.c(94): spawned seaf-server, pid 918
Warning: yunohost.hook <lambda> - [989.1] [08/05/19 23:36:16] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [989.1] [08/05/19 23:36:16] seafile-controller.c(79): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/yunohost/seafile/logs/seafdav.log --pid /opt/yunohost/seafile/pids/seafdav.pid --port 8080 --host localhost
Warning: yunohost.hook <lambda> - [989.1] [08/05/19 23:36:16] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 919
Warning: yunohost.hook <lambda> - [989.1] [08/05/19 23:36:24] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [989.1] [08/05/19 23:36:24] seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [989.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [989.1] -- Logs begin at Mon 2019-08-05 23:36:08 UTC, end at Mon 2019-08-05 23:41:45 UTC. --
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:36:18 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:36:18 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:36:18 pchecker_lxc seahub.sh[954]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:36:18 pchecker_lxc seahub.sh[954]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:36:24 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:41:39 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:41:39 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:41:39 pchecker_lxc seahub.sh[2774]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:41:39 pchecker_lxc seahub.sh[2774]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:41:45 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:41:45 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:41:45 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [989.1] Aug 05 23:41:45 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [989.1] [ERR] !!
Warning: yunohost.hook <lambda> - [989.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [989.1] !!
Warning: yunohost.hook <lambda> - [989.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - + local pid_tail=2771
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - + systemctl start seahub
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - + journalctl --unit=seahub --follow --since=-0 --quiet
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - + journalctl --no-pager --lines=20 -u seahub
Warning: - seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - + test -e systemd
Warning: - See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - + false
Warning: - -- Logs begin at Mon 2019-08-05 23:36:08 UTC, end at Mon 2019-08-05 23:41:45 UTC. --
Warning: yunohost.hook <lambda> - [989.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Warning: yunohost.hook <lambda> - [989.1] /usr/share/yunohost/helpers.d/logging: line 1:  2771 Terminated              journalctl --unit=$service_name --follow --since=-0 --quiet > "$templog"
Error: yunohost.app app_change_url - [989.1] Failed to change 'seafile' url.
Info: yunohost.log close - [989.1] The operation 'Change the url of 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190805-233620-app_change_url-seafile --share'

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

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 21 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, 28 seconds.
Change_url script successful. (0)
Info:  [+...................] > Loading installation settings...
Info:  [#++.................] > Updating nginx configuration...
Info:  [###+................] > Stoping services...
Info:  [####++..............] > Updating seafile configuration...
Info:  [######++++++++++....] > Updating seafile database
Info:  [################++..] > Starting services...
Warning: yunohost.hook <lambda> - [982.1] Please wait, the service seafile is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [982.1] [WARN] The service seafile didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [982.1] [WARN] Please find here an extract of the end of the log of the service seafile:
Warning: yunohost.hook <lambda> - [982.1] -- Logs begin at Mon 2019-08-05 23:42:27 UTC, end at Mon 2019-08-05 23:42:56 UTC. --
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:42:31 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:42:31 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:42:35 pchecker_lxc seafile.sh[671]: [08/05/19 23:42:35] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:42:35 pchecker_lxc seafile.sh[671]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:42:35 pchecker_lxc seafile-control[913]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:42:38 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:42:43 pchecker_lxc systemd[1]: Stopping Seafile...
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:42:43 pchecker_lxc seafile.sh[1245]: Stopping seafile server ...
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:42:43 pchecker_lxc systemd[1]: Stopped Seafile.
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:42:52 pchecker_lxc systemd[1]: seafile.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:42:52 pchecker_lxc systemd[1]: Starting Seafile...
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:42:53 pchecker_lxc seafile.sh[2061]: [08/05/19 23:42:53] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:42:53 pchecker_lxc seafile.sh[2061]: Starting seafile server, please wait ...
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:42:53 pchecker_lxc seafile-control[2082]: seafile-controller.c(718): No seafevents.
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:42:56 pchecker_lxc systemd[1]: Started Seafile.
Warning: yunohost.hook <lambda> - [982.1] --
Warning: yunohost.hook <lambda> - [982.1] [08/05/19 22:37:48] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [982.1] [08/05/19 22:37:48] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [982.1] [08/05/19 22:37:48] 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> - [982.1] [08/05/19 22:37:48] seafile-controller.c(94): spawned seaf-server, pid 5650
Warning: yunohost.hook <lambda> - [982.1] [08/05/19 22:37:48] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [982.1] [08/05/19 22:37:48] 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> - [982.1] [08/05/19 22:37:48] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 5651
Warning: yunohost.hook <lambda> - [982.1] [08/05/19 22:38:08] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [982.1] [08/05/19 23:42:35] seafile-controller.c(175): starting ccnet-server ...
Warning: yunohost.hook <lambda> - [982.1] [08/05/19 23:42:35] 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> - [982.1] [08/05/19 23:42:35] seafile-controller.c(94): spawned ccnet-server, pid 914
Warning: yunohost.hook <lambda> - [982.1] [08/05/19 23:42:36] seafile-controller.c(623): ccnet daemon connected.
Warning: yunohost.hook <lambda> - [982.1] [08/05/19 23:42:36] seafile-controller.c(207): starting seaf-server ...
Warning: yunohost.hook <lambda> - [982.1] [08/05/19 23:42:36] 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> - [982.1] [08/05/19 23:42:36] seafile-controller.c(94): spawned seaf-server, pid 918
Warning: yunohost.hook <lambda> - [982.1] [08/05/19 23:42:36] seafile-controller.c(453): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist
Warning: yunohost.hook <lambda> - [982.1] [08/05/19 23:42:36] 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> - [982.1] [08/05/19 23:42:36] seafile-controller.c(94): spawned /usr/bin/python2.7, pid 919
Warning: yunohost.hook <lambda> - [982.1] [08/05/19 23:42:43] seafile-controller.c(634): shutting down ccnet-server ...
Warning: yunohost.hook <lambda> - [982.1] [08/05/19 23:42:43] seafile-conJob for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [982.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [982.1] -- Logs begin at Mon 2019-08-05 23:42:27 UTC, end at Mon 2019-08-05 23:48:04 UTC. --
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:42:38 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:42:38 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:42:38 pchecker_lxc seahub.sh[954]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:42:38 pchecker_lxc seahub.sh[954]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:42:43 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:47:59 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:47:59 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:47:59 pchecker_lxc seahub.sh[2728]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:47:59 pchecker_lxc seahub.sh[2728]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:48:04 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:48:04 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:48:04 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [982.1] Aug 05 23:48:04 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [982.1] [ERR] !!
Warning: yunohost.hook <lambda> - [982.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [982.1] !!
Warning: yunohost.hook <lambda> - [982.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [982.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [982.1] [DEBUG]: DEBUG   - + local pid_tail=2725
Warning: yunohost.hook <lambda> - [982.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [982.1] [DEBUG]: DEBUG   - + systemctl start seahub
Warning: yunohost.hook <lambda> - [982.1] [DEBUG]: DEBUG   - + journalctl --unit=seahub --follow --since=-0 --quiet
Warning: yunohost.hook <lambda> - [982.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> - [982.1] [DEBUG]: DEBUG   - + test -e systemd
Warning: - See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [982.1] [DEBUG]: DEBUG   - + false
Warning: - -- Logs begin at Mon 2019-08-05 23:42:27 UTC, end at Mon 2019-08-05 23:48:04 UTC. --
Warning: yunohost.hook <lambda> - [982.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Warning: yunohost.hook <lambda> - [982.1] ./_common.sh: line 34:  2725 Terminated              journalctl --unit=$service_name --follow --since=-0 --quiet > "$templog"
Error: yunohost.app app_change_url - [982.1] Failed to change 'seafile' url.
Info: yunohost.log close - [982.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 20190805-234239-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: 16 seconds.
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 25 minutes, 22 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, 22 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

Mon Aug  5 23:49:04 UTC 2019
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE