Questions tagged [magento]

Magento is an open source e-commerce web application.

Filter by
Sorted by
Tagged with
0 votes
1 answer
75 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 ...
user avatar
0 votes
0 answers
20 views

Installing Magento in a subfolder i.e., example.com/magento

Prerequisites were successfully installed. I installed Elastic Stack on Ubuntu 20.04 LTS. I followed all steps on this link (up to #2. Install and Configure Kibana on Ubuntu which I did not need). No ...
user avatar
  • 123
1 vote
1 answer
461 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-...
user avatar
0 votes
1 answer
101 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 ...
user avatar
0 votes
0 answers
47 views

How to disable caching in Google Cloud (php, magento, app.yaml?)

i'm new with google cloud and here is my problem: I have a magento/bitnami installation in gcc and i have to run some php files for updating the product database After the execution of a php file, the ...
user avatar
  • 1
0 votes
1 answer
79 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 ...
user avatar
  • 3
1 vote
1 answer
589 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 $...
user avatar
-1 votes
1 answer
23 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/...
user avatar
0 votes
0 answers
171 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. ...
user avatar
1 vote
0 answers
970 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 ...
user avatar
  • 193
0 votes
0 answers
364 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 ...
user avatar
  • 103
0 votes
1 answer
83 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-...
user avatar
  • 103
0 votes
1 answer
926 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> .....
user avatar
  • 153
0 votes
1 answer
83 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 ...
user avatar
0 votes
1 answer
353 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 ...
user avatar
0 votes
1 answer
2k 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 :...
user avatar
  • 53
-1 votes
2 answers
3k 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 ...
user avatar
  • 11
0 votes
1 answer
2k 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) ...
user avatar
  • 187
2 votes
1 answer
2k 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 ...
user avatar
0 votes
0 answers
50 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 (...
user avatar
1 vote
0 answers
158 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 ...
user avatar
0 votes
1 answer
562 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 ...
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; ...
user avatar
  • 151
0 votes
0 answers
112 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 ...
user avatar
0 votes
1 answer
1k 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) ...
user avatar
1 vote
1 answer
391 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] ...
user avatar
  • 410
2 votes
1 answer
83 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 ...
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]: ...
user avatar
  • 143
0 votes
1 answer
449 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 ...
user avatar
0 votes
1 answer
73 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....
user avatar
0 votes
2 answers
2k 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 ...
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 ...
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 ...
user avatar
0 votes
0 answers
73 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?
user avatar
1 vote
1 answer
3k 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 *....
user avatar
0 votes
0 answers
48 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. ...
user avatar
2 votes
1 answer
7k 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 ...
user avatar
1 vote
0 answers
743 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 $...
user avatar
  • 111
0 votes
0 answers
514 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 ...
user avatar
2 votes
1 answer
3k 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 - ...
user avatar
  • 193
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 ...
user avatar
  • 111
1 vote
1 answer
875 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 ...
user avatar
1 vote
0 answers
48 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 ...
user avatar
  • 111
0 votes
2 answers
1k 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, ...
user avatar
  • 111
0 votes
0 answers
1k 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. ...
user avatar
  • 103
0 votes
1 answer
1k views

Request entity too large

I'm saving product in Magento admin, but it presents the following error: Request Entity Too Large The requested resource /admin/system_config/save/section/carriers/key/...
user avatar
  • 101
-2 votes
1 answer
1k views

Install php 5.6.5 in ubuntu 16.04

I need help in installing php 5.6.5 in my ubuntu 16.04 for my Magento 2.1 website. I tried installing php through these commands: sudo apt-get -y update sudo add-apt-repository ppa:ondrej/php sudo ...
user avatar
  • 1
-3 votes
1 answer
694 views

Why is magento so slow on Windows 10? [closed]

When i install magento 2 on my Windows 10 WAMP/XAMPP, it runs so slow. Is this some general problem of Magento with Windows? My laptop has 8GB RAM, 2x2.7 GHZ, 500GB HDD, 512MB VRAM. Also same is on ...
user avatar
  • 1
1 vote
2 answers
59 views

Internal/External Development Server Setup

I'm trying to avoid the problem of making an assumption and asking the wrong question. I'm going to describe the situation I'm in and what the problem is. I presently have a development server which ...
user avatar
  • 113
0 votes
1 answer
328 views

Nginx installation with temporary url on centos 7

I have a new dedicated server with centos 7. For the testing purpose i need to use nginx on a temporary url like 127.0.0.1/~linux but the issue remains how should i post the nginx to this host(...
user avatar
  • 1

1
2 3 4 5