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/jenkins7094392062000033566.sh
+ /home/CI_package_check/analyseCI.sh /home/yunohost.app/ssh_chroot_directories/josue/data/seafile_ynh seafile_ynh (josue)

Wed May  8 18:38:01 UTC 2019
Wait for work starting...
.....
Wed May  8 18:40:31 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: 5 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: 13 seconds.
Debian GNU/Linux 9
yunohost: 
  repo: stable
  version: 3.5.2.2
yunohost-admin: 
  repo: stable
  version: 3.5.2
moulinette: 
  repo: stable
  version: 3.5.2
ssowat: 
  repo: stable
  version: 3.5.2.1
Connection to 10.1.4.2 closed.


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

    [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. 
! Please add a few messages for the user, to explain what is going on (in friendly, not-too-technical terms) during the installation. You can use 'ynh_print_info' or 'ynh_script_progression' for this. 

 [Remove Script]


 [Upgrade Script]


 [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/12]
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 minutes, 8 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1015.1] Installing application seafile…
Warning: yunohost.hook <lambda> - [1015.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:  Reload the service nginx

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

Ressource moved: sous.domain.tld/path
Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

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

Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

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

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 25 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [1298.1] Removing application seafile…
Warning: yunohost.hook <lambda> - [1298.1] /var/www/seafile wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [1298.1] Remove the user seafile
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, 41 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1859.1] Installing application seafile…
Info:  Reload the service nginx

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

Ressource moved: sous.domain.tld/path
Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

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

Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

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


