-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Calendar broken since update from ownc 9.1 to 10.0_beta #1025
Comments
Please fill out the issue template and provide the table layout of |
|
The |
maybe some bug while upgrading to oC 9.1, can I somehow run "update" to fill it? |
I wonder if this error can cause not updated oc_calendarobjects table.. |
Same problem here, with the same exception on oc_addressbooks too. Is it related?... |
The question is, why is it trying to "create" the table instead of "update" |
The same problem of oc_addressbooks exception on every update is here: #761 |
same problem for me from 9.0.x to 10.0.1 Hope that could help |
@gmat : and calendar is fully functional after this change? |
@okias : yes. No more 500 error. |
@okias do you still have this problem? If so it would be nice, if you can run the following query: SELECT * FROM `oc_appconfig` WHERE `appid` = 'dav' Also I just saw, that you are the same reporter as in #761 Instead of an update your instance tried to install, because of #761 |
|
Yes, it seems to be fixed. Thank you guys!!! |
@okias can you still execute my query and post the result? This seems to happen every now and then and I want to find the root cause. |
I don't know if it could help you to find the root cause, but just before searching for fixing this problem, I also had to manually set all "remote_" entry in oc_appconfig as suggested here: owncloud/core#23610 Same problem of update in tables? |
@nickvergessen check my previous post, there is output of your query |
Oh, empty result. Didn't see that. But that certainly helps to reproduce the issue. Now I can easily generate the error as well. The only question is, why you ended up with it being empty. |
Equally empty by my side. The initial installed version of ownCloud is 4.5 or 5, which version I update from. |
I did ugly update. I've been updating to 10.0_beta from some 9.1, which has been unsupported at that time (only upgrade from 9.0.x has been OK). Had to change version to string to success update.. Anyway, I had problem with updating since 8.x -> 9.x, it failed always with problem. I had to manually remove old calendar tables. But calendar worked at least. |
after updating from 10.0.0 to 10.0.1 it throws dav: An exception occurred while executing 'CREATE TABLE |
Did you also restore a backup at some point in time? |
I wrote a little script that should solve the problem: Please download it, put into the root of your Nextcloud, run it once and delete it afterwards. |
@nickvergessen I've ran php repair-appconfig.php: sudo php repair-appconfig.php Else how would I run those mysql commands exactly? I tried a lot of combinations running the above commands but they all result in errors that the table's dont exists. |
Anyone? |
Sorry, I was quite busy last week, so this slipped through... What is the error you are getting? Can you run this script: https://gist.github.com/nickvergessen/94b57082a5ab83e47bbbd1bef6d13f66 |
@nickvergessen No problem, the main issue is that my calendars don't show anymore. Logs:
Thanks for your help! Edit: I now see I also have a problem with the address book... Output of repair-appconfig.php:
Output of the script:
|
Well, seems like the table holding the calendar events is missing for you. Something went wrong on your database update? Anyway, my advice would be to restore your last working backup in a test environment and copy the table from there. |
He he... there is none... any advice on that? Or how do I delete all the entries en recreate the tables? Thanks for the help @nickvergessen |
@ezraholm50 manipulate the |
@nickvergessen you are the shizznit!!! Finally have a working calendar again, much appreciated! |
@nickvergessen is now officially the shizznit... awesome |
…ch-for-sabre-dav [3rdparty] Apply upstream patch #1025 for sabre-dav
Actual version 10.0_rc
PHP 5.6 & 7 tested
10.0.26-MariaDB
I can see calendars, I cannot synchronize and load entries.
The text was updated successfully, but these errors were encountered: