Open RafaelAybar opened 5 years ago
@RafaelAybar I'm editing my previous post. It appears as if the last edit to docker-entrypoint-sh broke the logic. Line 76 checks to see if two files exists and if they don't, it copies in the mautic files to the web root. That new logic is broken and it doesn't copy the files as required on a new installation. If you replace line 76 with the code below, the installation will succeed.
if ! [[ -e index.php && -e app/AppKernel.php ]]; then
I think I'm still having some permissions problems after the file copy. I don't have the volume mapped and perhaps that is causing the problem. On the last step of the configuration I get an error.
One more update and I've got this running in my Kubernetes environment. I had to run the following command before going through the installation steps or I got an error on the screen where you enter the admin login information.
app/console cache:warmup --env=prod
@tomingoglia I have the volume mapped but still get the permission issues. I see the owner of the directory in /var/lib/docker/volumes is www-data on my host at least. How did you fix the permissions issue?
@mikob, I may have done a chmod to 777 before I tried the cache warmup. I'm still researching what the right permissions should be for production. Pretty much hit it with a hammer at this point.
@tomingoglia I will take a look later, I am busy with other projects, but i will try this fix as soon as a I can. Thanks!
Hi, i am trying to build fpm-beta docker image, but i have the following errors: