View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
5075 | Composr alpha bug reports | General / Uncategorised | public | 2022-11-22 17:49 | 2022-12-23 15:33 |
Reporter | Adam Edington | Assigned To | Chris Graham | ||
Priority | normal | Severity | trivial | ||
Status | new | Resolution | reopened | ||
Summary | 5075: v11 installer permissions | ||||
Description | "Cannot write to comcode_safelist.txt. File permissions for it (or the directory it is in) have not been set correctly." Quite a list of files that cannot be written to according to initial install checks, this error message happens on Step 5. v10 installs without issue on the same Bitnami Wampstack. | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
Attached Files | |||||
Sponsorship open | |||||
|
Is there anything more you can say about this? Did you try and chmod any of the files mentioned? Did you need to chmod for v10? |
|
This is localhost Bitnami Wampstack. Never had to chmod anything for v10 (local or live) but I have tried with v11 to no avail so not sure what's causing this. v10 installs without issue is all I know for sure. |
|
v11 explicitly scans permissions in a detailed way, while v10 just checks to see if PHP thinks files are writable. My guess is that the server is not suEXEC, but has the web server user and the hosting account user in the same group, with default permissions to make things writable for that group. If you can run who.php on your server and tell me the output that will help me confirm. |
|
nt authority\system |
|
Oh, it's a Windows server? |
|
Oh of course, you said Wamp |
|
I've looked at this, and I got a lot of errors on Windows IIS too. Windows permissions are much more complex than Linux ones, due to how access-control-lists and (on IIS) application pools work. I've made some improvements so it works better. But I've also simply disabled the permission check on the installer on Windows unless explicitly enabled via a URL flag because I'm concerned about performance. |
|
Actually I'll add permissions check back in for Windows, but I'll make the basic permission check (which the installer does) work more like how it used to - checking writability directly rather than reading and comparing the individual permissions (slow). We'll then keep the more advanced check for the upgrader and the Health Check. |
|
Excellent, thank you. |
|
Had another attempt with latest files, failed on Step 5 again. Still got a big list of permission issues on initial install page but I notice there is a change from forward slashes to backslashes in the paths which is likely the cause:- "Set additional permissions for W:\Bitnami\wampstack-8.0.20-0\apache2\htdocs\v11/uploads/website_specific/graph_test (execute)." Also of note:- A Composr file, sources/hooks/systems/addon_registry/all_icons.php is missing – it needs to be uploaded. 13 corrupt files mentioned (I know this is due to alpha state):- themes/default/templates/ECOM_TRANSACTION_BUTTON_VIA_CCBILL.tpl themes/default/templates/ECOM_SUBSCRIPTION_BUTTON_VIA_CCBILL.tpl themes/default/templates/HTML_HEAD.tpl themes/default/templates/MEDIA_VIMEO.tpl themes/default/css/news.css themes/default/css/global.css themes/default/javascript/webfontloader.js themes/default/javascript/core_rich_media.js lang/EN/galleries.ini lang/EN/ecommerce.ini lang/EN/cleanup.ini lang/EN/cns_components.ini data/db_meta.bin |
|
Path issues (mixed slashes) |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-11-22 17:49 | Adam Edington | New Issue | |
2022-11-22 17:49 | Adam Edington | Status | Not Assigned => Assigned |
2022-11-22 17:49 | Adam Edington | Assigned To | => user4172 |
2022-11-23 18:27 | Chris Graham | Note Added: 0007729 | |
2022-11-23 18:35 | Adam Edington | Note Added: 0007730 | |
2022-11-23 18:42 | Chris Graham | File Added: who.php | |
2022-11-23 18:43 | Chris Graham | Note Added: 0007731 | |
2022-11-23 18:48 | Adam Edington | Note Added: 0007732 | |
2022-11-23 18:50 | Chris Graham | Note Added: 0007733 | |
2022-11-23 18:50 | Chris Graham | Note Added: 0007734 | |
2022-11-24 00:39 | Chris Graham | Assigned To | user4172 => Chris Graham |
2022-11-24 00:39 | Chris Graham | Status | Assigned => Resolved |
2022-11-24 00:39 | Chris Graham | Resolution | open => fixed |
2022-11-24 00:39 | Chris Graham | Note Added: 0007735 | |
2022-11-24 01:06 | Chris Graham | Note Added: 0007736 | |
2022-11-24 01:25 | Adam Edington | Note Added: 0007737 | |
2022-11-24 09:55 | Adam Edington | Note Added: 0007738 | |
2022-11-24 09:55 | Adam Edington | Note Edited: 0007738 | |
2022-11-24 10:04 | Adam Edington | Note Edited: 0007738 | |
2022-11-24 10:07 | Adam Edington | Note Edited: 0007738 | |
2022-11-24 10:08 | Adam Edington | Note Edited: 0007738 | |
2022-11-24 10:09 | Adam Edington | Note Edited: 0007738 | |
2022-11-27 23:12 | Adam Edington | Status | Resolved => Not Assigned |
2022-11-27 23:12 | Adam Edington | Resolution | fixed => reopened |
2022-11-27 23:12 | Adam Edington | Note Added: 0007749 | |
2022-11-28 18:35 | Chris Graham | Project | Composr => Composr alpha bug reports |
2022-11-28 18:35 | Chris Graham | Category | installer => General |
2023-02-26 18:29 | Chris Graham | Category | General => General / Uncategorised |