View Issue Details

IDProjectCategoryView StatusLast Update
5807Composrinstallerpublic2024-07-25 03:57
ReporterPDStig Assigned ToPDStig  
PriorityhighSeverityminor 
Status resolvedResolutionfixed 
Product Version11.beta1 
Summary5807: Quick installer does not run install_env health checks
DescriptionThe quick installer does not run install_env health checks like the manual installer does. This is probably due to the need for the installer to grab the necessary files out of the cms archive to do so.

But if we're recommending everyone use the quick installer, it should be able to run install checks as well (or at least document that it does not).
TagsRoadmap: v11
Attach Tags
Attached Files
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

admin

2024-07-25 01:55

administrator   ~8926

Automated message: This issue was created using the Report Issue Wizard on the Composr homesite.

admin

2024-07-25 03:48

administrator   ~8927

Last edited: 2024-07-25 03:50

Automated response: Quick installer does not run install_env health checks

The quick installer does not run install_env health checks like the manual installer does.

Actually this had multiple issues:
* addon_installed did not consider data.cms in quick installer for finding addon registry hooks
* getting default zone page was trying to query the database when we have not set that up yet
* find_all_hooks needed a file_array equivalent of scandir which get_dir_contents does not serve
* execute_module_functions also did not consider file arrays
* CHMOD test is not necessary for quick installer
* TTF test cannot run an actual test on a font file in the quick installer; disabled this check completely for TTF support check.
* Base URL test was hitting either data/empty.php or the homepage. Both do not exist when using the quick installer, so now it will hit install.php if running the installer.

admin

2024-07-25 03:48

administrator   ~8928

Fixed in Git commit bf14be2e0d (https://gitlab.com/composr-foundation/composr/commit/bf14be2e0d - link will become active once code pushed to GitLab)

admin

2024-07-25 03:48

administrator   ~8929

A hotfix (a TAR of files to upload) has been uploaded to this issue. Only apply this hotfix if you absolutely need it and cannot wait until the next release of Composr (releases are more reliable and strictly tested). As of Composr version 11, the recommended way to apply a hotfix is by following the same steps as an upgrade (https://baseurl/upgrader.php, use the hotfix on the step “Transfer across new/updated files”). The upgrader will automatically skip files belonging to addons you do not have installed or that are newer on disk than in the hotfix. Otherwise, you can manually extract and replace these files (do not replace if your on-disk file is newer than the one in the hotfix). Always take backups of your site or at least files you are replacing before applying a hotfix. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).

Issue History

Date Modified Username Field Change
2024-07-25 01:55 PDStig Tag Attached: Roadmap: v11
2024-07-25 03:50 PDStig Note Edited: 0008927
2024-07-25 03:57 PDStig Severity Trivial Bug => Minor Bug
2024-07-25 03:57 PDStig Description Updated