youngmon/atlassian-qna huggingface dataset:
Confluence Upgraded - Pages Not Viewable
Asked by Drew Baldock:

We have upgraded from Confluence 3.2.1 to Confluence 4.3.3 as per the suggestion of one of the support representatives. We have pages not loading and giving a System Error with error messages:

Error rendering template for decorator root

ERROR Mon Dec 17 07:00:44 PST 2012 com.opensymphony.webwork.dispatcher.VelocityResult Unable to render Velocity Template, '/pages/viewpage.vm


Answers:
author: JohnA
body: Hi Drew,

I strongly suspect this issue will be being caused by plugins that haven't been upgraded yet, so I'd suggest that you check those and disable any plugins that are no longer compatible with v4.3.3 as this should resolve your issue.

All the best,  
John


Tags: decorator

root

template

upgrade

velocity
FUNCTION confluence.REGEXP_REPLACE does not exist
Asked by aravind:

Hi All,

In my confluence pages there are some old boken links which i wanted to update from the back end or using any other way.

I refered to this link and <https://confluence.atlassian.com/display/CONFKB/Some+Attachments+or+Links+Are+No+Longer+Accessible+After+Server+Migration>

But the step# 3 it throws error  
`mysql> update bodycontent set body = (select REGEXP_REPLACE(body, '\\|http://newserver/download/attachments/.*/', '|^', 'g')) where bodycontentid in (select bodycontentid from contentmigration);`  
`ERROR 1305 (42000): FUNCTION confluence.REGEXP_REPLACE does not exist`

I could understand that the function is not built-in in mySQL like Oracle.Is the function available in some repository.

Could any one please help me in resolving this .Also please let me know if there is any other way to replace the link.

Thanks in Advance,

Aravind


Answers:
author: Joe Clark
body: What version of MySQL are you using? The MySQL 5.1 documentation lists some regular expression string functions: <http://dev.mysql.com/doc/refman/5.1/en/regexp.html#operator_regexp>


author: Joe Clark
body: I think you're right - the problem is that REGEXP_REPLACE is a built in function for Oracle databases.

This StackOverflow article has some suggestions for MySQL - maybe it will help? <http://stackoverflow.com/questions/986826/how-to-do-a-regular-expression-replace-in-mysql>
Custom Colour Scheme Issue After Restore
Asked by Bristow:

So I've recentley migrated my test Confluence installation (as mentioned in a previous [thread](/questions/111790/confluence-site-backup-and-restore-stuck-on-starting)), and since I've restored, when ever I create a new Space the Custom Colour Scheme I've created isn't applied.

Is this a known issue or has anyone else encounted this?


Answers:
author: William Zanchet [Atlassian]
body: Hi Bristow,  

That's weird, may I ask you if you're following this documentation: <https://confluence.atlassian.com/display/DOC/Customising+Colour+Schemes> ?  

If yes, and you're still facing this problem, I would suggest to raise a ticket in our <https://support.atlassian.com> channel to take a closer look into this issue.  

Cheers,  

WZ

comments: author: Bristow
body: I had originally set it up correctly, as it worked for every subsequent space I created after setting the custom colour scheme, but since migrating and restoring from a backup, every space I create I have to manually go in to the space and set the colour scheme. Obviously not a ground breaking bug, or really that in convenient, I'm just being pedantic.


author: RianA
body: The custom colour scheme only applied for the dashboard. If you would like custom colour for the space you need to change it manually from *Space Admin.*Hope it helps.


Tags: theme
Confluence errors in Tomcat, normal or?
Asked by Bristow:

So I've been running Confluence for a while now, currently on windows with version 4.1.3 combined with mysql server 5.0, and I've been getting the following output in the Tomcat console.

