Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
36 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 ...
Amiyo Ghosh's user avatar
0 votes
2 answers
24 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.
venkata prasad's user avatar
1 vote
2 answers
170 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' => [...
Mohammed Alrefai's user avatar
0 votes
0 answers
29 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'...
07lodgeT's user avatar
0 votes
2 answers
230 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.
kiran's user avatar
  • 597
1 vote
2 answers
808 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 ...
Angelo's user avatar
  • 89
0 votes
1 answer
272 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....
CodeForGood's user avatar
1 vote
2 answers
266 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 ...
Harsh Patel's user avatar
2 votes
2 answers
63 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. ...
Patrick's user avatar
  • 31
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/...
CodeForGood's user avatar
1 vote
1 answer
361 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 ...
Abi's user avatar
  • 33
0 votes
2 answers
225 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 ...
gaurav's user avatar
  • 53
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, ...
Rafael Corrêa Gomes's user avatar
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 ...
Rafael Corrêa Gomes's user avatar
1 vote
3 answers
831 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 ...
Rafael Corrêa Gomes's user avatar
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?
Rafael Corrêa Gomes's user avatar
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-...
Sebastian's user avatar
  • 141
0 votes
1 answer
323 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?
Rafael Corrêa Gomes's user avatar
0 votes
1 answer
292 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?
Rafael Corrêa Gomes's user avatar
0 votes
1 answer
662 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. ...
blacksmith08's user avatar
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 &...
CJNotts's user avatar
  • 402
0 votes
2 answers
639 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 ./...
Rafael Corrêa Gomes's user avatar
0 votes
2 answers
97 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.
Kuldeep Sharma's user avatar
1 vote
2 answers
876 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?
Rafael Corrêa Gomes's user avatar
0 votes
0 answers
171 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/...
kiran's user avatar
  • 597
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 ...
Hgresa's user avatar
  • 11
0 votes
1 answer
464 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?
Rafael Corrêa Gomes's user avatar
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 ...
Rafael Corrêa Gomes's user avatar
0 votes
1 answer
322 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 ...
Nicklas Gilbertsson's user avatar
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 ...
paras surya's user avatar
0 votes
2 answers
603 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 ...
somutesting's user avatar
0 votes
1 answer
707 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....
user5198077's user avatar
1 vote
1 answer
530 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/<...
audio-engineer's user avatar
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/...
gill's user avatar
  • 339
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 ...
Rafael Corrêa Gomes's user avatar
0 votes
1 answer
61 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 ...
Anonymous Record's user avatar
0 votes
1 answer
171 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 --...
Prasanth's user avatar
  • 147
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.
vinaysirige's user avatar
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 ...
web master's user avatar
0 votes
1 answer
829 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 ...
Jack Pepper's user avatar
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?
Rafael Corrêa Gomes's user avatar
2 votes
2 answers
666 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 ...
Rafael Corrêa Gomes's user avatar
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 ...
codexxx's user avatar
  • 43
1 vote
2 answers
979 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 ...
codexxx's user avatar
  • 43
0 votes
3 answers
564 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
Waqar Ali's user avatar
  • 2,329
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 ...
zus's user avatar
  • 165
1 vote
1 answer
711 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 ...
Andrej Bukin's user avatar
0 votes
1 answer
224 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?
Rafael Corrêa Gomes's user avatar
3 votes
1 answer
3k views

How do I properly debug the root cause of 503 errors produced by Varnish?

I'm using Magento 2.3.5 with Apache 2.4 and Varnish 6 and seeing constant 503 errors ("Backend Fetch Failed" or sometimes "Service Unavailable") in the browser's network panel when ...
WackGet's user avatar
  • 1,188
1 vote
0 answers
20 views

Magento 2 Chmod Installation Problems

I am currently trying to install Magento 2 on my hosting package (shared), and have some trouble here with Chmod. On Magento Webpage it is being said, that you have to change Chmod permissions pre-...
Andrew Power's user avatar

1
2 3 4 5
7