youngmon/atlassian-qna huggingface dataset:
Confluence splatted my page on a move
Asked by Mike McCracken:

Had:

SPACE - RELEASE 160

HOMEPAGE - RELEASE 160

PAGE - KEY GOALS

PAGE - RESOLVED IN THIS RELEASE

SPACE - RELEASE 161

HOMEPAGE - RELEASE 161

PAGE - KEY GOALS

PAGE - RESOLVED IN THIS RELEASE

Created

SPACE - RELEASES

HOMEPAGE - HOME

Moved - HOMEPAGE - RELEASE 161 to HOMEPAGE - HOME

checked and all was fine

Moved - HOMEPAGE - RELEASE 160 to HOMEPAGE - HOME

check and all APPEARED fine.

Deleted SPACE - RELEASE 160 and 161

However, now all my links under RELEASE 161 now point to RELEASE 160 when I click them.

How do I get my get my pages back?


Answers:
author: Mike McCracken
body: OK, I got this working. It is still a pretty scary bug but I was able to get the links back by renaming the pages in 160. The 161 links then started going back to the correct pages.

There needs to be a warning\\validation on a move to let you know if you are going to have duplicate links or the page references need to have a "copy of" or something added to them.
Importing Pages from Disk fails.
Asked by Tero Heikkinen:

Importing Pages from Disk to space fails. I'm doing migration from mediawiki and I've successfully dumped all wiki pages and converted them to Confluence wiki markup format.

When I do import, Confluence treats pages as HTML that causes them to render as a long one row. I've tested manually by copy-pasting converted pages and markup is ok, because pages render flawlessly in editor.

Is it possible somehow force confluence to process impoted pages as confluence wiki markup? I think that would solve this issue.


Answers:
author: Mariano Montone
body: I managed to solve this issue from the command line: [](https://marketplace.atlassian.com/plugins/org.swift.confluence.cli)<https://marketplace.atlassian.com/plugins/org.swift.confluence.cli> using the storePage command.  

Command:   

./confluence.sh --server [](http://localhost:8090)<http://localhost:8090>--action storePage --user admin --password asdfd --space ds --title main --file /home/marian/work/uwc/output/output/main   
Page updated: 'main'. Page has id: 557059


author: Mariano Montone
body: I'm having a similar problem :S


author: Patrick Williams
body: Hi, I am having a similar problem except in my case I was trying to import word docs using the office connector which I found unreliable when splitting documents via the headings **so instead** I am coverting them to wiki markup and then trying to import them from disk and as you are finding the function is looking for HTML and not wiki markup. I hope you find an answer for this. Cheers
after upgrade confluence from 3.4.6 to 3.5.13 the screen frozen when tried to rebuild index
Asked by SherryX:

after upgrade confluence from 3.4.6 to 3.5.13, the screen frozen when tried to rebuild index.

Then I tried to shutdown confluence but with the following error:

SEVERE: Catalina.stop:  
java.net.ConnectException: Connection refused  
at java.net.PlainSocketImpl.socketConnect(Native Method)  
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)  
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)  
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)  
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)  
at java.net.Socket.connect(Socket.java:529)  
at java.net.Socket.connect(Socket.java:478)  
at java.net.Socket.\<init\>(Socket.java:375)  
at java.net.Socket.\<init\>(Socket.java:189)  
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:422)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)  
at java.lang.reflect.Method.invoke(Method.java:597)  
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:338)  
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:416)  
I found the workaround in <http://confluence.atlassian.com/display/CONFKB/Confluence+Does+Not+Terminate+after+Shutdown+Script>

I could not find the PID file so created a blank one instead, also updated the**setenv.sh** as show in the above workaround, then execute command **catalina.sh stop -force**

But system always came up with the following

PID file is empty and has been ignored. connection refused

OR

PID file found but no matching process was found. Stop aborted.

Where can I find the PID for the matching process? Thanks


Answers:
author: SherryX
body: use command: ps -ef\|grep java

the process is already gone, but the confluence shutdown.sh process gave me the message and I thought something was wrong.
Are there audit entries for Confluence Team Calendar events?
Asked by Khanh Nguyen:

Just was wondering if there are audit information on a Confluence Team Calendar events.

for example. . .

Event xyz created by user date/time

Event xyz modified by user date/time

Event xyz removed by user date/time

If so, where can I get to this information.


Answers:
author: Sherif Mansour
body: We currently don't have this feature, as Hanis said - it's available via email only. Question: Why do you want this? is it for company policy? Or do you want to see a stream for a calendar?

