youngmon/atlassian-qna huggingface dataset:
Confluence upgrade error
Asked by Anni R:

Hi!

Our company use Confluence vers. 3.4.6, but we want to upgrade above than 3.4.9. If to run the program the error message appears:

2011-09-02 14:27:39,603 ERROR \[main\] \[atlassian.confluence.upgrade.UpgradeLauncherServletContextListener\] contextInitialized Upgrade failed, application will not start: Upgrade task failed: class $Proxy33  
com.atlassian.confluence.upgrade.UpgradeException: Upgrade task failed: class $Proxy33  
at com.atlassian.confluence.upgrade.AbstractUpgradeManager.validate(AbstractUpgradeManager.java:150)  
at com.atlassian.confluence.upgrade.AbstractUpgradeManager.upgrade(AbstractUpgradeManager.java:68)  
at com.atlassian.confluence.upgrade.impl.DefaultUpgradeManager.upgrade(DefaultUpgradeManager.java:139)  
at com.atlassian.confluence.upgrade.UpgradeLauncherServletContextListener.contextInitialized(UpgradeLauncherServletContextListener.java:28)  
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)  
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)  
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)  
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)  
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)  
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)  
at org.apache.catalina.core.StandardService.start(StandardService.java:525)  
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)  
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)  
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.start(Bootstrap.java:289)  
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)  
2011-09-02 14:27:39,617 ERROR \[main\] \[atlassian.confluence.upgrade.UpgradeLauncherServletContextListener\] contextInitialized 2 errors were encountered during upgrade:  
2011-09-02 14:27:39,618 ERROR \[main\] \[atlassian.confluence.upgrade.UpgradeLauncherServletContextListener\] contextInitialized 1: Property securityPrincipal is not a valid distinguished name  
2011-09-02 14:27:39,619 ERROR \[main\] \[atlassian.confluence.upgrade.UpgradeLauncherServletContextListener\] contextInitialized 2: Property securityPrincipal is not a valid distinguished name

Should we change something in atlassian-user.xml? Or something is changed LDAP authentication? Any ideas why error message appears?

Thanks in advance!


Answers:
author: Matt
body: Please create a support request so we can identify the cause of your issue:

<http://support.atlassian.com>


Tags: upgrade
confluence attachment error ?
Asked by cigdem kufac?:

When I added the attachment to confluence, I get the following error

The following error(s) occurred:

* java.io.IOException: Processing of multipart/form-data request failed. /var/atlassian/confluence-home/temp/upload__71d0ec_131e2077667__7f85_00000046.tmp (Host is down)


