[FSTrigger] Triggered by a change to a folder (log) Building in workspace /var/lib/jenkins/jobs/synapse_ynh (josue)/workspace [workspace] $ /bin/sh -xe /tmp/jenkins7872332414468179473.sh + /home/CI_package_check/analyseCI.sh /home/yunohost.app/ssh_chroot_directories/josue/data/synapse_ynh synapse_ynh (josue) Wed Jun 26 20:09:01 UTC 2019 Wait for work starting... ... Wed Jun 26 20:10: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: 9 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: General >> YunoHost versions: Start the LXC container. Create witness files... Working time: 10 seconds. Working time: 5 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/9] [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/synapse_ynh_check [Loading App] Some lines could not be parsed in script install. (That's probably not really critical) ? No closing quotation : message="If your server name is identical to the domain on which synapse is installed, and the default port 8448 is used, your server is normally already accessible by the federation. ? No closing quotation : You also need to open the TCP port $synapse_tls_port on your ISP box if it's not automatically done. ? No closing quotation : If you're facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/synapse_ynh Some lines could not be parsed in script restore. (That's probably not really critical) ? No closing quotation : ynh_psql_execute_as_root "CREATE DATABASE $synapse_db_name ? No closing quotation : OWNER $synapse_db_user;" ? No closing quotation : message="To federate this app you need to add this line in your DNS configuration: ? No closing quotation : You also need to open the TCP port $synapse_tls_port on your ISP box if it's not automatically done. ? No closing quotation : If you're facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/synapse_ynh" [Misc File Checks] [Sources Management] [Manifest] ! Consider adding an 'help' key for argument 'is_public' to explain to the user what it means for *this* app to be public or private : "help": { "en": "Some explanation" } [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 'rm'). This system modification is an issue if a verification exit the script. You should move this verification before any system modification. [Backup Script] [Restore Script] --- SUCCESS --- >> Installation in a sub path... [Test 2/9] A LXC container is already running. Working time: 2 seconds. Working time: 5 minutes, 30 seconds. Installation failed. (1) Info: yunohost.app app_install - [1031.1] Installing application synapse… Warning: yunohost.hook <lambda> - [1031.1] Extracting templates from packages: 62% Extracting templates from packages: 100% Warning: yunohost.hook <lambda> - [1031.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor Warning: yunohost.hook <lambda> - [1031.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install. Warning: yunohost.hook <lambda> - [1031.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql Warning: yunohost.hook <lambda> - [1031.1] Traceback (most recent call last): Warning: yunohost.hook <lambda> - [1031.1] File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main Warning: yunohost.hook <lambda> - [1031.1] "__main__", mod_spec) Warning: yunohost.hook <lambda> - [1031.1] File "/usr/lib/python3.5/runpy.py", line 85, in _run_code Warning: yunohost.hook <lambda> - [1031.1] exec(code, run_globals) Warning: yunohost.hook <lambda> - [1031.1] File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/app/homeserver.py", line 64, in <module> Warning: yunohost.hook <lambda> - [1031.1] from synapse.rest import ClientRestResource Warning: yunohost.hook <lambda> - [1031.1] File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/rest/__init__.py", line 32, in <module> Warning: yunohost.hook <lambda> - [1031.1] from synapse.rest.client.v2_alpha import ( Warning: yunohost.hook <lambda> - [1031.1] File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/rest/client/v2_alpha/account.py", line 21, in <module> Warning: yunohost.hook <lambda> - [1031.1] import jinja2 Warning: yunohost.hook <lambda> - [1031.1] ImportError: No module named 'jinja2' Warning: yunohost.hook <lambda> - [1031.1] !! Warning: yunohost.hook <lambda> - [1031.1] synapse's script has encountered an error. Its execution was cancelled. Warning: yunohost.hook <lambda> - [1031.1] !! Info: yunohost.log close - [1031.1] The operation 'Install 'synapse' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190626-201047-app_install-synapse --share' Warning: yunohost.firewall firewall_disallow - [8198.1] Port 8448 is already closed for IPv4 connections Warning: yunohost.firewall firewall_disallow - [8198.1] Port 8448 is already closed for IPv6 connections Warning: yunohost.hook <lambda> - [1031.1] Port 8448 is already closed for IPv4 connections Warning: yunohost.hook <lambda> - [1031.1] Port 8448 is already closed for IPv6 connections Warning: yunohost.hook <lambda> - [1031.1] Traceback (most recent call last): Warning: yunohost.hook <lambda> - [1031.1] File "../conf/remove_sso_conf.py", line 5, in <module> Warning: yunohost.hook <lambda> - [1031.1] data["skipped_urls"].remove("/_matrix") Warning: yunohost.hook <lambda> - [1031.1] KeyError: 'skipped_urls' Warning: yunohost.hook <lambda> - [1031.1] /etc/default/matrix-synapse wasn't deleted because it doesn't exist. Warning: yunohost.hook <lambda> - [1031.1] /etc/default/coturn-synapse wasn't deleted because it doesn't exist. Warning: yunohost.hook <lambda> - [1031.1] /etc/nginx/conf.d/sous.domain.tld.d/synapse.conf wasn't deleted because it doesn't exist. Info: Reload the service nginx Warning: yunohost.hook <lambda> - [1031.1] Remove the user matrix-synapse Warning: yunohost.hook <lambda> - [1031.1] /etc/fail2ban/jail.d/synapse.conf wasn't deleted because it doesn't exist. Warning: yunohost.hook <lambda> - [1031.1] /etc/fail2ban/filter.d/synapse.conf wasn't deleted because it doesn't exist. Error: yunohost cli - Unknown service 'matrix-synapse' Warning: yunohost.hook <lambda> - [1031.1] Unknown service 'matrix-synapse' Error: yunohost cli - Unknown service 'coturn-synapse' Warning: yunohost.hook <lambda> - [1031.1] Unknown service 'coturn-synapse' Warning: yunohost.app app_install - [1031.1] synapse has not been properly removed Info: yunohost.log close - [1031.1] The operation 'Remove 'synapse' after a failed installation' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190626-201521-remove_on_failed_install-synapse --share' Error: yunohost cli - The operation 'Install 'synapse' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190626-201047-app_install-synapse --share' Try to access by url... Test url: sous.domain.tld/_matrix/static Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvX21hdHJpeC9zdGF0aWM= HTTP code: 200 Title of the page: YunoHost Portal The connection attempt fall on the YunoHost portal. Test url: sous.domain.tld/_matrix/static/ Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvX21hdHJpeC9zdGF0aWMv HTTP code: 200 Title of the page: YunoHost Portal The connection attempt fall on the YunoHost portal. --- FAIL --- Deleting... A LXC container is already running. Working time: 1 second. Working time: 6 seconds. Deleting failed. (1) Error: yunohost cli - synapse is not installed --- FAIL --- Stop the LXC container Restore the previous snapshot. Working time: 18 seconds. Working time for this test: 6 minutes, 1 second. >> Upgrade from the same version... [Test 3/9] Preliminary install... Start the LXC container. Create witness files... Working time: 5 seconds. Working time: 6 minutes, 14 seconds. Installation failed. (1) Warning: yunohost.service _run_service_command - [184.1] Unable to execute command 'systemctl reload fail2ban' Info: yunohost.app app_install - [909.1] Installing application synapse… Warning: yunohost.hook <lambda> - [909.1] Extracting templates from packages: 62% Extracting templates from packages: 100% Warning: yunohost.hook <lambda> - [909.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor Warning: yunohost.hook <lambda> - [909.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install. Warning: yunohost.hook <lambda> - [909.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql Warning: yunohost.hook <lambda> - [909.1] Traceback (most recent call last): Warning: yunohost.hook <lambda> - [909.1] File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main Warning: yunohost.hook <lambda> - [909.1] "__main__", mod_spec) Warning: yunohost.hook <lambda> - [909.1] File "/usr/lib/python3.5/runpy.py", line 85, in _run_code Warning: yunohost.hook <lambda> - [909.1] exec(code, run_globals) Warning: yunohost.hook <lambda> - [909.1] File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/app/homeserver.py", line 64, in <module> Warning: yunohost.hook <lambda> - [909.1] from synapse.rest import ClientRestResource Warning: yunohost.hook <lambda> - [909.1] File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/rest/__init__.py", line 32, in <module> Warning: yunohost.hook <lambda> - [909.1] from synapse.rest.client.v2_alpha import ( Warning: yunohost.hook <lambda> - [909.1] File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/rest/client/v2_alpha/account.py", line 21, in <module> Warning: yunohost.hook <lambda> - [909.1] import jinja2 Warning: yunohost.hook <lambda> - [909.1] ImportError: No module named 'jinja2' Warning: yunohost.hook <lambda> - [909.1] !! Warning: yunohost.hook <lambda> - [909.1] synapse's script has encountered an error. Its execution was cancelled. Warning: yunohost.hook <lambda> - [909.1] !! Info: yunohost.log close - [909.1] The operation 'Install 'synapse' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190626-201655-app_install-synapse --share' Warning: yunohost.firewall firewall_disallow - [8055.1] Port 8448 is already closed for IPv4 connections Warning: yunohost.firewall firewall_disallow - [8055.1] Port 8448 is already closed for IPv6 connections Warning: yunohost.hook <lambda> - [909.1] Port 8448 is already closed for IPv4 connections Warning: yunohost.hook <lambda> - [909.1] Port 8448 is already closed for IPv6 connections Warning: yunohost.hook <lambda> - [909.1] Traceback (most recent call last): Warning: yunohost.hook <lambda> - [909.1] File "../conf/remove_sso_conf.py", line 5, in <module> Warning: yunohost.hook <lambda> - [909.1] data["skipped_urls"].remove("/_matrix") Warning: yunohost.hook <lambda> - [909.1] KeyError: 'skipped_urls' Warning: yunohost.hook <lambda> - [909.1] /etc/default/matrix-synapse wasn't deleted because it doesn't exist. Warning: yunohost.hook <lambda> - [909.1] /etc/default/coturn-synapse wasn't deleted because it doesn't exist. Warning: yunohost.hook <lambda> - [909.1] /etc/nginx/conf.d/sous.domain.tld.d/synapse.conf wasn't deleted because it doesn't exist. Info: Reload the service nginx Warning: yunohost.hook <lambda> - [909.1] Remove the user matrix-synapse Warning: yunohost.hook <lambda> - [909.1] /etc/fail2ban/jail.d/synapse.conf wasn't deleted because it doesn't exist. Warning: yunohost.hook <lambda> - [909.1] /etc/fail2ban/filter.d/synapse.conf wasn't deleted because it doesn't exist. Error: yunohost cli - Unknown service 'matrix-synapse' Warning: yunohost.hook <lambda> - [909.1] Unknown service 'matrix-synapse' Error: yunohost cli - Unknown service 'coturn-synapse' Warning: yunohost.hook <lambda> - [909.1] Unknown service 'coturn-synapse' Warning: yunohost.app app_install - [909.1] synapse has not been properly removed Info: yunohost.log close - [909.1] The operation 'Remove 'synapse' after a failed installation' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190626-202211-remove_on_failed_install-synapse --share' Error: yunohost cli - The operation 'Install 'synapse' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190626-201655-app_install-synapse --share' Installation failed... --- FAIL --- Deleting... A LXC container is already running. Working time: 2 seconds. Working time: 6 seconds. Deleting failed. (1) Stop the LXC container Restore the previous snapshot. Working time: 17 seconds. >> Upgrade from Fix postgresql helper from old_version_for_CI_2 branch... [Test 4/9] Preliminary install... Start the LXC container. Create witness files... Working time: 5 seconds. Working time: 6 minutes, 56 seconds. Installation successful. (0) Warning: yunohost.service _run_service_command - [188.1] Unable to execute command 'systemctl reload fail2ban' Info: yunohost.app app_install - [917.1] Installing application synapse… Warning: yunohost.firewall firewall_reload - [1174.1] Some firewall rules commands have failed. For more information, see the log. Warning: yunohost.hook <lambda> - [917.1] Generating DH parameters, 2048 bit long safe prime, generator 2 Warning: yunohost.hook <lambda> - [917.1] This is going to take a long time Warning: yunohost.hook <lambda> - [917.1] .................+................+......+.......................................................................................................................................................................................................................................................+............................................+.........................................................................................+..............................................................+..........+.........................+...............................................................................................+......+......................................................................................+..................................................................................+........................................+..........................................................................................................+...................................+..............................................................................................................................................................................................+................................................................................................+...............+.......................+..................................................................+................................................................................................................................+...................................................+..........................................................................+.......................................................................................................................................+...+...................................................................................................................................................+.................................................................................................................................+..............................................................................................................................................................................................................+............................................................................................+..............+................................................................................................................+...................................+..................................................................+..............+...............................................................+.............................................................................................................................+..................................................................................................................................................................................................................................+.................+......................................+....................................................................+...................+................................................+...............................................................................................................................................................................................................................................................................+................................................................................+....+.........................................................+...........................................................+............................................................................................................................................................................+...+....+...........+................................................................+.................................................................+....+...............................+.....+.........................+...................................................................................................................................................................................................................................................................................................................................................+.....................................................................................................................................+.................................................................................................................................................................................................................+.............+................................................................................+..+......................................................................................+.................................+..........................................................................................................................................................................................................................................................................................................................+..........................................................................................+.......+............................+....................................+......................++*++*++*++* Warning: yunohost.hook <lambda> - [917.1] dh_install: Compatibility levels before 9 are deprecated (level 7 in use) Warning: yunohost.hook <lambda> - [917.1] dh_installdocs: Compatibility levels before 9 are deprecated (level 7 in use) Warning: yunohost.hook <lambda> - [917.1] dh_installdeb: Compatibility levels before 9 are deprecated (level 7 in use) Warning: yunohost.hook <lambda> - [917.1] Extracting templates from packages: 93% Extracting templates from packages: 100% Warning: yunohost.hook <lambda> - [917.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor Warning: yunohost.hook <lambda> - [917.1] [WARN] Too many arguments ! "build-essential" will be ignored. Warning: yunohost.hook <lambda> - [917.1] [WARN] Too many arguments ! "python2.7-dev" will be ignored. Warning: yunohost.hook <lambda> - [917.1] [WARN] Too many arguments ! "libffi-dev" will be ignored. Warning: yunohost.hook <lambda> - [917.1] [WARN] Too many arguments ! "python-pip" will be ignored. Warning: yunohost.hook <lambda> - [917.1] [WARN] Too many arguments ! "python-setuptools" will be ignored. Warning: yunohost.hook <lambda> - [917.1] [WARN] Too many arguments ! "sqlite3" will be ignored. Warning: yunohost.hook <lambda> - [917.1] [WARN] Too many arguments ! "libssl-dev" will be ignored. Warning: yunohost.hook <lambda> - [917.1] [WARN] Too many arguments ! "python-virtualenv" will be ignored. Warning: yunohost.hook <lambda> - [917.1] [WARN] Too many arguments ! "libxml2-dev" will be ignored. Warning: yunohost.hook <lambda> - [917.1] [WARN] Too many arguments ! "libxslt1-dev" will be ignored. Warning: yunohost.hook <lambda> - [917.1] [WARN] Too many arguments ! "python-lxml" will be ignored. Warning: yunohost.hook <lambda> - [917.1] [WARN] Too many arguments ! "libjpeg-dev" will be ignored. Warning: yunohost.hook <lambda> - [917.1] [WARN] Too many arguments ! "libpq-dev" will be ignored. Warning: yunohost.hook <lambda> - [917.1] [WARN] Too many arguments ! "postgresql" will be ignored. Warning: yunohost.hook <lambda> - [917.1] [WARN] Too many arguments ! "acl" will be ignored. Warning: yunohost.hook <lambda> - [917.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install. Warning: yunohost.hook <lambda> - [917.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql Warning: yunohost.hook <lambda> - [917.1] DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. Warning: yunohost.hook <lambda> - [917.1] DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. Warning: yunohost.hook <lambda> - [917.1] DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. Warning: yunohost.hook <lambda> - [917.1] DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. Warning: yunohost.hook <lambda> - [917.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service. Upgrade... A LXC container is already running. Working time: 2 seconds. Working time: 5 minutes, 28 seconds. Upgrade failed. (1) Info: yunohost.app app_upgrade - [20338.1] Now upgrading app synapse… Info: yunohost.backup _collect_app_files - [20544.1] Collecting files to be backuped for synapse… Warning: yunohost.hook <lambda> - [20544.1] /var/lib/matrix-synapse will not be saved, because backup_core_only is set. Warning: yunohost.hook <lambda> - [20338.1] 1062 /var/lib/matrix-synapse will not be saved, because backup_core_only is set. Warning: yunohost.hook <lambda> - [20544.1] could not change directory to "/home/yunohost.backup/tmp/synapse-pre-upgrade1/apps/synapse/backup": Permission denied Warning: yunohost.hook <lambda> - [20338.1] 1295 could not change directory to "/home/yunohost.backup/tmp/synapse-pre-upgrade1/apps/synapse/backup": Permission denied Info: yunohost.backup backup_create - [20544.1] Now creating a backup archive from the files collected… Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [20338.1] Traceback (most recent call last): Warning: yunohost.hook <lambda> - [20338.1] File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main Warning: yunohost.hook <lambda> - [20338.1] "__main__", mod_spec) Warning: yunohost.hook <lambda> - [20338.1] File "/usr/lib/python3.5/runpy.py", line 85, in _run_code Warning: yunohost.hook <lambda> - [20338.1] exec(code, run_globals) Warning: yunohost.hook <lambda> - [20338.1] File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/app/homeserver.py", line 64, in <module> Warning: yunohost.hook <lambda> - [20338.1] from synapse.rest import ClientRestResource Warning: yunohost.hook <lambda> - [20338.1] File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/rest/__init__.py", line 32, in <module> Warning: yunohost.hook <lambda> - [20338.1] from synapse.rest.client.v2_alpha import ( Warning: yunohost.hook <lambda> - [20338.1] File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/rest/client/v2_alpha/account.py", line 21, in <module> Warning: yunohost.hook <lambda> - [20338.1] import jinja2 Warning: yunohost.hook <lambda> - [20338.1] ImportError: No module named 'jinja2' Warning: yunohost.hook <lambda> - [20338.1] !! Warning: yunohost.hook <lambda> - [20338.1] synapse's script has encountered an error. Its execution was cancelled. Warning: yunohost.hook <lambda> - [20338.1] !! Warning: yunohost.hook <lambda> - [20338.1] Upgrade failed. Info: yunohost.app app_remove - [22860.1] Removing application synapse… Warning: yunohost.hook <lambda> - [22860.1] python: can't open file '/opt/yunohost/matrix-synapse/remove_sso_conf.py': [Errno 2] No such file or directory Warning: yunohost.hook <lambda> - [20338.1] python: can't open file '/opt/yunohost/matrix-synapse/remove_sso_conf.py': [Errno 2] No such file or directory Warning: yunohost.hook <lambda> - [22860.1] Removed /etc/systemd/system/multi-user.target.wants/matrix-synapse.service. Warning: yunohost.hook <lambda> - [20338.1] Removed /etc/systemd/system/multi-user.target.wants/matrix-synapse.service. Warning: yunohost.hook <lambda> - [22860.1] Remove the user matrix-synapse Warning: yunohost.hook <lambda> - [20338.1] Remove the user matrix-synapse Info: yunohost.backup backup_restore - [24060.1] Preparing archive for restoration… Info: yunohost.backup _restore_app - [24060.1] Restoring application synapse… Warning: yunohost.firewall firewall_allow - [24362.1] Port 5349 is already opened for IPv4 connections Warning: yunohost.firewall firewall_allow - [24362.1] Port 5349 is already opened for IPv6 connections Warning: yunohost.hook <lambda> - [24060.1] [WARN] Too many arguments ! "build-essential" will be ignored. Warning: yunohost.hook <lambda> - [24060.1] [WARN] Too many arguments ! "python2.7-dev" will be ignored. Warning: yunohost.hook <lambda> - [24060.1] [WARN] Too many arguments ! "libffi-dev" will be ignored. Warning: yunohost.hook <lambda> - [24060.1] [WARN] Too many arguments ! "python-pip" will be ignored. Warning: yunohost.hook <lambda> - [24060.1] [WARN] Too many arguments ! "python-setuptools" will be ignored. Warning: yunohost.hook <lambda> - [24060.1] [WARN] Too many arguments ! "sqlite3" will be ignored. Warning: yunohost.hook <lambda> - [24060.1] [WARN] Too many arguments ! "libssl-dev" will be ignored. Warning: yunohost.hook <lambda> - [24060.1] [WARN] Too many arguments ! "python-virtualenv" will be ignored. Warning: yunohost.hook <lambda> - [24060.1] [WARN] Too many arguments ! "libxml2-dev" will be ignored. Warning: yunohost.hook <lambda> - [24060.1] [WARN] Too many arguments ! "libxslt1-dev" will be ignored. Warning: yunohost.hook <lambda> - [20338.1] 58105 [WARN] Too many arguments ! "build-essential" will be ignored. Warning: yunohost.hook <lambda> - [20338.1] 58106 [WARN] Too many arguments ! "python2.7-dev" will be ignored. Warning: yunohost.hook <lambda> - [20338.1] 58107 [WARN] Too many arguments ! "libffi-dev" will be ignored. Warning: yunohost.hook <lambda> - [20338.1] 58108 [WARN] Too many arguments ! "python-pip" will be ignored. Warning: yunohost.hook <lambda> - [20338.1] 58109 [WARN] Too many arguments ! "python-setuptools" will be ignored. Warning: yunohost.hook <lambda> - [20338.1] 58114 [WARN] Too many arguments ! "sqlite3" will be ignored. Warning: yunohost.hook <lambda> - [20338.1] 58115 [WARN] Too many arguments ! "libssl-dev" will be ignored. Warning: yunohost.hook <lambda> - [24060.1] [WARN] Too many arguments ! "python-lxml" will be ignored. Warning: yunohost.hook <lambda> - [24060.1] [WARN] Too many arguments ! "libjpeg-dev" will be ignored. Warning: yunohost.hook <lambda> - [20338.1] 58151 [WARN] Too many arguments ! "python-virtualenv" will be ignored. Warning: yunohost.hook <lambda> - [20338.1] 58165 [WARN] Too many arguments ! "libxml2-dev" will be ignored. Warning: yunohost.hook <lambda> - [20338.1] 58177 [WARN] Too many arguments ! "libxslt1-dev" will be ignored. Warning: yunohost.hook <lambda> - [20338.1] 58197 [WARN] Too many arguments ! "python-lxml" will be ignored. Warning: yunohost.hook <lambda> - [24060.1] [WARN] Too many arguments ! "libpq-dev" will be ignored. Warning: yunohost.hook <lambda> - [20338.1] 58198 [WARN] Too many arguments ! "libjpeg-dev" will be ignored. Warning: yunohost.hook <lambda> - [20338.1] 58209 [WARN] Too many arguments ! "libpq-dev" will be ignored. Warning: yunohost.hook <lambda> - [24060.1] [WARN] Too many arguments ! "postgresql" will be ignored. Warning: yunohost.hook <lambda> - [24060.1] [WARN] Too many arguments ! "acl" will be ignored. Warning: yunohost.hook <lambda> - [20338.1] 58223 [WARN] Too many arguments ! "postgresql" will be ignored. Warning: yunohost.hook <lambda> - [20338.1] 58224 [WARN] Too many arguments ! "acl" will be ignored. Warning: yunohost.hook <lambda> - [24060.1] ../settings/scripts/_common.sh: line 128: Creating directory ': command not found Warning: yunohost.hook <lambda> - [20338.1] 65675 ../settings/scripts/_common.sh: line 128: Creating directory ': command not found Warning: yunohost.hook <lambda> - [24060.1] could not change directory to "/home/yunohost.backup/tmp/synapse-pre-upgrade1/apps/synapse/backup": Permission denied Warning: yunohost.hook <lambda> - [20338.1] 67949 could not change directory to "/home/yunohost.backup/tmp/synapse-pre-upgrade1/apps/synapse/backup": Permission denied Warning: yunohost.hook <lambda> - [24060.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service. Warning: yunohost.hook <lambda> - [20338.1] 71834 Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service. Warning: yunohost.hook <lambda> - [20338.1] The app was restored to the way it was before the failed upgrade. Error: yunohost.app app_upgrade - [20338.1] Unable to upgrade synapse Info: yunohost.log close - [20338.1] The operation 'Upgrade 'synapse' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190626-203041-app_upgrade-synapse --share' Error: yunohost cli - The following apps were not upgraded: synapse 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 --- Deleting... A LXC container is already running. Working time: 1 second. Working time: 37 seconds. Deleting successful. (0) Stop the LXC container Restore the previous snapshot. Working time: 20 seconds. >> Upgrade from Migrate from self signed certificate to cert managed by Yunohost... [Test 5/9] Preliminary install... Start the LXC container. Create witness files... Working time: 6 seconds. Working time: 4 minutes, 17 seconds. Installation successful. (0) Warning: yunohost.service _run_service_command - [192.1] Unable to execute command 'systemctl reload fail2ban' Info: yunohost.app app_install - [914.1] Installing application synapse… Warning: yunohost.hook <lambda> - [914.1] Extracting templates from packages: 62% Extracting templates from packages: 100% Warning: yunohost.hook <lambda> - [914.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor Warning: yunohost.hook <lambda> - [914.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install. Warning: yunohost.hook <lambda> - [914.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql Warning: yunohost.hook <lambda> - [914.1] /opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/config/_base.py:169: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. Warning: yunohost.hook <lambda> - [914.1] config = yaml.load(default_config) Warning: yunohost.hook <lambda> - [914.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service. Warning: yunohost.hook <lambda> - [914.1] Created symlink /etc/systemd/system/multi-user.target.wants/coturn-synapse.service → /etc/systemd/system/coturn-synapse.service. Info: Reload the service nginx Warning: yunohost.hook <lambda> - [914.1] Starting of matrix-synapse Warning: yunohost.hook <lambda> - [914.1] .tail: cannot open '/var/log/matrix-synapse/homeserver.log' for reading: No such file or directory Warning: yunohost.hook <lambda> - [914.1] ..tail: '/var/log/matrix-synapse/homeserver.log' has appeared; following new file Warning: yunohost.hook <lambda> - [914.1] ....The service matrix-synapse has correctly started. Error: moulinette.core translate - unable to retrieve key 'service_description_coturn-synapse' for default locale 'en' Error: moulinette.core translate - unable to retrieve key 'service_description_matrix-synapse' for default locale 'en' Upgrade... A LXC container is already running. Working time: 2 seconds. Working time: 6 minutes, 15 seconds. Upgrade successful. (0) Info: yunohost.app app_upgrade - [9087.1] Now upgrading app synapse… Info: yunohost.backup _collect_app_files - [9293.1] Collecting files to be backuped for synapse… Warning: yunohost.hook <lambda> - [9293.1] /var/lib/matrix-synapse will not be saved, because backup_core_only is set. Warning: yunohost.hook <lambda> - [9087.1] 1574 /var/lib/matrix-synapse will not be saved, because backup_core_only is set. Warning: yunohost.hook <lambda> - [9293.1] could not change directory to "/home/yunohost.backup/tmp/synapse-pre-upgrade1/apps/synapse/backup": Permission denied Warning: yunohost.hook <lambda> - [9087.1] 1783 could not change directory to "/home/yunohost.backup/tmp/synapse-pre-upgrade1/apps/synapse/backup": Permission denied Info: yunohost.backup backup_create - [9293.1] Now creating a backup archive from the files collected… Info: Reload the service nginx Warning: yunohost.hook <lambda> - [9087.1] Starting of matrix-synapse Warning: yunohost.hook <lambda> - [9087.1] ....The service matrix-synapse has correctly started. 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 --- Deleting... A LXC container is already running. Working time: 2 seconds. Working time: 1 minute, 6 seconds. Deleting successful. (0) Stop the LXC container Restore the previous snapshot. Working time: 21 seconds. Restore the previous snapshot. Working time: 9 seconds. Working time for this test: 32 minutes, 49 seconds. >> Installation in public mode... [Test 6/9] Root install failed, impossible to perform this test... Sub path install failed, impossible to perform this test... Restore the previous snapshot. Working time: 9 seconds. Working time for this test: 9 seconds. >> Multi-instance installations... [Test 7/9] First installation: path=domain.tld Start the LXC container. Create witness files... Working time: 6 seconds. Working time: 5 minutes, 11 seconds. Installation failed. (1) Warning: yunohost.service _run_service_command - [191.1] Unable to execute command 'systemctl reload fail2ban' Info: yunohost.app app_install - [914.1] Installing application synapse… Warning: yunohost.hook <lambda> - [914.1] Extracting templates from packages: 62% Extracting templates from packages: 100% Warning: yunohost.hook <lambda> - [914.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor Warning: yunohost.hook <lambda> - [914.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install. Warning: yunohost.hook <lambda> - [914.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql Warning: yunohost.hook <lambda> - [914.1] Traceback (most recent call last): Warning: yunohost.hook <lambda> - [914.1] File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main Warning: yunohost.hook <lambda> - [914.1] "__main__", mod_spec) Warning: yunohost.hook <lambda> - [914.1] File "/usr/lib/python3.5/runpy.py", line 85, in _run_code Warning: yunohost.hook <lambda> - [914.1] exec(code, run_globals) Warning: yunohost.hook <lambda> - [914.1] File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/app/homeserver.py", line 64, in <module> Warning: yunohost.hook <lambda> - [914.1] from synapse.rest import ClientRestResource Warning: yunohost.hook <lambda> - [914.1] File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/rest/__init__.py", line 32, in <module> Warning: yunohost.hook <lambda> - [914.1] from synapse.rest.client.v2_alpha import ( Warning: yunohost.hook <lambda> - [914.1] File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/rest/client/v2_alpha/account.py", line 21, in <module> Warning: yunohost.hook <lambda> - [914.1] import jinja2 Warning: yunohost.hook <lambda> - [914.1] ImportError: No module named 'jinja2' Warning: yunohost.hook <lambda> - [914.1] !! Warning: yunohost.hook <lambda> - [914.1] synapse's script has encountered an error. Its execution was cancelled. Warning: yunohost.hook <lambda> - [914.1] !! Info: yunohost.log close - [914.1] The operation 'Install 'synapse' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190626-204954-app_install-synapse --share' Warning: yunohost.firewall firewall_disallow - [8051.1] Port 8448 is already closed for IPv4 connections Warning: yunohost.firewall firewall_disallow - [8051.1] Port 8448 is already closed for IPv6 connections Warning: yunohost.hook <lambda> - [914.1] Port 8448 is already closed for IPv4 connections Warning: yunohost.hook <lambda> - [914.1] Port 8448 is already closed for IPv6 connections Warning: yunohost.hook <lambda> - [914.1] Traceback (most recent call last): Warning: yunohost.hook <lambda> - [914.1] File "../conf/remove_sso_conf.py", line 5, in <module> Warning: yunohost.hook <lambda> - [914.1] data["skipped_urls"].remove("/_matrix") Warning: yunohost.hook <lambda> - [914.1] KeyError: 'skipped_urls' Warning: yunohost.hook <lambda> - [914.1] /etc/default/matrix-synapse wasn't deleted because it doesn't exist. Info: Reload the service nginx Warning: yunohost.hook <lambda> - [914.1] /etc/default/coturn-synapse wasn't deleted because it doesn't exist. Warning: yunohost.hook <lambda> - [914.1] /etc/nginx/conf.d/domain.tld.d/synapse.conf wasn't deleted because it doesn't exist. Warning: yunohost.hook <lambda> - [914.1] Remove the user matrix-synapse Warning: yunohost.hook <lambda> - [914.1] /etc/fail2ban/jail.d/synapse.conf wasn't deleted because it doesn't exist. Warning: yunohost.hook <lambda> - [914.1] /etc/fail2ban/filter.d/synapse.conf wasn't deleted because it doesn't exist. Error: yunohost cli - Unknown service 'matrix-synapse' Warning: yunohost.hook <lambda> - [914.1] Unknown service 'matrix-synapse' Error: yunohost cli - Unknown service 'coturn-synapse' Warning: yunohost.hook <lambda> - [914.1] Unknown service 'coturn-synapse' Warning: yunohost.app app_install - [914.1] synapse has not been properly removed Info: yunohost.log close - [914.1] The operation 'Remove 'synapse' after a failed installation' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190626-205404-remove_on_failed_install-synapse --share' Error: yunohost cli - The operation 'Install 'synapse' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190626-204954-app_install-synapse --share' Second installation: path=sous.domain.tld A LXC container is already running. Working time: 1 second. Working time: 2 minutes, 49 seconds. Installation failed. (1) Info: yunohost.app app_install - [10272.1] Installing application synapse… Warning: yunohost.hook <lambda> - [10272.1] Cache entry deserialization failed, entry ignored Warning: yunohost.hook <lambda> - [10272.1] Traceback (most recent call last): Warning: yunohost.hook <lambda> - [10272.1] File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main Warning: yunohost.hook <lambda> - [10272.1] "__main__", mod_spec) Warning: yunohost.hook <lambda> - [10272.1] File "/usr/lib/python3.5/runpy.py", line 85, in _run_code Warning: yunohost.hook <lambda> - [10272.1] exec(code, run_globals) Warning: yunohost.hook <lambda> - [10272.1] File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/app/homeserver.py", line 64, in <module> Warning: yunohost.hook <lambda> - [10272.1] from synapse.rest import ClientRestResource Warning: yunohost.hook <lambda> - [10272.1] File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/rest/__init__.py", line 32, in <module> Warning: yunohost.hook <lambda> - [10272.1] from synapse.rest.client.v2_alpha import ( Warning: yunohost.hook <lambda> - [10272.1] File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/rest/client/v2_alpha/account.py", line 21, in <module> Warning: yunohost.hook <lambda> - [10272.1] import jinja2 Warning: yunohost.hook <lambda> - [10272.1] ImportError: No module named 'jinja2' Warning: yunohost.hook <lambda> - [10272.1] !! Warning: yunohost.hook <lambda> - [10272.1] synapse's script has encountered an error. Its execution was cancelled. Warning: yunohost.hook <lambda> - [10272.1] !! Info: yunohost.log close - [10272.1] The operation 'Install 'synapse' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190626-205505-app_install-synapse --share' Warning: yunohost.firewall firewall_disallow - [13465.1] Port 8448 is already closed for IPv4 connections Warning: yunohost.firewall firewall_disallow - [13465.1] Port 8448 is already closed for IPv6 connections Warning: yunohost.hook <lambda> - [10272.1] Port 8448 is already closed for IPv4 connections Warning: yunohost.hook <lambda> - [10272.1] Port 8448 is already closed for IPv6 connections Warning: yunohost.hook <lambda> - [10272.1] Traceback (most recent call last): Warning: yunohost.hook <lambda> - [10272.1] File "../conf/remove_sso_conf.py", line 5, in <module> Warning: yunohost.hook <lambda> - [10272.1] data["skipped_urls"].remove("/_matrix") Warning: yunohost.hook <lambda> - [10272.1] KeyError: 'skipped_urls' Warning: yunohost.hook <lambda> - [10272.1] /etc/default/matrix-synapse wasn't deleted because it doesn't exist. Warning: yunohost.hook <lambda> - [10272.1] /etc/default/coturn-synapse wasn't deleted because it doesn't exist. Warning: yunohost.hook <lambda> - [10272.1] /etc/nginx/conf.d/sous.domain.tld.d/synapse.conf wasn't deleted because it doesn't exist. Info: Reload the service nginx Warning: yunohost.hook <lambda> - [10272.1] Remove the user matrix-synapse Warning: yunohost.hook <lambda> - [10272.1] /etc/fail2ban/jail.d/synapse.conf wasn't deleted because it doesn't exist. Warning: yunohost.hook <lambda> - [10272.1] /etc/fail2ban/filter.d/synapse.conf wasn't deleted because it doesn't exist. Error: yunohost cli - Unknown service 'matrix-synapse' Warning: yunohost.hook <lambda> - [10272.1] Unknown service 'matrix-synapse' Error: yunohost cli - Unknown service 'coturn-synapse' Warning: yunohost.hook <lambda> - [10272.1] Unknown service 'coturn-synapse' Warning: yunohost.app app_install - [10272.1] synapse has not been properly removed Info: yunohost.log close - [10272.1] The operation 'Remove 'synapse' after a failed installation' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190626-205658-remove_on_failed_install-synapse --share' Error: yunohost cli - The operation 'Install 'synapse' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190626-205505-app_install-synapse --share' Try to access by url... Test url: domain.tld Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9kb21haW4udGxkLw== HTTP code: 200 Title of the page: YunoHost Portal The connection attempt fall on the YunoHost portal. Test url: domain.tld/ Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9kb21haW4udGxkLw== HTTP code: 200 Title of the page: YunoHost Portal The connection attempt fall on the YunoHost portal. 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: 19 seconds. Working time for this test: 8 minutes, 30 seconds. >> Port already used... [Test 8/9] Start the LXC container. Create witness files... Working time: 10 seconds. Working time: 5 seconds. A LXC container is already running. Working time: 2 seconds. Working time: 6 minutes, 1 second. Installation failed. (1) Info: yunohost.app app_install - [945.1] Installing application synapse… Warning: yunohost.hook <lambda> - [945.1] Extracting templates from packages: 62% Extracting templates from packages: 100% Warning: yunohost.hook <lambda> - [945.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor Warning: yunohost.hook <lambda> - [945.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install. Warning: yunohost.hook <lambda> - [945.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql Warning: yunohost.hook <lambda> - [945.1] Traceback (most recent call last): Warning: yunohost.hook <lambda> - [945.1] File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main Warning: yunohost.hook <lambda> - [945.1] "__main__", mod_spec) Warning: yunohost.hook <lambda> - [945.1] File "/usr/lib/python3.5/runpy.py", line 85, in _run_code Warning: yunohost.hook <lambda> - [945.1] exec(code, run_globals) Warning: yunohost.hook <lambda> - [945.1] File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/app/homeserver.py", line 64, in <module> Warning: yunohost.hook <lambda> - [945.1] from synapse.rest import ClientRestResource Warning: yunohost.hook <lambda> - [945.1] File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/rest/__init__.py", line 32, in <module> Warning: yunohost.hook <lambda> - [945.1] from synapse.rest.client.v2_alpha import ( Warning: yunohost.hook <lambda> - [945.1] File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/rest/client/v2_alpha/account.py", line 21, in <module> Warning: yunohost.hook <lambda> - [945.1] import jinja2 Warning: yunohost.hook <lambda> - [945.1] ImportError: No module named 'jinja2' Warning: yunohost.hook <lambda> - [945.1] !! Warning: yunohost.hook <lambda> - [945.1] synapse's script has encountered an error. Its execution was cancelled. Warning: yunohost.hook <lambda> - [945.1] !! Info: yunohost.log close - [945.1] The operation 'Install 'synapse' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190626-205831-app_install-synapse --share' Warning: yunohost.firewall firewall_disallow - [8083.1] Port 8449 is already closed for IPv4 connections Warning: yunohost.firewall firewall_disallow - [8083.1] Port 8449 is already closed for IPv6 connections Warning: yunohost.hook <lambda> - [945.1] Port 8449 is already closed for IPv4 connections Warning: yunohost.hook <lambda> - [945.1] Port 8449 is already closed for IPv6 connections Warning: yunohost.hook <lambda> - [945.1] Traceback (most recent call last): Warning: yunohost.hook <lambda> - [945.1] File "../conf/remove_sso_conf.py", line 5, in <module> Warning: yunohost.hook <lambda> - [945.1] data["skipped_urls"].remove("/_matrix") Warning: yunohost.hook <lambda> - [945.1] KeyError: 'skipped_urls' Warning: yunohost.hook <lambda> - [945.1] /etc/default/matrix-synapse wasn't deleted because it doesn't exist. Warning: yunohost.hook <lambda> - [945.1] /etc/default/coturn-synapse wasn't deleted because it doesn't exist. Warning: yunohost.hook <lambda> - [945.1] /etc/nginx/conf.d/sous.domain.tld.d/synapse.conf wasn't deleted because it doesn't exist. Info: Reload the service nginx Warning: yunohost.hook <lambda> - [945.1] Remove the user matrix-synapse Warning: yunohost.hook <lambda> - [945.1] /etc/fail2ban/jail.d/synapse.conf wasn't deleted because it doesn't exist. Warning: yunohost.hook <lambda> - [945.1] /etc/fail2ban/filter.d/synapse.conf wasn't deleted because it doesn't exist. Error: yunohost cli - Unknown service 'matrix-synapse' Warning: yunohost.hook <lambda> - [945.1] Unknown service 'matrix-synapse' Error: yunohost cli - Unknown service 'coturn-synapse' Warning: yunohost.hook <lambda> - [945.1] Unknown service 'coturn-synapse' Warning: yunohost.app app_install - [945.1] synapse has not been properly removed Info: yunohost.log close - [945.1] The operation 'Remove 'synapse' after a failed installation' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190626-210334-remove_on_failed_install-synapse --share' Error: yunohost cli - The operation 'Install 'synapse' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190626-205831-app_install-synapse --share' Try to access by url... Test url: sous.domain.tld Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv HTTP code: 200 Title of the page: YunoHost Portal The connection attempt fall on the YunoHost portal. Test url: sous.domain.tld/ Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv HTTP code: 200 Title of the page: YunoHost Portal The connection attempt fall on the YunoHost portal. --- FAIL --- Stop the LXC container Restore the previous snapshot. Working time: 20 seconds. Working time for this test: 6 minutes, 41 seconds. >> Backup/Restore... [Test 9/9] Root install failed, impossible to perform this test... Sub path install failed, impossible to perform this test... Restore the previous snapshot. Working time: 9 seconds. Working time for this test: 9 seconds. Package linter: SUCCESS Installation: FAIL Deleting: FAIL Installation in a sub path: FAIL Deleting from a sub path: FAIL Installation on the root: Not evaluated. Deleting from root: Not evaluated. Upgrade: FAIL Installation in private mode: Not evaluated. Installation in public mode: Not evaluated. Multi-instance installations: FAIL Malformed path: Not evaluated. Port already used: FAIL Backup: Not evaluated. Restore: Not evaluated. Change URL: Not evaluated. Level of this application: 0 (Broken) Level 1: 0 Level 2: 0 Level 3: 0 Level 4: 0 Level 5: 1 Level 6: 1 Level 7: 0 Level 8: 0 Level 9: 0 Level 10: 0 You can find the complete log of these tests in /home/CI_package_check/dev_CI/../package_check/Complete.log Global working time for all tests: 54 minutes, 42 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_synapse_ynh_complete.log Wed Jun 26 21:06:05 UTC 2019 Test finished. Build step 'Execute shell' marked build as failure Finished: FAILURE