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.

122 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8 votes
1 answer
117 views

Apple Pay with magento Getting error

I implemented apple pay in my magento store I create button and now i want onvalidatemerchant but when I call end point I'm getting this error ssl3_read_bytes:tlsv1 alert unkown ca. I am ...
imtiazau's user avatar
  • 379
3 votes
0 answers
167 views

Unirgy_RapidFlow export data to remote server

I want to export product/attribute data to remote server. it should create exported file to remote server. I have filled the data of my server in "[Remote Server][1]" configuration but when I "Run" ...
KKR's user avatar
  • 336
3 votes
1 answer
1k views

Magento Fatal Error: Call to undefined function mcrypt_module_open() using WampServer

I am using Magento 1, installed on a Windows 10 php(7.2) WampServer. I tried to add this extension=php_mcrypt.dll in php.ini, but continued to receive the error. How to add extension=php_mcrypt.dll ...
Muhammad Ahmed's user avatar
3 votes
0 answers
3k views

Magento 2 - Multi Website on same domain with subdirectory

We have an nginx, varnish setup of a Magento 2.2.2. installation in production. There are several websites which can be accessed via store view code. This looks like this: domain.com/us/ domain.com/...
Johnny Longneck's user avatar
2 votes
1 answer
958 views

`MySQL server has gone away` during long running cron

I have a series of stock importers, all of which run of mostly the same code, each with a few tweaks, with regards to how they fetch their stock data from different suppliers. These all run off cron, ...
eddhall's user avatar
  • 380
2 votes
3 answers
3k views

Magento 2: Ram memory issue

I have Magento2 website on production mode. And i have 8gb ubuntu 16.04 server. But i have checked ram memory uses 99% so my website is working slow. Please any one tell me why used my memory 99%? ...
Masud Shaikh's user avatar
  • 1,189
2 votes
0 answers
335 views

Custom module works on localhost but not on server | Magento 2

I have a simple custom module. It works fine on localhost but not on server. Frontend test route get a 404. Backend button action exist but does not works. I have no server log and no magento log. I ...
Altravista's user avatar
2 votes
0 answers
2k views

Authentication method unknown to the client in Magento 2.2.2

Current php version 7.0.25 with which mysql version compatibility issue: 3 exception(s): Exception #0 (Zend_Db_Adapter_Exception): SQLSTATE[HY000] [2054] The server requested authentication method ...
Ravindrasinh Zala's user avatar
2 votes
0 answers
567 views

Magento 2 undefind function Magento\Framework\Stdlib\iconv_strlen() in vendor/magento/framework/Stdlib/StringUtils.php?

I am getting the below error when I upload my project to live server.Everything is working perfect in my local system.But The below error only getting on server Fatal error: Call to undefined ...
shankar boss's user avatar
  • 1,439
2 votes
1 answer
977 views

Magento Nginx: cache first page request only (no session) for super speed

In an effort (and test) to make Magento fly I was playing with microcaching in Magento and came up with the following. The idea is to: detect a first visit and return visit. A return visit may ...
snh_nl's user avatar
  • 5,412
2 votes
0 answers
82 views

synchronization between multiregion Shops

Our main business is in Germany and we try to sell our products in China. At first we used our existing infrastructure in Germany with new a new storeview, but the latency from China was very high. A ...
Pawel's user avatar
  • 1,096
2 votes
0 answers
244 views

Magento 2.1 configurable product times out

Background I do not think this is a bug but a server issue. When I create a large configurable product like a mattress that has 6 images for each of the 6 size configurations Magento only gets through ...
Blizzardengle's user avatar
1 vote
2 answers
238 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
1 vote
2 answers
47 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
  • 21
1 vote
1 answer
454 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
1 vote
1 answer
921 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
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 vote
1 answer
30 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 ...
Vivies's user avatar
  • 11
1 vote
1 answer
199 views

Magento 2.3.4 - 5 Not working with PHP 7.2 - 7.3 but working fine on PHP 7.1

Could someone please help me ? I have newly setup VPS server, and as per Magento 2 requirements, I need PHP 7.2 or 7.3 to run Magento 2.3.4 - 5. I'm getting an error when I run Magneto 2.3.4 on PHP 7....
user51556's user avatar
1 vote
1 answer
675 views

Magento 2.3.2 download

Can any body provide me fresh installation for magento 2.3.2. Every time i tried with the setup installtion it gives me error. Can anybody provide me with fresh setup of version 2.3.2 Getting this ...
Nafsss's user avatar
  • 740
1 vote
1 answer
397 views

How CDN works in Magento 2?

I am aware about the CDN and configuring it into Magento 2 from system configuration. I just want to know how CDN works internally in magento codebase? As I am developing an module to upload the ...
Suman Singh's user avatar
  • 1,007
1 vote
0 answers
233 views

Magento 2.3.3: I am using valet-linux and struggling to set up multi-store in Magento

As the title states I am using valet-linux and everything on single site/store works fine. The part I am struggling with is getting multi-store working with valet-linux. I have tried adding different ...
Kieran's user avatar
  • 98
1 vote
0 answers
35 views

Linking Magento 2.3.2 to an SQL DB?

Hoping for some help - its my first post here! I am looking to link my newly created Magento website (using v2.3.2) to an Microsoft SQL server database.I would like to Database connection with ...
johnrobinson's user avatar
1 vote
0 answers
421 views

Warning: Use of undefined constant MCRYPT_RIJNDAEL_256

I have site in Magento 2.2. But after move site one server to another server it's stopped working. Show me below error in exception.log file. [2019-06-13 10:13:36] main.CRITICAL: Warning: Use of ...
Pratik Patel's user avatar
1 vote
1 answer
109 views

M2.2 Importing large number of products

