Questions tagged [linux]

The tag has no usage guidance.

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

move several files in image directories

As you know magento store images in pub media folder I import lots of files (millions), thousands at once and I thought it is a good idea to split those millions files in at least thousands folders So ...
director_PR's user avatar
0 votes
0 answers
44 views

Magento 2.4.5 Install Problem on CPanel of LINUX Server

I need to install Magento 2.4.5 on my website. I have access to terminal. and uploaded the installation pack to public html. I am some new to Magento. I have 3 problems: 1- my composer version is 2.4....
ngmajid's user avatar
0 votes
2 answers
2k views

Magento 2.4.5 Community upgrade in the lock file but not in remote repositories Composer Error

Thank you for taking time to read this. I have been trying to upgrade Magento 2.4.3 to 2.4.5 but getting these errors for example Root composer.json requires extprovider/extname ^1.14, found ...
nem3943's user avatar
  • 43
1 vote
1 answer
178 views

VM bitnami magento 2.4.2 stack

How do I access the magento files in a VM running the bitnami magento stack? 192.168.1.12/magento ? When I do that get connection refused, but I could be wrong about how to run magento for the first ...
user52295's user avatar
1 vote
0 answers
2k views

PHP Fatal error: Cannot use ::class with dynamic class name in /home/magento/web/MYWEBSITE/public_html/vendor/laminas/laminas-mail/src/Message.php

When I ran the command php bin/magento s:s:d -f while upgrading Magento from 2.4.2 to 2.4.4, I get the following error. PHP Fatal error: Cannot use ::class with dynamic class name in /home/magento/...
CodeForGood's user avatar
1 vote
2 answers
431 views

Elasticsearch 7.11 connection refused using Devilbox

I'm starting the Elasticsearch 7.11 in my linux, and it works when i run curl -XGET localhost:9200 INSIDE MY LINUX. But the issue is, i'm trying to access this Elasticsearch service started in my ...
Rafael Fagundes's user avatar
0 votes
1 answer
110 views

how can i install magento 2.4.4 and 2.3.3 having different server requirements on local system for development in linux

i know that we can switch between different version of php in ubuntu with the commands sudo a2dismod php7.1 sudo a2enmod php5.6 but the mysql requirement for the old and new magento setups are also ...
Ritesh Kumar's user avatar
1 vote
4 answers
12k views

No alive nodes found in your cluster

I'm using a centos 7 server where I've installed nginx, php, mysql, elsaticsearch and ceated a magento setup. In the magento admin > stores > Configuration > catalog > Catalog > ...
Sanjib Chowdhury's user avatar
0 votes
1 answer
154 views

Magento2.4: fatal:no submodule mapping found in .gitmodules for path public_html/vendor/ezyang/htmlpurfier

On running git pull command, I get this error. Could you please help fix this?
CodeForGood's user avatar
1 vote
1 answer
424 views

Magento 2 : Cron hanging - can't debug

Running into an issue on Magento 2.4.3. Where cron jobs appear to be running correctly but when I run the below I keep seeing cron jobs hanging stuck for an hour, days or more, I have to manually kill ...
Nadroj467's user avatar
  • 541
0 votes
1 answer
111 views

enabling module error in vendor after installing with composer by CLI

I add a module with composer and then try to enable it by writing the command php bin/magento module:enable SR_UnicodeUrl but I get a long error in response that starts with this phrase Unknown ...
sina Dabbagh's user avatar
0 votes
1 answer
770 views

problem in facebook pixel module for magento2.4

we installed the facebook pixel module for magento2.4. so far everything perfect. But when I enter the product registration and saved, the error below occurs Error: Call to undefined method Facebook\...
amazonas ecommerce's user avatar
1 vote
1 answer
3k views

Configure php-fpm in magento2.4 correctly

php-fpm is consuming a large amount of memory, forcing the instance to restart. The server would like to know the configuration or the procedure for an ideal configuration. server: 4vcore memory: ...
amazonas ecommerce's user avatar
0 votes
0 answers
127 views

Magento bitnami linux Setup Varnish

I want to configure and use : https://devdocs.magento.com/guides/v2.3/config-guide/varnish/config-varnish.html for Magento in bitnami Linux Can any one guide me port no which Port No Varnish should be ...
Anonymous Record's user avatar
0 votes
3 answers
729 views

Installing Magento 2.4 in Linux Mint

I am trying to install Magento 2.4 in my localhost. I am using Linux Mint 19.1 as my OS. First I downloaded Magento 2.4 using below command. composer create-project --repository-url=https://repo....
abu abu's user avatar
  • 744
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-...
S-o's user avatar
  • 21
1 vote
0 answers
23 views

Magento 2.3 - LEMP - Nginx hosts - Backend & frondend url 404 error

My LEMP localhost URL : 192.168.1.64:8087/giri I want to stup multiwebsite so that i have configured url like www.giri.local by using follow steps, Nginx : etc/hosts 192.168.1.64:8087 www.giri.local ...
zus's user avatar
  • 155
