FriendsOfShopware / FroshPlatformMailArchive

This plugin allows you to archive your mails.
MIT License
17 stars 13 forks source link

shop broken after I tried to upgrade your plugin #87

Closed Orgoth closed 2 months ago

Orgoth commented 2 months ago

PHP Version

8.2.20

Shopware Version

6.6.3.0

Plugin Version

dont know, since I can not access the shop anymore

Actual behaviour

upgrade destroyed the shop! frontend and backend only 500 server error shell: PHP Warning: require(/var/www/spacer/vendor/composer/../symfony/polyfill-mbstring/bootstrap.php): Failed to open stream: No such file or directory in /var/www/spacer/vendor/composer/autoload_real.php on line 41 PHP Fatal error: Uncaught Error: Failed opening required '/var/www/spacer/vendor/composer/../symfony/polyfill-mbstring/bootstrap.php' (include_path='.:/usr/share/php') in /var/www/spacer/vendor/composer/autoload_real.php:41 Stack trace:

0 /var/www/spacer/vendor/composer/autoload_real.php(45): {closure}()

1 /var/www/spacer/vendor/autoload.php(25): ComposerAutoloaderInit5fc316c920d2c1417be36a3c639f540c::getLoader()

2 /var/www/spacer/bin/console(17): require_once('...')

4 {main}

thrown in /var/www/spacer/vendor/composer/autoload_real.php on line 41

Expected behaviour

clean update without any critical issues

Steps to Reproduce?

I simply clicked on the update button within the shopware admin interface

this is the error which is thrown when calling the cli

tinect commented 2 months ago

Hi, we cannot reproduce any issue. additionally, the issue seems to be unrelated to the plugin.

It sounds like, the composer or vendor has been manipulated manually. Please check the project, opcache and named files/folders.

Orgoth commented 2 months ago

The composer.json was not edited manually, as it is a new installation from 04.05, which has not received any updates to date. Only today I clicked on the link to update your plugin and then nothing worked anymore!

To get it working again, I had to manually run composer to continue the update process that got stuck on your plugin. I then had to uninstall the plugin including all the data in the store and reinstall it so that the latest version could be installed. It was impossible via the backend of the store.

The next new problem is that the messages are displayed as pending, even though they have already been sent and arrived!

2024-09-25 18_51_59-Window 2024-09-25 18_51_14-Window

I should probably have stayed with version 6.5 after all, only problems since 6.6. Thanks for checking anyway.

tinect commented 2 months ago

@Orgoth sounds related to the already open issue.