FailedConsole Output

[FSTrigger] Triggered by a change to a folder (log)
Building in workspace /var/lib/jenkins/jobs/seafile_ynh (josue)/workspace
[workspace] $ /bin/sh -xe /tmp/jenkins7008803357006422403.sh
+ /home/CI_package_check/analyseCI.sh /home/yunohost.app/ssh_chroot_directories/josue/data/seafile_ynh seafile_ynh (josue)

Mon Aug  5 16:15:08 UTC 2019
Wait for work starting...
..........
Mon Aug  5 16:20:08 UTC 2019
Package check currently test the package
Start a test
Loads functions from launcher.sh
Loads functions from testing_process.sh
Loads functions from log_extractor.sh
Restore the previous snapshot.
Working time: 4 seconds.
Disable iptables rules.
Disable the network bridge.
Pick up the package which will be tested.
Initialize network for LXC.
RTNETLINK answers: File exists
ifup: failed to bring up lxc-pchecker
Activate iptables rules.
Parsing of check_process file

Tests serie: Nom du test

>> YunoHost versions:
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 7 seconds.
Debian GNU/Linux 9
yunohost: 
  repo: stable
  version: 3.6.4.5
yunohost-admin: 
  repo: stable
  version: 3.6.4
moulinette: 
  repo: stable
  version: 3.6.4
ssowat: 
  repo: stable
  version: 3.6.4
Connection to 10.1.4.2 closed.


>> Package linter... [Test 1/13]

    [YunoHost App Package Linter]

 App packaging documentation - https://yunohost.org/#/packaging_apps
 App package example         - https://github.com/YunoHost/example_ynh
 Official helpers            - https://yunohost.org/#/packaging_apps_helpers_en
 Experimental helpers        - https://github.com/YunoHost-Apps/Experimental_helpers

    Analyzing package /home/CI_package_check/dev_CI/../package_check/seafile_ynh_check

 [Loading App]


 [Misc File Checks]


 [Sources Management]


 [Manifest]

! [YEP-2.1] You should specify the type of the argument 'server_name'. You can use : domain, path, boolean, app, password, user, string. 

 [Install Script]

? [YEP-2.4] 'ynh_die' or 'exit' command is executed with system modification before (cmd 'rm').
This system modification is an issue if a verification exit the script.
You should move this verification before any system modification. 

 [Remove Script]


 [Upgrade Script]

? [YEP-2.4] 'ynh_die' or 'exit' command is executed with system modification before (cmd 'rm').
This system modification is an issue if a verification exit the script.
You should move this verification before any system modification. 

 [Backup Script]


 [Restore Script]

? [YEP-2.4] 'ynh_die' or 'exit' command is executed with system modification before (cmd 'rm').
This system modification is an issue if a verification exit the script.
You should move this verification before any system modification. 
--- SUCCESS ---


