Hello All,
Trying to get CollectiveAccess Providence installed on Ubuntu 22.04 (also tried 24.04 and 26.04)
I've followed this guide : https://docs.collectiveaccess.org/providence/user/setup/install/Ubuntu_20.04
But . . . I get different results when I try and access ip address/ca for this first time.
1 - If I try the download using git clone --depth=4 https://github.com/collectiveaccess/providence.git ca
It displays Automatic installation of the required vendor libraries failed: Library installation failed: The repository at "/var/www/html/ca" does not have the correct ownership and git refuses to use it:; ; fatal: detected dubious ownership in repository at '/var/www/html/ca'; To add an exception for this directory, call:; ; git config --global --add safe.directory /var/www/html/ca; ; Composer could not detect the root package (collectiveaccess/providence) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version; Installing dependencies from lock file (including require-dev); Verifying lock file contents can be installed on current platform.; Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run composer update or composer update.; - Required package "guzzlehttp/psr7" is in the lock file as "2.7.1" but that does not satisfy your constraint "2.8.*".; - Required package "webonyx/graphql-php" is in the lock file as "v14.11.10" but that does not satisfy your constraint "15".; This usually happens when composer files are incorrectly merged or the composer.json file is manually edited.; Read more about correctly resolving merge conflicts https://getcomposer.org/doc/articles/resolving-merge-conflicts.md; and prefer using the "require" command over editing the composer.json file directly https://getcomposer.org/doc/03-cli.md#require-r
I've worked through this and all the recommendations make no difference.
2 - If I download the zip and unzip I get:
Fatal error: Uncaught RuntimeException: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.4.0". You are running 8.2.31. in /var/www/html/ca/vendor/composer/platform_check.php:26 Stack trace: #0 /var/www/html/ca/vendor/composer/autoload_real.php(25): require() #1 /var/www/html/ca/vendor/autoload.php(22): ComposerAutoloaderInit5d088babd6a3d9e547a4b74fc9647154::getLoader() #2 /var/www/html/ca/app/helpers/preload.php(86): require_once('...') #3 /var/www/html/ca/app/helpers/post-setup.php(419): require_once('...') #4 /var/www/html/ca/setup.php(294): require('...') #5 /var/www/html/ca/index.php(37): require('...') #6 {main} thrown in /var/www/html/ca/vendor/composer/platform_check.php on line 26
Any help pointing me a direction of resolving this would be grateful.