dmitrijkir / mattermost-plugin-calendar

Calendar for mattermost
Apache License 2.0
24 stars 1 forks source link

Error upon uploading: cant_make_migration #23

Open andyylin opened 8 months ago

andyylin commented 8 months ago

I tried uploading the plugin to my Mattermost instance, and get the following error message:

This plugin failed to start. com.dmkir.calendar: cant_make_migration

Any ideas how to fix this?

dmitrijkir commented 8 months ago

Hello, could you please provide me with your database version, Mattermost version, and the current migration version? I'll try to reproduce the issue.

ekin219 commented 8 months ago

Mattermost version:9.4.1 Database : mariadb 8.0.32

dmitrijkir commented 8 months ago

I have not tested it with MySQL, and there is no migration for MySQL in the package. I will attempt to add migration and test it. I hope all SQL queries will work correctly.

Now it works with PostgreSQL.😊

andyylin commented 8 months ago

Awesome, thank you!

dmitrijkir commented 8 months ago

I have made a pre-release version. I am still testing it, but everything should work. You can try this version. Maybe you can find some bugs.

https://github.com/dmitrijkir/mattermost-plugin-calendar/releases/tag/0.5.2

dmitrijkir commented 8 months ago

In your database connection string, you must set the parseTime parameter to true. &parseTime=true

andyylin commented 8 months ago

Thanks! The plugin installed and initialized properly, but new events aren't being shown.

@ekin219 Might need to set the database connection string?

In your database connection string, you must set the parseTime parameter to true. &parseTime=true

ekin219 commented 8 months ago

done! It's working