>> Installation on the root... [Test 3/12]
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 2 minutes, 16 seconds.
Installation successful. (0)
Warning: yunohost.service _run_service_command - [187.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.app app_install - [911.1] Installing application seafile…
Warning: yunohost.hook <lambda> - [911.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%
Info:  Reload the service nginx

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

Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt

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

Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt

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

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 25 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [1037.1] Removing application seafile…
Warning: yunohost.hook <lambda> - [1037.1] /var/www/seafile wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [1037.1] Remove the user seafile
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 1 second.
Working time: 1 minute, 35 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1594.1] Installing application seafile…
Info:  Reload the service nginx

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

Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt

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

Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt

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


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

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

Upgrade...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 44 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [1006.1] Now upgrading app seafile…
Info:  Reload the service nginx

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

Ressource moved: sous.domain.tld/path
Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

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

Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

--- SUCCESS ---

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


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

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

Upgrade...
A LXC container is already running.
Working time: 1 second.
Working time: 1 minute, 49 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [2772.1] Now upgrading app seafile…
Warning: yunohost.hook <lambda> - [2772.1] Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [2772.1]   File "../conf/update_sso_conf.py", line 5, in <module>
Warning: yunohost.hook <lambda> - [2772.1]     data["unprotected_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [2772.1] KeyError: 'unprotected_urls'
Warning: yunohost.hook <lambda> - [2772.1] E: The repository 'http://httpredir.debian.org/debian stretch Release' does no longer have a Release file.
Warning: yunohost.hook <lambda> - [2772.1] 
Extracting templates from packages: 29%
Extracting templates from packages: 58%
Extracting templates from packages: 87%
Extracting templates from packages: 100%
Info:  Reload the service nginx

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

Ressource moved: sous.domain.tld/path
Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

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

Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

--- SUCCESS ---

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


>> Upgrade from the commit 874ff38bc4e011a5ba22f006745e86ef8e052346... [Test 6/12]

Preliminary install...
Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 1 minute, 42 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [914.1] Installing application seafile…
Warning: yunohost.hook <lambda> - [914.1] 
Extracting templates from packages: 61%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [914.1]   Ignoring imageio: markers 'python_version >= "3.4"' don't match your environment
Warning: yunohost.hook <lambda> - [914.1]   Ignoring imageio-ffmpeg: markers 'python_version >= "3.4"' don't match your environment

Upgrade...
A LXC container is already running.
Working time: 1 second.
Working time: 47 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [3042.1] Now upgrading app seafile…
Info:  Reload the service nginx

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

Ressource moved: sous.domain.tld/path
Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

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

Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

--- SUCCESS ---

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


>> Installation in private mode... [Test 7/12]
Start the LXC container.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 - [922.1] Installing application seafile…
Warning: yunohost.hook <lambda> - [922.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%
Info:  Reload the service nginx

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.
--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 15 seconds.
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 2 minutes, 7 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%
Info:  Reload the service nginx

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.
--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 15 seconds.
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 5 minutes, 7 seconds.


>> Installation in public mode... [Test 8/12]
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 2 minutes, 12 seconds.
Installation successful. (0)
Warning: yunohost.service _run_service_command - [193.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.app app_install - [919.1] Installing application seafile…
Warning: yunohost.hook <lambda> - [919.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:  Reload the service nginx

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

Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt

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

Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 15 seconds.
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 2 minutes, 14 seconds.
Installation successful. (0)
Warning: yunohost.service _run_service_command - [188.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.app app_install - [920.1] Installing application seafile…
Warning: yunohost.hook <lambda> - [920.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:  Reload the service nginx

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

Ressource moved: sous.domain.tld/path
Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

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

Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

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


>> Malformed path... [Test 9/12]
Start the LXC container..Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 2 minutes, 7 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [911.1] Installing application seafile…
Warning: yunohost.hook <lambda> - [911.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%
Info:  Reload the service nginx

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

Ressource moved: sous.domain.tld/path
Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

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

Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 15 seconds.
Working time for this test: 2 minutes, 42 seconds.


>> Port already used... [Test 10/12]
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 13 seconds.
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 minutes, 10 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [987.1] Installing application seafile…
Warning: yunohost.hook <lambda> - [987.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:  Reload the service nginx

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

Ressource moved: sous.domain.tld/path
Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

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

Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 18 seconds.
Working time for this test: 2 minutes, 58 seconds.


>> Backup/Restore... [Test 11/12]

Preliminary installation on the root...
Uses an existing snapshot for root installation.
Working time: 25 seconds.

Backup of the application...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 2 minutes, 4 seconds.
Backup successful. (0)
Warning: yunohost.hook <lambda> - [998.1] ls: cannot access '/etc/cron.d/yunohost*': No such file or directory
Info: yunohost.backup _collect_app_files - [998.1] Collecting files to be backuped for seafile…
Info: yunohost.backup backup_create - [998.1] Now creating a backup archive from the files collected…
--- SUCCESS ---

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

Restore after removing the application...
A LXC container is already running.
Working time: 1 second.
Working time: 1 minute, 48 seconds.
Restore failed. (1)
Info: yunohost.backup backup_restore - [1877.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [1877.1] Restoring application seafile…
Warning: yunohost.hook <lambda> - [1877.1] Exception:
Warning: yunohost.hook <lambda> - [1877.1] Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [1877.1]   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
Warning: yunohost.hook <lambda> - [1877.1]     status = self.run(options, args)
Warning: yunohost.hook <lambda> - [1877.1]   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 353, in run
Warning: yunohost.hook <lambda> - [1877.1]     wb.build(autobuilding=True)
Warning: yunohost.hook <lambda> - [1877.1]   File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 749, in build
Warning: yunohost.hook <lambda> - [1877.1]     self.requirement_set.prepare_files(self.finder)
Warning: yunohost.hook <lambda> - [1877.1]   File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 380, in prepare_files
Warning: yunohost.hook <lambda> - [1877.1]     ignore_dependencies=self.ignore_dependencies))
Warning: yunohost.hook <lambda> - [1877.1]   File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 620, in _prepare_file
Warning: yunohost.hook <lambda> - [1877.1]     session=self.session, hashes=hashes)
Warning: yunohost.hook <lambda> - [1877.1]   File "/usr/lib/python2.7/dist-packages/pip/download.py", line 821, in unpack_url
Warning: yunohost.hook <lambda> - [1877.1]     hashes=hashes
Warning: yunohost.hook <lambda> - [1877.1]   File "/usr/lib/python2.7/dist-packages/pip/download.py", line 659, in unpack_http_url
Warning: yunohost.hook <lambda> - [1877.1]     hashes)
Warning: yunohost.hook <lambda> - [1877.1]   File "/usr/lib/python2.7/dist-packages/pip/download.py", line 882, in _download_http_url
Warning: yunohost.hook <lambda> - [1877.1]     _download_url(resp, link, content_file, hashes)
Warning: yunohost.hook <lambda> - [1877.1]   File "/usr/lib/python2.7/dist-packages/pip/download.py", line 603, in _download_url
Warning: yunohost.hook <lambda> - [1877.1]     hashes.check_against_chunks(downloaded_chunks)
Warning: yunohost.hook <lambda> - [1877.1]   File "/usr/lib/python2.7/dist-packages/pip/utils/hashes.py", line 46, in check_against_chunks
Warning: yunohost.hook <lambda> - [1877.1]     for chunk in chunks:
Warning: yunohost.hook <lambda> - [1877.1]   File "/usr/lib/python2.7/dist-packages/pip/download.py", line 572, in written_chunks
Warning: yunohost.hook <lambda> - [1877.1]     content_file.write(chunk)
Warning: yunohost.hook <lambda> - [1877.1] IOError: [Errno 122] Disk quota exceeded
Warning: yunohost.hook <lambda> - [1877.1] !!
Warning: yunohost.hook <lambda> - [1877.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [1877.1] !!
Error: yunohost.backup _restore_app - [1877.1] Unable to restore the app 'seafile'
Info: yunohost.log close - [1877.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 20190508-192501-backup_restore_app-seafile --share'
Warning: yunohost.hook <lambda> - [1877.1] Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [1877.1]   File "/opt/yunohost/seafile/remove_sso_conf.py", line 5, in <module>
Warning: yunohost.hook <lambda> - [1877.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [1877.1] ValueError: list.remove(x): x not in list
Warning: yunohost.hook <lambda> - [1877.1] /var/log/seafile wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [1877.1] /var/www/seafile wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [1877.1] /tmp/seahub_cache wasn't deleted because it doesn't exist.
Error: 1008 (HY000) at line 1: Can't drop database 'ccnetdb'; database doesn't exist
Error: 1008 (HY000) at line 1: Can't drop database 'seafiledb'; database doesn't exist
Error: 1008 (HY000) at line 1: Can't drop database 'seahubdb'; database doesn't exist
Warning: yunohost.hook <lambda> - [1877.1] Remove the user seafile
Error: yunohost cli - Unknown service 'seafile-server'
Warning: yunohost.hook <lambda> - [1877.1] Unknown service 'seafile-server'
Error: yunohost cli - Nothing has been restored

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: 28 seconds.
Restore the previous snapshot.
Working time: 15 seconds.

Restore on a clean YunoHost system...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 2 minutes, 27 seconds.
Restore failed. (1)
Warning: yunohost.service _run_service_command - [187.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.backup backup_restore - [914.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [914.1] Restoring 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%
Warning: yunohost.hook <lambda> - [914.1] Exception:
Warning: yunohost.hook <lambda> - [914.1] Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [914.1]   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
Warning: yunohost.hook <lambda> - [914.1]     status = self.run(options, args)
Warning: yunohost.hook <lambda> - [914.1]   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 353, in run
Warning: yunohost.hook <lambda> - [914.1]     wb.build(autobuilding=True)
Warning: yunohost.hook <lambda> - [914.1]   File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 749, in build
Warning: yunohost.hook <lambda> - [914.1]     self.requirement_set.prepare_files(self.finder)
Warning: yunohost.hook <lambda> - [914.1]   File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 380, in prepare_files
Warning: yunohost.hook <lambda> - [914.1]     ignore_dependencies=self.ignore_dependencies))
Warning: yunohost.hook <lambda> - [914.1]   File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 620, in _prepare_file
Warning: yunohost.hook <lambda> - [914.1]     session=self.session, hashes=hashes)
Warning: yunohost.hook <lambda> - [914.1]   File "/usr/lib/python2.7/dist-packages/pip/download.py", line 821, in unpack_url
Warning: yunohost.hook <lambda> - [914.1]     hashes=hashes
Warning: yunohost.hook <lambda> - [914.1]   File "/usr/lib/python2.7/dist-packages/pip/download.py", line 659, in unpack_http_url
Warning: yunohost.hook <lambda> - [914.1]     hashes)
Warning: yunohost.hook <lambda> - [914.1]   File "/usr/lib/python2.7/dist-packages/pip/download.py", line 882, in _download_http_url
Warning: yunohost.hook <lambda> - [914.1]     _download_url(resp, link, content_file, hashes)
Warning: yunohost.hook <lambda> - [914.1]   File "/usr/lib/python2.7/dist-packages/pip/download.py", line 603, in _download_url
Warning: yunohost.hook <lambda> - [914.1]     hashes.check_against_chunks(downloaded_chunks)
Warning: yunohost.hook <lambda> - [914.1]   File "/usr/lib/python2.7/dist-packages/pip/utils/hashes.py", line 46, in check_against_chunks
Warning: yunohost.hook <lambda> - [914.1]     for chunk in chunks:
Warning: yunohost.hook <lambda> - [914.1]   File "/usr/lib/python2.7/dist-packages/pip/download.py", line 572, in written_chunks
Warning: yunohost.hook <lambda> - [914.1]     content_file.write(chunk)
Warning: yunohost.hook <lambda> - [914.1] IOError: [Errno 122] Disk quota exceeded
Warning: yunohost.hook <lambda> - [914.1] !!
Warning: yunohost.hook <lambda> - [914.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [914.1] !!
Error: yunohost.backup _restore_app - [914.1] Unable to restore the app 'seafile'
Info: yunohost.log close - [914.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 20190508-192743-backup_restore_app-seafile --share'
Warning: yunohost.hook <lambda> - [914.1] Failed to stop seafile-server.service: Unit seafile-server.service not loaded.
Warning: yunohost.hook <lambda> - [914.1] Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [914.1]   File "/opt/yunohost/seafile/remove_sso_conf.py", line 5, in <module>
Warning: yunohost.hook <lambda> - [914.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [914.1] KeyError: 'skipped_urls'
Warning: yunohost.hook <lambda> - [914.1] /var/log/seafile wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [914.1] /var/www/seafile wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [914.1] /tmp/seahub_cache wasn't deleted because it doesn't exist.
Error: 1008 (HY000) at line 1: Can't drop database 'ccnetdb'; database doesn't exist
Error: 1008 (HY000) at line 1: Can't drop database 'seafiledb'; database doesn't exist
Error: 1008 (HY000) at line 1: Can't drop database 'seahubdb'; database doesn't exist
Warning: yunohost.hook <lambda> - [914.1] Remove the user seafile
Error: yunohost cli - Unknown service 'seafile-server'
Warning: yunohost.hook <lambda> - [914.1] Unknown service 'seafile-server'
Error: yunohost cli - Nothing has been restored

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.

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

Backup of the application...
Start the LXC container.Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 2 minutes, 3 seconds.
Backup successful. (0)
Warning: yunohost.hook <lambda> - [998.1] ls: cannot access '/etc/cron.d/yunohost*': No such file or directory
Info: yunohost.backup _collect_app_files - [998.1] Collecting files to be backuped for seafile…
Info: yunohost.backup backup_create - [998.1] Now creating a backup archive from the files collected…
--- SUCCESS ---

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

Restore after removing the application...
A LXC container is already running.
Working time: 1 second.
Working time: 1 minute, 49 seconds.
Restore failed. (1)
Info: yunohost.backup backup_restore - [1865.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [1865.1] Restoring application seafile…
Warning: yunohost.hook <lambda> - [1865.1] Exception:
Warning: yunohost.hook <lambda> - [1865.1] Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [1865.1]   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
Warning: yunohost.hook <lambda> - [1865.1]     status = self.run(options, args)
Warning: yunohost.hook <lambda> - [1865.1]   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 353, in run
Warning: yunohost.hook <lambda> - [1865.1]     wb.build(autobuilding=True)
Warning: yunohost.hook <lambda> - [1865.1]   File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 749, in build
Warning: yunohost.hook <lambda> - [1865.1]     self.requirement_set.prepare_files(self.finder)
Warning: yunohost.hook <lambda> - [1865.1]   File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 380, in prepare_files
Warning: yunohost.hook <lambda> - [1865.1]     ignore_dependencies=self.ignore_dependencies))
Warning: yunohost.hook <lambda> - [1865.1]   File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 620, in _prepare_file
Warning: yunohost.hook <lambda> - [1865.1]     session=self.session, hashes=hashes)
Warning: yunohost.hook <lambda> - [1865.1]   File "/usr/lib/python2.7/dist-packages/pip/download.py", line 821, in unpack_url
Warning: yunohost.hook <lambda> - [1865.1]     hashes=hashes
Warning: yunohost.hook <lambda> - [1865.1]   File "/usr/lib/python2.7/dist-packages/pip/download.py", line 659, in unpack_http_url
Warning: yunohost.hook <lambda> - [1865.1]     hashes)
Warning: yunohost.hook <lambda> - [1865.1]   File "/usr/lib/python2.7/dist-packages/pip/download.py", line 882, in _download_http_url
Warning: yunohost.hook <lambda> - [1865.1]     _download_url(resp, link, content_file, hashes)
Warning: yunohost.hook <lambda> - [1865.1]   File "/usr/lib/python2.7/dist-packages/pip/download.py", line 603, in _download_url
Warning: yunohost.hook <lambda> - [1865.1]     hashes.check_against_chunks(downloaded_chunks)
Warning: yunohost.hook <lambda> - [1865.1]   File "/usr/lib/python2.7/dist-packages/pip/utils/hashes.py", line 46, in check_against_chunks
Warning: yunohost.hook <lambda> - [1865.1]     for chunk in chunks:
Warning: yunohost.hook <lambda> - [1865.1]   File "/usr/lib/python2.7/dist-packages/pip/download.py", line 572, in written_chunks
Warning: yunohost.hook <lambda> - [1865.1]     content_file.write(chunk)
Warning: yunohost.hook <lambda> - [1865.1] IOError: [Errno 122] Disk quota exceeded
Warning: yunohost.hook <lambda> - [1865.1] !!
Warning: yunohost.hook <lambda> - [1865.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [1865.1] !!
Error: yunohost.backup _restore_app - [1865.1] Unable to restore the app 'seafile'
Info: yunohost.log close - [1865.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 20190508-193338-backup_restore_app-seafile --share'
Warning: yunohost.hook <lambda> - [1865.1] Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [1865.1]   File "/opt/yunohost/seafile/remove_sso_conf.py", line 5, in <module>
Warning: yunohost.hook <lambda> - [1865.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [1865.1] ValueError: list.remove(x): x not in list
Warning: yunohost.hook <lambda> - [1865.1] /var/log/seafile wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [1865.1] /var/www/seafile wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [1865.1] /tmp/seahub_cache wasn't deleted because it doesn't exist.
Error: 1008 (HY000) at line 1: Can't drop database 'ccnetdb'; database doesn't exist
Error: 1008 (HY000) at line 1: Can't drop database 'seafiledb'; database doesn't exist
Error: 1008 (HY000) at line 1: Can't drop database 'seahubdb'; database doesn't exist
Warning: yunohost.hook <lambda> - [1865.1] Remove the user seafile
Error: yunohost cli - Unknown service 'seafile-server'
Warning: yunohost.hook <lambda> - [1865.1] Unknown service 'seafile-server'
Error: yunohost cli - Nothing has been restored

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

Restore on a clean YunoHost system...
Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 2 minutes, 26 seconds.
Restore failed. (1)
Info: yunohost.backup backup_restore - [906.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [906.1] Restoring application seafile…
Warning: yunohost.hook <lambda> - [906.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [906.1] Exception:
Warning: yunohost.hook <lambda> - [906.1] Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [906.1]   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
Warning: yunohost.hook <lambda> - [906.1]     status = self.run(options, args)
Warning: yunohost.hook <lambda> - [906.1]   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 353, in run
Warning: yunohost.hook <lambda> - [906.1]     wb.build(autobuilding=True)
Warning: yunohost.hook <lambda> - [906.1]   File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 749, in build
Warning: yunohost.hook <lambda> - [906.1]     self.requirement_set.prepare_files(self.finder)
Warning: yunohost.hook <lambda> - [906.1]   File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 380, in prepare_files
Warning: yunohost.hook <lambda> - [906.1]     ignore_dependencies=self.ignore_dependencies))
Warning: yunohost.hook <lambda> - [906.1]   File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 620, in _prepare_file
Warning: yunohost.hook <lambda> - [906.1]     session=self.session, hashes=hashes)
Warning: yunohost.hook <lambda> - [906.1]   File "/usr/lib/python2.7/dist-packages/pip/download.py", line 821, in unpack_url
Warning: yunohost.hook <lambda> - [906.1]     hashes=hashes
Warning: yunohost.hook <lambda> - [906.1]   File "/usr/lib/python2.7/dist-packages/pip/download.py", line 659, in unpack_http_url
Warning: yunohost.hook <lambda> - [906.1]     hashes)
Warning: yunohost.hook <lambda> - [906.1]   File "/usr/lib/python2.7/dist-packages/pip/download.py", line 882, in _download_http_url
Warning: yunohost.hook <lambda> - [906.1]     _download_url(resp, link, content_file, hashes)
Warning: yunohost.hook <lambda> - [906.1]   File "/usr/lib/python2.7/dist-packages/pip/download.py", line 603, in _download_url
Warning: yunohost.hook <lambda> - [906.1]     hashes.check_against_chunks(downloaded_chunks)
Warning: yunohost.hook <lambda> - [906.1]   File "/usr/lib/python2.7/dist-packages/pip/utils/hashes.py", line 46, in check_against_chunks
Warning: yunohost.hook <lambda> - [906.1]     for chunk in chunks:
Warning: yunohost.hook <lambda> - [906.1]   File "/usr/lib/python2.7/dist-packages/pip/download.py", line 572, in written_chunks
Warning: yunohost.hook <lambda> - [906.1]     content_file.write(chunk)
Warning: yunohost.hook <lambda> - [906.1] IOError: [Errno 122] Disk quota exceeded
Warning: yunohost.hook <lambda> - [906.1] !!
Warning: yunohost.hook <lambda> - [906.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [906.1] !!
Error: yunohost.backup _restore_app - [906.1] Unable to restore the app 'seafile'
Info: yunohost.log close - [906.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 20190508-193623-backup_restore_app-seafile --share'
Warning: yunohost.hook <lambda> - [906.1] Failed to stop seafile-server.service: Unit seafile-server.service not loaded.
Warning: yunohost.hook <lambda> - [906.1] Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [906.1]   File "/opt/yunohost/seafile/remove_sso_conf.py", line 5, in <module>
Warning: yunohost.hook <lambda> - [906.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [906.1] KeyError: 'skipped_urls'
Warning: yunohost.hook <lambda> - [906.1] /var/log/seafile wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [906.1] /var/www/seafile wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [906.1] /tmp/seahub_cache wasn't deleted because it doesn't exist.
Error: 1008 (HY000) at line 1: Can't drop database 'ccnetdb'; database doesn't exist
Error: 1008 (HY000) at line 1: Can't drop database 'seafiledb'; database doesn't exist
Error: 1008 (HY000) at line 1: Can't drop database 'seahubdb'; database doesn't exist
Warning: yunohost.hook <lambda> - [906.1] Remove the user seafile
Error: yunohost cli - Unknown service 'seafile-server'
Warning: yunohost.hook <lambda> - [906.1] Unknown service 'seafile-server'
Error: yunohost cli - Nothing has been restored

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


>> Change URL... [Test 12/12]

Preliminary install...
Uses an existing snapshot for root installation.
Working time: 24 seconds.
Change the url from sous.domain.tld/ to sous.domain.tld/path...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 34 seconds.
Change_url script successful. (0)
Info:  Reload the service nginx

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

Ressource moved: sous.domain.tld/path
Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

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

Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 19 seconds.

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 16 seconds.
Change the url from sous.domain.tld/path to sous.domain.tld/path_2...
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 34 seconds.
Change_url script successful. (0)
Info:  Reload the service nginx

Try to access by url...
Test url: sous.domain.tld/path_2
Real url: http://sous.domain.tld/path_2/accounts/login/?next=/path_2/
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

Ressource moved: sous.domain.tld/path_2
Resource unreachable (Code 302) sous.domain.tld/path_2/
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

Test url: sous.domain.tld/path_2/
Real url: http://sous.domain.tld/path_2/accounts/login/?next=/path_2/
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

Resource unreachable (Code 302) sous.domain.tld/path_2/
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 18 seconds.

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 6 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: 33 seconds.
Change_url script successful. (0)
Info:  Reload the service nginx

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

Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt

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

Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 18 seconds.

Preliminary install...
Uses an existing snapshot for root installation.
Working time: 15 seconds.
Change the url from sous.domain.tld/ to domain.tld/path...
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 34 seconds.
Change_url script successful. (0)
Info:  Reload the service nginx

Try to access by url...
Test url: domain.tld/path
Real url: http://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

Ressource moved: domain.tld/path
Resource unreachable (Code 302) domain.tld/path/
Ressource ignored: domain.tld/robots.txt
Ressource moved: domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource ignored: domain.tld/robots.txt
Ressource moved: domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

Test url: domain.tld/path/
Real url: http://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

Resource unreachable (Code 302) domain.tld/path/
Ressource ignored: domain.tld/robots.txt
Ressource moved: domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource ignored: domain.tld/robots.txt
Ressource moved: domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 24 seconds.

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 15 seconds.
Change the url from sous.domain.tld/path to domain.tld/path_2...
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 37 seconds.
Change_url script successful. (0)
Warning: yunohost.service _run_service_command - [188.1] Unable to execute command 'systemctl reload fail2ban'
Info:  Reload the service nginx

Try to access by url...
Test url: domain.tld/path_2
Real url: http://domain.tld/path_2/accounts/login/?next=/path_2/
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

Ressource moved: domain.tld/path_2
Resource unreachable (Code 302) domain.tld/path_2/
Ressource ignored: domain.tld/robots.txt
Ressource moved: domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource ignored: domain.tld/robots.txt
Ressource moved: domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

Test url: domain.tld/path_2/
Real url: http://domain.tld/path_2/accounts/login/?next=/path_2/
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

Resource unreachable (Code 302) domain.tld/path_2/
Ressource ignored: domain.tld/robots.txt
Ressource moved: domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource ignored: domain.tld/robots.txt
Ressource moved: domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 20 seconds.

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 6 seconds.
Change the url from sous.domain.tld/path to domain.tld/...
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 37 seconds.
Change_url script successful. (0)
Warning: yunohost.service _run_service_command - [184.1] Unable to execute command 'systemctl reload fail2ban'
Info:  Reload the service nginx

Try to access by url...
Test url: domain.tld
Real url: http://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

Resource unreachable (Code 302) domain.tld/
Ressource ignored: domain.tld/robots.txt

Test url: domain.tld/
Real url: http://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

Resource unreachable (Code 302) domain.tld/
Ressource ignored: domain.tld/robots.txt

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 19 seconds.
Restore the previous snapshot.
Working time: 13 seconds.
Working time for this test: 8 minutes, 43 seconds.



Package linter:                  SUCCESS
Installation:                    SUCCESS
Deleting:                        SUCCESS
Installation in a sub path:      SUCCESS
Deleting from a sub path:        SUCCESS
Installation on the root:        SUCCESS
Deleting from root:              SUCCESS
Upgrade:                         SUCCESS
Installation in private mode:    SUCCESS
Installation in public mode:     SUCCESS
Multi-instance installations:    Not evaluated.
Malformed path:                  SUCCESS
Port already used:               SUCCESS
Backup:                          SUCCESS
Restore:                         FAIL
Change URL:                      SUCCESS
Level of this application: 3 (Can be updated)
	   Level 1: 1
	   Level 2: 1
	   Level 3: 1
	   Level 4: 0
	   Level 5: 1
	   Level 6: 1
	   Level 7: 0
	   Level 8: 0
	   Level 9: 0
	   Level 10: 0
You can find the complete log of these tests in /home/CI_package_check/dev_CI/../package_check/Complete.log
Global working time for all tests: 1 hour, 6 minutes, 30 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

Wed May  8 19:48:06 UTC 2019
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE