cancel
Showing results for 
Search instead for 
Did you mean: 

Shared server without SSH

Shared server without SSH

Hi,

 

I recently installed magento 2.1.0. I have experience with 1.9.2.4. In that version I simply reindex in magento but in this version there isn't such a thing. My shared server does not allow ssh console to run cli commands. Is there any way to run them for example Magento Connect? Can I run the commands by cron jobs?

 

 

 Thanks

3 REPLIES 3

Re: Shared server without SSH

Hi,

 

Little confused about your comment about re-index from shell in 2.1. Im pretty sure you can run re-index from inside admin.

 

Under System > Tools > Index management.

 

I suppose you could run from cron. Have you read over this page ? 

http://devdocs.magento.com/guides/v2.0/config-guide/cli/config-cli-subcommands-cron.html

 

Brendan

 

Developer

Re: Shared server without SSH

Well, give my extension a try https://github.com/manishjoy/magento2-shell

Re: Shared server without SSH

@manishjoy1993 thanks for offering your suggestion - however I do not believe it is a very good idea to install any code that allows direct access to the shell via the web as there are just too many ways to exploit this. Looking at the extension code I believe it's near trivial for anyone to hack the server.

 

@vbseyyed While it might be possible to run Magento 2 without SSH access I believe you will have a better experience with a host that does give you SSH as otherwise you are very limited in what you do. 

 

To solve your current issue around indexing, these are now run during the execution of Magento's cronjob see here.