Hi,
During installation of Mosaic PRO 1.0.41, the site displayed a message on an otherwise blank white page and remained stuck for a long time without any progress. "The website’s software is currently being updated. Please check back later" for long time. The site was inaccessible.
The add-on was left in this state in xf_addon:
addon_id: Mosaic/Pro
is_processing: 1
last_pending_action: install:6
Disabling listeners in src/config.php restored admin access, but CLI disable and uninstall commands both returned:
No add-on with ID 'Mosaic/Pro' could be found.
The files and database record existed, but XenForo did not consider the add-on installed because its installation steps were incomplete.
I resolved this by setting active = 0, is_processing = 0, and last_pending_action = '' for Mosaic/Pro, then running:
php cmd.php xf-addon:uninstall Mosaic/Pro
After uninstall and cleanup completed, I re-enabled listeners. The site and all other add-ons now work normally.
Please investigate why installation stalled at install:6 and advise on a fix before I try installing it again.
Thanks.
Hi,
Thanks for the detailed report — the way you recovered the site was exactly right, and the “No add-on with ID ‘Mosaic/Pro’ could be found” message is expected behaviour: XenForo only registers an add-on as installed once all setup steps complete, so the CLI could not see it while it was stuck mid-install.
Step 6 of the installer only writes two rows to xf_content_type_field and clears a cache entry. There is no loop and nothing that can take a long time, so the request must have died rather than slowed down. To find out why, I need the raw PHP error log rather than XenForo’s own error log, since the site was already locked and could not write to its own log at that point.
Could you send me the contents of your PHP error log covering the time of the installation attempt? Depending on your host this is usually one of:
- /var/log/php*-fpm.log or /var/log/php_errors.log
- the error_log file in your site root or public_html
- your hosting control panel’s “Error log” view
Any fatal error, memory exhaustion or timeout entry from that moment will name the exact cause.
When you are ready to try again, please install from the command line rather than the admin panel:
php cmd.php xf-addon:install Mosaic/Pro
The CLI installer prints the actual error directly to your terminal instead of leaving the site behind the “software is currently being updated” page, so even if it fails again we will immediately see why, and your site stays reachable throughout.
It would also help to know your PHP version and whether you are running PHP-FPM or mod_php.
Could you also check whether your src/config.php contains a $config['cache'] section using Redis or Memcached? Step 6 clears a cache entry, and if the cache server was unreachable at that moment the request would hang waiting on it, which matches the long stall you described. If you do use one, confirming whether it was healthy at the time would help.
For what it’s worth, 1.0.41 made no database changes at all, so its installer is identical to the previous release. That points to something specific to your server rather than a change in this version, and the log should tell us which.
Thanks for your patience with this.