-
Notifications
You must be signed in to change notification settings - Fork 2.4k
-
Recently while trying to install orchard, I run into the error immediately after filling out the setup from. Install goes ok locally, this only happens in production in kubernetes. I not sure if it's related the recent update. 2024-05-16 17:43:24.3985|Default|00-01c37c053503ef4b8613de6ad4124033-d4fca310c9fd77ad-00||OrchardCore.Data.Migration.DataMigrationManager|ERROR|Error while running migration version 0 for 'OrchardCore.Contents'. Microsoft.Data.SqlClient.SqlException (0x80131904): Column 'Document.Id' is not the same data type as referencing |
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 2 comments · 12 replies
-
Did you change the YesSql |
Beta Was this translation helpful? Give feedback.
All reactions
-
I updated from 1.8.2 to 1.8.3. No config changes. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Please provide the full stack trace. Also, which DB are you using? Strange though. @sebastienros any hints? |
Beta Was this translation helpful? Give feedback.
All reactions
-
2024-05-17 14:43:55.6594|Default|00-39686c4ed278bb8e86ed72c76c40bd93-057edc39a5cc07af-00||OrchardCore.Data.Migration.DataMigrationManager|ERROR|Error while running migration version 0 for 'OrchardCore.Contents'. Microsoft.Data.SqlClient.SqlException (0x80131904): Column 'Document.Id' is not the same data type as referencing column 'ContentItemIndex.DocumentId' in foreign key 'FK_ContentItemIndex'. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Tried switching to Postgres, now I'm getting this: 2024-06-11 00:09:46.6973|None|00-28c7f5e3be3b629993ce2b7ea0397c03-e2ef17b3c8269d38-00|1|Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware|ERROR|An unhandled exception has occurred while executing the request. System.Net.Sockets.SocketException (00000005, 0xFFFDFFFF): Name or service not known |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
Beta Was this translation helpful? Give feedback.
All reactions
-
The only other thing I can suggest is only configuring I don't use Postgres but just by googling the error it seems that the connection string you configured either doesn't contain the host of the DB server or it's not accessible. Next time, please put your log entries into fenced code blocks (see here) because such huge unformatted text makes it a lot harder to help you. |
Beta Was this translation helpful? Give feedback.
All reactions
-
That was actually a DNS issue with my connection to the db. Switching to postgres solved the problem. |
Beta Was this translation helpful? Give feedback.
All reactions
-
OK, great! @sebastienros could you please reply to #16076 (reply in thread)? |
Beta Was this translation helpful? Give feedback.
That was actually a DNS issue with my connection to the db. Switching to postgres solved the problem.