New/Fresh Install Appears To Loop

Bug Report Template

Description

Please provide a clear and concise description of the bug you encountered.

Fresh install of Rocky 9, after the reboot, the install appears to loop at a step.

Steps to Reproduce

Please provide detailed steps to reproduce the bug. Include any necessary code snippets, commands, or configuration files.

  • Step 1
    curl https://raw.githubusercontent.com/apisnetworks/apnscp-bootstrapper/master/bootstrap.sh | bash -s - NCxT5
  • Step 2
    vi /root/apnscp-vars.yml
  • Step 3
    Set password and email address
  • Step 4
    sh /root/resume_apnscp_setup.sh

Expected Behavior

Describe what you expected to happen when the bug occurred.

ApisCP to install.

Actual Behavior

Describe what actually happened when the bug occurred.

2026-12-01 18:05:07,879 p=359009 u=root n=dnf.[fork.359856] | Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, etckeeper, generate_completion_cache, groups-manager, needs-restarting, playground, post-transaction-actions, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade, versionlock
2026-12-01 18:05:08,326 p=359009 u=root n=dnf.[fork.359856] | User-Agent: constructed: 'libdnf (Rocky Linux 9.9; generic; Linux.x86_64)'
2026-12-01 18:05:08,327 p=359009 u=root n=dnf.[fork.359856] | repo: using cache for: apnscp
2026-12-01 18:05:08,329 p=359009 u=root n=dnf.[fork.359856] | apnscp: using metadata from Fri Nov 14 12:26:09 2025.
2026-12-01 18:05:08,329 p=359009 u=root n=dnf.[fork.359856] | repo: using cache for: apnscp-updates
2026-12-01 18:05:08,382 p=359009 u=root n=dnf.[fork.359856] | apnscp-updates: using metadata from Tue Dec  1 12:58:05 2026.
2026-12-01 18:05:08,382 p=359009 u=root n=dnf.[fork.359856] | repo: using cache for: timescale_timescaledb
2026-12-01 18:05:08,386 p=359009 u=root n=dnf.[fork.359856] | timescale_timescaledb: using metadata from Tue Dec  1 12:57:24 2026.
2026-12-01 18:05:08,386 p=359009 u=root n=dnf.[fork.359856] | repo: using cache for: epel
2026-12-01 18:05:08,859 p=359009 u=root n=dnf.[fork.359856] | epel: using metadata from Mon Nov 30 20:20:08 2026.
2026-12-01 18:05:08,860 p=359009 u=root n=dnf.[fork.359856] | repo: using cache for: epel-cisco-openh264
2026-12-01 18:05:08,860 p=359009 u=root n=dnf.[fork.359856] | epel-cisco-openh264: using metadata from Mon May 22 11:19:21 2023.
2026-12-01 18:05:08,861 p=359009 u=root n=dnf.[fork.359856] | repo: using cache for: mariadb
2026-12-01 18:05:08,886 p=359009 u=root n=dnf.[fork.359856] | mariadb: using metadata from Thu Nov 12 09:49:22 2026.
2026-12-01 18:05:08,887 p=359009 u=root n=dnf.[fork.359856] | repo: using cache for: pgdg-common
2026-12-01 18:05:08,921 p=359009 u=root n=dnf.[fork.359856] | pgdg-common: using metadata from Tue Dec  1 16:10:04 2026.
2026-12-01 18:05:08,922 p=359009 u=root n=dnf.[fork.359856] | repo: using cache for: pgdg19
2026-12-01 18:05:08,950 p=359009 u=root n=dnf.[fork.359856] | pgdg19: using metadata from Tue Dec  1 16:12:09 2026.
2026-12-01 18:05:08,951 p=359009 u=root n=dnf.[fork.359856] | repo: using cache for: pgdg16
2026-12-01 18:05:08,962 p=359009 u=root n=dnf.[fork.359856] | pgdg16: using metadata from Tue Dec  1 16:14:13 2026.
2026-12-01 18:05:08,963 p=359009 u=root n=dnf.[fork.359856] | repo: using cache for: baseos
2026-12-01 18:05:09,049 p=359009 u=root n=dnf.[fork.359856] | baseos: using metadata from Tue Dec  1 00:59:27 2026.
2026-12-01 18:05:09,049 p=359009 u=root n=dnf.[fork.359856] | repo: using cache for: appstream
2026-12-01 18:05:09,239 p=359009 u=root n=dnf.[fork.359856] | appstream: using metadata from Tue Dec  1 01:00:01 2026.
2026-12-01 18:05:09,239 p=359009 u=root n=dnf.[fork.359856] | repo: using cache for: devel
2026-12-01 18:05:09,402 p=359009 u=root n=dnf.[fork.359856] | devel: using metadata from Tue Dec  1 01:12:24 2026.
2026-12-01 18:05:09,402 p=359009 u=root n=dnf.[fork.359856] | repo: using cache for: extras
2026-12-01 18:05:09,405 p=359009 u=root n=dnf.[fork.359856] | extras: using metadata from Tue Dec  1 07:13:50 2026.
2026-12-01 18:05:09,405 p=359009 u=root n=dnf.[fork.359856] | Last metadata expiration check: 0:00:29 ago on Tue Dec  1 18:04:39 2026.
2026-12-01 18:05:09,661 p=359009 u=root n=dnf.[fork.359856] | timer: sack setup: 1740 ms
2026-12-01 18:05:09,729 p=359009 u=root n=dnf.[fork.359856] | timer: depsolve: 65 ms
2026-12-01 18:05:09,729 p=359009 u=root n=dnf.plugin.[fork.359856] | Etckeeper plugin: pre-install
2026-12-01 18:05:10,887 p=359005 u=root n=ansible | ok: [localhost]
2026-12-01 18:05:10,916 p=359005 u=root n=ansible | TASK [packages/install : Template RedHat variables] ****************************
2026-12-01 18:05:10,939 p=359005 u=root n=ansible | Lookup failed but the error is being ignored: No file was found when using first_found.
2026-12-01 18:05:10,941 p=359005 u=root n=ansible | skipping: [localhost]
2026-12-01 18:05:10,971 p=359005 u=root n=ansible | TASK [packages/install : Verify rhrepocfg discovery succeeds on RedHat] ********
2026-12-01 18:05:10,995 p=359005 u=root n=ansible | skipping: [localhost]
2026-12-01 18:05:11,026 p=359005 u=root n=ansible | TASK [packages/install : Modify AppStream settings] ****************************
2026-12-01 18:05:11,116 p=359005 u=root n=ansible | ok: [localhost] => (item={'key': 'excludepkgs', 'value': 'mariadb* postgresql*'})
2026-12-01 18:05:11,127 p=359005 u=root n=ansible | ok: [localhost] => (item={'key': 'priority', 'value': '99'})

