Questions tagged [ubuntu]
Denotes questions related to Ubuntu (open source software operating system)
80
questions
0
votes
0
answers
19
views
Magento 2 Grunt Install Error on Ubuntu LEMP
npm install -g grunt-cli
Showing Error on Grunt Install Error on Ubuntu LEMP:
npm notice
npm notice New major version of npm available! 8.5.5 -> 9.6.7
npm notice Changelog: https://github.com/npm/...
0
votes
0
answers
19
views
Deploy a magento2 existing project in a virtual machine with ubuntu to be able to run in localhost
I have an existing Magento2 project hosted on a server, and now I want to import it to my virtual machine. Here are the steps I have taken so far:
1-Created a virtual machine and installed Apache, ...
0
votes
1
answer
95
views
Add magento 2 module in ubuntu error
Repositories code generation... 1/9 [===>------------------------] 11% < 1 sec 117.0 MiBsyntax error, unexpected token "&", expecting "function" or "const"#0 /...
0
votes
3
answers
37
views
Magento layout file not called?
This is my Controller Index.php
<?php
namespace Hikmadh\Menu\Controller\Adminhtml\Product;
class Index extends \Magento\Framework\App\Action\Action
{
/** @var \Magento\Framework\View\Result\...
0
votes
2
answers
610
views
Magento 2 Class Mageplaza\LayeredNavigation\Model\Category\Attribute\Backend\Attributes does not exist
I have the following error when trying to access Magento 2.
Class
Mageplaza\LayeredNavigation\Model\Category\Attribute\Backend\Attributes
does not exist
This happen after removed Porto Theme. ...
0
votes
2
answers
170
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-...
0
votes
1
answer
629
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 ...
0
votes
0
answers
57
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)...
0
votes
2
answers
194
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 ...
1
vote
3
answers
4k
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 ...
1
vote
1
answer
61
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=&...
0
votes
1
answer
382
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, ...
0
votes
1
answer
187
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 ...
0
votes
1
answer
151
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 ...
0
votes
1
answer
73
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.
0
votes
4
answers
5k
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-...
0
votes
2
answers
447
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 ...
1
vote
0
answers
51
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
1
vote
0
answers
8k
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-...
3
votes
1
answer
4k
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, ...
0
votes
1
answer
713
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 ...
0
votes
1
answer
24
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 ...
2
votes
3
answers
8k
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.
2
votes
0
answers
269
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 ...
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/...
0
votes
1
answer
283
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 ...
0
votes
3
answers
4k
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 ...
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 ...
0
votes
1
answer
354
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 ...
1
vote
0
answers
505
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 ...
0
votes
1
answer
2k
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 ...
0
votes
0
answers
3k
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 ...
0
votes
1
answer
305
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.
...
4
votes
1
answer
786
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 ...
0
votes
1
answer
8k
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-...
0
votes
3
answers
4k
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 ...
2
votes
1
answer
140
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 ...
1
vote
2
answers
139
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 ...
0
votes
1
answer
272
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 ...
1
vote
6
answers
6k
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 ...
4
votes
1
answer
3k
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 ...
1
vote
2
answers
745
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....
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 ...
0
votes
0
answers
130
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,...
0
votes
2
answers
81
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 ...
1
vote
1
answer
152
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
...
0
votes
3
answers
2k
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.
0
votes
1
answer
140
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
0
votes
2
answers
105
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 ...
10
votes
3
answers
38k
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?