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
0answers
13 views

Magento 2.3.2 states “Class does not Exist”

When I try to update certain modules in my Magento 2.3.2 I get the following error in the background: In ClassReader.php line 19: Class Infortis\Ultimo\Magento\Mail\Template\TransportBuilder does ...
0
votes
0answers
10 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 ...
0
votes
0answers
23 views

reindexing error while trying to refresh magento 2.3 indexes via ssh with godaddy hosting

I am a noob user and am setting up magento 2.3 with godaddy hosting for development and testing my store. I receved the error message within magento: One or more indexers are invalid. Make sure your ...
0
votes
1answer
81 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,...
0
votes
2answers
57 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 ...
0
votes
1answer
31 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/...
0
votes
0answers
17 views

Cant run ./provision.sh in my Linux container

When i try to run provision.sh Linux get error fatal: [lxc-server]: UNREACHABLE! => {"changed": false, "msg": "SSH Error: data could not be sent to remote host \"magento.lxc\". Make sure this host ...
0
votes
2answers
68 views

Magento 2 - How to truncate table using SSH?

I want to truncate database tables using command line. Any directions will be highly appreciated.
0
votes
1answer
47 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.
0
votes
1answer
56 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 -...
0
votes
2answers
70 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 ...
1
vote
0answers
56 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.
2
votes
4answers
433 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,...
0
votes
1answer
21 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 "/...
2
votes
1answer
244 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() ...
0
votes
1answer
139 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.
0
votes
3answers
1k 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 ...
0
votes
1answer
46 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 ...
0
votes
0answers
21 views

Wrong version in composer outdated

When I run composer outdated I receive the information below: Why does it not show that 2.3.x is available? Is it because I started the project with Magento 2.1.x? Even when I moved to 2.2.x, it was ...
2
votes
1answer
927 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/...
2
votes
0answers
112 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?
0
votes
2answers
656 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 ...
1
vote
0answers
38 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.
6
votes
2answers
906 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
4answers
3k 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
889 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
506 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': ...
4
votes
1answer
1k 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
376 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
16 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 ...
1
vote
2answers
482 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
134 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
686 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
500 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/...
1
vote
2answers
646 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.
1
vote
1answer
182 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
66 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
1answer
363 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
580 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
103 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
216 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
1k 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
2k 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
446 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
36 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
2answers
2k 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
2k 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 ...
19
votes
4answers
32k 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
459 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
369 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 ...