youngmon/atlassian-qna huggingface dataset:
import document error
Asked by Fly X:

### docker install confluence; {#toc-hId-1199823731}

Now, I import word error, why???

### Cause {#toc-hId--607630732}

java.lang.reflect.InvocationTargetException  
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

caused by: java.lang.NoClassDefFoundError: Could not initialize class com.atlassian.plugins.conversion.confluence.importing.WordImport  
at com.benryan.webwork.WordImportAction.buildDocumentTree(WordImportAction.java:583)

#### Stack Trace:\[hide\] {#toc-hId-82930742}

```
java.lang.reflect.InvocationTargetException	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.base/java.lang.reflect.Method.invoke(Method.java:566)	at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:302)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:33)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
```


Answers:
author: Fabian Lim
body: Hi [@Fly X](/t5/user/viewprofilepage/user-id/4173872)

If you are still experiencing the issues, please go through the following troubleshooting steps: <https://community.atlassian.com/t5/Confluence-questions/Import-of-Word-doc-caused-by-java-lang-NoClassDefFoundError-com/qaq-p/994080>

It looks like it resolved the issues for various people.


Tags: confluence-server

server
Table of content to be created with only Anchor macro content
Asked by Aneliya Ivanova:

Hi Team, I would like on the same Confluence page to add a table of content displaying only the Anchor macro steps. How can I do so?


Answers:
author: Diego
body: Hello [@Aneliya Ivanova](/t5/user/viewprofilepage/user-id/4173781) ! Thank you for sharing here with our Community.

After I read your question, I am not sure what is the final result needed in your environment.

The macro called "Table of Contents" is used to display headings that have been placed on a page. You can get more details about the macro here:
> * [++***\[Confluence Cloud\] Insert the table of contents macro***++](https://support.atlassian.com/confluence-cloud/docs/insert-the-table-of-contents-macro/)

Currently, Headings are the only form of anchors that are available natively in Confluence. Every time you place a new heading, a link pointing to that very heading is created. You can check more about links and anchors here:
> * [++***\[Confluence Cloud\] Insert links and anchors***++](https://support.atlassian.com/confluence-cloud/docs/insert-links-and-anchors/)

I still do not fully understand the meaning of "displaying only the Anchor macro steps". With this in mind, please allow me to ask you a few questions:
> 1. *What does "displaying only the Anchor macro steps" mean?*
> 2. *Are you creating a step by step guide and each step is under a different heading?*
> 3. *Would it be possible for you to describe a little more of the final result that you need to implement?*

Let us hear from you!


Tags: cloud
Edit existing macro contents
Asked by matthew:

Hi

Confluence 3.2

I have a page that inserts a navmap macro using the markup

{navmap:contentpage\|wrapAfter=1\|cellWidth=100\|cellHeight=200}

This displays a list of links on my page.

I need to edit the list of links. So it seems I need to edit the content inside 'contentpage' to add my new link.

But how do I find and edit the content in 'contentpage'.

Thanks


Answers:
author: Bill Bailey
body: Confluence 3.2 is 10 years old. Even before my time working with Confluence. ;-) You will have a hard time finding someone that can help you, I'm afraid.


Tags: confluence-server

macro

server
$scroll.content in Word Templates - Scroll Word Exporter
Asked by Ronaldo Huang:

I need insert the table of contents in the content.

How can I split the content, and then insert the table of contents in the content?

It means that I need to tell the confluence Word Templates - Scroll Word Exporter the position of content where the table of contents locates.

For example,

content part1

**table of contents**

title1...........................3

title2...........................9

content part2


Answers:
author: Thomas Rough _K15t_
body: Hi [@Ronaldo Huang](/t5/user/viewprofilepage/user-id/4155158) , thanks for the comment. Unfortunately, it is not possible to split the Confluence content that is exported using our app, Scroll Word Exporter. The *$scroll.content* placeholder in your template will mark the start of where the content is rendered when the template is used and can't be separated/defined to choose certain content.

Is the **content part 1** always changeable or is it set content? If the content is not changeable, you could have the content added to a separate page in your Confluence instance and use the *$scroll.includepage* placeholder to add it as the first element in your template, prior to the table of contents, and then have your *$scroll.content* placeholder after the TOC.

Would this be an option?

Thanks, Thomas (K15t)

comments: author: Ronaldo Huang
body: [@Thomas Rough _K15t_](/t5/user/viewprofilepage/user-id/1157418)

Thank you for your reply.

Where does the *$scroll.includepage* placeholder locate?Could you please give me an example?

Is the following right?

*$scroll.includepage unchangeable*content part1

**table of contents**

title1...........................3

title2...........................9

*$scroll.content*


Tags: server
cannot reset password
Asked by Sou Nakanishi:

I want to reset my password because I was rejected even though input the password.

I received reset mail, but the new password rejected by "internal error".


Answers:
author: Monique Khairuliana[ServiceRocket]
body: Hi [@Sou Nakanishi](/t5/user/viewprofilepage/user-id/4173417) , are you an admin of this Confluence? If yes, most likely is that your account is managed by a read only user directory, and you cannot change the details of your account, such as the password. Here's more information from a previous [community thread](https://community.atlassian.com/t5/Confluence-questions/How-do-I-resolve-this-issue-An-internal-error-occured-when/qaq-p/625743).

If you are not the admin of Confluence, you might want to check in with an internal admin to help you change the password.

comments: author: Sou Nakanishi
body: Hi [@Monique Khairuliana\[ServiceRocket\]](/t5/user/viewprofilepage/user-id/3960273) , thanks for your reply.  
yes, i'm not admin of confluence, so i will contact my admin to help, thank you!!
How can I see what role I have in JIRA?
Asked by Ghosha:

How can I see what role I have in JIRA?


Answers:
author: Vero Rivas
body: Hi [@Ghosha](/t5/user/viewprofilepage/user-id/2172574)

Look this post:

<https://support.atlassian.com/jira-cloud-administration/docs/manage-project-roles/>

Regards


Tags: cloud

confluence-cloud

jira
Jira not starting after reboot Ubuntu
Asked by Anath Haniman:

root@vmi466451:\~# sudo service jira start

root@vmi466451:\~# systemctl status jira.service

**?** jira.service - Atlassian Jira

Loaded: loaded (/lib/systemd/system/jira.service; disabled; vendor preset: enabled)

Active: **failed** (Result: exit-code) since Wed 2020-11-25 08:48:04 CET; 113ms ago

Process: 53209 ExecStart=/opt/atlassian/jira/bin/start-jira.sh (code=exited, status=0/SUCCESS)

Process: 53304 ExecStop=/opt/atlassian/jira/bin/stop-jira.sh **(code=exited, status=1/FAILURE)**

Main PID: 53255 (code=exited, status=0/SUCCESS)

Nov 25 08:48:04 vmi466451.contaboserver.net stop-jira.sh\[53316\]: \`UOJ

Nov 25 08:48:04 vmi466451.contaboserver.net stop-jira.sh\[53316\]:

Nov 25 08:48:04 vmi466451.contaboserver.net stop-jira.sh\[53316\]: Atlassian Jira

Nov 25 08:48:04 vmi466451.contaboserver.net stop-jira.sh\[53316\]: Version : 8.13.1

Nov 25 08:48:04 vmi466451.contaboserver.net stop-jira.sh\[53316\]:

Nov 25 08:48:04 vmi466451.contaboserver.net stop-jira.sh\[53304\]: If you encounter issues starting or stopping Jira, please see the Troubleshooting guide at <https://docs.atlassian.com/jira/jadm-docs>\>

Nov 25 08:48:04 vmi466451.contaboserver.net stop-jira.sh\[53304\]: Server startup logs are located in /opt/atlassian/jira/logs/catalina.out

Nov 25 08:48:04 vmi466451.contaboserver.net stop-jira.sh\[53304\]: PID file found but either no matching process was found or the current user does not have permission to stop the process. Stop abort\>

Nov 25 08:48:04 vmi466451.contaboserver.net systemd\[1\]: **jira.service: Control process exited, code=exited, status=1/FAILURE**

Nov 25 08:48:04 vmi466451.contaboserver.net systemd\[1\]: **jira.service: Failed with result 'exit-code'.**


Answers:
author: Nic Brough -Adaptavist-
body: You will need to read the application log to see why it is failing.

Have a look at \<jira home\>/log/atlassian-jira.log first. If that is empty or just stops without a pile of errors, then look to \<jira install\>/logs/catalina.out


Tags: confluence-server

server
Send sms with confluence
Asked by Jean-Marc Franc-Bourdon:

Hello,

I would like to know if it is possible to create a message box in a confluence page in order to send a message directly from the confluence page by connecting twilio or VOIP.MS

Thank you


Answers:
author: Diego
body: Hello [@Jean-Marc Franc-Bourdon](/t5/user/viewprofilepage/user-id/4097973) !

Going straight to the point, I can tell you that this feature is not implemented in Confluence and I could not find any third-party app that does this in the Atlassian Marketplace.

What I have found is an old post here in our Community that suggests changing a user account email to one that is set to send SMS messages. Here is the post and also the article they mentioned:
> * [*++**\[Atlassian Community\] Sending out SMS**++*](https://community.atlassian.com/t5/Confluence-questions/Sending-out-SMS/qaq-p/274842)
> * ++***[\[Make Use Of\] How to Send Email to Any Cell Phone](https://www.makeuseof.com/tag/email-to-sms/)***++

Looking at our suggestions, I can see that the integration between Confluence and SMS has been ruled out by Atlassian:
> * ++***[\[Confluence Cloud\] Mobile sms integration with confluence](https://jira.atlassian.com/browse/CONFCLOUD-13672)***++

Let us hear from you!


Tags: cloud

confluence-cloud
Error while manually upgrading confluence production from 6.2.0 to 7.7.3
Asked by Rajani Yarlagadda:

We are manually upgrading confluence production from 6.2.0 to 7.7.3 and got the below error when wizard runs for deleting files in confluence installation directory. We do not have any files open in the background but still getting this error. Can you advise please.

" Error while attempting to remove the previous installation directory. Some file may be in use Please close all related programs and try again"

![error.png](/t5/image/serverpage/image-id/119577i3E0A492068C95FE7/image-size/large?v=v2&px=999 "error.png")


Answers:
author: Nic Brough -Adaptavist-
body: Your existing Confluence service is still running. You need to stop it before running the upgrade.

comments: author: Rajani Yarlagadda
body: Thanks for the response. Service automatically stopped during upgrade. It was not running when I got the error. [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454)


author: Nic Brough -Adaptavist-
body: Then there must be something else holding the files open. Annoyingly, Windows is bad at this sort of thing and probably won't tell you what it is

It might still be the service - sometimes they do not stop properly, but remain running. Check the task manager to see if any java processes are running. Otherwise you'll need to check for filing programs or anti-virus holding the directories open


author: Rajani Yarlagadda
body: [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454) thank a lot, it did actually work and I didn't get this error but got a new error as below. Any idea to fix it?

"com.install4j.runtime.beans.actions.files.CreateZipFileAction failed


author: Rajani Yarlagadda
body: FYI, I am upgrading manually not with installer


author: Nic Brough -Adaptavist-
body: Your latest error suggests that you have not been able to stop whatever is locking your files and directories open while it tries to upgrade.

If I were trying to do this, I would be looking to whatever Windows is holding open and why, so I could stop it from locking out the upgrade. But I have not suffered working with Windows for a long time, so I can't tell you what to look at in any detail - not a lot beyond "you need to work out what is holding the files open"


author: Rajani Yarlagadda
body: Thanks for your reply


Tags: cloud

confluence-cloud

upgrade
Board Macro - Can I link to an existing page?
Asked by Christianna Miles:

I have started playing around with using the Board Macro because of the ability to have task cards in a kanban view. However, I want each task to be tied to a separate page. I already have a lot of pages and want to know if I can link existing pages.

Because this is a macro, I cannot edit the page and directly link it to the task card.

Ideas???

Thanks in advance for any help or advise you have on this subject.


Answers:
author: James Conway
body: Hi [@Christianna Miles](/t5/user/viewprofilepage/user-id/3877558)

I assume that you are using the Comala Boards macro. Have you tried [Add an existing Confluence page to a container](https://wiki.comalatech.com/display/CBCSL/Add+an+existing+Confluence+page+to+a+container) ?

If you need any help with any Comalatech product you can contact our support team at [https://support.comalatech.com](https://support.comalatech.com?)

All the best

James  
Senior Product Manager


Tags: board

confluence-server

macro

server
Share Links Blueprint is not copying the labels
Asked by Mark Roberts:

Anyone else having an issue using the share a link bookmarklet? I select a label but it does not get stored with the document. I am using Confluence cloud.

<https://confluence.atlassian.com/doc/shared-links-blueprint-407724258.html>


Answers:
author: Mark Roberts
body: I had to enter a question to get into the community section. Once there I was able to search and find similar issues.

<https://community.atlassian.com/t5/Confluence-questions/Where-s-the-comment-when-sharing-a-link-via-share-links-macro/qaq-p/1531869>


Tags: cloud

confluence-cloud
Can I bulk create pages using a template with variables that are filled in from data in excel?
Asked by Jeremy Schrecengost:

I am attempting to make a dictionary of internal terms. I have designed a template for the dictionary and added variables to each of the sections that will need to be filled out.

I have a spreadsheet that has data that contains the page name and data for the variables. Is there a way to do a bulk import (similar to JIRA) where I use the spreadsheet to fill in the variables I created in the template?


Answers:
author: Michelle Rau HP
body: I have this challenge too!

One thing I tried was to convert the spreadsheet into a table in MS Word, then highlight the first column and format the text as Heading 1 before trying to import it into Confluence.

This process created the new pages all right, and if I recall correctly the information in the other cells appeared as a table in the newly-created pages. Of course the import process did not include labels or formatting, so going back in and editing all the new pages was still needed.

As far as I know there is not a way to have Confluence automagically insert markup as part of the Word import process.

I am very interested in other solutions to this challenge!

comments: author: Jeremy Schrecengost
body: We have a distinct format for our wiki too and if I am going to have to apply it to every page then it really does not save any time. I have looked at exporting XML and importing the XML just edited but I have not found a good way to edit the XML (there are too many references that I do not know what they track and how changing them would affect the import)


author: Michelle Rau HP
body: I don't know if your wiki format would lend itself to this idea, but one thing I tried was doing a mail merge in MS Word, piping data from Excel into an MS Word doc (one page per record). The Word doc could then be imported into Confluence. But the page layout/formatting might not translate as desired.


Tags: confluence-server

server
email alert on https certificate expiry
Asked by Priyanka Sharma:

Hello Team,

Please suggest a possible way to configure email alerts before the HTTPS certificate expiry in Confluence Server 6.0.5 version.

Thanks,

Priyanka


Answers:
author: Daniel Ebers
body: Hi Priyanka,

this is a common task with sys admins but regularly not done within Confluence directly.

Assuming your Confluence server is checked for some vital data (disk space, load, ping check, uptime) the check for cert expiry is a classical check amongst the others.

Do you have monitoring in place which could also do the cert expiry check?

Regards,

Daniel

comments: author: Priyanka Sharma
body: Hello Daniel,

Thanks for the reply

In that case we have to do to generate an event ID from the application. however, as long as to get a custom EventID generated, the monitoring agent on the server can poll and pick this up when it generates it will then inject into the system where it becomes a TFSNow alert.

The monitoring tool which is used is UIM (unified infrastructure monitoring - by Broadcom).

Can you please help me how from Confluence I can generate Event/EventID for HTTPs certificate expiry.

Thanks,

Priyanka


author: Daniel Ebers
body: This will not work like you describe as Confluence has no facility to monitor SSL certificate.

What was mentioned earlier as a suggestion was a simple best practise seen all over the world. It is possible indeed that you need to adjust the current setup.

You can put certificates in a table along with their expiry. But I believe this is not what you want.

[https://marketplace.atlassian.com/apps/1217362/check-https-certificate?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1217362/check-https-certificate?hosting=server&tab=overview)


Tags: confluence-server

server
How to edit page created from a template
Asked by Stuart D:

I have just created my first template page, with some basic headings, which is generated when a user clicks on a small form created using the Add Page Via Form macro. The user simply enters the name of the page in the form, clicks on the button and a new page is created.

The new page is created but it appears to be uneditable. Clicking 'Edit Contents' just presents the template page but without the ability to edit, only the 'Save Draft', 'Save' and 'Cancel' buttons are live. And clicking 'Edit' on the page only brings up the page as a blank expect with the macro icon on it.  

I used one of the pre-supplied templates to create mine, but can't for the life of me figure out how to allow the user to enter details into the generated pages.


Answers:
author: Monique Khairuliana[ServiceRocket]
body: Hi [@Stuart D](/t5/user/viewprofilepage/user-id/4172608) ,

It sound like you're using Linking for Confluence and Scaffolding templates (both are ServiceRocket apps). The Add Page via Form macro (from Linking app) will enable the one-click page creation with a pre-defined template, with the option to have the template made out of Scaffolding macros. That's what triggers the Edit Content button to appear.

To troubleshoot, I'd first check if the Add Page via Form macro settings has "Live Template" checked. This setting should only be used with Templates with Scaffolding macros on them. If you are using one of the pre-supplied templates, you don't need to have the Live Template setting checked.

Hope this is still relevant for you. I just randomly stumbled into this thread today!. If you need further help, feel free to reach our support team [here](https://servicerocket-apps.atlassian.net/servicedesk/customer/portal/1/group/1/create/1)  
-Monique  
ServiceRocket team


Tags: confluence-server

scaffolding

server

servicerocket
How do I continue a numbered list across sections or table rows?
Asked by richardofrugeley:

I'm writing a step-by-step guide. Each step, or group of steps, has an accompanying screenshot. I'd like the steps to be in a column on the left and the images in a column on the right. I'd like the steps to be numbered so that individual steps can be referenced.

When I've tried this, I've used sections or table rows to associate steps and images, but in the next section/row the numbering restarts at 1. How do I get a numbering progression throughout the guide?


Answers:
author: Michelle Rau HP
body: I have the same challenge. This is a common scenario. I've tried using the out-of-the-box row numbering on Confluence tables, and tried merging table cells, but got irregular results.

One possibility is the Numbered Headings macro: [https://marketplace.atlassian.com/apps/16063/numbered-headings?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/16063/numbered-headings?hosting=cloud&tab=overview??)

I'm not that familiar with the Bob Swift Advanced Tables add-on, [https://marketplace.atlassian.com/apps/197/advanced-tables-for-confluence?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/197/advanced-tables-for-confluence?hosting=cloud&tab=overview?) but it looks like it may offer some numbering options.

Looking forward to other ideas and/or your solution!

comments: author: richardofrugeley
body: I transformed the page with the Numbered Headings macro. Previously the page was divided into sections with steps in a narrow column and screenshots in a wider column. The macro can be used in sections but it's not possible to add sections within the macro. So the divided sections were replaced with a 2-col table. And some cutting and pasting!

The first heading on the page is H2 so I chose to start numbered headings at H3, using H3 \& H4.

The 1,2,3 numbering in the editor was turned off to remove the earlier numbering that continually reset to 1. Otherwise it's possible to have two sets of numbering!

Here is an extract:

![Numbered headings in a table.png](https://community.atlassian.com/t5/image/serverpage/image-id/119593iA2F4A4FF07805747/image-size/large?v=v2&px=999 "Numbered headings in a table.png")


author: Michelle Rau HP
body: I like your layout a lot and I may try to replicate it. Nicely done!


author: Nicholas Wade
body: In the end, the only way to put a table in a numbered list is to pull up PowerPoint, create your table, copy it, past it back in PowerPoint as a picture, copy it and then paste it in the numbered list following a soft return.

If you go to buy a tool from the marketplace be aware that although it says 'free for the first 10 users' it's not, because that's a trial period and anyway, if you're using Confluence you probably have a lot more users and the license is per user. Absolute Rip-off.


Tags: confluence-server

server
Smart Links for self-hosted GitLab
Asked by Fernando Maia:

As seen in <https://community.atlassian.com/t5/Confluence-articles/Preview-Gitlab-files-on-Confluence-pages-and-Jira-tickets/ba-p/1507718#U1541568>, it is possible to preview GitLab files.

Does this integration work for self-hosted GitLab instances too? If so, how can I configure it?

Big thanks so far!


Answers:
author: Diego
body: Hello [@Fernando Maia](/t5/user/viewprofilepage/user-id/126494) !

Currently, the Smart Link feature does not work with On-Premises GitLab. Our Smart Link feature works with the Cloud based solutions listed in this document:
> * ++***[\[Confluence Cloud\] Insert links and anchors](https://support.atlassian.com/confluence-cloud/docs/insert-links-and-anchors/#InsertLinksandAnchors-Smartlinkssmartlinks)***++

Let us hear from you!


Tags: cloud

confluence-cloud