![](http://i47.tinypic.com/2q1usqw.png)

(Picture should be of Tomcat, the corporate network blocks the image url, but lets me upload it, go figure!)

I guess my question is, is this normal or is there an issue, as far as I can tell from using Confluenc is running fine as I'd guess it would be screaming a lot louder if there was an issue..


Answers:
author: William Zanchet [Atlassian]
body: Hi Bristow,  

To have a hint about the problem, try to find the line, where says *Caused by:* in that line will show what's happening.  

Here is an example:  

*Caused by: org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection*   
*Caused by: net.sf.hibernate.exception.GenericJDBCException: Cannot open connection*   

Also be aware with line lines that says **ERROR** like this:  

*2012-05-29 16:21:39,361 ERROR \[main\] \[atlassian.config.bootstrap.DefaultAtlassianBootstrapManager\] checkMySQLStorageEngineType Your database is using the MyISAM Storage Engine, which may result in data integrity issues. Please see <http://confluence.atlassian.com/x/voTcDQ> for more information.*   

I hope this helps your troubleshoot.  

Cheers,  

WZ  


author: Naren
body: Hi William, There is a Knowlege base available for the above error in Confluence, [here](https://confluence.atlassian.com/pages/viewpage.action?pageId=229182197). Hope it helps!


author: JohnA
body: Hi Bristow,

I don't see any errors in the image you've posted up there, but if you're concerned then you can use the inbuilt Log Scanner which is supplied with the Support Tools Plugin that is bundled in the application, (Confluence Admin \> Atlassian Support Tools \> Log Scanner), and you can scan your logs for known errors against our Knowledge Base. If you then find any problems or concerns you can open a ticket with [Atlassian Support](https://support.atlassian.com/), (in the Confluence project), and either myself or one of my colleagues will take a look at the problem and advise you on how to solve any issues you have.

All the best,  
John


Tags: error

tomcat
Will there be a migration path from Confluence 3.5 -> 5 ?
Asked by stuartu:

I know Confluence 5.0 is still in beta,... but will there be a direct upgrade possible from Confluence 3.5, or will we first have to upgrade to 4.x?

Thanks in advance.


Answers:
author: Alejandro Conde Carrillo
body: Normally, Atlassian recommends to upgrade to the latest mayor version number before going to a new mayor number version. This is because upgrades between mayor version are tested that way.

In your case, the path would be to upgrade to 4.3.x before going for 5.x.


author: Chung Park Chan
body: Hello Stuartu,

You can upgrade directly to version 5.0. Should not be a problem :) However, you can try the upgrade on a test environment first.

You can take a look at this guide:

<https://confluence.atlassian.com/display/DOC/Upgrading+Confluence#UpgradingConfluence-TestingtheUpgradeinaTestEnvironment>

Cheers.
Adjust editor paragraph menu
Asked by Patrick:

Question: is there any way to change the editor's paragraph menu. Now it shows 'paragraph' 'Heading 1' etc. I would like to add my own styles to it.


Answers:
author: Patrick
body: This request applies to Confluence:![](../../../upfiles/Par_styles.jpg)

comments: author: Patrick
body: Could it be that I'm the only one with this need? If not please help me out by eihter supporting this question or even better help me out with an answer...


author: Chris Ridgeway
body: +1 we've got this question too


author: Giuliano C.
body: Hello Patrick,

In order to gather a better picture to apply this request, could you please clarify which Atlassian Software do you want to apply this kind of adjust? (Confluence, Jira, etc.)

Thank you for your comprehension.

All the best,

Giuliano
Is there a way to backup a Confluence wiki into version control (GitHub)?
Asked by Peter Snider:

I'm investigating using Confluence as our company wiki.

I've used it in the past and have liked it. My company requires that all wiki content be saved to GitHub.

Is there a way to do this using Confluence? I looked at the add-ons and the marketplace, but couldn't find this.


Answers:
author: Peter Snider
body: There appears to be no way to do what I need.

I'm looking for a hosted solution, so there would have to be an API to get chang sets and updated pages.

I couldn't find either API.


author: Jason Hensler
body: I don't think such a thing exists to do exactly that but, you can piece your own solution together. I found the Confluence autoexport plugin in the marketplace. You could use this plugin to export to file on change and then have a git client sync the exported files to a repo if you need to upload this instantly.

If your site wasn't to large you could also use rest or xml-rpc to cause an export of a space to xml, or html (would include attachments) and then sync with git. This would be more of a batch bachup.


author: Giuliano C.
body: Hello there,

I'm not sure about it, but, you can perform the backup through [WebDAV](https://marketplace.atlassian.com/plugins/confluence.extra.webdav "WebDAV") integrated with GitHub.

Hope it point some light for you.

All the best,

Giuliano


Tags: backup

github
Labels functionality not working
Asked by Matt Holmes:

When creating pages in various spaces, labels are created and are uniform across projects/spaces/etc. Regardless of what labels are used, when searching by label, nothing is found ever - not for that space or any other. Essentially labels are not being recognized at all.


Answers:
author: Theinvisibleman
body: Hi Matt,

If the matter is related to searches not being able to recognize the labels, then I suspect that there could be something wrong with the index. Perhaps you should try [rebuilding your index from scratch](https://confluence.atlassian.com/display/CONFKB/Rebuild+the+Content+Indices+from+Scratch), and see if the problem persists.


author: hsuhailah
body: It does sound like the index is broken. As Joe Wai mentioned, try to [rebuild indices from scratch](https://confluence.atlassian.com/display/CONFKB/Rebuild+the+Content+Indices+from+Scratch) and hopefully that will fix the search of labels.


author: Bruna Griebeler
body: Hi Matt  

Indeed it seems like an unexpected behavior. I suggest you to look at your Confluence Log (atlassian-confluence.log) and search for some error related to "label". If you find some ERROR or Warning related to that, you can check on <https://confluence.atlassian.com> for it.


author: Guenter
body: I am currently seeing the same issue in the cloud version. Is there any chance to rebuild the index for the labels there too?

thanks

Guenter

comments: author: Guenter
body: All good. Some magic in the background has solved the issue after some hours.

thanks


author: Mick Davidson
body: We're going to be re-indexing at 1800 GMT today. I'll let you know later this evening if this resolves the issue. Cheers.


author: Mick Davidson
body: Thanks for the additional info, I'll get our tech people on to this. Cheers.


author: Mick Davidson
body: Matt,

did you get anywhere with this? I'm having the same problem and was wondering if the logs revealed anything useful.

Cheers


Tags: label

search
Problem with import from Mantis
Asked by sminchev:

Currently I am importing issues from external system: Mantis.

The problem is that although the import states that it was successful I dont see the history of the imported issues.

So for example in Mantis one could see that the issue was resolved on date XXX by user YYY. This information is not available after migration.

Could you please help me to figure it out? We like your software and is 90% probable that we would buy 50 users license for confluence and jira together.

<br />


Answers:
author: Immanuel Siagian
body: Hi Stefan,

This feature is currently not available in JIRA, however, you can follow this request from the following improvement ticket: <https://ecosystem.atlassian.net/browse/JIM-558>

You may add yourself as a watcher to receive updates.

Cheers


Tags: mantis
Unable to trash pages on a space related to CONF-21083 which is not public
Asked by Sorin Sbarnea (Citrix):

I am not able to trash pages on confluence because I get a database integrity error. I googled for it and discovered that the same problem was reported at CONF-18044 which is marked as solved but doesn't include any information about how to fix. It only links to CONF-21083 which I cannot access.

Please provide the missing information so I can solve the problem.


Answers:
author: AlysonA
body: Hi Sorin,

According to the bug report, it should be fixed in later Confluence versions. Can you confirm which version you're running?

Cheers.
Feature request: suppress all People pictures
Asked by Peter Binney:

As per <https://answers.atlassian.com/questions/27543/how-do-i-remove-the-thumbnail-image-of-the-user-from-blog-posts-and-comments>, in our (and we suspect), many environments we don't want pictures/thumbnails of People on any Confluence pages.

There should be an Admin UI switch to suppress them, rather than convoluted and version-specific jQuery and CSS to get rid of them.

PS: is there somewhere else I should raise a Feature request? This website tells you to use Create Issue but I can't find any way to categorise as a Feature request rather than some sort of Issue.


Answers:
author: Jeison
body: Hi Peter,

Feature requests are handled through issues at <http://jira.atlassian.com>. Just raise a new issue as "feature request" in the issue type, and place a good summary and description. You may also want to have a look at the Atlassian [Implementation of New Features Policy](https://confluence.atlassian.com/display/DEV/Implementation+of+New+Features+Policy).

Hope it helps.

comments: author: Jeison
body: Peter, just found an Improvement Request that may be what you need. <https://jira.atlassian.com/browse/JRA-21962>

If that's what you're looking for, make sure you vote for it, to increase its visibility, and add yourself as a watcher to keep track of the process.

Cheers!


author: Peter Binney
body: Many thanks - that's just what I wanted. Have voted there.

Sadly Atlassian didn't find that either and have also raised <https://jira.atlassian.com/browse/CONF-27553> on my behalf. I'll cross-link that to 21962 to try and reduce duplication!   


Tags: image

thumbnail

user
Can Crowd map users from different directories?
Asked by Andreas Haaken:

User Story:

We have an internal Confluence instance and one for external customers. We have two directories in crowd to seperate the people views. There are some employees working on both instances, having one account in each directory.

Is there a way to tell crowd, that 2 identities from different dirs are one identity?

background: we cannot take only one directory, as confluence makes everybody visible in the interal peoples directory. But the external customers shall only see their consultants, but not the developers.


Answers:
author: Bruna Griebeler
body: Hi Andreas

"Is there a way to tell crowd, that 2 identities from different dirs are one identity?"

I believe each user must be in one directory. However in the Application you can have more then one directory.

So in your case, you could have 3 directories: A Directory A with the users who want to access Application A, A Directory B with the users who want to access Application B, and another Directory C with the users who can access both Aplications.

Just a suggestion.

Hope it helps!

comments: author: Andreas Haaken
body: Well, after some thinking, that might help.

Or Situation is somewhat more complicated, and the story is just a brekdown of the problem, but your suggestion can help.

We have some accounts from customer A -\>Dir A

We have some accounts from customer B-\>Dir B

And we have the Support Teams, that work in bot Apps -\>Dir S

So our Confluence fopr Customer A has both dirs: A+S

Customer B has B+S

And Jira as Heart of all has A+B+S

Sounds like a solution ;)


author: Brendan Patterson
body: We have a complex scheme to achieve this.

It involves exposing users from the LDAP system to different Crowd directories. The Crowd directories leverage "User Object Filters" to acheive this meta-user-allocation and separation.

So there IS this way but it took some work.

Also read up on 'delegated authentication' to see if that helps get you towards your goal. I think it might come up short but is worth looking through -

<https://confluence.atlassian.com/display/CROWD/Configuring+a+Delegated+Authentication+Directory>

Good luck!

Brendan


Tags: crowd

user-directory
Setting the thumbnail size of an image
Asked by Timo Ballin:

It seems that atlassian an we have different ideas of "large" images.

As far as I read through the documentation and comments I understand that if I choose "small" and "medium" image preview from the image-macro, the thumbnail image file is used for display. If I choose the "large" version the original file is used and displayed - just resized on the client side.

**We need to set the size of the thumbnail - so that even the "large" preview use the thumbnail !?**

The point is we have lots of images with a resolution of 4-7k ( 4000-7000px ). Minimum resolution is 2k. And a 500px preview is not large anymore...!

And when I am thinking of "mobile" devices two diffrent thumbnail-preview sizes would be best. But I understand that this is a wish to be wished somewhere else....


Answers:
author: ga fdsf
body: i am new at image thumbnail. so can you show some tutorials for me. so that i can learn how to cusotmize and make my own [thumbnail](http://www.rasteredge.com/how-to/vb-net-imaging/thumbnail-creating/). beside any methdo on [image processing](http://www.rasteredge.com/how-to/vb-net-imaging/imaging-processing/) would be appreciated.

thank you in advanced

Lily


author: GuilhermeA
body: Hello Raketen,

Unfortunately this is not easy as modifying a parameter. You'll need to customize Confluence Source Code to achieve this. You'll need to edit the package com.atlassian.core.util.thumbnail, and some more to achieve the desired.

Or you'll need to modify the js and css, which is something that I would be lacking to give you, someone with more expertise should help you.

Cheers,

Guilherme


Tags: image

thumbnail
Capturing rating
Asked by Kavita Parab:

We are trying to capture ratings by users for a particular page or space. We did some research and have found out that rating information is stored in BANDANA table. But we are unable to identify whether it can be retrieved for a specific page/space. The format in which its available is attached for your reference.


Answers:
author: Alejandro Conde Carrillo
body: You may be interested in the [Content Survey and Reporting Plugin](https://marketplace.atlassian.com/plugins/confluence.plugins.knowledgebase.survey).
Can you tweak the Confluence search engine?
Asked by Martin Moser:

Is it possible to tweak Confluence's Lucene Search? Or even replace it? Generally our users are not very happy with it. It works ok as long as the search term is part of the page title or a label, but otherwise the overall impression is that the results are substandard.

I myself for example never use Confluence's own search when accessing their documentation but rather use Google after repeatedly not finding what I was looking for with the Confluence search but more or less instantly through Google with the same search terms.


Answers:
author: CharlesH
body: Hi Martin,

A new plugin has appeared very recently on Atlassian marketplace which offers the possibility of tweaking the search results.

<https://plugins.atlassian.com/plugins/com.hascode.plugin.search-boost-plugin>

Atlassian have also developed some improvements over the standard search: <https://plugins.atlassian.com/plugins/com.atlassian.confluence.plugins.awesomesearch/version/102000>

Over the long term, it might be better to see what these plugins offer you rather than swap out the search completely. I'm sure we''ll see improvements come through the pipeline... even a combined Confluence / Jira search one day.


Tags: lucene

search
setup wizard for Confluence 4.3.3 in ec2 fails
Asked by Volker Demel:

Hi,

I try to install confluence in ec2

I'm using a micro instance and a standard ubuntu 12.04/64bit AMI

The install goes well, the installation wizards gets the license key, asks for the database and dies after some minutes.

I tried the embedded database and PostgreSQL(9.1). The database connect worked, the wizard complained about already existing tables when I tried the install a second time.

There is no trace in the catalina or confluence logs. The server just dies :(

Could this be a resource problem in the micro instance?

Thanks for your assistance

Volker


Answers:
author: JohnA
body: Hi Volker,

I have just been checking the specifications for an EC2 Micro Instance and I'm sorry to say that if the instance you are referring to has the following specs, taken from [the EC2 site](http://aws.amazon.com/ec2/instance-types/), then it is insufficient for running Confluence:

**Micro Instance**   
613 MiB memory  
Up to 2 EC2 Compute Units (for short periodic bursts)  
EBS storage only  
32-bit or 64-bit platform  
I/O Performance: Low  
EBS-Optimized Available: No  
API name: t1.micro

Realistically, Confluence requires 768MB of memory and this would be in excess of the resources required by the Operating System and other applications required by Confluence, (such as the database, web server etc). Therefore, my suggestion based on the current EC2 options would be to migrate to a "Small Instance", as this is the next option up and it has the required specs to run Confluence satisfactorily.

**Small Instance**   
1.7 GiB memory  
1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit)  
160 GB instance storage  
32-bit or 64-bit platform  
I/O Performance: Moderate  
EBS-Optimized Available: No  
API name: m1.small

I hope this suggestion helps, because I don't believe your current instance has enough resources to successfully run Confluence.

All the best,  
John

comments: author: Volker Demel
body: Just for info, I also switched to PostgeSQL 8.4

Volker


author: Volker Demel
body: Thanks John

I switched to m1.small and confluence worked like a charm

Now I'm stuck with Jira, but that's another problem

Thank

Volker


author: Alejandro Conde Carrillo
body: Note that PostgreSQL 9.1 is not supported in confluence (see [Confuence Supported Platforms](https://confluence.atlassian.com/display/DOC/Supported+Platforms)). There is a improvement request to add support for PostgreSQL 9.1 in [CONF-25354](https://jira.atlassian.com/browse/CONF-25354).

When looking for errors is normally better to look in Confluence logs located in \<CONFLUENCE_DATA\>/logs/atlassian-confluence.log.


author: William Zanchet [Atlassian]
body: That's weird, I never saw anything like that before.  

I would suggest to download another SQL vendor, like MySQL for example.