youngmon/atlassian-qna huggingface dataset:
confluence installation error?
Asked by PIDATHALA SRINIVASA RAO:

I tried to install the conflunece in my laptop,i was given the liecense,after that i'm getting error!can you please assist me about this ![confluence error.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/5009i168612E9BD925BF1/image-size/large?v=v2&px=999 "confluence error.jpg")


Answers:
author: Shannon S
body: Hi Pidathala,

Can we see the rest of the errors from that page? I suspect it could be the [Confluence does not start due to 'Unable to clean the cache directory' error](https://confluence.atlassian.com/confkb/confluence-does-not-start-due-to-unable-to-clean-the-cache-directory-error-251005962.html) but we're not able to see the bottom of the error message.

Thank you for your help!

Kind Regards,  
Shannon
No images Displayed in Confluence
Asked by Kevin Black:

I'm the site admin for our Confluence in the cloud. Had a guy doing some editing for us. Went to have a look and, for some reason, no images are displayed at all. That includes inline images in the pages, avatars etc etc - nothing on any page or admin screen.

Clicked on an image in one of the pages and got this:

*Ouch! We can't load the image.*

*[https://media-api.atlassian.io/file/dedcb12b-304c-4db2-bc04-550c4119436f/image?mode=full-fit\&client=2407a676-e7f6-4a5b-9353-5167fd7757f9\&token=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIyNDA3YTY3Ni1lN2Y2LTRhNWItOTM1My01MTY3ZmQ3NzU3ZjkiLCJhY2Nlc3MiOnsidXJuOmZpbGVzdG9yZTpmaWxlOmRlZGNiMTJiLTMwNGMtNGRiMi1iYzA0LTU1MGM0MTE5NDM2ZiI6WyJyZWFkIl19LCJleHAiOjE1MDMzNjExNTMsIm5iZiI6MTUwMzM1Nzc5M30.dUDEB4KGHvKm8oBGU9Bb7ANYUysGEuTDMz144MRT8Rc](https://media-api.atlassian.io/file/dedcb12b-304c-4db2-bc04-550c4119436f/image?mode=full-fit&client=2407a676-e7f6-4a5b-9353-5167fd7757f9&token=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIyNDA3YTY3Ni1lN2Y2LTRhNWItOTM1My01MTY3ZmQ3NzU3ZjkiLCJhY2Nlc3MiOnsidXJuOmZpbGVzdG9yZTpmaWxlOmRlZGNiMTJiLTMwNGMtNGRiMi1iYzA0LTU1MGM0MTE5NDM2ZiI6WyJyZWFkIl19LCJleHAiOjE1MDMzNjExNTMsIm5iZiI6MTUwMzM1Nzc5M30.dUDEB4KGHvKm8oBGU9Bb7ANYUysGEuTDMz144MRT8Rc)*

Obviously there is a link to the image in the cloud, but the link iis not rendering an image in Confluence. I'm using Chrome and this has worked fine before. Our guy tells me the images show fine at his place using Chrome and Firefox.

However (using Chrome), **if I click that link, I get the correct image,** images are just NOT appearing in Confluence. I'm not even sure where to start looking?

Any ideas?

Thanks,

Kevin


Answers:
author: Kevin Black
body: Maarten thanks,

It was a privacy issue with a chrome extension, all sorted.

comments: author: Maarten Cautreels
body: Hi Kevin,

Any chance you can share with us which extension it was. This might help future users.

Best,

Maarten


author: Kevin Black
body: Sure, it was **Privacy Badger.**It is quite useful in that, if it discovers a site is tracking you it disables the tracking. It has basically three options from Block entirely to Leave alone. In this case it was blocking some of the Atlassian URLs.

The solution was to:

**Disable Privacy Badger for this Site**


author: Minh B?i ??c
body: Thanks for sharing, I tried but it's not work for me


author: willa
body: Confirmed. Was privacy badger for me too.


author: Maarten Cautreels
body: Hi Kevin,

I think it'll be best to get in touch with [Atlassian Support](https://support.atlassian.com). The images show a security error for (probably because I'm not logged into your Confluence).

Hope this helps.

Best,

Maarten


Tags: image
Is anyone else bewildered by the new Confluence navigation?
Asked by Brendan Andrews:

It looks pretty, sure..

But a simple tree based page view can't be set as the default.

A lot of the things I used to do were one click away, they now require some exploring or navigating away from the current view. In some cases (like the reorder tool) I still can't find them at all.

Maybe this has helped someone? But for my peers and I this has made it a slower more awkward process. I don't feel like it can have been evaluated fully.


Answers:
author: miriam-hopton
body: I concur - things are different and just poking around helped navigate around. If only they could make the buttons pop out more. For instance after selecting the "Pages" icon, the upper right corner contains a button that says "Reorder Pages". The button is the same color as the page and easy to miss. Good thing is the reorder page still remains within the Space Tools (if you used that to reorder pages before the update). Space Tools \>\> Content Tools \>\> Reorder Pages.  

In all, I agree with everyone on the fact of the drastic change was abrupt.


author: Brendan Andrews
body: Thanks - I'll jump there :)


author: Nic Brough -Adaptavist-
body: You have good company - see <https://community.atlassian.com/t5/Confluence-discussions/What-just-happened-to-Confluence-Cloud/m-p/622890>
How can I create a repeatable product requirements document template
Asked by Darren OFlaherty:

I work in the infrastructure space as a Technical Architect.

I want to move to an easier way to capture, record and store project requirements. My organisation uses Jira, I have come across Confluence and the Product requirements template which is great however I want to modify this template and save the new template in a seperate area, then when the needed use this template when gathering requirments with customers and save as "*project name_*requirements" document. Can someone advise how I can do this please :)