>> Installation in a sub path... [Test 2/13]
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 minutes, 27 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1010.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> - [1010.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> - [1010.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [1010.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [###########.........] > Configuring nginx...
Warning: yunohost.hook <lambda> - [1010.1] ** Message: seafile-controller.c(718): No seafevents.
Info:  [###########.........] > Protecting directory...
Info:  [###########+........] > Configuring permissions...
Info:  [############........] > Configuring log rotation...
Info:  [############+++++...] > Configuring fail2ban...
Info:  [#################+..] > Stoping services...
Info:  [##################+.] > Starting seafile services...

Try to access by url...
Test url: sous.domain.tld/path
Real url: http://sous.domain.tld/path/accounts/login/?next=/path/
HTTP code: 200
Title of the page: Log In - Private Seafile
Extract of the page:
   [1]logo
   [2]English
     * [3]Català
     * [4]Čeština
     * [5]Deutsch
     * [6]English
     * [7]Español
     * [8]Español de Argentina
     * [9]Español de México
     * [10]Français
     * [11]Italiano
     * [12]Íslenska
     * [13]Latvian
     * [14]Magyar
     * [15]Nederlands
     * [16]Polski
     * [17]Portuguese, Brazil
     * [18]Русский
     * [19]Slovenian
     * [20]Suomi


Test url: sous.domain.tld/path/
Real url: http://sous.domain.tld/path/accounts/login/?next=/path/
HTTP code: 200
Title of the page: Log In - Private Seafile
Extract of the page:
   [1]logo
   [2]English
     * [3]Català
     * [4]Čeština
     * [5]Deutsch
     * [6]English
     * [7]Español
     * [8]Español de Argentina
     * [9]Español de México
     * [10]Français
     * [11]Italiano
     * [12]Íslenska
     * [13]Latvian
     * [14]Magyar
     * [15]Nederlands
     * [16]Polski
     * [17]Portuguese, Brazil
     * [18]Русский
     * [19]Slovenian
     * [20]Suomi


--- SUCCESS ---
Create a snapshot for sub path installation.
Working time: 29 seconds.
Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 5 seconds.

Deleting...
A LXC container is already running.
Working time: 1 second.
Working time: 26 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [1040.1] Removing application seafile…
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Info:  [#+..................] > Cleaning SSO configuration...
Info:  [##..................] > Removing logs...
Info:  [##+.................] > Removing code...
Info:  /var/www/seafile wasn't deleted because it doesn't exist.
Info:  [###+++++++..........] > Backing up user data...
Info:  [##########..........] > Removing databases...
Warning: yunohost.hook <lambda> - [1040.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [##########+.........] > Removing systemd units...
Warning: yunohost.hook <lambda> - [1040.1] Removed /etc/systemd/system/multi-user.target.wants/seahub.service.
Info:  [###########+........] > Removing the dedicated system user...
Info:  [############++++++..] > Removing dependencies
Info:  [##################+.] > Removing configuration...
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, 51 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [2089.1] Installing application seafile…
Warning: yunohost.hook <lambda> - [2089.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [2089.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Warning: yunohost.hook <lambda> - [2089.1] ** Message: seafile-controller.c(718): No seafevents.

Try to access by url...
Test url: sous.domain.tld/path
Real url: http://sous.domain.tld/path/accounts/login/?next=/path/
HTTP code: 200
Title of the page: Log In - Private Seafile
Extract of the page:
   [1]logo
   [2]English
     * [3]Català
     * [4]Čeština
     * [5]Deutsch
     * [6]English
     * [7]Español
     * [8]Español de Argentina
     * [9]Español de México
     * [10]Français
     * [11]Italiano
     * [12]Íslenska
     * [13]Latvian
     * [14]Magyar
     * [15]Nederlands
     * [16]Polski
     * [17]Portuguese, Brazil
     * [18]Русский
     * [19]Slovenian
     * [20]Suomi


Test url: sous.domain.tld/path/
Real url: http://sous.domain.tld/path/accounts/login/?next=/path/
HTTP code: 200
Title of the page: Log In - Private Seafile
Extract of the page:
   [1]logo
   [2]English
     * [3]Català
     * [4]Čeština
     * [5]Deutsch
     * [6]English
     * [7]Español
     * [8]Español de Argentina
     * [9]Español de México
     * [10]Français
     * [11]Italiano
     * [12]Íslenska
     * [13]Latvian
     * [14]Magyar
     * [15]Nederlands
     * [16]Polski
     * [17]Portuguese, Brazil
     * [18]Русский
     * [19]Slovenian
     * [20]Suomi


--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 17 seconds.
Working time for this test: 5 minutes, 57 seconds.


>> Installation on the root... [Test 3/13]
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 2 minutes, 31 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [905.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> - [905.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%
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> - [905.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [905.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [###########.........] > Configuring nginx...
Warning: yunohost.hook <lambda> - [905.1] ** Message: seafile-controller.c(718): No seafevents.
Info:  [###########.........] > Protecting directory...
Info:  [###########+........] > Configuring permissions...
Info:  [############........] > Configuring log rotation...
Info:  [############+++++...] > Configuring fail2ban...
Info:  [#################+..] > Stoping services...
Info:  [##################+.] > Starting seafile services...

Try to access by url...
Test url: sous.domain.tld
Real url: http://sous.domain.tld/accounts/login/?next=/
HTTP code: 200
Title of the page: Log In - Private Seafile
Extract of the page:
   [1]logo
   [2]English
     * [3]Català
     * [4]Čeština
     * [5]Deutsch
     * [6]English
     * [7]Español
     * [8]Español de Argentina
     * [9]Español de México
     * [10]Français
     * [11]Italiano
     * [12]Íslenska
     * [13]Latvian
     * [14]Magyar
     * [15]Nederlands
     * [16]Polski
     * [17]Portuguese, Brazil
     * [18]Русский
     * [19]Slovenian
     * [20]Suomi


Test url: sous.domain.tld/
Real url: http://sous.domain.tld/accounts/login/?next=/
HTTP code: 200
Title of the page: Log In - Private Seafile
Extract of the page:
   [1]logo
   [2]English
     * [3]Català
     * [4]Čeština
     * [5]Deutsch
     * [6]English
     * [7]Español
     * [8]Español de Argentina
     * [9]Español de México
     * [10]Français
     * [11]Italiano
     * [12]Íslenska
     * [13]Latvian
     * [14]Magyar
     * [15]Nederlands
     * [16]Polski
     * [17]Portuguese, Brazil
     * [18]Русский
     * [19]Slovenian
     * [20]Suomi


--- SUCCESS ---
Create a snapshot for root installation.
Working time: 31 seconds.
Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 2 seconds.

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 26 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [1051.1] Removing application seafile…
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Info:  [#+..................] > Cleaning SSO configuration...
Info:  [##..................] > Removing logs...
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> - [1051.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [##########+.........] > Removing systemd units...
Warning: yunohost.hook <lambda> - [1051.1] Removed /etc/systemd/system/multi-user.target.wants/seahub.service.
Info:  [###########+........] > Removing the dedicated system user...
Info:  [############++++++..] > Removing dependencies
Info:  [##################+.] > Removing configuration...
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, 33 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [2096.1] Installing application seafile…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Finding available ports...
Info:  [+...................] > Storing installation settings...
Info:  [#...................] > Configuring system user...
Info:  [#+++................] > Installing dependencies...
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> - [2096.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [2096.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [###########.........] > Configuring nginx...
Warning: yunohost.hook <lambda> - [2096.1] failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [2096.1] [ERR] !!
Warning: yunohost.hook <lambda> - [2096.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [2096.1] !!
Warning: yunohost.hook <lambda> - [2096.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [2096.1] [DEBUG]: DEBUG   - + local length
Warning: yunohost.hook <lambda> - [2096.1] [DEBUG]: DEBUG   - + local log_path
Warning: yunohost.hook <lambda> - [2096.1] [DEBUG]: DEBUG   - + local timeout
Warning: yunohost.hook <lambda> - [2096.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args --service_name=nginx --action=reload
Warning: yunohost.hook <lambda> - [2096.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [2096.1] [DEBUG]: DEBUG   - + local service_name=nginx
Warning: yunohost.hook <lambda> - [2096.1] [DEBUG]: DEBUG   - + local action=reload
Warning: yunohost.hook <lambda> - [2096.1] [DEBUG]: DEBUG   - + local log_path=/var/log/nginx/nginx.log
Warning: yunohost.hook <lambda> - [2096.1] [DEBUG]: DEBUG   - + local length=20
Warning: yunohost.hook <lambda> - [2096.1] [DEBUG]: DEBUG   - + local timeout=300
Warning: yunohost.hook <lambda> - [2096.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [2096.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [2096.1] [DEBUG]: DEBUG   - + action=reload-or-restart
Warning: yunohost.hook <lambda> - [2096.1] [DEBUG]: DEBUG   - + systemctl reload-or-restart nginx
Warning: yunohost.hook <lambda> - [2096.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [2096.1] [DEBUG]: DEBUG   - + cp expect_scripts/first_launch.exp /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [2096.1] [DEBUG]: DEBUG   - + chmod +x /opt/yunohost/seafile/first_launch.exp
Warning: yunohost.hook <lambda> - [2096.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [2096.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /home/yunohost.app/seafile-data
Warning: yunohost.hook <lambda> - [2096.1] [DEBUG]: DEBUG   - + sleep 5
Warning: yunohost.hook <lambda> - [2096.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: yunohost.hook <lambda> - [2096.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [2096.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> - [2096.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [2096.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-163032-app_install-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [2096.1] Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [2096.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Warning: yunohost.hook <lambda> - [2096.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [2096.1] ValueError: list.remove(x): x not in list
Info:  [#+..................] > Cleaning SSO configuration...
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> - [2096.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [##########+.........] > Removing systemd units...
Warning: yunohost.hook <lambda> - [2096.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> - [2096.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [2096.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-163032-app_install-seafile --share'

Try to access by url...
Test url: sous.domain.tld
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 14 seconds.
Working time for this test: 5 minutes, 47 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.
Create witness files...
Working time: 9 seconds.
Working time: 1 minute, 3 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...
Warning: yunohost.hook <lambda> - [977.1] /usr/share/yunohost/helpers.d/logrotate: line 52: [: -n : integer expression expected
Info:  [#######+............] > Protecting directory...
Info:  [########+...........] > Configuring log rotation...
Info:  [#########++++++.....] > Configuring fail2ban...
Info:  [###############+....] > Register seafile service...
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [################++..] > Starting seafile services...
Warning: yunohost.hook <lambda> - [977.1] Job 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 16:32:43 UTC, end at Mon 2019-08-05 16:33:55 UTC. --
Warning: yunohost.hook <lambda> - [977.1] Aug 05 16:32:54 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [977.1] Aug 05 16:32:54 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [977.1] Aug 05 16:32:54 pchecker_lxc seahub.sh[949]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [977.1] Aug 05 16:32:54 pchecker_lxc seahub.sh[949]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [977.1] Aug 05 16:32:59 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [977.1] Aug 05 16:33:49 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [977.1] Aug 05 16:33:49 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [977.1] Aug 05 16:33:49 pchecker_lxc seahub.sh[2364]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [977.1] Aug 05 16:33:49 pchecker_lxc seahub.sh[2364]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [977.1] Aug 05 16:33:55 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [977.1] Aug 05 16:33:55 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [977.1] Aug 05 16:33:55 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [977.1] Aug 05 16:33:55 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   - + local length=20
Warning: yunohost.hook <lambda> - [977.1] [DEBUG]: DEBUG   - + local timeout=300
Warning: yunohost.hook <lambda> - [977.1] [DEBUG]: DEBUG   -
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 --no-pager --lines=20 -u seahub
Warning: - Job for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [977.1] [DEBUG]: DEBUG   - + test -e /var/log/seahub/seahub.log
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 16:32:43 UTC, end at Mon 2019-08-05 16:33:55 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-163257-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.A LXC container is already running.
Working time: 1 second.
Working time: 25 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 18 seconds.


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

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

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

                                    nginx


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

                                    nginx


--- FAIL ---

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


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

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

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


>> Installation in private mode... [Test 8/13]
Root install failed, impossible to perform this test...
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 2 minutes, 15 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] 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   - + local length
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + local log_path
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + local timeout
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args --service_name=nginx --action=reload
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + local service_name=nginx
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + local action=reload
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + local log_path=/var/log/nginx/nginx.log
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + local length=20
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + local timeout=300
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + action=reload-or-restart
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + systemctl reload-or-restart nginx
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + cp expect_scripts/first_launch.exp /opt/yunohost/seafile
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   - + 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-164446-app_install-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [921.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [921.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Info:  [##..................] > Removing logs...
Warning: yunohost.hook <lambda> - [921.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [921.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> - [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-164446-app_install-seafile --share'

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aA==
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/path/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aC8=
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 14 seconds.
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 2 minutes, 43 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: 10 seconds.
Working time: 2 minutes, 11 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [910.1] Installing application seafile…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Finding available ports...
Info:  [+...................] > Storing installation settings...
Info:  [#...................] > Configuring system user...
Info:  [#+++................] > Installing dependencies...
Warning: yunohost.hook <lambda> - [910.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%
Info:  [####+...............] > Cleaning data directory...
Info:  [#####...............] > Creating base directory...
Info:  [#####+++............] > Installing sources files...
Info:  [########............] > Configuring MySQL database...
Info:  [########++..........] > Configuring application...
Info:  [##########+.........] > Configuring a systemd service...
Warning: yunohost.hook <lambda> - [910.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [910.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [###########.........] > Configuring nginx...
Warning: yunohost.hook <lambda> - [910.1] failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [910.1] [ERR] !!
Warning: yunohost.hook <lambda> - [910.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [910.1] !!
Warning: yunohost.hook <lambda> - [910.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + local length
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + local log_path
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + local timeout
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args --service_name=nginx --action=reload
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + local service_name=nginx
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + local action=reload
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + local log_path=/var/log/nginx/nginx.log
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + local length=20
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + local timeout=300
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + action=reload-or-restart
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + systemctl reload-or-restart nginx
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + cp expect_scripts/first_launch.exp /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + chmod +x /opt/yunohost/seafile/first_launch.exp
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /home/yunohost.app/seafile-data
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + sleep 5
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: - failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [910.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [910.1] The operation 'Install 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190805-164731-app_install-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [910.1] Traceback (most recent call last):
Info:  [##..................] > Removing logs...
Warning: yunohost.hook <lambda> - [910.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> - [910.1]     data["skipped_urls"].remove("/seafhttp")
Info:  [##+.................] > Removing code...
Warning: yunohost.hook <lambda> - [910.1] KeyError: 'skipped_urls'
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> - [910.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [##########+.........] > Removing systemd units...
Warning: yunohost.hook <lambda> - [910.1] Removed /etc/systemd/system/multi-user.target.wants/seahub.service.
Info:  [###########+........] > Removing the dedicated system user...
Info:  [############++++++..] > Removing dependencies
Info:  [##################+.] > Removing 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> - [910.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [910.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-164731-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: 13 seconds.
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 2 minutes, 43 seconds.


>> Malformed path... [Test 10/13]
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 2 minutes, 17 seconds.
Installation failed. (1)
Warning: yunohost.service _run_service_command - [193.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.app app_install - [902.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> - [902.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> - [902.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [902.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [###########.........] > Configuring nginx...
Warning: yunohost.hook <lambda> - [902.1] failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [902.1] [ERR] !!
Warning: yunohost.hook <lambda> - [902.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [902.1] !!
Warning: yunohost.hook <lambda> - [902.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [902.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [902.1] [DEBUG]: DEBUG   - + cp expect_scripts/first_launch.exp /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [902.1] [DEBUG]: DEBUG   - + chmod +x /opt/yunohost/seafile/first_launch.exp
Warning: yunohost.hook <lambda> - [902.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [902.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /home/yunohost.app/seafile-data
Warning: yunohost.hook <lambda> - [902.1] [DEBUG]: DEBUG   - + sleep 5
Warning: yunohost.hook <lambda> - [902.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: yunohost.hook <lambda> - [902.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [902.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> - [902.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [902.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-165011-app_install-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [902.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [902.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Info:  [##..................] > Removing logs...
Warning: yunohost.hook <lambda> - [902.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [902.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> - [902.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [##########+.........] > Removing systemd units...
Warning: yunohost.hook <lambda> - [902.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> - [902.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [902.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-165011-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.
Working time for this test: 2 minutes, 40 seconds.


>> Port already used... [Test 11/13]
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 4 seconds.
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 minutes, 10 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [984.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> - [984.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> - [984.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [984.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [###########.........] > Configuring nginx...
Warning: yunohost.hook <lambda> - [984.1] failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [984.1] [ERR] !!
Warning: yunohost.hook <lambda> - [984.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [984.1] !!
Warning: yunohost.hook <lambda> - [984.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [984.1] [DEBUG]: DEBUG   - + local log_path=/var/log/nginx/nginx.log
Warning: yunohost.hook <lambda> - [984.1] [DEBUG]: DEBUG   - + local length=20
Warning: yunohost.hook <lambda> - [984.1] [DEBUG]: DEBUG   - + local timeout=300
Warning: yunohost.hook <lambda> - [984.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [984.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [984.1] [DEBUG]: DEBUG   - + action=reload-or-restart
Warning: yunohost.hook <lambda> - [984.1] [DEBUG]: DEBUG   - + systemctl reload-or-restart nginx
Warning: yunohost.hook <lambda> - [984.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [984.1] [DEBUG]: DEBUG   - + cp expect_scripts/first_launch.exp /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [984.1] [DEBUG]: DEBUG   - + chmod +x /opt/yunohost/seafile/first_launch.exp
Warning: yunohost.hook <lambda> - [984.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /opt/yunohost/seafile
Warning: yunohost.hook <lambda> - [984.1] [DEBUG]: DEBUG   - + chown -R seafile:seafile /home/yunohost.app/seafile-data
Warning: yunohost.hook <lambda> - [984.1] [DEBUG]: DEBUG   - + sleep 5
Warning: yunohost.hook <lambda> - [984.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: yunohost.hook <lambda> - [984.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [984.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> - [984.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [984.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-165258-app_install-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [984.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [984.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Warning: yunohost.hook <lambda> - [984.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [984.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> - [984.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [##########+.........] > Removing systemd units...
Warning: yunohost.hook <lambda> - [984.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> - [984.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [984.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-165258-app_install-seafile --share'

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aA==
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/path/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aC8=
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 13 seconds.
Working time for this test: 2 minutes, 42 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: 6 seconds.
Working time: 1 minute, 42 seconds.
Backup successful. (0)
Warning: yunohost.service _run_service_command - [186.1] Unable to execute command 'systemctl reload fail2ban'
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: 26 seconds.
Deleting successful. (0)

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

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aA==
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/path/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aC8=
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 23 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, 3 seconds.
Restore failed. (1)
Info: yunohost.backup backup_restore - [921.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [921.1] Restoring application seafile…
Info:  [....................] > Loading settings...
Info:  [++++++++............] > Restoring files...
Info:  [########++++........] > Reinstalling dependencies...
Warning: yunohost.hook <lambda> - [921.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [921.1] Exception:
Warning: yunohost.hook <lambda> - [921.1] Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [921.1]   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
Warning: yunohost.hook <lambda> - [921.1]     status = self.run(options, args)
Warning: yunohost.hook <lambda> - [921.1]   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 307, in run
Warning: yunohost.hook <lambda> - [921.1]     delete=build_delete) as build_dir:
Warning: yunohost.hook <lambda> - [921.1]   File "/usr/lib/python2.7/dist-packages/pip/utils/build.py", line 22, in __init__
Warning: yunohost.hook <lambda> - [921.1]     name = os.path.realpath(tempfile.mkdtemp(prefix="pip-build-"))
Warning: yunohost.hook <lambda> - [921.1]   File "/usr/lib/python2.7/tempfile.py", line 331, in mkdtemp
Warning: yunohost.hook <lambda> - [921.1]     dir = gettempdir()
Warning: yunohost.hook <lambda> - [921.1]   File "/usr/lib/python2.7/tempfile.py", line 275, in gettempdir
Warning: yunohost.hook <lambda> - [921.1]     tempdir = _get_default_tempdir()
Warning: yunohost.hook <lambda> - [921.1]   File "/usr/lib/python2.7/tempfile.py", line 217, in _get_default_tempdir
Warning: yunohost.hook <lambda> - [921.1]     ("No usable temporary directory found in %s" % dirlist))
Warning: yunohost.hook <lambda> - [921.1] IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/yunohost.backup/tmp/Backup_test/apps/seafile/backup']
Warning: yunohost.hook <lambda> - [921.1] [ERR] !!
Warning: yunohost.hook <lambda> - [921.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [921.1] !!
Warning: yunohost.hook <lambda> - [921.1] Please find here an extract of the log before the crash:
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/utils/build.py", line 22, in __init__
Warning: -     name = os.path.realpath(tempfile.mkdtemp(prefix="pip-build-"))
Warning: -   File "/usr/lib/python2.7/tempfile.py", line 331, in mkdtemp
Warning: -     dir = gettempdir()
Warning: -   File "/usr/lib/python2.7/tempfile.py", line 275, in gettempdir
Warning: -     tempdir = _get_default_tempdir()
Warning: -   File "/usr/lib/python2.7/tempfile.py", line 217, in _get_default_tempdir
Warning: -     ("No usable temporary directory found in %s" % dirlist))
Warning: -
Warning: yunohost.hook <lambda> - [921.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.backup _restore_app - [921.1] Unable to restore the app 'seafile'
Info: yunohost.log close - [921.1] The operation 'Restore 'seafile' from a backup archive' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190805-170101-backup_restore_app-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...
Warning: yunohost.hook <lambda> - [921.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> - [921.1] [WARN] Database seafiledb not found
Warning: yunohost.hook <lambda> - [921.1] [WARN] Database seahubdb not found
Info:  [##########+.........] > Removing systemd units...
Info:  [###########+........] > Removing the dedicated system user...
Info:  [############++++++..] > Removing dependencies
Info:  [##################+.] > Removing configuration...
Error: yunohost cli - Unknown service 'seafile'
Warning: yunohost.hook <lambda> - [921.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [921.1] Unknown service 'seahub'
Info:  [####################] > Removal of seafile completed
Error: yunohost cli - Nothing has been restored

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aA==
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/path/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aC8=
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 14 seconds.
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 7 minutes, 20 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: 22 seconds.
Change the url from sous.domain.tld/path to sous.domain.tld/path_2...
Start the LXC container..
Create witness files...
Working time: 11 seconds.
Working time: 25 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> - [996.1] Job for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [996.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [996.1] -- Logs begin at Mon 2019-08-05 17:03:03 UTC, end at Mon 2019-08-05 17:03:37 UTC. --
Warning: yunohost.hook <lambda> - [996.1] Aug 05 17:03:14 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [996.1] Aug 05 17:03:14 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [996.1] Aug 05 17:03:14 pchecker_lxc seahub.sh[961]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [996.1] Aug 05 17:03:14 pchecker_lxc seahub.sh[961]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [996.1] Aug 05 17:03:18 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [996.1] Aug 05 17:03:31 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [996.1] Aug 05 17:03:31 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [996.1] Aug 05 17:03:31 pchecker_lxc seahub.sh[2094]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [996.1] Aug 05 17:03:31 pchecker_lxc seahub.sh[2094]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [996.1] Aug 05 17:03:37 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [996.1] Aug 05 17:03:37 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [996.1] Aug 05 17:03:37 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [996.1] Aug 05 17:03:37 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [996.1] [ERR] !!
Warning: yunohost.hook <lambda> - [996.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [996.1] !!
Warning: yunohost.hook <lambda> - [996.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [996.1] [DEBUG]: DEBUG   - + local length=20
Warning: yunohost.hook <lambda> - [996.1] [DEBUG]: DEBUG   - + local timeout=300
Warning: yunohost.hook <lambda> - [996.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [996.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [996.1] [DEBUG]: DEBUG   - + systemctl start seahub
Warning: yunohost.hook <lambda> - [996.1] [DEBUG]: DEBUG   - + journalctl --no-pager --lines=20 -u seahub
Warning: - Job for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [996.1] [DEBUG]: DEBUG   - + test -e /var/log/seahub/seahub.log
Warning: - See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [996.1] [DEBUG]: DEBUG   - + false
Warning: - -- Logs begin at Mon 2019-08-05 17:03:03 UTC, end at Mon 2019-08-05 17:03:37 UTC. --
Warning: yunohost.hook <lambda> - [996.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_change_url - [996.1] Failed to change 'seafile' url.
Info: yunohost.log close - [996.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-170315-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: 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 sous.domain.tld/...
Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 25 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> - [974.1] Job for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [974.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [974.1] -- Logs begin at Mon 2019-08-05 17:04:17 UTC, end at Mon 2019-08-05 17:04:51 UTC. --
Warning: yunohost.hook <lambda> - [974.1] Aug 05 17:04:28 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [974.1] Aug 05 17:04:28 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [974.1] Aug 05 17:04:28 pchecker_lxc seahub.sh[946]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [974.1] Aug 05 17:04:28 pchecker_lxc seahub.sh[946]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [974.1] Aug 05 17:04:32 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [974.1] Aug 05 17:04:45 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [974.1] Aug 05 17:04:45 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [974.1] Aug 05 17:04:45 pchecker_lxc seahub.sh[2079]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [974.1] Aug 05 17:04:45 pchecker_lxc seahub.sh[2079]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [974.1] Aug 05 17:04:51 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [974.1] Aug 05 17:04:51 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [974.1] Aug 05 17:04:51 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [974.1] Aug 05 17:04:51 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [974.1] [ERR] !!
Warning: yunohost.hook <lambda> - [974.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [974.1] !!
Warning: yunohost.hook <lambda> - [974.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [974.1] [DEBUG]: DEBUG   - + local length=20
Warning: yunohost.hook <lambda> - [974.1] [DEBUG]: DEBUG   - + local timeout=300
Warning: yunohost.hook <lambda> - [974.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [974.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [974.1] [DEBUG]: DEBUG   - + systemctl start seahub
Warning: yunohost.hook <lambda> - [974.1] [DEBUG]: DEBUG   - + journalctl --no-pager --lines=20 -u seahub
Warning: - Job for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [974.1] [DEBUG]: DEBUG   - + test -e /var/log/seahub/seahub.log
Warning: - See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [974.1] [DEBUG]: DEBUG   - + false
Warning: - -- Logs begin at Mon 2019-08-05 17:04:17 UTC, end at Mon 2019-08-05 17:04:51 UTC. --
Warning: yunohost.hook <lambda> - [974.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_change_url - [974.1] Failed to change 'seafile' url.
Info: yunohost.log close - [974.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-170429-app_change_url-seafile --share'

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

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 21 seconds.
Change the url from sous.domain.tld/path to domain.tld/path_2...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 26 seconds.
Change_url script successful. (0)
Info:  [+...................] > Loading installation settings...
Info:  [#++.................] > Updating nginx configuration...
Info:  [###+................] > Stoping services...
Info:  [####++..............] > Updating seafile configuration...
Info:  [######++++++++++....] > Updating seafile database
Info:  [################++..] > Starting services...
Warning: yunohost.hook <lambda> - [977.1] Job 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 17:05:34 UTC, end at Mon 2019-08-05 17:06:08 UTC. --
Warning: yunohost.hook <lambda> - [977.1] Aug 05 17:05:44 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [977.1] Aug 05 17:05:44 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [977.1] Aug 05 17:05:44 pchecker_lxc seahub.sh[949]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [977.1] Aug 05 17:05:44 pchecker_lxc seahub.sh[949]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [977.1] Aug 05 17:05:49 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [977.1] Aug 05 17:06:02 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [977.1] Aug 05 17:06:02 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [977.1] Aug 05 17:06:02 pchecker_lxc seahub.sh[2103]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [977.1] Aug 05 17:06:02 pchecker_lxc seahub.sh[2103]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [977.1] Aug 05 17:06:08 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [977.1] Aug 05 17:06:08 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [977.1] Aug 05 17:06:08 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [977.1] Aug 05 17:06:08 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   - + local length=20
Warning: yunohost.hook <lambda> - [977.1] [DEBUG]: DEBUG   - + local timeout=300
Warning: yunohost.hook <lambda> - [977.1] [DEBUG]: DEBUG   -
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 --no-pager --lines=20 -u seahub
Warning: - Job for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [977.1] [DEBUG]: DEBUG   - + test -e /var/log/seahub/seahub.log
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 17:05:34 UTC, end at Mon 2019-08-05 17:06:08 UTC. --
Warning: yunohost.hook <lambda> - [977.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_change_url - [977.1] Failed to change 'seafile' url.
Info: yunohost.log close - [977.1] The operation 'Change the url of 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190805-170546-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: 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 domain.tld/...
Start the LXC containerStart the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 26 seconds.
Change_url script successful. (0)
Info:  [+...................] > Loading installation settings...
Info:  [#++.................] > Updating nginx configuration...
Info:  [###+................] > Stoping services...
Info:  [####++..............] > Updating seafile configuration...
Info:  [######++++++++++....] > Updating seafile database
Info:  [################++..] > Starting services...
Warning: yunohost.hook <lambda> - [968.1] Job for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [968.1] See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [968.1] -- Logs begin at Mon 2019-08-05 17:06:52 UTC, end at Mon 2019-08-05 17:07:26 UTC. --
Warning: yunohost.hook <lambda> - [968.1] Aug 05 17:07:03 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [968.1] Aug 05 17:07:03 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [968.1] Aug 05 17:07:03 pchecker_lxc seahub.sh[944]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [968.1] Aug 05 17:07:03 pchecker_lxc seahub.sh[944]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [968.1] Aug 05 17:07:07 pchecker_lxc systemd[1]: Stopped Seafile hub.
Warning: yunohost.hook <lambda> - [968.1] Aug 05 17:07:20 pchecker_lxc systemd[1]: seahub.service: Failed to reset devices.list: Operation not permitted
Warning: yunohost.hook <lambda> - [968.1] Aug 05 17:07:20 pchecker_lxc systemd[1]: Starting Seafile hub...
Warning: yunohost.hook <lambda> - [968.1] Aug 05 17:07:20 pchecker_lxc seahub.sh[2094]: LC_ALL is not set in ENV, set to en_US.UTF-8
Warning: yunohost.hook <lambda> - [968.1] Aug 05 17:07:20 pchecker_lxc seahub.sh[2094]: Starting seahub at port 8000 ...
Warning: yunohost.hook <lambda> - [968.1] Aug 05 17:07:26 pchecker_lxc systemd[1]: seahub.service: Control process exited, code=exited status=1
Warning: yunohost.hook <lambda> - [968.1] Aug 05 17:07:26 pchecker_lxc systemd[1]: Failed to start Seafile hub.
Warning: yunohost.hook <lambda> - [968.1] Aug 05 17:07:26 pchecker_lxc systemd[1]: seahub.service: Unit entered failed state.
Warning: yunohost.hook <lambda> - [968.1] Aug 05 17:07:26 pchecker_lxc systemd[1]: seahub.service: Failed with result 'exit-code'.
Warning: yunohost.hook <lambda> - [968.1] [ERR] !!
Warning: yunohost.hook <lambda> - [968.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [968.1] !!
Warning: yunohost.hook <lambda> - [968.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [968.1] [DEBUG]: DEBUG   - + local length=20
Warning: yunohost.hook <lambda> - [968.1] [DEBUG]: DEBUG   - + local timeout=300
Warning: yunohost.hook <lambda> - [968.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [968.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [968.1] [DEBUG]: DEBUG   - + systemctl start seahub
Warning: yunohost.hook <lambda> - [968.1] [DEBUG]: DEBUG   - + journalctl --no-pager --lines=20 -u seahub
Warning: - Job for seahub.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [968.1] [DEBUG]: DEBUG   - + test -e /var/log/seahub/seahub.log
Warning: - See "systemctl status seahub.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [968.1] [DEBUG]: DEBUG   - + false
Warning: - -- Logs begin at Mon 2019-08-05 17:06:52 UTC, end at Mon 2019-08-05 17:07:26 UTC. --
Warning: yunohost.hook <lambda> - [968.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_change_url - [968.1] Failed to change 'seafile' url.
Info: yunohost.log close - [968.1] The operation 'Change the url of 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190805-170704-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: 21 seconds.
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 5 minutes, 15 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: 47 minutes, 46 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 17:08:12 UTC 2019
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE