Questions tagged [server-setup]
All issues related to LAMP stack for your Magento installation. This can include Apache, Nginx, Lightspeed or any other web server. There is a tag for MySQL so I would reserve those questions for more specific database questions. This can also include vhosts, tuning, tricks and tips.
319
questions
0
votes
1
answer
23
views
Help with strange Magento behaviour on VPS. Cart not updating until after page refresh, cache refreshes after navigating away from page
We're having a strange problem that we can't seem to get to the bottom of. No errors are being shown.
Within the CMS, if we click flush cache, the page quickly refreshes and nothing seems to happen. ...
0
votes
0
answers
21
views
Magento 2 save admin integration it shows 404 error: Page not found
We are using magento version 2.4.6-p3 when we are trying to save admin integration it shows 404 error: Page not found.
We can save Design configuration,product,categories but 404 error only coming ...
0
votes
0
answers
80
views
Magento 2 Website getting down
We host our dev and production sites on the same server. However, the production Magento site is going down randomly but, the dev is up at the same time.
It is like the website is not loading. I have ...
0
votes
2
answers
26
views
Magento2: Unable to transfer/move the CSV file from var/report to another server
I'm unable to move the generated csv file from my var/report folder to another sftp server.
Please help me.
1
vote
2
answers
304
views
Magento2: The env.php file keeps automatically changing
The file env.php is changing automatically and randomly.
Environment:
Cluster server
Deployer
Magento 2.4.6-p3
Redis, varnish and cloudflare
php 8.1
Here is the actual the env.php
'session' => [...
0
votes
0
answers
35
views
Upgrading Old Installation and Server. Magento 2.3.4 to 2.4.6
I have an old Ubuntu server that I need to update along with everything else as its been neglected for many years.
Some Server Details are:
Ubuntu 16.04.4 LTS
PHP is 7.2.24
Magento version is 2.3.4
I'...
0
votes
2
answers
331
views
PageSpeed - How to reduce Reduce initial server response time and Eliminate render-blocking to increase page speed
In gtmetrix, I am facing high initial server response time and render-blocking resources.
1
vote
2
answers
996
views
How to set magento 2 sudo chown -R username:www-data
I'm using AWS EC2 ubuntu 22.04 to install magento2.4.6, but I'm confused about sudo chown -R user_name:www-data ., what should the user_name be, ubuntu or root.
The default ssh user of ubuntu 22.04 is ...
0
votes
1
answer
392
views
Running security patch isn't working
I tried multiple times running patch -p1 ACSD-47578_2.4.4_2.4.5_COMPOSER_patch.composer.patch, even after running full server build on Magento root, but it seems to be stuck as seen in the image below....
1
vote
2
answers
279
views
how can we increase performance of bulk product save in magento 2 api
when we test performance of bulk product create api request using Apache 2 Benchmark, it takes to much time for return response of request.
I tested bulk api requests with 200 total number of requests ...
2
votes
2
answers
65
views
Sizing for Store with 36k Products and 220 Attributes
how should I dimension my server for a shop with 36,000 products (7k configurables)? The products have up to 220 attributes, of which about 60 are displayed on the PDP. 30 attributes are searchable.
...
0
votes
0
answers
1k
views
Warning: require(vendor/autoload.php): Failed to open stream: No such file or directory in
Below is the error I get in store frontend.
Warning: require(vendor/autoload.php): Failed to open stream: No such file or directory in /home/magento/web/mymagentostorename.com/public_html/poms/libs/...
1
vote
1
answer
414
views
Magento 2 - Not Receiving Email After Order
I have this demo Magento 2 store (ver. 2.4.4) built on a Debian server and for some reason I'm not receiving emails after I make an order.
In Stores > Configuration > Sales > Sales Emails I ...
0
votes
2
answers
235
views
Magento 2 on Multi Server Architecture vs CI/CD
I have set setup of magento on multi server in AWS with loadbalancer - when there is cpu load of more than 80 percent new server is auto created with Base server images on specific time
I am facing ...
1
vote
1
answer
3k
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, ...
0
votes
1
answer
1k
views
RabbitMQ doesn't have any queue, how to solve it?
I have RabbitMQ installed and configured, but when I run this command below I receive a message saying No items.
python3 /usr/bin/rabbitmqadmin --host rabbitmq -u username -p ...
1
vote
3
answers
880
views
Magerun Unable to find the wrapper "phar"
I was able to run Magerun and suddenly is stopped working, and this error message showed up.
Warning: file_exists(): Unable to find the wrapper "phar" - did you forget to enable it when you ...
1
vote
2
answers
496
views
How to check Log4j in Magento installation?
I don't know if my Magento server is infected by Log4j, how could I check it?
1
vote
1
answer
2k
views
Log4j CVE-2021-44228 Magento 2.3 / 2.4 with ElasticSearch
Has someone checked if a Magento 2.3/2.4 installation with ElasticSearch is vulnerable to the Log4j exploit CVE-2021-44228?
I've checked for the relevant .jar files in the ElasticSearch Apache CVE-...
0
votes
1
answer
349
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
303
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
1
answer
720
views
Is it possible to run Elasticsearch and Magento 2 on different server?
I have a question and still considering it now. I have Magento 2.4.2 running on cloud hosting but in the way I found an issue with installing ES. cause ES not support install on shared/cloud hosting.
...
2
votes
2
answers
2k
views
Elasticsearch Regular Search Returns No Results
I've recently upgraded my Magento to 2.4 which necessitates the use of Elasticsearch.
Using the search function always shows the message "Your search returned no results". However using &...
0
votes
2
answers
709
views
How to zip all my Magento 2 files on my server?
How could I zip all my Magento files excluding non-required to a local setup?
I usually run this command to get all the files. But, it takes too long and the files are too heavy.
zip -r magento2.zip ./...
0
votes
2
answers
110
views
How to Fix 500 Internal Server Error in Magento 2?
500 error in Magento 2 I faced at the time installation or up gradation of Magento, or while I backup the system on the product page or login admin page.
1
vote
2
answers
948
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?
0
votes
0
answers
190
views
Magento2. client denied by server configuration on hosting error report
client denied by server configuration on hosting error report
When I check Cpanel errors I can see below errors appear lot of time
AH01630: client denied by server configuration: /home/b/public_html/...
0
votes
1
answer
2k
views
Magento 2.4 Error flushing Varnish server. Host: "127.0.0.1". PURGE response code: 405 message: Not Allowed after running upgrade command
I enabled varnish cache from admin(magento 2.4), then I ran this command
bin/magento setup:config:set --http-cache-hosts=127.0.0.1
Now I can't run the upgrade script. I'm getting this error:
Error ...
0
votes
1
answer
488
views
How to detect CRON issues from the server side?
It seems like we're having CRON issues, I usually check it via this command below.
./n98-magerun2.phar sys:cron:history
How could I check it more precisely?
0
votes
1
answer
30
views
Checkout cart suddenly is not working anymore
In the middle of the day after 2 months without deploying anything, my Magento 2 cart is not working, everyone that tries to go to the cart account sees an error 500, my server said it's probably a ...
0
votes
1
answer
346
views
Magento 2 cronjob doesn't seen to work
I'm using Magento 2 v 2.3.3 with Ubuntu. I have cron job activated but for some reason doesn't it seem to work and my website is taking up alot of server memory. On my var/lib/mysql it's taking up ...
2
votes
3
answers
1k
views
Magento Error 503 Backend fetch failed
we have an AWS hosting, suddenly we got this below issue.
Error 503 Backend fetch failed
Backend fetch failed
Guru Meditation:
XID: 65561
Varnish cache server
we cant understand what's causing this ...
0
votes
2
answers
615
views
unable to update extension from composer
I am trying to update one of my payment gateway extension through composer and the command is
composer update razorpay/update
But I am getting the below errors
Problem 1
- guzzlehttp/guzzle 7.2.0 ...
0
votes
1
answer
758
views
Magento 2 server issue - stops delivering web page - disk space issue?
When I try to visit my Magento 2 application, it doesn't respond, it gives a slow white web page trying to load and eventually I get some error from the browser. There is no Magento exception provided....
1
vote
1
answer
577
views
Is the Magento 2 file system allowed to be owned by www-data? + Permissions question
I work at a company where I noticed that most of our Magento 2 file system is owned by www-data and in the www-data group on our Ubuntu server.Furthermore, the docroot directory /var/www/<...
0
votes
2
answers
2k
views
Magento2-Fatal error:Class 'IntlDateFormatter' not found in /vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 116
Transfer site from server to dedicated server.
I am getting Fatal error: Class 'IntlDateFormatter' not found in /home/uscvuy32bk5d/public_html/vendor/magento/framework/ObjectManager/Factory/...
2
votes
1
answer
3k
views
Magento 2.4 Varnish error 503
I got a copy of my Magento in another server, all checked permissions, vanilla installation, domain, but I don't find the issue, I keep seeing this error message below.
Error 503 Backend fetch failed
...
0
votes
1
answer
63
views
Magento Import products Internal Server Error
I just clicked on Check data for imported file I have inserted
It keeps on loading there is in infinite Please wait
and sometimes shows
500
Internal Server Error
The server encountered an internal ...
0
votes
1
answer
202
views
Magento 2 Frontend Page shows Try clearing your cookies
I have installed magento through command line by using
bin/magento setup:install --base-url=http://127.0.0.1/magento2/
--db-host=localhost --db-name=magento --db-user=magento --db-password=magento
--...
1
vote
1
answer
1k
views
How to create a ssl for magento 2.4 localhost
I want to install magento 2.4 in localhost, but it is asking for elastic search and ssl, now how to create a ssl for local server.
0
votes
1
answer
119
views
Is it possible to use Magento 2.4 with Elasticsearch 6?
I know that Elasticsearch 6 is deprecated and we're supposed to use 7.6 or above, but I just went through the process of updating, only to find that my host (Cloudways) doesn't provide access to ...
0
votes
1
answer
901
views
Ram memory issue on Magento 2.3.4 website
I have a Magento 2.3.4 website on my server in Production mode.
When I check memory usage with "top" command, I got a very high memory usage like this:
There are so many php-fpm processes
...
2
votes
1
answer
2k
views
How to synchronize Magento Cloud environments?
I have three environments, Production, Staging, and Integration, I'd like to sync Integration DB and Code as its parent environment, which is Staging.
How could I sync the database and the code?
2
votes
2
answers
754
views
Why my Magento Cloud is returning 502?
I'm trying to build my new environment but I'm receiving error 502 every time. When I check the logs in the Magento Cloud panel I don't have the end of the file, it seems to be too long to show.
Do ...
0
votes
4
answers
1k
views
Upload CSV file size limit
I have 13mb file I want to upload, I've increased the php.ini file to 100MB but Magento upload page still giving me the warning to make sure the file is less than 8MB.
is it possible to upload the CSV ...
1
vote
2
answers
1k
views
Why have I seen a blank screen after installing Magento 2.4?
I have installed new Magento 2.4 following the guide on Magento website using command line no composer, but all I'm getting is blank pages so far,
it's installed on AWS using Nginx, any ideas on how ...
0
votes
3
answers
583
views
What are System Requirements for Magento 2.4?
I am using ubuntu 18.04 with PHP 7.3 and MySQL 5.7 Magento 2.3.5 is working fine what are requirements for Magento 2.4
0
votes
3
answers
2k
views
How to setup Access_Control_Allow_origin & From origin blocked by CORS in Nginx for Mageno 2 multi-Website store?
My main website store URL: test.website.in
Second website store URL : grocery.website.in
Initially, i developed multi-website in the localhost, and its working also but after move to live server main ...
1
vote
1
answer
745
views
Magento 2.4 dev.docs: about recommended Elasticsearch configurations
There are two different recommendations/examples:
"The Magento application and Elasticsearch are installed on different hosts (Running on separate hosts is secure, enables Elasticsearch to be ...
0
votes
1
answer
235
views
How to reduce a large Magento 2 installation?
I'm using Magento 2.4 and my installation is using 200GB, I'd like to reduce it.
I want to remove old logs, backups, caches, duplicated images and etc.
How could I optimize it?