For what ever reason, the .env.local file is being entirely ignored in favour of an expected, (but not present), docker .env file. So, Iāve created a .env file within the container config and added the $DATABASE_URL argument which has done the trick
I need to do some tidying up, but once done Ill post a link to the repo for anyone interested.
It seems to be a permission issue regarding the install.log file situated in public/legacy/ :
2021-09-13 09:19:46...ERROR: Cannot create writable dir cache/upload/import
2021-09-13 09:19:46...installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
I really donāt know what else could it be, but also donāt know what other permissions could I set instead of [myusername]:staff as it is the ones set on the root folder and into MAMP Pro ?
Thank you for your time, we can wait to start using SuiteCRM 8 !
From first glance it seems that suite is not able to write to those folders.
Are there any logs on public/legacy/suitecrm.log that seem relevant?
One thing to have in mind is that the Beta 3 zip (unlike the Beta 2) has an inner folder inside the zip, where the beta 2 had the project files directly on the root level of the zip.
How does your structure look like from the root? is SuiteCRM 8 (core, cache, etc) directly on the root folder?
I tried to set 127.0.0.1 as the database host name and the only thing that changed is that I can see a Symfony debugger bar at the bottom of the project now :
Thu Sep 16 08:28:35 2021 [65586][-none-][FATAL] Could not connect to DB server localhost as root. port 3306: No such file or directory
Database still not createdā¦
It looks like Iām not using the correct mysql as Iām running SuiteCRM via Mamp Pro.
Installation script ./bin/console suitecrm:app:install may be using the mysql installed by hand via the command line and not the one used by Mamp Pro ?
Iām currently looking for a way to find out which one is used (mysql).
Thank you very much for your help, I hope to find out what Iām missing
Thank you for the resources you gave me, it helped a bit.
Just succeed the install using the āpre-builtā package, I donāt know WHY it now works, but I think it could be because I deleted the mysql I installed using brew before, still using 127.0.0.1 instead of localhost.
Hereās the history of the CLI install :
SuiteCRM Silent Install
============
Please enter the db username: root
Please enter the db password:
Please enter the db host: 127.0.0.1
Please enter the db name: suite8
Please enter the admin username: max
Please enter the admin password: ***
Please enter the suite 8 address: http://dev.suite8/
Install demo data:
[0] yes
[1] no
> 1
Step 1: Config Creation Complete
Starting SuiteCRM CLi Installation
SuiteCRM CLi Install Complete
Step 2: Legacy Installation Complete
I will update this post when Iāll figure out how I succeed in the install, hoping itāll help some people in the same situation.
Just figured out that it may have worked because I changed localhost to 127.0.0.1 (or whatever associated IP address) following @clemente.raposoās advice.