Skip to main content

Questions tagged [magento]

Magento is an open source e-commerce web application.

Filter by
Sorted by
Tagged with
0 votes
1 answer
155 views

Identify which script in redis is currently running

I'm encountering an issue with my Magento 2 shop where Redis reports the following error: BUSY Redis is busy running a script. You can only call SCRIPT KILL or SHUTDOWN NOSAVE. Process went away Upon ...
kekw's user avatar
  • 113
0 votes
0 answers
40 views

Data written to PVC using job pod is not available in main POD

I have a job pod with a bash script that executes and writes data to the PVC, however, the same data is not available when I check in from the main POD, both the deployment & job use the same PVC, ...
Naveen Naidu's user avatar
0 votes
1 answer
647 views

peer closed connection in SSL handshake while SSL handshaking to upstream

I have the below flow jmeter concurrent api request -> magento-host-server -> magento-container The below error occurs only during the concurrent requests from apache jmeter of testing team are ...
Rajsekar Reddy's user avatar
0 votes
0 answers
48 views

Why is adding this line to my mod_rewrite creates looping issue, and how to avoid it?

I pasted below the existing mod_rewrite section of the .htaccess of my Magento site. I need to modify it to implement a short URL scheme that would redirect all requests like mysite.com/-jk7ASD63 (all ...
John Doisneau's user avatar
0 votes
0 answers
1k views

Magento 2 running on Ubuntu 20.04 with Nginx returns Bad Gateway Error code 502

I have a fresh install of Magento 2.4.4-p2 on Ubuntu 20.04. The PHP version is 8.1.13 and the nginx version is 1.18.0 (Ubuntu). I can see and access the home page and the following pages without 502 ...
Abe's user avatar
  • 123
1 vote
1 answer
220 views

Magento2 website with nginx(with SSL termination) and varnish cache

I have hosted Magento2 website with Nginx, SSL termination, and Varnish cache. Varnish cache is running on port 8080 and the Magento2 website is hosted on Nginx port 8081. Http and Https traffic is ...
timg's user avatar
  • 11
0 votes
0 answers
569 views

FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream

Need help with fnd the issue on new server. Im running magento site with nginx php-fpm with varnish. The site get blank with only that text File not found. And im getting error in nginx log 2022/12/17 ...
user3715053's user avatar
0 votes
1 answer
595 views

MariaDB failed to start on Debian After Upgrading Server

I am running magento application on debian server. MariaDB failed to start after server upgrade. Please find the errors below: I am running magento on Debian Linux server. The site failed to load with ...
Vibhu Bajaj's user avatar
1 vote
1 answer
2k views

Varnish with Basic auth returns 401

I've tried to configure Varnish on server which has Basic Auth authentication by using these solutions: https://stackoverflow.com/a/40424168/7202171 https://blog.tenya.me/blog/2011/12/14/varnish-http-...
Major Kuprich's user avatar
0 votes
1 answer
584 views

Is there a way to write the query parameters as cookie in nginx

I would like to ask if there's a way to set the query parameters as the cookie of a certain url? Currently i'm having trouble with the varnish and nginx cause it was stripping the utm params which ...
machii28's user avatar
0 votes
1 answer
301 views

magento installation did succeed but apache welcome page appears in frontend

I have a VPS at ionos, a centos 8 os. I have installed a LAMP, elsticsearch, rabbit etc... I have a SSL EV for my domain at namecheaped.com: ortie-bio.fr and www.ortie-bio.fr I have followed this ...
cedler's user avatar
  • 3
1 vote
1 answer
1k views

Magento 2 with Nginx and Varnish - How to serve webp images

I am using the following, trying to serve webp images from Magento using Nginx and Varnish as caching. Added to /etc/nginx/mime.types image/webp webp; Added to main nginx.conf http { map $...
Nikos Klavdianos's user avatar
-1 votes
1 answer
26 views

How two different applications should get served using one single apache2 virtualhost configuration

Just for assumption here testsite.com which is my php application and testsite.com/project is python application I have following settings in my apache site config file /etc/apache2/sites-available/...
Sunny Chaudhari's user avatar
0 votes
0 answers
403 views

Redirect to magento 2 store in htaccess

I'm using SetEnvIf Host to redirect users to the correct magento store depending on the domain name. This works perfect for https://www.domain.co.uk, http://domain.co.uk and http://www.domain.co.uk. ...
Jonas de Herdt's user avatar
2 votes
0 answers
2k views

MySQL Temporary table insert hangs and locks other queries

I have a MySQL 5.7.30 as storage for a Magento 2 shop. During the magento reindex process (a PHP process that transforms data into various tables for faster retrieval), some temporary tables are ...
king_nak's user avatar
  • 203
0 votes
0 answers
455 views

Nginx server give me 504 error

I am using nginx webserver on a WSL, Ubuntu. I have Magento need to run on this server. Where or what I can do to adjust, so I can have 504 error fix? does my default doing the right job? Please help ...
Paul Fan's user avatar
  • 103
0 votes
1 answer
972 views

My Magento only can load the first front page, and all the page are 404. Nginx server configuration issue

I am trying to run Magento 2 on WSL, ubuntu Nginx webserver, localhost I only able to load my website first front page, but the rest of the pages are 404 not found. I only modify the /etc/nginx/sites-...
Paul Fan's user avatar
  • 103
4 votes
2 answers
3k views

Can't access directory .well-known in a Magento 2.4 multistore setup

I'm trying to set up a let's encrypt cert with a store view in Magento 2.4.1, but I can't access the .well-known/acme-challenge directory. In the Apache 2.4 virtual host, I have: <VirtualHost> .....
Aknot's user avatar
  • 205
0 votes
1 answer
123 views

Migrating Magento 1 db to Magento 2, Database is on Amazon RDS and the other is local to the new server

The company handling the migration is using a tool called UB Data Migration tool to migrate the magento website from 1.x which has its database hosted on Amazon RDS to a new amazon instance that ...
Amin Al-Ali Al-Darwish's user avatar
0 votes
1 answer
843 views

varnish redirecting to backend url

Im running Magento in 192.169.1.250 (no ssl) URL - http://192.168.1.250:80 and varnish + nginx (ssl offloading) in 192.168.1.9 frontend URL - https://192.168.1.9:80 varnish 127.0.0.1:6081 Used the ...
kiran kumar's user avatar
0 votes
1 answer
3k views

Varnish Error 503 Backend fetch failed Only on Home page (Magento 2.3.5-p1)

I am a bit confused actually very much confused right not regarding varnish and configuring it. Currently I am running Magento 2 on Nginx/PHP-FPM and only SSL i.e. I am redirecting user from :80 to :...
nix's user avatar
  • 63
0 votes
2 answers
12k views

How much does httpd_can_network_connect being set to 1 actually open up on SELinux

I am getting the following SELinux denied lines in my log file when I attempt to redirect a user to Paypal to checkout. Would you please help me understand what it means and what exceptions I should ...
J W's user avatar
  • 21
0 votes
1 answer
4k views

Varnish is removing the X-Forwarded-For header when used with Apache ProxyPass

I'm using Varnish 4 and Apache's ProxyPass directive to try to cache content on a HTTPS website (running Magento e-commerce software). Varnish listens on port 80, and Apache on port 8080 (for HTTP) ...
WackGet's user avatar
  • 227
2 votes
1 answer
4k views

HTTPS:// is not working on Nginx

My domain is: http://indiasaplings.com/ I ran this command: sudo certbot --nginx -d indiasaplings.com -d www.indiasaplings.com It produced this output: IMPORTANT NOTES: Congratulations! Your ...
Brajmohan Kumar's user avatar
0 votes
1 answer
120 views

magento 2 site loading speed very slow

as per our architecture, we have a web server(Apache) running on one machine and my database(MySQL) running on different machine. The communication between these two machines in over internal network (...
Baljit Magento 2 's user avatar
1 vote
0 answers
237 views

fail2ban config to block attacks on magento payflow endpoint

This is regarding the stopping DDoS attack on Magento payment gateway reported here: https://support.magento.com/hc/en-us/articles/360025515991-PayPal-Payflow-Pro-active-carding-activity I am trying ...
Rahul Deshmukh's user avatar
0 votes
2 answers
1k views

Setting up multi websites using different ports with ubuntu 16.04 and nginx

I'm trying to set up multi websites with different ports but same domain. i.e. domain.com, domain.com:81, domain.com:82 Below is the my nginx configuration, /etc/nginx/sites-enabled/magento225 and ...
Elavarasan's user avatar
0 votes
1 answer
1k views

nginx proxy: forward port 8080 to 80 works but generated links in webapp don't work after that

I'm trying to setup up a really simple thing: use Nginx to listen to port 8080 and forward everything to internal host with port 80. This is my config so far: server { listen 8080; ...
artgrohe's user avatar
  • 151
0 votes
0 answers
382 views

POST Request with a 302 redirect never gets to its destination

For example, this request in the access_log: xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx) - - [31/Jan/2019:16:19:24 +0100] "POST /ppt/index/result/id/2000000169/ HTTP/1.1" 302 - "-" "Java/1.7.0" How come that ...
Gianni Di Falco's user avatar
0 votes
1 answer
2k views

Magento 2 install hangs with no errors or information

I am trying to install Magento 2.3 on a windows server (IIS with PHP installed - No XAMP), but the installation seems to hang. The wizard progress shows the following: (And has been for hours) ...
Louis van Tonder's user avatar
1 vote
1 answer
574 views

Website not working if www is in URL [duplicate]

I am forcing my webserver to rewrite a none www URL to www, e.g. https://example.com to https://www.example.com, via .htaccess. RewriteCond %{HTTP_HOST} !^$ RewriteCond %{HTTP_HOST} !^www\. [NC] ...
Black's user avatar
  • 491
2 votes
1 answer
169 views

IP change to Domain Name in Ubuntu

I am currently setting up Magento 2.2 for the company I am working with. I set up most of the things and installed the Magento package on the IP Host. I can access it and it kind of works fine until I ...
Moddy's user avatar
  • 21
0 votes
1 answer
1k views

Urgent Nginx broke after upgrade in Ubuntu server

Tried before to upgrade Nginx from 1.14 to 1.14.1. But in apt-get upgrade I got: mysite systemd[1]: Starting A high performance web server and a reverse proxy server... mysite nginx[31861]: ...
G. G.'s user avatar
  • 143
0 votes
1 answer
596 views

Magento Data Migration - Host is not allowed to connect to this MySQL server

In Magento Data Migration process, Host is not allowed to connect to this MySQL server. I check Mysql connection using normal PHP file and able to connect in Mysql service. I also create a remote ...
Emipro Technologies Pvt. Ltd.'s user avatar
0 votes
1 answer
130 views

Varnish with apache 2 and multi vhost

I am looking to a guide about configure Varnish for my ubuntu server with apache 2. There is like 20 website (who are not using varnish and do not need it). Only one vhost (magento 2.X) need varnish....
David N's user avatar
1 vote
2 answers
3k views

How a subfolder of domain having different IP

We have multiple ecommerce platforms. Say, Magento and Shopware. Magento and Shopware are hosted in different servers. We want to migrate all Magento stores to Shopware. The domain name of Magento ...
Vigraman Padmanaban's user avatar
2 votes
2 answers
2k views

Amazon EFS as code repository for auto-scaled EC2s

tl;dr: I need to set up a fast automatic sync from EFS to multiple EC2s I've set up an EC2 Auto-Scaling Group in AWS and I'm looking for the best way to manage code deployments to my instances, with ...
Doug McLean's user avatar
1 vote
0 answers
1k views

Magento 2 : X-Magento-Cache-Debug:MISS, over SSL, pages are not being cached by varnish

I have configure varnish with magento 2 with the reverse proxy in apache ubuntu. But, when I see at the headers, I always get the header MISS from the host. So, page is not being cached by the ...
Emipro Technologies Pvt. Ltd.'s user avatar
0 votes
0 answers
128 views

LIghtsail Magento instance redirect to domain

I am unable to redirect my Magento Lightsail instance to a domain and not the IP address? How can I achieve this?
Huzan Forbes's user avatar
1 vote
1 answer
5k views

Apache2 Virtual Host auto redirects to https

I have ubuntu 16.04, I have setup virtual host in apache2 mysite.dev in file /etc/apache2/sites-available/mysite.conf <VirtualHost *:80> ServerName mysite.dev ServerAlias *....
riksof-zeeshan's user avatar
0 votes
0 answers
103 views

How to access the backend files on my instance in google cloud platform

I have installed Magento using Google Cloud Platform's (One-Click Deployment) However, I don't know how to access these files on the server. There is no file manager or anyway to access server files. ...
Hamed Adil's user avatar
2 votes
1 answer
9k views

Ajax "POST" not working on HTTPS/SSL Nginx

I moved my magento store from non SSL to SSL (webserver: Nginx) The problem : The site's JS scripts ( Multiple Ajax function with "POST" ) has stopped working! Requests are fine but not able to get ...
perlware's user avatar
1 vote
0 answers
910 views

nginx map regexp for Magento MAGE_RUN_TYPE based on nginx $http_host and $uri

I'm trying to write a nginx config that adds a custom header and pass a variable using fastcgi_param based on two variables that are calculated using map, based on $uri and $http_host. map $uri $...
Hartwig's user avatar
  • 111
0 votes
0 answers
693 views

Apache very slow at serving images

I have a very strange issue with Apache. It is very slow when serving images, but only for images in a particular folder. The site is using Magento, but I don't think this is the issue. Has you can ...
Francesco Ricci's user avatar
2 votes
1 answer
4k views

Multiple magento sites running under different users in nginx

I have written a script that copies magento files and database from our production server and tries to configure it on a subdomain on our testing server. Each testing site has: - unique subdomain - ...
Guerrilla's user avatar
  • 273
1 vote
0 answers
1k views

Varnish+Nginx+Magento almost like one request per second

I have been on the administrative side of a small magento 2 developers team. For the problem i am about to share you can ask for a demo page and check it out aswell you find the information shared ...
1337_sanc's user avatar
  • 141
1 vote
1 answer
1k views

Nginx conf file location & rewrite is not working

I'm running magento on nginx. My root is /pub But there's some extensions trying to link to www.myurl.com/pub/xxx.file, so I want to rewrite all /pub as / My plan was for www.myurl.com/pub/xxx.file ...
楊翔宇's user avatar
1 vote
0 answers
50 views

Is it possible to create a catch-all email using postfix which accepts any email address and sends an email to an external address? [duplicate]

Some background and my challenge: Background I am using Magento 2.x using a virtual machine set-up which runs on Ubuntu 16.04 Challenge My goal is to be able to test emails sent to me from the ...
Steve K's user avatar
  • 111
0 votes
2 answers
2k views

Chroot Jailing of an user to their home with PHP CLI and everything to run Magento 2 CLi commands

Ok, so first off I'm pretty sure there's gonna be a load of "additional info" requests so please post them in the OP comments and I'll do my best to provide extra info on request! Here's the skinny, ...
Blatant's user avatar
  • 111
0 votes
0 answers
2k views

Determine why 100% of Mysql CPU is being used

I setup a database on an Amazon RDS server The server is a db.m4.xlarge which is 4 vCPU's and 16Gig RAM yes our Magento (1.9) based website keeps causing our database to spike to 00% CPU utilization. ...
Jayreis's user avatar
  • 145

1
2 3 4 5