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'

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.


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     [] 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)> 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$ [?:?]
		at com.atlassian.activeobjects.osgi.TenantAwareActiveObjects$1$1$ [?:?]
		at [?:?]
		at java.base/ [?:?]
		at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker( [?:?]
		at java.base/java.util.concurrent.ThreadPoolExecutor$ [?:?]
		at java.base/ [?:?]
Caused by com.atlassian.activeobjects.internal.ActiveObjectsSqlException: There was a SQL exception thrown by the Active Objects library:
		- name:PostgreSQL
		- version:11.8
		- minor version:8
		- major version:11
		- 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.

Last modified on May 4, 2021

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.