I'm importing a large number of products(15-20k) using a custom module importer that uses Magento's core API. I would like to improve the speed of the Product Importer. When I scaled up to 64 GB ...
Siva's user avatar
  • 61
1 vote
0 answers
101 views

What should be the server configuration for Magento 1.9?

What should be the server configuration for Magento 1.9 which can handle 70k Configurable products and 500k simple products? Also 4000 users at a time on website
Kumar Gaurav's user avatar
1 vote
1 answer
167 views

Upload Magento 2 to production server

I created a store with Magento 2.2.5 in windows and I used as server xampp. I installed Debian 9 and I want to move my project to it. I copied my project folder to /var/www/html I exported and ...
Aissa Mahdi's user avatar
1 vote
0 answers
59 views

How to solve Js load error? Shipping Extension

I am using Sendle shipping extension, this extension work as, if you give zip code gives auto suggestion of city, after I migrate server, the auto suggestion not working. The extension developer ...
zus's user avatar
  • 155
1 vote
0 answers
270 views

1.9.3 Internal server error on account login

Recently, after some reports of customers, I found a strange behavior. These customers receive an internal server error page while accessing their account. Sometimes the error occurs for each page ...
krybbio's user avatar
  • 1,258
1 vote
1 answer
237 views

Upgrading 1.9.3 with latest stables - Internal server error 500

The upgrade went ahead with no errors however I now have internal server errors anywhere beyond home page including the admin area. I have checked the server error log and it appears to be related to ...
Kate Young's user avatar
1 vote
0 answers
2k views

Create Product with image using REST API

I'm trying to create a product with an image using the REST API in Magento 2 but I get always 400 Error Code saying it's a bad request. Trying it without an image works but if I put the entry "...
Ömer Bayram's user avatar
1 vote
1 answer
2k views

What is the most battle tested official goto configuration for Magento1 using nginx?

By doing some googling I've found this as the only documentation that seemed "official" regarding Nginx. Is it really that the official Magento1 Nginx configuration only sits in this quite &...
testTester's user avatar
1 vote
0 answers
853 views

Error on place order in magento 2

While placing an order, there is an error occurred like this: "an error occurred on the server please try to place the order again" then the cart becomes empty and we need to again add the product....
amith lal's user avatar
  • 766
1 vote
0 answers
175 views

which localhost server is best for Magento ver. 1.9.3.2

which localhost server is best for Magento ver. 1.9.3.2..? Am tried in xampp but it slow Please anyone suggest me...! Thank You in advance.
Madhumitha's user avatar
1 vote
0 answers
43 views

Core Resource Checking Permission make Server/Site Down afterwards

I am running website on Magento 1.9.2.4 When I access my site and check query in mysql SHOW PROCESSLIST I get state of "core_resource" table like Checking Permission. Also it shows State like Opening ...
Nidhishanker Modi's user avatar
1 vote
1 answer
766 views

Magento 1.9.3: Add to cart 404 after moving to new server

After moving to a new server with plesk, I get a 404 not found when i press add to cart. I am not sure why. I truncated the core_url_rewrite table, deleted everything in var/cache and var/session ...
Dennis W's user avatar
1 vote
1 answer
46 views

2 Magento installs (version 1.9.2.4) on same server, is it good idea?

We have 2 stores Magento installs (version 1.9.2.4) each with 24,000 customers and 4,000 products on each with over 15 extensions installed on each and approx 20,000 orders on one of them and 10 ...
Matt Godwin's user avatar
1 vote
0 answers
95 views

why Magento2 serves LESS files when I'm in server-side-less-compilation modus?

I have changed my admin-config LESS compilation modus to: Client side less compilation. Now I have changed it back to: Server side less compilation. But my admin panel and webstore still serve less ...
user3310748's user avatar
1 vote
0 answers
86 views

How avoid user authentication for one single url in htaccess?

SetEnvIf Request_URI "^/wp-content*$" AdminUri AuthUserFile /public_html/.htpasswd AuthType Basic AuthName "My Secret Folder" Require valid-user I set up authentication in my site as above. I ...
user48764's user avatar
1 vote
0 answers
140 views

Bundle Product Quantity not load

I make bundle products in Magento with in stock. When I try to add to cart so it displays error: the requested for x product not available and it is on my live server not in localhost Xampp ...
Jyotishina's user avatar
1 vote
1 answer
94 views

magento 2: session length recommendation

I was asked today to increase the php session length to 86400 (24 hrs) for one of our magento 2 sites. I am guessing this is to make guest's cart items be persistent for 1 day. I am used to session ...
Xenocide8998's user avatar
  • 1,732
1 vote
0 answers
45 views

moving magento 2X from local server (My mac) to new domain and server (with control panel)

Im having trouble moving my existing site from my computer to a server, I tried moving all the files to the public_html folder in the new server, changed the info on the server on the file env.php and ...
N. Mantel's user avatar
1 vote
0 answers
136 views

500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request

I am getting the following error. How can I solve this problem? 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Gem's user avatar
  • 669
1 vote
0 answers
49 views

custom XMl works well on dev machine but doesn't work properly on server

Having a strange issue on custom created modules layout xml in 2 different environments. On dev machine all created xmls are getting loaded and executed but when pushed code on server none of the ...
deroccha's user avatar
  • 677
1 vote
0 answers
147 views

Are there any creative solutions for launching cron.sh for multiple Magento stores in a distributed architecture?

At the company I work for, our architecture is set up in such a way that we have hundreds of Magento stores, and a variable number of application servers (behind a load balancer), but only one ...
Eric Seastrand's user avatar
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
0 votes
1 answer
265 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
  • 13
0 votes
2 answers
204 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
0 votes
1 answer
279 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
570 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