Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
2answers
22 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 ...
0
votes
0answers
29 views

Install data-migration-tool 2.2.6 Problem

I've some problem to install the Migration-Tool. I don't know why I have that error. But, I know there is a 2.2.6 version for the Migration-Tool Thanks for your help.
1
vote
0answers
36 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.
5
votes
2answers
136 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.
0
votes
0answers
50 views

PHP Fatal error in my Magento and the site doesn't open

I did something very wrong in magento, where every line of code I get following error: PHP Fatal error: Uncaught Error: Class 'Magento \ Setup \ Mvc \ Bootstrap \ InitParamListener' not found in /var/...
0
votes
4answers
190 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 ...
0
votes
2answers
185 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.
0
votes
1answer
110 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': ...
2
votes
1answer
158 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/...
0
votes
1answer
96 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 ...
0
votes
1answer
15 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 ...
0
votes
2answers
138 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
0
votes
1answer
58 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 ...
0
votes
1answer
374 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 ...
0
votes
1answer
263 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/...
0
votes
1answer
162 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.
0
votes
0answers
45 views

Magento PATCH_SUPEE-10415_CE_1.9.3.6_v1

I have run this patch with console/ssh. My Magento is in Folio3 maintenance and after I run the patch tt gives me a PHP fatal error [04-Dec-2017 14:39:20 UTC] PHP Fatal error: Class '...
1
vote
1answer
116 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 ...
0
votes
1answer
52 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 ...
0
votes
0answers
69 views

Magento sync orders and customers between dev and live installation

I need to sync order and customers and all linked tables from a live installation to a dev one of magento. There's a sql query to run or an SSH command? Thank you
0
votes
1answer
246 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, ...
1
vote
1answer
366 views

How to run reindex without SSH access?

I install Magento 2. All is good. When I arrive on the admin page, I have the reindex problem. I try to read many tutorial to correct this problem but, or I can't because I haven't SSH on my server, ...
0
votes
2answers
91 views

What am I doing wrong in applying patch?

When trying to apply a patch I am getting this error- ssh PATCH_SUPEE-9767_CE_1.9.3.2_v2-2017-07-11-11-06-06.sh ssh: Could not resolve hostname PATCH_SUPEE-9767_CE_1.9.3.2_v2-2017-07-11-11- 6-06.sh:...
1
vote
2answers
154 views

Run reindex via ssh - magento 2.1

