magefan / module-blog

Magento 2 Blog Extension is a solution that helps you to create a blog on Magento and manage posts,categories, tags, authors, and comments.
https://magefan.com/magento2-blog-extension
Other
263 stars 135 forks source link

Issue updating from 2.8.3 to 2.8.4 #206

Closed afavata closed 5 years ago

afavata commented 5 years ago

I updated to 2.8.4.

frontend shows:

1 exception(s):
Exception #0 (Magento\Framework\Exception\LocalizedException): Please upgrade your database: Run "bin/magento setup:upgrade" from the Magento root directory.
The following modules are outdated:
Magefan_Community data: current version - 2.0.2, required version - 2.0.3
Magefan_Blog schema: current version - 2.8.3, required version - 2.8.4
Magefan_Blog data: current version - 2.8.3, required version - 2.8.4

During bin/magento setup: upgrade system shows

Module 'Magefan_Community':
Module 'Magefan_Blog':
Upgrading schema.. SQLSTATE[HY000]: General error: 1795 InnoDB presently supports one FULLTEXT index creation at a time

thank you

magefan commented 5 years ago

Hello @afavata ,

  1. Do you use only Magefan_Blog or Magefan_BlogPlus too?
  2. Have you previously manually added any FULLTEXT index to the title and content field in magefan_blog_post table?
afavata commented 5 years ago

Hello

I’m using “Magefan_blog” and “login as customer” No… never added any Fulltext index… I would not know how to do either

Thanks

magefan commented 5 years ago

Could you please send the details of your database server?

magefan commented 5 years ago

@afavata ,

Just a hotfix, you can remove this parts of code in next files

  1. https://github.com/magefan/module-blog/blob/2.8.4.1/Model/ResourceModel/Post/Collection.php https://prnt.sc/liev6q

  2. https://github.com/magefan/module-blog/blob/2.8.4.1/Setup/UpgradeSchema.php https://prnt.sc/lievp5

additional changes required if use Blog Plus or Blog Extra editions.

We already working on a solution and will try to include it in v2.8.4.2 as soon as it possible.

magefan commented 5 years ago

@afavata , we have released v2.8.5 that includes a fix for this issue, please update the extension.

afavata commented 5 years ago

Thanks

I'll try and let you know

Alex

afavata commented 5 years ago

OK…. just upgraded. No issue reported during setup:upgrade. All is working perfectly.

Thanks for your support!