Email this issue plugin: relation "public.AO_544E44_SMTP_CONNECTION" does not exist or Foreign key 'fk_ao_544e33_context_smtp_connection_id' references invalid table 'dbo.AO_544E33_SMTP_CONNECTION'

お困りですか?

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

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

要約

When upgrading the plugin Email this issue from an earlier version to the latest available, you may experience issues to use the plugin. 

診断


After upgrading the plugin, you may find errors like the ones below in the atlassian-jira.log:

Invalid table
active-objects-init-JiraTenantImpl{id='system'}-0 ERROR anonymous     [n.java.ao.sql] Exception executing SQL update <ALTER TABLE dbo.AO_544E33_CONTEXT ADD CONSTRAINT fk_ao_544e33_context_smtp_connection_id FOREIGN KEY (SMTP_CONNECTION_ID) REFERENCES dbo.AO_544E33_SMTP_CONNECTION(ID)>
com.microsoft.sqlserver.jdbc.SQLServerException: Foreign key 'fk_ao_544e33_context_smtp_connection_id' references invalid table 'dbo.AO_544E33_SMTP_CONNECTION'.

または

Relation does not exist
com.atlassian.activeobjects.internal.ActiveObjectsInitException: bundle [com.metainf.jira.plugin.emailissue]
		at com.atlassian.activeobjects.osgi.TenantAwareActiveObjects$1$1$1.call(TenantAwareActiveObjects.java:95) [?:?]
		at com.atlassian.activeobjects.osgi.TenantAwareActiveObjects$1$1$1.call(TenantAwareActiveObjects.java:86) [?:?]
		at com.atlassian.sal.core.executor.ThreadLocalDelegateCallable.call(ThreadLocalDelegateCallable.java:38) [?:?]
		at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
		at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
		at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
		at java.base/java.lang.Thread.run(Thread.java:834) [?:?]
Caused by com.atlassian.activeobjects.internal.ActiveObjectsSqlException: There was a SQL exception thrown by the Active Objects library:
	Database:
		- name:PostgreSQL
		- version:11.8
		- minor version:8
		- major version:11
	Driver:
		- name:PostgreSQL JDBC Driver
		- version:42.2.6

	org.postgresql.util.PSQLException: ERROR: relation "public.AO_544E44_SMTP_CONNECTION" does not exist

環境

原因

The plugin Email this issue fails to create the table AO_544E44_SMTP_CONNECTION during the update process.

ソリューション

  1. Go to Administration > Manage Apps.
  2. Select the option Manage apps on the left menu.
  3. Search for Email This Issue.
  4. Uninstall the plugin from JIRA.
  5. Go to Administration > Manage Apps.
  6. Select the option Find new apps on the left menu.
  7. Search for Email This Issue.
  8. Install the latest version available of the plugin.
  9. After installing, the plugin will have created the missing tables.

(info) Uninstalling the plugin does not result in data loss. All configurations set previously are going to persist.



最終更新日 2021 年 5 月 4 日

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

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