OutOfBoundsException for an external dependency.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AgentT
    Member
    • Aug 2021
    • 77

    OutOfBoundsException for an external dependency.

    Hello

    We run our ESPO instance from a alpine docker image, while building the image we install "sentry" via composer and it will be installed under /www/vendor/ and espocrm is installed under /www/espocrm/

    This was working fine in ESPO version 6.1.7 but since we upgraded to 6.1.10 there is an error regarding sentry and our application fails to load.
    Error:
    Code:
    [2021-11-09 05:25:39] ERROR: Uncaught Exception OutOfBoundsException: "Package "sentry/sentry" is not installed" at /www/espocrm/vendor/composer/InstalledVersions.php line 195 {"exception":"[object] (OutOfBoundsException(code: 0): Package \"sentry/sentry\" is not installed at /www/espocrm/vendor/composer/InstalledVersions.php:195)"} []
    From my understanding, ESPO now uses composer 2 which comes with a class InstalledVersions which seems to check for all the installed packages under /www/espocrm/vendor. -> This is fine.
    My question is, why is "sentry" the external dependency being passed to this class? Is there any way to navigate around this?

    My understanding maybe totally wrong, please correct me if I'm wrong.
    yuri Can you help?

    Thank you! :-)
Working...