Questions tagged [ssh]

Denotes questions related to use of Secure Shell (SSH) with Magento. SSH is a cryptographic network protocol for operating network services securely over an unsecured network.

Filter by
Sorted by
Tagged with
0 votes
1 answer
87 views

How to configure php-fpm in magento2.4.4 on CentOS server

after upgrading magento version , commands not working. https://prnt.sc/OOxHHF7WVLyR
kiran's user avatar
  • 527
0 votes
1 answer
579 views

Problems applying security patches in Magento 2.3

I'm currently attempting to install some security patches on a Magento 2.3.6 instance and don't seem to be able to apply them. I'm using the files from the following page: https://support.magento.com/...
CJNotts's user avatar
  • 392
0 votes
1 answer
105 views

SSH Error: Could not save the page: Content HTML contains restricted elements. Allowed HTML attributes for tag

does anyone have any information or details on the following warning that I am seeing in the 2.4.3 when I try to run bin/magento magesetup:setup:run with Argument: Could not save the page: Content ...
Tatar Jony's user avatar
1 vote
2 answers
835 views

Permission for Magento user - Magento 2.4.2

May I know the permission for the Magento user to run the cmd SSH/putty. I had checked the Magento documentation but I can't understand for which file need to give 777 and which files need to change ...
Sabareesh's user avatar
  • 328
0 votes
1 answer
56 views

Images disappeared from backend but still in SSh

I do have an issue with product images, In the backend there are no images Export from Magento shows images are assigned correctly and the images are available in SSH. The issue is not all the ...
Ahmed Rady's user avatar
0 votes
1 answer
36 views

Magento 2 SSH reindexing not working? [duplicate]

I just installed a Magento 2.3.6 version. and I tried to run the Command Reindexing but it's not working. I tried with diff commands like cache clear and flush none of the commands are not working ...
Nikhil Kumar Gantyala's user avatar
0 votes
1 answer
45 views

Magento 2 SSH CLI reindexing not working

I just installed a Magento 2.3.6 version. and I tried to run the Command Reindexing but it's not working. I tried with diff commands like cache clear and flush none of the commands are not working ...
Nikhil Kumar Gantyala's user avatar
0 votes
1 answer
467 views

PHP Fatal error: Uncaught Error: Cannot instantiate interface Magento 2.3

