youngmon/atlassian-qna huggingface dataset:
Webdav uploading problem
Asked by KyuWoo Choi:

Hi.

I have set confluence with webdav, and It's really cool.

But the problem is when I upload a file to confluence page through webdav makes additional strange file in attachment in the page.

I drag a file name "a.txt" to webdav folder, attachment in the page shows "._a.txt" with 7 versions and "a.txt" with 2 versions. Of course I just put one file only once.

I have tested on FF \& Chrome with Mac lion.

anyone can help me to fix this?


Answers:
author: Fabio Genovese
body: Hi to all,

I have the same problem. I mean: I can upload all file without problems (Great :-)) , but If I see in confluence by browser, I have a version 1 of new file (empty file 0Kb).

My question is: Could be confluence webdav create this version only for keep track of webdav upload??

Thanks in advance

FABIO


Tags: webdav
Where did the Confluence necktie go?
Asked by marciw:

When I try to get my very own Confluence necktie, I'm directed to [https://confluence.atlassian.com/download/attachments/213516794/Atlassian_Necktie_final.pdf](https://confluence.atlassian.com/download/attachments/213516794/Atlassian_Necktie_final.pdf%20)-- which no longer exists.

Is there another copy somewhere?


Answers:
author: rverschoor
body: I've uploaded a copy to my Dropbox: <http://dl.dropbox.com/u/18524733/Atlassian_Necktie_final.pdf>

Enjoy :)

comments: author: marciw
body: Awesome -- thanks!


Tags: cloud

confluence-cloud
Copy and Paste table cell contents
Asked by Roger Weinheimer:

I have a table and I want to copy contents of one cell into another. I am using Chrome on Mac Snow Leopard with Confluence 4.1.9. I place the cursor at the beginning of the cell contents, press shift-command-right-arrow to select only the text contents of the cell, and command-c to copy the contents. I move the cursor a new cell (next row, immediately below) and press command-v to paste. The editor goes into some state which I do not recognize and I cannot do anything with the cursor or editor except Save or Cancel. Can we have the wiki markup editor back, please? Barring that, can someone explain what is going on with the editor. Is the editor capturing those shortcuts? Say it ain't so.


Answers:
author: PeterKoczan
body: Dear Roger,

Unfortunately it is a pretty recently discovered bug concerning the editor. You might want to vote the bug up and watch it, when it gets fixed:

<https://jira.atlassian.com/browse/CONF-26019>

Kind regards,

Peter Koczan
Catastrophic error after database migration
Asked by Mike Bretz:

I installed a new instance of Confluence 3.5.13 on a new box and pointed it to a new Postgres database. Everything worked perfectly.

I stopped the new instance and migrated all of my data from another Confluence instance. All tables copied perfectly.

When I brought the new Confluence version up, all I got was a white page with this error:

Error occurred during template rendering: Invocation of method 'getLogoForGlobalcontext' in class $Proxy45 threw exception org.springframework.orm.hibernate.HibernateObjectRetrievalFailureException: No row with the given identifier exists: 0, of class: com.atlassian.confluence.core.ContentEntityObject; nested exception is net.sf.hibernate.UnresolvableObjectException: No row with the given identifier exists: 0, of class: com.atlassian.confluence.core.ContentEntityObject at template/includes/macros.vm line 1651, column 43 . Contact your administrator for assistance.

I assume this is related to the migration, but everything migrated perfectly with no errors so I am unsure what I did to cause this error.


Answers:
author: Mike Bretz
body: Error was related to data types and values, was not copying null values properly or converting CLOB/BLOB into the correct Postgres types.


author: hsuhailah
body: Were you trying to migrate a Confluence 3.5.13 content to another Confluence 3.5.13 on another server or were you trying to migrate Confluence 3.5.13 database to another database type?

If you are migrating Confluence between servers, you can refer here for details: <https://confluence.atlassian.com/display/DOC/Migrating+Confluence+Between+Servers>

If you are migrating Confluence database to another database , you may refer here: <https://confluence.atlassian.com/display/DOC/Migrate+to+Another+Database>

If you are simply moving your DB from one server to another you can just change the JDBC URL in \<confluence.home\>/confluence.cfg.xml (if you are using a direct JDBC connection) or in the definition of your datasource (if you are connecting via a datasource).


