No Option to 'Configure new SMTP mail server' after Upgrading to JIRA 4.3.x

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

When navigating to Administration >> Global Settings >> Mail Servers, there is no option to configure new SMTP mail server:

原因

This could be caused by improper way of upgrade. There are some missing columns in the mailserver table

診断

The mailserver table should have these columns:


mysql> desc mailserver;
+---------------+---------------+------+-----+---------+-------+
| Field         | Type          | Null | Key | Default | Extra |
+---------------+---------------+------+-----+---------+-------+
| ID            | decimal(18,0) | NO   | PRI | NULL    |       |
| NAME          | varchar(255)  | YES  |     | NULL    |       |
| DESCRIPTION   | text          | YES  |     | NULL    |       |
| mailfrom      | varchar(255)  | YES  |     | NULL    |       |
| PREFIX        | varchar(60)   | YES  |     | NULL    |       |
| smtp_port     | varchar(60)   | YES  |     | NULL    |       |
| protocol      | varchar(60)   | YES  |     | NULL    |       |
| server_type   | varchar(60)   | YES  |     | NULL    |       |
| SERVERNAME    | varchar(255)  | YES  |     | NULL    |       |
| JNDILOCATION  | varchar(255)  | YES  |     | NULL    |       |
| mailusername  | varchar(255)  | YES  |     | NULL    |       |
| mailpassword  | varchar(255)  | YES  |     | NULL    |       |
| ISTLSREQUIRED | varchar(60)   | YES  |     | NULL    |       |
| TIMEOUT       | decimal(18,0) | YES  |     | NULL    |       |
+---------------+---------------+------+-----+---------+-------+
14 rows in set (0.00 sec)

ソリューション

  1. Jira をシャットダウンします。
  2. Refer to the diagnosis section above. If there is any missing column in the mailserver table, alter the table and add it manually.
  3. Restart JIRA and add the mail server.

最終更新日: 2016 年 2 月 26 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.