VM SSh hangs after installing extension, Now website is not opening

Keywords: Magento - Google Cloud Platform - Technical issue - Services (Apache, MariaDB, MySQL…)

bnsupport ID: af2d71d1-1d87-1167-d576-ba8276210bcb

bndiagnostic output:

? Apache: Found possible issues
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-errors-apache/

bndiagnostic failure reason: Other

Description:
Steps as follows:

sudo php bin/magento maintenance:enable

sudo composer require adfix/squarefeed:v2.0.9

sudo php bin/magento setup:upgrade

sudo php bin/magento maintenance:disable

sudo php bin/magento setup:di:compile
//Above step took longer than usual.

//Now ssh window hangs,
//nothings gets typed in ssh window
//waited for 30 mins
//try to open ssh again but failed

//then I had to restart vm

after restart error shows on site

Error 503 Backend fetch failed
Backend fetch failed

Guru Meditation:
XID: 16

Varnish cache server

// Please help me solve this issue.

Hello @vibhu,

I was not able to reproduce the issue. In my case, I received:

  [InvalidArgumentException]
  Could not find a matching version of package adfix/squarefeed. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (dev).

Also, note that composer should not be executed as root. It may produce errors with permissions. You could try to fix it with:

sudo chown daemon:daemon -R /bitnami/magento/

Let me share a previous similar case:

If that does not help, it could be related to your plugin. Additionally, could you please run the following command to obtain some output from the varnish service?

$ sudo varnishlog

Regards

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.