People who code: we want your input. Take the Survey

Questions tagged [magento]

Magento is an open source e-commerce web application.

Filter by
Sorted by
Tagged with
0
votes
0answers
16 views

Data on godaddy server is constanly fluctuating between latest and 1 year old data. Solution please

We have a VPS with Godaddy but from 28th April 2021 we are facing issues and customer care is unable to resolve it Last year Godaddy had restored our data on 5th june 2020 from snapshots because ...
0
votes
0answers
43 views

Magento 2 Varnish caching session from another user - add to cart

When I add an item to cart it will also show a second item, I have previously added from a different device. If I bypass varnish cache, cart seems to work ok. Guess I am missing a setting about ...
1
vote
1answer
96 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 $...
-1
votes
1answer
21 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/...
0
votes
0answers
44 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. ...
0
votes
0answers
408 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 ...
0
votes
0answers
283 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 ...
0
votes
1answer
54 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-...
0
votes
0answers
202 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> .....
0
votes
0answers
26 views

External DB do not accept full access user. Can't Manage Magento 2

My store is in AWS lightsail largest server tier. Exported DB from localserver to its own external server, connect with M2 = works like a charm. Later wanted to install an extension and when type in ...
0
votes
0answers
60 views

Naxsi is not whitelisting POST and GET request on certain directory

I am using Magento and tried to whitelist the admin directory, as well as other frontend directories such as Checkout. However, Naxsi blocks the request, I then tried nxutil but even the rules created ...
0
votes
1answer
54 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 ...
0
votes
1answer
146 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 ...
1
vote
1answer
1k 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 :...
-2
votes
2answers
695 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 ...
0
votes
1answer
1k 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) ...
2
votes
1answer
1k 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 ...
0
votes
0answers
35 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 (...
1
vote
0answers
116 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 ...
0
votes
1answer
137 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 ...
0
votes
1answer
539 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; ...
0
votes
0answers
28 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 ...
0
votes
1answer
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) ...
1
vote
1answer
127 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] ...
2
votes
1answer
69 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 ...
0
votes
1answer
726 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]: ...
0
votes
1answer
345 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 ...
0
votes
1answer
61 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....
0
votes
2answers
1k 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 ...
2
votes
2answers
1k 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 ...
1
vote
0answers
910 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 ...
0
votes
0answers
49 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?
1
vote
1answer
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 *....
0
votes
0answers
45 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. ...
2
votes
1answer
6k 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 ...
1
vote
0answers
581 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 $...
0
votes
0answers
378 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 ...
2
votes
1answer
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 - ...
1
vote
0answers
865 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 ...
1
vote
1answer
829 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 ...
1
vote
0answers
47 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 ...
0
votes
2answers
855 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, ...
0
votes
0answers
887 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. ...
0
votes
1answer
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/...
-2
votes
1answer
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 ...
-3
votes
1answer
681 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 ...
1
vote
2answers
55 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 ...
0
votes
1answer
283 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(...
2
votes
0answers
386 views

Nginx: Serving magento site at different root with subdirectory inside other magento root

After many hours of googling and testing I have yet to get this to work. I have a functioning magento install at /srv/site1/htdocs . I have another magento install at /srv/site2/htdocs . I need site2 ...
0
votes
1answer
97 views

strange : 2 php version on the same server

I need to upgrade php 5.4 to 5.6 to use my framework magento 2. I apply these commands : echo "deb http://packages.dotdeb.org wheezy-php56 all" >> /etc/apt/sources.list.d/dotdeb.list echo "...

1
2 3 4 5