SuccessConsole Output

Started from command line by ynhci
Running as SYSTEM
Building in workspace /var/lib/jenkins/jobs/grafana_ynh (JimboJoe)/workspace
[workspace] $ /bin/sh -xe /tmp/jenkins1362137768399690286.sh + /home/CI_package_check/analyseCI.sh /home/yunohost.app/ssh_chroot_directories/JimboJoe/data/grafana_ynh grafana_ynh (JimboJoe) Sat Sep 19 04:10:10 UTC 2020 Wait for work starting... .......... Sat Sep 19 04:15:10 UTC 2020 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: 8 seconds (04:15:11). Disable iptables rules. Disable the network bridge. Pick up the package which will be tested. Test the package /home/yunohost.app/ssh_chroot_directories/JimboJoe/data/grafana_ynh. 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: Complete test >> YunoHost versions: Start the LXC container.. Create witness files... Working time: 12 seconds (04:15:25). Working time: 7 seconds (04:15:32). Debian GNU/Linux 10 yunohost: repo: stable version: 4.0.8 yunohost-admin: repo: stable version: 4.0.4 moulinette: repo: stable version: 4.0.3 ssowat: repo: stable version: 4.0.4.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 If you believe this linter returns false negative (warnings / errors which shouldn't happen), please report them on https://github.com/YunoHost/package_linter/issues Analyzing package /home/CI_package_check/package_check/grafana_ynh_check [Loading App] Some lines could not be parsed in script install. (That's probably not really critical) ? No closing quotation : sed -i '/^\[backend\]$/,/^\[/ { ? No closing quotation : }' $netdata_conf ? No closing quotation : echo "[backend] ? No closing quotation : destination = localhost:4242" | tee -a $netdata_conf ? No closing quotation : sed -i '/^\[auth.ldap\]$/,/^\[/ { ? No closing quotation : }' $grafana_conf ? No closing quotation : sed -i "/^\[database\]$/,/^\[/ { ? No closing quotation : }" $grafana_conf ? No closing quotation : ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name <<< "INSERT INTO dashboard (id, version, slug, title, data, org_id, created, updated, uid) VALUES ? No closing quotation : (99999, 0, 'NetData', 'NetData', \"$escaped_dashboard\", 1, '2020-05-16 14:36:50', '2020-05-16 14:36:50', 'yunohost');" Some lines could not be parsed in script remove. (That's probably not really critical) ? No closing quotation : sed -i '/^\[backend\]$/,/^\[/ { ? No closing quotation : }' $netdata_conf Some lines could not be parsed in script upgrade. (That's probably not really critical) ? No closing quotation : sed -i '/^\[backend\]$/,/^\[/ { ? No closing quotation : }' $netdata_conf ? No closing quotation : echo "[backend] ? No closing quotation : destination = localhost:4242" | tee -a $netdata_conf [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" } [Misc File Checks] [Helpers Usage] [_Common.Sh Script] [Install Script] ! [YEP-2.12] You should avoid using 'sed -i' for substitutions, please use 'ynh_replace_string' instead [Remove Script] [Upgrade Script] ! [YEP-2.12] You should avoid using 'sed -i' for substitutions, please use 'ynh_replace_string' instead [Backup Script] ! Unless you really have a good reason to do so, starting/stopping services during backup has no benefit and leads to unecessary service interruptions when creating backups... As a 'reminder': apart from possibly database dumps (which usually do not require the service to be stopped) or other super-specific action, running the backup script is only a *declaration* of what needs to be backuped. The real copy and archive creation happens *after* the backup script is ran. [Restore Script] Only 3 warning remaining! You can do it! --- SUCCESS --- >> Installation in a sub path... [Test 2/9] A LXC container is already running. Working time: 2 seconds (04:15:38). apt is already in use... apt has released its lock. Working time: 1 minute, 19 seconds (04:16:57). Installation successful. (0) Info: yunohost.app app_install - [1477.1] Installing grafana... Info: [....................] > Validating installation parameters... Info: [....................] > Storing installation settings... Info: [....................] > Configuring port... Info: [+++++++++++.........] > Installing dependencies... Warning: yunohost.hook <lambda> - [1477.1] Created symlink /etc/systemd/system/influxd.service -> /lib/systemd/system/influxdb.service. Warning: yunohost.hook <lambda> - [1477.1] Created symlink /etc/systemd/system/multi-user.target.wants/influxdb.service -> /lib/systemd/system/influxdb.service. Info: '/etc/apt/trusted.gpg.d/grafana.asc' wasn't deleted because it doesn't exist. Info: [###########.........] > Creating a MySQL database... Info: [###########.........] > Configuring nginx web server... Info: [###########+++++++..] > Configuring Grafana and InfluxDB... Warning: yunohost.hook <lambda> - [1477.1] Please wait, the service grafana-server is restarting..... Info: The service grafana-server has correctly executed the action restart. Warning: yunohost.hook <lambda> - [1477.1] Synchronizing state of influxdb.service with SysV service script with /lib/systemd/systemd-sysv-install. Warning: yunohost.hook <lambda> - [1477.1] Executing: /lib/systemd/systemd-sysv-install enable influxdb Warning: yunohost.hook <lambda> - [1477.1] Synchronizing state of grafana-server.service with SysV service script with /lib/systemd/systemd-sysv-install. Warning: yunohost.hook <lambda> - [1477.1] Executing: /lib/systemd/systemd-sysv-install enable grafana-server Warning: yunohost.hook <lambda> - [1477.1] Created symlink /etc/systemd/system/multi-user.target.wants/grafana-server.service → /usr/lib/systemd/system/grafana-server.service. Info: [##################+.] > Starting a systemd service... Info: The service grafana-server has correctly executed the action restart. Info: [###################.] > Configuring SSOwat... Warning: yunohost.hook <lambda> - [1477.1] /! Packagers! This app is still using the skipped/protected/unprotected_uris/regex settings which are now obsolete and deprecated... Instead, you should use the new helpers 'ynh_permission_{create,urls,update,delete}' and the 'visitors' group to initialize the public/private access. Check out the documentation at the bottom of yunohost.org/groups_and_permissions to learn how to use the new permission mechanism. Info: [###################.] > Reloading nginx web server... Info: [####################] > Installation of grafana completed Try to access by url... Test url: sous.domain.tld/path Real url: https://sous.domain.tld/path/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help Test url: sous.domain.tld/path/ Real url: https://sous.domain.tld/path/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help --- SUCCESS --- Create a snapshot for sub path installation. Working time: 22 seconds (04:17:21). Start the LXC container.. Create witness files... Working time: 11 seconds (04:17:32). Working time: 4 seconds (04:17:36). Deleting... A LXC container is already running. Working time: 2 seconds (04:17:38). Working time: 19 seconds (04:17:57). Deleting successful. (0) Info: yunohost.app app_remove - [954.1] Removing grafana... Info: [....................] > Loading installation settings... Info: [+...................] > Removing grafana services... Info: [#++.................] > Removing the MySQL database... Info: [###+++++++++++++++..] > Removing dependencies... Warning: yunohost.hook <lambda> - [954.1] dpkg: warning: while removing grafana, directory '/etc/grafana' not empty so not removed Info: [##################+.] > Removing nginx web server configuration... Info: [####################] > Removal of grafana completed --- SUCCESS --- Reinstall the application after a removing. A LXC container is already running. Working time: 1 second (04:17:59). Working time: 1 minute, 10 seconds (04:19:09). Installation successful. (0) Info: yunohost.app app_install - [2081.1] Installing grafana... Info: [....................] > Validating installation parameters... Info: [....................] > Storing installation settings... Info: [....................] > Configuring port... Info: [+++++++++++.........] > Installing dependencies... Warning: yunohost.hook <lambda> - [2081.1] Created symlink /etc/systemd/system/influxd.service -> /lib/systemd/system/influxdb.service. Warning: yunohost.hook <lambda> - [2081.1] Created symlink /etc/systemd/system/multi-user.target.wants/influxdb.service -> /lib/systemd/system/influxdb.service. Info: '/etc/apt/trusted.gpg.d/grafana.asc' wasn't deleted because it doesn't exist. Info: [###########.........] > Creating a MySQL database... Info: [###########.........] > Configuring nginx web server... Info: [###########+++++++..] > Configuring Grafana and InfluxDB... Warning: yunohost.hook <lambda> - [2081.1] Please wait, the service grafana-server is restarting..... Info: The service grafana-server has correctly executed the action restart. Warning: yunohost.hook <lambda> - [2081.1] Synchronizing state of influxdb.service with SysV service script with /lib/systemd/systemd-sysv-install. Warning: yunohost.hook <lambda> - [2081.1] Executing: /lib/systemd/systemd-sysv-install enable influxdb Warning: yunohost.hook <lambda> - [2081.1] Synchronizing state of grafana-server.service with SysV service script with /lib/systemd/systemd-sysv-install. Warning: yunohost.hook <lambda> - [2081.1] Executing: /lib/systemd/systemd-sysv-install enable grafana-server Info: [##################+.] > Starting a systemd service... Info: The service grafana-server has correctly executed the action restart. Info: [###################.] > Configuring SSOwat... Warning: yunohost.hook <lambda> - [2081.1] /! Packagers! This app is still using the skipped/protected/unprotected_uris/regex settings which are now obsolete and deprecated... Instead, you should use the new helpers 'ynh_permission_{create,urls,update,delete}' and the 'visitors' group to initialize the public/private access. Check out the documentation at the bottom of yunohost.org/groups_and_permissions to learn how to use the new permission mechanism. Info: [###################.] > Reloading nginx web server... Try to access by url... Test url: sous.domain.tld/path Real url: https://sous.domain.tld/path/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help Test url: sous.domain.tld/path/ Real url: https://sous.domain.tld/path/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help --- SUCCESS --- Stop the LXC container Restore the previous snapshot. Working time: 11 seconds (04:19:22). Working time for this test: 3 minutes, 46 seconds (04:19:22). >> Installation on the root... [Test 3/9] Start the LXC container.. Create witness files... Working time: 13 seconds (04:19:35). apt is already in use... apt has released its lock. Working time: 4 minutes, 32 seconds (04:24:07). Installation successful. (0) Info: yunohost.app app_install - [1371.1] Installing grafana... Info: [....................] > Validating installation parameters... Info: [....................] > Storing installation settings... Info: [....................] > Configuring port... Info: [+++++++++++.........] > Installing dependencies... Warning: yunohost.hook <lambda> - [1371.1] Created symlink /etc/systemd/system/influxd.service -> /lib/systemd/system/influxdb.service. Warning: yunohost.hook <lambda> - [1371.1] Created symlink /etc/systemd/system/multi-user.target.wants/influxdb.service -> /lib/systemd/system/influxdb.service. Info: '/etc/apt/trusted.gpg.d/grafana.asc' wasn't deleted because it doesn't exist. Info: [###########.........] > Creating a MySQL database... Info: [###########.........] > Configuring nginx web server... Info: [###########+++++++..] > Configuring Grafana and InfluxDB... Warning: yunohost.hook <lambda> - [1371.1] Please wait, the service grafana-server is restarting..... Info: The service grafana-server has correctly executed the action restart. Warning: yunohost.hook <lambda> - [1371.1] Synchronizing state of influxdb.service with SysV service script with /lib/systemd/systemd-sysv-install. Warning: yunohost.hook <lambda> - [1371.1] Executing: /lib/systemd/systemd-sysv-install enable influxdb Warning: yunohost.hook <lambda> - [1371.1] Synchronizing state of grafana-server.service with SysV service script with /lib/systemd/systemd-sysv-install. Warning: yunohost.hook <lambda> - [1371.1] Executing: /lib/systemd/systemd-sysv-install enable grafana-server Warning: yunohost.hook <lambda> - [1371.1] Created symlink /etc/systemd/system/multi-user.target.wants/grafana-server.service → /usr/lib/systemd/system/grafana-server.service. Info: [##################+.] > Starting a systemd service... Info: The service grafana-server has correctly executed the action restart. Info: [###################.] > Configuring SSOwat... Warning: yunohost.hook <lambda> - [1371.1] /! Packagers! This app is still using the skipped/protected/unprotected_uris/regex settings which are now obsolete and deprecated... Instead, you should use the new helpers 'ynh_permission_{create,urls,update,delete}' and the 'visitors' group to initialize the public/private access. Check out the documentation at the bottom of yunohost.org/groups_and_permissions to learn how to use the new permission mechanism. Info: [###################.] > Reloading nginx web server... Info: [####################] > Installation of grafana completed Try to access by url... Test url: sous.domain.tld Real url: https://sous.domain.tld/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help Test url: sous.domain.tld/ Real url: https://sous.domain.tld/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help --- SUCCESS --- Create a snapshot for root installation. Working time: 21 seconds (04:24:30). Start the LXC container.Start the LXC container... Create witness files... Working time: 13 seconds (04:24:43). Working time: 5 seconds (04:24:48). Deleting... A LXC container is already running. Working time: 1 second (04:24:49). Working time: 20 seconds (04:25:10). Deleting successful. (0) Info: yunohost.app app_remove - [954.1] Removing grafana... Info: [....................] > Loading installation settings... Info: [+...................] > Removing grafana services... Info: [#++.................] > Removing the MySQL database... Info: [###+++++++++++++++..] > Removing dependencies... Warning: yunohost.hook <lambda> - [954.1] dpkg: warning: while removing grafana, directory '/etc/grafana' not empty so not removed Info: [##################+.] > Removing nginx web server configuration... --- SUCCESS --- Reinstall the application after a removing. A LXC container is already running. Working time: 2 seconds (04:25:12). Working time: 1 minute, 11 seconds (04:26:23). Installation successful. (0) Info: yunohost.app app_install - [2080.1] Installing grafana... Info: [....................] > Validating installation parameters... Info: [....................] > Storing installation settings... Info: [....................] > Configuring port... Info: [+++++++++++.........] > Installing dependencies... Warning: yunohost.hook <lambda> - [2080.1] Created symlink /etc/systemd/system/influxd.service -> /lib/systemd/system/influxdb.service. Warning: yunohost.hook <lambda> - [2080.1] Created symlink /etc/systemd/system/multi-user.target.wants/influxdb.service -> /lib/systemd/system/influxdb.service. Info: '/etc/apt/trusted.gpg.d/grafana.asc' wasn't deleted because it doesn't exist. Info: [###########.........] > Creating a MySQL database... Info: [###########.........] > Configuring nginx web server... Info: [###########+++++++..] > Configuring Grafana and InfluxDB... Warning: yunohost.hook <lambda> - [2080.1] Please wait, the service grafana-server is restarting..... Info: The service grafana-server has correctly executed the action restart. Warning: yunohost.hook <lambda> - [2080.1] Synchronizing state of influxdb.service with SysV service script with /lib/systemd/systemd-sysv-install. Warning: yunohost.hook <lambda> - [2080.1] Executing: /lib/systemd/systemd-sysv-install enable influxdb Warning: yunohost.hook <lambda> - [2080.1] Synchronizing state of grafana-server.service with SysV service script with /lib/systemd/systemd-sysv-install. Warning: yunohost.hook <lambda> - [2080.1] Executing: /lib/systemd/systemd-sysv-install enable grafana-server Info: [##################+.] > Starting a systemd service... Info: The service grafana-server has correctly executed the action restart. Info: [###################.] > Configuring SSOwat... Warning: yunohost.hook <lambda> - [2080.1] /! Packagers! This app is still using the skipped/protected/unprotected_uris/regex settings which are now obsolete and deprecated... Instead, you should use the new helpers 'ynh_permission_{create,urls,update,delete}' and the 'visitors' group to initialize the public/private access. Check out the documentation at the bottom of yunohost.org/groups_and_permissions to learn how to use the new permission mechanism. Info: [###################.] > Reloading nginx web server... Try to access by url... Test url: sous.domain.tld Real url: https://sous.domain.tld/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help Test url: sous.domain.tld/ Real url: https://sous.domain.tld/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help --- SUCCESS --- Stop the LXC container Restore the previous snapshot. Working time: 11 seconds (04:26:36). Working time for this test: 7 minutes, 14 seconds (04:26:36). >> Upgrade from the same version... [Test 4/9] Preliminary install... Uses an existing snapshot for sub path installation. Working time: 11 seconds (04:26:48). Upgrade... Start the LXC container.Start the LXC container. Create witness files... Working time: 10 seconds (04:26:58). Working time: 48 seconds (04:27:46). Upgrade successful. (0) Info: yunohost.app app_upgrade - [883.1] Now upgrading grafana... Info: [....................] > Loading installation settings... Info: Upgrade forced for package check. Info: [+...................] > Ensuring downward compatibility... Info: [#+++................] > Backing up the app before upgrading (may take a while)... Info: yunohost.backup _collect_app_files - [1497.1] Collecting files to be backed up for grafana... Info: Loading installation settings... Info: Declaring files to be backed up... Info: Stopping a systemd service... Info: Backing up configuration directories... Info: Backing up nginx web server configuration... Info: Backing up the MySQL database... Info: Backing up the InfluxDB database... Info: Starting a systemd service... Info: Backup script completed for grafana. (YunoHost will then actually copy those files to the archive). Info: yunohost.backup backup_create - [1497.1] Creating a backup archive from the collected files... Info: [####+...............] > Upgrading nginx web server configuration... Info: [#####+++++++++......] > Upgrading dependencies... Info: '/etc/apt/trusted.gpg.d/grafana.asc' wasn't deleted because it doesn't exist. Info: [##############++....] > Configuring Grafana and InfluxDB... Info: [################+...] > Upgrading SSOwat configuration... Warning: yunohost.hook <lambda> - [883.1] /! Packagers! This app is still using the skipped/protected/unprotected_uris/regex settings which are now obsolete and deprecated... Instead, you should use the new helpers 'ynh_permission_{create,urls,update,delete}' and the 'visitors' group to initialize the public/private access. Check out the documentation at the bottom of yunohost.org/groups_and_permissions to learn how to use the new permission mechanism. Warning: yunohost.user user_permission_update - [5618.1] Group 'visitors' already has permission 'grafana.main' enabled Warning: yunohost.user user_permission_update - [5618.1] This permission is currently granted to all users in addition to other groups. You probably want to either remove the 'all_users' permission or remove the other groups it is currently granted to. Warning: yunohost.user user_permission_update - [5618.1] The permission was not updated because the addition/removal requests already match the current state. Warning: yunohost.hook <lambda> - [883.1] Group 'visitors' already has permission 'grafana.main' enabled Warning: yunohost.hook <lambda> - [883.1] This permission is currently granted to all users in addition to other groups. You probably want to either remove the 'all_users' permission or remove the other groups it is currently granted to. Warning: yunohost.hook <lambda> - [883.1] The permission was not updated because the addition/removal requests already match the current state. Info: [#################+..] > Restarting a systemd service... Info: The service grafana-server has correctly executed the action restart. Info: [##################+.] > Reloading nginx web server... Info: [####################] > Upgrade of grafana completed Try to access by url... Test url: sous.domain.tld/path Real url: https://sous.domain.tld/path/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help Test url: sous.domain.tld/path/ Real url: https://sous.domain.tld/path/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help --- SUCCESS --- Deleting... A LXC container is already running. Working time: 2 seconds (04:27:50). Working time: 20 seconds (04:28:10). Deleting successful. (0) Stop the LXC container Restore the previous snapshot. Working time: 10 seconds (04:28:20). Restore the previous snapshot. Working time: 4 seconds (04:28:24). Working time for this test: 1 minute, 48 seconds (04:28:24). >> Installation in private mode... [Test 5/9] Start the LXC container. Create witness files... Working time: 11 seconds (04:28:35). apt is already in use... apt has released its lock. Working time: 6 minutes, 3 seconds (04:34:38). Installation successful. (0) Info: yunohost.app app_install - [1370.1] Installing grafana... Info: [....................] > Validating installation parameters... Info: [....................] > Storing installation settings... Info: [....................] > Configuring port... Info: [+++++++++++.........] > Installing dependencies... Warning: yunohost.hook <lambda> - [1370.1] Created symlink /etc/systemd/system/influxd.service -> /lib/systemd/system/influxdb.service. Warning: yunohost.hook <lambda> - [1370.1] Created symlink /etc/systemd/system/multi-user.target.wants/influxdb.service -> /lib/systemd/system/influxdb.service. Info: '/etc/apt/trusted.gpg.d/grafana.asc' wasn't deleted because it doesn't exist. Info: [###########.........] > Creating a MySQL database... Info: [###########.........] > Configuring nginx web server... Info: [###########+++++++..] > Configuring Grafana and InfluxDB... Warning: yunohost.hook <lambda> - [1370.1] Please wait, the service grafana-server is restarting..... Info: The service grafana-server has correctly executed the action restart. Warning: yunohost.hook <lambda> - [1370.1] Synchronizing state of influxdb.service with SysV service script with /lib/systemd/systemd-sysv-install. Warning: yunohost.hook <lambda> - [1370.1] Executing: /lib/systemd/systemd-sysv-install enable influxdb Warning: yunohost.hook <lambda> - [1370.1] Synchronizing state of grafana-server.service with SysV service script with /lib/systemd/systemd-sysv-install. Warning: yunohost.hook <lambda> - [1370.1] Executing: /lib/systemd/systemd-sysv-install enable grafana-server Warning: yunohost.hook <lambda> - [1370.1] Created symlink /etc/systemd/system/multi-user.target.wants/grafana-server.service → /usr/lib/systemd/system/grafana-server.service. Info: [##################+.] > Starting a systemd service... Info: The service grafana-server has correctly executed the action restart. Info: [###################.] > Configuring SSOwat... Info: [###################.] > Reloading nginx web server... Try to access by url... Test url: sous.domain.tld Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv HTTP code: 200 Title of the page: YunoHost Portal The connection attempt fall on the YunoHost portal. Test url: sous.domain.tld/ Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv HTTP code: 200 Title of the page: YunoHost Portal The connection attempt fall on the YunoHost portal. --- SUCCESS --- Stop the LXC container Restore the previous snapshot. Working time: 11 seconds (04:34:51). Start the LXC container.Start the LXC container. Create witness files... Working time: 14 seconds (04:35:05). apt is already in use... apt has released its lock. Working time: 5 minutes, (04:40:05). Installation successful. (0) Info: yunohost.app app_install - [1371.1] Installing grafana... Info: [....................] > Validating installation parameters... Info: [....................] > Storing installation settings... Info: [....................] > Configuring port... Info: [+++++++++++.........] > Installing dependencies... Warning: yunohost.hook <lambda> - [1371.1] Created symlink /etc/systemd/system/influxd.service -> /lib/systemd/system/influxdb.service. Warning: yunohost.hook <lambda> - [1371.1] Created symlink /etc/systemd/system/multi-user.target.wants/influxdb.service -> /lib/systemd/system/influxdb.service. Info: '/etc/apt/trusted.gpg.d/grafana.asc' wasn't deleted because it doesn't exist. Info: [###########.........] > Creating a MySQL database... Info: [###########.........] > Configuring nginx web server... Info: [###########+++++++..] > Configuring Grafana and InfluxDB... Warning: yunohost.hook <lambda> - [1371.1] Please wait, the service grafana-server is restarting..... Info: The service grafana-server has correctly executed the action restart. Warning: yunohost.hook <lambda> - [1371.1] Synchronizing state of influxdb.service with SysV service script with /lib/systemd/systemd-sysv-install. Warning: yunohost.hook <lambda> - [1371.1] Executing: /lib/systemd/systemd-sysv-install enable influxdb Warning: yunohost.hook <lambda> - [1371.1] Synchronizing state of grafana-server.service with SysV service script with /lib/systemd/systemd-sysv-install. Warning: yunohost.hook <lambda> - [1371.1] Executing: /lib/systemd/systemd-sysv-install enable grafana-server Warning: yunohost.hook <lambda> - [1371.1] Created symlink /etc/systemd/system/multi-user.target.wants/grafana-server.service → /usr/lib/systemd/system/grafana-server.service. Info: [##################+.] > Starting a systemd service... Info: The service grafana-server has correctly executed the action restart. Info: [###################.] > Configuring SSOwat... Info: [###################.] > Reloading nginx web server... Info: [####################] > Installation of grafana completed Try to access by url... 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. Test url: sous.domain.tld/path/ Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aC8= HTTP code: 200 Title of the page: YunoHost Portal The connection attempt fall on the YunoHost portal. --- SUCCESS --- Stop the LXC container Restore the previous snapshot. Working time: 11 seconds (04:40:18). Restore the previous snapshot. Working time: 4 seconds (04:40:22). Working time for this test: 11 minutes, 58 seconds (04:40:22). >> Installation in public mode... [Test 6/9] Start the LXC container.Start the LXC container. Create witness files... Working time: 11 seconds (04:40:34). apt is already in use... apt has released its lock. Working time: 6 minutes, 6 seconds (04:46:41). Installation successful. (0) Info: yunohost.app app_install - [1373.1] Installing grafana... Info: [....................] > Validating installation parameters... Info: [....................] > Storing installation settings... Info: [....................] > Configuring port... Info: [+++++++++++.........] > Installing dependencies... Warning: yunohost.hook <lambda> - [1373.1] Created symlink /etc/systemd/system/influxd.service -> /lib/systemd/system/influxdb.service. Warning: yunohost.hook <lambda> - [1373.1] Created symlink /etc/systemd/system/multi-user.target.wants/influxdb.service -> /lib/systemd/system/influxdb.service. Info: '/etc/apt/trusted.gpg.d/grafana.asc' wasn't deleted because it doesn't exist. Info: [###########.........] > Creating a MySQL database... Info: [###########.........] > Configuring nginx web server... Info: [###########+++++++..] > Configuring Grafana and InfluxDB... Warning: yunohost.hook <lambda> - [1373.1] Please wait, the service grafana-server is restarting..... Info: The service grafana-server has correctly executed the action restart. Warning: yunohost.hook <lambda> - [1373.1] Synchronizing state of influxdb.service with SysV service script with /lib/systemd/systemd-sysv-install. Warning: yunohost.hook <lambda> - [1373.1] Executing: /lib/systemd/systemd-sysv-install enable influxdb Warning: yunohost.hook <lambda> - [1373.1] Synchronizing state of grafana-server.service with SysV service script with /lib/systemd/systemd-sysv-install. Warning: yunohost.hook <lambda> - [1373.1] Executing: /lib/systemd/systemd-sysv-install enable grafana-server Warning: yunohost.hook <lambda> - [1373.1] Created symlink /etc/systemd/system/multi-user.target.wants/grafana-server.service → /usr/lib/systemd/system/grafana-server.service. Info: [##################+.] > Starting a systemd service... Info: The service grafana-server has correctly executed the action restart. Info: [###################.] > Configuring SSOwat... Warning: yunohost.hook <lambda> - [1373.1] /! Packagers! This app is still using the skipped/protected/unprotected_uris/regex settings which are now obsolete and deprecated... Instead, you should use the new helpers 'ynh_permission_{create,urls,update,delete}' and the 'visitors' group to initialize the public/private access. Check out the documentation at the bottom of yunohost.org/groups_and_permissions to learn how to use the new permission mechanism. Info: [###################.] > Reloading nginx web server... Info: [####################] > Installation of grafana completed Try to access by url... Test url: sous.domain.tld Real url: https://sous.domain.tld/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help Test url: sous.domain.tld/ Real url: https://sous.domain.tld/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help --- SUCCESS --- Stop the LXC container Restore the previous snapshot. Working time: 11 seconds (04:46:54). Start the LXC containerStart the LXC container... Create witness files... Working time: 13 seconds (04:47:07). Working time: 1 minute, 18 seconds (04:48:25). Installation successful. (0) Info: yunohost.app app_install - [1289.1] Installing grafana... Info: [....................] > Validating installation parameters... Info: [....................] > Storing installation settings... Info: [....................] > Configuring port... Info: [+++++++++++.........] > Installing dependencies... Warning: yunohost.hook <lambda> - [1289.1] Created symlink /etc/systemd/system/influxd.service -> /lib/systemd/system/influxdb.service. Warning: yunohost.hook <lambda> - [1289.1] Created symlink /etc/systemd/system/multi-user.target.wants/influxdb.service -> /lib/systemd/system/influxdb.service. Info: '/etc/apt/trusted.gpg.d/grafana.asc' wasn't deleted because it doesn't exist. Info: [###########.........] > Creating a MySQL database... Info: [###########.........] > Configuring nginx web server... Info: [###########+++++++..] > Configuring Grafana and InfluxDB... Warning: yunohost.hook <lambda> - [1289.1] Please wait, the service grafana-server is restarting..... Info: The service grafana-server has correctly executed the action restart. Warning: yunohost.hook <lambda> - [1289.1] Synchronizing state of influxdb.service with SysV service script with /lib/systemd/systemd-sysv-install. Warning: yunohost.hook <lambda> - [1289.1] Executing: /lib/systemd/systemd-sysv-install enable influxdb Warning: yunohost.hook <lambda> - [1289.1] Synchronizing state of grafana-server.service with SysV service script with /lib/systemd/systemd-sysv-install. Warning: yunohost.hook <lambda> - [1289.1] Executing: /lib/systemd/systemd-sysv-install enable grafana-server Warning: yunohost.hook <lambda> - [1289.1] Created symlink /etc/systemd/system/multi-user.target.wants/grafana-server.service → /usr/lib/systemd/system/grafana-server.service. Info: [##################+.] > Starting a systemd service... Info: The service grafana-server has correctly executed the action restart. Info: [###################.] > Configuring SSOwat... Warning: yunohost.hook <lambda> - [1289.1] /! Packagers! This app is still using the skipped/protected/unprotected_uris/regex settings which are now obsolete and deprecated... Instead, you should use the new helpers 'ynh_permission_{create,urls,update,delete}' and the 'visitors' group to initialize the public/private access. Check out the documentation at the bottom of yunohost.org/groups_and_permissions to learn how to use the new permission mechanism. Info: [###################.] > Reloading nginx web server... Try to access by url... Test url: sous.domain.tld/path Real url: https://sous.domain.tld/path/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help Test url: sous.domain.tld/path/ Real url: https://sous.domain.tld/path/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help --- SUCCESS --- Stop the LXC container Restore the previous snapshot. Working time: 11 seconds (04:48:38). Restore the previous snapshot. Working time: 5 seconds (04:48:43). Working time for this test: 8 minutes, 20 seconds (04:48:43). >> Port already used... [Test 7/9] Start the LXC container.Start the LXC container. Create witness files... Working time: 12 seconds (04:48:55). apt is already in use... apt has released its lock. Working time: 4 minutes, 22 seconds (04:53:17). A LXC container is already running. Working time: 2 seconds (04:53:19). Working time: 1 minute, 15 seconds (04:54:34). Installation successful. (0) Info: yunohost.app app_install - [1466.1] Installing grafana... Info: [....................] > Validating installation parameters... Info: [....................] > Storing installation settings... Info: [....................] > Configuring port... Info: [+++++++++++.........] > Installing dependencies... Warning: yunohost.hook <lambda> - [1466.1] Created symlink /etc/systemd/system/influxd.service -> /lib/systemd/system/influxdb.service. Warning: yunohost.hook <lambda> - [1466.1] Created symlink /etc/systemd/system/multi-user.target.wants/influxdb.service -> /lib/systemd/system/influxdb.service. Info: '/etc/apt/trusted.gpg.d/grafana.asc' wasn't deleted because it doesn't exist. Info: [###########.........] > Creating a MySQL database... Info: [###########.........] > Configuring nginx web server... Info: [###########+++++++..] > Configuring Grafana and InfluxDB... Warning: yunohost.hook <lambda> - [1466.1] Please wait, the service grafana-server is restarting..... Info: The service grafana-server has correctly executed the action restart. Warning: yunohost.hook <lambda> - [1466.1] Synchronizing state of influxdb.service with SysV service script with /lib/systemd/systemd-sysv-install. Warning: yunohost.hook <lambda> - [1466.1] Executing: /lib/systemd/systemd-sysv-install enable influxdb Warning: yunohost.hook <lambda> - [1466.1] Synchronizing state of grafana-server.service with SysV service script with /lib/systemd/systemd-sysv-install. Warning: yunohost.hook <lambda> - [1466.1] Executing: /lib/systemd/systemd-sysv-install enable grafana-server Warning: yunohost.hook <lambda> - [1466.1] Created symlink /etc/systemd/system/multi-user.target.wants/grafana-server.service → /usr/lib/systemd/system/grafana-server.service. Info: [##################+.] > Starting a systemd service... Info: The service grafana-server has correctly executed the action restart. Info: [###################.] > Configuring SSOwat... Warning: yunohost.hook <lambda> - [1466.1] /! Packagers! This app is still using the skipped/protected/unprotected_uris/regex settings which are now obsolete and deprecated... Instead, you should use the new helpers 'ynh_permission_{create,urls,update,delete}' and the 'visitors' group to initialize the public/private access. Check out the documentation at the bottom of yunohost.org/groups_and_permissions to learn how to use the new permission mechanism. Info: [###################.] > Reloading nginx web server... Try to access by url... Test url: sous.domain.tld/path Real url: https://sous.domain.tld/path/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help Test url: sous.domain.tld/path/ Real url: https://sous.domain.tld/path/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help --- SUCCESS --- Stop the LXC container Restore the previous snapshot. Working time: 11 seconds (04:54:47). Working time for this test: 6 minutes, 4 seconds (04:54:47). >> Backup/Restore... [Test 8/9] Preliminary installation on the root... Uses an existing snapshot for root installation. Working time: 12 seconds (04:54:59). Backup of the application... Start the LXC container.Start the LXC container. Create witness files... Working time: 12 seconds (04:55:11). Working time: 11 seconds (04:55:22). Backup successful. (0) Info: yunohost.backup _collect_app_files - [926.1] Collecting files to be backed up for grafana... Info: Loading installation settings... Info: Declaring files to be backed up... Info: Stopping a systemd service... Info: Backing up configuration directories... Info: Backing up nginx web server configuration... Info: Backing up the MySQL database... Info: Backing up the InfluxDB database... Info: Starting a systemd service... Info: Backup script completed for grafana. (YunoHost will then actually copy those files to the archive). Info: yunohost.backup backup_create - [926.1] Creating a backup archive from the collected files... --- SUCCESS --- Deleting... A LXC container is already running. Working time: 2 seconds (04:55:25). Working time: 18 seconds (04:55:43). Deleting successful. (0) Restore after removing the application... A LXC container is already running. Working time: 2 seconds (04:55:46). Working time: 49 seconds (04:56:35). Restore successful. (0) Info: yunohost.backup backup_restore - [3406.1] Preparing archive for restoration... Info: yunohost.backup _restore_app - [3406.1] Restoring grafana... Info: [....................] > Loading settings... Info: [....................] > Validating restoration parameters... Info: [++++++++++++........] > Reinstalling dependencies... Warning: yunohost.hook <lambda> - [3406.1] Created symlink /etc/systemd/system/influxd.service -> /lib/systemd/system/influxdb.service. Warning: yunohost.hook <lambda> - [3406.1] Created symlink /etc/systemd/system/multi-user.target.wants/influxdb.service -> /lib/systemd/system/influxdb.service. Info: '/etc/apt/trusted.gpg.d/grafana.asc' wasn't deleted because it doesn't exist. Info: [############+.......] > Restoring configuration directories... Info: [#############++++...] > Restoring the InfluxDB database... Info: [#################+..] > Restoring the MySQL database... Info: [##################+.] > Starting a systemd service... Info: [###################.] > Reloading nginx web server... Try to access by url... Test url: sous.domain.tld Real url: https://sous.domain.tld/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help Test url: sous.domain.tld/ Real url: https://sous.domain.tld/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help --- SUCCESS --- Stop the LXC container Restore the previous snapshot. Working time: 12 seconds (04:56:49). Restore the previous snapshot. Working time: 7 seconds (04:56:57). Restore on a clean YunoHost system... Start the LXC container. Create witness files... Working time: 10 seconds (04:57:07). apt is already in use... apt has released its lock. Working time: 5 minutes, 44 seconds (05:02:51). Restore successful. (0) Info: yunohost.backup backup_restore - [1365.1] Preparing archive for restoration... Info: yunohost.backup _restore_app - [1365.1] Restoring grafana... Info: [....................] > Loading settings... Info: [....................] > Validating restoration parameters... Info: [++++++++++++........] > Reinstalling dependencies... Warning: yunohost.hook <lambda> - [1365.1] Created symlink /etc/systemd/system/influxd.service -> /lib/systemd/system/influxdb.service. Warning: yunohost.hook <lambda> - [1365.1] Created symlink /etc/systemd/system/multi-user.target.wants/influxdb.service -> /lib/systemd/system/influxdb.service. Info: '/etc/apt/trusted.gpg.d/grafana.asc' wasn't deleted because it doesn't exist. Info: [############+.......] > Restoring configuration directories... Info: [#############++++...] > Restoring the InfluxDB database... Info: [#################+..] > Restoring the MySQL database... Info: [##################+.] > Starting a systemd service... Info: [###################.] > Reloading nginx web server... Info: [####################] > Restoration completed for grafana Try to access by url... Test url: sous.domain.tld Real url: https://sous.domain.tld/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help Test url: sous.domain.tld/ Real url: https://sous.domain.tld/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help --- SUCCESS --- Stop the LXC container Restore the previous snapshot. Working time: 10 seconds (05:03:03). Preliminary installation in a sub path... Uses an existing snapshot for sub path installation. Working time: 12 seconds (05:03:15). Backup of the application... Start the LXC container.. Create witness files... Working time: 11 seconds (05:03:27). Working time: 16 seconds (05:03:43). Backup successful. (0) Info: yunohost.backup _collect_app_files - [929.1] Collecting files to be backed up for grafana... Info: Loading installation settings... Info: Declaring files to be backed up... Info: Stopping a systemd service... Info: Backing up configuration directories... Info: Backing up nginx web server configuration... Info: Backing up the MySQL database... Info: Backing up the InfluxDB database... Info: Starting a systemd service... Info: Backup script completed for grafana. (YunoHost will then actually copy those files to the archive). Info: yunohost.backup backup_create - [929.1] Creating a backup archive from the collected files... --- SUCCESS --- Deleting... A LXC container is already running. Working time: 2 seconds (05:03:46). Working time: 21 seconds (05:04:07). Deleting successful. (0) Restore after removing the application... A LXC container is already running. Working time: 1 second (05:04:09). Working time: 51 seconds (05:05:00). Restore successful. (0) Info: yunohost.backup backup_restore - [3409.1] Preparing archive for restoration... Info: yunohost.backup _restore_app - [3409.1] Restoring grafana... Info: [....................] > Loading settings... Info: [....................] > Validating restoration parameters... Info: [++++++++++++........] > Reinstalling dependencies... Warning: yunohost.hook <lambda> - [3409.1] Created symlink /etc/systemd/system/influxd.service -> /lib/systemd/system/influxdb.service. Warning: yunohost.hook <lambda> - [3409.1] Created symlink /etc/systemd/system/multi-user.target.wants/influxdb.service -> /lib/systemd/system/influxdb.service. Info: '/etc/apt/trusted.gpg.d/grafana.asc' wasn't deleted because it doesn't exist. Info: [############+.......] > Restoring configuration directories... Info: [#############++++...] > Restoring the InfluxDB database... Info: [#################+..] > Restoring the MySQL database... Info: [##################+.] > Starting a systemd service... Info: [###################.] > Reloading nginx web server... Info: [####################] > Restoration completed for grafana Try to access by url... Test url: sous.domain.tld/path Real url: https://sous.domain.tld/path/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help Test url: sous.domain.tld/path/ Real url: https://sous.domain.tld/path/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help --- SUCCESS --- Stop the LXC container Restore the previous snapshot. Working time: 14 seconds (05:05:15). Restore the previous snapshot. Working time: 7 seconds (05:05:22). Restore on a clean YunoHost system... Start the LXC container.Start the LXC container. Create witness files... Working time: 12 seconds (05:05:34). apt is already in use... apt has released its lock. Working time: 5 minutes, 14 seconds (05:10:48). Restore successful. (0) Info: yunohost.backup backup_restore - [1423.1] Preparing archive for restoration... Info: yunohost.backup _restore_app - [1423.1] Restoring grafana... Info: [....................] > Loading settings... Info: [....................] > Validating restoration parameters... Info: [++++++++++++........] > Reinstalling dependencies... Warning: yunohost.hook <lambda> - [1423.1] Created symlink /etc/systemd/system/influxd.service -> /lib/systemd/system/influxdb.service. Warning: yunohost.hook <lambda> - [1423.1] Created symlink /etc/systemd/system/multi-user.target.wants/influxdb.service -> /lib/systemd/system/influxdb.service. Info: '/etc/apt/trusted.gpg.d/grafana.asc' wasn't deleted because it doesn't exist. Info: [############+.......] > Restoring configuration directories... Info: [#############++++...] > Restoring the InfluxDB database... Info: [#################+..] > Restoring the MySQL database... Info: [##################+.] > Starting a systemd service... Info: [###################.] > Reloading nginx web server... Info: [####################] > Restoration completed for grafana Try to access by url... Test url: sous.domain.tld/path Real url: https://sous.domain.tld/path/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help Test url: sous.domain.tld/path/ Real url: https://sous.domain.tld/path/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help --- SUCCESS --- Stop the LXC container Restore the previous snapshot. Working time: 11 seconds (05:11:01). Restore the previous snapshot. Working time: 5 seconds (05:11:06). Working time for this test: 16 minutes, 19 seconds (05:11:06). >> Change URL... [Test 9/9] Preliminary install... Uses an existing snapshot for root installation. Working time: 11 seconds (05:11:17). Change the url from sous.domain.tld/ to sous.domain.tld/path... Start the LXC container.....Start the LXC container..... Create witness files... Working time: 17 seconds (05:11:34). Working time: 20 seconds (05:11:54). Change_url script successful. (0) Info: [+...................] > Loading installation settings... Info: [#++++++.............] > Backing up the app before changing its url (may take a while)... Info: yunohost.backup _collect_app_files - [1127.1] Collecting files to be backed up for grafana... Info: Loading installation settings... Info: Declaring files to be backed up... Info: Stopping a systemd service... Info: Backing up configuration directories... Info: Backing up nginx web server configuration... Info: Backing up the MySQL database... Info: Backing up the InfluxDB database... Info: Starting a systemd service... Info: Backup script completed for grafana. (YunoHost will then actually copy those files to the archive). Info: yunohost.backup backup_create - [1127.1] Creating a backup archive from the collected files... Info: [#######+++..........] > Stopping a systemd service... Info: [##########++........] > Updating nginx web server configuration... Info: [############+.......] > Updating Grafana configuration... Info: [#############+++....] > Starting a systemd service... Info: The service grafana-server has correctly executed the action start. Info: [################++..] > Reloading nginx web server... Try to access by url... Test url: sous.domain.tld/path Real url: https://sous.domain.tld/path/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help Test url: sous.domain.tld/path/ Real url: https://sous.domain.tld/path/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help --- SUCCESS --- Stop the LXC container Restore the previous snapshot. Working time: 11 seconds (05:12:07). Preliminary install... Uses an existing snapshot for sub path installation. Working time: 11 seconds (05:12:18). Change the url from sous.domain.tld/path to sous.domain.tld/path_2... Start the LXC container.. Create witness files... Working time: 13 seconds (05:12:31). Working time: 19 seconds (05:12:50). Change_url script successful. (0) Info: [+...................] > Loading installation settings... Info: [#++++++.............] > Backing up the app before changing its url (may take a while)... Info: yunohost.backup _collect_app_files - [1127.1] Collecting files to be backed up for grafana... Info: Loading installation settings... Info: Declaring files to be backed up... Info: Stopping a systemd service... Info: Backing up configuration directories... Info: Backing up nginx web server configuration... Info: Backing up the MySQL database... Info: Backing up the InfluxDB database... Info: Starting a systemd service... Info: yunohost.backup backup_create - [1127.1] Creating a backup archive from the collected files... Info: [#######+++..........] > Stopping a systemd service... Info: [##########++........] > Updating nginx web server configuration... Info: [############+.......] > Updating Grafana configuration... Info: [#############+++....] > Starting a systemd service... Info: The service grafana-server has correctly executed the action start. Info: [################++..] > Reloading nginx web server... Try to access by url... Test url: sous.domain.tld/path_2 Real url: https://sous.domain.tld/path_2/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help Test url: sous.domain.tld/path_2/ Real url: https://sous.domain.tld/path_2/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help --- SUCCESS --- Stop the LXC container Restore the previous snapshot. Working time: 10 seconds (05:13:02). Preliminary install... Uses an existing snapshot for sub path installation. Working time: 10 seconds (05:13:12). Change the url from sous.domain.tld/path to sous.domain.tld/... Start the LXC container.. Create witness files... Working time: 12 seconds (05:13:24). Working time: 22 seconds (05:13:46). Change_url script successful. (0) Info: [+...................] > Loading installation settings... Info: [#++++++.............] > Backing up the app before changing its url (may take a while)... Info: yunohost.backup _collect_app_files - [1126.1] Collecting files to be backed up for grafana... Info: Loading installation settings... Info: Declaring files to be backed up... Info: Stopping a systemd service... Info: Backing up configuration directories... Info: Backing up nginx web server configuration... Info: Backing up the MySQL database... Info: Backing up the InfluxDB database... Info: Starting a systemd service... Info: yunohost.backup backup_create - [1126.1] Creating a backup archive from the collected files... Info: [#######+++..........] > Stopping a systemd service... Info: [##########++........] > Updating nginx web server configuration... Info: [############+.......] > Updating Grafana configuration... Info: [#############+++....] > Starting a systemd service... Info: The service grafana-server has correctly executed the action start. Info: [################++..] > Reloading nginx web server... Try to access by url... Test url: sous.domain.tld Real url: https://sous.domain.tld/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help Test url: sous.domain.tld/ Real url: https://sous.domain.tld/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help --- SUCCESS --- Stop the LXC container Restore the previous snapshot. Working time: 9 seconds (05:13:57). Preliminary install... Uses an existing snapshot for root installation. Working time: 12 seconds (05:14:09). Change the url from sous.domain.tld/ to domain.tld/path... Start the LXC container.. Create witness files... Working time: 14 seconds (05:14:23). Working time: 20 seconds (05:14:43). Change_url script successful. (0) Info: [+...................] > Loading installation settings... Info: [#++++++.............] > Backing up the app before changing its url (may take a while)... Info: yunohost.backup _collect_app_files - [1129.1] Collecting files to be backed up for grafana... Info: Loading installation settings... Info: Declaring files to be backed up... Info: Stopping a systemd service... Info: Backing up configuration directories... Info: Backing up nginx web server configuration... Info: Backing up the MySQL database... Info: Backing up the InfluxDB database... Info: Starting a systemd service... Info: yunohost.backup backup_create - [1129.1] Creating a backup archive from the collected files... Info: [#######+++..........] > Stopping a systemd service... Info: [##########++........] > Updating nginx web server configuration... Info: [############+.......] > Updating Grafana configuration... Info: [#############+++....] > Starting a systemd service... Info: The service grafana-server has correctly executed the action start. Info: [################++..] > Reloading nginx web server... Try to access by url... Test url: domain.tld/path Real url: https://domain.tld/path/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help Test url: domain.tld/path/ Real url: https://domain.tld/path/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help --- SUCCESS --- Stop the LXC container Restore the previous snapshot. Working time: 11 seconds (05:14:56). Preliminary install... Uses an existing snapshot for sub path installation. Working time: 11 seconds (05:15:07). Change the url from sous.domain.tld/path to domain.tld/path_2... Start the LXC container.Start the LXC container.. Create witness files... Working time: 14 seconds (05:15:21). Working time: 19 seconds (05:15:40). Change_url script successful. (0) Info: [+...................] > Loading installation settings... Info: [#++++++.............] > Backing up the app before changing its url (may take a while)... Info: yunohost.backup _collect_app_files - [1126.1] Collecting files to be backed up for grafana... Info: Loading installation settings... Info: Declaring files to be backed up... Info: Stopping a systemd service... Info: Backing up configuration directories... Info: Backing up nginx web server configuration... Info: Backing up the MySQL database... Info: Backing up the InfluxDB database... Info: Starting a systemd service... Info: yunohost.backup backup_create - [1126.1] Creating a backup archive from the collected files... Info: [#######+++..........] > Stopping a systemd service... Info: [##########++........] > Updating nginx web server configuration... Info: [############+.......] > Updating Grafana configuration... Info: [#############+++....] > Starting a systemd service... Info: The service grafana-server has correctly executed the action start. Info: [################++..] > Reloading nginx web server... Try to access by url... Test url: domain.tld/path_2 Real url: https://domain.tld/path_2/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help Test url: domain.tld/path_2/ Real url: https://domain.tld/path_2/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help --- SUCCESS --- Stop the LXC container Restore the previous snapshot. Working time: 11 seconds (05:15:52). Preliminary install... Uses an existing snapshot for sub path installation. Working time: 11 seconds (05:16:03). Change the url from sous.domain.tld/path to domain.tld/... Start the LXC container.. Create witness files... Working time: 11 seconds (05:16:14). Working time: 20 seconds (05:16:34). Change_url script successful. (0) Info: [+...................] > Loading installation settings... Info: [#++++++.............] > Backing up the app before changing its url (may take a while)... Info: yunohost.backup _collect_app_files - [1124.1] Collecting files to be backed up for grafana... Info: Loading installation settings... Info: Declaring files to be backed up... Info: Stopping a systemd service... Info: Backing up configuration directories... Info: Backing up nginx web server configuration... Info: Backing up the MySQL database... Info: Backing up the InfluxDB database... Info: Starting a systemd service... Info: yunohost.backup backup_create - [1124.1] Creating a backup archive from the collected files... Info: [#######+++..........] > Stopping a systemd service... Info: [##########++........] > Updating nginx web server configuration... Info: [############+.......] > Updating Grafana configuration... Info: [#############+++....] > Starting a systemd service... Info: The service grafana-server has correctly executed the action start. Info: [################++..] > Reloading nginx web server... Info: [####################] > Change of URL completed for grafana Try to access by url... Test url: domain.tld Real url: https://domain.tld/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help Test url: domain.tld/ Real url: https://domain.tld/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help --- SUCCESS --- Stop the LXC container Restore the previous snapshot. Working time: 10 seconds (05:16:46). Preliminary install... Uses an existing snapshot for root installation. Working time: 12 seconds (05:16:58). Change the url from sous.domain.tld/ to domain.tld/... Start the LXC container.Start the LXC container.. Create witness files... Working time: 13 seconds (05:17:11). Working time: 17 seconds (05:17:28). Change_url script successful. (0) Info: [+...................] > Loading installation settings... Info: [#++++++.............] > Backing up the app before changing its url (may take a while)... Info: yunohost.backup _collect_app_files - [1128.1] Collecting files to be backed up for grafana... Info: Loading installation settings... Info: Declaring files to be backed up... Info: Stopping a systemd service... Info: Backing up configuration directories... Info: Backing up nginx web server configuration... Info: Backing up the MySQL database... Info: Backing up the InfluxDB database... Info: Starting a systemd service... Info: yunohost.backup backup_create - [1128.1] Creating a backup archive from the collected files... Info: [#######+++..........] > Stopping a systemd service... Info: [##########++........] > Updating nginx web server configuration... Info: [############+.......] > Updating Grafana configuration... Info: [#############+++....] > Starting a systemd service... Info: The service grafana-server has correctly executed the action start. Info: [################++..] > Reloading nginx web server... Try to access by url... Test url: domain.tld Real url: https://domain.tld/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help Test url: domain.tld/ Real url: https://domain.tld/login HTTP code: 200 Title of the page: Grafana Extract of the page: Loading Grafana If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help --- SUCCESS --- Stop the LXC container Restore the previous snapshot. Working time: 11 seconds (05:17:41). Restore the previous snapshot. Working time: 4 seconds (05:17:45). Working time for this test: 6 minutes, 39 seconds (05:17:45). Package linter: SUCCESS Installation: SUCCESS Deleting: SUCCESS Installation in a sub path: SUCCESS Deleting from a sub path: SUCCESS Installation on the root: SUCCESS Deleting from root: SUCCESS Upgrade: SUCCESS Installation in private mode: SUCCESS Installation in public mode: SUCCESS Multi-instance installations: Not evaluated. Malformed path: Not evaluated. Port already used: SUCCESS Backup: SUCCESS Restore: SUCCESS Change URL: SUCCESS Actions and config-panel: Not evaluated. Level of this application: 7 (Successfully pass functional tests) Level 1: 1 Level 2: 1 Level 3: 1 Level 4: 1 Level 5: 1 Level 6: 1 Level 7: 1 Level 8: 0 Level 9: 0 Level 10: 0 You can find the complete log of these tests in /home/CI_package_check/package_check/Complete.log Global working time for all tests: 1 hour, 2 minutes, 34 seconds (05:17:45). Disable iptables rules. Disable the network bridge. The complete log for this application was duplicated and is accessible at https://ci-apps-dev.yunohost.org/jenkins/logs/_home_yunohost.app_ssh_chroot_directories_JimboJoe_data_grafana_ynh_complete.log Sat Sep 19 05:19:10 UTC 2020 Test finished. Finished: SUCCESS