-
Notifications
You must be signed in to change notification settings - Fork 2.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
Health check of an instance #18922
Comments
|
Great idea. Some more ideas:
|
Some of the checks do take a while. For the implementation I would recommend a section in the admin settings that has buttons to trigger individual checks as well as a check all button. Also checks for:
|
Very good idea. Should this be part of the repair script? I guess some of the issues are repairable and others not? |
This is more for non-repairable stuff. If it is possible to repair we can do this instead of showing it, but this should primarily help to detect problems that not yet occured, but could be bad. |
true. but maybe it should be added to the same occ command. a user does't know if something can be repaired or not. |
|
There is already a repair step for this. Any specific tables, then we can add them. |
This is done from 8.1 or 8.2 in onwards with a cron job |
Yes this would be great. But! We must be careful here. Automatic repairs need to be very very well analyzed before they are done! And in some cases it might be best just to advice people to post an issue here if the step reports something is broken. I would suggest to make sure this can only be run for the CLI. Timeouts are dangerous when handling potentially complex/long running tasks. |
Agreed. Let us start with a health check first. Keep repair steps in occ. |
|
|
|
@oparoz that is more of a repair step? 😉 |
@nickvergessen It's both. First you need to know that something is completely wrong.
No? |
Well repair steps dont need "first you need to know", you just run them and they fix it. |
|
|
Nice one :) |
|
That should not be a health check, it needs a fix in the db layer and a pre-update script to fix it. |
Correct - but we should also find out the reason. We can drop it from here if it is not needed anymore - just collecting stuff. |
@bboule This is related to https://github.com/owncloud/enterprise/issues/832#issuecomment-143771260 Shouldn't it have the same milestone? |
@cdamken this is an overview ticket with things that could be implemented in little steps... |
I think we need to loop @MTRichards into this as well as it seems product related |
I have some alpha grade code ... needs some love: https://github.com/owncloud/serverhealth and has already first tests. |
|
|
repair parent-child relationships (non-matching path or storage): #28253 |
@jvillafanez FYI ^ |
|
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
|
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
@butonic and I had thought about this many times: It would be nice to have a health check for an instance. This could check for stuff like:
This is maybe something for a cleanup step or just for info to start investigations.
I started this ticket to collect possible candidates of weird entries and to be able to check other existing instances for the same symptoms.
cc @karlitschek @PVince81 @nickvergessen @schiesbn @icewind1991 @rullzer @Xenopathic Opinions on this?
The text was updated successfully, but these errors were encountered: