Where are SSH Directadmin magento site path

Angelo

New member
Joined
Mar 22, 2022
Messages
11
Hi everyone,
I install magento site by from Softaculous.
But I don't know, where are SSH Directadmin magento site path?
I want to use magento command. for example:
php bin/magento cache:clean
php bin/magento indexer:reindex

Thanks,
 

Attachments

  • Screenshot_1.png
    Screenshot_1.png
    43.6 KB · Views: 82
You need to raise the 'memory_limit' setting in your php.ini file, i.e. from 128M to 512M, and restart your webserver/php-fpm afterwards. The error seems to show you currently have a value of 128M.
 
You need to raise the 'memory_limit' setting in your php.ini file, i.e. from 128M to 512M, and restart your webserver/php-fpm afterwards. The error seems to show you currently have a value of 128M.
I've tried changing some parameters, but it still doesn't work.
 

Attachments

  • Screenshot_6.png
    Screenshot_6.png
    106.7 KB · Views: 81
  • Screenshot_7.png
    Screenshot_7.png
    25.9 KB · Views: 83
Do you still get the error when you run the magento cache commands? If you do, try to create a phpinfo(); file in your public_html folder. What is the memory_limit value in the phpinfo(); file?
 
Do you still get the error when you run the magento cache commands? If you do, try to create a phpinfo(); file in your public_html folder. What is the memory_limit value in the phpinfo(); file?
{"0":"Class Magento\\Catalog\\Model\\Indexer\\Product\\Price\\PriceTableResolver\\Proxy does not exist","1":"#1 Magento\\Framework\\Code\\Reader\\ClassReader->getConstructor() called at [vendor\/magento\/framework\/ObjectManager\/Definition\/Runtime.php:54]\n#2 Magento\\Framework\\ObjectManager\\Definition\\Runtime->getParameters() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Dynamic\/Developer.php:48]\n#3 Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->create() called at [vendor\/magento\/framework\/ObjectManager\/ObjectManager.php:70]\n#4 Magento\\Framework\\ObjectManager\\ObjectManager->get() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php:170]\n#5 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->resolveArgument() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php:276]\n#6 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->getResolvedArgument() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php:239]\n#7 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->resolveArgumentsInRuntime() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Dynamic\/Developer.php:34]\n#8 Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->_resolveArguments() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Dynamic\/Developer.php:59]\n#9 Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->create() called at [vendor\/magento\/framework\/ObjectManager\/ObjectManager.php:70]\n#10 Magento\\Framework\\ObjectManager\\ObjectManager->get() called at [vendor\/magento\/framework\/Interception\/PluginList\/PluginList.php:174]\n#11 Magento\\Framework\\Interception\\PluginList\\PluginList->getPlugin() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:144]\n#12 Magento\\Framework\\App\\ResourceConnection\\Interceptor->Magento\\Framework\\Interception\\{closure}() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:153]\n#13 Magento\\Framework\\App\\ResourceConnection\\Interceptor->___callPlugins() called at [generated\/code\/Magento\/Framework\/App\/ResourceConnection\/Interceptor.php:50]\n#14 Magento\\Framework\\App\\ResourceConnection\\Interceptor->getTableName() called at [vendor\/magento\/framework\/Session\/SaveHandler\/DbTable.php:50]\n#15 Magento\\Framework\\Session\\SaveHandler\\DbTable->__construct() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php:121]\n#16 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->createObject() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Dynamic\/Developer.php:66]\n#17 Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->create() called at [vendor\/magento\/framework\/ObjectManager\/ObjectManager.php:56]\n#18 Magento\\Framework\\ObjectManager\\ObjectManager->create() called at [vendor\/magento\/framework\/Session\/SaveHandlerFactory.php:61]\n#19 Magento\\Framework\\Session\\SaveHandlerFactory->create() called at [vendor\/magento\/framework\/Session\/SaveHandler.php:171]\n#20 Magento\\Framework\\Session\\SaveHandler->callSafely() called at [vendor\/magento\/framework\/Session\/SaveHandler.php:81]\n#21 Magento\\Framework\\Session\\SaveHandler->open()\n#22 session_start() called at [vendor\/magento\/framework\/Session\/SessionManager.php:204]\n#23 Magento\\Framework\\Session\\SessionManager->start() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:58]\n#24 Magento\\Framework\\Session\\Generic\\Interceptor->___callParent() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:138]\n#25 Magento\\Framework\\Session\\Generic\\Interceptor->Magento\\Framework\\Interception\\{closure}() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:153]\n#26 Magento\\Framework\\Session\\Generic\\Interceptor->___callPlugins() called at [generated\/code\/Magento\/Framework\/Session\/Generic\/Interceptor.php:41]\n#27 Magento\\Framework\\Session\\Generic\\Interceptor->start() called at [vendor\/magento\/framework\/Session\/SessionManager.php:141]\n#28 Magento\\Framework\\Session\\SessionManager->__construct() called at [generated\/code\/Magento\/Framework\/Session\/Generic\/Interceptor.php:14]\n#29 Magento\\Framework\\Session\\Generic\\Interceptor->__construct() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php:121]\n#30 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->createObject() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Dynamic\/Developer.php:66]\n#31 Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->create() called at [vendor\/magento\/framework\/ObjectManager\/ObjectManager.php:70]\n#32 Magento\\Framework\\ObjectManager\\ObjectManager->get() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php:170]\n#33 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->resolveArgument() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php:276]\n#34 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->getResolvedArgument() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php:239]\n#35 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->resolveArgumentsInRuntime() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Dynamic\/Developer.php:34]\n#36 Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->_resolveArguments() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Dynamic\/Developer.php:59]\n#37 Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->create() called at [vendor\/magento\/framework\/ObjectManager\/ObjectManager.php:70]\n#38 Magento\\Framework\\ObjectManager\\ObjectManager->get() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php:170]\n#39 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->resolveArgument() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php:276]\n#40 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->getResolvedArgument() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php:239]\n#41 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->resolveArgumentsInRuntime() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Dynamic\/Developer.php:34]\n#42 Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->_resolveArguments() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Dynamic\/Developer.php:59]\n#43 Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->create() called at [vendor\/magento\/framework\/ObjectManager\/ObjectManager.php:70]\n#44 Magento\\Framework\\ObjectManager\\ObjectManager->get() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php:170]\n#45 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->resolveArgument() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php:276]\n#46 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->getResolvedArgument() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php:239]\n#47 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->resolveArgumentsInRuntime() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Dynamic\/Developer.php:34]\n#48 Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->_resolveArguments() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Dynamic\/Developer.php:59]\n#49 Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->create() called at [vendor\/magento\/framework\/ObjectManager\/ObjectManager.php:70]\n#50 Magento\\Framework\\ObjectManager\\ObjectManager->get() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php:206]\n#51 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->parseArray() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php:182]\n#52 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->resolveArgument() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php:276]\n#53 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->getResolvedArgument() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php:239]\n#54 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->resolveArgumentsInRuntime() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Dynamic\/Developer.php:34]\n#55 Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->_resolveArguments() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Dynamic\/Developer.php:59]\n#56 Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->create() called at [vendor\/magento\/framework\/ObjectManager\/ObjectManager.php:70]\n#57 Magento\\Framework\\ObjectManager\\ObjectManager->get() called at [vendor\/magento\/framework\/App\/FrontController.php:109]\n#58 Magento\\Framework\\App\\FrontController->__construct() called at [generated\/code\/Magento\/Framework\/App\/FrontController\/Interceptor.php:14]\n#59 Magento\\Framework\\App\\FrontController\\Interceptor->__construct() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php:121]\n#60 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->createObject() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Dynamic\/Developer.php:66]\n#61 Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->create() called at [vendor\/magento\/framework\/ObjectManager\/ObjectManager.php:70]\n#62 Magento\\Framework\\ObjectManager\\ObjectManager->get() called at [vendor\/magento\/framework\/App\/Http.php:115]\n#63 Magento\\Framework\\App\\Http->launch() called at [generated\/code\/Magento\/Framework\/App\/Http\/Interceptor.php:23]\n#64 Magento\\Framework\\App\\Http\\Interceptor->launch() called at [vendor\/magento\/framework\/App\/Bootstrap.php:264]\n#65 Magento\\Framework\\App\\Bootstrap->run() called at [pub\/index.php:29]\n","url":"\/","script_name":"\/pub\/index.php","report_id":"01c1f2b2780e2b0d3cbd698d3ab89cc08e0384e1f3dcae0bd321fb30bb5eed4a"}
 

Attachments

  • Screenshot_9.png
    Screenshot_9.png
    45.9 KB · Views: 78
  • Screenshot_8.png
    Screenshot_8.png
    13.9 KB · Views: 74
  • Screenshot_10.png
    Screenshot_10.png
    45 KB · Views: 79
Do you still get the error when you run the magento cache commands? If you do, try to create a phpinfo(); file in your public_html folder. What is the memory_limit value in the phpinfo(); file?

Hi wtptrs

How to modify it please. I can't seem to find the modified entry.

PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /home/admin/domains/123456.com/public_html/vendor/magento/module-config/Model/Config/Structure/Mapper/ExtendsMapper.php on line 166

Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors.root@www:/home/admin/domains/123456.com/public_html# php -r "echo ini_get('memory_limit').PHP_EOL;"
128M
 
You have to look at your servers php.ini file.
Normally it can be found in /usr/local/phpXX/lib directory. Where phpXX stands for the php version, for example php 7.3 would be /php73/ in this example.
 
You have to look at your servers php.ini file.
Normally it can be found in /usr/local/phpXX/lib directory. Where phpXX stands for the php version, for example php 7.3 would be /php73/ in this example.
Thanks, i found php and modified it.

root@www:/home/admin/domains/123456.com/public_html# /usr/local/bin/php --ini | grep 'Loaded Configuration File'
Loaded Configuration File: /usr/local/php74/lib/php.ini
root@www:/home/admin/domains/123456.com/public_html# cd
root@www:~# cd /usr/local/php74/lib/
root@www:/usr/local/php74/lib# ls
libphp7.so php php.conf.d php.ini
root@www:/usr/local/php74/lib# vi php.ini
 

Attachments

  • Screenshot_1.png
    Screenshot_1.png
    85.7 KB · Views: 94
Back
Top