author: CharlesH
body: Did you follow the guidance given here: <https://confluence.atlassian.com/display/DOC/Migrating+Confluence+Between+Servers>There's a lot more to this task than just copying tables, as the guide explains. How are you storing the attachments that originate from your original instance, and have these moved to a new server?
How do I set a percent width on an image in Confluence 4?
Asked by Rebecca Sheridan:

We used to set some images to 90% of the screen, so they would scale to our page. When we upgraded to version 4, they all expanded to full size. Is there a way to reset this?


Answers:
author: Mat Pike
body: Try the HTML Image macro, the standard imsert Image option removes any % sign, but the HTML Image macro accepts the % and will resize with your window.


author: hsuhailah
body: Do you happened to have some customization configured on that before in the previous Confluence version that perhaps you can apply onto Confluence 4.x?

comments: author: Patrick Miller
body: Our site has the same problem... and we'd also like an answer/solution to this.

And NO, we needed no 'customization' to do this in earlier confluence verions... width=90% was a supported image property in wiki markup.

Prior image sizes of width=90% that we had set in many confluence pages settings were lost on our jiraStudio 'upgrade' to confluence 4.x and I can find no way to re-edit the under lying image tags to readd such a value... The rich-text editor image toolbar only gives me fixed choices small/med/lrg/original or hardcoded pixel size). If I enter 90% it gets turned into 90px -- which is NOT what I (we) want.

Please allow entry of % values in the image properties size field.


author: Patrick Miller
body: 4.2 documenation still shows the width= property... (where we used to be able to put width=90%) but the % values seem to get ignored (or were lost during upgrade).

<https://confluence.atlassian.com/display/CONF42/Confluence+Wiki+Markup#ConfluenceWikiMarkup-Images>
Selecting document theme is not selecting the global color scheme by default
Asked by Nawaz Quadri:

We have a global color scheme which is selected by default when we create a wiki space. However if we create a wiki space with documentation scheme selected it does not select the global color scheme that we have set but its own. We have to manually go to the color scheme of the space and select the global color scheme. Is this an expected behavior?


Answers:
author: CharlesH
body: Atlassian provide some info on including a colour scheme with a theme: <https://confluence.atlassian.com/display/DOC/Configuring+the+Theme+Plugin>It's on my to-do list to see if I can modify the default colour scheme of the Documentation plugin in this way.


author: hsuhailah
body: This is actually an expected behavior when your global theme is set to default but the newly created space theme is set to Documentation Theme. Alternatively, you can set the global theme as Documentation Theme and customize the color scheme as intended or just select the existing customized color scheme. This way when you create a new space, the color scheme will automatically be set according to the global color scheme.

Hope that clarifies.


author: Matthew J. Horn
body: I'm pretty sure when you select a custom theme (like Documentation), you are essentially saying to Confluence that the color scheme should be ignored.
Default Theme not working properly after migration form 3.4.9 to 4.1.9
Asked by David:

Hello,

We just performed a Confluence migration on our test environment from v3.4.9 to v4.1.9 and all went well. All plugins were updated and pages display fine. However in page Edit mode the layout is all messed up: imagine a 4 cell table where the header is in the top left cell and the content in the bottom right, the other two cells are empty.

We did not customize the default theme to avoid any issues between migration in order to upgrade frequently.

We need to migrate to v4.1.9 and not later as some used plugins are not yet compatible with later versions of Confluence.


Answers:
author: Nawaz Quadri
body: Don't know the exact reason for that, but I too faced the same issue while upgrading from confluence 3.5 to 4.2.1. In our case we were having a customized global Layout. We reverted back the Global layout to default. That helped us to resolve the issue. Go to Admin\>Look and Feel\>Layouts and see if you have a custom global layout. Try to revert back to default layout and then cutomize the Global layout according to your need.

Hope this helps

comments: author: David
body: Hello,

There was a customization referring to editor-capatcha.vm \& editor-setting.vm but these files did not exist in Confluence 4.1.9 installation directory. To fix this, we executed the following query against the database:  
{code}select \* from decorator;{code}  
Save a copy of the customization just in case. And then, delete it:  
{code}delete from decorator; {code}  
After that, restart Confluence.

This fixed the issue.


author: K Kelly
body: Is there a need for upgrading at this time? If not, you may want to delay your upgrade until the new RTE that replaces wiki markup is more robust and stabilized. If you use PDF export, there are issues as well.

Food for thought...


