I'm relatively new to Confluence / Jira and i've been struggling to set up auto re-indexing of Jira. I was told by Confluence support to download the Confluence Command Line Interface plugin but haven't a clue how to implement this tool in CentOS. Isn't there perhaps a layman's how-to manual to show me the way? My background is Microsoft so...enough said :)
However, any changes done to the plugins require you to perform a re-index on the machine which is not that practical when you have to perform the re-index when the employees leave the office. Performing a background index will decrease the perofrmance on the system... so that is not an option.
Thanks so much for getting back to me even though this is quite an old thread:) I am an administrator myself and I am currently searching for a good tool that can perform this auto re-indexing on our JIRA machine. Our machine is hosted on a Centos Server and running 2 applications both JIRA & Confluence. Do you know of any methods to perform an auto re-index 1 a month for example or every 2 weeks? This can save us a lot of time and also will be very useful when changes are done on our Live System. Performing a re-index because of changes done on the Live system will be done automatically without having to stay here and do a manual re-index. What would you suggest?
Thanks very much for your time
You've missed the point. A desire to do regular re-indexing is indicative of a deeper fault that you need to fix instead of patch over.
If you need to re-index because of config changes, they should be booked with the business and done manually.
I got your point.... but my point is I WANT to perform an automatic re-index every 2 weeks as we do regular changes in the plugins and workflows very regular in our company. There is no indication of any deeper faults. We are NOT performing a re-index in our system because we have faults in our system which are fixed by a re-index... I don't know whether I am answering your above statement. Instead of performing a manual re-index every 2 weeks because of config changes I would like to install something which can do this re-index automatically during a weekend. Is this possible or not?
Ok, so you've got half the point - you are not re-indexing to patch over a problem.
So, the other reason for re-indexing is config change. That should be done when the configuration has been changed. Not 2 weeks later. You should make the changes and re-index as soon as possible. Not on a schedule.
We may also want to do a scheduled re-index as a workaround while we fix the fault.
It also may not be possible to re-index right when a change is made. And since we are human and tend to forget things when post-poned....scheduling an index isn't a bad thing.
This should go into an admin's toolbox IMO
I know that this is an old thread.
Just meaning to ask if it would be wise to trigger a scheduled re-index, via a cronjob as you have stated here.
My JIRA instance is of version 6.4.4 at the moment.
I have checked that the using the REST API has some caused some bugs, for example
Would it be better to trigger the re-index from the JIRA UI instead of through the REST API?.
Although it is possible to schedule a period re-index, this operation should only be triggered when necessary (e.g. after changes that require a re-index).
The bug JRASERVER-63284 only affects Data Center installations.
Taking that into consideration, if you're running a Data Center version of JIRA, we'd recommend you to trigger the re-index via the UI instead. Otherwise, if you're on JIRA Software Server, either option should be fine.
CLI is a commmand line interface. You will find lot of info, including installation, usage etc, here: https://bobswift.atlassian.net/wiki/display/JCLI/JIRA+Command+Line+Interface
On CentOS, you have shell script that you can run.
I've come across this post but what do i do with it? Obviously i have to add this to a file and point CLI to it. There isn't really set by step instruction to set this up:
You're getting confused.
The CLI is for making the remote functions easier to use when you're scripting outside.
The script you have found is a script for the sh shell. It's nothing to do with the CLI, you just run it on a Unix box. The "curl" command may need to be added, but all it does is log into Jira and click the "re index" button for you, without a browser.
They both hit Jira remotely (you can run them on any machine that can talk to your Jira), and they don't need a browser. But they're different methods.
Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...
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!
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