Closed julianne49 closed 3 years ago
Hello, it looks like you got an issue with permissions, you can apply correct rights by running this:
sudo find var vendor pub/static pub/media app/etc -type f -exec chmod g+w {} \; \\
&& sudo find var vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} \; \\
&& sudo find ./var ./generated -type d -exec chmod 777 {} \; \\
&& sudo chmod u+x bin/magento \\
If you install this module, the whole native feature for search engine will be disabled. But as an example, if you use an other engine (like Algolia) it's fine, because Algolia doesn't use the native magento search engine.
Hello - thanks for responding. I am just getting back to this & will try it later today.
Once again - thank you.
Camille Smith
From: Benjamin Calef @.*** Sent: Monday, August 30, 2021 5:05 AM To: zepgram/module-disable-search-engine Cc: julianne49; Author Subject: Re: [zepgram/module-disable-search-engine] I can't get this to install - what am I doing wrong? (#4)
Hello, it looks like you got an issue with permissions, you can run this apply correct rights and solve it:
sudo find var vendor pub/static pub/media app/etc -type f -exec chmod g+w {} \; \ && sudo find var vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} \; \ && sudo find ./var ./generated -type d -exec chmod 777 {} \; \ && sudo chmod u+x bin/magento \
If you install this module, the whole native feature for search engine will be disabled. But as an example, if you use an other engine (like Algolia) it's fine, because Algolia doesn't use the native magento search engine.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zepgram/module-disable-search-engine/issues/4#issuecomment-908213774 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AMPJEPN6U63A3QKVY73HUXLT7NJUVANCNFSM5DAYJPBA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . https://github.com/notifications/beacon/AMPJEPNAYC7JH5V3VOGMAHDT7NJUVA5CNFSM5DAYJPBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGYRD4DQ.gif
Hello, please be patient with me. I am new to Magento 2 & just trying to figure this out.
When I ran the command: composer require zepgram/module-disable-search-engine bin/magento module:enable Zepgram_DisableSearchEngine bin/magento setup:upgrade in composer - I got the following error:
Installation failed, reverting ./composer.json and ./composer.lock to their original content. ]# bin/magento module:enable Zepgram_DisableSearchEngine -bash: bin/magento: Permission denied ]# bin/magento setup:upgrade -bash: bin/magento: Permission denied ]# File permissons are set to 0644, Directories: 0755. (even tried setting files to: 660 & folders to: 770) Same message. (I deleted my site info from the above)
Any help would be greatly appreciated. Also - once this is working, will I be able to add an extension for search or will this disable the function forever? Thank you.