youngmon/atlassian-qna huggingface dataset:
When, during upgrade, should Java be re-installed?
Asked by Chris Riley:

*This question is in reference to Atlassian Documentation: [Upgrading Confluence](https://confluence.atlassian.com/pages/viewpage.action?pageId=4578)*

In reference to this page on upgrading to 6.0.1: <https://confluence.atlassian.com/doc/upgrading-confluence-4578.html>...

We are currently running Confluence 5.5.2 on Java 1.7. When we upgrade to 6.0.1 soon, we will have to switch to Java 1.8.

At what point in the upgrade path process should we install Java 1.8?

Will 6.0.1 immediately look for 1.8, or will we have to re-configure something in order for 6.0.1 to use Java 1.8?

Much thanks,

Chris


Answers:
author: MattS
body: The process that is Confluence 6.x should be using Java 1.8. Whether it comes from an installer or you install the JDK yourself.


author: Steven F Behnke
body: Chris, if you're using the Confluence Linux 64 Bit, that IS the installer. You can't run EXE's on Linux so that's a moot point, but the Linux 64 Bit is a script that sets up your dependencies and includes JAVA. If you use the Linux 64 Bit installer then you can safely ignore steps related to upgrading JAVA.

If you're installing with the tar archive, then you WILL need to take down Confluence, upgrade JAVA_HOME, then run Confluence from the new installation directory.

comments: author: Chris Riley
body: Much thanks, Steve.


author: Steven F Behnke
body: No sweat! :smile:


author: Chris Riley
body: Steve, our OS is Linux for current install (Confluence 5.5.2), and will remain Linux when we upgrade to 6.0.1. We'll be using either Confluence Linux 64 Bit, or TAR.GZ Archive to upgrade, not the EXE installer.

Then, from your answer, we'll have to install 1.8 before the upgrade, and then update the JAVA_HOME path. My follow-up question is, should we update JAVA_HOME before, or after running the upgrade? I'm thinking it doesn't really matter, as long as we update the path *before* starting up the app again...

Thanks,

Chris


author: Steven F Behnke
body: How are you setting up and installing the app? What OS?

If it's with the Installer package, you shouldn't need to manage JAVA by yourself. If it's via the Archive/Zip/Tar method, then you WILL need to update java and update the JAVA_HOME path.
> If you're using the Confluence [installer](https://confluence.atlassian.com/doc/installing-confluence-183468566.html), you do not need to install Java manually.
>
> <https://confluence.atlassian.com/doc/installing-java-for-confluence-144212101.html>


Tags: confluence-administration

documentation
how do i activate a user who was diactivated
Asked by Hezi Stern:

*This question is in reference to Atlassian Documentation: [Deleting or Deactivating Users](https://confluence.atlassian.com/pages/viewpage.action?pageId=428803631)*

Ask your question here...


Answers:
author: Nic Brough -Adaptavist-
body: Same way you deactivated them. It's a simple flag on that page.


Tags: cloud

confluence-cloud
401 error when editing Gliffy diagrams
Asked by Andrew Dexter:

* I am trying to edit a page in Confluence that has a bunch of Gliffy diagrams in it.
* The page can be edited, but when I try to edit the diagrams themselves, the screen simply displays "401".

* When I try and edit the diagrams through the "view attachments" menu, I get the message "Add-on Gliffy Diagrams for Confluence Cloud is not responding."

* I don't know what causes this but I can reproduce it on my coworkers' computers too.


Answers:
author: Gliffy
body: We followed up with Atlassian and they have indicated here: <https://jira.atlassian.com/browse/CONF-45614> that the fix for the issue will be automatically applied during your next maintenance window within the next 24 hours.

If you have a more immediate need, please raise a ticket at [support.atlassian.com](http://support.atlassian.com) with a reference to <http://status.atlassian.com/incidents/3hzqdpjrggrq>.

Their teams can implement the fix with an immediate 15 minute maintenance window with acknowledgment from a technical contact from your site.


author: Gliffy
body: Hi Andrew,

We are sorry you are experiencing this issue. We believe your issue is related to this: <http://support.gliffy.com/hc/en-us/articles/115000364848>

Atlassian has confirmed it is most likely an issue on their end, and we are work actively with them to resolve it.

Can you please update that ticket with your Base URL of your Confluence instance?

Thanks,

Gliffy Support


author: Andrew Dexter
body: <http://support.gliffy.com/hc/en-us/requests/110355>


Tags: cloud

confluence-cloud

gliffy
PDF Custom Export don't respect the selected pages
Asked by Diego Coelho:

When I try export a parent page, but only one of their child pages, all the child pages are exported. (Content Tool \> Export \> PDF).

Before, it worked perfectly. Any suggestions?

Thanks!


Answers:
author: Rob Woodgate
body: Hi Diego,

This was [also asked a few days ago](https://answers.atlassian.com/questions/45391483/answers/45392685). Your best bet is to raise a support ticket with Atlassian.

comments: author: Diego Coelho
body: Thanks Rob!

I've researched similar issues, but I haven't seen this post.
Linking from Confluence-generated CHM file to an external HTML file?
Asked by Dave Sweetser:

*This question is in reference to Atlassian Documentation: [Links](https://confluence.atlassian.com/pages/viewpage.action?pageId=829077251)
Presuming I generate a CHM file from my Confluence pages, can I link from the CHM file to an external HTML file (in the same folder as the CHM file)?
If so, how would this be done?*

*Thanks.*


Answers:
author: Nic Brough -Adaptavist-
body: Yes.

I'm not sure we can tell you more than that. If you link to a url in a confluence page, that's fine, but whatever you're doing to generate a chm file from it will need to understand how that link works and what you want it to do when it generates the file.

comments: author: Dave Sweetser
body: Hi Nic,

Thanks for your answer. However, I don't think I understood any of the answer. I'm not trying to "link to a URL in a Confluence page". I'm trying to link to an ++external++ HTML file, something like Introduction.html. I'm trying to link to the external HTML file from within the Confluence-generated CHM file. So, graphically, it's this:  

CHM file ---\> HTML file  

I presume the contents of the HTML file will be displayed within the CHM file viewer.

So, my question is: From Confluence, how do I link to an external HTML file? Again, the external HTML file will be in the same folder as the Confluence-generated CHM file. The external HTML file will not be on a file server, it will be local. It will not be accessed via a URL, there's no web server involved. It's just an HTML file sitting next to the Confluence-generated CHM file.  

Thanks for any further thoughts you have on this.  

Dave


author: Nic Brough -Adaptavist-
body: I'm not sure I can say it any other way.

You put a link into the Confluence page to \<wherever your html file is going to be\>. Whatever is converting the Confluence page to CHM should then include that link.

If your converter process is not going to do any processing for you, then that link will have to be verbatim - you will need to put in exactly what you expect to come out in the chm file. I don't know how chm might store and handle links to other local files, it's not my field. If your converter is clever enough, then you'll need to give it what it expects.


Tags: documentation

link
Deployed WAF in sophos UTM as a reverse proxy for confluence
Asked by dormudi:

I deployed Web Application Firewall (webserver protection) as referenced in sophos UTM so the external users can connect via https using the virtual web server as a front-end to confluence. Confluence is still operation on default http on port 8090 for users in the local LAN. Problem is that users connected https via WAF cannot create new pages or edit anything. Also the team calendars for them do not display. Trying to create a page they get "took long for connection...." message. Version of Confluence is 6.0.2. Any idea how to fix this? I have played and changed various protection profiles in WAF but no luck.


Answers:
author: dormudi
body: Thanks for the answer! I am still looking at the issue. What I found out is that disabling "Collaborating editor" in confluence fixes all my issues with WAF. Now I can create new pages and edit via https externally. I do not believe that this is the fix though.

comments: author: Nic Brough -Adaptavist-
body: No, you're right, it's not a solution, because the collaborative editing is **very** useful.

I'd run through <https://confluence.atlassian.com/doc/troubleshooting-collaborative-editing-858772087.html> as well by the way. Sorry I didn't mention that earlier, but it does run through networking issues which might tell you where your WAF is misconfigured.


author: Nic Brough -Adaptavist-
body: Ok, if Confluence is working when connected directly in the local LAN, and not from the outside, then it's definitely a problem with your virtual server and/or firewall set up. If part of it is getting through, then it suggests that the connection back to Confluence is probably (but not definitely) configured ok, and it's the server and firewall setup that is incorrect.

There's no way to just solve this. I would start with a look at the Confluence application logs (confluence-home/logs), but with connection time outs, I suspect most of the errors will be being caused and hence logged by the firewall and/or virtual host. So you'll want to read the logs for them.


Tags: confluence-administration
I can't seem to upload the Brikit Theme Add-On...
Asked by Tom Hansen:

I can't seem to upload the Brikit Theme Add-On...Is it because Im using the free trial? Or is it because I'm using the SaaS (Cloud) version vs an install of Jira/Confluence on our own servers?


Answers:
author: Steven F Behnke
body: The second reason is accurate. You cannot install Confluence Standalone add-ons into Confluence Cloud (SaaS). They are NOT compatible unless otherwise noted.

I'll also note that with the Confluence Cloud system, you can ONLY install add-ons from the Marketplace, you **cannot** upload arbitrary add-ons.


Tags: cloud

confluence-cloud
How to cancel all watches?
Asked by Richard Boult:

My role has changed. Hundreds of pages I was watching are now no longer relevant for me. I want to be able to do mass unwatch, rather than one by one. Or simply wipe the slate clean and unwatch all.

An alternative would be to unwatch all pages in a particular space, thus I could go through the spaces more quickly than through all the separate pages.  

Any suggestions? Do I need to raise a suggestion?

Confluence 5.8


Answers:
author: Anton Kulikov
body: this code help me

    import com.atlassian.confluence.mail.notification.NotificationManager
    import com.atlassian.spring.container.ContainerManager
    import com.atlassian.sal.api.component.ComponentLocator
    import com.atlassian.confluence.pages.PageManager
    import com.atlassian.confluence.search.service.ContentTypeEnum
    import org.slf4j.Logger
    import org.slf4j.LoggerFactory
    import com.atlassian.confluence.user.UserAccessor
    import com.atlassian.confluence.spaces.SpaceManager
    import com.atlassian.user.UserManager?
    Logger log = LoggerFactory.getLogger("console")?

    def userManager = ComponentLocator.getComponent(UserManager)
    NotificationManager nm = ( NotificationManager) ContainerManager.getComponent("notificationManager")
    PageManager pageManager = ComponentLocator.getComponent(PageManager)
    ContentTypeEnum ctp = ComponentLocator.getComponent(ContentTypeEnum)
    UserAccessor userAccessor = ComponentLocator.getComponent(UserAccessor)
    def spaceManager = ComponentLocator.getComponent(SpaceManager)
    def users = userManager.users.find{it.getName() == "username"} 
    def nfu = nm.getNotificationsByUser(userAccessor.getUserByName(users?.getName()))
    nm.removeAllNotificationsForUser(userAccessor.getUserByName(users.getName()))
    return? nm.getNotificationsByUser(userAccessor.getUserByName(users.getName()))


author: Dave Bosman
body: Hi Richard,

Check out this question and answers.

<https://answers.atlassian.com/questions/33993>

Regards,

Dave


Tags: confluence-administration
I accidental removed my space admin privilege
Asked by Hezi Stern:

I accidental removed my space admin privilege, now I can't access the permission page for this space.

how can I restore my admin privilege?


Answers:
author: Steven F Behnke
body: Navigate to **General Configuration**

image2016-12-19 9:42:52.png

Click **Space Permissions** under *Users \& Security*

image2016-12-19 9:44:9.png

You will be on a list of each space, with the ability to **navigate** right to the Space Permissions screen of any given space. On the space you don't have permissions to anymore, the link will instead read "Recover Permissions." Press **Recover Permissions**.

image2016-12-19 9:46:23.png

(/) Success!

You will now be granted **Administration** and **View** permissions, to your individual user account.  
[](https://community.atlassian.com/t5/Confluence-questions/I-accidental-removed-my-space-admin-privilege/qaq-p/441627?attachment-id=5853){#link_1185f4f121681f}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/74895/1/image2016-12-19%209%3A46%3A23.png){#display_1185f4f121681f_0}  
[](https://community.atlassian.com/t5/Confluence-questions/I-accidental-removed-my-space-admin-privilege/qaq-p/441627?attachment-id=5854){#link_1185f4f121681f_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/74895/2/image2016-12-19%209%3A44%3A9.png){#display_1185f4f121681f_2}  
[](https://community.atlassian.com/t5/Confluence-questions/I-accidental-removed-my-space-admin-privilege/qaq-p/441627?attachment-id=5855){#link_1185f4f121681f_1}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/74895/3/image2016-12-19%209%3A42%3A52.png){#display_1185f4f121681f_4}


author: Thomas Schlegel
body: Ask another System Administrator

comments: author: Nic Brough -Adaptavist-
body: Or someone else who has admin on that space.


Tags: cloud

confluence-cloud
I have created a simple roadmap using this macro, but now I try to edit it and I cannot. I have no ideas where to start to fix this, and I fear wasted work
Asked by Dave Ingram:

*This question is in reference to Atlassian Documentation: [Roadmap Planner Macro](https://confluence.atlassian.com/pages/viewpage.action?pageId=704578202)*

I have created a simple roadmap using this macro, but now I try to edit it and I cannot. I have no ideas where to start to fix this, and I fear wasted work


Answers:
author: ???????????
body: same problem here and this is hours of work... really dont want to delete it and remake it...

Also interested in a way to fix it


author: Dave Ingram
body: I deleted it and added again, then rebuilt a sample roadmap, tried to edit it, and I get the same problem again. Wasted work, gonna delete it again. It may have broke when I added links to the bars. Will try some experiments..

UPDATE below...

I have found that the moment I add a link to any of the roadmap bars, I am then unable to re-edit the roadmap after saving it. This is a real problem, because it seems to me (at least I have found) that I am unable to recover my roadmap after this happens, so I must rebuild the whole thing. Has anyone else found this, and more importantly does anyone have a way to resolve the problem (or at least recover)?


author: ole.bak
body: I also have this problem and I can not find a solution.


Tags: advanced-roadmaps

cloud

confluence-cloud
Is there a reverse link function so user can get back to the top of a page
Asked by Gail Moser:

I create a TOC that takes me to a place on a page. What do I need to do so a user can get back to the top of the page without scrolling. The back arrow does not seem to work on a page.


Answers:
author: Thomas Schlegel
body: Hi Gail,

place an anchor at the top of the page and add links to that anchor on the page. This is described here: <https://confluence.atlassian.com/doc/anchors-139442.html>

Thomas

comments: author: TomC
body: We do this when making FAQ pages, have a link up to the top-placed anchor after each question.


author: Ed in Tampa
body: Worked great, thanks.


author: Jerry D.
body: Placing an anchor on the first line of the page body and then linking to that anchor using, for example, \^Top will not get you to the anchor location. I takes you about an inch or so below the anchor location.

We place anchors at the top of long pages, then after sections on the page, we place a \^Top link to take users back to the top of the page.

I've seen it work no more than one time, then subsequent clicks on the top links drop you about an inch or so below the anchor on the first line of the page. We just make sure we don't put any text of significance at the very top.
Simple Cite - Cloud Support
Asked by Hugh Christensen:

Question for Andreas Purde.

Andreas - have you looked at supporting a cloud version of simple-cite?

If no, would you?

If yes, can you let us know your findings please?

Do you have any contact details we can reach you on?


Answers:
author: Rob Woodgate
body: Hi Hugh,

If you want Andreas to be notified of your question, you need to use a mention.

@Andreas Purde - this one's for you.


author: Andreas Purde
body: Dear Hugh,

I saw that you opened a proposal already - thank you. I'll monitor it and see if more people are asking for it.

To transfer a plugin from server to cloud is quite some work. It is unfortunately not done in a weekend. In case it is interesting for a group of people I will consider it.

Kind regards,

Andreas

comments: author: Hugh Christensen
body: Hi @Andreas Purde

thank you for your swift response.

Do you have a contact number or email address I can reach you on privately?

best wishes

Hugh


author: Andreas Purde
body: Sure. They are on Marketplace: <https://marketplace.atlassian.com/vendors/1211806>

Andreas


Tags: cloud

confluence-cloud
How to cancel https://danielschool.atlassian.net.
Asked by ?? ?:

Would you cancel and delete <https://danielschool.atlassian.net> ?

I don't want to use <https://danielschool.atlassian.net>.

And I don't want to pay any more from my VISA card.


Answers:
author: Walter Buggenhout
body: Hi there,

to do this:

1. Log in to [my.atlassian.com](http://my.atlassian.com) (you'll arrive on the Licenses page by default)
2. Click the '+' sign of your Atlassian Cloud subscription (the account management pane will display)
3. Click the Cancel Subscription link to request cancelation of your account.

You can also find more info [here](https://confluence.atlassian.com/cloud/cancellations-744721616.html).


Tags: cloud

confluence-cloud
Restrictions on web links in Confluence
Asked by askanius:

Some types of URLs to weblinks don't work - you can add them in the editor and "Follow link" during editing works, but both in preview and when saving the page the URL is gone (no href attribute in the \<a\> tag). Thus: what are the (known) restrictions on URLs for web links?


Answers:
author: Rob Woodgate
body: Ah, I see what you mean.

My understanding is that Confluence uses the standard w3c URL conventions, so a pipe would be treated as a delimiter. This is confirmed (for the pipe) here: [https://confluence.atlassian.com/confkb/url-containing-pipe-is-truncated-131989590.html.](https://confluence.atlassian.com/confkb/url-containing-pipe-is-truncated-131989590.html) I don't have a list of those restrictions to hand but they shouldn't be too hard to find.

However, this won't be much use if your users aren't clued up on this.

Atlassian's recommendation is to use the HTML macro if escaping will be a problem, e.g. due to a large number of existing URLs or frequent use of URLs that need to be treated "as is". If you're on the Cloud version the HTML macro isn't available so you can use an add-on like [this](https://marketplace.atlassian.com/plugins/biz.artemissoftware.confluence.html.HtmlMacro/cloud/overview) or [this](https://marketplace.atlassian.com/plugins/org.swift.confluence.html/server/overview), both of which should accept well-formed URLs even if they're not strictly in lie with w3c standards.

comments: author: askanius
body: Thanks for the hint to the link, Rob


author: Rob Woodgate
body: Hi Martin,

There are no general restrictions. As long as the URL is well-formed it is simple text inside an href.

Can you provide an example link?


author: askanius
body: Hi Rob

yes, sorry, I should have done that right away: for example SonarQube creates URLs of the form

http://mySonarQube/component_issues?id=org.domain%3Amy.artifact.id#resolved=false\|severities=BLOCKER

The '\|' is problematic and must be URL-escaped to '%7C' to make it possible to store the URL. While '\|' is not in the list of allowed characters in URLs (<https://tools.ietf.org/html/rfc3986>) obviously it happens, that it is used.

That's why I wanted to know, whether there are other restrictions.

The Confluence *Insert Link* dialog accepts the entry though but then silently the URL is swallowed. Also when pasting the URL this weird behaviour can be observed:

For example, this is what happens (URL from above just pasted):

http://mySonarQube/component_issues?id=org.domain%3Amy.artifact.id#resolved=false\|severities=BLOCKER

comments: author: askanius
body: I forgot to say, that most users won't have the allowed character list from the RFC in mind all the time :wink:
proxy error when display the space
Asked by jeongmin lee:

There are proxy error when display the space

The error message is as follows.

The proxy server received an invalid response from an upstream server.  
The proxy server could not handle the request *[GET /confluence/display/GEMS/Gemstone+1.5](http://10.220.212.55/confluence/display/GEMS/Gemstone+1.5)*.

Reason: **Error reading from remote server**


Answers:
author: MK
body: maybe that helps too:

<https://confluence.atlassian.com/kb/reverse-proxy-and-application-link-troubleshooting-guide-719095279.html>


author: MK
body: Hello,

its hard to say what the error is, i think you should open a support ticket @atlassian.

it sounds like a problem with the connection between tomcat/apache or encoding...  
whats the error when you directly connect to confluence?

ps. you should remove the hyperlink

Regards


Tags: confluence-administration
It will not be possible to create the remote end of the link from this application. However both ends of the link can be created using the older process in
Asked by Raf Garay:


Answers:
author: Nic Brough -Adaptavist-
body: The first sentence is easy - it's not responding or your account doesn't have the rights to do it.

Not sure what the second sentence fragment is saying.


Tags: confluence-administration
How to manage big amount of data storage in add-on developement ?
Asked by mahdielmasaoudi:

I'm learning about development for Atlassian products. I started by Atlassian tutorials for creatiing add-ons.

I saw that we can use PluginSettings to store some data, but how to do to manage big amounts of data (Example : Storing 100 000 records and their dependencies in a relational model) .

Thanks


Answers:
author: Marcel Woschek
body: You could work with XML- or JSON-Files or use the database


Tags: database
Confluence email notificaion
Asked by vishal patel:

I can not send email notification form my confluence server . I have disabled email notification parameter but now i have removed the parameter but still can not send email notification . I have made sure of project permission.


Answers:
author: Nic Brough -Adaptavist-
body: I'm assuming it worked before you "disabled email notification parameter"?

What parameter did you change to do this? And are you sure you've set it back correctly?


Tags: confluence-administration