youngmon/atlassian-qna huggingface dataset:
Confluence backup schedule - specific day of the week
Asked by Ray Hundley:

In Confluence 4.0 is there a way to schedule the confluence backup to run on a specific day of the week, say every Saturday at 2am? I can't seem to find a cron expression to let me do that.


Answers:
author: Andrew Frayling
body: Sorry, try:0 0 2 ? \* 6 \*Which should be:0 seconds0 minutes2 hours? Ignore day of month\* any month6 Saturday\* any yearFull documentation and more examples on cron expressions can be found at <http://www.quartz-scheduler.org/documentation/quartz-1.x/tutorials/crontrigger> if that helps.

comments: author: Ray Hundley
body: Thanks Andrew! That works, I only had to change the 6 to 7 because if I used 6 it was saying that was a Friday and not a Saturday. I'm assuming that's because the cron expression has Sunday as the 1st day of the week.


author: Vivien Gondouin
body: Same error for me


author: Andrew Frayling
body: Hi Ray,

This expression should work for every Saturday at 2am:

```
0 0 2 * * 6 ?
```

Hope that helps,

Andrew.

comments: author: Ray Hundley
body: Thanks for the expression but when I do that I get the following validation error:

"

#### - '?' can only be specfied for Day-of-Month or Day-of-Week." {#toc-hId-1282954015}


Tags: backup

cron
Broken line breaks in import
Asked by Tero Heikkinen:

Hi!

I'm trying to migrate from mediawiki to latest confluence. I used univesal wiki converter to export my old wiki and convert exported pages to confluence format. I cannot use UWC to communicate with API because it's not compatible yet.

When I try to use import pages to space feature, it assumes that files are HTML or somehow things go wrong because I lose all line breaks. If I cat pagefile and copypaste confluence wiki markup to editor it works out.

Where's the problem and how to fix this import pages to space formatting issue?


Answers:
author: Tero Heikkinen
body: Problem was related to the fact that Confluence 4 in fact stores pages as XHTML. Solution was simple. Checking out UWC from svn and using bleeding edge version that supported Confluence 4. This issue will solve itself when time passes and there's new stable release of UWC that supports Confluence 4


author: David at David Simpson Apps
body: You could always try importing mediawiki into Confluence 3.5 using the UWC and then upgrade Confluence from 3.5 to 4.0.

Failing that, I'll defer to @Laura Kolker's superior knowledge.

comments: author: Tero Heikkinen
body: I don't know if thats a possibility. If bought licence for Confluence 4.0. I debuged case bit further. It really seems that import page assumes that imported data is HTML instead of Confluence wiki markup. Bug or a feature ? :-)


Tags: universal-wiki-converter
Using the Documentation Theme - how to make it look nice?
Asked by James Doman:

Hi,

Looking to adapt the Documentation theme to look like this:

<https://plugins.atlassian.com/server/1.0/screenshot/fetch/16460>

With the grey box on the right with the childpages in, and the text in columns.

Can't quite work out how to do it!

Thanks in advance,

J


