FriendsOfShopware / FroshPlatformMailArchive

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

No update possible from 1.0.0 to 1.01/2.0.0 #46

Closed pfeitim closed 1 year ago

pfeitim commented 1 year ago

Question

Hello,

i just found out, that there is a missing dependency for my update, so no update at all is possible from 1.0.0 to 1.01 nor 2.0.0, what am I doing wrong?

image
pfeitim commented 1 year ago

I have deinstalled the plugin and then added zbateson/mail-mime-parser via composer, then re-installed the plugin.

Now it works. However, this should not be the right way for Shopware beginners without programming/server experience.

In Shopware-Root via SSH: composer require zbateson/mail-mime-parser

image
pfeitim commented 1 year ago

After reinstalling there was a message that I should run: bin/console frosh:mailarchive:migrate

However this generated an UTF-8 error:

image
tinect commented 1 year ago

The installation of zbateson/mail-mime-parser should be fixed with version 2.0.1.

~Can you get the EML from the database of the entry which is failing?~ I'm able to reproduce the error. I'll have a look into it, soon.

tinect commented 1 year ago

@pfeitim fixed with 2.0.2

Thank you for the report.

pfeitim commented 1 year ago

Thank you!

pfeitim commented 1 year ago

@tinect

Migration ran successfully, but the message in the Shopware backend remains that I should migrate. I migrated this morning, 6 hours later the message is still there. Not sure if it's just caching the error message...

tinect commented 1 year ago

Is your message consumer running?

pfeitim commented 1 year ago

@tinect

We are actually having a problem with the message queue right now. Somehow there are heaps of entries that don't leave. I have given it to our server contact person.

But in general I think that's the reason. Thank you and sorry I didn't see it earlier.

tinect commented 1 year ago

No problem :-) You are welcome.