Questions tagged [ubuntu]

Denotes questions related to Ubuntu (open source software operating system)

Filter by
Sorted by
Tagged with
0 votes
2 answers
47 views

Installation of Magento 2 in Ubuntu loaclhost

Hi I have been trying to install Magento 2 on my Ubuntu localhost. I followed the below-mentioned command. sudo composer create-project --repository-url=https://repo.magento.com/ magento/project-...
user avatar
0 votes
0 answers
77 views

Autoload error: Vendor autoload is not found. Please run 'composer install' under application root directory

after cloning my project from GitLab, i run composer install, and it initializes folders inside the vendor folder but they are all empty or contains empty folders , and when i run /bin/magento c:c , i ...
user avatar
  • 5
0 votes
0 answers
159 views

How to configure two different nginx server port to setup two different Magento version website

I want two setups two different versions of Magento 2 on my local nginx machine, v2.4.2 and v2.3.7 mapped with two different domains. One version(2.4.2) is working fine on my nginx server at port 80 ...
user avatar
0 votes
1 answer
315 views

how can we install Magento2.4 on AWS EC2 Instance?

How we can install Magento 2.4 on EC2 Amazon Instance. I am a newbie and new to coding, it will be a great help if someone can tell me the exact steps and commands I have to run in order to install ...
user avatar
0 votes
0 answers
11 views

Soap verify_pear = true gets failed

I have installed the OpenSSL 1.1 and Let's Encrypt SSL on a Magento installation. I am trying to connect with the FedEx Service on Magento. Whenever it tries to fetch the rate I am getting an error ...
user avatar
0 votes
0 answers
29 views

How to setup multiple websites, stores and store views in magneto 2?

Create a root category - Catalog-> Categories-> Add Root Category Create a website, store and store view - Stores-> All Stores 2.1 Create Website -> Create Website (Ex- Berlin Website)...
user avatar
  • 26
0 votes
2 answers
71 views

How to setup Cronjob For Magento in AWS (Ubuntu OS)?

Recently i had moved my website from Bluehost to AWS. Now i have to create cronjobs for magento in AWS (Ubuntu OS). please help me how to setup the cronjobs in Linux and if possible please share me ...
user avatar
1 vote
3 answers
2k views

Magento2 configure PHPstorm & xdebug and how to use it

I was using sublime and VScode for the development. Recently I heard that PHPStorm is the best IDE for the Magento2 development and using xdebug you can easily debug the issues and write modules. I ...
user avatar
1 vote
1 answer
51 views

Is there any simple way to install Magento 2.4.1?

Whenever I am running this command to install Magento 2.4.1 php bin/magento setup:install --base-url="http://192.168.1.128/magento" --db-host="localhost" --db-name=&...
user avatar
0 votes
1 answer
209 views

Magento2 - How can I setup Vue StoreFront in my local Magento2.4 version

How can I setup Vue StoreFront in my local Magento2.4 version I have followed below steps https://docs.vuestorefront.io/guide/cookbook/setup.html#_2-recipe-2 From where can I get consumer key, ...
user avatar
0 votes
1 answer
166 views

Install the Magento 2.4.1 archive on local computer (Lubuntu 18.04.5)

I followed below link. https://devdocs.magento.com/guides/v2.4/install-gde/prereq/zip_install.html I set one user permission. But... When I typed 'sudo composer install' in magento root folder. $sudo ...
user avatar
0 votes
1 answer
82 views

Which files & folders do I replace in order to upgrade Magento 2 manually?

Which files and folders need to be replaced in the Magneto root folder in order to upgrade Magento 2 Manually? I am running a stock copy of Mangento 2.3.5 on a Ubuntu 18.04 test server. I am trying to ...
user avatar
  • 23
0 votes
1 answer
56 views

How to install magento2.3.5-p1 in ubuntu20.04

I want to install magento2.3.5-p1 on ubuntu 20.04 LTS so can anyone having idea of how to do this please share with me. Thank you in advance.
user avatar
  • 498
0 votes
4 answers
4k views

Web Setup Wizard installation of "magento/composer-root-update-plugin" failed

In final stage to install Magento2 version 2.4 by the following command i got an error. this is my command: ./magento setup:install --base-url=http://localhost.com/magento2 --db-host=localhost --db-...
user avatar
  • 1
0 votes
2 answers
372 views

When access to my address http://localhost.com/magento2 i got an error

At final phase to install Magento 2, When i went to access my address http://localhost.com/magento2 i got an error cause of index.php file, my address does not read the file as php file so i got the ...
user avatar
  • 1
1 vote
0 answers
16 views

Magento2: Installing stack on windows subsystem

I am unable to access website on my system I also whitelist domain in hosts file I followed steps to install magento stack using installation Please guide
user avatar
1 vote
0 answers
7k views

