Testing package https://github.com/YunoHost-Apps/nocodb_ynh on branch ci-auto-update-0.258.0 (commit 4109e60d207d769eb51a14a93ba1499b99d5ada6) {"test_serie": "default", "test_type": "TEST_PACKAGE_LINTER", "test_arg": "", "preinstall_template": "", "preupgrade_template": "", "install_args": "domain=domain.tld&init_main_permission=visitors", "extra": {}}{"test_serie": "default", "test_type": "TEST_INSTALL", "test_arg": "root", "preinstall_template": "", "preupgrade_template": "", "install_args": "domain=domain.tld&init_main_permission=visitors", "extra": {}}{"test_serie": "default", "test_type": "TEST_BACKUP_RESTORE", "test_arg": "", "preinstall_template": "", "preupgrade_template": "", "install_args": "domain=domain.tld&init_main_permission=visitors", "extra": {}}{"test_serie": "default", "test_type": "TEST_UPGRADE", "test_arg": "", "preinstall_template": "", "preupgrade_template": "", "install_args": "domain=domain.tld&init_main_permission=visitors", "extra": {}}{"test_serie": "default", "test_type": "TEST_UPGRADE", "test_arg": "e6e2d1ca0d5f38a4052c98d5990a26fcbfd1d452", "preinstall_template": "", "preupgrade_template": "", "install_args": "domain=domain.tld&init_main_permission=visitors", "extra": {"upgrade_name": "0.202.4~ynh1"}}{"test_serie": "default", "test_type": "TEST_CHANGE_URL", "test_arg": "", "preinstall_template": "", "preupgrade_template": "", "install_args": "domain=domain.tld&init_main_permission=visitors", "extra": {}}Launching new LXC ynh-appci-bookworm-amd64-stable-test-4 ... Launching ynh-appci-bookworm-amd64-stable-test-4  > YunoHost versions yunohost: repo: stable version: 12.0.6 yunohost-admin: repo: stable version: 12.0.3.5 yunohost-portal: repo: stable version: 12.0.6 moulinette: repo: stable version: 12.0.3 ssowat: repo: stable version: 12.0.3  ============================================ Package linter ============================================  [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 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 app /tmp/package_check.cCrjjL/app_folder ... ✔ manifest ✔ scripts/_common.sh ✔ scripts/install ✔ scripts/remove ✔ scripts/upgrade ✔ scripts/backup ✔ scripts/restore ✔ General stuff, misc helper usage ✔ Configuration files ✔ Catalog infos  ☺ The app is long-term good quality in the catalog! ♥ =======  ☺ Not even a warning! Congratz and thank you for keeping this package up to date with good practices! This app qualifies for level 7! ♥  ☺ The app is maintained and long-term good quality, and therefore qualifies for level 8! ♥ Create witness files...  ============================================ Basic bash syntax checks ============================================  --- SUCCESS ---  ============================================ Preinstalling apt dependencies before creating the initial snapshot... ============================================  Get:2 http://deb.debian.org/debian bookworm InRelease [151 kB] Get:3 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB] Get:1 https://forge.yunohost.org/debian bookworm InRelease [15.4 kB] Get:4 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] Get:5 https://packages.sury.org/php bookworm InRelease [7551 B] Get:6 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB] Get:7 https://dl.yarnpkg.com/debian stable/main amd64 Packages [10.9 kB] Get:8 https://dl.yarnpkg.com/debian stable/main all Packages [10.9 kB] Get:9 https://forge.yunohost.org/debian bookworm/stable amd64 Packages [2164 B] Get:10 http://deb.debian.org/debian bookworm/main amd64 Packages [8789 kB] Get:11 http://deb.debian.org/debian bookworm/main Translation-en [6109 kB] Get:12 https://packages.sury.org/php bookworm/main amd64 Packages [244 kB] Get:13 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [2468 B] Get:14 http://deb.debian.org/debian bookworm-updates/main Translation-en [2928 B] Get:15 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [204 kB] Get:16 http://deb.debian.org/debian-security bookworm-security/main Translation-en [125 kB] Fetched 15.8 MB in 2s (6866 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: galera-4 gawk libcgi-fast-perl libcgi-pm-perl libconfig-inifiles-perl libdaxctl1 libdbd-mariadb-perl libfcgi-bin libfcgi-perl libfcgi0ldbl libhtml-template-perl liblzf1 liblzo2-2 libndctl6 libpmem1 libsigsegv2 libsnappy1v5 libterm-readkey-perl liburing2 mariadb-client mariadb-client-core mariadb-plugin-provider-bzip2 mariadb-plugin-provider-lz4 mariadb-plugin-provider-lzma mariadb-plugin-provider-lzo mariadb-plugin-provider-snappy mariadb-server-core pv redis-tools rsync socat Suggested packages: gawk-doc libipc-sharedcache-perl mariadb-test doc-base ruby-redis python3-braceexpand The following NEW packages will be installed: galera-4 gawk libcgi-fast-perl libcgi-pm-perl libconfig-inifiles-perl libdaxctl1 libdbd-mariadb-perl libfcgi-bin libfcgi-perl libfcgi0ldbl libhtml-template-perl liblzf1 liblzo2-2 libndctl6 libpmem1 libsigsegv2 libsnappy1v5 libterm-readkey-perl liburing2 mariadb-client mariadb-client-core mariadb-plugin-provider-bzip2 mariadb-plugin-provider-lz4 mariadb-plugin-provider-lzma mariadb-plugin-provider-lzo mariadb-plugin-provider-snappy mariadb-server mariadb-server-core pv redis-server redis-tools rsync socat 0 upgraded, 33 newly installed, 0 to remove and 49 not upgraded. Need to get 19.1 MB of archives. After this operation, 197 MB of additional disk space will be used. Get:1 http://deb.debian.org/debian bookworm/main amd64 libsigsegv2 amd64 2.14-1 [37.2 kB] Get:2 http://deb.debian.org/debian bookworm/main amd64 gawk amd64 1:5.2.1-2 [673 kB] Get:3 http://deb.debian.org/debian bookworm/main amd64 galera-4 amd64 26.4.20-0+deb12u1 [836 kB] Get:4 http://deb.debian.org/debian bookworm/main amd64 libconfig-inifiles-perl all 3.000003-2 [45.9 kB] Get:5 http://deb.debian.org/debian bookworm/main amd64 mariadb-client-core amd64 1:10.11.6-0+deb12u1 [869 kB] Get:6 http://deb.debian.org/debian bookworm/main amd64 mariadb-client amd64 1:10.11.6-0+deb12u1 [2931 kB] Get:7 http://deb.debian.org/debian bookworm/main amd64 libdaxctl1 amd64 76.1-1 [21.1 kB] Get:8 http://deb.debian.org/debian bookworm/main amd64 libndctl6 amd64 76.1-1 [61.7 kB] Get:9 http://deb.debian.org/debian bookworm/main amd64 libpmem1 amd64 1.12.1-2 [90.0 kB] Get:10 http://deb.debian.org/debian bookworm/main amd64 liburing2 amd64 2.3-3 [12.6 kB] Get:11 http://deb.debian.org/debian bookworm/main amd64 mariadb-server-core amd64 1:10.11.6-0+deb12u1 [7249 kB] Get:12 http://deb.debian.org/debian bookworm/main amd64 rsync amd64 3.2.7-1 [417 kB] Get:13 http://deb.debian.org/debian bookworm/main amd64 socat amd64 1.7.4.4-2 [375 kB] Get:14 http://deb.debian.org/debian bookworm/main amd64 mariadb-server amd64 1:10.11.6-0+deb12u1 [3655 kB] Get:15 http://deb.debian.org/debian bookworm/main amd64 liblzf1 amd64 3.6-3 [10.2 kB] Get:16 http://deb.debian.org/debian bookworm/main amd64 redis-tools amd64 5:7.0.15-1~deb12u1 [989 kB] Get:17 http://deb.debian.org/debian bookworm/main amd64 redis-server amd64 5:7.0.15-1~deb12u1 [72.4 kB] Get:18 http://deb.debian.org/debian bookworm/main amd64 libcgi-pm-perl all 4.55-1 [220 kB] Get:19 http://deb.debian.org/debian bookworm/main amd64 libfcgi0ldbl amd64 2.4.2-2 [26.1 kB] Get:20 http://deb.debian.org/debian bookworm/main amd64 libfcgi-perl amd64 0.82+ds-2 [25.2 kB] Get:21 http://deb.debian.org/debian bookworm/main amd64 libcgi-fast-perl all 1:2.15-1 [12.1 kB] Get:22 http://deb.debian.org/debian bookworm/main amd64 libdbd-mariadb-perl amd64 1.22-1+b1 [93.8 kB] Get:23 http://deb.debian.org/debian bookworm/main amd64 libfcgi-bin amd64 2.4.2-2 [12.9 kB] Get:24 http://deb.debian.org/debian bookworm/main amd64 libhtml-template-perl all 2.97-2 [66.5 kB] Get:25 http://deb.debian.org/debian bookworm/main amd64 liblzo2-2 amd64 2.10-2 [56.9 kB] Get:26 http://deb.debian.org/debian bookworm/main amd64 libsnappy1v5 amd64 1.1.9-3 [26.0 kB] Get:27 http://deb.debian.org/debian bookworm/main amd64 libterm-readkey-perl amd64 2.38-2+b1 [24.5 kB] Get:28 http://deb.debian.org/debian bookworm/main amd64 mariadb-plugin-provider-bzip2 amd64 1:10.11.6-0+deb12u1 [24.8 kB] Get:29 http://deb.debian.org/debian bookworm/main amd64 mariadb-plugin-provider-lz4 amd64 1:10.11.6-0+deb12u1 [24.7 kB] Get:30 http://deb.debian.org/debian bookworm/main amd64 mariadb-plugin-provider-lzma amd64 1:10.11.6-0+deb12u1 [24.8 kB] Get:31 http://deb.debian.org/debian bookworm/main amd64 mariadb-plugin-provider-lzo amd64 1:10.11.6-0+deb12u1 [24.7 kB] Get:32 http://deb.debian.org/debian bookworm/main amd64 mariadb-plugin-provider-snappy amd64 1:10.11.6-0+deb12u1 [24.8 kB] Get:33 http://deb.debian.org/debian bookworm/main amd64 pv amd64 1.6.20-1 [53.5 kB] Fetched 19.1 MB in 0s (50.7 MB/s) Extracting templates from packages: 90% Extracting templates from packages: 100% Preconfiguring packages ... Selecting previously unselected package libsigsegv2:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 40633 files and directories currently installed.) Preparing to unpack .../libsigsegv2_2.14-1_amd64.deb ... Unpacking libsigsegv2:amd64 (2.14-1) ... Setting up libsigsegv2:amd64 (2.14-1) ... Selecting previously unselected package gawk. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 40642 files and directories currently installed.) Preparing to unpack .../00-gawk_1%3a5.2.1-2_amd64.deb ... Unpacking gawk (1:5.2.1-2) ... Selecting previously unselected package galera-4. Preparing to unpack .../01-galera-4_26.4.20-0+deb12u1_amd64.deb ... Unpacking galera-4 (26.4.20-0+deb12u1) ... Selecting previously unselected package libconfig-inifiles-perl. Preparing to unpack .../02-libconfig-inifiles-perl_3.000003-2_all.deb ... Unpacking libconfig-inifiles-perl (3.000003-2) ... Selecting previously unselected package mariadb-client-core. Preparing to unpack .../03-mariadb-client-core_1%3a10.11.6-0+deb12u1_amd64.deb ... Unpacking mariadb-client-core (1:10.11.6-0+deb12u1) ... Selecting previously unselected package mariadb-client. Preparing to unpack .../04-mariadb-client_1%3a10.11.6-0+deb12u1_amd64.deb ... Unpacking mariadb-client (1:10.11.6-0+deb12u1) ... Selecting previously unselected package libdaxctl1:amd64. Preparing to unpack .../05-libdaxctl1_76.1-1_amd64.deb ... Unpacking libdaxctl1:amd64 (76.1-1) ... Selecting previously unselected package libndctl6:amd64. Preparing to unpack .../06-libndctl6_76.1-1_amd64.deb ... Unpacking libndctl6:amd64 (76.1-1) ... Selecting previously unselected package libpmem1:amd64. Preparing to unpack .../07-libpmem1_1.12.1-2_amd64.deb ... Unpacking libpmem1:amd64 (1.12.1-2) ... Selecting previously unselected package liburing2:amd64. Preparing to unpack .../08-liburing2_2.3-3_amd64.deb ... Unpacking liburing2:amd64 (2.3-3) ... Selecting previously unselected package mariadb-server-core. Preparing to unpack .../09-mariadb-server-core_1%3a10.11.6-0+deb12u1_amd64.deb ... Unpacking mariadb-server-core (1:10.11.6-0+deb12u1) ... Selecting previously unselected package rsync. Preparing to unpack .../10-rsync_3.2.7-1_amd64.deb ... Unpacking rsync (3.2.7-1) ... Selecting previously unselected package socat. Preparing to unpack .../11-socat_1.7.4.4-2_amd64.deb ... Unpacking socat (1.7.4.4-2) ... Selecting previously unselected package mariadb-server. Preparing to unpack .../12-mariadb-server_1%3a10.11.6-0+deb12u1_amd64.deb ... Unpacking mariadb-server (1:10.11.6-0+deb12u1) ... Selecting previously unselected package liblzf1:amd64. Preparing to unpack .../13-liblzf1_3.6-3_amd64.deb ... Unpacking liblzf1:amd64 (3.6-3) ... Selecting previously unselected package redis-tools. Preparing to unpack .../14-redis-tools_5%3a7.0.15-1~deb12u1_amd64.deb ... Unpacking redis-tools (5:7.0.15-1~deb12u1) ... Selecting previously unselected package redis-server. Preparing to unpack .../15-redis-server_5%3a7.0.15-1~deb12u1_amd64.deb ... Unpacking redis-server (5:7.0.15-1~deb12u1) ... Selecting previously unselected package libcgi-pm-perl. Preparing to unpack .../16-libcgi-pm-perl_4.55-1_all.deb ... Unpacking libcgi-pm-perl (4.55-1) ... Selecting previously unselected package libfcgi0ldbl:amd64. Preparing to unpack .../17-libfcgi0ldbl_2.4.2-2_amd64.deb ... Unpacking libfcgi0ldbl:amd64 (2.4.2-2) ... Selecting previously unselected package libfcgi-perl. Preparing to unpack .../18-libfcgi-perl_0.82+ds-2_amd64.deb ... Unpacking libfcgi-perl (0.82+ds-2) ... Selecting previously unselected package libcgi-fast-perl. Preparing to unpack .../19-libcgi-fast-perl_1%3a2.15-1_all.deb ... Unpacking libcgi-fast-perl (1:2.15-1) ... Selecting previously unselected package libdbd-mariadb-perl. Preparing to unpack .../20-libdbd-mariadb-perl_1.22-1+b1_amd64.deb ... Unpacking libdbd-mariadb-perl (1.22-1+b1) ... Selecting previously unselected package libfcgi-bin. Preparing to unpack .../21-libfcgi-bin_2.4.2-2_amd64.deb ... Unpacking libfcgi-bin (2.4.2-2) ... Selecting previously unselected package libhtml-template-perl. Preparing to unpack .../22-libhtml-template-perl_2.97-2_all.deb ... Unpacking libhtml-template-perl (2.97-2) ... Selecting previously unselected package liblzo2-2:amd64. Preparing to unpack .../23-liblzo2-2_2.10-2_amd64.deb ... Unpacking liblzo2-2:amd64 (2.10-2) ... Selecting previously unselected package libsnappy1v5:amd64. Preparing to unpack .../24-libsnappy1v5_1.1.9-3_amd64.deb ... Unpacking libsnappy1v5:amd64 (1.1.9-3) ... Selecting previously unselected package libterm-readkey-perl. Preparing to unpack .../25-libterm-readkey-perl_2.38-2+b1_amd64.deb ... Unpacking libterm-readkey-perl (2.38-2+b1) ... Selecting previously unselected package mariadb-plugin-provider-bzip2. Preparing to unpack .../26-mariadb-plugin-provider-bzip2_1%3a10.11.6-0+deb12u1_amd64.deb ... Unpacking mariadb-plugin-provider-bzip2 (1:10.11.6-0+deb12u1) ... Selecting previously unselected package mariadb-plugin-provider-lz4. Preparing to unpack .../27-mariadb-plugin-provider-lz4_1%3a10.11.6-0+deb12u1_amd64.deb ... Unpacking mariadb-plugin-provider-lz4 (1:10.11.6-0+deb12u1) ... Selecting previously unselected package mariadb-plugin-provider-lzma. Preparing to unpack .../28-mariadb-plugin-provider-lzma_1%3a10.11.6-0+deb12u1_amd64.deb ... Unpacking mariadb-plugin-provider-lzma (1:10.11.6-0+deb12u1) ... Selecting previously unselected package mariadb-plugin-provider-lzo. Preparing to unpack .../29-mariadb-plugin-provider-lzo_1%3a10.11.6-0+deb12u1_amd64.deb ... Unpacking mariadb-plugin-provider-lzo (1:10.11.6-0+deb12u1) ... Selecting previously unselected package mariadb-plugin-provider-snappy. Preparing to unpack .../30-mariadb-plugin-provider-snappy_1%3a10.11.6-0+deb12u1_amd64.deb ... Unpacking mariadb-plugin-provider-snappy (1:10.11.6-0+deb12u1) ... Selecting previously unselected package pv. Preparing to unpack .../31-pv_1.6.20-1_amd64.deb ... Unpacking pv (1.6.20-1) ... Setting up libconfig-inifiles-perl (3.000003-2) ... Setting up galera-4 (26.4.20-0+deb12u1) ... Setting up libfcgi0ldbl:amd64 (2.4.2-2) ... Setting up gawk (1:5.2.1-2) ... Setting up libcgi-pm-perl (4.55-1) ... Setting up libfcgi-bin (2.4.2-2) ... Setting up liblzo2-2:amd64 (2.10-2) ... Setting up libhtml-template-perl (2.97-2) ... Setting up libsnappy1v5:amd64 (1.1.9-3) ... Setting up mariadb-client-core (1:10.11.6-0+deb12u1) ... Setting up libdbd-mariadb-perl (1.22-1+b1) ... Setting up socat (1.7.4.4-2) ... Setting up liblzf1:amd64 (3.6-3) ... Setting up libdaxctl1:amd64 (76.1-1) ... Setting up pv (1.6.20-1) ... Setting up libndctl6:amd64 (76.1-1) ... Setting up libfcgi-perl (0.82+ds-2) ... Setting up libterm-readkey-perl (2.38-2+b1) ... Setting up liburing2:amd64 (2.3-3) ... Setting up libpmem1:amd64 (1.12.1-2) ... Setting up rsync (3.2.7-1) ... rsync.service is a disabled or a static unit, not starting it. Setting up mariadb-client (1:10.11.6-0+deb12u1) ... Setting up libcgi-fast-perl (1:2.15-1) ... Setting up redis-tools (5:7.0.15-1~deb12u1) ... Setting up mariadb-server-core (1:10.11.6-0+deb12u1) ... Setting up redis-server (5:7.0.15-1~deb12u1) ... Created symlink /etc/systemd/system/redis.service -> /lib/systemd/system/redis-server.service. Created symlink /etc/systemd/system/multi-user.target.wants/redis-server.service -> /lib/systemd/system/redis-server.service. Setting up mariadb-server (1:10.11.6-0+deb12u1) ... Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service -> /lib/systemd/system/mariadb.service. Setting up mariadb-plugin-provider-bzip2 (1:10.11.6-0+deb12u1) ... Setting up mariadb-plugin-provider-lzma (1:10.11.6-0+deb12u1) ... Setting up mariadb-plugin-provider-lzo (1:10.11.6-0+deb12u1) ... Setting up mariadb-plugin-provider-lz4 (1:10.11.6-0+deb12u1) ... Setting up mariadb-plugin-provider-snappy (1:10.11.6-0+deb12u1) ... Processing triggers for man-db (2.11.2-2) ... Not building database; man-db/auto-update is not 'true'. Processing triggers for libc-bin (2.36-9+deb12u8) ... Processing triggers for mariadb-server (1:10.11.6-0+deb12u1) ... Creating initial snapshot ynh-appci-bookworm-amd64-stable-test-4 ... {"yunohost": {"version": "12.0.6", "repo": "stable"}, "yunohost-admin": {"version": "12.0.3.5", "repo": "stable"}, "yunohost-portal": {"version": "12.0.6", "repo": "stable"}, "moulinette": {"version": "12.0.3", "repo": "stable"}, "ssowat": {"version": "12.0.3", "repo": "stable"}} Return code: 0 Working time: 0s (21:05:42 UTC) {"yunohost": {"version": "12.0.6", "repo": "stable"}, "yunohost-admin": {"version": "12.0.3.5", "repo": "stable"}, "yunohost-portal": {"version": "12.0.6", "repo": "stable"}, "moulinette": {"version": "12.0.3", "repo": "stable"}, "ssowat": {"version": "12.0.3", "repo": "stable"}} Return code: 0 Working time: 0s (21:05:46 UTC)  ============================================ [Test 1/6] Package linter ============================================  { "success": [ "AppCatalog.is_long_term_good_quality", "App.qualify_for_level_7", "App.qualify_for_level_8" ], "info": [], "warning": [], "error": [], "critical": [] } --- SUCCESS --- Working time for this test: 2 seconds (21:05:48 UTC)  ============================================ [Test 2/6] Installation on the root ============================================  Loading snapshot snap0 ... Running: yunohost app install --no-remove-on-failure --force /app_folder -a "&domain=sub.domain.tld&init_main_permission=visitors&admin=package_checker&is_public=1&path=/&" Running yunohost app install --no-remove-on-failure --force /app_folder -a "&domain=sub.domain.tld&init_main_permission=visitors&admin=package_checker&is_public=1&path=/&" 135 DEBUG acquiring lock... 148 DEBUG lock has been acquired 161 DEBUG loading python module yunohost.app took 0.013s 161 DEBUG processing action 'yunohost.app.install' 735 DEBUG Extracting… 756 DEBUG Done 808 DEBUG initializing root ldap interface 810 DEBUG Checking requirements for nocodb… 820 DEBUG Checking that required services are up and running... 2137 INFO Installing nocodb… 2160 INFO Provisioning sources... 2161 DEBUG Prefetching asset main: https://github.com/nocodb/nocodb/releases/download/0.258.0/Noco-linux-x64 ... 6208 INFO Provisioning system_user... 9970 DEBUG registered 'sha512_crypt' handler: 13549 INFO Provisioning install_dir... 13555 INFO Provisioning ports... 13576 INFO Provisioning permissions... 14842 DEBUG Permission 'nocodb.main' updated 14845 DEBUG To view the log of the operation 'Update URL related to permission 'nocodb'', use the command 'yunohost log show 20241113-210646-permission_url-nocodb' 15577 DEBUG Permission 'nocodb.main' created 15577 DEBUG To view the log of the operation 'Create permission 'nocodb'', use the command 'yunohost log show 20241113-210646-permission_create-nocodb' 15851 DEBUG Permission 'nocodb.main' updated 15852 DEBUG To view the log of the operation 'Update accesses for permission 'nocodb'', use the command 'yunohost log show 20241113-210648-user_permission_update-nocodb' 15863 DEBUG Nothing to update in LDAP 15863 DEBUG Permission 'nocodb.main' updated 15864 DEBUG To view the log of the operation 'Update URL related to permission 'nocodb'', use the command 'yunohost log show 20241113-210648-permission_url-nocodb' 16293 DEBUG The permission database has been resynchronized 16306 DEBUG SSO and portal configurations regenerated 16315 INFO Provisioning apt... 16326 DEBUG Executing command '['sh', '-c', '/bin/bash -x "./provision_or_update_apt" 7>&1']' 16335 DEBUG + source /usr/share/yunohost/helpers 16336 DEBUG ++++ dirname -- /usr/share/yunohost/helpers 16337 DEBUG +++ cd -- /usr/share/yunohost 16337 DEBUG +++ pwd 16337 DEBUG ++ SCRIPT_DIR=/usr/share/yunohost 16337 DEBUG ++ YNH_HELPERS_VERSION=2 16338 DEBUG +++ set +o 16338 DEBUG +++ grep xtrace 16340 DEBUG ++ readonly 'XTRACE_ENABLE=set -o xtrace' 16340 DEBUG ++ XTRACE_ENABLE='set -o xtrace' 16340 DEBUG ++ set +x 16372 DEBUG + ynh_abort_if_errors 16372 DEBUG + set -o errexit 16372 DEBUG + set -o nounset 16372 DEBUG + trap ynh_exit_properly EXIT 16373 DEBUG + ynh_install_app_dependencies mariadb-server redis-server 16373 DEBUG + local 'dependencies=mariadb-server redis-server' 16373 DEBUG ++ echo 'mariadb-server redis-server' 16373 DEBUG ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g' 16375 DEBUG + dependencies='mariadb-server, redis-server' 16375 DEBUG + local 'dependencies=mariadb-server, redis-server' 16375 DEBUG ++ ynh_read_manifest --manifest_key=version 16376 DEBUG ++ local legacy_args=mk 16376 DEBUG ++ args_array=(['m']='manifest=' ['k']='manifest_key=') 16376 DEBUG ++ local -A args_array 16376 DEBUG ++ local manifest 16376 DEBUG ++ local manifest_key 16376 DEBUG ++ ynh_handle_getopts_args --manifest_key=version 16376 DEBUG ++ set +o xtrace 16396 DEBUG ++ '[' '!' -e '' ']' 16396 DEBUG ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_89_kggdx/manifest.json ']' 16396 DEBUG ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_89_kggdx/manifest.toml ']' 16396 DEBUG ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_89_kggdx/manifest.toml 16396 DEBUG ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_89_kggdx/manifest.toml 16397 DEBUG ++ grep -q '\.json$' 16398 DEBUG ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_89_kggdx/manifest.toml 16398 DEBUG ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))' 16399 DEBUG ++ jq .version --raw-output 16440 DEBUG + local version=0.258.0~ynh1 16440 DEBUG + '[' -z 0.258.0~ynh1 ']' 16441 DEBUG + '[' 0.258.0~ynh1 == null ']' 16441 DEBUG + local dep_app=nocodb 16441 DEBUG + [[ mariadb-server, redis-server =~ [<=>] ]] 16441 DEBUG ++ echo mariadb-server, redis-server 16441 DEBUG ++ grep -oP '(?<=php)[0-9.]+(?=-|\>|)' 16442 DEBUG ++ sort -u 16443 DEBUG + local specific_php_version= 16444 DEBUG + [[ -n '' ]] 16444 DEBUG + grep --quiet php 16446 DEBUG ++ ynh_package_is_installed postgresql-15 16446 DEBUG ++ local legacy_args=p 16446 DEBUG ++ args_array=(['p']='package=') 16446 DEBUG ++ local -A args_array 16446 DEBUG ++ local package 16447 DEBUG ++ ynh_handle_getopts_args postgresql-15 16447 DEBUG ++ set +o xtrace 16455 DEBUG ++ echo '! Helper used in legacy mode !' 16455 DEBUG ++ set +x 16457 DEBUG ++ dpkg-query --show '--showformat=${Status}' postgresql-15 16458 DEBUG ++ grep --count 'ok installed' 16468 DEBUG ++ echo no 16469 DEBUG + local psql_installed=no 16469 DEBUG + [[ true == \t\r\u\e ]] 16469 DEBUG + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false 16469 DEBUG + cat 16470 DEBUG + ynh_package_install_from_equivs /tmp/nocodb-ynh-deps.control 16471 DEBUG + local controlfile=/tmp/nocodb-ynh-deps.control 16472 DEBUG ++ grep '^Package: ' /tmp/nocodb-ynh-deps.control 16472 DEBUG ++ cut '--delimiter= ' --fields=2 16474 DEBUG + local pkgname=nocodb-ynh-deps 16474 DEBUG ++ grep '^Version: ' /tmp/nocodb-ynh-deps.control 16475 DEBUG ++ cut '--delimiter= ' --fields=2 16476 DEBUG + local pkgversion=0.258.0~ynh1 16477 DEBUG + [[ -z nocodb-ynh-deps ]] 16477 DEBUG + [[ -z 0.258.0~ynh1 ]] 16477 DEBUG + ynh_package_update 16477 DEBUG + ynh_apt update 16477 DEBUG + ynh_wait_dpkg_free 16477 DEBUG + local try 16477 DEBUG + set +o xtrace 17266 DEBUG + return 0 17266 DEBUG + LC_ALL=C 17267 DEBUG + DEBIAN_FRONTEND=noninteractive 17267 DEBUG + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update 17387 DEBUG Hit:2 http://deb.debian.org/debian bookworm InRelease 17390 DEBUG Hit:3 https://dl.yarnpkg.com/debian stable InRelease 17398 DEBUG Get:4 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] 17412 DEBUG Hit:1 https://forge.yunohost.org/debian bookworm InRelease 17440 DEBUG Hit:5 http://deb.debian.org/debian-security bookworm-security InRelease 17441 DEBUG Hit:6 https://packages.sury.org/php bookworm InRelease 18014 DEBUG Fetched 55.4 kB in 1s (79.1 kB/s) 18732 DEBUG Reading package lists... 18745 DEBUG ++ mktemp --directory 18746 DEBUG + local TMPDIR=/tmp/tmp.4MBwWExRpt 18746 DEBUG + mkdir -p /tmp/tmp.4MBwWExRpt/nocodb-ynh-deps/DEBIAN/ 18748 DEBUG + chmod -R 755 /tmp/tmp.4MBwWExRpt/nocodb-ynh-deps 18749 DEBUG + ynh_wait_dpkg_free 18749 DEBUG + local try 18750 DEBUG + set +o xtrace 19539 DEBUG + return 0 19539 DEBUG + cp /tmp/nocodb-ynh-deps.control /tmp/tmp.4MBwWExRpt/nocodb-ynh-deps/DEBIAN/control 19541 DEBUG + LC_ALL=C 19541 DEBUG + dpkg-deb --build /tmp/tmp.4MBwWExRpt/nocodb-ynh-deps /tmp/tmp.4MBwWExRpt/nocodb-ynh-deps.deb 19713 DEBUG + LC_ALL=C 19713 DEBUG + dpkg --force-depends --install /tmp/tmp.4MBwWExRpt/nocodb-ynh-deps.deb 19713 DEBUG + tee /tmp/tmp.4MBwWExRpt/dpkg_log 20225 DEBUG Selecting previously unselected package nocodb-ynh-deps. 20290 DEBUG (Reading database ... 41488 files and directories currently installed.) 20291 DEBUG Preparing to unpack .../nocodb-ynh-deps.deb ... 21036 DEBUG Unpacking nocodb-ynh-deps (0.258.0~ynh1) ... 23215 DEBUG Setting up nocodb-ynh-deps (0.258.0~ynh1) ... 24916 DEBUG + ynh_package_install --fix-broken 24917 DEBUG + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken 24917 DEBUG + ynh_wait_dpkg_free 24917 DEBUG + local try 24917 DEBUG + set +o xtrace 25691 DEBUG + return 0 25691 DEBUG + LC_ALL=C 25691 DEBUG + DEBIAN_FRONTEND=noninteractive 25691 DEBUG + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken 25815 DEBUG Reading package lists... 25976 DEBUG Building dependency tree... 25977 DEBUG Reading state information... 26116 DEBUG 0 upgraded, 0 newly installed, 0 to remove and 49 not upgraded. 26117 DEBUG + [[ -n /tmp/tmp.4MBwWExRpt ]] 26118 DEBUG + rm --recursive --force /tmp/tmp.4MBwWExRpt 26119 DEBUG + ynh_package_is_installed nocodb-ynh-deps 26120 DEBUG + local legacy_args=p 26120 DEBUG + args_array=(['p']='package=') 26120 DEBUG + local -A args_array 26120 DEBUG + local package 26120 DEBUG + ynh_handle_getopts_args nocodb-ynh-deps 26120 DEBUG + set +o xtrace 26128 DEBUG + echo '! Helper used in legacy mode !' 26128 DEBUG + set +x 26131 DEBUG + dpkg-query --show '--showformat=${Status}' nocodb-ynh-deps 26131 DEBUG + grep --count 'ok installed' 26140 DEBUG + rm /tmp/nocodb-ynh-deps.control 26142 DEBUG ++ ynh_package_is_installed postgresql-15 26142 DEBUG ++ local legacy_args=p 26142 DEBUG ++ args_array=(['p']='package=') 26142 DEBUG ++ local -A args_array 26142 DEBUG ++ local package 26143 DEBUG ++ ynh_handle_getopts_args postgresql-15 26143 DEBUG ++ set +o xtrace 26150 DEBUG ++ echo '! Helper used in legacy mode !' 26150 DEBUG ++ set +x 26152 DEBUG ++ dpkg-query --show '--showformat=${Status}' postgresql-15 26153 DEBUG ++ grep --count 'ok installed' 26162 DEBUG ++ echo no 26162 DEBUG + local psql_installed2=no 26162 DEBUG + [[ no != \n\o ]] 26163 DEBUG + ynh_exit_properly 26163 DEBUG + local exit_code=0 26163 DEBUG + [[ provision_or_update_apt =~ ^install$|^upgrade$|^restore$ ]] 26163 DEBUG + '[' 0 -eq 0 ']' 26163 DEBUG + exit 0 26264 INFO Provisioning database... 26291 DEBUG Executing command '['sh', '-c', '/bin/bash -x "./provision_database" 7>&1']' 26294 DEBUG + source /usr/share/yunohost/helpers 26295 DEBUG ++++ dirname -- /usr/share/yunohost/helpers 26296 DEBUG +++ cd -- /usr/share/yunohost 26296 DEBUG +++ pwd 26297 DEBUG ++ SCRIPT_DIR=/usr/share/yunohost 26297 DEBUG ++ YNH_HELPERS_VERSION=2 26297 DEBUG +++ set +o 26297 DEBUG +++ grep xtrace 26299 DEBUG ++ readonly 'XTRACE_ENABLE=set -o xtrace' 26299 DEBUG ++ XTRACE_ENABLE='set -o xtrace' 26299 DEBUG ++ set +x 26324 DEBUG + ynh_abort_if_errors 26324 DEBUG + set -o errexit 26325 DEBUG + set -o nounset 26325 DEBUG + trap ynh_exit_properly EXIT 26325 DEBUG + ynh_mysql_create_db nocodb nocodb c5743362a8e0dae0bcd20713 26325 DEBUG + local db=nocodb 26325 DEBUG + local 'sql=CREATE DATABASE nocodb;' 26325 DEBUG + [[ 3 -gt 1 ]] 26325 DEBUG + sql+=' GRANT ALL PRIVILEGES ON nocodb.* TO '\''nocodb'\''@'\''localhost'\''' 26325 DEBUG + [[ -n c5743362a8e0dae0bcd20713 ]] 26326 DEBUG + sql+=' IDENTIFIED BY '\''c5743362a8e0dae0bcd20713'\''' 26326 DEBUG + sql+=' WITH GRANT OPTION;' 26326 DEBUG + ynh_mysql_execute_as_root '--sql=CREATE DATABASE nocodb; GRANT ALL PRIVILEGES ON nocodb.* TO '\''nocodb'\''@'\''localhost'\'' IDENTIFIED BY '\''c5743362a8e0dae0bcd20713'\'' WITH GRANT OPTION;' 26326 DEBUG + local legacy_args=sd 26326 DEBUG + args_array=(['s']='sql=' ['d']='database=') 26326 DEBUG + local -A args_array 26326 DEBUG + local sql 26326 DEBUG + local database 26327 DEBUG + ynh_handle_getopts_args '--sql=CREATE DATABASE nocodb; GRANT ALL PRIVILEGES ON nocodb.* TO '\''nocodb'\''@'\''localhost'\'' IDENTIFIED BY '\''c5743362a8e0dae0bcd20713'\'' WITH GRANT OPTION;' 26327 DEBUG + set +o xtrace 26343 DEBUG + database= 26343 DEBUG + '[' -n '' ']' 26343 DEBUG + mysql -B '' 27405 DEBUG + ynh_exit_properly 27406 DEBUG + local exit_code=0 27406 DEBUG + [[ provision_database =~ ^install$|^upgrade$|^restore$ ]] 27406 DEBUG + '[' 0 -eq 0 ']' 27406 DEBUG + exit 0 27510 DEBUG Executing command '['sh', '-c', '/bin/bash -x "./install" 7>&1']' 27515 DEBUG + source _common.sh 27515 DEBUG + source /usr/share/yunohost/helpers 27516 DEBUG ++++ dirname -- /usr/share/yunohost/helpers 27517 DEBUG +++ cd -- /usr/share/yunohost 27517 DEBUG +++ pwd 27518 DEBUG ++ SCRIPT_DIR=/usr/share/yunohost 27518 DEBUG ++ YNH_HELPERS_VERSION=2 27518 DEBUG +++ set +o 27518 DEBUG +++ grep xtrace 27520 DEBUG ++ readonly 'XTRACE_ENABLE=set -o xtrace' 27521 DEBUG ++ XTRACE_ENABLE='set -o xtrace' 27521 DEBUG ++ set +x 27545 DEBUG ++ ynh_string_random --length=20 27546 DEBUG ++ local legacy_args=lf 27546 DEBUG ++ args_array=(['l']='length=' ['f']='filter=') 27546 DEBUG ++ local -A args_array 27546 DEBUG ++ local length 27546 DEBUG ++ local filter 27546 DEBUG ++ ynh_handle_getopts_args --length=20 27546 DEBUG ++ set +o xtrace 27565 DEBUG ++ length=20 27565 DEBUG ++ filter=A-Za-z0-9 27565 DEBUG ++ dd if=/dev/urandom bs=1 count=1000 27565 DEBUG ++ tr --complement --delete A-Za-z0-9 27566 DEBUG ++ sed --quiet 's/\(.\{20\}\).*/\1/p' 27571 DEBUG + jwt_secret=826cVJXy8xIUPc8OTLU6 27571 DEBUG + ynh_app_setting_set --app=nocodb --key=jwt_secret --value=826cVJXy8xIUPc8OTLU6 27571 DEBUG + local _globalapp=nocodb 27572 DEBUG + local legacy_args=akv 27572 DEBUG + args_array=(['a']='app=' ['k']='key=' ['v']='value=') 27572 DEBUG + local -A args_array 27572 DEBUG + local app 27572 DEBUG + local key 27572 DEBUG + local value 27572 DEBUG + ynh_handle_getopts_args --app=nocodb --key=jwt_secret --value=826cVJXy8xIUPc8OTLU6 27572 DEBUG + set +o xtrace 27639 DEBUG + app=nocodb 27639 DEBUG + ynh_app_setting set nocodb jwt_secret 826cVJXy8xIUPc8OTLU6 27639 DEBUG + set +o xtrace 27686 DEBUG + ynh_script_progression '--message=Setting up source files...' --weight=1 27687 DEBUG + set +o xtrace 27745 DEBUG + set +o xtrace 27773 DEBUG + echo '! Helper used in legacy mode !' 27774 DEBUG + set +x 27775 DEBUG + echo '[++++................] > Setting up source files...' 27776 DEBUG + set -o xtrace 27776 DEBUG + ynh_setup_source --dest_dir=/var/www/nocodb 27776 INFO [++++................] > Setting up source files... 27776 DEBUG + local legacy_args=dsk 27777 DEBUG + args_array=(['d']='dest_dir=' ['s']='source_id=' ['k']='keep=' ['r']='full_replace=') 27777 DEBUG + local -A args_array 27777 DEBUG + local dest_dir 27777 DEBUG + local source_id 27777 DEBUG + local keep 27777 DEBUG + local full_replace 27778 DEBUG + ynh_handle_getopts_args --dest_dir=/var/www/nocodb 27778 DEBUG + set +o xtrace 27809 DEBUG + keep= 27809 DEBUG + full_replace=0 27810 DEBUG + test -e /var/cache/yunohost/app_tmp_work_dirs/app_dqh20424/app_folder/manifest.toml 27810 DEBUG + cat /var/cache/yunohost/app_tmp_work_dirs/app_dqh20424/app_folder/manifest.toml 27810 DEBUG + toml_to_json 27810 DEBUG + python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))' 27810 DEBUG + jq -e .resources.sources 27848 DEBUG + source_id=main 27849 DEBUG ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_dqh20424/app_folder/manifest.toml 27849 DEBUG ++ toml_to_json 27849 DEBUG ++ python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))' 27849 DEBUG ++ jq '.resources.sources["main"]' 27894 DEBUG + local 'sources_json={ 27894 DEBUG "amd64": { 27895 DEBUG "url": "https://github.com/nocodb/nocodb/releases/download/0.258.0/Noco-linux-x64", 27895 DEBUG "sha256": "115f0810d1fcf28337fa942d0a11d0e103397c7e31ca302c5faab90e003bdb5f" 27895 DEBUG }, 27895 DEBUG "arm64": { 27895 DEBUG "url": "https://github.com/nocodb/nocodb/releases/download/0.258.0/Noco-linux-arm64", 27895 DEBUG "sha256": "ac26a54441e9cef65e950c0869c8209ede45edf6a5c4a1a72a50d40f3ff5da77" 27895 DEBUG }, 27896 DEBUG "rename": "nocodb", 27896 DEBUG "extract": false, 27896 DEBUG "autoupdate": { 27896 DEBUG "strategy": "latest_github_release", 27896 DEBUG "asset": { 27896 DEBUG "amd64": "Noco-linux-x64", 27896 DEBUG "arm64": "Noco-linux-arm64" 27896 DEBUG } 27897 DEBUG } 27897 DEBUG }' 27897 DEBUG + jq -re .url 27929 DEBUG null 27929 DEBUG + local arch_prefix=.amd64 27930 DEBUG ++ jq -r .amd64.url 27931 DEBUG ++ sed 's/^null$//' 27967 DEBUG + local src_url=https://github.com/nocodb/nocodb/releases/download/0.258.0/Noco-linux-x64 27968 DEBUG ++ jq -r .amd64.sha256 27968 DEBUG ++ sed 's/^null$//' 28004 DEBUG + local src_sum=115f0810d1fcf28337fa942d0a11d0e103397c7e31ca302c5faab90e003bdb5f 28004 DEBUG + local src_sumprg=sha256sum 28004 DEBUG ++ jq -r .format 28005 DEBUG ++ sed 's/^null$//' 28040 DEBUG + local src_format= 28041 DEBUG ++ jq -r .in_subdir 28041 DEBUG ++ sed 's/^null$//' 28079 DEBUG + local src_in_subdir= 28080 DEBUG ++ jq -r .extract 28080 DEBUG ++ sed 's/^null$//' 28117 DEBUG + local src_extract=false 28118 DEBUG ++ jq -r .platform 28118 DEBUG ++ sed 's/^null$//' 28153 DEBUG + local src_platform= 28154 DEBUG ++ jq -r .rename 28154 DEBUG ++ sed 's/^null$//' 28196 DEBUG + local src_rename=nocodb 28196 DEBUG + [[ -n https://github.com/nocodb/nocodb/releases/download/0.258.0/Noco-linux-x64 ]] 28196 DEBUG + [[ -n 115f0810d1fcf28337fa942d0a11d0e103397c7e31ca302c5faab90e003bdb5f ]] 28196 DEBUG + [[ -z '' ]] 28196 DEBUG + [[ https://github.com/nocodb/nocodb/releases/download/0.258.0/Noco-linux-x64 =~ ^.*\.zip$ ]] 28197 DEBUG + [[ https://github.com/nocodb/nocodb/releases/download/0.258.0/Noco-linux-x64 =~ ^.*/zipball/.*$ ]] 28197 DEBUG + [[ https://github.com/nocodb/nocodb/releases/download/0.258.0/Noco-linux-x64 =~ ^.*\.tar\.gz$ ]] 28197 DEBUG + [[ https://github.com/nocodb/nocodb/releases/download/0.258.0/Noco-linux-x64 =~ ^.*\.tgz$ ]] 28197 DEBUG + [[ https://github.com/nocodb/nocodb/releases/download/0.258.0/Noco-linux-x64 =~ ^.*/tar\.gz/.*$ ]] 28197 DEBUG + [[ https://github.com/nocodb/nocodb/releases/download/0.258.0/Noco-linux-x64 =~ ^.*/tarball/.*$ ]] 28197 DEBUG + [[ https://github.com/nocodb/nocodb/releases/download/0.258.0/Noco-linux-x64 =~ ^.*\.tar\.xz$ ]] 28197 DEBUG + [[ https://github.com/nocodb/nocodb/releases/download/0.258.0/Noco-linux-x64 =~ ^.*\.tar\.bz2$ ]] 28198 DEBUG + [[ -z false ]] 28198 DEBUG + src_sumprg=sha256sum 28198 DEBUG + src_in_subdir=true 28198 DEBUG + src_format=tar.gz 28198 DEBUG ++ echo tar.gz 28198 DEBUG ++ tr '[:upper:]' '[:lower:]' 28199 DEBUG + src_format=tar.gz 28199 DEBUG + src_extract=false 28199 DEBUG + [[ false != \t\r\u\e ]] 28199 DEBUG + [[ false != \f\a\l\s\e ]] 28199 DEBUG + local local_src=/opt/yunohost-apps-src/nocodb/main 28199 DEBUG ++ dirname /var/cache/yunohost/download/nocodb/main 28201 DEBUG + mkdir -p /var/cache/yunohost/download/nocodb 28203 DEBUG + src_filename=/var/cache/yunohost/download/nocodb/main 28203 DEBUG + '[' tar.gz = docker ']' 28203 DEBUG + test -e /opt/yunohost-apps-src/nocodb/main 28203 DEBUG + '[' -n https://github.com/nocodb/nocodb/releases/download/0.258.0/Noco-linux-x64 ']' 28203 DEBUG + '[' -e /var/cache/yunohost/download/nocodb/main ']' 28203 DEBUG + echo '115f0810d1fcf28337fa942d0a11d0e103397c7e31ca302c5faab90e003bdb5f /var/cache/yunohost/download/nocodb/main' 28204 DEBUG + sha256sum --check --status 29158 DEBUG + '[' '!' -e /var/cache/yunohost/download/nocodb/main ']' 29159 DEBUG + echo '115f0810d1fcf28337fa942d0a11d0e103397c7e31ca302c5faab90e003bdb5f /var/cache/yunohost/download/nocodb/main' 29159 DEBUG + sha256sum --check --status 30043 DEBUG + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/ 30045 DEBUG + '[' -n '' ']' 30045 DEBUG + '[' 0 -eq 1 ']' 30045 DEBUG + mkdir --parents /var/www/nocodb 30047 DEBUG + '[' -n /var/www/nocodb ']' 30048 DEBUG + '[' /var/www/nocodb == /var/www/nocodb ']' 30048 DEBUG + _ynh_apply_default_permissions /var/www/nocodb 30048 DEBUG + local target=/var/www/nocodb 30048 DEBUG + chmod o-rwx /var/www/nocodb 30049 DEBUG + chmod g-w /var/www/nocodb 30050 DEBUG + chown -R root:root /var/www/nocodb 30052 DEBUG + ynh_system_user_exists nocodb 30052 DEBUG + local legacy_args=u 30052 DEBUG + args_array=(['u']='username=') 30052 DEBUG + local -A args_array 30053 DEBUG + local username 30053 DEBUG + ynh_handle_getopts_args nocodb 30053 DEBUG + set +o xtrace 30061 DEBUG + echo '! Helper used in legacy mode !' 30061 DEBUG + set +x 30063 DEBUG + getent passwd nocodb 30067 DEBUG + chown nocodb:nocodb /var/www/nocodb 30072 DEBUG + grep -qE '^(/etc/cron|/etc/php|/etc/nginx/conf.d|/etc/fail2ban|/etc/systemd/system)' 30074 DEBUG + '[' -n '' ']' 30074 DEBUG + [[ false == \f\a\l\s\e ]] 30074 DEBUG + [[ -z nocodb ]] 30074 DEBUG + mv /var/cache/yunohost/download/nocodb/main /var/www/nocodb/nocodb 30076 DEBUG + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_dqh20424/app_folder/sources/patches/ ']' 30076 DEBUG + test -e /var/cache/yunohost/app_tmp_work_dirs/app_dqh20424/app_folder/sources/extra_files/main 30076 DEBUG + '[' -n '' ']' 30076 DEBUG + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/ 30077 DEBUG + chmod -R o-rwx /var/www/nocodb 30079 DEBUG + chown -R nocodb:nocodb /var/www/nocodb 30081 DEBUG + chmod +x /var/www/nocodb/nocodb 30082 DEBUG + ynh_script_progression '--message=Adding a configuration file...' --weight=1 30083 DEBUG + set +o xtrace 30145 DEBUG + set +o xtrace 30159 DEBUG + echo '! Helper used in legacy mode !' 30159 DEBUG + set +x 30161 DEBUG + echo '[####++++............] > Adding a configuration file...' 30161 INFO [####++++............] > Adding a configuration file... 30161 DEBUG + set -o xtrace 30161 DEBUG + ynh_add_config --template=env --destination=/var/www/nocodb/.env 30161 DEBUG + local legacy_args=tdj 30162 DEBUG + args_array=(['t']='template=' ['d']='destination=' ['j']='jinja') 30162 DEBUG + local -A args_array 30162 DEBUG + local template 30162 DEBUG + local destination 30162 DEBUG + local jinja 30162 DEBUG + ynh_handle_getopts_args --template=env --destination=/var/www/nocodb/.env 30162 DEBUG + set +o xtrace 30213 DEBUG + local template_path 30213 DEBUG + jinja=0 30213 DEBUG + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_dqh20424/app_folder/conf/env ']' 30213 DEBUG + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_dqh20424/app_folder/conf/env 30214 DEBUG + ynh_backup_if_checksum_is_different --file=/var/www/nocodb/.env 30214 DEBUG + local legacy_args=f 30214 DEBUG + args_array=(['f']='file=') 30214 DEBUG + local -A args_array 30214 DEBUG + local file 30214 DEBUG + ynh_handle_getopts_args --file=/var/www/nocodb/.env 30214 DEBUG + set +o xtrace 30224 DEBUG + local checksum_setting_name=checksum__var_www_nocodb_.env 30224 DEBUG ++ ynh_app_setting_get --app=nocodb --key=checksum__var_www_nocodb_.env 30224 DEBUG ++ local _globalapp=nocodb 30224 DEBUG ++ local legacy_args=ak 30225 DEBUG ++ args_array=(['a']='app=' ['k']='key=') 30225 DEBUG ++ local -A args_array 30225 DEBUG ++ local app 30225 DEBUG ++ local key 30225 DEBUG ++ ynh_handle_getopts_args --app=nocodb --key=checksum__var_www_nocodb_.env 30225 DEBUG ++ set +o xtrace 30257 DEBUG ++ app=nocodb 30258 DEBUG ++ ynh_app_setting get nocodb checksum__var_www_nocodb_.env 30258 DEBUG ++ set +o xtrace 30304 DEBUG + local checksum_value= 30304 DEBUG + backup_file_checksum= 30304 DEBUG + '[' -n '' ']' 30304 DEBUG + touch /var/www/nocodb/.env 30305 DEBUG + chmod 640 /var/www/nocodb/.env 30307 DEBUG + _ynh_apply_default_permissions /var/www/nocodb/.env 30307 DEBUG + local target=/var/www/nocodb/.env 30307 DEBUG + chmod o-rwx /var/www/nocodb/.env 30308 DEBUG + chmod g-w /var/www/nocodb/.env 30310 DEBUG + chown -R root:root /var/www/nocodb/.env 30311 DEBUG + ynh_system_user_exists nocodb 30311 DEBUG + local legacy_args=u 30312 DEBUG + args_array=(['u']='username=') 30312 DEBUG + local -A args_array 30312 DEBUG + local username 30312 DEBUG + ynh_handle_getopts_args nocodb 30312 DEBUG + set +o xtrace 30320 DEBUG + echo '! Helper used in legacy mode !' 30320 DEBUG + set +x 30322 DEBUG + getent passwd nocodb 30323 DEBUG + chown nocodb:nocodb /var/www/nocodb/.env 30325 DEBUG + grep -qE '^(/etc/cron|/etc/php|/etc/nginx/conf.d|/etc/fail2ban|/etc/systemd/system)' 30327 DEBUG + [[ 0 == 1 ]] 30327 DEBUG + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_dqh20424/app_folder/conf/env /var/www/nocodb/.env 30329 DEBUG + ynh_replace_vars --file=/var/www/nocodb/.env 30329 DEBUG + local legacy_args=f 30329 DEBUG + args_array=(['f']='file=') 30329 DEBUG + local -A args_array 30329 DEBUG + local file 30329 DEBUG + ynh_handle_getopts_args --file=/var/www/nocodb/.env 30330 DEBUG + set +o xtrace 30339 DEBUG + test -n / 30339 DEBUG + local path_url_slash_less= 30339 DEBUG + ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/var/www/nocodb/.env 30339 DEBUG + local legacy_args=mrf 30339 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=') 30340 DEBUG + local -A args_array 30340 DEBUG + local match_string 30340 DEBUG + local replace_string 30340 DEBUG + local target_file 30340 DEBUG + ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/ --target_file=/var/www/nocodb/.env 30340 DEBUG + set +o xtrace 30409 DEBUG + set +o xtrace 30409 DEBUG + sed --in-place $'s\001__PATH__/\001/\001g' /var/www/nocodb/.env 30411 DEBUG + ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/var/www/nocodb/.env 30411 DEBUG + local legacy_args=mrf 30411 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=') 30411 DEBUG + local -A args_array 30412 DEBUG + local match_string 30412 DEBUG + local replace_string 30412 DEBUG + local target_file 30412 DEBUG + ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/ --target_file=/var/www/nocodb/.env 30412 DEBUG + set +o xtrace 30482 DEBUG + set +o xtrace 30482 DEBUG + sed --in-place $'s\001__PATH__\001/\001g' /var/www/nocodb/.env 30485 DEBUG + test -n nocodb 30485 DEBUG + ynh_replace_string --match_string=__NAME__ --replace_string=nocodb --target_file=/var/www/nocodb/.env 30485 DEBUG + local legacy_args=mrf 30485 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=') 30486 DEBUG + local -A args_array 30486 DEBUG + local match_string 30486 DEBUG + local replace_string 30486 DEBUG + local target_file 30486 DEBUG + ynh_handle_getopts_args --match_string=__NAME__ --replace_string=nocodb --target_file=/var/www/nocodb/.env 30486 DEBUG + set +o xtrace 30556 DEBUG + set +o xtrace 30557 DEBUG + sed --in-place $'s\001__NAME__\001nocodb\001g' /var/www/nocodb/.env 30559 DEBUG + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=nocodb --target_file=/var/www/nocodb/.env 30559 DEBUG + local legacy_args=mrf 30559 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=') 30559 DEBUG + local -A args_array 30559 DEBUG + local match_string 30559 DEBUG + local replace_string 30560 DEBUG + local target_file 30560 DEBUG + ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=nocodb --target_file=/var/www/nocodb/.env 30560 DEBUG + set +o xtrace 30628 DEBUG + set +o xtrace 30628 DEBUG + sed --in-place $'s\001__NAMETOCHANGE__\001nocodb\001g' /var/www/nocodb/.env 30630 DEBUG + ynh_replace_string --match_string=__USER__ --replace_string=nocodb --target_file=/var/www/nocodb/.env 30631 DEBUG + local legacy_args=mrf 30631 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=') 30631 DEBUG + local -A args_array 30631 DEBUG + local match_string 30631 DEBUG + local replace_string 30631 DEBUG + local target_file 30631 DEBUG + ynh_handle_getopts_args --match_string=__USER__ --replace_string=nocodb --target_file=/var/www/nocodb/.env 30632 DEBUG + set +o xtrace 30702 DEBUG + set +o xtrace 30702 DEBUG + sed --in-place $'s\001__USER__\001nocodb\001g' /var/www/nocodb/.env 30704 DEBUG + test -n '' 30705 DEBUG + dpkg --compare-versions 2.0 lt 2 30707 DEBUG + test -n '' 30708 DEBUG ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /var/www/nocodb/.env 30708 DEBUG ++ sort --unique 30708 DEBUG ++ sed 's@__\([^.]*\)__@\L\1@g' 30710 DEBUG + uniques_vars=('app' 'db_name' 'db_pwd' 'db_user' 'domain' 'jwt_secret' 'mail_pwd' 'port') 30710 DEBUG + local uniques_vars 30711 DEBUG + set +o xtrace 30729 DEBUG + ynh_store_file_checksum --file=/var/www/nocodb/.env 30729 DEBUG + local legacy_args=f 30729 DEBUG + args_array=(['f']='file=' ['u']='update_only') 30729 DEBUG + local -A args_array 30729 DEBUG + local file 30730 DEBUG + local update_only 30730 DEBUG + update_only=0 30730 DEBUG + ynh_handle_getopts_args --file=/var/www/nocodb/.env 30730 DEBUG + set +o xtrace 30749 DEBUG + local checksum_setting_name=checksum__var_www_nocodb_.env 30750 DEBUG + '[' 0 -eq 1 ']' 30750 DEBUG ++ md5sum /var/www/nocodb/.env 30751 DEBUG ++ cut '--delimiter= ' --fields=1 30753 DEBUG + ynh_app_setting_set --app=nocodb --key=checksum__var_www_nocodb_.env --value=02531339a1e566e7adcd85d4b0ca06ba 30753 DEBUG + local _globalapp=nocodb 30754 DEBUG + local legacy_args=akv 30754 DEBUG + args_array=(['a']='app=' ['k']='key=' ['v']='value=') 30754 DEBUG + local -A args_array 30754 DEBUG + local app 30754 DEBUG + local key 30755 DEBUG + local value 30755 DEBUG + ynh_handle_getopts_args --app=nocodb --key=checksum__var_www_nocodb_.env --value=02531339a1e566e7adcd85d4b0ca06ba 30755 DEBUG + set +o xtrace 30825 DEBUG + app=nocodb 30825 DEBUG + ynh_app_setting set nocodb checksum__var_www_nocodb_.env 02531339a1e566e7adcd85d4b0ca06ba 30826 DEBUG + set +o xtrace 30871 DEBUG + '[' 1 -eq 1 ']' 30872 DEBUG ++ echo /var/www/nocodb/.env 30872 DEBUG ++ base64 -w0 30874 DEBUG + local file_path_base64=L3Zhci93d3cvbm9jb2RiLy5lbnYK 30874 DEBUG + mkdir -p /var/cache/yunohost/appconfbackup/ 30875 DEBUG + cat /var/www/nocodb/.env 30877 DEBUG + '[' -n '' ']' 30877 DEBUG + unset backup_file_checksum 30877 DEBUG + chmod 400 /var/www/nocodb/.env 30878 DEBUG + chown nocodb:nocodb /var/www/nocodb/.env 30880 DEBUG + ynh_script_progression '--message=Adding system configurations related to nocodb...' --weight=1 30881 DEBUG + set +o xtrace 30946 DEBUG + set +o xtrace 30960 DEBUG + echo '! Helper used in legacy mode !' 30960 DEBUG + set +x 30962 INFO [########++++........] > Adding system configurations related to nocodb... 30962 DEBUG + echo '[########++++........] > Adding system configurations related to nocodb...' 30963 DEBUG + set -o xtrace 30963 DEBUG + ynh_add_nginx_config 30963 DEBUG + local finalnginxconf=/etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 30963 DEBUG + ynh_add_config --template=nginx.conf --destination=/etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 30963 DEBUG + local legacy_args=tdj 30963 DEBUG + args_array=(['t']='template=' ['d']='destination=' ['j']='jinja') 30963 DEBUG + local -A args_array 30964 DEBUG + local template 30964 DEBUG + local destination 30964 DEBUG + local jinja 30964 DEBUG + ynh_handle_getopts_args --template=nginx.conf --destination=/etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 30964 DEBUG + set +o xtrace 31009 DEBUG + local template_path 31009 DEBUG + jinja=0 31009 DEBUG + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_dqh20424/app_folder/conf/nginx.conf ']' 31009 DEBUG + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_dqh20424/app_folder/conf/nginx.conf 31010 DEBUG + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31010 DEBUG + local legacy_args=f 31010 DEBUG + args_array=(['f']='file=') 31010 DEBUG + local -A args_array 31010 DEBUG + local file 31010 DEBUG + ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31010 DEBUG + set +o xtrace 31020 DEBUG + local checksum_setting_name=checksum__etc_nginx_conf.d_sub.domain.tld.d_nocodb.conf 31021 DEBUG ++ ynh_app_setting_get --app=nocodb --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_nocodb.conf 31021 DEBUG ++ local _globalapp=nocodb 31021 DEBUG ++ local legacy_args=ak 31021 DEBUG ++ args_array=(['a']='app=' ['k']='key=') 31022 DEBUG ++ local -A args_array 31022 DEBUG ++ local app 31022 DEBUG ++ local key 31022 DEBUG ++ ynh_handle_getopts_args --app=nocodb --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_nocodb.conf 31022 DEBUG ++ set +o xtrace 31056 DEBUG ++ app=nocodb 31056 DEBUG ++ ynh_app_setting get nocodb checksum__etc_nginx_conf.d_sub.domain.tld.d_nocodb.conf 31056 DEBUG ++ set +o xtrace 31101 DEBUG + local checksum_value= 31101 DEBUG + backup_file_checksum= 31101 DEBUG + '[' -n '' ']' 31101 DEBUG + touch /etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31102 DEBUG + chmod 640 /etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31104 DEBUG + _ynh_apply_default_permissions /etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31104 DEBUG + local target=/etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31104 DEBUG + chmod o-rwx /etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31105 DEBUG + chmod g-w /etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31107 DEBUG + chown -R root:root /etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31109 DEBUG + ynh_system_user_exists nocodb 31109 DEBUG + local legacy_args=u 31109 DEBUG + args_array=(['u']='username=') 31109 DEBUG + local -A args_array 31110 DEBUG + local username 31110 DEBUG + ynh_handle_getopts_args nocodb 31110 DEBUG + set +o xtrace 31118 DEBUG + echo '! Helper used in legacy mode !' 31118 DEBUG + set +x 31120 DEBUG + getent passwd nocodb 31122 DEBUG + chown nocodb:nocodb /etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31124 DEBUG + grep -qE '^(/etc/cron|/etc/php|/etc/nginx/conf.d|/etc/fail2ban|/etc/systemd/system)' 31126 DEBUG + chmod 400 /etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31127 DEBUG + chown root:root /etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31129 DEBUG + [[ 0 == 1 ]] 31129 DEBUG + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_dqh20424/app_folder/conf/nginx.conf /etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31131 DEBUG + ynh_replace_vars --file=/etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31131 DEBUG + local legacy_args=f 31131 DEBUG + args_array=(['f']='file=') 31131 DEBUG + local -A args_array 31131 DEBUG + local file 31132 DEBUG + ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31132 DEBUG + set +o xtrace 31141 DEBUG + test -n / 31141 DEBUG + local path_url_slash_less= 31141 DEBUG + ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31141 DEBUG + local legacy_args=mrf 31142 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=') 31142 DEBUG + local -A args_array 31142 DEBUG + local match_string 31142 DEBUG + local replace_string 31142 DEBUG + local target_file 31142 DEBUG + ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31142 DEBUG + set +o xtrace 31213 DEBUG + set +o xtrace 31213 DEBUG + sed --in-place $'s\001__PATH__/\001/\001g' /etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31215 DEBUG + ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31215 DEBUG + local legacy_args=mrf 31216 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=') 31216 DEBUG + local -A args_array 31216 DEBUG + local match_string 31216 DEBUG + local replace_string 31216 DEBUG + local target_file 31216 DEBUG + ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31217 DEBUG + set +o xtrace 31285 DEBUG + set +o xtrace 31285 DEBUG + sed --in-place $'s\001__PATH__\001/\001g' /etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31287 DEBUG + test -n nocodb 31287 DEBUG + ynh_replace_string --match_string=__NAME__ --replace_string=nocodb --target_file=/etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31288 DEBUG + local legacy_args=mrf 31288 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=') 31288 DEBUG + local -A args_array 31288 DEBUG + local match_string 31288 DEBUG + local replace_string 31288 DEBUG + local target_file 31288 DEBUG + ynh_handle_getopts_args --match_string=__NAME__ --replace_string=nocodb --target_file=/etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31288 DEBUG + set +o xtrace 31355 DEBUG + set +o xtrace 31355 DEBUG + sed --in-place $'s\001__NAME__\001nocodb\001g' /etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31357 DEBUG + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=nocodb --target_file=/etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31357 DEBUG + local legacy_args=mrf 31358 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=') 31358 DEBUG + local -A args_array 31358 DEBUG + local match_string 31358 DEBUG + local replace_string 31358 DEBUG + local target_file 31358 DEBUG + ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=nocodb --target_file=/etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31358 DEBUG + set +o xtrace 31428 DEBUG + set +o xtrace 31429 DEBUG + sed --in-place $'s\001__NAMETOCHANGE__\001nocodb\001g' /etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31431 DEBUG + ynh_replace_string --match_string=__USER__ --replace_string=nocodb --target_file=/etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31431 DEBUG + local legacy_args=mrf 31431 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=') 31431 DEBUG + local -A args_array 31432 DEBUG + local match_string 31432 DEBUG + local replace_string 31432 DEBUG + local target_file 31433 DEBUG + ynh_handle_getopts_args --match_string=__USER__ --replace_string=nocodb --target_file=/etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31433 DEBUG + set +o xtrace 31507 DEBUG + set +o xtrace 31507 DEBUG + sed --in-place $'s\001__USER__\001nocodb\001g' /etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31509 DEBUG + test -n '' 31509 DEBUG + dpkg --compare-versions 2.0 lt 2 31511 DEBUG + test -n '' 31512 DEBUG ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31512 DEBUG ++ sort --unique 31512 DEBUG ++ sed 's@__\([^.]*\)__@\L\1@g' 31514 DEBUG + uniques_vars=('port') 31515 DEBUG + local uniques_vars 31515 DEBUG + set +o xtrace 31517 DEBUG + ynh_store_file_checksum --file=/etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31517 DEBUG + local legacy_args=f 31517 DEBUG + args_array=(['f']='file=' ['u']='update_only') 31517 DEBUG + local -A args_array 31517 DEBUG + local file 31518 DEBUG + local update_only 31518 DEBUG + update_only=0 31518 DEBUG + ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31518 DEBUG + set +o xtrace 31537 DEBUG + local checksum_setting_name=checksum__etc_nginx_conf.d_sub.domain.tld.d_nocodb.conf 31537 DEBUG + '[' 0 -eq 1 ']' 31538 DEBUG ++ md5sum /etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31538 DEBUG ++ cut '--delimiter= ' --fields=1 31540 DEBUG + ynh_app_setting_set --app=nocodb --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_nocodb.conf --value=29225eba57535e88d9b747f02b6abe24 31540 DEBUG + local _globalapp=nocodb 31540 DEBUG + local legacy_args=akv 31540 DEBUG + args_array=(['a']='app=' ['k']='key=' ['v']='value=') 31540 DEBUG + local -A args_array 31541 DEBUG + local app 31541 DEBUG + local key 31541 DEBUG + local value 31541 DEBUG + ynh_handle_getopts_args --app=nocodb --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_nocodb.conf --value=29225eba57535e88d9b747f02b6abe24 31541 DEBUG + set +o xtrace 31611 DEBUG + app=nocodb 31611 DEBUG + ynh_app_setting set nocodb checksum__etc_nginx_conf.d_sub.domain.tld.d_nocodb.conf 29225eba57535e88d9b747f02b6abe24 31611 DEBUG + set +o xtrace 31659 DEBUG + '[' 1 -eq 1 ']' 31660 DEBUG ++ echo /etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31661 DEBUG ++ base64 -w0 31662 DEBUG + local file_path_base64=L2V0Yy9uZ2lueC9jb25mLmQvc3ViLmRvbWFpbi50bGQuZC9ub2NvZGIuY29uZgo= 31663 DEBUG + mkdir -p /var/cache/yunohost/appconfbackup/ 31664 DEBUG + cat /etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31666 DEBUG + '[' -n '' ']' 31666 DEBUG + unset backup_file_checksum 31667 DEBUG + '[' / '!=' / ']' 31667 DEBUG + ynh_replace_string '--match_string=^#root_path_only' --replace_string= --target_file=/etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31667 DEBUG + local legacy_args=mrf 31667 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=') 31667 DEBUG + local -A args_array 31667 DEBUG + local match_string 31668 DEBUG + local replace_string 31668 DEBUG + local target_file 31668 DEBUG + ynh_handle_getopts_args '--match_string=^#root_path_only' --replace_string= --target_file=/etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31668 DEBUG + set +o xtrace 31740 DEBUG + set +o xtrace 31740 DEBUG + sed --in-place 's^#root_path_onlyg' /etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31742 DEBUG + sed -i '/fastcgi_param\s*REMOTE_USER/d' /etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31744 DEBUG + ynh_store_file_checksum --file=/etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31744 DEBUG + local legacy_args=f 31744 DEBUG + args_array=(['f']='file=' ['u']='update_only') 31744 DEBUG + local -A args_array 31745 DEBUG + local file 31745 DEBUG + local update_only 31745 DEBUG + update_only=0 31745 DEBUG + ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31745 DEBUG + set +o xtrace 31764 DEBUG + local checksum_setting_name=checksum__etc_nginx_conf.d_sub.domain.tld.d_nocodb.conf 31764 DEBUG + '[' 0 -eq 1 ']' 31765 DEBUG ++ md5sum /etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31765 DEBUG ++ cut '--delimiter= ' --fields=1 31767 DEBUG + ynh_app_setting_set --app=nocodb --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_nocodb.conf --value=29225eba57535e88d9b747f02b6abe24 31767 DEBUG + local _globalapp=nocodb 31767 DEBUG + local legacy_args=akv 31768 DEBUG + args_array=(['a']='app=' ['k']='key=' ['v']='value=') 31768 DEBUG + local -A args_array 31768 DEBUG + local app 31768 DEBUG + local key 31768 DEBUG + local value 31768 DEBUG + ynh_handle_getopts_args --app=nocodb --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_nocodb.conf --value=29225eba57535e88d9b747f02b6abe24 31769 DEBUG + set +o xtrace 31843 DEBUG + app=nocodb 31844 DEBUG + ynh_app_setting set nocodb checksum__etc_nginx_conf.d_sub.domain.tld.d_nocodb.conf 29225eba57535e88d9b747f02b6abe24 31844 DEBUG + set +o xtrace 31892 DEBUG + '[' 1 -eq 1 ']' 31893 DEBUG ++ echo /etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31894 DEBUG ++ base64 -w0 31895 DEBUG + local file_path_base64=L2V0Yy9uZ2lueC9jb25mLmQvc3ViLmRvbWFpbi50bGQuZC9ub2NvZGIuY29uZgo= 31895 DEBUG + mkdir -p /var/cache/yunohost/appconfbackup/ 31897 DEBUG + cat /etc/nginx/conf.d/sub.domain.tld.d/nocodb.conf 31899 DEBUG + '[' -n '' ']' 31899 DEBUG + unset backup_file_checksum 31899 DEBUG + ynh_systemd_action --service_name=nginx --action=reload 31899 DEBUG + local legacy_args=nalpte 31899 DEBUG + args_array=(['n']='service_name=' ['a']='action=' ['l']='line_match=' ['p']='log_path=' ['t']='timeout=' ['e']='length=') 31900 DEBUG + local -A args_array 31900 DEBUG + local service_name 31900 DEBUG + local action 31900 DEBUG + local line_match 31900 DEBUG + local length 31900 DEBUG + local log_path 31900 DEBUG + local timeout 31901 DEBUG + ynh_handle_getopts_args --service_name=nginx --action=reload 31901 DEBUG + set +o xtrace 31995 DEBUG + service_name=nginx 31995 DEBUG + action=reload 31996 DEBUG + line_match= 31996 DEBUG + length=20 31996 DEBUG + log_path=/var/log/nginx/nginx.log 31996 DEBUG + timeout=300 31996 DEBUG + '[' reload == stop ']' 31997 DEBUG + [[ -n '' ]] 31997 DEBUG + '[' reload == reload ']' 31997 DEBUG + action=reload-or-restart 31997 DEBUG ++ date --utc --rfc-3339=seconds 31997 DEBUG ++ cut -d+ -f1 31998 DEBUG + local 'time_start=2024-11-13 21:07:04 UTC' 31998 DEBUG + systemctl reload-or-restart nginx 32113 DEBUG + [[ -n '' ]] 32113 DEBUG + ynh_add_systemd_config 32114 DEBUG + local legacy_args=stv 32114 DEBUG + args_array=(['s']='service=' ['t']='template=') 32114 DEBUG + local -A args_array 32114 DEBUG + local service 32114 DEBUG + local template 32114 DEBUG + ynh_handle_getopts_args 32114 DEBUG + set +o xtrace 32114 DEBUG + service=nocodb 32115 DEBUG + template=systemd.service 32115 DEBUG + ynh_add_config --template=systemd.service --destination=/etc/systemd/system/nocodb.service 32115 DEBUG + local legacy_args=tdj 32115 DEBUG + args_array=(['t']='template=' ['d']='destination=' ['j']='jinja') 32115 DEBUG + local -A args_array 32115 DEBUG + local template 32115 DEBUG + local destination 32115 DEBUG + local jinja 32116 DEBUG + ynh_handle_getopts_args --template=systemd.service --destination=/etc/systemd/system/nocodb.service 32116 DEBUG + set +o xtrace 32164 DEBUG + local template_path 32165 DEBUG + jinja=0 32165 DEBUG + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_dqh20424/app_folder/conf/systemd.service ']' 32165 DEBUG + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_dqh20424/app_folder/conf/systemd.service 32165 DEBUG + ynh_backup_if_checksum_is_different --file=/etc/systemd/system/nocodb.service 32166 DEBUG + local legacy_args=f 32166 DEBUG + args_array=(['f']='file=') 32166 DEBUG + local -A args_array 32166 DEBUG + local file 32166 DEBUG + ynh_handle_getopts_args --file=/etc/systemd/system/nocodb.service 32167 DEBUG + set +o xtrace 32177 DEBUG + local checksum_setting_name=checksum__etc_systemd_system_nocodb.service 32177 DEBUG ++ ynh_app_setting_get --app=nocodb --key=checksum__etc_systemd_system_nocodb.service 32177 DEBUG ++ local _globalapp=nocodb 32178 DEBUG ++ local legacy_args=ak 32178 DEBUG ++ args_array=(['a']='app=' ['k']='key=') 32178 DEBUG ++ local -A args_array 32178 DEBUG ++ local app 32178 DEBUG ++ local key 32179 DEBUG ++ ynh_handle_getopts_args --app=nocodb --key=checksum__etc_systemd_system_nocodb.service 32179 DEBUG ++ set +o xtrace 32210 DEBUG ++ app=nocodb 32210 DEBUG ++ ynh_app_setting get nocodb checksum__etc_systemd_system_nocodb.service 32210 DEBUG ++ set +o xtrace 32257 DEBUG + local checksum_value= 32257 DEBUG + backup_file_checksum= 32257 DEBUG + '[' -n '' ']' 32257 DEBUG + touch /etc/systemd/system/nocodb.service 32259 DEBUG + chmod 640 /etc/systemd/system/nocodb.service 32260 DEBUG + _ynh_apply_default_permissions /etc/systemd/system/nocodb.service 32260 DEBUG + local target=/etc/systemd/system/nocodb.service 32260 DEBUG + chmod o-rwx /etc/systemd/system/nocodb.service 32261 DEBUG + chmod g-w /etc/systemd/system/nocodb.service 32263 DEBUG + chown -R root:root /etc/systemd/system/nocodb.service 32264 DEBUG + ynh_system_user_exists nocodb 32265 DEBUG + local legacy_args=u 32265 DEBUG + args_array=(['u']='username=') 32265 DEBUG + local -A args_array 32265 DEBUG + local username 32265 DEBUG + ynh_handle_getopts_args nocodb 32265 DEBUG + set +o xtrace 32273 DEBUG + echo '! Helper used in legacy mode !' 32273 DEBUG + set +x 32279 DEBUG + getent passwd nocodb 32279 DEBUG + chown nocodb:nocodb /etc/systemd/system/nocodb.service 32280 DEBUG + grep -qE '^(/etc/cron|/etc/php|/etc/nginx/conf.d|/etc/fail2ban|/etc/systemd/system)' 32283 DEBUG + chmod 400 /etc/systemd/system/nocodb.service 32285 DEBUG + chown root:root /etc/systemd/system/nocodb.service 32286 DEBUG + [[ 0 == 1 ]] 32287 DEBUG + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_dqh20424/app_folder/conf/systemd.service /etc/systemd/system/nocodb.service 32289 DEBUG + ynh_replace_vars --file=/etc/systemd/system/nocodb.service 32289 DEBUG + local legacy_args=f 32289 DEBUG + args_array=(['f']='file=') 32289 DEBUG + local -A args_array 32289 DEBUG + local file 32290 DEBUG + ynh_handle_getopts_args --file=/etc/systemd/system/nocodb.service 32290 DEBUG + set +o xtrace 32299 DEBUG + test -n / 32300 DEBUG + local path_url_slash_less= 32300 DEBUG + ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/systemd/system/nocodb.service 32300 DEBUG + local legacy_args=mrf 32300 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=') 32300 DEBUG + local -A args_array 32300 DEBUG + local match_string 32301 DEBUG + local replace_string 32301 DEBUG + local target_file 32301 DEBUG + ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/ --target_file=/etc/systemd/system/nocodb.service 32301 DEBUG + set +o xtrace 32368 DEBUG + set +o xtrace 32368 DEBUG + sed --in-place $'s\001__PATH__/\001/\001g' /etc/systemd/system/nocodb.service 32370 DEBUG + ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/systemd/system/nocodb.service 32370 DEBUG + local legacy_args=mrf 32370 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=') 32371 DEBUG + local -A args_array 32371 DEBUG + local match_string 32371 DEBUG + local replace_string 32371 DEBUG + local target_file 32371 DEBUG + ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/ --target_file=/etc/systemd/system/nocodb.service 32371 DEBUG + set +o xtrace 32440 DEBUG + set +o xtrace 32440 DEBUG + sed --in-place $'s\001__PATH__\001/\001g' /etc/systemd/system/nocodb.service 32442 DEBUG + test -n nocodb 32443 DEBUG + ynh_replace_string --match_string=__NAME__ --replace_string=nocodb --target_file=/etc/systemd/system/nocodb.service 32443 DEBUG + local legacy_args=mrf 32443 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=') 32443 DEBUG + local -A args_array 32443 DEBUG + local match_string 32443 DEBUG + local replace_string 32443 DEBUG + local target_file 32443 DEBUG + ynh_handle_getopts_args --match_string=__NAME__ --replace_string=nocodb --target_file=/etc/systemd/system/nocodb.service 32444 DEBUG + set +o xtrace 32512 DEBUG + set +o xtrace 32512 DEBUG + sed --in-place $'s\001__NAME__\001nocodb\001g' /etc/systemd/system/nocodb.service 32514 DEBUG + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=nocodb --target_file=/etc/systemd/system/nocodb.service 32514 DEBUG + local legacy_args=mrf 32515 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=') 32515 DEBUG + local -A args_array 32515 DEBUG + local match_string 32515 DEBUG + local replace_string 32515 DEBUG + local target_file 32515 DEBUG + ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=nocodb --target_file=/etc/systemd/system/nocodb.service 32515 DEBUG + set +o xtrace 32581 DEBUG + set +o xtrace 32581 DEBUG + sed --in-place $'s\001__NAMETOCHANGE__\001nocodb\001g' /etc/systemd/system/nocodb.service 32583 DEBUG + ynh_replace_string --match_string=__USER__ --replace_string=nocodb --target_file=/etc/systemd/system/nocodb.service 32583 DEBUG + local legacy_args=mrf 32583 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=') 32584 DEBUG + local -A args_array 32584 DEBUG + local match_string 32584 DEBUG + local replace_string 32584 DEBUG + local target_file 32584 DEBUG + ynh_handle_getopts_args --match_string=__USER__ --replace_string=nocodb --target_file=/etc/systemd/system/nocodb.service 32584 DEBUG + set +o xtrace 32649 DEBUG + set +o xtrace 32649 DEBUG + sed --in-place $'s\001__USER__\001nocodb\001g' /etc/systemd/system/nocodb.service 32651 DEBUG + test -n '' 32651 DEBUG + dpkg --compare-versions 2.0 lt 2 32653 DEBUG + test -n '' 32654 DEBUG ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/systemd/system/nocodb.service 32654 DEBUG ++ sort --unique 32654 DEBUG ++ sed 's@__\([^.]*\)__@\L\1@g' 32657 DEBUG + uniques_vars=('app' 'install_dir') 32657 DEBUG + local uniques_vars 32657 DEBUG + set +o xtrace 32661 DEBUG + ynh_store_file_checksum --file=/etc/systemd/system/nocodb.service 32661 DEBUG + local legacy_args=f 32662 DEBUG + args_array=(['f']='file=' ['u']='update_only') 32662 DEBUG + local -A args_array 32662 DEBUG + local file 32662 DEBUG + local update_only 32662 DEBUG + update_only=0 32662 DEBUG + ynh_handle_getopts_args --file=/etc/systemd/system/nocodb.service 32663 DEBUG + set +o xtrace 32679 DEBUG + local checksum_setting_name=checksum__etc_systemd_system_nocodb.service 32679 DEBUG + '[' 0 -eq 1 ']' 32680 DEBUG ++ md5sum /etc/systemd/system/nocodb.service 32680 DEBUG ++ cut '--delimiter= ' --fields=1 32682 DEBUG + ynh_app_setting_set --app=nocodb --key=checksum__etc_systemd_system_nocodb.service --value=9ff2adc6dcb39263f7b3e9e549058a76 32682 DEBUG + local _globalapp=nocodb 32682 DEBUG + local legacy_args=akv 32682 DEBUG + args_array=(['a']='app=' ['k']='key=' ['v']='value=') 32683 DEBUG + local -A args_array 32683 DEBUG + local app 32683 DEBUG + local key 32683 DEBUG + local value 32683 DEBUG + ynh_handle_getopts_args --app=nocodb --key=checksum__etc_systemd_system_nocodb.service --value=9ff2adc6dcb39263f7b3e9e549058a76 32683 DEBUG + set +o xtrace 32747 DEBUG + app=nocodb 32747 DEBUG + ynh_app_setting set nocodb checksum__etc_systemd_system_nocodb.service 9ff2adc6dcb39263f7b3e9e549058a76 32747 DEBUG + set +o xtrace 32794 DEBUG + '[' 1 -eq 1 ']' 32795 DEBUG ++ echo /etc/systemd/system/nocodb.service 32796 DEBUG ++ base64 -w0 32797 DEBUG + local file_path_base64=L2V0Yy9zeXN0ZW1kL3N5c3RlbS9ub2NvZGIuc2VydmljZQo= 32797 DEBUG + mkdir -p /var/cache/yunohost/appconfbackup/ 32799 DEBUG + cat /etc/systemd/system/nocodb.service 32801 DEBUG + '[' -n '' ']' 32801 DEBUG + unset backup_file_checksum 32801 DEBUG + systemctl enable nocodb --quiet 33159 DEBUG + systemctl daemon-reload 33562 DEBUG + yunohost service add nocodb '--description=Turns any database into a smart-spreadsheet' --log=/var/log/nocodb/nocodb.log 33813 DEBUG SUCCESS The service 'nocodb' was added 33838 DEBUG + ynh_use_logrotate 33839 DEBUG + all_args=() 33839 DEBUG + local all_args 33839 DEBUG ++ seq 0 -1 33841 DEBUG + set -- 33841 DEBUG + local legacy_args=lu 33841 DEBUG + args_array=(['l']='logfile=' ['u']='specific_user=') 33841 DEBUG + local -A args_array 33842 DEBUG + local logfile 33842 DEBUG + local specific_user 33842 DEBUG + ynh_handle_getopts_args 33842 DEBUG + set +o xtrace 33842 DEBUG + logfile= 33842 DEBUG + specific_user= 33842 DEBUG + set -o noglob 33843 DEBUG + [[ -z '' ]] 33843 DEBUG + logfile='/var/log/nocodb/*.log' 33843 DEBUG + set +o noglob 33843 DEBUG + for stuff in $logfile 33843 DEBUG ++ dirname '/var/log/nocodb/*.log' 33843 DEBUG + mkdir --parents /var/log/nocodb 33845 DEBUG + local su_directive= 33845 DEBUG + [[ -n '' ]] 33845 DEBUG ++ mktemp 33847 DEBUG + local tempconf=/tmp/tmp.JhdUyNtnog 33847 DEBUG + cat 33849 DEBUG + [[ true == \t\r\u\e ]] 33849 DEBUG + cat /tmp/tmp.JhdUyNtnog 33850 DEBUG + FIRST_CALL_TO_LOGROTATE=false 33851 DEBUG + chmod 644 /etc/logrotate.d/nocodb 33852 DEBUG + mkdir -p /var/log/nocodb 33853 DEBUG + chmod 750 /var/log/nocodb 33855 DEBUG + ynh_script_progression '--message=Starting a systemd service...' --weight=1 33855 DEBUG + set +o xtrace 33913 DEBUG + set +o xtrace 33925 DEBUG + echo '! Helper used in legacy mode !' 33926 DEBUG + set +x 33927 DEBUG + echo '[############++++....] > Starting a systemd service...' 33928 INFO [############++++....] > Starting a systemd service... 33928 DEBUG + set -o xtrace 33928 DEBUG + ynh_systemd_action --service_name=nocodb --action=start --log_path=systemd '--line_match=application successfully started' 33928 DEBUG + local legacy_args=nalpte 33928 DEBUG + args_array=(['n']='service_name=' ['a']='action=' ['l']='line_match=' ['p']='log_path=' ['t']='timeout=' ['e']='length=') 33928 DEBUG + local -A args_array 33929 DEBUG + local service_name 33929 DEBUG + local action 33929 DEBUG + local line_match 33929 DEBUG + local length 33929 DEBUG + local log_path 33929 DEBUG + local timeout 33929 DEBUG + ynh_handle_getopts_args --service_name=nocodb --action=start --log_path=systemd '--line_match=application successfully started' 33929 DEBUG + set +o xtrace 34083 DEBUG + service_name=nocodb 34083 DEBUG + action=start 34083 DEBUG + line_match='application successfully started' 34083 DEBUG + length=20 34083 DEBUG + log_path=systemd 34084 DEBUG + timeout=300 34084 DEBUG + '[' start == stop ']' 34084 DEBUG + [[ -n application successfully started ]] 34084 DEBUG ++ mktemp 34085 DEBUG + local templog=/tmp/tmp.k0d7Ug8aJ6 34085 DEBUG + '[' systemd == systemd ']' 34085 DEBUG + local pid_tail=4300 34085 DEBUG + journalctl --unit=nocodb --follow --since=-0 --quiet 34085 DEBUG + '[' start == reload ']' 34086 DEBUG ++ date --utc --rfc-3339=seconds 34086 DEBUG ++ cut -d+ -f1 34088 DEBUG + local 'time_start=2024-11-13 21:07:06 UTC' 34088 DEBUG + systemctl start nocodb 34135 DEBUG + [[ -n application successfully started ]] 34135 DEBUG + set +x 63497 WARNING (this may take some time) 334906 DEBUG + '[' 300 -ge 3 ']' 334906 DEBUG + echo '' 334907 DEBUG + '[' 300 -eq 300 ']' 334907 DEBUG + ynh_print_warn '--message=The service nocodb didn'\''t fully executed the action start before the timeout.' 334907 DEBUG + local legacy_args=m 334907 DEBUG + args_array=(['m']='message=') 334907 DEBUG 334907 DEBUG + local -A args_array 334907 DEBUG + local message 334907 DEBUG + ynh_handle_getopts_args '--message=The service nocodb didn'\''t fully executed the action start before the timeout.' 334908 DEBUG + set +o xtrace 334918 DEBUG + ynh_print_log 'The service nocodb didn'\''t fully executed the action start before the timeout.' 334918 DEBUG + echo -e 'The service nocodb didn'\''t fully executed the action start before the timeout.' 334918 WARNING The service nocodb didn't fully executed the action start before the timeout. 334919 DEBUG + ynh_print_warn '--message=Please find here an extract of the end of the log of the service nocodb:' 334919 DEBUG + local legacy_args=m 334919 DEBUG + args_array=(['m']='message=') 334919 DEBUG + local -A args_array 334919 DEBUG + local message 334919 DEBUG + ynh_handle_getopts_args '--message=Please find here an extract of the end of the log of the service nocodb:' 334919 DEBUG + set +o xtrace 334930 DEBUG + ynh_print_log 'Please find here an extract of the end of the log of the service nocodb:' 334931 DEBUG + echo -e 'Please find here an extract of the end of the log of the service nocodb:' 334931 DEBUG + ynh_exec_warn journalctl --quiet --no-hostname --no-pager --lines=20 --unit=nocodb 334931 DEBUG + [[ 6 -eq 1 ]] 334931 WARNING Please find here an extract of the end of the log of the service nocodb: 334931 DEBUG ++ journalctl --quiet --no-hostname --no-pager --lines=20 --unit=nocodb 334938 DEBUG + ynh_print_warn '--message=Nov 13 21:11:51 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_barcode_v2 in 0.417308169s 334938 DEBUG Nov 13 21:11:52 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_formula_v2 in 0.581153465s 334939 DEBUG Nov 13 21:11:52 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_lookup_v2 in 0.394533775s 334939 DEBUG Nov 13 21:11:53 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_qrcode_v2 in 0.384098916s 334939 DEBUG Nov 13 21:11:53 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_relations_v2 in 0.366341299s 334939 DEBUG Nov 13 21:11:55 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_rollup_v2 in 1.959635878s 334939 DEBUG Nov 13 21:11:56 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_select_options_v2 in 0.416602881s 334939 DEBUG Nov 13 21:11:56 nocodb[4306]: nc_050_tenant_isolation: Migration completed 334939 DEBUG Nov 13 21:11:57 nocodb[4306]: nc_054_id_length: Replaced long base IDs in 0.001233658s 334939 DEBUG Nov 13 21:11:57 nocodb[4306]: nc_054_id_length: Altered nc_api_tokens.base_id to 20 characters in 0.492142535s 334940 DEBUG Nov 13 21:11:58 nocodb[4306]: nc_054_id_length: Altered nc_audit_v2.base_id to 20 characters in 0.565158644s 334940 DEBUG Nov 13 21:11:58 nocodb[4306]: nc_054_id_length: Altered nc_base_users_v2.base_id to 20 characters in 0.571892005s 334940 DEBUG Nov 13 21:12:01 nocodb[4306]: nc_054_id_length: Altered nc_columns_v2.base_id to 20 characters in 2.969356739s 334940 DEBUG Nov 13 21:12:02 nocodb[4306]: nc_054_id_length: Altered nc_comment_reactions.base_id to 20 characters in 0.616967309s 334940 DEBUG Nov 13 21:12:02 nocodb[4306]: nc_054_id_length: Altered nc_comments.base_id to 20 characters in 0.616332619s 334940 DEBUG Nov 13 21:12:03 nocodb[4306]: nc_054_id_length: Altered nc_disabled_models_for_role_v2.base_id to 20 characters in 0.551103274s 334940 DEBUG Nov 13 21:12:05 nocodb[4306]: nc_054_id_length: Altered nc_filter_exp_v2.base_id to 20 characters in 1.9905070120000001s 334940 DEBUG Nov 13 21:12:06 nocodb[4306]: nc_054_id_length: Altered nc_form_view_columns_v2.base_id to 20 characters in 0.621717432s 334941 DEBUG Nov 13 21:12:06 nocodb[4306]: nc_054_id_length: Altered nc_form_view_v2.base_id to 20 characters in 0.688324961s 334941 DEBUG Nov 13 21:12:07 nocodb[4306]: nc_054_id_length: Altered nc_gallery_view_columns_v2.base_id to 20 characters in 0.838493355s' 334941 DEBUG + local legacy_args=m 334941 DEBUG + args_array=(['m']='message=') 334941 DEBUG + local -A args_array 334941 DEBUG + local message 334941 DEBUG + ynh_handle_getopts_args '--message=Nov 13 21:11:51 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_barcode_v2 in 0.417308169s 334942 DEBUG Nov 13 21:11:52 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_formula_v2 in 0.581153465s 334942 DEBUG Nov 13 21:11:52 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_lookup_v2 in 0.394533775s 334942 DEBUG Nov 13 21:11:53 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_qrcode_v2 in 0.384098916s 334942 DEBUG Nov 13 21:11:53 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_relations_v2 in 0.366341299s 334942 DEBUG Nov 13 21:11:55 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_rollup_v2 in 1.959635878s 334942 DEBUG Nov 13 21:11:56 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_select_options_v2 in 0.416602881s 334942 DEBUG Nov 13 21:11:56 nocodb[4306]: nc_050_tenant_isolation: Migration completed 334942 DEBUG Nov 13 21:11:57 nocodb[4306]: nc_054_id_length: Replaced long base IDs in 0.001233658s 334943 DEBUG Nov 13 21:11:57 nocodb[4306]: nc_054_id_length: Altered nc_api_tokens.base_id to 20 characters in 0.492142535s 334943 DEBUG Nov 13 21:11:58 nocodb[4306]: nc_054_id_length: Altered nc_audit_v2.base_id to 20 characters in 0.565158644s 334943 DEBUG Nov 13 21:11:58 nocodb[4306]: nc_054_id_length: Altered nc_base_users_v2.base_id to 20 characters in 0.571892005s 334943 DEBUG Nov 13 21:12:01 nocodb[4306]: nc_054_id_length: Altered nc_columns_v2.base_id to 20 characters in 2.969356739s 334943 DEBUG Nov 13 21:12:02 nocodb[4306]: nc_054_id_length: Altered nc_comment_reactions.base_id to 20 characters in 0.616967309s 334943 DEBUG Nov 13 21:12:02 nocodb[4306]: nc_054_id_length: Altered nc_comments.base_id to 20 characters in 0.616332619s 334943 DEBUG Nov 13 21:12:03 nocodb[4306]: nc_054_id_length: Altered nc_disabled_models_for_role_v2.base_id to 20 characters in 0.551103274s 334943 DEBUG Nov 13 21:12:05 nocodb[4306]: nc_054_id_length: Altered nc_filter_exp_v2.base_id to 20 characters in 1.9905070120000001s 334944 DEBUG Nov 13 21:12:06 nocodb[4306]: nc_054_id_length: Altered nc_form_view_columns_v2.base_id to 20 characters in 0.621717432s 334944 DEBUG Nov 13 21:12:06 nocodb[4306]: nc_054_id_length: Altered nc_form_view_v2.base_id to 20 characters in 0.688324961s 334944 DEBUG Nov 13 21:12:07 nocodb[4306]: nc_054_id_length: Altered nc_gallery_view_columns_v2.base_id to 20 characters in 0.838493355s' 334944 DEBUG + set +o xtrace 334950 DEBUG + ynh_print_log 'Nov 13 21:11:51 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_barcode_v2 in 0.417308169s 334950 DEBUG Nov 13 21:11:52 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_formula_v2 in 0.581153465s 334951 DEBUG Nov 13 21:11:52 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_lookup_v2 in 0.394533775s 334951 DEBUG Nov 13 21:11:53 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_qrcode_v2 in 0.384098916s 334951 DEBUG Nov 13 21:11:53 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_relations_v2 in 0.366341299s 334951 DEBUG Nov 13 21:11:55 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_rollup_v2 in 1.959635878s 334951 DEBUG Nov 13 21:11:56 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_select_options_v2 in 0.416602881s 334951 DEBUG Nov 13 21:11:56 nocodb[4306]: nc_050_tenant_isolation: Migration completed 334951 DEBUG Nov 13 21:11:57 nocodb[4306]: nc_054_id_length: Replaced long base IDs in 0.001233658s 334951 DEBUG Nov 13 21:11:57 nocodb[4306]: nc_054_id_length: Altered nc_api_tokens.base_id to 20 characters in 0.492142535s 334952 DEBUG Nov 13 21:11:58 nocodb[4306]: nc_054_id_length: Altered nc_audit_v2.base_id to 20 characters in 0.565158644s 334952 DEBUG Nov 13 21:11:58 nocodb[4306]: nc_054_id_length: Altered nc_base_users_v2.base_id to 20 characters in 0.571892005s 334952 DEBUG Nov 13 21:12:01 nocodb[4306]: nc_054_id_length: Altered nc_columns_v2.base_id to 20 characters in 2.969356739s 334952 DEBUG Nov 13 21:12:02 nocodb[4306]: nc_054_id_length: Altered nc_comment_reactions.base_id to 20 characters in 0.616967309s 334952 DEBUG Nov 13 21:12:02 nocodb[4306]: nc_054_id_length: Altered nc_comments.base_id to 20 characters in 0.616332619s 334952 DEBUG Nov 13 21:12:03 nocodb[4306]: nc_054_id_length: Altered nc_disabled_models_for_role_v2.base_id to 20 characters in 0.551103274s 334952 DEBUG Nov 13 21:12:05 nocodb[4306]: nc_054_id_length: Altered nc_filter_exp_v2.base_id to 20 characters in 1.9905070120000001s 334953 DEBUG Nov 13 21:12:06 nocodb[4306]: nc_054_id_length: Altered nc_form_view_columns_v2.base_id to 20 characters in 0.621717432s 334953 DEBUG Nov 13 21:12:06 nocodb[4306]: nc_054_id_length: Altered nc_form_view_v2.base_id to 20 characters in 0.688324961s 334953 DEBUG Nov 13 21:12:07 nocodb[4306]: nc_054_id_length: Altered nc_gallery_view_columns_v2.base_id to 20 characters in 0.838493355s' 334953 DEBUG + echo -e 'Nov 13 21:11:51 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_barcode_v2 in 0.417308169s 334953 DEBUG Nov 13 21:11:52 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_formula_v2 in 0.581153465s 334953 DEBUG Nov 13 21:11:52 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_lookup_v2 in 0.394533775s 334953 DEBUG Nov 13 21:11:53 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_qrcode_v2 in 0.384098916s 334953 DEBUG Nov 13 21:11:53 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_relations_v2 in 0.366341299s 334954 DEBUG Nov 13 21:11:55 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_rollup_v2 in 1.959635878s 334954 DEBUG Nov 13 21:11:56 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_select_options_v2 in 0.416602881s 334954 DEBUG Nov 13 21:11:56 nocodb[4306]: nc_050_tenant_isolation: Migration completed 334954 DEBUG Nov 13 21:11:57 nocodb[4306]: nc_054_id_length: Replaced long base IDs in 0.001233658s 334954 DEBUG Nov 13 21:11:57 nocodb[4306]: nc_054_id_length: Altered nc_api_tokens.base_id to 20 characters in 0.492142535s 334954 DEBUG Nov 13 21:11:58 nocodb[4306]: nc_054_id_length: Altered nc_audit_v2.base_id to 20 characters in 0.565158644s 334954 DEBUG Nov 13 21:11:58 nocodb[4306]: nc_054_id_length: Altered nc_base_users_v2.base_id to 20 characters in 0.571892005s 334954 DEBUG Nov 13 21:12:01 nocodb[4306]: nc_054_id_length: Altered nc_columns_v2.base_id to 20 characters in 2.969356739s 334955 DEBUG Nov 13 21:12:02 nocodb[4306]: nc_054_id_length: Altered nc_comment_reactions.base_id to 20 characters in 0.616967309s 334955 DEBUG Nov 13 21:12:02 nocodb[4306]: nc_054_id_length: Altered nc_comments.base_id to 20 characters in 0.616332619s 334955 DEBUG Nov 13 21:12:03 nocodb[4306]: nc_054_id_length: Altered nc_disabled_models_for_role_v2.base_id to 20 characters in 0.551103274s 334955 DEBUG Nov 13 21:12:05 nocodb[4306]: nc_054_id_length: Altered nc_filter_exp_v2.base_id to 20 characters in 1.9905070120000001s 334955 DEBUG Nov 13 21:12:06 nocodb[4306]: nc_054_id_length: Altered nc_form_view_columns_v2.base_id to 20 characters in 0.621717432s 334955 DEBUG Nov 13 21:12:06 nocodb[4306]: nc_054_id_length: Altered nc_form_view_v2.base_id to 20 characters in 0.688324961s 334955 DEBUG Nov 13 21:12:07 nocodb[4306]: nc_054_id_length: Altered nc_gallery_view_columns_v2.base_id to 20 characters in 0.838493355s' 334955 DEBUG + '[' -e systemd ']' 334956 DEBUG + ynh_clean_check_starting 334956 DEBUG + '[' -n 4300 ']' 334956 DEBUG + kill -SIGTERM 4300 334956 DEBUG + '[' -n /tmp/tmp.k0d7Ug8aJ6 ']' 334956 DEBUG + ynh_secure_remove --file=/tmp/tmp.k0d7Ug8aJ6 334956 DEBUG + local legacy_args=f 334956 DEBUG + args_array=(['f']='file=') 334956 DEBUG + local -A args_array 334957 DEBUG + local file 334957 DEBUG + ynh_handle_getopts_args --file=/tmp/tmp.k0d7Ug8aJ6 334957 WARNING Nov 13 21:11:51 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_barcode_v2 in 0.417308169s 334957 WARNING Nov 13 21:11:52 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_formula_v2 in 0.581153465s 334957 WARNING Nov 13 21:11:52 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_lookup_v2 in 0.394533775s 334957 WARNING Nov 13 21:11:53 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_qrcode_v2 in 0.384098916s 334957 WARNING Nov 13 21:11:53 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_relations_v2 in 0.366341299s 334958 WARNING Nov 13 21:11:55 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_rollup_v2 in 1.959635878s 334958 WARNING Nov 13 21:11:56 nocodb[4306]: nc_050_tenant_isolation: Added indexes for nc_col_select_options_v2 in 0.416602881s 334958 WARNING Nov 13 21:11:56 nocodb[4306]: nc_050_tenant_isolation: Migration completed 334958 WARNING Nov 13 21:11:57 nocodb[4306]: nc_054_id_length: Replaced long base IDs in 0.001233658s 334958 WARNING Nov 13 21:11:57 nocodb[4306]: nc_054_id_length: Altered nc_api_tokens.base_id to 20 characters in 0.492142535s 334958 WARNING Nov 13 21:11:58 nocodb[4306]: nc_054_id_length: Altered nc_audit_v2.base_id to 20 characters in 0.565158644s 334959 WARNING Nov 13 21:11:58 nocodb[4306]: nc_054_id_length: Altered nc_base_users_v2.base_id to 20 characters in 0.571892005s 334959 WARNING Nov 13 21:12:01 nocodb[4306]: nc_054_id_length: Altered nc_columns_v2.base_id to 20 characters in 2.969356739s 334959 WARNING Nov 13 21:12:02 nocodb[4306]: nc_054_id_length: Altered nc_comment_reactions.base_id to 20 characters in 0.616967309s 334959 WARNING Nov 13 21:12:02 nocodb[4306]: nc_054_id_length: Altered nc_comments.base_id to 20 characters in 0.616332619s 334959 WARNING Nov 13 21:12:03 nocodb[4306]: nc_054_id_length: Altered nc_disabled_models_for_role_v2.base_id to 20 characters in 0.551103274s 334959 WARNING Nov 13 21:12:05 nocodb[4306]: nc_054_id_length: Altered nc_filter_exp_v2.base_id to 20 characters in 1.9905070120000001s 334960 WARNING Nov 13 21:12:06 nocodb[4306]: nc_054_id_length: Altered nc_form_view_columns_v2.base_id to 20 characters in 0.621717432s 334960 WARNING Nov 13 21:12:06 nocodb[4306]: nc_054_id_length: Altered nc_form_view_v2.base_id to 20 characters in 0.688324961s 334960 WARNING Nov 13 21:12:07 nocodb[4306]: nc_054_id_length: Altered nc_gallery_view_columns_v2.base_id to 20 characters in 0.838493355s 334960 DEBUG + set +o xtrace 334961 DEBUG + set +o xtrace 334976 DEBUG + ynh_script_progression '--message=Installation of nocodb completed' --last 334977 DEBUG + set +o xtrace 335040 DEBUG + set +o xtrace 335058 DEBUG + echo '! Helper used in legacy mode !' 335058 DEBUG + set +x 335061 DEBUG + echo '[####################] > Installation of nocodb completed [5.0 minutes]' 335061 INFO [####################] > Installation of nocodb completed [5.0 minutes] 335061 DEBUG + set -o xtrace 335061 DEBUG + ynh_exit_properly 335061 DEBUG + local exit_code=0 335061 DEBUG + [[ install =~ ^install$|^upgrade$|^restore$ ]] 335061 DEBUG + rm -rf /var/cache/yunohost/download/ 335063 DEBUG + '[' 0 -eq 0 ']' 335063 DEBUG + exit 0 335164 DEBUG Checking that required services are up and running... 335806 SUCCESS Installation completed ========== You now need to open [nocodb](https://sub.domain.tld/) and create the first admin user. ========== 335809 DEBUG To view the log of the operation 'Install the 'nocodb' app', use the command 'yunohost log show 20241113-210634-app_install-nocodb' 335813 DEBUG action executed in 335.652s 335814 DEBUG lock has been released Return code: 0 Working time: 5 minutes, 36 seconds (21:12:08 UTC) Installation successful. Return code: 1 Working time: 0s (21:12:16 UTC) { "cookie_name": "yunohost.portal", "cookie_secret_file": "/etc/yunohost/.ssowat_cookie_secret", "domain_portal_urls": { "default": "/yunohost/admin", "domain.tld": "domain.tld/yunohost/sso", "sub.domain.tld": "domain.tld/yunohost/sso" }, "permissions": { "core_skipped": { "auth_header": false, "public": true, "uris": [ "domain.tld/yunohost/admin", "sub.domain.tld/yunohost/admin", "domain.tld/yunohost/api", "sub.domain.tld/yunohost/api", "domain.tld/yunohost/portalapi", "sub.domain.tld/yunohost/portalapi", "re:^[^/]*/502\\.html$", "re:^[^/]*/\\.well-known/ynh-diagnosis/.*$", "re:^[^/]*/\\.well-known/acme-challenge/.*$", "re:^[^/]*/\\.well-known/autoconfig/mail/config-v1\\.1\\.xml.*$" ], "users": [] }, "nocodb.main": { "auth_header": "basic-with-password", "public": true, "uris": [ "sub.domain.tld" ], "users": [ "package_checker" ] } }, "redirected_urls": {}, "session_folder": "/var/cache/yunohost-portal/sessions" }Return code: 0 Working time: 0s (21:12:20 UTC)  > Validating that the app nocodb can/can't be accessed with its URL... URL : https://sub.domain.tld/ Code : 404 Title : Error Content extract: Cannot GET / Errors : - Got return code 404, but was expecting 200 FAIL ======== ==> /var/log/nginx/sub.domain.tld-access.log <== 10.182.179.1 - - [13/Nov/2024:21:12:21 +0000] "GET / HTTP/2.0" 404 139 "-" "PycURL/7.45.2 libcurl/7.88.1 GnuTLS/3.7.9 zlib/1.2.13 brotli/1.0.9 zstd/1.5.4 libidn2/2.3.3 libpsl/0.21.2 (+libidn2/2.3.3) libssh2/1.10.0 nghttp2/1.52.0 librtmp/2.3 OpenLDAP/2.5.13" 10.182.179.1 - - [13/Nov/2024:21:12:21 +0000] "GET / HTTP/2.0" 404 139 "-" "PycURL/7.45.2 libcurl/7.88.1 GnuTLS/3.7.9 zlib/1.2.13 brotli/1.0.9 zstd/1.5.4 libidn2/2.3.3 libpsl/0.21.2 (+libidn2/2.3.3) libssh2/1.10.0 nghttp2/1.52.0 librtmp/2.3 OpenLDAP/2.5.13" ==> /var/log/nginx/sub.domain.tld-error.log <== Return code: 0 Working time: 0s (21:12:25 UTC) Peak RAM usage during this test: 385MB RAM usage diff after test: 231MB Disk usage diff after test: 402.6MB --- FAIL --- Working time for this test: 6 minutes, 35 seconds (21:12:27 UTC)  ============================================ [Test 3/6] Backup/Restore ============================================  Error: All installs failed, therefore the following tests cannot be performed... --- FAIL --- Working time for this test: 0s (21:12:33 UTC)  ============================================ [Test 4/6] Upgrade from the same version ============================================  Error: All installs failed, therefore the following tests cannot be performed... --- FAIL --- Working time for this test: 0s (21:12:34 UTC)  ============================================ [Test 5/6] Upgrade from 0.202.4~ynh1 ============================================  Error: All installs failed, therefore the following tests cannot be performed... --- FAIL --- Working time for this test: 0s (21:12:35 UTC)  ============================================ [Test 6/6] Change URL ============================================  Error: All installs failed, therefore the following tests cannot be performed... --- FAIL --- Working time for this test: 0s (21:12:36 UTC)  ============================================ Tests summary ============================================  Global working time for all tests: 21 minutes, 4 seconds (21:12:37 UTC)