I have a problem with the insight addon. After my installation, it shows the following message that appears in the screenshot.
This message appears on all pages of insight and some of its jira pages.
The problem is only corrected if I disabled the insight add-on.
I also attach jira's log files.
https://www.dropbox.com/s/tr3y3vur20i4i1y/jiraLogs.zip?dl=0
Thank you.
Hi Efthimios,
I took a look at your logs and found this entry:
2017-08-28 10:33:17,118 http-nio-8090-exec-9 ERROR themis 633x1178x1 nxhvg2 10.240.100.251 /rest/insight/1.0/global/config [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: bundle [com.riadalabs.jira.plugins.insight]
com.atlassian.activeobjects.internal.ActiveObjectsInitException: bundle [com.riadalabs.jira.plugins.insight]
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.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.atlassian.activeobjects.internal.ActiveObjectsSqlException: There was a SQL exception thrown by the Active Objects library:
Database:
- name:MySQL
- version:5.7.17
- minor version:7
- major version:5
- name:MySQL Connector Java
- version:mysql-connector-java-5.1.40 ( Revision: 402933ef52cad9aa82624e80acbea46e3a701ce6 )
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: REFERENCES command denied to user 'jira'@'localhost' for table 'AO_8542F1_IFJ_OBJ_SCHEMA'
This specific error is known to happy specifically on mysql 5.7.x instances. There was a change made to the permissions needed in this version of mysql. Pervious versions did not require this references command. But without this permission now, the plugin cannot create the table/foreign key constraints it needs to be able to function in JIRA.
There is a KB on how to fix this in REFERENCES command denied to user.
You will need to run the command such as
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,REFERENCES,ALTER,INDEX on <JIRADB>.* TO 'jira'@'localhost' IDENTIFIED BY '<PASSWORD>';
flush privileges;
on mysql, but you will also need replace the <Password> with the password of the jira sql user to make this work.
After this is complete, try to restart JIRA and see if you can try to reinstall this plugin once more.
Hello Andy,
Thank you for the answer.
I made the change you told me and now everything works great.
Thank you very much!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same porblem after last upgrade of Jira
Something went wrong. Contact administrator rest/insight/1.0/global/config?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.