author: Matthew J. Horn
body: You say you didn't customize the default theme, but does that mean you didn't touch the layouts only? Or did you also avoid touching the CSS files that are used by Confluence? Or load any additional CSS files?
Attachments changing path affecting Image Map
Asked by Rich James:

Hey guys,

I'm relatively new to Confluence, so this might seem a really dim question, but I need to ask it none the less.

We use image maps to navigate some of our spaces, and the image is hosted as an attachment on the page. Spordiacally the image URL seems to change and the image doesn't load up. Is there something that can be done to stop this?

Thanks,  
Rich


Answers:
author: Matthew J. Horn
body: I havent seen this particular issue. If I have images that I use on "landing" or "navigation" pages, I usually put them on the web server and then point to them with an IMG tag in an HTML macro. I try not to use attachments for "global" images or images that may need to be reused across multiple pages.
How to change the default template to be used for a specific space in Confluence?
Asked by Sorin Sbarnea (Citrix):

How to change the default template to be used for a specific space in Confluence?

Not: if this is not posssible: is there an URL that I can hyperlink for creating a new page in a specific space using a specific template?


Answers:
author: Joerg Bencke
body: You can use the create-page template from adaptavist. it gives you a link to create a page, where you can use page templates (as in "space templates, added by the admin in space administration)

See : <http://www.adaptavist.com/display/Plugins/Create+Page>
Cant login into confluence with jira-Account
Asked by Thomas Gorgels:

Hello,

some minutes ago i try to make a jdbc-connection to login into confluence with my jira account

i use this manual for using this.

<https://confluence.atlassian.com/display/CONF210/Delegate+user+management+to+use+JIRA+logins>

In the log files there is no special entry for jdbc fails or like that.

i just cant login. Please help me

MfG


Answers:
author: Sumit Kumar
body: If you have done all these steps you should be able to login

* [Step One: Installing Confluence](https://confluence.atlassian.com/display/CONF210/Delegate+user+management+to+use+JIRA+logins#DelegateusermanagementtouseJIRAlogins-StepOne:InstallingConfluence)
* Step Two: Setting up a Datasource to JIRA's Database
* [Step Three: Installing the JDBC Driver](https://confluence.atlassian.com/display/CONF210/Delegate+user+management+to+use+JIRA+logins#DelegateusermanagementtouseJIRAlogins-StepThree:InstallingtheJDBCDriver)
* [Step Four: Modifying osuser.xml](https://confluence.atlassian.com/display/CONF210/Delegate+user+management+to+use+JIRA+logins#DelegateusermanagementtouseJIRAlogins-StepFour:Modifyingosuser.xml)
* [Step Five: Customising osuser.xml](https://confluence.atlassian.com/display/CONF210/Delegate+user+management+to+use+JIRA+logins#DelegateusermanagementtouseJIRAlogins-StepFive:Customisingosuser.xml)
* [Step Six: Modifying atlassian-user.xml](https://confluence.atlassian.com/display/CONF210/Delegate+user+management+to+use+JIRA+logins#DelegateusermanagementtouseJIRAlogins-StepSix:Modifyingatlassian-user.xml)
* [Step Seven: Creating Confluence Groups in JIRA](https://confluence.atlassian.com/display/CONF210/Delegate+user+management+to+use+JIRA+logins#DelegateusermanagementtouseJIRAlogins-StepSeven:CreatingConfluenceGroupsinJIRA)
* [Step Eight: Activating External User Management](https://confluence.atlassian.com/display/CONF210/Delegate+user+management+to+use+JIRA+logins#DelegateusermanagementtouseJIRAlogins-StepEight:ActivatingExternalUserManagement)


author: Benjamin Horst
body: If you are not able to log into Confluence with your username, is your Confluence user in the confluence-users group?

comments: author: Thomas Gorgels
body: Yes my user from jira is in both of these groups.


author: Thomas Gorgels
body: It just say username or password is wrong.

additional i cant login with my confluence accounts.


author: Benjamin Horst
body: Do you get an error message or does it just try to log you in for ages without any feedback?


Tags: jira

login

user-management
Insertion of multiple users in group
Asked by Arantxa Lacasa Madero:

Hello!!

We need to insert too many users in one group in Confluence. We have an excel with all of them, and would like to know if there is any way to do it all at once.

These users are from ldap.

Thanks!


Answers:
author: Benjamin Horst
body: Hello,

I am unsure if I understood you correctly. You are using LDAP for your confluence authentication and you now want to add those users to a Confluence group, right?

In Confluence 4.2 you can add members to a group by entering a comma seperated list of those users.

So, provided all users in your excel have the same name in Confluence, you'd have to create a comma seperated list of all usernames in your excel out of that excel sheet.

Depending on your excel version this link might help you:

<http://www.ozgrid.com/forum/showthread.php?t=59234>
The Atlassian Marketplace server is not reachable
Asked by Michael Regelin:

We have a Confluence 3.5.13 installation.

I have installed the upm 2.3 version.

Now, i get the message:

The Atlassian Marketplace server is not reachable.

Our server is behind a reverse proxy and we have opened a specific port to allow confluence to browse : <https://plugins.atlassian.com>. But it seems not to work.


Answers:
author: Michael Regelin
body: Hello Stefan, hello Hanis,

sorry for being so late in answering your posts.

The issue was not a firewall issue nor reverse proxies.

It was only the fact that our security team as generate a specific ssl keys that exclude so many sites.

so I asked to also include the new certificates from [marketplace.atlassian.com](http://marketplace.atlassian.com).

And everything went ok after ;-)

anyway, thanks a lot for your posts.

sincerly,

Michael


author: hsuhailah
body: Perhaps the following KBs could help:

- <https://confluence.atlassian.com/display/CONFKB/Universal+Plugin+Manager+Firewall+Configuration>

- <https://confluence.atlassian.com/display/CONFKB/Universal+Plugin+Manager+is+Inaccessible+or+Does+Not+Show+Any+Plugins>


author: Stefan Kohler
body: Try adding <https://marketplace.atlassian.com> to your firewall as well.  
Since the release of marketplace all the urls are redirected from *plugins* to *marketplace*.

Cheers


author: Serena Kirillova
body: Same problem as you have, we are running reverse proxy (nginx).


Tags: universal-plugin-manager
Looking to customize the renderChildren() macro used near the bottom of each page
Asked by Atanas Vasilev:

Hi,

I need to slightly modify the renderChildren() macro that is being used in the default page layout: I need to display all pages, but with their children recursively.

The end effect being something around the output of this wiki markup:

```
{pagetree:root=@self|excerpt=true|expandCollapseAll=true}
```

Showing page excerpts and collapse\|expand links is not really that critical. The most important aspect for me would be to include children's children in the output.

One of the considerations is that I want this customization made at the space leve. I don't want to mess around the site-wide configuration. Currently I've edited my space page layout and commented out the #renderChildren() invocation alltogether. The negative side of this approach is that now I need to edit every page and manually add the above snippet in order to have recursive children of the current page.

So I wondered if there was any other way to automatically get this effect for all pages of my space - may be the #renderChildren() macro accepts configuration arguments? Unfortunately I'm not conversant with the internal macro syntax, nor did I have any luck googling around regarding this toppic :(


Answers:
author: Remo Siegwart
body: You could render the pagetree macro in the layout with ***$helper.renderConfluenceMacro()***:

```
##renderChildren()&lt;div id="children-section" class="pageSection children-showing group"&gt;    &lt;div class="section-header" style="padding-left: 0px;"&gt;        &lt;h2 id="children-section-title" class="section-title"&gt;Child Pages&lt;/h2&gt;    &lt;/div&gt;    $helper.renderConfluenceMacro("{pagetree:root=@self|excerpt=true|expandCollapseAll=true}")&lt;/div&gt;
```

Hope this helps

comments: author: Atanas Vasilev
body: Thanks Remo! Worked like a charm. I wasn't familiar with the helper interface.
build cache could not find configuration
Asked by Thomas Gorgels:

Hello,

some minutes ago i have installed confluence on my debian server.

It works but the log file say this:

/confluence/data/atlassian-confluence.log

2012-06-22 09:04:22,175 WARN \[main\] \[sf.ehcache.config.ConfigurationFactory\] parseConfiguration No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/confluence-2.10.4-std/confluence/WEB-INF/lib/ehcache-1.2.3.jar!/ehcache-failsafe.xml

what can i do against it ?

Please help me.


Answers:
author: Dennis Kromhout van der Meer
body: Those warnings are harmless, so there's nothing to worry about.

The ehcache warnings are a result of us removing Confluence Coherence Cluster technology from the standalone instance, but this should not cause any problem in terms of performance or anything.

Confluence 2.10.4 is also very old, it has been marked End of Life for a while: <https://confluence.atlassian.com/display/Support/Atlassian+Support+Offerings#AtlassianSupportOfferings-EndofLifePolicy>

comments: author: Thomas Gorgels
body: And what is with this log entry ?

2012-06-22 08:00:07,377 WARN \[http-8080-3\] \[sf.hibernate.cache.EhCacheProvider\] buildCache Could not find configuration \[com.atlassian.user.impl.hibernate.DefaultHibernateUser\]; using defaults.


author: Dennis Kromhout van der Meer
body: This error is also know to occur on Confluence 2.10.4, which we unfortunately do not support anymore, sorry about that. Which version of Tomcat are you using? What instructions have you been following to install Confluence on Debian?


author: Thomas Gorgels
body: I have followed these instructions

<https://confluence.atlassian.com/display/CONF210/Installing+Confluence+Standalone+on+Unix+or+Linux>


Tags: build

cache

configuration
Is it possible to change the page layout of the space using "Documentation theme"
Asked by Nawaz Quadri:

We are using Documentation Theme in one of the space. However we wanted to hide the child pages shown on all the pages. This can only be done by changing the scripts used in Page layout of the space. However I have noticed that if a space is using Documentation Theme, I can not change the layout of the space. Can you please help me in changing the layout of an space using Documentation Theme


Answers:
author: Mark Mackay
body: You can do this using CSS -- add this to the Space Stylesheet (found under Space Admin).

```
#children-section { display: none; }
```

The links will still be visible in the source code, but won't display to users.

comments: author: Nawaz Quadri
body: Thanks Mark, that helped.
Layouts in Confluence for a html page is not loading properly. Is there any solution to fix it?
Asked by Madhanaa Rajendran:

In confluence, header and footer of a html page is not loaded. Which means the layout of the page is not loaded prrperly. How can i fix it? Please help me out.


Answers:
author: Dennis Kromhout van der Meer
body: Are you talking about that the default Confluence layout is not loading? Or do you mean that you're trying to define a custom header and footer?

comments: author: Madhanaa Rajendran
body: Yes. We are customizing the layouts. Those are not loading properly.


author: Madhanaa Rajendran
body: Sorry. For the above mentioned issue, we are not customizing the layouts. Its using the standard layouts only.


Tags: cloud

confluence-cloud
Confluence searchbox customization
Asked by poonam chaudhari:

In chrome it looks:

![](../../../upfiles/chorme.jpg)

In mozilla it looks:

![](../../../upfiles/mozilla.jpg)

I am applying css to the seachbox to change its look but its working in mozilla not in chrome.Searchbox appears different in chrome.I have attached the screenshot for your reference.CSS code i am using is :

background: none repeat scroll 0 0 #FFFFFF;  
border: 1px solid #E24C30;  
border-radius: 5px 5px 5px 5px;  
height: 23px;  
padding: 1px 9px;  
width: 380px;


Answers:
author: Dennis Kromhout van der Meer
body: Are you sure that you're doing this on OnDemand? As we do not allow css customizations due to platform restrictions. Next to the css rules, can you please provide your full css including the css selector that you're using? It might be that Chrome is not succesfully picking that up.

comments: author: poonam chaudhari
body: Yes.I am doing all the changes in custom Stylesheet.I am not using any css selector. i am just changing the confluence  
#header .quick-search-query {  
width: 13em;  
}  
class to  
.quick-search-query   
{  
background: none repeat scroll 0 0 #FFFFFF;  
border: 1px solid #E24C30;  
border-radius: 5px 5px 5px 5px;  
height: 24px;  
padding: 0px 9px;  
width: 382px;  
margin-top:6px;  
}   

.quick-search-query {  
width: 29em;  
}  
which works in mozzila but not in chrome.


author: Harley Flanagan
body: for chrome:  

input\[type="search"\]::-webkit-search-decoration,  
input\[type="search"\]::-webkit-search-cancel-button,  
input\[type="search"\]::-webkit-search-results-button,  
input\[type="search"\]::-webkit-search-results-decoration {  
display: none;  
}  
input\[type="search"\]{  
-webkit-appearance: none;  
-webkit-box-sizing: content-box;  
outline:none;  
}

comments: author: poonam chaudhari
body: Thanks a lot it works..


Tags: cloud

confluence-cloud