2026-12-01 18:37:19,223 p=402543 u=root n=ansible | TASK [apnscp/install-vendor-library : Install vendor libraries] ****************
2026-12-01 18:37:19,884 p=402543 u=root n=ansible | fatal: [localhost]: FAILED! => {"changed": false, "msg": "PHP Warning: Module \"apcu\" is already loaded in Unknown on line 0 PHP Warning: Module \"dbus\" is already loaded in Unknown on line 0 PHP Warning: Module \"igbinary\" is already loaded in Unknown on line 0 PHP Warning: Module \"redis\" is already loaded in Unknown on line 0 Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Your lock file does not contain a compatible set of packages. Please run composer update. Problem 1 - lcobucci/jwt is locked to version 4.3.0 and an update of this package was not requested. - lcobucci/jwt 4.3.0 requires ext-sodium * -> it is missing from your system. Install or enable PHP's sodium extension. Problem 2 - acmephp/core is locked to version dev-master and an update of this package was not requested. - acmephp/core dev-master requires lcobucci/jwt ^3.3|^4.0 -> satisfiable by lcobucci/jwt[4.3.0]. - lcobucci/jwt 4.3.0 requires ext-sodium * -> it is missing from your system. Install or enable PHP's sodium extension. To enable extensions, verify that they are enabled in your .ini files: - /usr/local/apnscp/config/php.ini - /usr/local/apnscp/config/php.d/00-ioncube.ini - /usr/local/apnscp/config/php.d/01-dbus.ini - /usr/local/apnscp/config/php.d/01-opcache.ini - /usr/local/apnscp/config/php.d/20-apcu.ini - /usr/local/apnscp/config/php.d/20-dbus.ini - /usr/local/apnscp/config/php.d/20-igbinary.ini - /usr/local/apnscp/config/php.d/20-redis.ini You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode. Alternatively, you can run Composer with `--ignore-platform-req=ext-sodium` to temporarily ignore these required extensions.", "stdout": "PHP Warning:  Module \"apcu\" is already loaded in Unknown on line 0\nPHP Warning:  Module \"dbus\" is already loaded in Unknown on line 0\nPHP Warning:  Module \"igbinary\" is already loaded in Unknown on line 0\nPHP Warning:  Module \"redis\" is already loaded in Unknown on line 0\nInstalling dependencies from lock file (including require-dev)\nVerifying lock file contents can be installed on current platform.\nYour lock file does not contain a compatible set of packages. Please run composer update.\n\n  Problem 1\n    - lcobucci/jwt is locked to version 4.3.0 and an update of this package was not requested.\n    - lcobucci/jwt 4.3.0 requires ext-sodium * -> it is missing from your system. Install or enable PHP's sodium extension.\n  Problem 2\n    - acmephp/core is locked to version dev-master and an update of this package was not requested.\n    - acmephp/core dev-master requires lcobucci/jwt ^3.3|^4.0 -> satisfiable by lcobucci/jwt[4.3.0].\n    - lcobucci/jwt 4.3.0 requires ext-sodium * -> it is missing from your system. Install or enable PHP's sodium extension.\n\nTo enable extensions, verify that they are enabled in your .ini files:\n    - /usr/local/apnscp/config/php.ini\n    - /usr/local/apnscp/config/php.d/00-ioncube.ini\n    - /usr/local/apnscp/config/php.d/01-dbus.ini\n    - /usr/local/apnscp/config/php.d/01-opcache.ini\n    - /usr/local/apnscp/config/php.d/20-apcu.ini\n    - /usr/local/apnscp/config/php.d/20-dbus.ini\n    - /usr/local/apnscp/config/php.d/20-igbinary.ini\n    - /usr/local/apnscp/config/php.d/20-redis.ini\nYou can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.\nAlternatively, you can run Composer with `--ignore-platform-req=ext-sodium` to temporarily ignore these required extensions.\n", "stdout_lines": ["PHP Warning:  Module \"apcu\" is already loaded in Unknown on line 0", "PHP Warning:  Module \"dbus\" is already loaded in Unknown on line 0", "PHP Warning:  Module \"igbinary\" is already loaded in Unknown on line 0", "PHP Warning:  Module \"redis\" is already loaded in Unknown on line 0", "Installing dependencies from lock file (including require-dev)", "Verifying lock file contents can be installed on current platform.", "Your lock file does not contain a compatible set of packages. Please run composer update.", "", "  Problem 1", "    - lcobucci/jwt is locked to version 4.3.0 and an update of this package was not requested.", "    - lcobucci/jwt 4.3.0 requires ext-sodium * -> it is missing from your system. Install or enable PHP's sodium extension.", "  Problem 2", "    - acmephp/core is locked to version dev-master and an update of this package was not requested.", "    - acmephp/core dev-master requires lcobucci/jwt ^3.3|^4.0 -> satisfiable by lcobucci/jwt[4.3.0].", "    - lcobucci/jwt 4.3.0 requires ext-sodium * -> it is missing from your system. Install or enable PHP's sodium extension.", "", "To enable extensions, verify that they are enabled in your .ini files:", "    - /usr/local/apnscp/config/php.ini", "    - /usr/local/apnscp/config/php.d/00-ioncube.ini", "    - /usr/local/apnscp/config/php.d/01-dbus.ini", "    - /usr/local/apnscp/config/php.d/01-opcache.ini", "    - /usr/local/apnscp/config/php.d/20-apcu.ini", "    - /usr/local/apnscp/config/php.d/20-dbus.ini", "    - /usr/local/apnscp/config/php.d/20-igbinary.ini", "    - /usr/local/apnscp/config/php.d/20-redis.ini", "You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.", "Alternatively, you can run Composer with `--ignore-platform-req=ext-sodium` to temporarily ignore these required extensions."]}
2026-12-01 18:37:19,889 p=402543 u=root n=ansible | PLAY RECAP *********************************************************************
2026-12-01 18:37:19,890 p=402543 u=root n=ansible | localhost                  : ok=485  changed=0    unreachable=0    failed=1    skipped=290  rescued=0    ignored=0
2026-12-01 18:37:23,271 p=406517 u=root n=ansible | [WARNING]: Collection community.general does not support Ansible version
2.14.18

Environment

ApisCP version: cpcmd misc:cp-version
Operating System: uname -r

# cpcmd misc:cp-version
-bash: cpcmd: command not found
# uname -r
5.14.0-741.28.1.el9_9.x86_64

Additional relevant information (e.g., PHP version, database, etc.):

Minimal install of RockyLinux 9

Additional Information

Provide any additional information about the bug, such as error messages, logs, screenshots, or any other relevant details.

Been running for 2+ hours now.