Answers:
author: Azwandi Mohd Aris
body: Duplicate? [https://answers.atlassian.com/questions/9717/confluence-attachment-error](/questions/9717/confluence-attachment-error)


author: Nic Brough -Adaptavist-
body: Is your /var/atlassian.confluence-home a file share of some sort? Check that the remove file share is active...

comments: author: cigdem kufac?
body: file haven't got share. Pasive. File is normal


author: cigdem kufac?
body: what can I do ?


author: cigdem kufac?
body: I am working Pdf File. No shareing
is there a way to share content from Confluence with external customers or partners (eg without them being subscribers under our license agreement)?
Asked by michael michael:

we want to make some content from our pages like case studies, links to videos, etc available to customers who wouldn't be subscribers to Confluence. any suggestions of how to do this?

thanks

Mike Zimmerman


Answers:
author: Joe Clark
body: You can enable Anonymous access to Confluence on a per-space level (see <http://confluence.atlassian.com/display/DOC/Setting+up+Anonymous+Access>).

<br />

Alternatively, you can export the content to PDF or HTML and then provide the content in an offline fashion.
Can you create an RSS feed on a search in Confluence?
Asked by MICHAEL O'Neill:

Is it possible to create an rss feed (or even a watch) on a search in Confluence?

The idea is to create an rss for a search query so that whenever a page or comment gets added that contains valid terms for the search, the rss will be updated (or an email will be sent).

Ex: create a search for the term "foobar". Add it as an RSS feed (or add a watch to the search). Whenever a page or comment is added with the text "foobar", the rss / watch is updated.

Any ideas?


Answers:
author: vchoy
body: There is a \[open search plugin for confluence\|https://plugins.atlassian.com/plugin/details/12204\], that allows you to retreive search results as RSS or Atom feed.

Hope this helps :)


Tags: rss

search

watch
Rewrite space URL
Asked by Jose Salinas:

Hello folks!

Our Confluence instance is installed under [myconfluence.domain.com](http://myconfluence.domain.com).

I did create a space with key MYSPACE, so the complete URL to my space is myconfluence.domain.com/display/MYSPACE/Home

Now I have other domain called [otherdomain.com](http://otherdomain.com) and I would like know if is possible rewrite the URL MYSPACE.

I mean if otherdomain.com/MYSPACE can be a kind of mask to myconfluence.domain.com/display/MYSPACE.

Thanks in advance.

Regards,

Jose


Answers:
author: Radu Dumitriu
body: Sounds like you need Apache HTTPD in front of your confluence, with some virtual hosts (and possible mod_rewrite). A starting point is this one: <http://httpd.apache.org/>
making documentation available online
Asked by Gedalyah Geller:

How can i make the documentation availabe to users online? Can I set it up using a password?

Thanks


Answers:
author: Nic Brough -Adaptavist-
body: That's a little vague, but I'm assuming you mean "stuff you've written on Confluence that is documentation". Two steps - first expose your Confluence installation to the internet, and then secondly make sure it's permissions are set to demand a login before people can view any spaces.
Changing Confluence Keyboard Shortcuts
Asked by Thomas Wendel:

Hi there,  

How can I change Confluence keyboard shortcuts that are not defined in the file *editor_plugins_src.js* as described [here ("Changing Editor's Keyboard Shortcuts")](http://confluence.atlassian.com/display/DOC/Changing+Editor%27s+Keyboard+Shortcuts)? E.g. changing the shortcut for "Headings 1 to 6"?  

Cheers,  

Thomas


Answers:
author: Thomas Wendel
body: Ok, I found the solution, at least for the headings, [here](https://jira.atlassian.com/browse/CONF-21780?focusedCommentId=228496&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-228496). :-)  

The post only mentions the shortcut vor Ctrl+7. For Ctrl+1 - Ctrl+6 you have to look for the following lines:

```


for (i=1; i<=6; i++) {
    // For safari compatibility we add these shortcuts both with and without the alt/option key
    t.addShortcut('ctrl+alt+' + i + ',ctrl+' + i, '', ['FormatBlock', false, 'h' + i]); // ATLASSIAN - our format block method expects html tag names
}
```


author: Thomas Wendel
body: ```
Ok, I found the solution, at least for the headings, here. :-)

The post only mentions the shortcut vor Ctrl+7. For Ctrl+1 - Ctrl+6 you have to look for the following lines:

for (i=1; i<=6; i++) {
    // For safari compatibility we add these shortcuts both with and without the alt/option key
    t.addShortcut('ctrl+alt+' + i + ',ctrl+' + i, '', ['FormatBlock', false, 'h' + i]); // ATLASSIAN - our format block method expects html tag names
}
```

comments: author: Paul Carver
body: Can you clarify where I should put this Javascript? Do I need to install Greasemonkey?

Confluence is driving me crazy. I need to use multiple Confluence sites because I work on multiple projects and the keyboard shortcuts are different. I'll go to set a heading level and find myself on a different browser tab because in one Confluence Ctrl-1 sets a level one heading and in another Confluence it opens tab 1. In one Confluence Ctrl-Shift-b toggles list bullets in another it opens a window of bookmarks.


Tags: custom-field

keyboard-shortcut
Send registration welcome email to newly signed-up users?
Asked by Robert Collier:

Hi - is there any functionality or plugin which will allow Confluence to be able to send new users a welcome e-mail with custom text and information welcoming them to the system and giving them introduction information?


Answers:
author: Jim
body: +1 on this request. Currently we send all new sign-ups a 'Welcome to Confluence' email with links to 'Getting Started' pages, but it's a manual process. We have been hiring about ten people every week for two years now, so it's a bit tedious doing this manually.


author: Robert Collier
body: Yes -- the "Getting started" tips/tricks is what I am interested in. If you know some way to do this via a script or plugin development, would appreciate it. Users like to be welcomed to a system via an e-mail with some information on how to get started with the community and introductory information to read to get up to speed.


author: Sherif Mansour
body: Hi Robert,

We don't have this functionality right now. This is something, however that we are consideirng doing in the near-term. Just a question.. is the information you want to send them custom information? Or are you talking more about a "Getting started" tips/tricks equivilant?

comments: author: 3rdjkadjk
body: [@Sherif Mansour](/t5/user/viewprofilepage/user-id/781579) Is this feature available ? I would like to know your insights about the same .


author: Sherif Mansour
body: Sorry there is nothing built to do this yet.


author: 3rdjkadjk
body: [@Sherif Mansour](/t5/user/viewprofilepage/user-id/781579) How can one resolve this " unable to resolve class com atlassian confluence.vent.events.user ConfluenceUserCreatedEvent" i would appreciate your insight fyi i have the latest confluence


Tags: confluence-app

email
Confluence Evaluation stops working and has to be restarted
Asked by Jim Walters:

I installed the Confluence Evaluation on windows a couple of days ago and it works well for a while and then the Confluence Evaluation - Now Running screen closes by itself and the Confluence site becomes unavailable until I restart the Evaluation again.

How do I make it start and not stop?


Answers:
author: Radu Dumitriu
body: An answer depends on the question. Not enough info. No idea.

me-\>exit(0);


author: Jim Walters
body: If I click on the View Log button and watch the log, the system runs up until a point where the following message pops up in the log: WARN unclosed connection, forgot to call close() on your session?

Once this shows up, the system shuts down immediately. Everytime. This happens with no users logging in - there is no user activity at all as I'm the one evaluating the software and I'm sitting looking at this log.

What is this? It's pretty hard to evaluate a piece of software that keeps shutting down.

An ideas?
How to organize our software documentation within Confluence?
Asked by Stephan Waldschmidt:

We would like to create, maintain and manage your software-documentation with Confluence (we already use Confluence 3.5 for our intranet).

At the moment, we don't know what would be the best way to manage different versions of our documents with Confluence.

Our background is as follows:

We got around 30 applications. For each application we have more or less 3 different document types (Admin-Guide, User-Guide, Architecture-Description).

It's necessary, that we provide at least 3 different versions of each document according to the different stages / versions of each application (development, test and production).

I already read the chapter ?managing the technical documentation life cycle" in the confluence documentation, but I'm not sure if this is a good way for us. If we create a separate space for each application, we would end up with a lot of spaces. I'm not sure if this is easy to manage.

Could somebody recommend a good way to organize our documentation within Confluence?


Answers:
author: Ellen Feaheny [AppFusions]
body: There's a new book by Sarah Maddox, Atlassian Technical Writer, coming out in Feb 2012:

<http://xmlpress.net/2011/12/07/confluence-tech-comm-chocolate/>

<http://ffeathers.wordpress.com/tag/book/>

Also if you do not already follow her blog, it has a lot of insights on the topic ongoing.

Anyways, thought you might want to look out for this soon...


author: Kevin Buchs
body: You will want to see this question: [https://answers.atlassian.com/questions/8969/how-to-handle-unique-page-names-in-confluence](/questions/8969/how-to-handle-unique-page-names-in-confluence)

The number of spaces (30) is easy to manage. However, you could put it all in one space. I would be inclined to come up with specified prefixes and use those to name pages organized in a hierarchy. For example:

Top level prefix: app1, app2, app3, app4

Next level prefix dev, test, prod

So you will create pages "app1", "app2", etc. at the top of your SW documentation space.

Under those, create: "app1dev", "app1test", "app2dev", etc.

Then under each of those, create pages with the suffix of AdminGuide, UserGuide ArchDesc, so they will be named app1devAdminGuide, app2testUserGuide, etc.


Tags: content

lifecycle
moin conversion - unexpected name
Asked by Damjan Dimitrov:

Hi,

I'm trying to convert a moin wiki to confluence but i'm stuck.

Where I run the converter, in the Building Hierarchy part, I get a "unexpected name" error:

2011-08-31 11:10:41,888 INFO \[main\] - Building Hierarchy.  
2011-08-31 11:10:41,889 ERROR \[main\] - .... unexpected name: testpage/null/1 - SKIPPING  
2011-08-31 11:10:41,889 ERROR \[main\] - .... unexpected name: testpage/1 - SKIPPING

I tried with both a single page and with the entire wiki(1000 pages), but I got the same error(for each page when doing the full wiki).

I tried with setting the MoinMoin.0010.content-hierarchy-setname.property both to true and false, same results.

Many thanks for a hint,

Damjan.


Answers:
author: Philip Colmer
body: I'm also have this problem.

Does anyone have a solution?


author: John Allison
body: Me too. After that error, it continues and claims success, but only the Home (root) page is created, nothing else.

I've also tried` MoinMoin.0010.switch.hierarchy-builder=UsePagenames`

and that produces a NullPointerException.


author: John Allison
body: Me too. After that error, it continues and claims success, but only the Home (root) page is created, nothing else.

I've also tried

```
MoinMoin.0010.switch.hierarchy-builder=UsePagenames
```

and that produces a NullPointerException.


author: vivek kumar
body: Hi,

i am also facing the same issue. can anyone provide any quick help on this.

thanks

vivek


Tags: universal-wiki-converter
What to use for forums?
Asked by Matt Evered:

I need to add forum type functionality to my wiki, which is mostly a bunch of projects, and I'd like to hear people's suggestions around what to use. I've been going down the track of Bubbles but now I'm seeing OSQA used here. What are the benefits and drawbacks of each? What do you suggest?


Answers:
author: AlysonA
body: Hi Matt,

From my experience, the forum based plugin that is most used is indeed the [Community Bubbles](https://marketplace.atlassian.com/plugins/com.adaptavist.confluence.bubbles) one. I'm not very familiar with OSQA, but if you would like to know more about the benefits and drawbacks from the CB and you've already seen the [official documentation](http://www.adaptavist.com/display/Bubbles/Documentation) you can perhaps reach Adaptavist's support directly via their [Support Channel](https://marketplace.atlassian.com/plugins/com.adaptavist.confluence.bubbles/version/607/support).

Hope it helps!

Cheers.
Does Confluence 3.4.3 support Safari?
Asked by jj jj:

Does Confluence 3.4.3 work with Safari?


Answers:
author: NikE
body: Yes - Safari 4.


author: Radu Dumitriu
body: A simple search in Atl docs would reveal the answer.

<http://confluence.atlassian.com/display/CONF34/Supported+Platforms>


Tags: compatibility

safari
Replacing 'space creator'
Asked by jim kennedy:

We have many spaces for which the creator is long since left the company. If we use something like the Confluence Archiving Plugin, the notification email to the creator goes nowhere. I want to reassign the 'creation' rights and ownership to another user so that the email will go to a real account.

How do I do that?

Jim.


Answers:
author: SarahA
body: Hallo Jim

One way would be to use the Copy Space plugin, to copy each of the affected space to a new space key. That way, the person who copies the space becomes the new creator of the space. This would, however, change the URL of all the pages in the affected space.

Another way would be to add a new space, then \*move\* all the pages from the affected space into the new space. This way, Confluence will automatically fix all internal links so that they point to the new space. It will also offer people a redirect if they send a request to the original URL.

A third way would be to add the original space creators back into the userbase, as dummy accounts. Remove them from the "confluence-users" group, so that they do not have access to Confluence even if someone figured out the password. They will also then not count towards your licence count. And give them an email address that goes somewhere sensible.

I hope one of these suggestions fits the bill.

Cheers, Sarah

comments: author: jim kennedy
body: Thanks Sarah, I figured the dummy account route would be the best way to go. That's what we'll do. It's the option that impacts other users the least.

Jim.
Confluence Won't Start After Reboot
Asked by Corey Mosher:

I have confluence installed on CentOS 5 using PostgreSQL. It works great until I reboot the system and then I can't get it to start anymore. There are all kinds of connection errors in the logs. Anyone have any ideas?


Answers:
author: Robert McMahon
body: Try reading this first [http://www.catb.org/\~esr/faqs/smart-questions.html](http://www.catb.org/~esr/faqs/smart-questions.html) once you have done that stuff then someone would be able to provide a real answer or chances are you will find you answer by following the directions on that page.


author: Robert McMahon
body: {#9144}  

|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Try reading this first [http://www.catb.org/\~esr/faqs/smart-questions.html](http://www.catb.org/~esr/faqs/smart-questions.html) once you have done that stuff then someone would be able to provide a real answer or chances are you will find you answer by following the directions on that page. |


author: Nic Brough -Adaptavist-
body: What are the connection errors and when do they happen? How are you starting Confluence? Which version have you got installed? Is PostGreSQL server running on the same box? Are you checking that comes up first if you've got all the services starting on boot?


author: Radu Dumitriu
body: What kind of errors do you have? Do you start Postgres \*before\* Confluence in the rc.d ? I have a lot of ideas - most of them quite bad - but I cannot exercise my bright side unless you really describe your problem.
How to create user group with access to only one space?
Asked by Ganymede:

At Global Permissions I'm not able to specify access rights to specific Space.

When creating new space I'm not able to specify groups with rights to view Space.

Is there any solution for this?


Answers:
author: David Peterson
body: Hi there,

I'm not sure if it exactly matches what you're after, but the Custom Space User Management Plugin gives Space Admins the ability to create space-specific user groups. It doesn't help at the Space Creation stage, but could be useful after. More details here:

<https://plugins.atlassian.com/plugin/details/133>

Regards,

David Peterson


author: ket.pjwstk
body: You can use ContentPermissionManager and SpaceManager to browse all Spaces and set specific permission (view and edit), however thats pretty cumbersome.
Table of Contents - set it up globally?
Asked by Florian Gysin:

Hi  

I would like to know if it is at all possible to somehow define the global layout of pages so that each pages contains a table of contents somewhere (at the top, or like in a box/panel on the right hand side, ...).  

Until know I only know about the {toc} macro, which creates good customizable tables of contents, but has the drawback that we'd have to add this macro on each and every last wiki page. This is quite a pain to do in the first place, but beware if the preferred TOC-layout changes at some point in the future - we would have to change all pages all over again...   

So what I'm looking for is some layout option or whatever, that lets me define 'globally' (either for all spaces or just on a per-space basis) that each wiki page displays a table of content. I saw that it is possible to have some sort of 'navi frames' but only with the page-tree and not with the in-page-table-of-contents.   

I'd much appreciate any input to this point.  

Thanks!  

.f


Answers:
author: Richard Yale
body: Inside of your Administration page there is a

Edit Global Space Layout {#toc-hId-1843215838}
==============================================

Option on the left side. This will allow you to globally insert stuff into your pages. Some themes however do override these changes so you will have to choose your themes wisely.

comments: author: Florian Gysin
body: Thanks, in the meantime I figured out that I can use the space layout to insert macros ({toc} in my case) into some areas of the page...

I went for the 'Page Top' area. Now my tables of contents are all located above the page title, but its still better than nothing.
Does ContentPropertyManager automatically removes properties when ... ?
Asked by ket.pjwstk:

Let say I have Page (or other ContentEntityObject) and few properties associated to this page. Does ContentPropertyManager automatically removes associated properties when I remove the ContentEntityObject from confluence DB?


Answers:
author: Chloe Sowers
body: Where are they even stored in the database? I can't find it anywhere.


author: ket.pjwstk
body: Anyone? Any idea?


Tags: java
I'm having a warning during Confluence startup...
Asked by Leo B:

I'm getting the following warning with Confluence:

saveDocumentAtomically Unable to move E:\\Program Files (x86)\\Confluence\\homefolders\\3.4.3\\confluence.cfg.xml3292057406560942724tmp to E:\\Program Files (x86)\\Confluence\\homefolders\\3.4.3\\confluence.cfg.xml. Falling back to non-atomic overwrite

Anyone know how to resolve this warning?


Answers:
author: Jim Birch
body: I get these too. This issue <https://jira.atlassian.com/browse/CONF-15549> includes this note:

*"Atomic file updates seem to be reasonably close to impossible on Windows. We should suppress this warning message (as it's not something the admin can do anything about)."*

**Looks like you should forget it! :)**