Open erickcardosomx opened 4 years ago
Hi,
When you first load CollectiveAccess, it tries to download and install extra PHP components it needs to function. CollectiveAccess uses the Composer package manager tool to do that.
While composer is running the background, retrieving all necessary packages, it hits a hard limit on how much RAM memory it's allowed to use. That triggers the error.
You could try this to solve this:
vagrant halt
)Vagrantfile
and set the memory parameter from 1024 to 2048. This is how much system RAM you are going to allocate to the virtual machine. Caution: it can never be higher then what you physically have in your computer.vagrant up
and vagrant ssh
)/etc
and look for php.ini
files (.eg. cd /etc && find . -name php.ini
)vim
or nano
) and look for the memory_limit
setting. It's currently set to 512. You could up that to 1024. You also need to do this as either root or via sudo.This project is several years old now. It uses an old versions of PHP, MySQL, Ubuntu, etc. So, it's long past it's warranty anyways.
Hi
I made the vagrant installation without problem, when I access from my browser send me this message
"Your installation is missing required vendor libraries. This is normal if you have just installed from a Git branch. Click here to automatically load the required libraries, or see the wiki for instructions on installing the required libraries manually. NOTE: Installation may take some time."
Then I click the link for the automatically load and send me the next message. Issues with your system configuration have been detected General installation instructions can be found here. For more specific hints on the existing issues please have a look at the messages below.
Automatic installation of the required vendor libraries failed: Library installation failed: Loading composer repositories with package information; Updating dependencies (including require-dev); ; mmap() failed: [12] Cannot allocate memory; ; mmap() failed: [12] Cannot allocate memory; PHP Fatal error: Out of memory (allocated 794828800) (tried to allocate 4096 bytes) in phar:///vagrant/app/tmp/composer.phar/src/Composer/DependencyResolver/Solver.php on line 223; ; Fatal error: Out of memory (allocated 794828800) (tried to allocate 4096 bytes) in phar:///vagrant/app/tmp/composer.phar/src/Composer/DependencyResolver/Solver.php on line 223
But I can not find specific instructions for solve manually, or fix the link problem.
Could any one help me ???