youngmon/atlassian-qna huggingface dataset:
How can I export all my confluence spaces in PDF?
Asked by Chong Wai Keung:

I am now administer a Confluence site with 7xx spaces. For our business requirement we want to export them into readable PDFs for backups.

Currently Confluence only allow export as PDF per space only - and surely I don't want to export every space manually 7xx times.

Are there any smarter way(s) to do such by just a few clicks? Thank you.


Answers:
author: Nic Brough -Adaptavist-
body: No, there's no bulk export.

Exporting to pdf is in no way a "backup". It's a primitive kludge that some people think replaces a proper disaster recovery or failover system (but doesn't)

I'd strongly recommend you set up a second Confluence (with a development licence), replicating the production database and synchronising the attachments.

comments: author: Chong Wai Keung
body: Thanks Nic for your advice.  
cheers


Tags: export

pdf
Confluence backup fail(permission denied)
Asked by By KJ:

I'm trying to make a backup and get failed

this is message of atlassian-confluence.log

2017-11-22 17:37:20,600 INFO \[http-nio-8090-exec-8\] \[atlassian.confluence.upgrade.AbstractUpgradeManager\] getExportBuildNumber Backward compatibility for export: "Upgrade to build number: 6169" prevents compatibility before 6169  
2017-11-22 17:37:22,234 WARN \[http-nio-8090-exec-8\] \[activeobjects.confluence.backup.LoggingBackupProgressMonitor\] beginBackup Begin Active objects backup, change log level to INFO for com.atlassian.activeobjects.confluence.backup for more detailed logging.  
-- url: /admin/dobackup.action \| traceId: d9d455116c015005 \| userName: admin \| referer: <http://192.168.9.24:8090/admin/backup.action> \| action: dobackup  
2017-11-22 17:37:23,558 WARN \[http-nio-8090-exec-8\] \[activeobjects.confluence.backup.LoggingBackupProgressMonitor\] endBackup Completed active objects backup.  
-- url: /admin/dobackup.action \| traceId: d9d455116c015005 \| userName: admin \| referer: <http://192.168.9.24:8090/admin/backup.action> \| action: dobackup  
2017-11-22 17:37:23,738 ERROR \[http-nio-8090-exec-8\] \[atlassian.confluence.servlet.ConfluenceServletDispatcher\] sendError Could not execute action  
-- url: /admin/dobackup.action \| traceId: d9d455116c015005 \| userName: admin \| referer: <http://192.168.9.24:8090/admin/backup.action>  
java.io.IOException: ?? ??  
at java.io.UnixFileSystem.createFileExclusively(Native Method)  
at java.io.File.createNewFile(File.java:1012)  
at com.atlassian.core.util.FileUtils.copyFile(FileUtils.java:461)  
at com.atlassian.core.util.FileUtils.copyFile(FileUtils.java:397)

"?? ??" means permission denied

permission of backups dir is this

drwxr-xr-x 2 confluence1 confluence1 4096 11? 22 17:38 backups


Answers:
author: Nic Brough -Adaptavist-
body: The user running the Confluence service does not have full read/write access to \<confluence home\>/export

My guess is that it is not running as "confluence1"


author: pas.argenio
body: Workaround:

Uncheck the box entitled "Archive to backups folder"

The backup will be created in the temp folder, for example:

/home/atlassian/application-data/confluence/temp

You can then copy this file manually to where you need it, obviously.

\*\*\* 11/26/2020 Update: In my case, the failures occurred after I had migrated from the built-in database to a new MySql database, which required me to create a new instance (confluence3, I called it). I finally got backups working by opening permissions on both

/var/atlassian/application-data/confluence3/backups/

drwxrwxrwx 2 confluence3 confluence3 4096 Nov 26 02:07

and

/var/atlassian/application-data/confluence3/

drwxrwxrwx 19 confluence3 root 4096 Sep 22 2019

The backups are written and .zip files in the former.


Tags: backup
How do I get an expired license for confluence v3.1.1 and v5.0.3
Asked by Divya Dangeti:

Hi Team,

In reference to [How to Make Confluence Read-Only (Method #2)](https://confluence.atlassian.com/confkb/how-to-make-confluence-read-only-311920317.html), how do we acquire an "***expired evaluation license*** " for Confluence v3.1.1 and confluence v5.0.3.

We need the instance to remain available, but read-only, indefinitely. We have completed the migration of our content from the confluence v3.1.1 to our new Confluence v5.0.3 server. However, we need the old instance on-line but read-only for some time.

Request you to provide the development expired license for both the confluence versions 3.1.1. and 5.0.3

Thanks,

Divya.


Answers:
author: Shannon S
body: Hi Divya,

If you don't already have any expired licenses under [my.atlassian.com](https://my.atlassian.com), you could generate an Evaluation license there and let it expire.

Otherwise there's no way to physically generate an expired license.

Let us know if you have any questions about this.

Kind regards,

Shannon
cannot open excel file via macro
Asked by SooYeon Kim:

Whenever I click "edit document" on the macro excel,

I keep getting a message, "Can't open (URL link/\~.xlsx)",

because there is no file name / path.

I'm currently using MS Excel 2010 and have followed instructions on regedit changes as guided in <https://support.microsoft.com/ko-kr/help/2123563/office-application-opens-blank-from-sharepoint-webdav-or-site-when-it>.

How can I fix this issue?


Answers:
author: Brant Schroeder
body: [@SooYeon Kim](/t5/user/viewprofilepage/user-id/1165632) Are you able to download the file? I just want to make sure it has not been deleted.
Companion app opens files as new documents
Asked by Natalie Meynink:

The companion app loads a Word document for editing as expected.

However, the document is treated as a new document (i.e.: it is titled Document1 and is treated as never having been saved).

Obviously the companion app is watching the file at the location it downloaded to for any changes, but this link is lost because the document they are editing is treated as new and the user has no knowledge of where it was originally downloaded to.

If we look at the companion.log file to determine where the document was downloaded and:

1. Click "Save As"

2. Paste the path+file from the companion.log file (converting "\\\\" to "\\")

3. Make sure the file types match so the file extension is the same

4. OK

5. Updates as expected

We have encountered this issue on a range of browser/OS combinations, including those listed as supported. I am logging this case on a Windows 7 PC, running Office 2010 and IE 11.


Answers:
author: sattard
body: Hey [@Natalie Meynink](/t5/user/viewprofilepage/user-id/1165612),

Can you confirm if this only happens with Microsoft Word files, or does it occur with other file types?

If you click "Give Feedback" from the menu of the companion app and provide a contact email address on that form I'll be happy to reach out and try sort this out with you.

Cheers,

Samuel


Tags: companion-app

edit

ms-office-connector
Setting Heading Styles on Confluence Cloud
Asked by Scott Mitchell:

Hi All,

I am looking to limit the options for heading colours presented to our page creators.

Is there a way to limit the colour of H1 to only #636363 for instance or in the absence of this functionality can we set the default colour for this heading to #636363.

Thank you for your help.

Regards,

Scott


Answers:
author: Johannes Schneider
body: I cant change the heading style at all. Where can I find the CSS option to change wiki-content? I have a cloud and I dream of changing the font size of all of my headings at once.


author: Stephen Deutsch
body: Hi Scott,

While I'm not aware of any option to limit the colour of the headings completely (Confluence applies custom colours directly to the HTML element), there is a way that you can change the default colour. Just put this in your footer box of the "Header and Footer" section in the settings:

```
{style} 
.wiki-content h1 { color: #636363 !important } 
div[class^='SpaceCustomSettingsBlock_unsupportedMacros'] { display: none }
{style}
```

The first line changes the default colour of the h1 block, and the second line removes the ugly message that the style macro is not supported in the footer.

Of course you could also use various theming apps, especially if you are wanting to make multiple such changes, but for this one change, this should do.


Tags: cloud

colour

heading

stylesheet
Using excerpts with numbered lists
Asked by Richard Kennedy:

Hello everyone,

I'm using Confluence Cloud and I'm having trouble using the Excerpt macro with numbered lists.

I would like to place part of a numbered list into an Excerpt macro because these steps are common to multiple pages.

However, when I add these steps into the macro the subsequent numbered steps restart at one.

How can I ensure that the numbering continues rather than restarts?

Regards,

Richard.


Answers:
author: Brant Schroeder
body: [@Richard Kennedy](/t5/user/viewprofilepage/user-id/1165603)

There is not a way to change where the count starts on a ordered list. Since it would be a new list outside of the macro it would start to recount.


Tags: excerpt

numbered-list
Why can't I see the cogwheel icon in Confluence?
Asked by Seema:

I can't see Space Tools or the Admin cog menu icon in my space. Any idea what can I do to see these?

I was trying to move/hide child pages following these directions but couldn't find "Browse" , "Space Tools", Admin cog menu icon

<https://confluence.atlassian.com/confcloud/move-copy-and-hide-pages-724764858.html>


Answers:
author: Shannon S
body: Hi Seema,

As long as you're admin of a space you should be able to see the Space Tools option in the sidebar. I see you sent the Cloud documentation, so can you confirm if you are indeed using the Cloud version of Confluence?

If so, can you confirm the details of your Cloud instance, as well as your username and the space you're trying to modify?

Kind regards,

Shannon


Tags: permission

space-tool
How can I enable space admin to search for users?
Asked by Nate Medeiros:

I would like to allow some users to search for users to add permissions for spaces I assigned them be admins of. However they seem to not be able to search for users to do this. I do not want them to have admin access for all of confluence. How can I enable just this one feature?


Answers:
author: Shannon S
body: Nate,

Are you referring to the Space Permissions page in the Space Tools? Can you confirm with me the version of Confluence you're working with?  

I don't believe it's possible without being Confluence Site Admin, but let me see what I can find for you.

Kind regards,

Shannon
How can I enable space admin to search for users?
Asked by Nate Medeiros:

I would like to allow some users to search for users to add permissions for spaces I assigned them be admins of. However they seem to not be able to search for users to do this. I do not want them to have admin access for all of confluence. How can I enable just this one feature?


Answers:
author: AnnWorley
body: Space admins should be able to search for users on the Space Tools\>Permissions page. I just tested on Confluence 6.5.x to make sure.

Are your space admins using the little magnifying glass icon to search for users? It should bring up a "User Search" window for them.

comments: author: Nate Medeiros
body: Thanks for the reply. It seems like searching for users in general isnt the issue, It's during the process when a space admin that is not a site admin wants to give a specific user permission to view/edit pages in their space. In the search tool to add users for this, (The padlock icon on a page for restrictions) no one shows up for them.


author: AnnWorley
body: If you are using Confluence Cloud (your URL ends with .atlassian.net) please open a ticket at <https://support.atlassian.com/contact> describing the issue so the Cloud support team can reindex your instance.

If you have your own server, please try reindexing as described in [Content Index Administration](https://confluence.atlassian.com/doc/content-index-administration-148844.html).

A user does not need admin permissions to add users to restrictions. The pulldown should populate as in this example:

![Screen Shot 2017-11-27 at 4.48.54 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/10069iB43030375E20E0E5/image-dimensions/457x274?v=v2 "Screen Shot 2017-11-27 at 4.48.54 PM.png")
Pasting text causes the window to scroll below where I pasted it
Asked by Dan Churchill:

In the latest versions of Confluence when I paste text anywhere on a page the window jumps so that the top of the window is just below where I pasted it.

This is so annoying and surprised it hasn't been picked up. Is there a solution for this, or a bug report ?

Chrome: Version 62.0.3202.94 (Official Build) (64-bit)


Answers:
author: Susan Ostreicher
body: Hi Dan,

I was having the same problem, and contacted Atlassian Support about it. There is indeed an existing bug report:

<https://jira.atlassian.com/browse/CONFCLOUD-58255>

Hope this helps!
Need to solve a page to page table update
Asked by anthony van dyck:

I need to include cell content within Table1. Table1 is a mix of cells - some merged some not. Table2 will only have certain cell content of Table1.

Example:

Table1   
R1C1C2C3 (Header Row)  
R2C1 \| R2C2 \| R2C3  
R3C1 \| R3C2 \| R3C3  
R4C1C2C3 (Header Row)  

Table2  
R1C1C2C3 (Merged Header Row)  
R2C1 \| R2C2 \|   
R3C1 \| \| R3C3  
R4C1C2C3 (Merged Header Row)  

When I am trying to take the {excerpt} of Table1 the information that I would like have included is that shown in Table2. In this fashion I would only need to update the information one time on Table1 with the update reflected in Table2 dynamically (upon user refreshing page).


Answers:
author: Brant Schroeder
body: [@anthony van dyck](/t5/user/viewprofilepage/user-id/1165272) There is no way to do that in the delivered Confluence application. You might be able to do it using an app from the marketplace but I do not know of any apps offhand that will allow you to do that. [https://marketplace.atlassian.com/search?product=confluence\&query=table%20](https://marketplace.atlassian.com/search?product=confluence&query=table%20)
Excerpting spreadsheet entries in Confluence
Asked by Rebecca:

In Confluence, I'd like to be able to reference/excerpt entries from a complex spreadsheet on other pages. Is there a way to import the spreadsheet and format each entry in some way so it can be called from other pages?

I appreciate any tips. Thanks!

-Rebecca


Answers:
author: Brant Schroeder
body: [@Rebecca](/t5/user/viewprofilepage/user-id/1165519) There is no way to do this in the delivered product. You would need to see if there is an app in the marketplace that could do this, I am not aware of any though.
Require body content?
Asked by mcclay:

Does anyone have a way to "require" body content when creating a page in Confluence?

We have several people hit publish without understanding that they can/need to enter body content and then they just use comments for their content. This is especially true when creating forum entries.


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

Sorry but I think it is not possible to perform this operation

Cheers
How do i show only comments from a specifc confluence space in a Activity Stream?
Asked by Morten Bjerregaard:

There are 2 macros that can show activities. Activity Stream and Renewed Updated,  
The first one I can only get to show for the whole conflunce, but only for all of our spaces, not just selected spaces - and not for a single space - where else is desired - in the other, I can not view the comments - how come I around that? - any bid on how i can solve it ??![activity.png](/t5/image/serverpage/image-id/9807iC07E1A388D9C7315/image-size/large?v=v2&px=999 "activity.png")


Answers:
author: RianS
body: To change what the activity gadget filters on, you can edit the page which contains the activity gadget and click on the Edit button for the activity gadget. When the Edit dialog appears, it will look similar to this:

![Screenshot 2017-11-21 09.44.58.png](https://community.atlassian.com/t5/image/serverpage/image-id/9809iCF46F5DBF275E175/image-size/large?v=v2&px=999 "Screenshot 2017-11-21 09.44.58.png")

On this dialog, you can see I've circled the Filter icon. This icon only appears when you are editing the Activity Stream gadget. When you select this you can click on either "Add Global Filter" or click on "Add filter" next to Confluence.

This will allow you filter based on space or some other items to narrow the scope of the activity stream. Make sure to click on the correct save button to save the filter definition before saving the changes to the Activity Stream gadget.

comments: author: Morten Bjerregaard
body: Hi Rian - Thank you for taking the time to reply - un fortunatly it is not possible to narrow the filteres dow to a specific space :-(

![filter 2.png](https://community.atlassian.com/t5/image/serverpage/image-id/12810i860B85E5873C0010/image-size/large?v=v2&px=999 "filter 2.png")![filter.png](https://community.atlassian.com/t5/image/serverpage/image-id/12811iB25F9FDBED4E6A8C/image-size/large?v=v2&px=999 "filter.png")

As you might se I can chose Activity og Auther but not space - not iven in the Global filter.
Free options to embed an iframe in Confluence
Asked by Joey Freeland:

Is there a free way to embed an iframe in Confluence?

I have a very simple use case:

I want to be able to embed my Office 365 spreadsheet into my Confluence. This could just as easily be a Google Docs Spreadsheet or document.

I need to be able to manage my inventory in a spreadsheet, I can't realistically expect people to download/edit/reattach a spreadsheet to an article when something changes, and ... given that this is my first week at a new job where they use Confluence ... I'm blown away that I can't find a cheap and easy plugin that will allow me to do such a trivial function.

Please tell me I'm overlooking something and I don't have to pay more money to use this product?


Answers:
author: Thomas Schlegel
body: Hi Joey,

a Confluence administrator is able to add a user macro to your Confluence instance which will provide you with an iframe.

Create a user macro, call it "myIframe" (or what you like) and add the following to your user macro code:

(no macro body)

```
## @param Source:title=Source|type=string|required=true|desc=Source
## @param Width:title=Width|type=int|required=true|desc=Width
## @param Height:title=Height|type=int|required=true|desc=Height

<iframe src="$paramSource" noborder="0" width="$paramWidth" height="$paramHeight" scrolling="yes" seamless></iframe>
```

Then put the macro "myIframe" to your page and add the parameters Source, Width and Height.
how can i accesss the placeholders in the confluence template , into the script post function?
Asked by Muhammad Ali:

i actually want to assign my issue details such as (isssue priority,issue resolution, issue status, issue key) etc. through post script function to the placehoders in the template of the confluence?

is it possible ?


Answers:
author: AnnWorley
body: Hi - I understand you want to use page templates in Confluence to edit Jira issues. Please let me know more about the use case:

* What would the end result be? Could you walk me through the workflow?
* Is this a method of helping users edit Jira issues without having to leave Confluence?
* Or is it a case where you are automating Jira issue edits via Confluence.

I look forward to learning more about your question.


Tags: developer
Email Notifications
Asked by Katrine H?jmark:

Suddenly from one day to the other all users email notifications stopped so the users do not receive any emails from confluence or jira.

We haven't made any changes to any settings (at least we dont think that we have)


Answers:
author: Thomas Schlegel
body: Have you checked the mailserver configuration:

[http://\<your confluence-url\>/admin/mail/viewmailservers.action]()

Try to send a test mail there. Is this working?

Do you see anything in your mail queues:

[http://\<your confluence url\>/admin/mail/viewmailqueue.action]()

or in your logfiles?

comments: author: Katrine H?jmark
body: Hi Thomas, thanks for your reply.

Yes I have tried to send a test email to myself. I don't receive the email.

I have also tried to empty the queues. That did not help either.

I have also tried to create a new user and apply emailnotification to that users settings - no luck.

Any other suggestions?

Thanks in advance,

BR Katrine


author: Thomas Schlegel
body: Hi Katrine,

if you can't send the testmail, then likely the configuration of your mailserver is the problem. It seems, Confluence can't reach the mailserver anymore.

Has anything changed on the mailserver side? User, Password or maybe there are some network issues like a new firewall configuration?


author: Katrine H?jmark
body: Hi Thomas,

Yes most likely it is something like that :-)


author: Katrine H?jmark
body: Follow up - someone kicked the server - and now it works again ;-)

Thanks for your responses


author: Thomas Schlegel
body: Great, thank you for the follow up, [@Katrine H?jmark](/t5/user/viewprofilepage/user-id/1165450)


Tags: notification
Confluence restore after crash
Asked by Miles:

Ok, so here is the current situation: the computer on which my Confluence was installed is unavailable. We have access to the hard drive content.

I went to resinstal a new instance of Confluence on my laptop, and restore pages/Spaces from the old instance. Knowing that for obvious reasons the export feature is not available, how do I get my data back?


Answers:
author: Nic Brough -Adaptavist-
body: Depends on the backups you were taking if you want the (possibly easier) route. If you were allowing it to do the nightly xml export, then you could simply import one of those into a new empty Confluence build. Look on the recovered disk under \<confluence home\>/exports

You might also be able to simply copy the installation and home directories on to a new machine, and just run it. You'd see some quirks and warnings about server names, but it should still fire up and work.
I need to disable view option for attachments in pageView in confluence page
Asked by gadamchetty ramya:

please find below screen shot for reference .  

![viewpage.png](/t5/image/serverpage/image-id/9794iA12C8E4385452FB2/image-size/large?v=v2&px=999 "viewpage.png")


Answers:
author: Thomas Schlegel
body: Hi,

this is not possible as far as I know. Anyone who is able to see the page is able to view the attachments.

There was a feature request, but it was closed as "won't fix":

<https://jira.atlassian.com/browse/CONFSERVER-19182>

comments: author: gadamchetty ramya
body: is it possible to restrict through .vm files ?


author: Thomas Schlegel
body: As Nic wrote, if you disable the button, people could easily click on the document's name and open it. And if you remove the link, it will be easy to grab the file by URL, if you know a little bit of the method, the URL is created. If you know the filename, people can even search for the filename with the confluence search function and download it from there.

So, if you have documents that should not be downloaded, don't put them into Confluence.


author: Nic Brough -Adaptavist-
body: Don't attach the files in the first place.

Removing that view link is simply a downgrade that won't stop your users opening the files. If you want to stop them grabbing the files, then the only safe way to stop them is to not put the files there to be used.