1 vote
0 answers
37 views

Magento 2.3 - How to setup LEMP - Multi Website Localhost url setup on Nginx

For testing, we using Magento 2.3.4 in localhost [Centos 7 & Nginx] Main-store Path & URL: Path : usr/share/nginx/html/gomart - URL : http:// 192.168.1.64:8077/ Multi-Store URL : Path : usr/...
zus's user avatar
  • 155
1 vote
1 answer
206 views

Magento 2.3 - LEMP Localhost - For Multi Website where should be create Symbolic links folder - Root folder or Pub folder?

I just want to create multi-website, i read some links to guide me to create a subfolder and create symbolic links of app,pub,lib,var and copy index.php & .htaccess from root folder to a subfolder....
zus's user avatar
  • 155
2 votes
2 answers
570 views

Magento 2.3 - LEMP Localhost - How to configure Nginx for Multi-Website store on Localhost (Centos 7)

Where is an error in my following steps for creating Multi Website Store :: Steps :- Main website Path : usr/share/nginx/html/giri Contains all magento files Configuration in nginx.conf.sample for ...
zus's user avatar
  • 155
0 votes
2 answers
39 views

Installation error on linux 2 aws?

Updating modules: Connection "default" is not defined When I run Upgrade command I am getting this error?
Anonymous Record's user avatar
0 votes
2 answers
420 views

I have a problem with Chinese flood bots qq.com bots

we are running linux debian dedicated server for our website... I have a problem with CHINESE bots qq.com bots they are connecting to my website all the time. about 5000 - 10.000 different IPS .. ...
Bizzon's user avatar
  • 1
0 votes
1 answer
222 views

Linux debian automatic script to free up memory - advice

I need your professional advice on using this script on my linux debian server... The server is used to hosting a website on Magento platform and I have noticed that each 2-3 days when I check the ...
Bizzon's user avatar
  • 1
0 votes
1 answer
348 views

How to Change URL of Magento Site After Modifying Apache DocumentRoot?

My question is similar to How to do redirect the URL of site but I want to do the opposite. And there is a further challenge or two I cannot understand yet. Our setup is a Magento 2.3.3 store running ...
MountainX's user avatar
  • 240
0 votes
0 answers
96 views

Which files under Magento webroot should be executable?

Security best practices suggest that you should never have an executable in a public web directory. However, in a typical Magento install (in my very limited experience), this is not true. Even in ...
MountainX's user avatar
  • 240
1 vote
2 answers
1k views

How to use Elasticsearch 6 with Apache, Redis and Varnish on Magento 2.3 Open Source?

I'm just learning Magento. I have Magento 2.3.3 open source set up on a Linux server with Apache, Redis & Varnish. Next I want to install Elasticsearch 6 ("ES") and I have confusion about some ...
MountainX's user avatar
  • 240
1 vote
3 answers
2k views

How to Disable Inventory Management In Magento 2.x

It may be necessary to disable Inventory Management modules to: Speed up the upgrade process for merchants migrating from 2.0.x, 2.1.x, or 2.2.x to 2.3.x. Use custom or third party inventory and ...
MountainX's user avatar
  • 240
0 votes
1 answer
153 views

New/Modified files won't inherit group ownership

This is happening for the first time after months of developing. I don't know what changed. We set file permissions and then We run in Magento2 root folder: sudo chown -R user:apache . But, every ...
jtalel's user avatar
  • 13
0 votes
3 answers
3k views

Magento 2 All Products pages Redirect to catalog search

I am facing an issue which is I am not able to access any products pages. Either trying to access them directly via product URL or product page Or via Search Results Or via Site Navigation every time ...
jt9489's user avatar
  • 155
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-...
farp332's user avatar
  • 101
0 votes
0 answers
706 views

Magento 2.2.2 upgrade 2.3.2 PHP 7.2 MCRYPT_BLOWFISH pecl

Centos 6 Apache 2.4 PHP 7.2 I am trying to complete the upgrade of the Magento 2.2.2 store to Magento 2.3 following this tutorial https://digitalstartup.co.uk/t/how-to-upgrade-from-magento-...
jt9489's user avatar
  • 155
1 vote
0 answers
79 views

how to run linux command in magento1

How to run below linux command in Magento 1 under observer/model? grep -n 'tracker' test.txt which can be later used for cron?
groy's user avatar
  • 351
2 votes
0 answers
409 views

ERROR Magento\Framework\Exception\LocalizedException: Field title can't be empty in Model/Theme.php:337

I have this problem installing Magento2, is stopped at 51%. I checked: Permissions => chmod 777 Composer Installation DB Also I tried with those Solutions: magento setup upgrade error: field can&#...
Javier Teodoro Diaz's user avatar
1 vote
0 answers
32 views

File permission

