SQL Error: SQLSTATE[23502] after database migration #5217
Replies: 4 comments
-
I can understand that I misinterpreted my issue as a bug, but could I get some clarification as to why? What of my configuration is the real issue here? |
Beta Was this translation helpful? Give feedback.
-
Converting your database from Sqlite to Postgres is not officially supported. This is your responsibility to make sure the database schema and the data are correct after the migration. There is currently no guarantee that the Sqlite schema is the same as Postgresql schema expected by Kanboard. The implementation might differ slightly. |
Beta Was this translation helpful? Give feedback.
-
Got it, that's actionable. Thank you. |
Beta Was this translation helpful? Give feedback.
-
I've the same issue, did u ever get the migration thing to work? |
Beta Was this translation helpful? Give feedback.
-
Checklist
Actual behaviour
After having migrated from sqlite to postgres with pg_loader to convert the contents to the new database, all the old contents and user information are visible, but I am getting SQL errors when trying to modify/create boards or tasks.
Below are some errors as reported from the webpage
The SQL queries from kanboard appear to be jumbled or have too many values for the number of columns.
Expected behaviour
I should be able to modify/create boards and tasks as if nothing had changed.
Steps to reproduce
Migrate from sqlite to postgres backends using pg_loader to convert databases.
Attempt to create/modify board contents.
Logs
log information from the postgres server:
Configuration
Beta Was this translation helpful? Give feedback.
All reactions