View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
5451 | Composr | installer | public | 2023-11-21 21:05 | 2023-12-02 02:34 |
Reporter | PDStig | Assigned To | PDStig | ||
Priority | normal | Severity | trivial | ||
Status | resolved | Resolution | fixed | ||
Product Version | 10.0.43 | ||||
Fixed in Version | 10.0.44 | ||||
Summary | 5451: Copy _config.php to _config.php.bak when installing over another install | ||||
Description | The installer really should be copying the current _config.php to _config.php.bak when running over a current install. Sometimes, people may have git_repos() switches in their config file. And the installer will erase this. Port this to v11 as well. Add new .htaccess and web.config rules to block access to _config.php.bak. Modify the warning screen on step 5 when overwriting an install to include information about this happening and what the user might need to do after install (copy stuff from .bak back into _config.php). Actually, the warning screen should probably be more "warning"ish and draw more attention; it's a critical screen. | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
Attached Files | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||
|
Automated response: Back up _config.php when running the install We should be backing up _config.php when running the installer over an existing install. Members might have custom configs depending on git branches which are otherwise lost. This fix will make the installer create a _config.php.bak.* file (* is the current timestamp). |
|
Fixed in git commit 00007268ad (https://gitlab.com/composr-foundation/composr/commit/00007268ad - link will become active once code pushed to GitLab) A hotfix (a TAR of files to upload) has been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. If there are files in a hot-fix that you don't have then they probably relate to addons that you don't have installed and should be skipped. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/). |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-11-21 21:05 | PDStig | New Issue | |
2023-11-21 21:05 | PDStig | Status | Not Assigned => Assigned |
2023-11-21 21:05 | PDStig | Assigned To | => user4172 |
2023-11-21 21:06 | PDStig | Description Updated | |
2023-11-21 21:07 | PDStig | Description Updated | |
2023-11-21 21:07 | PDStig | Description Updated | |
2023-11-21 21:08 | PDStig | Description Updated |