Diagnostics

This page shows some tests which make it easier to hunt down why things are not working as they should

Email support correctly configured:

  • The 'commit_email_from' option is used when sending commit emails. This will be set as the 'From:' field and the envelope. [test:diag.email_commit_set] [else If no 'commit_email_from' is set, the mail is sent from a warning email address. This does not always work. To ensure delivery to everyone (and because it looks nicer), please consider setting it to a sane value. To set the commit_email_from, run the following command: 'submin2-admin [val subminenv] config set commit_email_from Submin <submin@example.tld>']
  • [test:diag.email_commit_sane] [else The 'commit_email_from' should contain a name and a valid email address between angle brackets, e.g. "Submin <submin@example.tld>"]
  • The 'smtp_from' option is the From: email address used when sending account (re)set emails. [test:diag.email_from_set] [else If no 'smtp_from' is set, the mail is sent from 'root@localhost'. This does not always work. To ensure delivery to everyone (and because it looks nicer), please consider setting it to a sane value. To set the smtp_from, run the following command: 'submin2-admin [val subminenv] config set smtp_from Submin <submin@example.tld>']
  • [test:diag.email_from_sane] [else The 'smtp_from' should contain a name and a valid email address between angle brackets, e.g. "Submin <submin@example.tld>"]

Git support working correctly:

  • [test:diag.git_dir_set] [else To set the git_dir, run the following command: 'submin2-admin [val subminenv] config set git_dir git']
  • [test:diag.git_hooks_all_new][else The following repositories have old-style hooks:
      [iter:diag.git_old_hook_repos
    • [ival]
    • ]
    They can be upgraded to new-style hooks with: 'submin2-admin [val subminenv] git hook update reponame']
  • [test:diag.git_hostname_ok ] [else The 'git_ssh_host' config is not set, or it is set to a local address. Please set a good hostname reachable by everyone with the following command: 'submin2-admin [val subminenv] config set git_ssh_host public_hostname']
  • [test:diag.git_admin_test Could succesfully issue admin commands through SSH] [else Could not issue admin commands, error message:

    "[val diag.git_admin_test_errmsg]".

    Please check that git_ssh_host_internal, git_ssh_port and git_user are setup correctly. You can check this with: 'submin2-admin [val subminenv] config get value'. Next check that you can actually connect to SSH: 'ssh git_user@git_ssh_host_internal -p git_ssh_port -i [val subminenv]/conf/id_dsa' (it should give a message like: 'submin2-admin git admin is not supposed to be called by users.')

    ]
  • [test:diag.enabled_git To disable, run the following command: 'submin2-admin [val subminenv] config set vcs_plugins svn'] [else To enable, run the following command: 'submin2-admin [val subminenv] config set vcs_plugins git,svn']

Svn support working correctly:

  • [test:diag.svn_dir_set] [else To set the svn_dir, run the following command: 'submin2-admin [val subminenv] config set svn_dir svn']
  • [iter:diag.svn_apache_modules
  • [test:ival] [else The module '[ikey]' was not loaded. Please make sure it is.]
  • ]
  • [test:diag.enabled_svn To disable, run the following command: 'submin2-admin [val subminenv] config set vcs_plugins git'] [else To enable, run the following command: 'submin2-admin [val subminenv] config set vcs_plugins git,svn']

Trac support working correctly:

  • [test:diag.installed_trac] [else trac-admin was not found, please install Trac. If you have installed Trac, but it cannot be found, check if the env_path config value is set correctly: 'submin2-admin [val subminenv] config get env_path'. Set it with 'submin2-admin [val subminenv] config set env_path yourpath']
  • [test:diag.trac_dir_set] [else To set the trac_dir, run the following command: 'submin2-admin [val subminenv] config set trac_dir trac']
  • [test:diag.enabled_trac To disable, run the following command: 'submin2-admin [val subminenv] config set enabled_trac no'] [else To enable, run the following command: 'submin2-admin [val subminenv] config set enabled_trac yes']