-
Notifications
You must be signed in to change notification settings - Fork 294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem after updating and also clean install Baikal 0.6.0: Calendars disappeared #827
Comments
A backup of the 0.4.6 database or the 0.6.0 database? You can not simply restore the old database to a new version of Baikal. Version 0.5.1 added a new calendarinstances table that now contains the data, while the calendars table just points to the instances. That's done automatically on upgrade but it looks like something went wrong on your end... As for the number of events: That dashboard entry displays the number of rows in the calendaritems table. There were no changes in that table in the last few updates. I don't know where the different number here comes from. |
The backup is a mysqldump from the 0.4.6 version. So How do I restore a 0.4.6 database backup into a 0.6.0 version? Also before I restored the database dump I just updated the server without touching the database. |
So I guess I could try this:
|
Only by installing 0.4.6 and upgrading. Apart from doing the upgrades manually, there is no other way.
I don't think this will have a higher chance at fixing things as directly upgrading. Baikal does all upgrade steps that are needed if you skip versions, too. Additionally, there was no database change between 0.5.1 and 0.6.0:
|
Okay I will try to reinstall version 0.4.6 restore the 0.4.6 database and than update to version 0.6.0 and see what happens. I will report back! |
So it worked! So thank you for clarifying thing for me! |
Baikal version: 0.4.6 to 0.6.0
Expected behaviour:
Current behaviour: Calendars disappeared
Steps to reproduce:
So I have a bit of a strange problem. After an successful update yesterday (after the fix #810)
I’ve noticed that not all my Calendars and events are showing in the admin dashboard properly. I’ve added some screenshots, as you can see the difference between before and after updating to the latest version 0.6.0
This is the result before updating Baikal server
Steps I have done trying to fix this:
Now it got worse, all my calendars disappeared only the Calendars events showing and my addressbooks with entries and my users. (see screenprint)
Result after updating baikal server to version 0.6.0 (Entries doesn't match)
To test my problem I installed this time a (clean) docker version of Baikal-server 0.6.0 with mariadb 10.4 and I had the same result as mentioned above. Then I reverted back to version 0.4.6 and everything was okay all my Calendars showed up an all the entries.
Result after restoring backup into a clean database. And an clean install of the docker version to see if the problem was also there.
When inspecting the database through phpmyadmin I can see all the Calendars, events, entries and users. But the Calendars don't show up in the dashboard of the adminpage.
So I’m a bit confused. How do I solve this?
Can you please help me figure out this problem?
The text was updated successfully, but these errors were encountered: