Pocket query - Error rendering macro 'pocketquery' : null

Hi Team,

We are facing a weird issue after we migrated our database location from shared server to a dedicated Windows 2012 server. Database has just been migrated from SQL Server 2008 R2 to SQL Server 2014.

We are using SQL Server 2014 but unfortunately all our pocket queries giving the above error.

Is SQL Server 2014 supported by pocket query? I see all my queries working fine in SQL Server management studio.

 

Any suggestions on this please? If SQL Server 2014 is supported by pocket query, what can be a probable reason for this plugin not working in our Confluence instances?

2 answers

This widget could not be displayed.

@Arya Banerjee,

 

Confluence does support SQL 2014 completely.

https://confluence.atlassian.com/display/JIRA/Supported+Platforms

Configuration changes might be required in SQL 2014.

It will be more helpful if you share the exact issue.

 

Thanks,

Ranganath

Hi Ranganath, Thanks for your reply. I verified and understand that Confluence does support SQL Server 2014 as a database:- https://confluence.atlassian.com/display/DOC/Supported+Platforms However, I am facing the problem with the plugin that I had installed:- POCKET QUERY. POCKET QUERY plugin was working earlier when my database was SQL SERVER 2008. But may be after migration to SQL Server 2014, it seems to have stopped working with the rendering issue. This is the plugin that I am referring to:- https://marketplace.atlassian.com/plugins/de.scandio.confluence.plugins.pocketquery

What is your Pocket Query version and Confluence Version? What is the error or error code?

My Pocket query version is the latest one available in Atlassian market place. Confluence version is 5.7.3. However, just an update that I was able to execute and show the pocket queries without any errors. I just deleted the previous pocket queries from the config and then again added them. Somehow, it was holding the previous database config even after changing the database config in pocket query. Thanks :)

This widget could not be displayed.

Hi Arya,

So do you mean it works by now? You said you changed the database configuration in PocketQuery? You didn't add a new database?

Regards, Felix [Scandio]

Hi Felix, Thanks for your response. Yes it works now. I changed the database location and also upgraded the database. I also changed the pocket query database config and checked and it was able to connect properly. But somehow, I had to delete all the existing queries (though the queries were all the same with all their table names) and then again add new queries. Regards, Arya

That's strange. Always when a PocketQuery macro is run, the statement is fetched, then the database connection is created and then the statement is executed. I don't really understand why this happened at the moment. Well.. at least it works again now ;)

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

543 views 7 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you