Skip to content
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

Add healthcheck task with return on the console and web #708

Open
riedel opened this issue Feb 19, 2018 · 0 comments
Open

Add healthcheck task with return on the console and web #708

riedel opened this issue Feb 19, 2018 · 0 comments

Comments

@riedel
Copy link

riedel commented Feb 19, 2018

For us gitolite gets broken quite often for different unrelated reasons (illegal characters, wrong permissions, ...). We are already considering an emergency switch to git lab.

However, there is (if at all) a log entry on synchronization.

It would be very good to have a health check command that is regularly callable by cron.

Could be also only the stderr on any given maintenance command, that could be run regularly to inform admins by mail within an hour if things gone wrong...

Only Some errors that accumulated recently and were not really displayed anywhere visible :)

2018-02-19 00:03:51 +0100 [ERROR] Error while getting Gitolite infos, check your SSH keys (path, permissions) or your Git user.
2018-02-19 00:11:58 +0100 [ERROR] Invalid Gitolite Admin SSH Keys
2018-02-19 00:11:58 +0100 [ERROR] FATAL: R any gitolite-admin redmine_gitolite_admin DENIED by fallthru
2018-02-19 00:11:58 +0100 [ERROR] Invalid Gitolite Admin SSH Keys
2018-02-18 22:27:44 +0100 [ERROR] Git exited with non-zero status : 128 : 'sudo' '-n' '-u' 'gitolite' '-i' 'git' '--git-dir' 'repositories/xxx/xxx.git' '-c'
'core.quotepath=false' '-c' 'log.decorate=no' 'branch' '--no-color' '--verbose' '--no-abbrev'
2018-02-14 16:16:20 +0100 [ERROR] index does not contain keydir/redmine_git_hosting/redmine_xxx_334/redmine_mociot/redmine_xxx_334.pub at stage 0
2018-02-18 00:12:39 +0100 [ERROR] Invalid connection params
2018-02-18 00:12:39 +0100 [ERROR] could not open '/tmp/redmine_git_hosting/gitolite/gitolite-admin.git/conf/gitolite.conf' for writing: Permission denied
2018-02-18 00:12:39 +0100 [ERROR] Invalid connection params
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants