문제

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: Name or service not known

When I do ls I can see the patch. I have double and triple checked it is spell correct, and I have all permissions. What does name or service not known mean?

도움이 되었습니까?

해결책

As stated you are using the wrong command. 'SSH' is a command for starting new ssh sessions with a remote host.

e.g.

ssh username@192.168.0.10

'Could not resolve hostname' and 'Name or service not known' errors are just stating that there is no host responding to this command as there is no host with the name of your patch.

'SH' is what i have used to run these commands. Use either of the below to run patches and they should run successfully (i normally run ssh terminals in bin/sh shell):

sh PATCH_SUPEE-9767_CE_1.9.3.2_v2-2017-07-11-11-06-06.sh

or

./PATCH_SUPEE-9767_CE_1.9.3.2_v2-2017-07-11-11-06-06.sh

Also see here for more information from Magento Dev Docs on applying patches:

http://devdocs.magento.com/guides/m1x/other/ht_install-patches.html

다른 팁

The command is bash, not ssh. So in the end:

bash PATCH_SUPEE-9767_CE_1.9.3.2_v2-2017-07-11-11-06-06.sh

Ref: https://support.hypernode.com/knowledgebase/how-to-apply-magento-patches/#Step_4_Apply_the_patch

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top