Answers:
author: David at David Simpson Apps
body: The text in columns is done using the [Section and Column macros](http://confluence.atlassian.com/display/DOC/Section+Macro).

The grey box on the right is likely to be done with a children macro nested in a [panel macro](http://confluence.atlassian.com/display/DOC/Panel+Macro).

For reference, [here's the current page](https://developer.atlassian.com/display/CONFDEV/Confluence+Developer+Documentation) that screenshot was taken from.  


author: Fabian Lopez
body: I did the [www.vxvista.org](http://www.vxvista.org) using documentation theme. I added some icons and flash files to make it better.

I am still having some unresolved issues with chrome and the flash player

<http://www.vxvista.org/display/vx2h/Home>

I posted previous comments after reading just the title. but I will keep it as another example of using documentation theme (despite it is not addressing your question :) )


author: Nic Brough -Adaptavist-
body: Um, that's pretty much the default behaviour for the documentation theme. I think the only thing to check is the theme settings: go to <https://yourconfluence/admin/doctheme/configuretheme.action> and make sure the "page tree" option is ticked.

comments: author: James Doman
body: Sorry, I meant the grey box on the right, and the text as columns.


author: Nic Brough -Adaptavist-
body: You mean you want to swap the column to the right? You'll need to edit the code behind the theme. Although, it should be reasonably simple, as David says, you should be able to re-arrange it quite easily (the wisdom of putting navigation on the right hand side is questionable for most users though - I'd think carefully before doing it!). Start at <https://developer.atlassian.com/display/CONFDEV/Theme+Module>


Tags: documentation-theme
How do I retreive Confluence content for a deleted Active Directory user?
Asked by Brett Death:

Our Confluence instance is connected to MS Active Directory for user management. We have a user that has created content in the wiki, then their AD account has been deleted. Now their content has disappeared from view in the wiki.

Please help - we'd really like to not have all our users' content deleted/unavailable when they're deleted from AD.

Is there some way of stopping the content from disappearing (and to recover the content that already has)?

I see this is related to https://answers.atlassian.com/questions/12956/jira-full-ldap-integration-how-do-you-deal-with-retiring-users and https://answers.atlassian.com/questions/13946/what-happens-when-users-are-disabled-removed-from-active-directory . Still need an answer for my current problem though...


Answers:
author: Lakshmi
body: Hi, from my experience, deleted/inactivated user's personal data can be accessed. i tried couple of options. they worked.

either of them should work:

\<confluence-url\>/spaces/viewspace.action?key=\~username

\<confluence-url\>/display/\~username/home - if user does not change the default home page

from my observation, this url pattern will not work for inactivated users \<confluence-url\>/display/\~username

Thanks,

Lakshmi


author: Sander Brienen [Avisi]
body: Hi Brett,

I don't think the content is really lost. Check in your database. Perform the following query to check if the content is still there:

```
SELECT * FROM content WHERE CREATOR = '<AD username>' OR USERNAME = '<AD username>';
```

This should show a list of content items for that specific user.

This way you should also be able to recover the content that seemed deleted. But I would not recommend editing the database by yourself. Call Atlassian Support to help you with that ([support.atlassian.com](http://support.atlassian.com)).


Tags: active-directory

delete

user
Versioning Spaces in Confluence
Asked by dmtprojection:

We're currently trialing Confluence and would like to know how we can 'version' a space, much the same as the confluence system your site uses. For example, we're creating technical document for a product. We release the product eg version 2.0. We therefore need to version the help for that version. How can we do this in Confluence?


Answers:
author: Andrew Frayling
body: I would agree with Mitch that the best approach is to use the Copy Space plugin. You may also want to have a look at <http://confluence.atlassian.com/display/DOC/Developing+Technical+Documentation+on+Confluence+Wiki> and  
<http://confluence.atlassian.com/display/DOC/Managing+the+Life+Cycle+of+your+Technical+Documentation> which walks through using Confluence for technical documentation for specific releases of your product.

Andrew.


author: MitchellM
body: Confluence doesn't really have the concept of versioning a space. The best way to do this is use the Copy Space plugin (<https://plugins.atlassian.com/plugin/details/212>) to create a copy of the space, including the version number in the space name and space key, and making the space read only.


author: MitchellM
body: Confluence doesn't really have the concept of versioning a space. The best way to acomplish this is to use the Copy Space plugin (<https://plugins.atlassian.com/plugin/details/212>) to create a copy of the space, including the version number in the space name and space key, and setting permissions to read-only.
We have a trial of Confluence hosted and would like to move to Confluence OnDemand. Is there a way to move our data over?
Asked by Kari Herzog:

We started the trial of Confluence hosted and love it, but don't want to recreate everything that we've built. What are the options for populating the Confluence OnDemand instance with our existing data?


Answers:
author: NikE
body: <br />

It's great to hear you love Confluence! (and I completly understand not wanting to recreate a bunch of data).

Everyone's 30 day trail has been extended to a 60 day following the big announcement so you have extra time to move forward. Unfortuantly, the migration method for moving from your Hosted trial to OnDemand is a bit detailed.

We can provide you a backup of your Hosted Confluence data...all you need to do is submit a support request asking for one. Once you have your data, you can import it yourself into OnDemand...the major caveot here is that Confluence importer is not yet available. It should be available in a few weeks and you can follow the process at it's feature request below:

[https://studio.atlassian.com/browse/JST-5632](https://studio.atlassian.com/browse/JST-5632 "https://studio.atlassian.com/browse/JST-5632")

Once the importer is available, you can import the data into OnDemand and everything will be all set (the importing details below).

<https://confluence.atlassian.com/display/AOD/Importing+Data>


Tags: cloud

confluence-cloud
How do I delete global labels?
Asked by Lisa Dyer:

Deleting labels in a space is a simple matter...but how do I do the same at the global level? Must be some way of pruning the labels.

My version is Confluence 2.9.2.

Cheers,

- lisa


Answers:
author: Thomas Wendel
body: Hi Lisa,

Do I understand it right: You want to remove a label from multiple pages without manually having to remove it from every single page? Then maybe the [Confluence Label Management Plugin](https://plugins.atlassian.com/plugin/details/5076?versionId=5077) could be what you are looking for. It lets you delete a label from a whole tree of pages.

It's a bit tricky to install as you have to manipulate the layout (under Look and Feel) but it might be worth it. Just read the [documentation](https://studio.plugins.atlassian.com/wiki/display/LBLMAN/Confluence+Label+Management+Plugin) carefully.

Cheers,

Thomas

comments: author: Lisa Dyer
body: Hi Thomas,

Thanks for the idea. I think this only deletes labels from pages, though, correct? The label itself still persists in e.g. the All Labels view.

My specific use case is that over time multiple labels describing the same thing but with slightly different syntax are being created, and I want to purge the duplicates from the entire system - not just the pages. Can the Label Mgmt Plugin help with that?

Cheers,

- lisa


author: Thomas Wendel
body: Hi Lisa,

Yes, after I deleted the unwanted label form **all** spaces, which is relatively easy with the plugin, the label did not show up in the All Labels view anymore.

Cheers,

Thomas


author: Thomas Wendel
body: Hi Lisa,

Just out of sheer curiosity: Did it work?

Thomas
When using AD for authentication, users are not automatically added to confluence-users group
Asked by John Ryan:

Although I have configured my AD connector to add users to the confluence-users group automatically when they login, this doesn't happen in all cases.

There are many, but the attached screenshot shows just one use as an example.


Answers:
author: Bruna Griebeler
body: In cases like that, I suggest you to check the logs to see errors related to membership.

Also check if the confluence-users group have the "Can Use" in Global Permissions.

Also if you have more then one directory set (e.g. Confluence Internal and LDAP), be sure that you don't have 2 users with the same username.

comments: author: John Ryan
body: Hi Bruna,

It was because of 2 users with the same username.
Geographically distributed Confluence (Cluster): Is it possible?
Asked by _aseith:

Greetings to all sysadmins and operators out there,

the subject says it all. We are currently looking into possibilities to run multiple Confluence instances on geographically distributed locations, either with the offical Confluence Cluster edition or any other (more or less hacked) solution.

We are aware that Atlassian doesn't support any form of this clustering, but would like to know if anyone has done (or at least tried) to do this before and would be grateful for any experiences shared.

Kind Regards

Alex


Answers:
author: Andrew Frayling
body: Hi,

We tried, and failed, and that was with Confluence nodes in data centres just 1 mile apart. Support's suggested solution at the time was to host the servers in the same rack and connect them with a crossover cable. All the multicast tests were fine and reporting that the nodes could see each other, but we just couldn't get it to work reliably.

The problem is that the inderlying clustering technology (Oracle Coherence) seems to be incredibly flakey and the slightest blip means a node doesn't get updated with the correct ID in time and the nodes cluster panic. This is what we were seeing, and we resorted to running in active/passive with just one node receiving requests and the other in cold standby so that we could failover if there was a problem or if we needed to carry out planned maintenance.

Active / passive seems to be the multi-node option that most people seem to go for due to the reliability issues with clustering. This configuration will give you higher availability than a single node and you can vertically scale (to a point) by throwing more resources (RAM, CPU, faster disk, etc.) at the individual nodes.

Hope that's of some help?

Andrew.


author: Chloe Sowers
body: Yes we go


author: Chloe Sowers
body: Yes we have a cluster running in difference nearby cities. It is extremely slow however, and although we are not certain of the cause, I believe it may be due to the cluster. You may have to add the option

-Dconfluence.panic.disable=true

to the Java startup.

comments: author: Chloe Sowers
body: Yes, it was because of the cluster. It crashed (locked up) often, with Coherence errors.


author: Alexander Seith
body: Thanks for your answers, Andrew and Beth. We also found that the most viable solution for HA-Clustering is an active/passive Cluster. We're already running this kind of setup under Linux with Pacemaker a couple of times.

Thanks again.

Alex


author: Beth Schaefermann
body: This is potentially somewhat related to the JIRA question/ conversation here:

[https://answers.atlassian.com/questions/15984/can-we-run-jira-on-multiple-application-servers?page=1#42616](/questions/15984/can-we-run-jira-on-multiple-application-servers?page=1#42616)


Tags: data-center

performance
Password complexity within Confluence
Asked by Frank Fojkis:

Hi,

Is there a possiblity to set a password complexity within Confluence 3.5.13 like

- Password length: min. 8 characters   
- Not allowed special characters: $, ' (apostrophe), blank   
- User ID or users' full name not allowed as part of the password   
- Password must consist of 3 of the 4 character groups:  
-\> capitals ( A to Z )  
-\> lower case ( a to z )  
-\> numerical numbers ( 0 to 9 )  
-\> special characters ( ! . , ' : ? + - \| @ ( ) _ / \~ \` # )   
- Account locked after 5 times wrong login   
- Do not use one of your last 5 used passwords   
- Passwords are valid for 60 days


Answers:
author: JamieA
body: There is nothing like this in confluence. Integrate with your corporate LDAP and let that handle these requirements.


author: Frank Fojkis
body: thanks. We have an AD integration, but we have some users which does not below to our domain, therefore I need to have something different.

I just got an information about this and found on security manamgent plugin for confluence, which I need to test. <http://www.adaptavist.com/display/plugins/User+Security+Management>

I will keep you posted once I have tested it. But sounds like that one which we need


author: JT
body: Does anyone have any information on this? We are currently running into an issues where the regex in Confluence does not match the regex in CROWD causing password reset issues.


Tags: password
Template restriction on a space
Asked by Nuno Dias:

Hello, is it possible to make the usage of a template mandatory for a specific space on Confluence.

The use case is for a troubleshooting space. We have a predifined structure with:

* Simptoms
* Description
* Resolution

We want that people inserting pages on this space, can only use the template we created with this structure. Is that possible?

Thank you.


Answers:
author: Colin Goudie
body: You would need a custom plugin. Nothing in the box will force this.

A plugin could, but not totally trivial given you're probably looking at overriding create page actions and changing the existing UI to show the template options and marking them as required etc..


Tags: restriction

space

template
Jira gadget in a confluence page
Asked by Federico Spagnolini:

Hi to all,

I read a lot of different posts about using Jira Gadgets in a conflence page. But I'm still confused and (most important) I'm not yet able to use them.

Official docs state [here](http://confluence.atlassian.com/display/DOC/External+Gadgets) that External gadget instructions isn't valid for OnDemand (The information on this page does not apply to Confluence OnDemand.). Despite this I'm able to add external gadget and they appear in Inser/Edit Macro Confluence dialog.

When I insert the gadget the dialog raise a warning: "Please complete the configuration in the preview area first", but the gadget remains just show the rolling board and the Insert button is disabled.

I normally use Confluence pages to display Jira issues, I'm just not able to see gadgets and I've tested several different gadgets with same result.

I just discover this [CONF-23666](https://jira.atlassian.com/browse/CONF-23666) but being a Jira Studio ... oops Jira OnDemand user I don't have access to confluence logs to confirm that the problem is the same.

The question is: does Jira gadgets work on Confluence under a OnDemand / Studio instances? If yes do you have any hint for me?

Do you have an example of gadget macro with parameters, in order to try to bypass macro dialog?

Thanks

Federico


Answers:
author: NikE
body: The situation you are experiencing is due to a small bug in the current version of OnDemand. [The bug report.](https://studio.atlassian.com/browse/JST-5515 "Issue Tracker")

This issue should be fixed in the near future, but in the meantime, if you open a [support request](https://support.atlassian.com "Support Request") we can apply the work-around on your account and have this issue resolved for you.


author: Paul Hooper
body: I'm seeing this same issue in Confluence 6.0.6 after a migration from Cloud - is there a workaround ?


Tags: cloud

confluence-cloud
Confluence hyperlinks to word docs, 2007 word users, the links dont work
Asked by simon roberts:

excel hyperlinks work, but documents cant be launch via hyperlink for 2007 word users. Is there a fix for this. Have searched atlassian bugs, but knothing exact.

Thanks


Answers:
author: Rodrigo Girardi Adami
body: Hi Simon,

Are you still having this issue? Is there any error message appearing for you in confluence interface? If this is an old version of confluence, I recommend to install the latest version 5.5.x and check if the issue persists with the word office links.

Cheers,

Rodrigo


Tags: ms-word
Why can't I create versions from the Planning Board?
Asked by Alex Andrienko:

According to OnDemand documentation, there should be a button "Add" to create additional versions for the project, just as I used to have in Download version. But there's no such button and I cannot neither create version from that screen, nor create hierarchy of version at all.


Answers:
author: Bastiaan Jansen
body: Can you check if your user account has the "Administer Projects" permission? (This permission is set in the project permission scheme, by default it points to the administrator project role. This does not automatically mean that all administrators have this project role) Without this permission the "Add" button will not show.

comments: author: Alex Andrienko
body: Thank you for the reply, you were correct.

The misleading part was that it was a default setup and an admin user in combination with the fact, that I was able to add versions from Administration \> Project \> Versions


author: Alex Andrienko
body: Here's the link to documentation I refered to <http://confluence.atlassian.com/display/AOD/Managing+agile+projects>


Tags: cloud

jira-software-cloud
Excel Macro in documentation theme
Asked by simon roberts:

Hi

Using this macro, an "edit document" button is displayed on to the right of the excel sheet. This takes up lots of space so the sheet is not displayed very well. Any ideas on how to move the button, should be on the top or bottom of the page.

Cheers

Simon


Answers:
author: Tony_Dai
body: i have the same question. thanks!


Tags: macro

ms-excel
User's can't see global spaces in Confluence
Asked by Abrham Smith:

I installed Confluence. Connected it to AD. Created a Global Space with no restrictions. Logged in with my user account and I can't see the space on my dashboard. I can't browse to the space either, its as though it doesn't exist. I looked in the log and I do not see any errors. Anyone know what the problem could be?


Answers:
author: SarahA
body: Hallo Abrham

Could it be that the space permissions do not include the group "confluence-users", or that your AD username is not a member of that group? See the documentation on groups:

<http://confluence.atlassian.com/display/DOC/Users+and+Groups>

<http://confluence.atlassian.com/display/DOC/Global+Groups+Overview>

I hope this helps!

Cheers, Sarah

comments: author: Abrham Smith
body: Sarah, thank you for your help.

I have setup two groups in AD , Confluence-Administrators and Confluence-Users, all of my users are in the correct group in AD. As when I look at the groups in Confluence it shows them as members.

I don't see how this is a problem if my space doesn't have any restrictions on it. All my users should be able to see any space right?


author: Jo-Anne MacLeod
body: Are you in a position where you can temporarily turn off the AD stuff? If it works with local authentication then you know that the problem is somewhere in your your AD is implement. If you still can't see them, then you know it is a more general permission problem.


author: Abrham Smith
body: Okay I have made some headway. Apparently there is a configuration error or bug within groups. I just added the jira-users group to the space admin permissions and everyone in that group is able to see the space. However Confluence-Users is also a part of those permissions but they can't see it. When I look at the groups in Confluence Admin everything seems fine. When I look at global permissions in Confluence Admin I see this error:

confluence-administrators

Case incorrect. Correct case is: Confluence-Administrators

confluence-users   
Case incorrect. Correct case is: Confluence-Users


author: SarahA
body: Ah, OK. There's a problem with case sensitivity. For some reason, Confluence is not recognising that the group "confluence-administrators" is the same as the one with capital letters "Confluence-Administrators". I don't know enough about the cause here, and whether it's a result of the LDAP integration or something to do with the database settings. I know that earlier versions of Confluence had some problems with case sensitivity in group names. (Confluence should ignore case when searching/matching group names and usernames.) The best thing is to raise a support ticket at <http://support.atlassian.com>, and let them know which version of Confluence you're using.

:)

Cheers, Sarah  


Tags: permission

space