Comments (12)
Hi, the container nginx is build successfully. I noticed now that I entered the wrong container, so the default.conf is generated successfully.
Nevertheless, I get a number of errors when I call http://localhost:8080/ . Any ideas what could be the problem? Thanks :)
Edited: Found now the issue an additional configuration in the site.conf was missing https://pimcore.com/docs/5.x/Development_Documentation/Installation_and_Upgrade/System_Setup_and_Hosting/Nginx_Configuration.html
# rewrite ^/cache-buster-(?:\d+)/(.*) /$1 last;
Btw. another improvement for your readme, I had to append to the command bin/console assets:install
also the destination directory bin/console assets:install web
from pimcore-docker-setup.
You're totally right. I've updated the site.conf and the README files.
from pimcore-docker-setup.
Hi,
is your nginx container running? After docker-compose up -d
, check with docker-compose ps
if the container nginx was build successfully.
Actually the nginx image has always a default site config under this path.
Is your output from your nginx container?
from pimcore-docker-setup.
Great thanks :)
Another problem: for some reason the images (in the frontend and also in the backend) are not displayed correctly. The directory /web/var/tmp/image-thumbnails has no files.
from pimcore-docker-setup.
I've found the problem. For generating thumbnails imagick needs to be installed. I've updated the Dockerfile.
After rebuilding the container you can run php bin/console pimcore:thumbnails:image
. All Thumbnails will be created under /web/var/tmp/image-thumbnails
.
After that, make sure that you set the right permissions for /web/var
. I've just set `/web/var' to 755.
Then you should be able to see the thumbnails in frontend and the previews in admin panels.
from pimcore-docker-setup.
Hi, unfortunately it's still not working. No thumbnails were generated inside /web/var/tmp/image-thumbnails. All folders are empty, even if I updated the php dockerfile and executed php bin/console pimcore:thumbnails:image
from pimcore-docker-setup.
Did you build your container new? With docker-compose build
?
from pimcore-docker-setup.
Yes i did the following docker-compose build --no-cache nginx php
I tried now to completely reinstall the application, but also there I'm receiving now some errors. Have some new PHP extensions been added to the package?
from pimcore-docker-setup.
Yeah my fault. I've deleted the gd extension in Dockerfile.
I've enabled it again. Try build and thumbnail generation again.
from pimcore-docker-setup.
When I tried to reinstall pimcore and I follow your readme instructions, it gives me the following error message on the command
cd pimcore && COMPOSER_MEMORY_LIMIT=-1 ./vendor/bin/pimcore-install \ --admin-username=admin --admin-password=admin --mysql-host-socket=mysql \ --mysql-username=pimcore --mysql-password=pimcore --mysql-database=pimcore --no-interaction
from pimcore-docker-setup.
Hey,
this is just because of the backslashes \ . Remove them from the command. Seems like the console can not read it correctly when you copy and paste it.
I've reverted this change in the README file.
from pimcore-docker-setup.
Hi, it's working now. Thanks for the help :)
from pimcore-docker-setup.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pimcore-docker-setup.