Answers:
author: AnnWorley
body: You may use a custom Page Template: [Page Templates](https://confluence.atlassian.com/doc/page-templates-296093785.html) It will show up when you click the elipses next to Create, so you can re-use it and others can use it as well.

comments: author: Darren OFlaherty
body: Hi Ann, I have created a template . Where would i "store" it in my space on confluance..? Now if i want to use this and save it as Project 1 requirements and link it to a jira Scrum board how would I do that?


Tags: cloud

requirement
Is there a way to create form on one page that updates a table on another page in confluence?
Asked by Nathan Moser:

I am hoping to create a form on confluence that will add another row to a table on another page using the javascript in the html macro. I know there are various macros one can purchase but I'm trying to find a way without having to do so.

The form would have inputs like:

Job Name, User, Job Status, Notes

I'd like to be able to take all the information from this form and add it to a table on another page (same confluence server).


Answers:
author: Robert Reiner _smartics_
body: In case the solution proposed by Shannon does not meet your use case, another approach would be to add a new page for each data set and list the pages with a macro. For instance with the [Page Properties Report Macro](https://confluence.atlassian.com/doc/page-properties-report-macro-186089616.html) (which is on-board with Confluence).

But this solution does not provide the form your use case requires and is not based on a "fill-table" metaphor (and is probably less fancy than the suggested solution using the Scaffolding Plugin). A [blueprint](https://confluence.atlassian.com/doc/blueprints-323982376.html) wizard may support creating the page similar to a form, though. But this involves [creating a blueprint plugin](https://developer.atlassian.com/confdev/confluence-plugin-guide/confluence-blueprints/write-a-simple-confluence-blueprint-plugin).

Of course there are a number of third party add-ons that support creating pages and provide richer support to list results in tabular form.


author: Shannon S
body: Hi Nathan,

According to [this past Community post](https://community.atlassian.com/t5/Answers-Developer-Questions/Table-where-users-can-add-rows-using-a-quot-form-quot-or-macro/qaq-p/478696), you can do this with the table-data macro in [Scaffolding Plugin](https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.scaffolding?_ga=2.205811539.1160123639.1503302345-678533352.1500973771), or try out Bob Swift's solutions, also mentioned on that page.

Have a look and let us know if you have any trouble with that!

Kind Regards,  
Shannon

comments: author: Nathan Moser
body: Thank you Shannon, I'll look into the links you provided.


author: Shannon S
body: Great, Nathan!

Feel free to let us know if one works best for you so future users that have the same question can try the same.

Kind Regards,  
Shannon


Tags: html

javascript
How can I prevent confluence from adjusting restrictions on it's own?
Asked by Debra Garces:

Created new pages and once they become complete we remove the restrictions for all to view however, they seem to be setting back to restricted at least once a day. Have a specific agent that cannot open it at all. They requested access and the email says it has been granted and nothing. Had the agent log out, refresh, even granted editing access and this agent still cannot view the page. How can this be corrected? Any suggestions?


Answers:
author: Thomas Schlegel
body: Hi Debra,

maybe you have set another view restriction on a parent page? Child pages inherit view restrictions from parent pages.

Did you look at the restricted pages list of the space admin section? Maybe this list gives you a clue, why your agent can't view the page.
Confluence doesn't work after upgrading to 6.3.3
Asked by Dan C. Zainescu:

After upgrading Confluence from 5.8.5. to 6.3.3, I was able to start it, but I can't connect to it. It seems that the database scema was not updated during the installation as I see error messages in the log about missing columns and tables.

Please advise.


Answers:
author: AnnWorley
body: I understand you are not able to connect to Confluence since upgrading, and you see errors in the logs referring to missing columns and tables.

Please let me know:

* What method you used to upgrade. Did you use an archive file and point the confluence-init.properties file at the existing Confluence Home directory or did you use an executable and run the installer?
* What OS are you using? Windows or Linux?
* There should be an entry in the log to the effect of "Upgrade failed" with some cause, please see if you can find that error message.

If this is a production instance, I recommend restoring the database and Confluence Home directory from back-up, then trying the upgrade on a test instance.

The logs to check are:  
\<confluence_install\>/logs/ (anything recent in this directory)  
\<confluence_home\>/logs/atlassian-confluence.log  
Note: The \<confluence_home\> directory is the path defined in the following file: \<confluence_install\>/confluence/WEB-INF/classes/confluence-init.properties

comments: author: Dan C. Zainescu
body: * I used an executable.
* Windows Server 2012 R2 Datacenter.
* There are no "Upgrade failed" entries in any of the log files in both directories.

These are some of the errors I see in the log:

```
java.sql.SQLException: Invalid column name 'PERMALLUSERSSUBJECT'.

java.sql.SQLException: Invalid object name 'scheduler_clustered_jobs'

```


author: AnnWorley
body: I opened a support ticket in your name, to take a closer look. You should get the email from it any minute.


author: AnnWorley
body: Thanks for the logs, it turned out that you fixed the issue by applying an evaluation license. We found the error message in your logs that matched this article: [Upgrade fails due to expired license](https://confluence.atlassian.com/confkb/upgrade-fails-due-to-expired-license-284366215.html)
Is there is Task Reminder plugin/app for Cloud Hosted Atlassian applications?
Asked by Anukool Gandhi:

Like the plugin Task Reminder for Confluence which is available only for Server hosted options, is another plugin available for Cloud Hosted applications? If not are there any alternative ways to do it?


Answers:
author: Shannon S
body: Hi Anukool,

I wasn't able to find an add-on for Confluence Cloud that does this, perhaps another member of the community may be able to, but I did find the following feature requests:

* [CONFCLOUD-36087](https://jira.atlassian.com/browse/CONFCLOUD-36087)
* [CONFCLOUD-34389](https://jira.atlassian.com/browse/CONFCLOUD-34389)

Please feel free to vote on and watch the requests so you can be updated when there is any progress.

Take care!

Kind Regards,  
Shannon

comments: author: Anukool Gandhi
body: Thank you Shannon


author: Shannon S
body: You're welcome, Anukool!

Take care and Kind Regards,  
Shannon
Is there a way to globally edit the "in space" parameter for the Content by Label Macro?
Asked by Scott Derderian:

Here is my use case:

The contents of Space A (containing the Content by Label macro) were migrated to Space B.

However, the Content by Label Macro still shows Space A as the target macro - thereby causing the newly-migrated pages to Space B not showing up in the macro's output.

Any input would be appreciated.

Thank you.


Answers:
author: AnnWorley
body: I just added a label to a page, set up the content by label macro to point at it, then moved the page to another space. The Content by Label macro still "found" the page on the other space.

I suspect an indexing issue on your instance. If it's hosted by you, please try reindexing from this guide:  
[Content Index Administration](https://confluence.atlassian.com/display/DOC/Content+Index+Administration) and if that doesn't work, rebuilding the content indexes from scratch as described in [How to rebuild the content indexes from scratch on Confluence server](https://confluence.atlassian.com/confkb/how-to-rebuild-the-content-indexes-from-scratch-on-confluence-server-110035351.html)  
If this is a Cloud instance, you won't be able to reindex, so if the issue persists, please open a support request at <https://getsupport.atlassian.com>.  

comments: author: AnnWorley
body: I just realized you set the "in space" parameter as you mentioned in the title of your question - sorry for the mistake.

There is no way to bulk update the macro in the UI. The cleanest way I can think of to do it would be by exporting the space to XML, doing a search and replace based on the macro and then re-importing the space.

Do you have too many pages with broken macros to update manually? You can see where the macro is used on the Confluence Admin\>Macro Usage page.
Download Atlassian plug-ins for Jira and Confluence
Asked by dmarrow:

The instructions for installing the addons that we purchased are based on contivity to the web. I work in an enclave without that connectivity. How do I get the products down and install in this configuration.


Answers:
author: AnnWorley
body: You may download the plugins from the Marketplace onto your desktop computer, then transfer them to the file system on the server. To install the add-ons, go to Confluence Admin\>Add-ons and use the Upload Add-ons link.


Tags: jira
Confluence Security Weakness Sonatype CWE: 400
Asked by Dillip Das:

Hi,

Our security team performed a security scan on Confluence 6.21 and found a security issue and the detials are provided below. We could only adopt for production use, if that risk is addressed by Atlassian. Our procurement department is waiting for us to obtain a mitigating solution for this issue, before they procure Confluence.

**Severity** Sonatype CVSS 3.0: 7.5

**Weakness** *Sonatype CWE: 400*

**Explanation** The moment package is vulnerable to a Regular Expression Denial of Service (ReDoS). The moment.duration() method in moment.js contains a regular expression, used to determine if an input is of the ASP.NET date format, that can cause an application to hang. The aspNetRegex, the variable's name in the code, causes very slow processing of exponentially long repetitive sequences leading to a Denial of Service (DoS) due to excessive resource consumption. A remote attacker could exploit this flaw by supplying a specially crafted request URL containing long repetitive sequences to cause the denial of service (DoS). "

**Proof of concept:**

var moment = require('moment');

var genstr = function (len, chr) { var result = "";

for (i=0; i\<=len; i++) { result = result + chr; } return result; } for (i=20000;i\<=10000000;i=i+10000) { console.log("COUNT: " + i);

var str = '-' + genstr(i, '1') console.log("LENGTH: " + str.length); var start = process.hrtime(); moment.duration(str) var end = process.hrtime(start); console.log(end); }

**Results** $ node moment.js COUNT: 20000 LENGTH: 20002 \[ 0, 618931029 \] COUNT: 30001 LENGTH: 30003 \[ 1, 401413894 \] COUNT: 40002 LENGTH: 40004 \[ 2, 437075303 \] COUNT: 50003 LENGTH: 50005 \[ 3, 824664804 \] COUNT: 60004 LENGTH: 60006 \[ 5, 651335262 \] "

**Reference Link: <https://nodesecurity.io/advisories/55>** *Note:* CVE-2016-4055 has been assigned to this vulnerability. **Detection** The application is vulnerable by using this package. **Recommendation** We recommend upgrading to a version of this component that is not vulnerable to this specific issue. **Categories** Data

**Root Cause** moment : 2.5.0

**Advisories** **Project: <https://nodesecurity.io/advisories/55>**


Answers:
author: AnnWorley
body: Our security team has asked me to direct you to [How to Report a Security Issue](https://www.atlassian.com/trust/security/how-to-report-security-issue).

It would be great if you could follow up on this forum to let the Community know the result.


Tags: security
Server ID for confluence displays $action.sid
Asked by dmarrow:

I am trying to update my license key for confluence. To get my license key I need to enter my ServerID. When I go the license Details Server ID it displays $action.sid which of course is not valie.


Answers:
author: AnnWorley
body: I understand your Server ID is showing as $action.sid.

For the purpose of generating a license, you may get the server ID from the file \<confluence_home\>/confluence.cfg.xml, under:

```
 property name="confluence.setup.server.id
```

You may run into trouble upgrading later if the issue isn't resolved, however. Please see [Server ID Shows as $action.serverId, $action.sid or n.v.](https://confluence.atlassian.com/confkb/server-id-shows-as-action-serverid-action-sid-or-n-v-181536632.html)
Site homepage settings, useless now ?
Asked by Bruno Miretti:

Hi,

I've discovered a cookie is set to remember the latest page viewed on the Confluence Home (whatever the browser can be).

So now, when I go directly on my home page \<xxx\>.atlassian.net, the "Site Homepage" I defined in the "Further Configuration" option is totally useless. In this admin page I see: "**Allows you to configure the site home page to which users will be directed when they log in**." so now that's wrong, they go to the Confluence Home either to the homepage I defined or to the Activity one or to the Spaces one. That's not what I want (and this does not correspond what's described), specially for anonymous users, I want them all, registered users or not, to go to the home space I configured as that was before.

Is this a bug or a feature ?


Answers:
author: Bruno Miretti
body: FYI a bug has been opened, see:

<https://community.atlassian.com/t5/Confluence-questions/Site-Homepage-setting-has-no-effect-for-normal-user/qaq-p/612963>

comments: author: AnnWorley
body: Thanks for circling back, Bruno. For anyone seeeing this later, there are two bugs to be aware of:

[Some users with access to only Confluence are not being redirected to Confluence](https://jira.atlassian.com/browse/ID-6349)

[Customers who had opt-out from New Confluence Look and Feel have the 'Confluence' button redirecting to a non-existing page due to an extra 'all-updates' on the URL](https://jira.atlassian.com/browse/CONFCLOUD-56842)


Tags: cloud
How do I modify the content of a confluence email notification header and footer?
Asked by Bender334:

Hello,

I'm trying to add a header and footer to a confluence email notification. Within the confluence-email-notifications-plugin-8.4.6.jar file, I've been editing the following files:

templates/chrome/footer-pattern-1.0.0.soy

templates/chrome/footer-pattern-2.0.0.soy

templates/chrome/header-pattern-1.0.0.soy

templates/chrome/header-pattern-2.0.0.soy

com/atlassian/confluence/plugins/email/i18n.properties

After updating the jar file with the edited files, I restart confluence and trigger a notification to be sent. However, I'm not seeing any of the changes I made within the notication email. Does it look like I'm missing a step, or editing the wrong jar file. We are using Confluence version 5.10.8, and I'm editing the confluence/WEB-INF/atlassian-bundled-plugins/confluence-email-notifications-plugin-8.4.6.jar file.

Thanks for the help.


Answers:
author: AnnWorley
body: It sounds like you are doing everything as described in: [Customizing Email Templates](https://confluence.atlassian.com/display/CONF510/Customizing+Email+Templates)

During the next restart, please try: [How to clear Confluence plugins cache](https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html) . I have a theory that the confluence-email-notifications plugin is being loaded from the cache and that's why it's not picking up the changes.

comments: author: Bender334
body: Thanks Ann. I gave this a try, but still no luck. It so strange why I can't see any changes. Even making a change to the i18n.properties file where it's plain to see that some of the footer text is being pulled from has no effect.
Page Index macro slow to generate
Asked by Courtney German:

Greetings,

I am running into an issue where we have a client that has set up a Confluence space with a page index of 3739 pages. Since the page index is on the landing page the space is very slow to load and gets logging messages indicating that the macro is taking a long time to generate. Ideally I would rather the client not use the page index macro with so many enteries but I can not think of an alternative for them. Can anyone give me suggestions for an alternative or give any advice if there is a way to make the Page Index macro work better with such a large entery?


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Courtney German](/t5/user/viewprofilepage/user-id/684081) ,

this is an old issue that should be fixed now (<https://jira.atlassian.com/browse/CONFSERVER-57864>)

Fabio
File attachments not referenced on page
Asked by Howard Fulmer:

I can easily list files attached to a page, but is there a way to obtain a list (subset) of these attachments that are *no longer referenced* on the page, something like 'dead' or broken attachments? That would be very helpful for wiki page cleanup.

Thanks, Howard


Answers:
author: Howard Fulmer
body: Thanks a bunch, Shannon. Looks like the plug-in from Alutus Tech may do the trick. I've passed the info to our support team for follow-up.

Best,

Howard


author: Shannon S
body: Hi Howard,

I believe the [Confluence Unused Attachments](https://marketplace.atlassian.com/plugins/com.alutustech.confluentis.confluentis-unused-attachments/server/overview?_ga=2.118770956.406361780.1503484522-114356736.1503484522) add-on could work for you if you're on Confluence Server. Alternatively, we do have a feature request for this:

* [CONFSERVER-16577](https://jira.atlassian.com/browse/CONFSERVER-16577)

Have a look at [this past Community question](https://community.atlassian.com/t5/Confluence-questions/Can-I-automatically-find-and-delete-unused-orphaned-attachments/qaq-p/42039) for a few more solutions that could help you.

Kind Regards,  
Shannon

comments: author: Howard Fulmer
body: Thanks a bunch, Shannon. I have already passed the plug-in info from Alutus Tech to our support team for follow-up. Looks like it may do the trick.


author: Shannon S
body: Great! Thank you for confirming that. If you have any trouble please let us know.

Kind Regards,  
Shannon