Using Linux,centos7,cloud server.having 3 accouts. About file permission, sometime getting warning can't inside the website, need to refresh 2~3 times. How to fix file permission, we don't want every ...
niceonelee's user avatar
1 vote
3 answers
2k views

n98-magerun.phar not working - PHP Fatal error: Class 'Phar' not found

I can't execute n98-magerun.phar, I get PHP Fatal error: Class 'Phar' not found. I am using PHP 5.5.14 (cli) Any hints how to solve this?
Black's user avatar
  • 3,150
0 votes
1 answer
153 views

Installing Magento 2 Store

I am trying to install a Magento 2 store in a Ubuntu instance of AWS. I am getting broken site like below I used below commands php bin/magento setup:upgrade php bin/magento cache:flush php bin/...
abu abu's user avatar
  • 744
0 votes
1 answer
487 views

Install Magento 2 in Linux Mint

I installed WordPress in my Linux Mint successfully. I used sudo chmod 777 -R /var/www/html/wordpress/corewordpress I am trying to install Magento2 same way but I can't. Why it is happening ?
abu abu's user avatar
  • 744
0 votes
1 answer
4k views

Operation not permitted

I am trying to install a Magento 2 in Linux Mint 19. I am facing issue in file permission.
abu abu's user avatar
  • 744
0 votes
3 answers
2k views

Uncaught RuntimeException: Can't create directory

Environment: Magento2 2.2.5 / PHP 7.0.28 Fatal error: Uncaught RuntimeException: Can't create directory /opt/lampp/htdocs/Procfit-Institucional/generated/code/Magento/Framework/App/...
Caio Pereira's user avatar
2 votes
1 answer
323 views

Best server configuration for Magento 2 small application [closed]

We are developing one small application of electronics in magento 2 community version. Now we are planning to publish this site so which server/configuration is best for this kind of site So please ...
Anil Prajapati's user avatar
0 votes
2 answers
53 views

How to install theme in recent Magento on Centos 7 (no GUI, VM)?

There are 2 directories of Porto theme.zip on my Windows desktop - "app" and "pub". I put them by simply dropping from desktop into /app/design/frontend Centos directory via WinSCP. In my opinion full ...
Андрей Б.'s user avatar
6 votes
2 answers
5k views

Magento 2 - After adding to cart, cart page showing empty

I have a magento 2 website and I am facing an issue where After you add to cart, cart page is showing empty. It's not happening all the time but most of the customers are facing this issue. Thanks
Saphal Jha's user avatar
  • 1,823
0 votes
1 answer
297 views

how to export large sql file to phpmyadmin in kali linux?

Hi i know in windows for exporting large sql files to phpmyadmin i run following command: mysqldump -u root -p[root_password] [database_name] > dumpfilename.sql in location (C:\xampp\mysql\bin) ...
Hamza Mustafa's user avatar
0 votes
0 answers
1k views

Magento 2 Backend are very slow

Please help me with issue. My main problem is that mysql are very slow. When i try create products in my CMS, it take mutch time. Example - create product take 4 min, delete product - 12 min. I use ...
James M's user avatar
  • 101
4 votes
0 answers
49 views

REİNDEX SYMFONY ERROR SCREENSHOT

Magento facing indindex issue, please check with below url - CommandNotFoundException ERROR My Screenshot KALİ: https://image.ibb.co/gu6fWb/Screenshot_from_2017_12_29_03_05_41.png HELP THANX GUYS
Poyraz Uluhan's user avatar
0 votes
2 answers
38 views

Magento 2 - Content deploy creating folders instead of file

Magento 2 - Content deploy creating folders instead of file
Saphal Jha's user avatar
  • 1,823
1 vote
0 answers
2k views

Permissions problem with Magento 2.2.0, Nginx, Ubuntu Server only in var/cache/mage-tags

I keep getting the following types of errors: Exception #0 (Exception): Warning: file_put_contents(/opt/magento2ce/var/cache//mage-tags/mage---3d0_TRANSLATE): failed to open stream: Permission denied ...
jtlindsey's user avatar
  • 241
1 vote
2 answers
1k views

How to import .csv file in defined table in command line?

I need to import.csv file throught windows command line terminal in defined table. I was trying this command : C:\xampp\mysql\bin\mysql -u root -p dbname dbtablename < C:\xampp\htdocs\site\...
John's user avatar
  • 115
6 votes
6 answers
12k views

Image CAPTCHA requires FT fonts support

After entering my username and password into the admin uri of magento I get the following error in system.log [2017-10-09 00:00:00] main.CRITICAL: Image CAPTCHA requires FT fonts support [] [] there ...
user3338098's user avatar
0 votes
1 answer
2k views

Notice: A non well formed numeric value encountered in /var/www/html/vendor/magento/framework/Image/Adapter/Gd2.php on line 467

Can you help me? please, I want to know , how to fixed this error in magento 2.0.46 in ubuntu 14.04 Operating System.
wasantha's user avatar