Proceeding with deployment of bazil ... Testing for existing deployment "/opt/dwarfg_bazil.mdevdepl.dwarfgate.net" ... Running sudo "/opt/cache_dwarfg/builder_cleanup_asroot.sh" "bazil.mdevdepl.dwarfgate.net" Running sudo "/opt/cache_dwarfg/builder_deploy_asroot.sh" "/home/builder/mamas_build/deploy_2025_10_02__16_06_05_1065022_bazil/dwarfg_install" --domain "bazil.mdevdepl.dwarfgate.net" --nossl --servsshport 2325 --servid 0badc0de-beef-f00d-cafe-4badf001babe --license /home/builder/licenses/10_testlic Reading basedefs:"base_defs" from directory:/home/builder/mamas_build/deploy_2025_10_02__16_06_05_1065022_bazil/dwarfg_install/appdir ... Found Dwarfguard global site defs (/opt/cache_dwarfg/home/.dwarfg_site_config), sourcing... Reading basefuncs:"app_funcs.sh" from directory:/home/builder/mamas_build/deploy_2025_10_02__16_06_05_1065022_bazil/dwarfg_install/appdir ... Dwarfguard application deploy script. Updating DOMAIN in /home/builder/mamas_build/deploy_2025_10_02__16_06_05_1065022_bazil/dwarfg_install/appdir/base_defs ... Updating SERV_TUNSSH_PORT in /home/builder/mamas_build/deploy_2025_10_02__16_06_05_1065022_bazil/dwarfg_install/appdir/base_defs ... Updating SERVID in /home/builder/mamas_build/deploy_2025_10_02__16_06_05_1065022_bazil/dwarfg_install/appdir/base_defs ... Reading basedefs:"base_defs" from directory:/home/builder/mamas_build/deploy_2025_10_02__16_06_05_1065022_bazil/dwarfg_install/appdir ... Found Dwarfguard global site defs (/opt/cache_dwarfg/home/.dwarfg_site_config), sourcing... Reading basefuncs:"app_funcs.sh" from directory:/home/builder/mamas_build/deploy_2025_10_02__16_06_05_1065022_bazil/dwarfg_install/appdir ... DEPS is 1_dwarfg_prod.mdevdepl.dwarfgate.net 2_dwarfg_dev.mdevdepl.dwarfgate.net 3_dwarfg_patch.mdevdepl.dwarfgate.net 1_dwarfg_prod.mdevdepl.dwarfgate.net Deployment 1_ found in DEPS, continuing search... 2_dwarfg_dev.mdevdepl.dwarfgate.net Deployment 2_ found in DEPS, continuing search... 3_dwarfg_patch.mdevdepl.dwarfgate.net Deployment 3_ found in DEPS, continuing search... Deployment 4_ not found in DEPS, selecting... Selected deployment number: 4 Daemon port calculated to 8487 Dwarfguard site configuration (/opt/cache_dwarfg/home/.dwarfg_site_config) found, sourcing it... Checking + installing prerequisities (pwd: /home/builder/mamas_build/deploy_2025_10_02__16_06_05_1065022_bazil/dwarfg_install/appdir ) ... Failed to get unit file state for unattended-upgrades.service: No such file or directory Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian bookworm-updates InRelease Hit:3 http://security.debian.org bookworm-security InRelease Get:4 https://apt.grafana.com stable InRelease [7660 B] Err:4 https://apt.grafana.com stable InRelease The following signatures were invalid: EXPKEYSIG 963FA27710458545 Grafana Labs Reading package lists... W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://apt.grafana.com stable InRelease: The following signatures were invalid: EXPKEYSIG 963FA27710458545 Grafana Labs W: Failed to fetch https://apt.grafana.com/dists/stable/InRelease The following signatures were invalid: EXPKEYSIG 963FA27710458545 Grafana Labs W: Some index files failed to download. They have been ignored, or old ones used instead. Reading package lists... Building dependency tree... Reading state information... binutils is already the newest version (2.40-2). apache2 is already the newest version (2.4.65-1~deb12u1). mariadb-server is already the newest version (1:10.11.14-0+deb12u2). slay is already the newest version (3.0.2). python3 is already the newest version (3.11.2-1+b1). python3-mysqldb is already the newest version (1.4.6-2+b1). curl is already the newest version (7.88.1-10+deb12u14). unzip is already the newest version (6.0-28). sudo is already the newest version (1.9.13p3-1+deb12u2). libapache2-mod-php is already the newest version (2:8.2+93). php8.2 is already the newest version (8.2.29-1~deb12u1). php8.2-common is already the newest version (8.2.29-1~deb12u1). php8.2-mysql is already the newest version (8.2.29-1~deb12u1). php8.2-mbstring is already the newest version (8.2.29-1~deb12u1). php8.2-xml is already the newest version (8.2.29-1~deb12u1). php8.2-intl is already the newest version (8.2.29-1~deb12u1). php8.2-gd is already the newest version (8.2.29-1~deb12u1). php8.2-imagick is already the newest version (3.7.0-4). php8.2-curl is already the newest version (8.2.29-1~deb12u1). php8.2-zip is already the newest version (8.2.29-1~deb12u1). php8.2-bcmath is already the newest version (8.2.29-1~deb12u1). mariadb-client is already the newest version (1:10.11.14-0+deb12u2). rsync is already the newest version (3.2.7-1+deb12u2). libjson-c5 is already the newest version (0.16-2). libbsd0 is already the newest version (0.11.7-2). libarchive13 is already the newest version (3.6.2-1+deb12u3). sshpass is already the newest version (1.09-1+b1). libffi8 is already the newest version (3.4.4-1). jq is already the newest version (1.6-2.1+deb12u1). pipx is already the newest version (1.1.0-1). dropbear-bin is already the newest version (2022.83-1+deb12u3). influxdb is already the newest version (1.6.7~rc0-1+b13). influxdb-client is already the newest version (1.6.7~rc0-1+b13). The following packages were automatically installed and are no longer required: libdaxctl1 libndctl6 libpmem1 Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded. Synchronizing state of apache2.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable apache2 Checking existing installation...(/opt/dwarfg_bazil.mdevdepl.dwarfgate.net, /srv/dwarfg_bazil.mdevdepl.dwarfgate.net) Resolving users... dwarfg:x:113: Copying application data... Updating INSTALL_PATH, INSTALL_DIR and PYTON_VENV in /opt/dwarfg_bazil.mdevdepl.dwarfgate.net... Updating dwarfg_apache_initial.conf: INSTALL_PATH to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net... Updating dwarfg_apache_initial_nossl.conf: INSTALL_PATH to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net... Updating dwarfg_logrotate.conf: INSTALL_PATH to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net... Updating proxy_ssh_template.conf: INSTALL_PATH to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net... Updating proxy_ssh_template_nossl.conf: INSTALL_PATH to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net... Updating tunnel_ssh_template.conf: INSTALL_PATH to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net... Updating tunnel_ssh_template_nossl.conf: INSTALL_PATH to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net... Updating tunnel_web_template.conf: INSTALL_PATH to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net... Updating tunnel_web_template_nossl.conf: INSTALL_PATH to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net... Updating buildtag.txt: INSTALL_PATH to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net... Updating dwarflib_cfg.txt: INSTALL_PATH to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net... Updating dwarflib_cfg_dbg.txt: INSTALL_PATH to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net... Updating dwarflib_cfg_log.txt: INSTALL_PATH to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net... Updating dwarflib_cfg_prod.txt: INSTALL_PATH to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net... Updating grafana_table_accesslist.txt: INSTALL_PATH to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net... Updating influx_db.txt: INSTALL_PATH to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net... Updating log_cgi.txt: INSTALL_PATH to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net... Updating dwarfg.service: INSTALL_PATH to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net... Updating dwarfg_snmp_gw.service: INSTALL_PATH to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net... Updating dwarfg_apache_initial.conf: INSTALL_DIR to dwarfg_bazil.mdevdepl.dwarfgate.net... Updating dwarfg_apache_initial_nossl.conf: INSTALL_DIR to dwarfg_bazil.mdevdepl.dwarfgate.net... Updating dwarfg_logrotate.conf: INSTALL_DIR to dwarfg_bazil.mdevdepl.dwarfgate.net... Updating proxy_ssh_template.conf: INSTALL_DIR to dwarfg_bazil.mdevdepl.dwarfgate.net... Updating proxy_ssh_template_nossl.conf: INSTALL_DIR to dwarfg_bazil.mdevdepl.dwarfgate.net... Updating tunnel_ssh_template.conf: INSTALL_DIR to dwarfg_bazil.mdevdepl.dwarfgate.net... Updating tunnel_ssh_template_nossl.conf: INSTALL_DIR to dwarfg_bazil.mdevdepl.dwarfgate.net... Updating tunnel_web_template.conf: INSTALL_DIR to dwarfg_bazil.mdevdepl.dwarfgate.net... Updating tunnel_web_template_nossl.conf: INSTALL_DIR to dwarfg_bazil.mdevdepl.dwarfgate.net... Updating buildtag.txt: INSTALL_DIR to dwarfg_bazil.mdevdepl.dwarfgate.net... Updating dwarflib_cfg.txt: INSTALL_DIR to dwarfg_bazil.mdevdepl.dwarfgate.net... Updating dwarflib_cfg_dbg.txt: INSTALL_DIR to dwarfg_bazil.mdevdepl.dwarfgate.net... Updating dwarflib_cfg_log.txt: INSTALL_DIR to dwarfg_bazil.mdevdepl.dwarfgate.net... Updating dwarflib_cfg_prod.txt: INSTALL_DIR to dwarfg_bazil.mdevdepl.dwarfgate.net... Updating grafana_table_accesslist.txt: INSTALL_DIR to dwarfg_bazil.mdevdepl.dwarfgate.net... Updating influx_db.txt: INSTALL_DIR to dwarfg_bazil.mdevdepl.dwarfgate.net... Updating log_cgi.txt: INSTALL_DIR to dwarfg_bazil.mdevdepl.dwarfgate.net... Updating dwarfg.service: INSTALL_DIR to dwarfg_bazil.mdevdepl.dwarfgate.net... Updating dwarfg_snmp_gw.service: INSTALL_DIR to dwarfg_bazil.mdevdepl.dwarfgate.net... Updating dwarfg_apache_initial.conf: PYTHON_VENV to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/python_venv... Updating dwarfg_apache_initial_nossl.conf: PYTHON_VENV to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/python_venv... Updating dwarfg_logrotate.conf: PYTHON_VENV to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/python_venv... Updating proxy_ssh_template.conf: PYTHON_VENV to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/python_venv... Updating proxy_ssh_template_nossl.conf: PYTHON_VENV to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/python_venv... Updating tunnel_ssh_template.conf: PYTHON_VENV to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/python_venv... Updating tunnel_ssh_template_nossl.conf: PYTHON_VENV to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/python_venv... Updating tunnel_web_template.conf: PYTHON_VENV to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/python_venv... Updating tunnel_web_template_nossl.conf: PYTHON_VENV to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/python_venv... Updating buildtag.txt: PYTHON_VENV to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/python_venv... Updating dwarflib_cfg.txt: PYTHON_VENV to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/python_venv... Updating dwarflib_cfg_dbg.txt: PYTHON_VENV to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/python_venv... Updating dwarflib_cfg_log.txt: PYTHON_VENV to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/python_venv... Updating dwarflib_cfg_prod.txt: PYTHON_VENV to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/python_venv... Updating grafana_table_accesslist.txt: PYTHON_VENV to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/python_venv... Updating influx_db.txt: PYTHON_VENV to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/python_venv... Updating log_cgi.txt: PYTHON_VENV to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/python_venv... Updating dwarfg.service: PYTHON_VENV to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/python_venv... Updating dwarfg_snmp_gw.service: PYTHON_VENV to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/python_venv... Updating PORT_OFFSET in /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/base_defs ... Updating DWARFG_PORT in /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/base_defs ... Preparing runtime data directories... Running post-install app data init script... Updating USE_SSL in /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/base_defs ... Preparing python virtual environment at /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/python_venv... success Reading basedefs:"base_defs" from directory:/opt/dwarfg_bazil.mdevdepl.dwarfgate.net ... Found Dwarfguard global site defs (/opt/cache_dwarfg/home/.dwarfg_site_config), sourcing... Reading basefuncs:"app_funcs.sh" from directory:/opt/dwarfg_bazil.mdevdepl.dwarfgate.net ... Updating SERVID in /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/base_defs ... Users: 1, resetting dwarfg user password to IyumSwS6KgXE Populating Dwarfguard database... Storing bindir/srvdir in DB... Reading basedefs:"base_defs" from directory:/opt/dwarfg_bazil.mdevdepl.dwarfgate.net ... Found Dwarfguard global site defs (/opt/cache_dwarfg/home/.dwarfg_site_config), sourcing... Reading basefuncs:"app_funcs.sh" from directory:/opt/dwarfg_bazil.mdevdepl.dwarfgate.net ... EXTERNURL/1 /bazil.mdevdepl.dwarfgate.net Updating DEF_SERVER to bazil.mdevdepl.dwarfgate.net ... Updating EXTERNURL in /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/base_defs ... Updating package /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/agents/agent_advantech/adwarfg_advantech.tgz: updating file /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/tmp/./adwarfg/bin/dwarfg_agent.sh... Updating package /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/agents/agent_advantech/adwarfg_upgrade.tgz: updating file /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/tmp/./adwarfg_upgrade/bin/dwarfg_agent.sh... Updating package /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/agents/agent_linux/adwarfg_linux.tgz: updating file /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/tmp/./adwarfg_linux/dwarfg_agent.sh... Updating package /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/agents/agent_linux/adwarfg_upgrade.tgz: updating file /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/tmp/./adwarfg_upgrade/dwarfg_agent.sh... Updating package /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/agents/agent_owrt/adwarfg_owrt.tgz: updating file /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/tmp/./adwarfg_owrt/dwarfg_agent.sh... Updating package /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/agents/agent_owrt/adwarfg_upgrade.tgz: updating file /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/tmp/./adwarfg_upgrade/dwarfg_agent.sh... Updating package /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/agents/agent_teltonika/adwarfg_teltonika.tgz: updating file /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/tmp/./adwarfg_teltonika/dwarfg_agent.sh... Updating package /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/agents/agent_teltonika/adwarfg_upgrade.tgz: updating file /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/tmp/./adwarfg_upgrade/dwarfg_agent.sh... Updating package /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/agents/agent_owrt/adwarfg_owrt.ipk: updating file /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/tmp/control/postinst... Updating package /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/agents/agent_teltonika/adwarfg_teltonika.ipk: updating file /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/tmp/control/postinst... Server IP address was updated in agent archive to bazil.mdevdepl.dwarfgate.net. Considering dependency setenvif for ssl: Module setenvif already enabled Considering dependency mime for ssl: Module mime already enabled Considering dependency socache_shmcb for ssl: Module socache_shmcb already enabled Module ssl already enabled Module rewrite already enabled Module proxy already enabled Considering dependency proxy for proxy_http: Module proxy already enabled Module proxy_http already enabled Considering dependency proxy for proxy_connect: Module proxy already enabled Module proxy_connect already enabled Generating new Dwarfguard apache config (using bazil.mdevdepl.dwarfgate.net/8487 from /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/dwarfg_apache_initial_nossl.conf to /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/apache_dwarfg_bazil.mdevdepl.dwarfgate.net.conf) Enabling site dwarfg_bazil.mdevdepl.dwarfgate.net. Resolving FFI state in /etc/php/8.2/apache2/php.ini ... extension already present, ... FFI enabled already Replaced PHP configuration value max_input_vars to value 20000 in /etc/php/8.2/apache2/php.ini ... Replaced PHP configuration value upload_max_filesize to value 40M in /etc/php/8.2/apache2/php.ini ... Replaced PHP configuration value post_max_size to value 41M in /etc/php/8.2/apache2/php.ini ... Updating SYSCTLPATH in /home/builder/mamas_build/deploy_2025_10_02__16_06_05_1065022_bazil/dwarfg_install/appdir/base_defs ... Created User: Email: admin@localhost Password: defaultPWDplsCHANGEme Role: ROLE_SUPER_ADMIN Firstname: Lastname: Active: true Created User: Email: operator@localhost Password: defaultOPERATORpwd Role: ROLE_ADMIN Firstname: Lastname: Active: false Skipping dwarfg cmdline update because version is not higher (new: 1.6 X old: 1.6) Creating InfluxDB database dwarfg_bazil_mdevdepl_dwarfgate_net ... Enabling and starting Dwarfguard core service... (dwarfg_bazil.mdevdepl.dwarfgate.net.service) Created symlink /etc/systemd/system/multi-user.target.wants/dwarfg_bazil.mdevdepl.dwarfgate.net.service -> /etc/systemd/system/dwarfg_bazil.mdevdepl.dwarfgate.net.service. * dwarfg_bazil.mdevdepl.dwarfgate.net.service - Dwarfguard core service Loaded: loaded (/etc/systemd/system/dwarfg_bazil.mdevdepl.dwarfgate.net.service; enabled; preset: enabled) Active: active (running) since Thu 2025-10-02 16:07:17 UTC; 4s ago Main PID: 1066233 (dwarfgd) Tasks: 9 (limit: 28730) Memory: 38.9M CPU: 952ms CGroup: /system.slice/dwarfg_bazil.mdevdepl.dwarfgate.net.service `-1066233 /opt/dwarfg_bazil.mdevdepl.dwarfgate.net/dwarfgd Done - Dwarfguard is deployed.