When running php bin/magento setup:upgrade i see this error. {"messages":{"error":[{"code":500,"message":"Server internal error. See details in report api\/...
user70508's user avatar
0 votes
1 answer
1k views

Change Magento 2 PHP version in SSH

I'm currently trying to upgrade Magento 2.3.4 CE, to 2.4.0 CE. However I was constantly getting "Component Dependency" errors. I then tried to upgrade in SSH but got the following error: ...
CJNotts's user avatar
  • 392
0 votes
1 answer
243 views

Is there any method of writing a mysql query and saving the result in a .csv file from Magento?

i'm pretty new at sql queries and using the terminal in general for accessing data in MySQL and Magento. I've been asked to export a daily list of database entries in a Magento database and export ...
Urick's user avatar
  • 1
0 votes
0 answers
1k views

Magento 2 commands automatically killed

I am running commands setup:di:compile and cache: clean it's running for while, but after sometime it got killed in magento2.3.2. Please let me know the exact issue for this.
gill's user avatar
  • 329
0 votes
0 answers
210 views

Magento 2.3.4 Undefined index: decimal(12,4) NOT NULL default 0

I am trying to install a Reward Point Extension from MagePlaza, after i upload the files and enable the module via SSH, My site crashes. After the extension install I run bin/magento setup:upgrade ...
09eric09's user avatar
0 votes
1 answer
86 views

Beginner Magento 2 Development without SSH

I've been developing and become quite familiar with another framework, but I'd like to start learning and seriously taking on Magento 2. My host is a shared linux environment that DOES NOT provide ...
StuyvesantBlue's user avatar
0 votes
2 answers
174 views

Persistent permission issue on my folders

I am having some issues with my magento 2.3.1 stored on a ubuntu 16.04 server . each time i run php bin/magento setup:upgrade, the VAR and GENERATED folder always loses its permission until i run ...
LoudHouse Family's user avatar
0 votes
2 answers
390 views

How can I use ssh command using php script as root user?

I am working third party integration for which new files generating automatically when my code is running. But it required permission after creating the file. I want to give the permission as a ...
Vinod Kumar's user avatar
  • 2,045
0 votes
1 answer
224 views

after installing extension megamenu the site does not come back

I am in this world but I like to learn. i have a website in magento 2 (http://www.contornodamoda.com.br) ... it was cute until I decided to install an extension whose name is easy megamenu now I have ...
Leandro Barbosa's user avatar
0 votes
1 answer
151 views

paypal plus modul to magento 2 SSH InvalidArgumentException

I have a problem with intergration of Paypal Plus Modul for Magento 2. I found this module on github https://github.com/i-ways/magento2-paypal-plus There are instructions not to install it on ...
Tatar Jony's user avatar
1 vote
2 answers
3k views

Magento cloud ssh denied for db:dump

I need to install an existing Magento Cloud project locally using cli but facing issues with database dump. Indeed here's the error I get : Hello xxxxxxx (UUID: xxxxxxx), you successfully connected,...
Kevin Thomas's user avatar
0 votes
2 answers
778 views

Unique constraint violation found after upgrading to Magento 2.3.3

I just recently upgraded from Magento 2.3 to Magento 2.3.3 and whenever I'm trying to run php bin/magento setup:upgrade SSH command it just stick on Unique constraint violation found. Any idea how do ...
Akram's user avatar
  • 11
1 vote
1 answer
288 views

Bypassing the different server PHP versions to install extensions

My SSH version is 5.4 but my server version is 7.1. i used composer install --ignore-platform-reqs to bypass the errors and install Magento 2.3 but now i want to install extensions using bin/...
LoudHouse Family's user avatar
0 votes
2 answers
586 views

Magento 2 - How to truncate table using SSH?

I want to truncate database tables using command line. Any directions will be highly appreciated.
Greg's user avatar
  • 2,899
0 votes
1 answer
90 views

Is it possible Magento 2 site work without ssh/command prompt? [closed]

I am installed Magento 231 site. After that, I want to installed Magento extension and theme but I have no ssh or command prompt? Someone help me how can I achieve this. Thanks in advance.
Sweety Masmiya's user avatar
0 votes
1 answer
261 views

SSH “Could not open input file: bin/magento” in Magento2

I try to install: https://www.magesolution.com/front-end-cms-page-builder.html in Magesolution document told run ssh command: unzip -o Extension_Package_Name.zip but the problem is when run unzip -...
Khalid Almallahi's user avatar
0 votes
2 answers
572 views

Magento 2.2.1 error during static content deploy

I have a own template in app/design/frontend/tm/XXX-theme. I built it like described in the dev docs. Parent theme is luma. Magento run in developer Mode. After i use setup:static-content:deploy ...
Marcel's user avatar
  • 165
1 vote
0 answers
209 views

Plesk Hosting Magento 2 commands not working

I'm Using Plesk Hosting Magento 2 installed but i can't use commands any kind of command not working. i'have tried many different commands all gives error some can advice will be highly appreciated.
Aadii Mughal's user avatar
2 votes
6 answers
10k views

connection "developer" is not defined

Anytime I run this to install any extension: php bin/magento setup:upgrade. I get the error - connection "developer" is not defined. I have tried to change the mode to developer and when I run it,...
LoudHouse Family's user avatar
0 votes
1 answer
97 views

Error related to Framework in Magento 2 SSH CLI

I'm currently running a Magento 2 (2.2.7) site and I've been getting the following error in the CLI when I enter certain commands (usually to do with enabling/disabling modules). The directory "/...
CJNotts's user avatar
  • 392
2 votes
2 answers
2k views

Uncaught TypeError: Argument 1 passed to Symfony\Component\Console\Helper\ProgressBar::setFormat() must be of the type string, null given

When i trying to install data migration tool then getting this error in SSH PHP Fatal error: Uncaught TypeError: Argument 1 passed to Symfony\Component\Console\Helper\ProgressBar::setFormat() ...
sumeet bajaj's user avatar
  • 1,225
0 votes
1 answer
777 views

Cannot set Magento2 to Production Mode

I tried to put my website into Production mode. For this, I used the following command on SSH but it get stuck. php bin/magento deploy:mode:set production Please refer to the following screenshot.
kaizen's user avatar
  • 103
2 votes
3 answers
3k views

Magento 2.3 Useful SSH CLI Commands List [duplicate]

list of magento 2 SSH CLI Commands what is magento ssh cli command for Upgrade? what is magento ssh cli command for Cache Clean? what is magento ssh cli command for Cache Flush? what is magento ...
eima's user avatar
  • 103
0 votes
1 answer
110 views

Magento 1 to Magento 2 Data Migration causing Validation Exception error

I'm currently in the process of trying to migrate my Magento 1 data to Magento 2. The versions are Magento 1.9.3.9 for the original and Magento 2.2.7 for the new one. I have cloned the Magento 1 ...
CJNotts's user avatar
  • 392
2 votes
1 answer
2k views

Magento 2.3 PHP Parse error unexpected '?' in write.php

I want to Install cron with putty SSH. I use php bin/magento cron:install [--force] and get this error: PHP Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE) in /www/...
Marcel's user avatar
  • 165
3 votes
0 answers
468 views

Magento 2 : connect remote database over ssh tunnel

I have a database setup on remote server that is accessible via SSH. I need to connect magento 2 on my localhost to this mysql database via ssh tunnel. is this possible? if yes how?
Abid Malik's user avatar
0 votes
2 answers
4k views

Conflict with your requirements or minimum-stability

i want try doofinder in my magento 2.2.6 ecommerce but when i try to install it i get this error: Using version ^0.1.7@beta for doofinder/doofinder-magento2 ./composer.json has been updated Loading ...
fabio ors's user avatar
1 vote
0 answers
57 views

How to search and replace words in ssh? [closed]

I need to change more than 200 words like ( good ) to ( best ) in all files on my hosting. I have SSH access.
Greay's user avatar
  • 125
6 votes
2 answers
1k views

Commands are not working even when I tried to give permissions

I am trying to run commands through ssh, but commands are not working. Please check the screenshot.
Flutterer's user avatar
  • 728
3 votes
4 answers
8k views

Magento 2 : Composer runs out of memory

I am trying to install instamojo payment gateway to my magento2 store, as per the instructions givne by instamojo page https://docs.instamojo.com/page/instamojo-integeration-for-magento-2 i tried the ...
Amul Bhatia's user avatar
0 votes
2 answers
2k views

SSH “Could not open input file: bin/magento” Magento2

I'm trying to reindexing my Magento 2 I have done these steps in putty can anyone tell me what did I do wrong? I'm new in using SSH that's why thank you so much.
muzramn's user avatar
  • 87
0 votes
1 answer
1k views

SSH Command Line Error on fresh install of Magento 2.2.5 on Bitnami

I have tried numerous installations of magento on Bitnami and I keep getting the below error when trying to upgrade using 'sudo php /opt/bitnami/apps/magento/htdocs/bin/magento-cli setup:upgrade': ...
jacknely's user avatar
4 votes
1 answer
2k views

Magento2 change to production mode

i want to change from developer to production, but i can't because i get an error that exec function is disabled and my host will not enable it. What are the actions taking place when you type bin/...
Dimitris Mouhtaropoulos's user avatar
0 votes
1 answer
664 views

Magento 2.2.2 SSH Reindex locked processes help

Recently I've been running the SSH command line php bin/magento indexer:reindex But twice in 3 days it starts to hang after Catalog Product Rule index has been successfully rebuilt.. My server ...
Stark's user avatar
  • 1
0 votes
1 answer
20 views

Magento2 Frontend and backend doesn't work while executing commands

Whenever I execute setup:di:compile and setup:static-content:deploy commands from SSH, magento2 frontend and backend showing error. My magento2 store in production mode. What should I do before run ...
Vinaya Maheshwari's user avatar
1 vote
3 answers
1k views

How to Run magento 2 command without connect putty?

When our Magento 2 on live server and we require to enable disable modules, flush cache , deploy static files etc ,we need to configure SSH. but now not connect my putty so how to run all command
kaushal navapara's user avatar
0 votes
1 answer
209 views

urgent help fatal error magento 2 website is working but all the styles are gone after running command

need serious and urgent help. i was trying to disable a module in magento2.2 by command line. first i run the command: php bin/magento setup:upgrade and after that i ran the command to disable the ...
Laiba's user avatar
  • 63
0 votes
1 answer
1k views

could not open file bin/magento in magento 2 ssh

after uploading my marketplace-module in app/code i've run the command as php bin/magento module:status but it gave me the following error as shown in image : i checked the file permission of ...
Laiba's user avatar
  • 63
0 votes
2 answers
1k views

Magento2 deploy command not working and rest commands are working

I have tried to run this php bin/magento setup:static-contnet:deploy command on the magento root folder then it showing the below error "Notice: Undefined offset: 0 in /home/nuluv938/public_html/...
Banvari's user avatar
1 vote
2 answers
2k views

Magento2 command not working

I have setup Magento2 on my local system but when i go to git bash and run any command i am getting this error bash: php: command not found.
imtiaz's user avatar
  • 11
1 vote
1 answer
351 views

How to run Controller function using SSH

I have function massProductcreateAction() At app\code\local\Adit\Rapnet\controllers\Adminhtml\RapnetController.php This function creates product from database and after creating 30 product to ...
Pratik Kamani's user avatar
0 votes
1 answer
204 views

How to remove line from patch script

When I run a patch it fails on one of the files. I would like to remove the respective line from the patch.x.x.x.sh so everything else is being patched except this file. Hope someone can explain the ...
Greg's user avatar
  • 2,899
0 votes
1 answer
417 views

Test Environment and back to Production via SSH

I'm trying to understand how to put online my Test Finished Magento and to have a Test folder where to continue to make customization to put on the store. I don't find a guide that explain me, ...
BigBlack's user avatar
  • 133