Questions tagged [magento-cloud]
The magento-cloud tag has no usage guidance.
68
questions
0
votes
1
answer
28
views
How to clean up logs on Magento Cloud?
I would like to have a log rotation on Magento Cloud, so my logs don't become 5GB files.
Logs locations
/app/okgjweuvmlemc/var/log/
/app/okgjweuvmlemc/var/report/
From the OS side we have it, but ...
0
votes
0
answers
17
views
Adobe Certified Expert-Adobe Commerce Cloud Developer code
Can anyone tell me the exam code for Adobe Certified Expert-Adobe Commerce Cloud Developer?
Seems like the this one is changed
AD0-E706 Adobe Commerce Cloud Developer Expert
Thanks
0
votes
0
answers
23
views
magento-cloud CLI ssl cert error
I just installed magento-cloud cli on my local environment however after install I am getting an error that says
cURL error 60: SSL certificate problem: certificate has expired
I have seen another ...
0
votes
0
answers
7
views
How to add custom attribute to newrelic on pageview action in magento2?
We are using magento cloud, On pageview action need to add custom attribute called "B2bCustomer" to NewRelic.
I have found
https://docs.newrelic.com/docs/apm/agents/php-agent/php-agent-api/...
0
votes
2
answers
98
views
css file can not be read?
I am trying to deploy a magento2.4.4 cloud staging environment and getting the below error. I am not sure how to troubleshoot this.
The contents from the "/app/pub/static/adminhtml/Magento/base/...
0
votes
3
answers
67
views
Import .gz mysql export file from Production Magento2 Cloud to Stage Magento2 Cloud
I have a Magento2.4 commerce cloud and I need to dump the existing staging website database and then take an existing database dump I just made which is on production. var folder and get it imported ...
0
votes
2
answers
125
views
Magento Cloud local installation issues!
I was trying to set up a Magento cloud development environment on my local computer. Please let me know if Am I on the right track or any additional steps I am missing out. Thank You.
The following ...
2
votes
1
answer
40
views
Magento 2 cloud getDefaultStore return null object when multiple store
I have cloud enterprise project with multi website. We are facing issue of null object is returned from getDefaultStore method.
I have created one admin role and given full access but assigned only ...
0
votes
1
answer
63
views
Which file is used to define the list of services available in an application on Adobe commerce cloud?
Was going through official Magento Certification AD0-E717 mockup test, have a doubt on one of the answer -
I selected option D but it's showing Answer A -
Here it's clearly saying services.yaml for ...
0
votes
1
answer
93
views
How to set the MAGE_INDEXER_THREADS_COUNT variable in Magento cloud?
In the docs, Magento advises us that we can set the MAGE_INDEXER_THREADS_COUNT environment variable:
run the reindex command using the environment variable MAGE_INDEXER_THREADS_COUNT, or add an ...
0
votes
1
answer
42
views
How do I start a project on Magento Cloud?
I would like to know how can I create a project on https://accounts.magento.cloud?
for example like the image:
I couldn't find any about it.
0
votes
0
answers
42
views
Is there a difference between dumping a normal database or slave?
I'm dumping the magento-cloud database to work on my local machine.
What I'm trying to figure out is the difference between the types of production databases available (normal and slave).
Is it better ...
0
votes
1
answer
116
views
Magento 2 Cloud: turn on developer mode
Need to turn on developer mode NOT via command:
bin/magento deploy:mode:set developer
Need to turn on it via deploy.
Does anyone know how to do it?
0
votes
1
answer
30
views
Magento Cloud - Cannot sorting products list by min_price DESC or ASC
I'm developing a website using Magento Cloud.
I created 2 new sort-by options as attachments below:
When I select sort-by "Price Low to High" or "Price High to Low". I always ...
0
votes
1
answer
23
views
How to migrate/backup all remote branches
Steps as follows:
$ magento-cloud project:get e7s9kiwfapxcy
$ cd cloned-directory
$ git branch -a
Output:
* master
remotes/magento/HEAD -> magento/master
remotes/magento/jcollins
remotes/magento/...
0
votes
0
answers
235
views
Multi-factor authentication: not verified Magento Cloud Setup in Localhost Ubuntu
I'm trying to set up Magento commerce cloud in localhost,
I have to Enable the SSH key and added it to the Magento Cloud also,
but when I run this command it gives an error,
magento-cloud ssh-cert:...
0
votes
0
answers
393
views
How to upgrade Magento clud 2.3.3-p1 to Magento cloud 2.4.4?
I have followed https://magento.stackexchange.com/a/325148/67054
But on composer update step get many errors regarding fastly, cloud-metapackage and framework related.
Do I have to switch phpversion ...
0
votes
2
answers
94
views
Why my Magento Cloud suddenly show DI generation issue?
I didn't deploy anything for 1 month on my Magento Cloud, but I started to see this error message in my var/log folder.
[2022-03-27 00:16:06] report.CRITICAL: Can't create directory /app/avycv8hfbkyv1/...
2
votes
0
answers
349
views
Composer replace no longer working for Magento Cloud 2.4.3
I was trying to setup a new Magento Cloud 2.4.3 project, and wanted to remove unnecessary module from the installation. I usually use yireo/magento2-replace-all package to clear out some of the module ...
0
votes
2
answers
468
views
Magento cloud setup install failure
I am trying to install magento in magento cloud.
To do so I did:
check out https://github.com/magento/magento-cloud
setup auth.json
setup env:COMPOSER_AUTH in the project with same values stored in ...
0
votes
2
answers
187
views
Magento2 Product image not getting displayed in search result & cart page
Magento2.4.2 Cloud. I uploaded a product image from Admin for 1 product, but the issue is that the image gets displayed on the product details page & mini-cart, but it is not getting displayed on ...
0
votes
1
answer
37
views
How to change the locale options in magento cloud sandbox environment?
I am using the magento cloud sandbox to work.
And I want to change the locale information at the backend admin panel.
But the checkbox of locale options is locked and cannot be changed.
I think maybe ...
1
vote
1
answer
852
views
How to force Magento Cloud to recompile?
After pushing a new code to my Magento Cloud staging environment, the JS stopped working in the backend, I don't run compilation commands out of the Magento Cloud pipelines, but since the deployment, ...
1
vote
1
answer
291
views
How to upgrade a Magento Cloud project via Composer?
In a Magento Enterprise or Magento Community version I just need to change the package version in my composer.json.
How could I do the same in my Magento 2.3.7-p1 Cloud to update to Magento 2.3.7-p2?
0
votes
1
answer
367
views
How to setup NPM package execution on Magento Cloud?
I need to run a command to compile my theme styles and commit them every time I need to push something new, these are the commands below.
npm i
gulp style
gulp js
When I try to run it via the Magento ...
1
vote
1
answer
205
views
magento 2 cloud docker setup for 2.4.3-p1 failed gives error
I am trying to setup magento2.4.3-p1 with cloud docker when I run the docker.sh command
curl -sL https://github.com/magento/magento-cloud-docker/releases/download/1.2.0/init-docker.sh | bash -s -- --...
2
votes
0
answers
34
views
Magento 2 Coupon code restriction
I'm trying to modify the coupon code scenario and below is the scenario that I need to achieve.
Full cart total should be >= $499.
I added the condition that if a configurable product is found in ...
0
votes
1
answer
176
views
Why Magento 2 Cloud integration and development environments are very slow?
My Magento 2 installation on production and staging is working well, but on development and integration environments the same code is very slow.
how could I find the issue?
0
votes
1
answer
164
views
Magento Cloud space error
I have a Magento Cloud instance with 50GB of space, but my Magento is running out of DB space, how is that possible?
0
votes
2
answers
265
views
Disable Company Approval Magento 2
In my project whenever any user visits the front-end & creates an account. Company form is displayed. After entering all valid information, an email is sent to the user to set a password. After ...
1
vote
2
answers
355
views
get db size with magento-cloud cli
I am trying to use the magento-cloud cli and getting the following error when i try to use the
magento-cloud db:size command.
vagrant@ubuntu-bionic:~$ magento-cloud db:size
Enter a number to choose a ...
1
vote
1
answer
685
views
phtml that includes additional php file
Magento 2.3.4 Enterprise cloud
I need to upload a php file that I then can call into a phtml file .
I am trying to use the below code but it seems to cause a 500 error
<?php
include($block->...
0
votes
2
answers
436
views
How to know if you're running out of space with Magento Cloud?
Sometimes I got many issues related to space in my Magento Cloud, then I clean up logs and database reports and it starts to work again.
How could I measure it?
1
vote
1
answer
132
views
Why Magento Cloud doesn't show product's image in the admin, but showing it in the frontend?
I'm adding product images in the admin panel, but after save it's not showing the image in the backend.
The result is 200 and opening it in a new window the image is blank, what could I do?
0
votes
1
answer
96
views
Why my CSV import worked but didn't apply the changes?
I imported a CSV file with 5 products, the CSV is successfully validated and imported, however, when I went into one of the products that I imported, the update didn't have an effect. After one hour I ...
0
votes
1
answer
276
views
Issues connecting Magento Cloud to Bitbucket
Following the Bitbucket integration guide, I provided all the required permission to the Auth Consumer, and I log out and log in again with my Magento Cloud CLI, but even though I keep having this ...
1
vote
0
answers
21
views
Magento 2.4 Issue with Product saleble qty
I have installed Magento 2.4 enterprise edition and enabled MSI with 5 warehouse and backorder. Placed one backorder with qty 1. When i see the product saleable qty in admin it shows -5, after the ...
0
votes
1
answer
291
views
Magento Commerce Cloud Docker Deployment - Invalid entity_type specified: customer
I have an existing Magento Commerce Cloud Project which I want to deploy to a Docker environment.
Running ./bin/magento-docker ece-deploy I get the following error:
Running "deploy" hook.
[...
0
votes
2
answers
2k
views
Magento 2: Update default value for custom customer attribute programmatically
We have a custom boolean customer attribute created from installSchema script like below:
$eavSetup->addAttribute(
\Magento\Customer\Model\Customer::ENTITY,
'test_attribute',
...
1
vote
2
answers
606
views
How to find Magento Cloud DB credentials?
I've one integration environment it was working well but one of my developers deleted the env.php, now I can't make it work again.
How could I find my database credentials to my integration env in my ...
0
votes
2
answers
51
views
Magento 2 EE: Running composer update is giving error
I am trying to run composer update and want to push the changes to magento cloud but is giving the following error:
Problem 1
magento/product-enterprise-edition 2.3.4 requires ext-bcmath * -> the ...
0
votes
1
answer
87
views
Elastic search throws errror while running upgrade command via CLI in magento 2
I have successfully cloned & installed a Magento cloud environment Magento 2.4.2 in my local instance.
And also installed elastic search and tested it via the command line and it's working fine.
...
1
vote
1
answer
228
views
Difference between magento-cloud variable:list and vendor/bin/ece-tools env:config:show
I'm having issues setting the CRYPT_KEY environment variable in production mode. I can see CRYPT_KEY and env:CRYPT_KEY using the magento-cloud variable:list command, but it isn't recognized when I run ...
0
votes
2
answers
275
views
Cannot gather stats and Invalid template file after installing Porto theme
After setting up Magento 2 in developer mode, I am getting a couple of errors:
[2021-04-19 21:39:09] report.INFO: Broken reference: the 'yotpo_bottomline' tries to reorder itself towards 'product.info....
0
votes
1
answer
110
views
php.ini on magento cloud readonly
I need increase some values in my php.ini from magento-cloud environment, but with my user with admin roles opens the file in onlyread mode.
Searching I found this, wasn't succesfully
Disable/Readonly ...
0
votes
1
answer
143
views
Are http_cache_hosts Applicable When Using Magento Cloud With Fastly?
Magento with Varnish
When using Magento with plain old Varnish, you can configure http_cache_hosts in app/etc/env.php to instruct Magento to automatically purge Varnish caches when Magento Caches are ...
0
votes
1
answer
39
views
Error: Unable to upload application to Magento Cloud
When I try to push a new code to my Magento Cloud instance I get this error below, it doesn't matter which version, even a version that worked previously.
How could I find the issues?
0
votes
2
answers
531
views
Can we remove Integration environment from magento cloud project?
We are having lots of extra code on integration environment. I cannot reset the commits on this branch as there are lots of issues on integration branch. So I wanted to remove integration environment ...
0
votes
1
answer
97
views
What are the differences between magento cloud extension and open source extension?
I am searching about cloud extension and open-source extension in Magento. I didn't find any differences between them.
I checked the Magento Extension page, some Extensions have Commerce Cloud and ...
0
votes
1
answer
160
views
Magento on AWS vs Magento Cloud
What is difference b/w hosting Magento on AWS vs Magento Cloud.
Need to understand the difference and each one's advantage.