View Issue Details

IDProjectCategoryView StatusLast Update
0005075Composr alpha bug reports[All Projects] General / Uncategorisedpublic2022-12-23 15:33
ReporterAdam EdingtonAssigned ToChris Graham 
SeverityTrivial-bug 
Status non-assignedResolutionreopened 
Summary0005075: 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.
TagsNo tags attached.
Sponsorship open

Activities

Chris Graham

2022-11-23 18:27

administrator   ~0007729

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?

Adam Edington

2022-11-23 18:35

administrator   ~0007730

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.

Chris Graham

2022-11-23 18:42

administrator  

who.php (87 bytes)

Chris Graham

2022-11-23 18:43

administrator   ~0007731

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.

Adam Edington

2022-11-23 18:48

administrator   ~0007732

nt authority\system

Chris Graham

2022-11-23 18:50

administrator   ~0007733

Oh, it's a Windows server?

Chris Graham

2022-11-23 18:50

administrator   ~0007734

Oh of course, you said Wamp

Chris Graham

2022-11-24 00:39

administrator   ~0007735

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.

Chris Graham

2022-11-24 01:06

administrator   ~0007736

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.

Adam Edington

2022-11-24 01:25

administrator   ~0007737

Excellent, thank you.

Adam Edington

2022-11-24 09:55

administrator   ~0007738

Last edited: 2022-11-24 10:09

View 1 revisions

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

Adam Edington

2022-11-27 23:12

administrator   ~0007749

Path issues (mixed slashes)

Issue History

Date Modified Username Field Change
2022-11-22 17:49 Adam Edington New Issue
2022-11-22 17:49 Adam Edington Status non-assigned => assigned
2022-11-22 17:49 Adam Edington Assigned To => Patrick Schmalstig
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 Patrick Schmalstig => 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 09:56 Adam Edington Note Revision Dropped: 7738: 0003458
2022-11-24 10:04 Adam Edington Note Edited: 0007738
2022-11-24 10:04 Adam Edington Note Revision Dropped: 7738: 0003459
2022-11-24 10:07 Adam Edington Note Edited: 0007738
2022-11-24 10:08 Adam Edington Note Edited: 0007738
2022-11-24 10:08 Adam Edington Note Revision Dropped: 7738: 0003461
2022-11-24 10:09 Adam Edington Note Edited: 0007738 View Revisions
2022-11-24 10:09 Adam Edington Note Revision Dropped: 7738: 0003462
2022-11-24 10:09 Adam Edington Note Revision Dropped: 7738: 0003460
2022-11-27 23:12 Adam Edington Status resolved => non-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