Composer " The "https://repo.packagist.org/packages.json" file could not be downloaded"

I'm using a mac, virtualbox with a bridged connection and Ubuntu server 20.04. I'm following this tutorial to install Magento 2 on this server. https://websiteforstudents.com/install-magento-2-on-...
user avatar
  • 21
2 votes
1 answer
3k views

Some pages on Magento 2 website displaying Error 502 when Varnish cache is enabled - website hosted on Ubuntu 18.04 Nginx VPS

I have installed a fresh copy of Magento 2 (2.3.5 with sample data) on a VPS which has the following stack: Ubuntu 18.04, Nginx, Mysql, and PHP 7.2 FPM. This vanilla installation worked. However, ...
user avatar
  • 23
0 votes
1 answer
570 views

Installing PHP Modules in Docker for 2.3.4 Upgrade

I've been working on upgrading my local environment from 2.2.10 to 2.3.4, but can't figure out how to install the extra PHP modules for the new version (ie: sodium) using Docker. I was previously ...
user avatar
0 votes
1 answer
21 views

Error while trying to install in AWS Ubuntu Instance

I have properly setup Magento 2.3.4 in my localhost. But whenever I try to deploy this to AWS Uuntu Instance I get the following error. [ERROR] Magento\Framework\Exception\LocalizedException: Area ...
user avatar
2 votes
3 answers
6k views

Wrong file in vendor/magento/framework/Image/Adapter/Gd2.php:64 when i install magento 2.3

Please help me. It's displayed below error when I have cloned and installed Magento 2.
user avatar
2 votes
0 answers
205 views

PHP Fatal Error causing 500 Internal Server Error

I recently started to work with a small merchant to set-up their first web-shop and chose Magento Community to do so. While I have plenty of PHP, etc.. developer experience, Magento is new to me with ...
user avatar
  • 121
0 votes
3 answers
2k views

Magento 2 Installation error in Ubuntu system

In Ubantu System xampp server using install the Magento 2 erorr! 1.Magento 2.3.4 admin penal does not open gives Error 404 . 2.When I open the terminal and hit the magento command like: php bin/...
user avatar
0 votes
1 answer
147 views

Mysql modify column not working [closed]

What I wanna do is to update the field comment_author and change the type from tinytext to varchar(100) For some reason it complains about "Invaild default value for 'comment_date'" Why does it ...
user avatar
0 votes
2 answers
2k views

Uncaught Error: Cannot instantiate interface

I'm using Ubuntu 18.04 with PHP 7.3.14. I was in my root directory and entered the command bin/magento setup:install and got this error. What is going on? PHP Fatal error: Uncaught Error: Cannot ...
user avatar
0 votes
1 answer
1k views

Problem with installing mcrypt on PHP 7.3.13 Ubuntu

I have moved my magento 2 project from one vps server to another. So im currently setting up all the PHP modules. But there seem to be some problem with the mcrypt module. This is what I have been ...
user avatar
0 votes
1 answer
293 views

magento 2 :- Installation stuck at 75% on ubuntu OS

Details of Console Log:- Starting Magento installation: File permissions check... Required extensions check... Enabling Maintenance Mode... Installing deployment configuration... Installing ...
user avatar
1 vote
0 answers
380 views

For setup vue storefront : when Installing the vue-storefront-api locally, it throws error for vue storefront page on Ubuntu

After installation of vue storefront, when I open page for storefront, display page like something went wrong. And also display console error The connection to http://localhost:3000/__webpack_hmr ...
user avatar
0 votes
1 answer
1k views

Magento2.3 files permissions inside docker container (ubuntu)

i am beginner in Magento 2.3, and i encountred an issue when i tried to enable my first custom module: bin/magento module:enable Mageplaza_HelloWorld I'm using docker apache container to run my ...
user avatar
0 votes
0 answers
2k views

Apache Virtual host setup configuration in localhost for multiple magento sites

I have two Magento 2 instances in my Virtualbox ubuntu server. 1st one is new installation magento2.3 located at /var/www/html/, it is working fine and accessible from the browser using IP 127.0.0.1 ...
user avatar
0 votes
1 answer
184 views

Cannot setup Magento 2.3 in local due to autoload error?

I have done manual backup of my site and setup it on local bit getting the below error: Autoload error: Vendor autoload is not found. Please run 'composer install' under application root directory. ...
user avatar
  • 480
4 votes
1 answer
693 views

Magento 2 integration with vue-storefront : When Installing the vue-storefront-api locally, it throws error for npm on Ubuntu

To install vue-storefront, i have followed the steps as per documentation guide https://docs.vuestorefront.io/guide/installation/linux-mac.html#requirements, but while installing vue-storefront-api ...
user avatar
0 votes
1 answer
6k views

New Magento 2, nginx config error 403 forbidden

