Kentico / xperience-by-kentico-lucene

Xperience by Kentico search integration with the latest 4.8 beta version of Lucene.NET
MIT License
4 stars 5 forks source link

Command Line Database Installation Error: Mismatched Versions and Central Directory Problem #80

Closed Rahul-Patel-17 closed 3 weeks ago

Rahul-Patel-17 commented 3 weeks ago

Describe the bug I am encountering an error while attempting to create a database using the command line.

To Reproduce Steps to reproduce the behavior:

  1. Clone the repository.
  2. Navigate to the dancinggoat folder.
  3. Run the command dotnet restore.
  4. Execute the command to install the database. (i.e, dotnet kentico-xperience-dbmanager -- -s "" -d "" -a "" --hash-string-salt "" --license-file "")
  5. See error.

Expected behavior I expected the database to be installed successfully without any errors.

Library Version The full version of the library or integration you experienced the issue with 29.3.3

Desktop (please complete the following information):

Additional context The error message I received is: "Error installing the database. Original message: Number of entries expected in End Of Central Directory does not correspond to number of entries in Central Directory."

After encountering the error, the database is created but with database version '28.4.3'. While running the project, I am getting the exception: System.NotSupportedException: 'The database version '28.4.3' does not match the project version '29.3.3', please check your connection string.'

seangwright commented 3 weeks ago

Hello!

Your issue is unrelated to the Lucene integration which provides search functionality for Xperience by Kentico projects. Please contact support with your issue.