I am trying to create button to run php ../bin/magento indexer:reindex bash script via admin panel. It is working on my localhost but when I pushed the script on server nothing happens. <?php if ($...
0
votes
2answers
689 views

Magento 2 - None of transactional emails are sending

None of store's transactional emails are sending (order confirmation, newsletter signup confirmation, account password reset etc). All settings in backend of magento are good (like "Disable email ...
4
votes
1answer
1k views

How can i run system->import/export->export by Command ssh

I get no valid data send error during product export via system->import/export->export. Actually this because of time out error. How can run this export by command ssh.
0
votes
2answers
267 views

Extract rar file with SSH using php

I need to extract rar file for my custom import extension. i have used shell_exec() and exec("unzip/path/images.rar", $result, $returnval); but not working. Any one knows how to extract rar file ...
1
vote
0answers
29 views

PhpStorm debugging Magento 2 Devbox gives “Protocol mismatch” error

I was able to create the dev box and start the listener script successfully, but when I start a debugging session I receive this error on any page: SSH-2.0-OpenSSH_6.7p1 Debian-5+deb8u3 Protocol ...
1
vote
1answer
1k views

Magento 2.1.2 - PHP Parse Error in Bootstrap.php when trying to execute bin/magento commands

Can't seem to find a fix for this issue. I'm running Magento 2.1.2 with PHP 7.0.16, however there are different versions of PHP installed on different websites on the same VPS. When trying to execute ...
2
votes
1answer
1k views

Save all products through php/shell script

I'm in the process of cleaning up my existing magento install by moving the DB and using a new install so I can do away with all the unnecessary extensions taking up space. Everything seems to have ...
13
votes
4answers
17k views

How to flush Magento 1.9.x cache using SSH?

If for some reason I couldn't access my Cache Management page from my Magento Admin, how can I clear cache using SSH?
0
votes
1answer
323 views

Magento 2.1.3 unable to reindex using SSH

I tried the instructions under Magento 2 Reindexing - One or more indexers are invalid. Make sure your Magento cron job is running but am still unable to reindex. I ssh'd into my webserver and tried ...
0
votes
1answer
229 views

./mage No such file or directory

I'm trying to upgrade Magento (from ver. 1.9.1.0) through the CLI using PuTTY. I'm following this guide: Magento isn't upgradable through Magento Connect Manager But it always give me same ...
0
votes
1answer
37 views

Securing site only with FTP [duplicate]

I just want to understand something. Our developer, busy with cleaning up malware from our site, asked for SSH access in order to install latest security patches on our magento 1.9.2.4. The hosting ...
1
vote
1answer
6k views

Getting “Command line user does not have read and write permissions on var/generation directory” when trying to access php bin/magento

Trying to get a basic grasp of ssh and cli on Magento 2.1 to "easily" install themes and extensions, but I'm dead in the water from the get go. I have a working version of 2.1 running on a VPS. Ran ...
1
vote
1answer
1k views

Composer detecting older version of PHP

I'm trying to install Magento 2 via composer and following this link for instructions. In step 2, composer install I get a php version error. Loading composer repositories with package information ...
0
votes
1answer
2k views

Updating via SSH: Magento CE 2.1.2 to 2.1.3

I would like to update my Magento 2.1.2 version to the new Magento 2.1.3 via SSH. I have established a connection with my server, but am not sure how to continue. The internet provides me commands ...
4
votes
2answers
2k views

Magento 1.9.2.4 patch SUPEE-8788 malformed patch at line 5790 [duplicate]

I want to apply the new SUPEE-8788 patch. But when bash the patch trough SSH, I get the following error: Checking if patch can be applied/reverted successfully... /bin/patch: **** malformed patch at ...
3
votes
2answers
1k views

Magento ver. 2.1.0 - Index Management without SSH/Shell Access?

Is it possible to do Index Management without SSH/Shell Access in Magento ver. 2.1.0 ?
1
vote
0answers
60 views

How to logout / close ssh connection after completing session [closed]

I don't have any experience of using ssh / commands, I'm using ssh just for reindexing Magento. When I finish reindexing then how can I log out? Which command can I use to log out?
0
votes
2answers
4k views

Execute magento commands in php shell without SSH

My webserver host does not provide access to SSH. I want to run commands like: php bin/magento setup:static-content:deploy I have tried to do this in the shell terminal using: - phpFileManager - ...
1
vote
1answer
304 views

Magento 2 Patch MDVA-449 SSH Command

I have followed these instructions to apply the above patch - http://devdocs.magento.com/guides/v2.0/release-notes/tech_bull_207-upgrade.html and on the bottom it instructs to execute the command cp -...
2
votes
5answers
10k views

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

Yesterday I was working on my new Magento2 site and add new module after that I use SSH command and it was working perfectly but today morning I start working and start putty to run command but it's ...
0
votes
4answers
8k views

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

I'm working through the Hello World tutorial and it's time for me to enter the "$ php bin/magento setup:upgrade" command for the reason mentioned in the tutorial but I get the error: "Could not open ...
7
votes
3answers
22k views

Re-index magento via ssh / putty

I have logged into my Magento instllation via ssh/putty, I then ran cd public_html to get to my root folder and am then running the following commands: php indexer.php --reindex ...
0
votes
2answers
733 views

Deploy Production mode via SSH gets stuck at 'Static content deployment'

So, I guess this is kinda vague and hard to explain, so I'll try to give some detail to help contextualise the problem. I have a Magento 2.0.0 install, that I installed via cPanel's Installatron. ...
2
votes
1answer
1k views

Invalid credentials for 'https://repo.magento.com/packages.json', aborting

I am having real trouble getting past this stage. I have looked at posts on this topic from different websites and none of the solutions work. I have created secret keys via magentocommerce website ...
1
vote
5answers
2k views

Magento2 without ssh

Is there is any way to work on magento2 without ssh??? I have a server which don't have any ssh access. So how can i work on there is there is any way>> Please help me
0
votes
1answer
339 views

Cron jobs not being called, getting email notification errors

I've been having a hard time getting my cronjobs working for my new magento 1.9.2.3 install. I added a mailto along with my cron call in crontab and i've been getting back error messages like this: ...
0
votes
1answer
2k views

Catalog URL Rewrites stuck in processing

SO last night I had to delete alot of products to start over and now Catalog URL Rewrites Index is stuck in processing. With some research I saw that this might be able to be handled via SSH but I do ...