comments: author: Khanh Nguyen
body: When you have a team calendar where you give everyone on the team edit permission - which also means that everyone on the team can edit every entry including those created by others. We have accicental removal of entries that we would at least source back to who so that we can correct actions. A calendar activity stream might be a good alternate. Thanks.


author: hsuhailah
body: Not at the moment. But you can watch a calendar to get notifications. See https://studio.plugins.atlassian.com/browse/TEAMCAL-390
Version control in confluence without having to purchase sharepoint
Asked by Kirby Russell:

Just beginning to evaluate confluence and would like to know if there is version/revision control and document library management within Confluence or a plugin rather than having to use Sharepoint?


Answers:
author: David Weiss
body: Kirby - I asked the same question and got this: the plugin [Arsenale Lockpoint](https://marketplace.atlassian.com/plugins/com.arsenale.plugins.lockpoint) should provide what you are looking for from <https://answers.atlassian.com/users/3920/mark-symons/>. I am going to evaluate it for this purpose. I am also looking into putting many documents on a page similar to a sharepoint portal.


Tags: document-management

revision

version
Space Category vs Team Label?
Asked by Paul Paul:

I am writing a user macro to display spaces by team label for a projected upgrade to 3.4.x (got stuck on 2.3.7, long story). However, I see that Confleunce 4.x has a space category function and no sign of team labels. So my question is - do my team labels migrate as categories when I come to migrate eventually?


Answers:
author: SarahA
body: Hallo Paul

Yes, your team labels will automatically become space categories. The change happened in Confluence 3.5. Here are the release notes (<http://confluence.atlassian.com/display/DOC/Confluence+3.5+Release+Notes#Confluence35ReleaseNotes-CategoriesaNewWayofOrganisingSpaces>) and the upgrade notes (<http://confluence.atlassian.com/display/DOC/Confluence+3.5+Upgrade+Notes#Confluence35UpgradeNotes-TeamLabelsNowCalledSpaceCategoriesMayNeedTidyingUp>).

When you do the upgrade to Confluence 4, the upgrade task will run and change your team labels to space categories.

I hope this answers the question. :)

Cheers, Sarah

comments: author: Paul Paul
body: Many thanks - sorry to have not got to those release notes yet, got to get to 3.4 first.


author: none
body: We have just upgraded from 3.x to 4.1 and categories and labels seem to perform the same function - eg, I thought I could use them together in a hierarchy, but instead every label I create also creates a tab in the Space Directory page.

So what's the difference between categories and labels?
Dynamic updation of table
Asked by Hitesh Soni:

Hi Expers,

Can you let me know a plugin through which I can dynamically update wiki table. I want to dynamically retrieve data from a remote host and update it to the table. Also pls post any suitable examples. Thanks in Advance.

Regards,

Hitesh B Soni


Answers:
author: Azwandi Mohd Aris
body: Looks like this is not achievable from within Confluence OnDemand. However, you can probably utilise Confluence remote APIs to update pages remotely.

<https://developer.atlassian.com/display/CONFDEV/Confluence+XML-RPC+and+SOAP+APIs>

and some examples:

<http://confluence.atlassian.com/display/DISC/Remote+API+examples>


Tags: cloud

confluence-cloud
Browser jumps to 'usermacros.action' page when installing/uninstalling a plugin
Asked by Raf Wenger:

Whenever I install or uninstall a plugin from the UPM my browser jumps automatically to   
**http://\[my confluence install\]/admin/usermacros.action**

This is not so bad when installing a new plugin, as going back to the plugins page resume the installation of the plugin.

But it is preventing me from UNINSTALLING existing plugins.  

When I click the \[Uninstall\] button, I see the 'Do you wish to continue' prompt for a split second and then my browser redirects me to http://\<span\< a=""\> class="error"\>\[my confluence install\]/admin/usermacros.action without giving me enough time to click on the \[Continue\] button to uninstall the plugin.
Tried with Firefox 6.02, Chrome 15 and Internet Explorer 9. All on Windows 7.  
I am using Confluence 4.0

Any ideas why this is happening and is there a workaround to uninstall a plugin?

Thanks for your help.  
Cheers

Raf


Answers:
author: Raf Wenger
body: Thanks for your comments.

In the end, it was resolved with the help of the awesome Atlassian tech support.

Enabling the safe mode in the UPM and re-enabling every plugins manually did the trick.


author: David at David Simpson Apps
body: Do you have a rogue plugin that uses conveyor (or similar) to do a redirect on that action?

If so uninstall it quick!

comments: author: Raf Wenger
body: Thanks for your comments.

In the end, it was resolved with the help of the awesome Atlassian tech support.

Enabling the safe mode in the UPM and re-enabling every plugins manually did the trick.


author: Tino Winkler _Communardo_
body: Hi Raf,

that's a strange problem. Are you having the same issues with other functions in Confluence?

In the meantime you could try to avoid the UPM and use the old Plugin Manager. It's still bundled with Confluence. You access it via http://\[your confluence install\]/admin/viewplugins.action.


Tags: app

install

uninstall
Cloning Confluence instances on the same server
Asked by Sue Hallwood:

My client would like to implement 10 clones of their current Confluence for different departments as they sign up for a wiki. can we copy the Wiki with all the spaces and custom theme template in place, remove the data and make them work independently with their own ip addresses i.e. wiki 1, wiki2, etc. These wikis will all reside on the same server. How will this affect memory?

I suspect that they will each need license.


Answers:
author: Sue Hallwood
body: When I say department I mean the same affiliation in a different city so they need their own spaces and content but the same administrators. It is for the YMCA. Currently they have a wiki for YMCA Canada and another wiki for the YMCA of greater Toronto. They want to implement more wikis for other YMCAs.


author: justindowning
body: I hate to answer the question with a question, but why would you want to do this? Confluence has very good security policies where, in your case, you could create 10 spaces on ONE Confluence, and setup permissions so that only members of certain groups can view/edit content in said space. To the end-user, the result would be the same--the would only see and work in one delegated area. If the client needs friendly URL (eg: [dept1.company.com](http://dept1.company.com), [dept2.company.com](http://dept2.company.com)), you can use an HTTPd frontend like Apache to handle that. This would also ease any overhead for administrative management, licensing, plugins, and upgrades.
Scrolling while navigation in the Same page?
Asked by Siddharth Bhojnagarwala:

Hello there,

Well I have come across this problem that in big lenghty pages I am creating, I want to place a link to Go to Top or Go here/there in the same page. IT is working absolutely fine with the Anchor tags.

The problem is It just shows me the portion I am linking directly, but I want it to scroll it, i.e, it should scroll to top and also for scroll for bottom instead of showing immediately/instantly. I guess some ScrollTo functionality of Jquery will work (as searched in google).

I am very new to javascript, jquery and Confluence, so can anyone please tell me how to integrate it so that automatically while doing same page navigation, it scrolls.

Regards.


Answers:
author: David at David Simpson Apps
body: Better than my last answer, try this as it works...

```
&lt;script&gt;AJS.toInit(function(){    AJS.$('a[href^="#"]').click(function(e){         AJS.$('html,body').animate({scrollTop: AJS.$( AJS.$(this).attr('href' )).offset().top});        e.preventDefault();    });});&lt;/script&gt;
```

**Update:** This works if added to the **At the end of the HEAD** section. I forgot to add AJS.$ to the jQuery object :(

comments: author: Siddharth Bhojnagarwala
body: I added this:

```
&lt;script type="text/javascript"&gt;AJS.toInit(function(){	$('a[href^="#"]').click(function(e){		 $('html,body').animate({scrollTop: $( $(this).attr('href' )).offset().top});		e.preventDefault();	});});&lt;/script&gt;
```

in my Administrator -\> Custom HTML -\> At end of the HEAD but still it is not scrolling!


author: David at David Simpson Apps
body: Good call. check the update above.


author: Siddharth Bhojnagarwala
body: Added the **NEW** code **At the end of the HEAD** section. Now whats happening is, when I go to the link, and click on it, nothing is happening. should I add something more to the head section?

**EDIT:** It is working with Global Look and Feel theme but I am using Documentation theme.


author: David at David Simpson Apps
body: Try this:

<http://djpate.com/2009/10/07/animated-scroll-to-anchorid-function-with-jquery/>

By the way: Atlassian refers to their version of jQuery with **AJS.$** instead of **jQuery** or **$**.
Is is possible to install Confluence on a Synology DS210j NAS with perhaps ARM processor and 128MB of memory
Asked by Paolo Aciano:

I am trying to find out if it is possible to install Confluence on Synology DS210j unit, which is perheps running an ARM processor or do I need to upgrade to something like DS1010+, which is running Atom processor and RAM module can be upgraded. Confluence is not ment for a heavy use.

cat /proc/cpuinfo  
Processor : Feroceon 88FR131 rev 1 (v5l)  
BogoMIPS : 794.62  
Features : swp half thumb fastmult edsp  
CPU implementer : 0x56  
CPU architecture: 5TE  
CPU variant : 0x2  
CPU part : 0x131  
CPU revision : 1  

Hardware : Feroceon-KW  
Revision : 0000  
Serial : 0000000000000000

Any comment is appreciated. Thank you in advance.


Answers:
author: Adam Laskowski
body: A small instance of Confluence (10 users) will still want to use \~300m of heap with light use. Running Confluence 4.0 locally, it's using 200m while idle and almost no content after a restart about 20 minutes ago. If the DS210j caps at 128m, you'll want to go another step higher and get a system with at least 384-512m. Since the system is designed primarily for NAS, Confluence will also share CPU time with the other features of the unit, but that overhead might be minimal and the processor may work well enough. This also assumes that the NAS storage is considered a local filesystem to apps running on the box.

comments: author: Di Chen
body: You can try docker. It is quite convenient


Tags: install

nas
A plugin is causing pageload an error on the login page, so I can't login to turn the plugin off.
Asked by Joe DeFerrari:

The login page is loading as HTML code rather than rendering, so I can't sign in. Is there another route I can take to the admin so I can switch the plugins off??


Answers:
author: NikE
body: If you have an Atlassian hosted instance of Confluence, you will not have the needed access to complete the second part of Jobin's advice. If his first piece of advice doesn't work, best to enter a support request detailing the plugin name and a good maintenance window to have your instance restarted in (about 10 minutes of downtime to complete) and we will do the remove and restart.

comments: author: Joe DeFerrari
body: IT is hosted, so I'll have to submit the ticket.

thanks!!!


author: Jobin Kuruvilla [Adaptavist]
body: You will have to login for sure. But maybe you can directly go to http://{JIRA_URL}/plugins/servlet/upm#manage

The other way is ofcourse to stop JIRA, delete the plugin and restart!


Tags: confluence-server
Is there a way to use the jquery functions in batch.js?
Asked by BJ Yang:

It seems that a batch.js file provided by confluence has jQuery functions, but I can't seem to use them. I'm not sure what I'm doing wrong if anything. This is a quick sample test I made, but it doesn't work even though batch.js is is called in every page. We are using Conlfuence 3.5.2.

{html}

\<div id="test1"\>hello world\</div\>

\<br/\>

\<input type="button" id="hide" value="hide"\>

\<input type="button" id="show" value="show"\>

\<script type="text/javascript"\>

$(document).ready(function(){

$('#hide').click(function(){

$('#test1').fadeOut();

});

$('#show').click(function(){

$('#test1').fadeIn();

});

});

\</script\>

{html}


Answers:
author: David at David Simpson Apps
body: See the [Confluence UI Guidelines](https://developer.atlassian.com/display/CONFDEV/Confluence+UI+Guidelines). The guidelines suggest wrapping all custom jQuery in **AJS.toInit()** if you require the code to be fired after DOMReady.

So your code would be:

```
AJS.toInit(function(){	AJS.$('#hide').click(function(){		AJS.$('#test1').fadeOut();	});	AJS.$('#show').click(function(){		AJS.$('#test1').fadeIn();	});	});
```

comments: author: Joe Clark
body: For bonus points, you can structure your toInit function like this:

```
(AJS.toInit(function($) {   // Access AJS.$ by just using '$'   $("#selector").html("Hello, World");}))(AJS.$);
```

and it will save you a bunch of keystrokes not having to prefix '$' with 'AJS.' every single time. :-)


author: Martin Dul?k
body: Great trick Joe. Thank you!


author: JamieA
body: jquery dollar has been "noConflict"ed to AJS.$, so instead use:

```
AJS.$(function () {   // page load...})
```

comments: author: BJ Yang
body: ```
Should my code look like this?
```

```
&lt;script type="text/javascript"&gt;AJS.$(function(){  $(document).ready(function(){    $('#hide').click(function(){      $('#test1').fadeOut();    });    $('#show').click(function(){      $('#test1').fadeIn();    });  });});&lt;/script&gt;
```


Tags: bulk-edit
Unformatted raw wiki-markup editing
Asked by Joel Lathrop:

I would like to create and edit wiki pages solely use the raw wiki markup. While I noticed that the rich-text editor has an AutoFormat feature that turns wiki markup into formatted text as you type, and there is a raw wiki feature for inserting new text, neither of these is a complete raw wiki markup editing solution like I'm looking for.  

I would like to create and edit pages without seeing formatted text but instead seeing the text within its wiki markup syntax and being able to do raw text editing on it; in other words, I would like to do ordinary pure-text-based wiki editing like one could with other major wikis like MediaWiki.  

Is there some way this can be done in the most recent on-demand version of Confluence?  

<br />

Thank you for your time and any help you may be able to provide. :-)


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: This was a hot topic. Check [https://answers.atlassian.com/questions/12073/wiki-markup-in-confluence-4-again.](/questions/12073/wiki-markup-in-confluence-4-again.)

Also see [http://confluence.atlassian.com/display/DOC/Confluence+4.0+Editor+-+What%27s+Changed+for+Wiki+Markup+Users](http://confluence.atlassian.com/display/DOC/Confluence+4.0+Editor+-+What%2527s+Changed+for+Wiki+Markup+Users)


author: raouldN
body: The WYSIWYG editor is cool and mostly works! Unfortunately it empirically seems to be like an N-P complete problem to get an editor that never does anything wrong (cf. editors by Microsoft, Google, et. al. hardly being perfect either :-). For example in the Confluence (1000.122.1) editor things tend to go wrong around any textboxes like "{code}" or "{noformat}" once they are rendered and I try to come back and edit the text around them. It would be very nice to flip to "raw" markup editing mode to not have to fight with the editor in just those cases.


author: AM
body: Please check:  

[https://answers.atlassian.com/questions/21735/occupy-confluence-markup-provide-a-wysiwyg-xhtml-markup-editor-to-edit-the-markup-source-of-confluence-4-wiki-pages](/questions/21735/occupy-confluence-markup-provide-a-wysiwyg-xhtml-markup-editor-to-edit-the-markup-source-of-confluence-4-wiki-pages)

A-M


author: Andrew Frayling
body: Hi Joel,

There's been a lot of discussion about wiki markup since Atlassian released Confluence 4.x with the new editor and switched to rich text editing only and I very much doubt that Atlassian are going to re-instate the old wiki markup editor. The new editor is very good once you get used to it and Atlassian did spend a lot of time testing it internally and didn't release it until they'd converted their most hardcore wiki markup fans to the new editor.

Give the new editor a try for a while and see if it grows on you, but if you absolutely want/need wiki markup then I don't think there's going to be an option for this any time soon.

Andrew.


Tags: cloud

editor

markup
jQuery 1.6
Asked by Siddharth Bhojnagarwala:

Well actually I want to use jQuery 1.6 or above for one of the tooltip. But If I am placing this line in Custom HTML (at the end of head):  
\<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"\>\</script\>

The feature I want(tootip) is working fine but When I go to Add/Edit Page and try to use the Other Macros or even editing the macros, Nothing is showing up. But when I try removing the above line, everything seems fine.

Please tell me how to integrate jquery version 1.6 or above in my Confluence without having any problem?

Using Confluence 4.03


Answers:
author: Joey McDaniel
body: Hi Siddharth,

I had to update my javascripts to use another variable to call jQuery. I did so using a noConflict statement in the header:

\<script\>XXX= jQuery.noConflict(true);\</script\>

Where XXX is the new variable you would use instead of $ in your javascript.

Hope this helps!


author: Joe Clark
body: Confluence 4 appears to be running jquery 1.5.2.

If you want to load a different version of jQuery into the Confluence UI, you will need to follow the instructions in the jQuery docs on how to load them side-by-side: <http://api.jquery.com/jQuery.noConflict/>


author: David at David Simpson Apps
body: Confluence already includes jQuery. Why add another instance? Can't you just use the slightly older version instead?

comments: author: Siddharth Bhojnagarwala
body: No actually I am using Tipped (<http://projects.nickstakenburg.com/tipped>) which uses jQuery 1.6 or above. Can you please tell me how to integrate v 1.6 in Confluence without any conflicts with the existing one? By the way, which version does it already contain/inbuilt?


author: BJ Yang
body: Is there a certain way we have to access the jQuery provided by Confluence. If I'm not mistaken, it's inside of a file called batch.js, correct? My jQuery functions (simple fadeIn/fadeOut) don't work so I have to use a script src to include an external jQuery file. However, when I do this, my keyboard shortcuts lose functionality. If I can find out how to use the jQuery functions provided by Confluence, it might solve my problem.


author: David at David Simpson Apps
body: @BJ Yang: It's namespaced as **AJS.$** instead of just **$** or **jQuery**.