After my installation of magento2 on Ubuntu, I get this error on localhost http://localhost/magento2/ - 403 forbidden I have to change the port to any other like 8080 in file /etc/nginx/sites-...
user avatar
  • 101
0 votes
3 answers
3k views

How to set permisions for var/cache folder?

I can't able to remove var/cache folder. I'm using local server and accessed through ssh. How can I remove the var/cache folder by setting permission? I have run chmod 755 -R var/* and getting the ...
user avatar
  • 1,124
2 votes
1 answer
94 views

Magento 2.3 Installation worked on Ubuntu 18.04, but after Ubuntu Restart Magento Page will not load any more. Any Ideas what could be the Problem?

I need your help. I am new to Magento 2.3 and first everything worked perfect after the Installation on my Ubuntu 18.04 Maschine, but after my first Ubuntu restart the Magento Shop Page and Admin Page ...
user avatar
1 vote
2 answers
137 views

Magento 2.3 Extensions on Ubunu 18.04

I installed Magento 2.3 successfully on my Ubuntu Maschine and tried to start to make my first own module. I followed this tutorial: https://www.cloudways.com/blog/create-module-in-magento-2/. But I ...
user avatar
0 votes
1 answer
218 views

How to install japanese kuromoji analysis plugin in ubuntu 16?

I am using elasticsearch. I have the Japanese data. I want to create index on Japanese data. As I have searched how to install Japanese kuromoji analysis plugin in ubuntu 16, there are lot of sites ...
user avatar
1 vote
6 answers
5k views

Pub/media css was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff in magento 2

I set up Magento 2 localhost migrated from the server. but when load frontend showing like this Pub/media CSS was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff ...
user avatar
  • 1,047
4 votes
1 answer
2k views

Magento 2.3.1 - Issue with catalog search when using php7.2-fpm

When we search any string from the search text box, We have encountered a 500 server error into the search result page in our live web site or search page getting blank. When we check in logs or ...
user avatar
1 vote
2 answers
630 views

Magento is not supported on Windows OS and Mac OS?

I'm trying to upgrade from community edition of Magento 2.3.1 to Enetreprise Edition of M2. I am using docker Image for M2 CE and trying to upgrade to M2 EE. I have tried below ways: https://magento....
user avatar
  • 1,521
2 votes
1 answer
3k views

PHP Extension bcmath is missing in PHP Extensions Check

I found a lot of questions on this topic. but sorry, nothing can resolve my issue. I am using virtual box to run centos 7. I have downloaded Magento 2.3. I tried composer install on my Magento ...
user avatar
0 votes
0 answers
69 views

Magento 1.9 running slow on frontend on localhost and production servers

I'm trying to speed up Magento 1.9.0.1. It's taking something like a minute or so on localhost MAMP 5, and page speeds on production are loading over 10 seconds. I've tried full page cache extensions,...
user avatar
0 votes
2 answers
69 views

Magento 2: php version issue

on my ubuntu 16 server i have installed php and it show version PHP 7.1.30-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: May 31 2019 11:43:14) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend ...
user avatar
1 vote
1 answer
102 views

Error in PWA Setup in Magento 2.3.0

We have face error while setup PWA in Magento 2.3.0 with YARN. See screenshot for more detail Magento Version 2.3.0 PHP version 7.2 This error is shown when i try to build using sudo yarn run build ...
user avatar
0 votes
3 answers
1k views

Print the index.php code instead of execute in magento 2

I have installed magento 2 in my ubuntu and I tried to run magento setup, it print the index.php code. Help me.
user avatar
  • 145
0 votes
1 answer
128 views

Magento 2 + Docker Setup [duplicate]

Anyone have an idea of how to setup docker in ubuntu 16.04 for Magento2? Also able to describe docket concept basic will be better. Thanks
user avatar
  • 1,442
0 votes
2 answers
67 views

Magento 2 + Permissions issue in Ubntu 16.04

Every time i run setup upgrade or static-content deploy command, I need to assign permissions to var, generated, pub/static etc in Ubuntu. Is there any permanent solution for that so every time we ...
user avatar
  • 1,442
9 votes
3 answers
27k views

How to switch between PHP versions on Ubuntu Nginx [closed]

I have PHP 7.0 and 7.2 installed. For now, I use PHP 7.0. How can I switch to PHP 7.2?
user avatar
  • 601
1 vote
2 answers
776 views

Magento 2.3 installation problem

I have installed magento2.3.1 in example.com/test/ folder through commandline.Installed successfully. but when opening url in browser http://example.com/test/ it shows error in backend it shows ...
user avatar
  • 617
0 votes
0 answers
441 views

why checkout and cart page not showing in magento 2

my site not showing checkout and cart page why this happening ?? Checkout page Cart page can anyone find the solution
user avatar
  • 1,047