Switch dev to prod environment #17034
Replies: 5 comments 4 replies
-
BTW. I know that I can add to .env
but I do not want to do this. I want to keep
|
Beta Was this translation helpful? Give feedback.
-
Try this config:
See: https://pimcore.com/docs/platform/Datahub/Deployment#example See here for other configs: |
Beta Was this translation helpful? Give feedback.
-
cleared the cache, reload the admin panel
DO NOT WORK:
THIS IS WORKING:
|
Beta Was this translation helpful? Give feedback.
-
in config.yaml under pimcore section:
make sure you clear your cache after the change and reload the admin page in browser |
Beta Was this translation helpful? Give feedback.
-
Found what is going on with it. I had: Then I changed APP_ENV to: and added
If You have some image/video thumbnails configuration saved already with different write_target I needed to remove all image/video thumbnails configurations first then change APP_ENV to prod |
Beta Was this translation helpful? Give feedback.
-
Hi.
I have a Pimcore 11 project. This is my first Pim 11 (not 6.9) project,
I have switched .env file
from
APP_ENV=dev
to
APP_ENV=prod
And now I can not add/remove DataHub configuration and configure Image Thumbnails
I tried add (like in documentation https://pimcore.com/docs/platform/Pimcore/Deployment/Configuration_Environments/#page_Production-environment-with)
to /config/config.yaml file but it doesn not work still
tried add to .env
PIMCORE_WRITE_TARGET_DATA_HUB=settings-store
cleared the cache. does not work also.
can someone help me ?
Beta Was this translation helpful? Give feedback.
All reactions