Cocolabs-SAS / cocorico

👐 Cocorico is an open source marketplace solution for services and rentals. More information right here: https://www.cocorico.io/ 🚀 Cocorico is also available in an off-the-shelf SaaS package, check out https://www.hatch.li to launch your platform today. 😍 We are hiring (telecommute welcome 🏡): https://www.welcometothejungle.com/en/companies/cocorico/jobs/candidatures-spontanees#apply
https://www.cocolabs.com
MIT License
860 stars 612 forks source link

fresh cocorico install issues #388

Closed rkhyd closed 5 years ago

rkhyd commented 5 years ago
Q A
Bug report? [ ]
Feature request? [ ]
Support request? [y]

I have done two cocorico installs before and they went very smooth. However, with the new version there have been lot of problems. I have installed fresh cocorico and this is the result. image Apache error log reads PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 536870920 bytes) in /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Intl/Data/Bundle/Reader/BundleEntryReader.php on line 134 memory_limit is set to -1 in php.ini file And cocorico on first run loads extremely slowly. Please advice me on how to fix the above two issues. Thanks Ravi Kumar

cocolabssas commented 5 years ago

Hi @rkhyd

we don't have these issues on our side and since SF 3.4 upgrade Cocorico is very more speed. Maybe you missed to set correctly something. Could you give more informations :

cocolabssas commented 5 years ago

Feel free to reopen it if issue persists

cocolabssas commented 5 years ago

Hi,

It seems there is a solution to the related slowness issue here https://github.com/Cocolabs-SAS/cocorico/issues/389

rkhyd commented 5 years ago

hi @cocolabssas I tried the install again on a new server, and the result is the same as above where i can see two menus and the internal server error at the bottom. This happens when we try to use prod instead of dev in these steps after the composer install command.

php bin/console cache:clear --env=prod mv web/.htaccess.prod.dist web/.htaccess chmod 744 bin/init-db && ./bin/init-db php --env=prod chmod 744 bin/init-mongodb && ./bin/init-mongodb php --env=prod php bin/console assets:install --symlink web --env=prod php bin/console assetic:dump --env=prod

Can you please test it and confirm this as a bug.. thank you.