Open
Description
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