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
11 views

How to configure magento 2.4 on MAMP with Apache?

I am trying to install magento 2.4 on MAMP server on MAC. Apache port - 8888 mysqlport - 8889 My project path is /Applications/MAMP/htdocs/magentoresearch. I have successfully completed the running ...
user avatar
  • 2,577
0 votes
0 answers
28 views

Elasticsearch7 returns string but not array for the category page

When I tried to load my category page, the following error showing... TypeError: Return value of Magento\Elasticsearch7\Model\Client\Elasticsearch::query() must be of the type array, string returned ...
user avatar
0 votes
2 answers
63 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 ...
user avatar
  • 53
0 votes
1 answer
70 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, ...
user avatar
0 votes
1 answer
237 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 ...
user avatar
1 vote
3 answers
272 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 ...
user avatar
1 vote
2 answers
486 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?
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-...
user avatar
  • 131
0 votes
1 answer
58 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?
user avatar
0 votes
1 answer
66 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?
user avatar
0 votes
0 answers
107 views

How to connect magento2 to Elasticsearch in different server

I have done setup magento 2.4.2 in cloud/shared hosting, and then i have Elasticsearch in VPS with config .yml like this : transport.host: localhost transport.tcp.port: 9300 http.port: 9200 network....
user avatar
0 votes
1 answer
204 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. ...
user avatar
2 votes
2 answers
340 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 &...
user avatar
  • 370
0 votes
2 answers
188 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 ./...
user avatar
0 votes
0 answers
77 views

Magento 2 SOAP Load Gives Error Invalid XML

I tried to load for example : https://example.com/soap It download the SOAP File with Following Content : <?xml version="1.0" encoding="UTF-8"?> <env:Envelope xmlns:...
user avatar
0 votes
2 answers
50 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.
user avatar
0 votes
2 answers
174 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?
user avatar
0 votes
0 answers
38 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/...
user avatar
  • 435
0 votes
1 answer
577 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 ...
user avatar
  • 11
0 votes
1 answer
214 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?
user avatar
0 votes
1 answer
21 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 ...
user avatar
0 votes
1 answer
108 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 ...
user avatar
0 votes
3 answers
614 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 ...
user avatar
0 votes
2 answers
353 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 ...
user avatar
0 votes
1 answer
35 views

Which is Magento 2 server good for hosting [closed]

Could you recommend me which is server provide is better for m2 hosting... Basic Requirement: SSD: 512 GB RAM: 32 GB 8core CPU Dedicated servers Thanks in advance
user avatar
0 votes
1 answer
370 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....
user avatar
1 vote
1 answer
146 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/<...
user avatar
0 votes
2 answers
772 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/...
user avatar
  • 309
1 vote
1 answer
1k 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 ...
user avatar
0 votes
1 answer
36 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 ...
user avatar
0 votes
1 answer
23 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 --...
user avatar
  • 147
1 vote
1 answer
470 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.
user avatar
0 votes
1 answer
83 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 ...
user avatar
0 votes
1 answer
563 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 ...
user avatar
2 votes
1 answer
696 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?
user avatar
1 vote
1 answer
289 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 ...
user avatar
0 votes
4 answers
724 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 ...
user avatar
  • 43
1 vote
2 answers
527 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 ...
user avatar
  • 43
0 votes
3 answers
395 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
user avatar
  • 2,099
0 votes
3 answers
1k 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 ...
user avatar
  • 105
1 vote
1 answer
572 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 ...
user avatar
0 votes
1 answer
119 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?
user avatar
3 votes
1 answer
2k 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 ...
user avatar
  • 1,158
1 vote
0 answers
16 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-...
user avatar
1 vote
1 answer
29 views

Design issue on live server

I am beginner in Magento, but I designed a Magento v. 2.3.5 locally under xampp and everything is ok I transferred it to the server and applied all the modifications in the env.php file and in the ...
user avatar
  • 11
1 vote
1 answer
873 views

Magento2 Addtocart is not working after transfer site from one server to another

can you please suggest me I have transferred my site from one server to another, all Magento functionality works except add to cart. And checkout cart add controller return 500 error I am getting ...
user avatar
0 votes
1 answer
29 views

Store access on live server issues

I set up my magento 2.3 on localhost via Xampp and all works perfectly. I transferred magento forder and imported the database on server phpmyadmin I changed The core_config_data base URL and edited ...
user avatar
  • 11
0 votes
0 answers
72 views

Magento 2.3 transfer from localhost to live server issue

I have a specific question as a beginner in magento. I built my magento 2.3 in localhost with xampp on windows. I exported my database as a .sql I exported all magento files to the server I changed ...
user avatar
  • 11
0 votes
1 answer
59 views

moving magento1.9 from one to another server

i moved magento 1.9 from one server to another server, but it is not working giving error "SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost'" for admin panel it is showing url not ...
user avatar
0 votes
1 answer
983 views

How to improve the php memory limit in Magento Cloud?

I've installed a Magento Cloud 2.3.5 and I don't have access to the server configuration. How can I configure a new PHP Memory Limit?
user avatar

1
2 3 4 5
7