FailedConsole Output

Started from command line by ynhci
Building in workspace /var/lib/jenkins/jobs/nextcloud_ynh PR125/workspace
[workspace] $ /bin/sh -xe /tmp/jenkins5756091336074342732.sh
+ /home/CI_package_check/analyseCI.sh /home/yunohost.app/ssh_chroot_directories/Official/data/nextcloud/nextcloud_ynh PR125.enh_postgresql_migration nextcloud_ynh PR125

Sun Mar 24 23:25:07 UTC 2019
Wait for work starting...
..........
Sun Mar 24 23:30:07 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: Test complet

>> YunoHost versions:
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 1 second.
Debian GNU/Linux 9
yunohost: 
  repo: stable
  version: 3.4.2.4
yunohost-admin: 
  repo: stable
  version: 3.4.2
moulinette: 
  repo: stable
  version: 3.4.2
ssowat: 
  repo: stable
  version: 3.4.2
Connection to 10.1.4.2 closed.


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

    [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/nextcloud_ynh PR125.enh_postgresql_migration_check

 [Loading App]

! /home/CI_package_check/dev_CI/../package_check/nextcloud_ynh PR125.enh_postgresql_migration_check/scripts/install : Could not parse this line (No closing quotation) : exec_occ config:system:get logout_url >/dev/null 2>&1 || echo " 
! /home/CI_package_check/dev_CI/../package_check/nextcloud_ynh PR125.enh_postgresql_migration_check/scripts/install : Could not parse this line (No closing quotation) : " >> "${final_path}/config/config.php" 
! /home/CI_package_check/dev_CI/../package_check/nextcloud_ynh PR125.enh_postgresql_migration_check/scripts/upgrade : Could not parse this line (No closing quotation) : exec_occ config:system:get logout_url >/dev/null 2>&1 || echo " 
! /home/CI_package_check/dev_CI/../package_check/nextcloud_ynh PR125.enh_postgresql_migration_check/scripts/upgrade : Could not parse this line (No closing quotation) : " >> "${final_path}/config/config.php" 

 [Misc File Checks]

! Using a separate php-fpm.ini file is deprecated. Please merge your php-fpm directives directly in the pool file. (c.f. https://github.com/YunoHost-Apps/nextcloud_ynh/issues/138 ) 
! Do not use 'add_header' in the nginx conf. Use 'more_set_headers' instead. (See https://www.peterbe.com/plog/be-very-careful-with-your-add_header-in-nginx and https://github.com/openresty/headers-more-nginx-module#more_set_headers ) 

 [Sources Management]


 [Manifest]

! YunoHost version requirement is still 2.x ... Good job if it does still work on Jessie !... But are you really sure about that ;) ? be careful that many new helpers you might already be playing with are only available on 3.x... 

 [Install Script]

! 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]

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

 [Backup Script]

! In the context of backup and restore script, you should load _common.sh with "source ../settings/scripts/_common.sh" 

 [Restore Script]

? [YEP-2.4] 'ynh_die' or 'exit' command is executed with system modification before (cmd 'cp').
This system modification is an issue if a verification exit the script.
You should move this verification before any system modification. 
! In the context of backup and restore script, you should load _common.sh with "source ../settings/scripts/_common.sh" 
--- SUCCESS ---


>> Installation in a sub path... [Test 2/7]
A LXC container is already running.
Working time: 1 second.
Working time: 2 minutes, 51 seconds.
Installation successful. (0)
Warning: yunohost.hook <lambda> - [990.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [990.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [990.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [990.1] 
Extracting templates from packages: 35%
Extracting templates from packages: 71%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [990.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [990.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [990.1] Packagers ! Please do not use a separate php ini file, merge your directives in the pool file instead.
Warning: yunohost.hook <lambda> - [990.1] 2019-03-24 23:33:09 URL:https://codeload.github.com/YunoHost-Apps/yunohost.multimedia/tar.gz/v1.0 [15907] -> "v1.0.tar.gz" [1]

Try to access by url...
A LXC container is already running.
Working time: 1 second.
Working time: 2 seconds.
A LXC container is already running.
Working time: 1 second.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/index.php/login
HTTP code: 200
Title of the page: 
Extract of the page:
   This application requires JavaScript for correct operation. Please
   [1]enable JavaScript and reload the page.

Nextcloud

   ____________________ Username or email

   ____________________ Password
   Log in
   Reset password
   [ ] Stay logged in
   [2]Forgot password? [3]Back to log in

   [4]Nextcloud – a safe home for all your data

References

   1. https://www.enable-javascript.com/
   2. file:///home/CI_package_check/package_check/url_output
   3. file:///home/CI_package_check/package_check/url_output

Resource unreachable (Code 302) sous.domain.tld/path
Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_flat_75_ffffff_40x100.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_75_dadada_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_65_ffffff_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_888888_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_454545_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_2e83ff_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_cd0a0a_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png

Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/index.php/login
HTTP code: 200
Title of the page: 
Extract of the page:
   This application requires JavaScript for correct operation. Please
   [1]enable JavaScript and reload the page.

Nextcloud

   ____________________ Username or email

   ____________________ Password
   Log in
   Reset password
   [ ] Stay logged in
   [2]Forgot password? [3]Back to log in

   [4]Nextcloud – a safe home for all your data

References

   1. https://www.enable-javascript.com/
   2. file:///home/CI_package_check/package_check/url_output
   3. file:///home/CI_package_check/package_check/url_output

Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_flat_75_ffffff_40x100.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_75_dadada_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_65_ffffff_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_888888_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_454545_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_2e83ff_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_cd0a0a_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png

Issue alias_traversal detected ! Please see here https://github.com/YunoHost/example_ynh/pull/45 to fix that.
--- SUCCESS ---
Create a snapshot for sub path installation.
Working time: 27 seconds.
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 1 second.

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 25 seconds.
Deleting successful. (0)
Warning: yunohost.hook <lambda> - [1013.1] Remove the user nextcloud
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 1 second.
Working time: 1 minute, 49 seconds.
Installation successful. (0)
Warning: yunohost.hook <lambda> - [4131.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [4131.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [4131.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [4131.1] Packagers ! Please do not use a separate php ini file, merge your directives in the pool file instead.
Warning: yunohost.hook <lambda> - [4131.1] 2019-03-24 23:36:28 URL:https://codeload.github.com/YunoHost-Apps/yunohost.multimedia/tar.gz/v1.0 [15907] -> "v1.0.tar.gz" [1]

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
A LXC container is already running.
Working time: 1 second.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/index.php/login
HTTP code: 200
Title of the page: 
Extract of the page:
   This application requires JavaScript for correct operation. Please
   [1]enable JavaScript and reload the page.

Nextcloud

   ____________________ Username or email

   ____________________ Password
   Log in
   Reset password
   [ ] Stay logged in
   [2]Forgot password? [3]Back to log in

   [4]Nextcloud – a safe home for all your data

References

   1. https://www.enable-javascript.com/
   2. file:///home/CI_package_check/package_check/url_output
   3. file:///home/CI_package_check/package_check/url_output

Resource unreachable (Code 302) sous.domain.tld/path
Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_flat_75_ffffff_40x100.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_75_dadada_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_65_ffffff_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_888888_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_454545_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_2e83ff_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_cd0a0a_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png

Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/index.php/login
HTTP code: 200
Title of the page: 
Extract of the page:
   This application requires JavaScript for correct operation. Please
   [1]enable JavaScript and reload the page.

Nextcloud

   ____________________ Username or email

   ____________________ Password
   Log in
   Reset password
   [ ] Stay logged in
   [2]Forgot password? [3]Back to log in

   [4]Nextcloud – a safe home for all your data

References

   1. https://www.enable-javascript.com/
   2. file:///home/CI_package_check/package_check/url_output
   3. file:///home/CI_package_check/package_check/url_output

Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_flat_75_ffffff_40x100.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_75_dadada_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_65_ffffff_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_888888_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_454545_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_2e83ff_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_cd0a0a_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png

Issue alias_traversal detected ! Please see here https://github.com/YunoHost/example_ynh/pull/45 to fix that.
--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 16 seconds.
Working time for this test: 6 minutes, 46 seconds.


>> Installation on the root... [Test 3/7]
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 3 minutes, 3 seconds.
Installation successful. (0)
Warning: yunohost.hook <lambda> - [927.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [927.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [927.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [927.1] 
Extracting templates from packages: 35%
Extracting templates from packages: 71%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [927.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [927.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [927.1] Packagers ! Please do not use a separate php ini file, merge your directives in the pool file instead.
Warning: yunohost.hook <lambda> - [927.1] 2019-03-24 23:40:10 URL:https://codeload.github.com/YunoHost-Apps/yunohost.multimedia/tar.gz/v1.0 [15907] -> "v1.0.tar.gz" [1]

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld
Real url: https://sous.domain.tld/index.php/login
HTTP code: 200
Title of the page: 
Extract of the page:
   This application requires JavaScript for correct operation. Please
   [1]enable JavaScript and reload the page.

Nextcloud

   ____________________ Username or email

   ____________________ Password
   Log in
   Reset password
   [ ] Stay logged in
   [2]Forgot password? [3]Back to log in

   [4]Nextcloud – a safe home for all your data

References

   1. https://www.enable-javascript.com/
   2. file:///home/CI_package_check/package_check/url_output
   3. file:///home/CI_package_check/package_check/url_output

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

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/index.php/login
HTTP code: 200
Title of the page: 
Extract of the page:
   This application requires JavaScript for correct operation. Please
   [1]enable JavaScript and reload the page.

Nextcloud

   ____________________ Username or email

   ____________________ Password
   Log in
   Reset password
   [ ] Stay logged in
   [2]Forgot password? [3]Back to log in

   [4]Nextcloud – a safe home for all your data

References

   1. https://www.enable-javascript.com/
   2. file:///home/CI_package_check/package_check/url_output
   3. file:///home/CI_package_check/package_check/url_output

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

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

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 26 seconds.
Deleting successful. (0)
Warning: yunohost.hook <lambda> - [1006.1] Remove the user nextcloud
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 1 second.
Working time: 1 minute, 50 seconds.
Installation successful. (0)
Warning: yunohost.hook <lambda> - [4121.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [4121.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [4121.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [4121.1] Packagers ! Please do not use a separate php ini file, merge your directives in the pool file instead.
Warning: yunohost.hook <lambda> - [4121.1] 2019-03-24 23:43:29 URL:https://codeload.github.com/YunoHost-Apps/yunohost.multimedia/tar.gz/v1.0 [15907] -> "v1.0.tar.gz" [1]

Try to access by url...
A LXC container is already running.
Working time: 1 second.
Working time: 2 seconds.
A LXC container is already running.
Working time: 1 second.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld
Real url: https://sous.domain.tld/index.php/login
HTTP code: 200
Title of the page: 
Extract of the page:
   This application requires JavaScript for correct operation. Please
   [1]enable JavaScript and reload the page.

Nextcloud

   ____________________ Username or email

   ____________________ Password
   Log in
   Reset password
   [ ] Stay logged in
   [2]Forgot password? [3]Back to log in

   [4]Nextcloud – a safe home for all your data

References

   1. https://www.enable-javascript.com/
   2. file:///home/CI_package_check/package_check/url_output
   3. file:///home/CI_package_check/package_check/url_output

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

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/index.php/login
HTTP code: 200
Title of the page: 
Extract of the page:
   This application requires JavaScript for correct operation. Please
   [1]enable JavaScript and reload the page.

Nextcloud

   ____________________ Username or email

   ____________________ Password
   Log in
   Reset password
   [ ] Stay logged in
   [2]Forgot password? [3]Back to log in

   [4]Nextcloud – a safe home for all your data

References

   1. https://www.enable-javascript.com/
   2. file:///home/CI_package_check/package_check/url_output
   3. file:///home/CI_package_check/package_check/url_output

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: 17 seconds.
Working time for this test: 6 minutes, 54 seconds.


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

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

Upgrade...
Start the LXC container.Start the LXC container..
Create witness files...
Working time: 11 seconds.
Working time: 1 minute, 52 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [971.1] Upgrading apps nextcloud
Info: yunohost.app app_upgrade - [971.1] Upgrading app nextcloud…
Warning: yunohost.hook <lambda> - [1048.1] Data dir will not be saved, because backup_core_only is set.
Warning: yunohost.hook <lambda> - [971.1] 4046 Data dir will not be saved, because backup_core_only is set.
Warning: yunohost.hook <lambda> - [971.1] Packagers ! Please do not use a separate php ini file, merge your directives in the pool file instead.
Warning: yunohost.hook <lambda> - [971.1] 2019-03-24 23:46:18 URL:https://codeload.github.com/YunoHost-Apps/yunohost.multimedia/tar.gz/v1.0 [15907] -> "v1.0.tar.gz" [1]
Warning: yunohost.hook <lambda> - [971.1] Note that if you've installed some third-parties Nextcloud applications, they are probably disabled and you'll have to manually enable them again.

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/index.php/login
HTTP code: 200
Title of the page: 
Extract of the page:
   This application requires JavaScript for correct operation. Please
   [1]enable JavaScript and reload the page.

Nextcloud

   ____________________ Username or email

   ____________________ Password
   Log in
   Reset password
   [ ] Stay logged in
   [2]Forgot password? [3]Back to log in

   [4]Nextcloud – a safe home for all your data

References

   1. https://www.enable-javascript.com/
   2. file:///home/CI_package_check/package_check/url_output
   3. file:///home/CI_package_check/package_check/url_output

Resource unreachable (Code 302) sous.domain.tld/path
Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_flat_75_ffffff_40x100.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_75_dadada_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_65_ffffff_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_888888_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_454545_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_2e83ff_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_cd0a0a_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png

Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/index.php/login
HTTP code: 200
Title of the page: 
Extract of the page:
   This application requires JavaScript for correct operation. Please
   [1]enable JavaScript and reload the page.

Nextcloud

   ____________________ Username or email

   ____________________ Password
   Log in
   Reset password
   [ ] Stay logged in
   [2]Forgot password? [3]Back to log in

   [4]Nextcloud – a safe home for all your data

References

   1. https://www.enable-javascript.com/
   2. file:///home/CI_package_check/package_check/url_output
   3. file:///home/CI_package_check/package_check/url_output

Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_flat_75_ffffff_40x100.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_75_dadada_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_65_ffffff_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_888888_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_454545_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_2e83ff_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_cd0a0a_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png

Issue alias_traversal detected ! Please see here https://github.com/YunoHost/example_ynh/pull/45 to fix that.
--- SUCCESS ---

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


>> Upgrade from Move patches to the right folder... [Test 5/7]

Preliminary install...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 2 minutes, 59 seconds.
Installation failed. (1)
Warning: yunohost.hook <lambda> - [854.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [854.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [854.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [854.1] 
Extracting templates from packages: 42%
Extracting templates from packages: 84%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [854.1] Packagers ! Please do not use a separate php ini file, merge your directives in the pool file instead.
Warning: yunohost.hook <lambda> - [854.1] Unable to install Nextcloud
Warning: yunohost.hook <lambda> - [854.1] !!
Warning: yunohost.hook <lambda> - [854.1]   nextcloud's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [854.1] !!
Info: yunohost.log close - [854.1] The operation 'Install 'nextcloud' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190324-234911-app_install-nextcloud --share'
Warning: yunohost.hook <lambda> - [854.1] Removing database nextcloud
Warning: yunohost.hook <lambda> - [854.1] /etc/cron.d/nextcloud wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [854.1] Remove the user nextcloud
Error: yunohost cli - The operation 'Install 'nextcloud' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190324-234911-app_install-nextcloud --share'

Installation failed...
--- FAIL ---

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
Deleting failed. (1)
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: 6 minutes, 58 seconds.


>> Malformed path... [Test 6/7]
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 2 minutes, 51 seconds.
Installation successful. (0)
Warning: yunohost.hook <lambda> - [926.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [926.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [926.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [926.1] 
Extracting templates from packages: 35%
Extracting templates from packages: 71%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [926.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [926.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [926.1] Packagers ! Please do not use a separate php ini file, merge your directives in the pool file instead.
Warning: yunohost.hook <lambda> - [926.1] 2019-03-24 23:53:50 URL:https://codeload.github.com/YunoHost-Apps/yunohost.multimedia/tar.gz/v1.0 [15907] -> "v1.0.tar.gz" [1]

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/index.php/login
HTTP code: 200
Title of the page: 
Extract of the page:
   This application requires JavaScript for correct operation. Please
   [1]enable JavaScript and reload the page.

Nextcloud

   ____________________ Username or email

   ____________________ Password
   Log in
   Reset password
   [ ] Stay logged in
   [2]Forgot password? [3]Back to log in

   [4]Nextcloud – a safe home for all your data

References

   1. https://www.enable-javascript.com/
   2. file:///home/CI_package_check/package_check/url_output
   3. file:///home/CI_package_check/package_check/url_output

Resource unreachable (Code 302) sous.domain.tld/path
Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_flat_75_ffffff_40x100.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_75_dadada_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_65_ffffff_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_888888_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_454545_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_2e83ff_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_cd0a0a_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png

Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/index.php/login
HTTP code: 200
Title of the page: 
Extract of the page:
   This application requires JavaScript for correct operation. Please
   [1]enable JavaScript and reload the page.

Nextcloud

   ____________________ Username or email

   ____________________ Password
   Log in
   Reset password
   [ ] Stay logged in
   [2]Forgot password? [3]Back to log in

   [4]Nextcloud – a safe home for all your data

References

   1. https://www.enable-javascript.com/
   2. file:///home/CI_package_check/package_check/url_output
   3. file:///home/CI_package_check/package_check/url_output

Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_flat_75_ffffff_40x100.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_75_dadada_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_65_ffffff_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_888888_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_454545_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_2e83ff_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_cd0a0a_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png

Issue alias_traversal detected ! Please see here https://github.com/YunoHost/example_ynh/pull/45 to fix that.
--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 16 seconds.
Working time for this test: 3 minutes, 35 seconds.


>> Backup/Restore... [Test 7/7]

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

Backup of the application...
Start the LXC container..
Create witness files...
Working time: 11 seconds.
Working time: 49 seconds.
Backup successful. (0)
Warning: yunohost.hook <lambda> - [954.1] ls: cannot access '/etc/cron.d/yunohost*': No such file or directory
--- 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, 11 seconds.
Restore successful. (0)
Warning: yunohost.hook <lambda> - [4313.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [4313.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [4313.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [4313.1] 2019-03-24 23:57:38 URL:https://codeload.github.com/YunoHost-Apps/yunohost.multimedia/tar.gz/v1.0 [15907] -> "v1.0.tar.gz" [1]

Try to access by url...
A LXC container is already running.
Working time: 1 second.
Working time: 2 seconds.
A LXC container is already running.
Working time: 1 second.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld
Real url: https://sous.domain.tld/index.php/login
HTTP code: 200
Title of the page: 
Extract of the page:
   This application requires JavaScript for correct operation. Please
   [1]enable JavaScript and reload the page.

Nextcloud

   ____________________ Username or email

   ____________________ Password
   Log in
   Reset password
   [ ] Stay logged in
   [2]Forgot password? [3]Back to log in

   [4]Nextcloud – a safe home for all your data

References

   1. https://www.enable-javascript.com/
   2. file:///home/CI_package_check/package_check/url_output
   3. file:///home/CI_package_check/package_check/url_output

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

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/index.php/login
HTTP code: 200
Title of the page: 
Extract of the page:
   This application requires JavaScript for correct operation. Please
   [1]enable JavaScript and reload the page.

Nextcloud

   ____________________ Username or email

   ____________________ Password
   Log in
   Reset password
   [ ] Stay logged in
   [2]Forgot password? [3]Back to log in

   [4]Nextcloud – a safe home for all your data

References

   1. https://www.enable-javascript.com/
   2. file:///home/CI_package_check/package_check/url_output
   3. file:///home/CI_package_check/package_check/url_output

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

Restore on a clean YunoHost system...
Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 35 seconds.
Restore failed. (1)
Warning: yunohost.hook <lambda> - [934.1] postgresql shoud be 9.4 or 9.6
Warning: yunohost.hook <lambda> - [934.1] !!
Warning: yunohost.hook <lambda> - [934.1]   nextcloud's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [934.1] !!
Error: yunohost.backup _restore_app - [934.1] Unable to restore the app 'nextcloud'
Info: yunohost.log close - [934.1] The operation 'Restore 'nextcloud' from a backup archive' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190324-235853-backup_restore_app-nextcloud --share'
Warning: yunohost.hook <lambda> - [934.1] E: Unable to locate package nextcloud-ynh-deps
Warning: yunohost.hook <lambda> - [934.1] sudo: unknown user: postgres
Warning: yunohost.hook <lambda> - [934.1] sudo: unable to initialize policy plugin
Warning: yunohost.hook <lambda> - [934.1] sudo: unknown user: postgres
Warning: yunohost.hook <lambda> - [934.1] sudo: unable to initialize policy plugin
Warning: yunohost.hook <lambda> - [934.1] /etc/php/7.0/fpm/pool.d/nextcloud.conf wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [934.1] /etc/cron.d/nextcloud wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [934.1] The user nextcloud was not found
Error: yunohost cli - Nothing has been restored

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
Public access forced by a skipped_uris to check.
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: 11 seconds.

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

Backup of the application...
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 51 seconds.
Backup successful. (0)
Warning: yunohost.hook <lambda> - [961.1] ls: cannot access '/etc/cron.d/yunohost*': No such file or directory
--- 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, 10 seconds.
Restore successful. (0)
Warning: yunohost.hook <lambda> - [4332.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [4332.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [4332.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [4332.1] 2019-03-25 00:02:20 URL:https://codeload.github.com/YunoHost-Apps/yunohost.multimedia/tar.gz/v1.0 [15907] -> "v1.0.tar.gz" [1]

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/index.php/login
HTTP code: 200
Title of the page: 
Extract of the page:
   This application requires JavaScript for correct operation. Please
   [1]enable JavaScript and reload the page.

Nextcloud

   ____________________ Username or email

   ____________________ Password
   Log in
   Reset password
   [ ] Stay logged in
   [2]Forgot password? [3]Back to log in

   [4]Nextcloud – a safe home for all your data

References

   1. https://www.enable-javascript.com/
   2. file:///home/CI_package_check/package_check/url_output
   3. file:///home/CI_package_check/package_check/url_output

Resource unreachable (Code 302) sous.domain.tld/path
Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_flat_75_ffffff_40x100.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_75_dadada_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_65_ffffff_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_888888_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_454545_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_2e83ff_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_cd0a0a_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png

Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/index.php/login
HTTP code: 200
Title of the page: 
Extract of the page:
   This application requires JavaScript for correct operation. Please
   [1]enable JavaScript and reload the page.

Nextcloud

   ____________________ Username or email

   ____________________ Password
   Log in
   Reset password
   [ ] Stay logged in
   [2]Forgot password? [3]Back to log in

   [4]Nextcloud – a safe home for all your data

References

   1. https://www.enable-javascript.com/
   2. file:///home/CI_package_check/package_check/url_output
   3. file:///home/CI_package_check/package_check/url_output

Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_flat_75_ffffff_40x100.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_75_dadada_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_65_ffffff_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_888888_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_454545_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_2e83ff_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-icons_cd0a0a_256x240.png
Resource unreachable (Code 404) sous.domain.tld/path/core/vendor/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png

Issue alias_traversal detected ! Please see here https://github.com/YunoHost/example_ynh/pull/45 to fix that.
--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 19 seconds.
Restore the previous snapshot.
Working time: 9 seconds.

Restore on a clean YunoHost system...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 32 seconds.
Restore failed. (1)
Warning: yunohost.hook <lambda> - [912.1] postgresql shoud be 9.4 or 9.6
Warning: yunohost.hook <lambda> - [912.1] !!
Warning: yunohost.hook <lambda> - [912.1]   nextcloud's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [912.1] !!
Error: yunohost.backup _restore_app - [912.1] Unable to restore the app 'nextcloud'
Info: yunohost.log close - [912.1] The operation 'Restore 'nextcloud' from a backup archive' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190325-000348-backup_restore_app-nextcloud --share'
Warning: yunohost.hook <lambda> - [912.1] E: Unable to locate package nextcloud-ynh-deps
Warning: yunohost.hook <lambda> - [912.1] sudo: unknown user: postgres
Warning: yunohost.hook <lambda> - [912.1] sudo: unable to initialize policy plugin
Warning: yunohost.hook <lambda> - [912.1] sudo: unknown user: postgres
Warning: yunohost.hook <lambda> - [912.1] sudo: unable to initialize policy plugin
Warning: yunohost.hook <lambda> - [912.1] /etc/php/7.0/fpm/pool.d/nextcloud.conf wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [912.1] /etc/cron.d/nextcloud wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [912.1] The user nextcloud was not found
Error: yunohost cli - Nothing has been restored

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
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: 12 seconds.
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 9 minutes, 42 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:                         FAIL
Installation in private mode:    Not evaluated.
Installation in public mode:     Not evaluated.
Multi-instance installations:    Not evaluated.
Malformed path:                  SUCCESS
Port already used:               Not evaluated.
Backup:                          SUCCESS
Restore:                         FAIL
Change URL:                      Not evaluated.
Issue alias_traversal was detected ! Please see here https://github.com/YunoHost/example_ynh/pull/45 to fix that.
Level of this application: 2 (Installable in all situations)
	   Level 1: 1
	   Level 2: 1
	   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: 34 minutes, 12 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_Official_data_nextcloud_nextcloud_ynh_PR125.enh_postgresql_migration_complete.log

Mon Mar 25 00:06:10 UTC 2019
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE