I tried to install a new instance of elgg via the recommend command line method and failed. It did work with downloading the file however.
The error after vendor/bin/elgg-cli install was:
In NativeSessionStorage.php line 150:
Failed to start the session because headers have already been sent by "/Sites/org.example/vendor/tedivm/stash/src/Stash/Utiliti
es.php" at line 212.
Install on macos 11.6 with nginx and M1
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Jerome Bakker@jeabakker

Jerome Bakker - 0 likes
- Did the dataroot folder exist you provided in the installation steps?
- Are the permissions for that folder set correctly?
- What PHP version are you using?
- JanS@JanS

JanS - 1 like
You must log in to post replies.A quick look in the code, this looks like a filesystem issue.
If you still have problems could you maybe log the issue in GitHub https://github.com/Elgg/Elgg/issues that way it's easier for us (the core developers) to help you.
The dataroot folder did exist.
It had 755 permissions.
PHP 8.0.12
Going the route with the download instead of the command line solved the problem.
Will post to github issues from now on.
Thanks!