youngmon/atlassian-qna huggingface dataset:
Content Encoding Error trying to access Administrator, User Macro menu after upgrade to 4.2.4
Asked by stuartu:

I've recently upgraded a test environment from 3.2.1 -\> 3.5.13 -\> 4.2.4.

When I go to view the Administration, User Macro menu, I get the following error:

----------------------------------------------------------------------------------

Content Encoding Error  

The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.  

\* Please contact the website owners to inform them of this problem.

----------------------------------------------------------------------------------

I was able to get into this screen when I upgraded to 3.5.13, but can't get into it under 4.2.4.

Below is the atlassian_confluence.log which contains the error.

(atlassian_confluence.log)

All the other menus look fine. Does anyone have any suggestions how to get around / fix this?

Thanks in advance

Stuart.


Answers:
author: BernardoA
body: Great, I believe you checked this following article which gives this similar resolution: [https://confluence.atlassian.com/display/CONFKB/%27Content+Encoding+Error%27+When+Using+Left+Hand+Navigation+Theme+in+Confluence+4.x](https://confluence.atlassian.com/display/CONFKB/%2527Content+Encoding+Error%2527+When+Using+Left+Hand+Navigation+Theme+in+Confluence+4.x)


author: stuartu
body: Deinstalling the Adaptavista Theme Builder plugin gets my menu back.


Tags: error
Customize or replace RTE for comments
Asked by Adolfo Casari:

I would like to customize (no Insert menu for instance) the RTE for fill comments. Is there a way to customize the actual RTE or replace it with the tinyRTE just for submitting comments?

Thank you.


Answers:
author: Matthew J. Horn
body: They are the same. They are both using the TinyMCE RTE. But the answers site must use some different styles (you can style them just like you'd style any other object with CSS) -- for example, to hide the paragraphy styling drop down and to add the different images.

If you go here, you can see lots of options for styling it:

<http://www.tinymce.com/>

hth,

matt


author: Matthew J. Horn
body: Adolfo, if you figure this out, I'd love to hear about it. I've been wanting to do a similar thing but haven't had the time to investigate.

There's a couple moving parts here that are frustratingly unclear: you can get at the $rte object in the Comments Layout, which tells me you could try and replace it with your own or another one, but how to reference a custom object eludes me. Here's teh relevant line:

#macro (displayCommentForm $formname $actionParams $pageId $rte)

Also, you can edit the comments' VM directly, but again, it's not clear how you would pull in a thirdparty RTE.

matt

comments: author: Adolfo Casari
body: I would like to use the RTE like this one on this site to submitt this comment, but in Confluence.
Confluence public registration
Asked by Adolfo Casari:

Is there a way to send an email with a link to a user in order to confirm its registration as a new user in Confluence?

Thank you.


Answers:
author: AlysonA
body: Hi Adolfo,

If I understood you correctly, maybe the Invite feature can suit your needs? This way you can invite people to sign up, by sending them an invitation link.

Hope it helps!
onClick function works in Preview, not in Saved copy
Asked by Steven Staton:

I added an anchor to a page (top of page) and the following HTML (raw) to a point further down the page:

|-------------------------------------------------------------------------------------------|
| ``` <input type="button" onClick="window.location.href='#top'" value="Top of Page" /> ``` |

When I 'preview' the page, clicking on the button takes me to the top of the page, as expected. After I 'save' the page, the button does not work. Is there something in the actual page that is blocking the Javascript action? How can I unlock this feature?


Answers:
author: Remo Siegwart
body: It should work, you just need to reload the page after saving.

I tested it successfully with the following code:

```
{html}&lt;h1 id="top"&gt;Test&lt;/h1&gt;{html}{loremipsum:50}{html}&lt;input type="button" onClick="window.location.href='#top'" value="Top of Page" /&gt;{html}
```

Hope this helps

comments: author: Steven Staton
body: Adding the 'id' to a DOM element near the top was the missing piece. Thanks!


Tags: javascript

onclick
Advice on Managing an Inclusions Page
Asked by Craig Hylwa:

We have an inclusions page of pictures png and jpeg. This is reusable content for many pages. These pictures have all been attached to a single page. The number of picture is in the hundreds and may go to thousands. So far we have used the attachments macro on the page to display the listing of files by name. However users have asked if there is a way to display a clickable thumbnail along with the file name.

From what I can see there is the "Gallery Macro" which will display the picture and there is the "Attachment Macro" which will display the file name but there is no way to display the photo and the file name.

![](../../upfiles/Screen_Shot_2012-06-07_at_1.00.37_PM.png)

Any feed back would be appreciated


Answers:
author: Matthew J. Horn
body: Personally, with that many images, I would look for a JavaScript gallery widget and embed it with the HTML macro.
Label level security in confluence
Asked by andrey dmitriev:

We have all pages labeled with "primary" labels that are owned by technical leads (e.g. unix, windows, network).

We would like to give permission the label "owners" to delete such pages.

So permission is per label, not per space.


Answers:
author: Sean King
body: Permissions are given at the space level. Restrictions are given at a page level. (i.e. "Restrict viewing of this page to:")

If you want to create a page with a label index it will at least provide the label owners one place to go to see everything with that label. Whether or not they can edit/delete those labeled pages will be handled on the actual page.

You could use the "Content by Label" macro.


author: Joerg Bencke
body: Nope. not there, you will have to search [plugins.atlassian.com](http://plugins.atlassian.com) for something like that :)


Tags: label
HiQo Confluence links are always to 'localhost'
Asked by Zuber Khursiwala:

Hi

I'm using the HiQo plugin to link to Confluence so that when I create an issue in JIRA, I can add a few links to Confluence pages.

It all works fine i.e. I have a new custom field, and I can successfully search for pages in Confluence, but the link that gets generated refers to 'localhost' rather than the real server name. So when I try and click a link (to view the page in Confluence) I get a page not found error. This makes sense, because my own workstation is not the one running Confluence.

I think it's because I originally configured my application links incorrectly (they DID refer to localhost). But I've deleted the application links and recreated them (both in JIRA and Confluence) and there is an additional "Confluence Link Configuration" option under JIRA's 'Plugins' menu which I have also updated. Then for good measure I re-indexed everything, and then restarted both JIRA and Confluence servers.

But it still says 'localhost' in the generated links. Have I missed a configuration option somewhere?

Thanks!


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: Have you checked the base URL configuration under General settings?

comments: author: Zuber Khursiwala
body: No I hadn't, it was set to localhost. Thank you very much, it works perfectly now!


Tags: jira
Send email notifications to Confluence groups/users
Asked by Adolfo Casari:

Is there a way to send notifications or announcements via email to Confluence groups/users in Confluence? Like server maintenance downtimes, etc.

Thank you,


Answers:
author: Renjith Pillai
body: A workaround which we followed was to create a user with the email id of the group that you want to inform and subsribe that user (Start Watching Space Blogs) to the blogposts of your space.

And whenever needed add a new blogpost and everyone is informed.
Simple Auto-scaling theme not available in on-demand??
Asked by stephen walcott:

We're using Confluence on-demand and want to make pages available to the public.

We want to drop this into a iframe on a tabbed page that would include other things, however there is no simple scheme that auto scales. It either has the unnecessary sidebar or has navigation links across the top.. or doesn't scale.

There appear to be simple solutions for this for the self hosted solution, but it seems I cannot install new themes in on-demand. (Though the tips on the themes page suggest that I could)

Is there any way to do this??


Answers:
author: Felipe Cuozzo
body: Hi Stephen,

Unfortunetelly it's listed here <https://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand>

This is where this feature request is being tracked:

<https://studio.atlassian.com/browse/JST-2731>

Cheers,  
Felipe Cuozzo  
OnDemand Developer


Tags: cloud

confluence-cloud
Server error while attempting to save a page to favorites...
Asked by Jay Adams:

I received the following error while attempting to save a page to my favorites:

Server error while updating favourite Close

It appeared as a pink bar at the top of the page. Please see the attached screen shot. If you have any questions or if you need additional information, please let me know.


Answers:
author: Jay Adams
body: We reviewed the log files and did not find anything that directly pointed to the issue. As a result, we restarted our instance of Confluence and it started working as expected.


author: Jay Adams
body: |---------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| I did not see anything specific in the log files so we rebooted Confluence and it began working as expected. As ugly as it is, it fixed the problem.....for now. ;) |


author: Jay Adams
body: I did not see anything specific in the log files so we rebooted Confluence and it began working as expected. As ugly as it is, it fixed the problem.....for now. ;)


author: Thomas Schlegel
body: Are there any error messages in the log files ?
Content by User and Label
Asked by Stefan Eike:

Hi,

is it possible to search for content with a specific label AND username?

I want our users to generate lists for their "own" pages labeled with a specific label, e. g. "*check*" to list their pages which have been labeled by someone else to mention that the content of the page has to be checked and reworked.


Answers:
author: Remo Siegwart
body: You can use the [Content by Label Macro](http://confluence.atlassian.com/x/njgC) for that:

```
{contentbylabel:author=testuser|labels=check}
```

Hope this helps

comments: author: Stefan Eike
body: It does, thank's a lot!


Tags: content

label

user
Confluences Migration
Asked by worladorn sirisang:

Hi Atlassian Support Team

I have 2 confluences site. that one is testing version site and the other one is working site. Now I wish to export important spaces from testing confluence site and add them to working site. both them are same version as 4.2.3 . Please you let me know how can i add my important spaces from testing confluence site to my working confluence site.

Best Regards

Worladorn


Answers:
author: Septa Cahyadiputra
body: Hi Worladorn,

You could dot his by [exporting](https://confluence.atlassian.com/display/DOC/Exporting+Confluence+Pages+and+Spaces+to+PDF#ExportingConfluencePagesandSpacestoPDF-ExportingMultiplePagesortheEntireSpace) the important space to XML, and [restore](https://confluence.atlassian.com/display/DOC/Restoring+a+Space) it to your production instance. As they are both at the same version, you could do this process directly.

If there are any duplicate spacekey, you will need to modify the spacekey inside the XML export file. Please try the following steps:

Unzipped the XML file of the space backup

1. First open {{entities.xml}} from the unzipped directory using your preferred text editor (eg: Notepad++)
2. Find all spacekey and replace it with the preferred new spacekey
3. Save
4. Secondly, open {{exportDescriptor.properties}} and modify the spacekey configured on it
5. Save
6. Rezipped
7. Re-name the file to format xml again
8. Restore

Hope it helps.

Cheers,

Septa Cahyadiputra
hyperlink from gliffy to confluence anchor
Asked by denbi newton:

I am trying to get the hyperlink function available in a gliffy diagram to link to an anchor on a page in confluence. It links to the page ok but not to the anchor. Anyone know the syntax to do this?

thanks


Answers:
author: SarahA
body: Hallo denbi

The full URL for an anchor on a Confluence page has this format:

<http://ConfluenceSite.com/display/SPACEKEY/My+Page+Name#MyPageName-anchorname>

Here's a real one:

<https://confluence.atlassian.com/display/DOC/Confluence+Wiki+Markup+for+Macros#ConfluenceWikiMarkupforMacros-attachments>

Cheers

Sarah

comments: author: denbi newton
body: thanks

works a treat

:)


author: Ute Weber-Schaefer
body: We are using Gliffy 4.5, however I wasn't able to find the panel called anchors. Can you advice, please?

Best Regards,

Ute


author: Eric Chiang
body: Hi Denbi,

Gliffy versions 4.2 and above have this built in to our custom link browser dialog. Just click on the panel called "Anchors" and you can select from anchors or headings found on the current page you are editing.

Cheers,

Eric

comments: author: denbi newton
body: only on 4.0.3 but have put in a request to upgrade to the latest gliffy

thanks for that


Tags: gliffy
All updates blank after Confluence 3.2.1 -> 3.5.13 upgrade
Asked by stuartu:

I am in the process of upgrading our Confluence 3.2.1 to 4.2.

The first step is to upgrade to 3.5.13, and while everything (including the plugins) look fine, the only annoyance is that the "All Updates" on the dashboard is blank.

Is this normal, or have I forgotten something during my upgrade steps?

Just as a side note, going into any of the Spaces, I do get a list of Recently Updated items. It is just on the main dashboard that it is blank.


Answers:
author: V
body: Even I faced the same thing when upgrading confluence from 3.3 to 4.0.4 (which includes 3.5.13 interm).

After upgrading conf to 3.5.13, I noticed the same issue in the main dashbord.

After upgrading to 4.0.4, able to see the Recent Updates on the main dashboard.

comments: author: stuartu
body: Thanks for the confirmation. I just wanted to make sure it wasn't some step I hadn't followed or a bug.


Tags: upgrade
Confluence jira macro not working
Asked by Cassio Santos Pereira:

Today I started getting an error on my already built Confluence pages that used the jira macro:

Error rendering macro 'jira' : Couldnt find an application link with the name {0}.


Answers:
author: Michael Knight
body: This is a problem with the applinks configuration on your Confluence instance. For OnDemand, you will need to submit a support request and ask a support engineer to look into the problem.

Usually a support engineer can solve this by simply deleting Confluence's JIRA applink and restarting Confluence, so you will need to let them know an appropriate time they can restart Confluence (meaning the wiki will be inaccessible for \~10 minutes).


Tags: cloud

confluence-cloud
Question on printing images
Asked by SUNYITECVal:

We have received this question from one of our users:

When we create pages with thumbnail size images is there a way when we print the documents that the images can print in a larger size? Some of our document writers like to use thumbnail size images. When the documents are printed the thumbnail images are too small to read. To give you example, some of the software on the internet for determining driving directions will display a small map but when you print the map it prints out larger on the page. Is there a Wiki macro that will do something like this for us so we don't have to adjust our printer settings when we print documents from the Wiki?


Answers:
author: Lorraine Messina
body: Does anyone have a print macro that will do this?


author: David at David Simpson Apps
body: One way to achieve this would be to create a user macro which adds both the large and small images to the page, but has...

* screen styles that display the small image but hides the large image
* print styles that hides the small image and displays the large image
Page content appears fine in browser but pages are blank when printing
Asked by Matthew J. Horn:

When I print, the pages are blank except for the title of the site in the header of the printed page. I think I have narrowed the problem down to the "header" DIV (\<div id="header" class="$!headerClass"\>) that is defined in the Main Layout decorator: when I remove that DIV, the page contents show up in the printout.

The problem is that the header DIV defines some styles that are important for the overall look and feel, but I can't figure out which one(s) are causing the printout to fail.

I've searched for display:none in the CSS and noprint DIVs in the decorators and have come up empty. I've also tried removing the styles that are defined in the header, one by one, until I removed all of them, and still no luck.

Any ideas?


Answers:
author: Matthew J. Horn
body: Follow up to this: Could not find the cause nor the cure, but instead just added "decorator=printable" to the query string as a workaround.


Tags: noprint
Updating links in custom fields
Asked by Rumceisz:

Hi All,

we have currently migrated a JIRA and a Confluence instance to a different JIRA and Confluence. The old JIRA had custom fields which have links pointed out to the old Confluence pages.

Because of migrations these links broken because these point out to the old Confluence instance.

After migration only the links first part changed: [https://oldConfluence](https://oldConfluence.)/spaceX/pageB -\> <https://newConfluence/spaceX/pageB> . So I think it wouldn't be a too difficult problem.

My question is how can these custom field links be renamed from the old links to the new ones? Is there a script which replaces the "[https://oldConfluence](https://oldConfluence.)" part to the ["https://newConfluence](https://oldConfluence.)"?

Thanks in advance!  
Rumi


Answers:
author: Cyril Egan
body: Consider adding a URL rewrite rule to the confluence webserver to rewrite the old URL to the new URL. You would need to continue with both DNS names in place for the confluence server.

comments: author: Rumceisz
body: Many thanks for the suggestion!


author: Jozef Kotl?r
body: The easiest solution, IMO, is to export data into XML, search and replace, and restore from modified XML.


author: Nic Brough -Adaptavist-
body: No, there's no search-and-replace function, or a plugin that I know of that will provide it.

If it were a handful of issues, I'd suggest resorting to manual edits, but for a larger number, I'd look at scripting (via the Jira CLI probably), writing a quick "bug-fix" plugin, export-edit-import the xml or possibly an SQL index. The best option depends on your size and usage of Jira though.


Tags: custom-field

link

replace
Start using balsamiq
Asked by Ronald Weststrate:

Hi,

I would like to start using balsamiq mockups, but cant find a way to start using it. Is it enabled?

Our [instance: oinbconfluence.jira.com](http://instance:%C2%A0oinbconfluence.jira.com)

Thanks,

Ronald Weststrate

+31 6 1818 0518


Answers:
author: Eric S
body: Hi Ronald,

Balsmiq is a separate, commercial add-on not sold through Atlassian for Confluence OnDemand.

There is a free 30 days of the Balsamiq plugin but the start date is tied to the OnDemand evaluation start date. Your company have been using OnDemand for sometime now and are outside of the free day period. You can contact sales@balsamiq if you need additional time or to purchase a license.

If you're purchased a license and you are an Admin in Confluence you can check whether the plugin is enabled or disabled by reviewing this [document](https://confluence.atlassian.com/display/AOD/Disabling+or+Enabling+a+Confluence+Plugin).

I hope this helps.

Eric Snyder


Tags: cloud

confluence-cloud
Weblink will not be stored
Asked by Egbert Jansen:

When trying to add the following weblink to a page, the link will not work and will not be stored.

[http://www.ncbi.nlm.nih.gov/pubmed?term=zwitterionic%20polymer\*%20blood](http://www.ncbi.nlm.nih.gov/pubmed?term=zwitterionic%2520polymer*%2520blood)

A 'normal' weblink like <http://www.relitech.nl> will work and will be stored.


Answers:
author: hsuhailah
body: Hey Egbert,

This seems to be a bug and I have raised it here: <https://jira.atlassian.com/browse/CONF-25651> to notify the development team regarding this issue. Please watch the page for any updates and vote for the bug to be fixed.

The issue lies with \* in the link. The alternative workaround is to replace \* with %2A.

Hope this helps.
Error on PDF Export
Asked by Will:

If i have a colon : in the title of a page I get an error on the PDF export. I've tried copying the page and exporting the copy, but i get the same error, so I believe it has nothing to do with the page itself, but simply the title having a colon. I'm not sure if there are other characters that will reproduce this same error. i can export to word just fine, but not pdf.

confluence 4.1.9


Answers:
author: AlysonA
body: Hi Bill,

This is due to a known bug in Confluence unfortunately: <https://jira.atlassian.com/browse/CONF-24389>

I have also responded to your support ticket.

Cheers.


Tags: colon

error

export

pdf
Lost content due to a hardware issue
Asked by Tech Support:

We host our JIRA/Confluence application on a virtual machine in the cloud. Since we install the application on a windows server instance, we have been using both application without any problem.

Now, we have a big issue, because of a hardware problem on IBM (where the application is hosted), our application is no longer available and the status of our instance is unrecoverable

Do you know of any way of recovering data other than backups? do you keep monthly/weekly copies of the content? To be honest we haven't implemented backup policies yet and the last working backup is from May 17th.

Any help will be greatly appreciated


Answers:
author: Robert Kruk
body: I would be looking at your cloud provider as to what backups (if possible) they had taken or as to what agreement was in place. They might have a weekly backup that you can restore? However it sounds as though u might be out of luck , then u might have to go back to your last backup from may.


Tags: backup

content

hardware
Restrict user or group visibility to a single space
Asked by Jon Hance:

Hi All -

We have recently set up Confluence as our internal wiki/doc repo, which has worked well. However, we recently started a project where we would like to give an outside contractor permission to access a specific space, but no other. I've tried through both user permissions, as well as groups, to no avail. I am sure this exists, but I am having no luck sorting it out.

Thank you very much, in advance.

Jon Hance


Answers:
author: Thomas Schlegel
body: Hi Jon,

this should be no problem. How did you organize the visibility of your spaces ? Are they limited to certain users or groups or are they visible for anonymous user ?

How did you give the permission to the contractor ? Did you add him to the specific space, he (she) should see ?

What was the result ? Does the contractor see nothing ? Or anything ? Could he login ? What was the error ?

Best regards

Thomas


Tags: cloud

confluence-cloud

permission

user

visibility