youngmon/atlassian-qna huggingface dataset:
Confluence upgrade - what to do with plugins
Asked by MilanCiti:

Hello All

What would be the right way of doing upgrade of Confluence from 3.5.7 to 5.0.3 regading plugins ( this is step to target 5.5 ). Do I need to disable all plugins before upgrade or just those that are indicated in 'Confluence Upgrade Check' saying *"To proceed with your upgrade safely, we recommend that you disable these plugins, perform the product upgrade, and then upgrade these plugins after your product upgrade is complete."* So far, I have tried few scenarios unsuccessfully to do upgrade in test environment

1) all plugins disabled, upgrade failed

2) all plugins enabled, upgrade failed

3) some of them are disabled, those that suggest from page 'Confluence Upgrade Check', upgrade failed

In logs there aren't ERRORs, and especially I enable a lot DEBUG in log4j.properties file just to see and understand better what is going on during upgrade.

Moreover , I 've already asked official support in this cases with logs and discussion is on-going, but before doing one more try, please advice on this 'What to do with plugins ?'

Thank in advance for your tips/hints/support.

Regards,

Milan Stakic


Answers:
author: Theinvisibleman
body: Hey Milan, usually we would recommend that the add-ons that would be incompatible with the version you are trying to upgrade to be disabled or uninstalled. For example, if a specific add-on would not be compatible with Confluence 5.0.3, then we'd recommend that it be disabled or uninstalled.

However, as for what is going on in the upgrade itself, I'd leave it to the able hands of the engineer handling your case :)

comments: author: MilanCiti
body: Thank you fro prompt feedabck.

Ok, let's try with unistall scenario.

Regards,

Milan


author: MilanCiti
body: Hello All

After I uninstalled all user-installed plugins, I was able to do upgrade from 3.5.7 to 5.0.3, at the moment I am checking the content of our spaces, etc ...

Regards,

Milan Stakic


Tags: confluence-administration
Random and changing "Tip of the day" at the top of a page
Asked by Felipe Alvarez:

My company always has useful bits of information and knowledge which we would like to share. We are looking for a plugin or something that could put up a sentence, or phrase at the top of a particular page once per day.

The source of the sentences could be a wiki document with a list of sentences separated by new lines, or blank lines.

Do you know of a plugin like this?


Answers:
author: Guilherme Nedel [Atlassian]
body: Hello Felipe, while looking for this request, I did come through a very dated request, which pointed towards writting an [user macro](https://confluence.atlassian.com/display/DOC/Writing+User+Macros). There is a list of examples for these, after [this link](https://confluence.atlassian.com/display/DOC/Examples+of+User+Macros#ExamplesofUserMacros-Community-contributedusermacros).

Hope this can put you in the right direction. :)
Database setup for IBM DB2
Asked by Joey Jen:

```
com.atlassian.activeobjects.internal.DatabaseProviderNotFoundException: Could not find database provider for data source which uses JDBC driver &lt;IBM DB2 JDBC Universal Driver Architecture&gt;
```

We use IBM DB2 in confluence and got followed errors. Any comments?


Answers:
author: Theinvisibleman
body: Hey Joey, I think it might be due to IBM DB2 not being compatible with Confluence. I'd recommend you check out this page - [Supported Platforms](https://confluence.atlassian.com/display/DOC/Supported+Platforms) to check which platforms are supported.
Confluence User account issue
Asked by AKASH BHARDWAJ:

Confluence , User has been added to group but when he Login into his account he is again removed from all the groups to which he was added to.

There is one user which is added to Confluence admin groups, but when he login through his account. He is again removed from the group.

Please let me know what can be the root cause.

Thank you,


Answers:
author: Daniel Wester
body: Are you using LDAP directories with "Copy users on login"? If so - make sure that the user is in the correct LDAP group.

comments: author: AKASH BHARDWAJ
body: Yes, i am using LDAP Directory...


author: AKASH BHARDWAJ
body: Thank You,

### [**Daniel Wester \[Wittified, LLC\]**](../../users/24130/daniel-wester-wittified-llc/) {#toc-hId-1156196843}

**I have checked the group Synchronization, which was not allowing me to update users under spaceific groups, i have unchecked now.**


author: AKASH BHARDWAJ
body: yes I have checked "Copy users on Login", How can i check user is in the correct LDAP group?? Can you please help me on this??


author: AKASH BHARDWAJ
body: Yes, i am using LDAP Directory...


Tags: user-group
Macro code for Localgroup tabs in Navitabs plugin
Asked by Justin Leader:

Howdy! Although the code for the navitabs macro is given in [their documentation](http://www.bitvoodoo.ch/plugins/confluence-navitabs-plugin.html):
>
> ```
> {navitabs:vertical=true|root=Home|includeroot=true|firsttab=Home}Write the actual content of the page here...{navitabs}
> ```

They don't give the code possibilities for Local and LocalGroup. Could someone help?


Answers:
author: Remo Siegwart
body: The localtab macro is only available as XHTML macro, cause it uses some features that are not available to wiki macros.

comments: author: Justin Leader
body: Thanks for the quick response!

But I'm not sure I understand:

Using {localtabgroup:vertical=true\|width=300}, for example, works fine.


author: Remo Siegwart
body: We've added wiki markup versions of the macro to allow users to use the "insert wiki markup" feature of the Confluence editor. So, wiki markup code will work in places, where the wiki markup is migrated to XHTML before rendering. But it won't work in places where the wiki markup is rendered directly (e.g. in velocity templates).


Tags: addon-ch.bitvoodoo.confluence.plugins.navitabs
Can't center a table on the page in Confluence 5.5.2
Asked by R Donato:

Hello,

I can't center tables.

Here are the methods I used:

* I highlighted the entire table including one line above and below the table and pressed the center button. In edit mode, the table is centered. But once the page is saved, it's still left justified. I also tried right justifying it too to see if that would work and it doesn't.
* I then used tab which also doesn't work.
* I created a section added text that I centered then added a table in between all the centered text. Still didn't work.
* Last attemp that didn't work: on our dev server, we are testing the Confluence Source Editor macro. So I entered \<table align:center\>. Still no go.

I'd rather not create a section with three columns to center the table.

Does anyone have any ideas? Or is this a bug in Confluence?

Thanks!


Answers:
author: R Donato
body: Hello!

I continued to play with the source editor. This is what finally worked:

\<div align="center"\>\</div\>

comments: author: andreasgounaris
body: It plays well but the attribute *align* is not supported in html5.

The css corresponding property *text-align:center* does not have any effect on this

Instead, this is what plays well: *text-align:-webkit-center;*


author: Ryan Dunn
body: I am very new to Atlassian, but the above "\</div\>" did not work for me, I may have used it wrong.   

What I found as a workaround is to make the column(s) "Heading 4" and then click on Center, then publish.

No problems, all columns I wanted center are center, and "Heading 4" looks the same as "Normal Text" on our pages.

Hope that helps, sorry if my advice is a long way around, as mentioned above, I'm very new here.
Is there a way to automatically apply a particular theme or page layout (using BrikIt's Theme Press plugin) to certain page types *without* exposing all the macro/template code in the content editor the user sees?
Asked by Stacia Parfionov:

I'm currently using Brikit's Theme Press plugin to create a custom look-and-feel for our company's Intranet. We've created custom layouts for different Spaces, but are having difficulty automatically applying them to then creation of certain page types (News Articles, etc.).

We've tried to accomplish this by exporting XML generated by Tools \> View Storage Format and building a Blueprint around it.

Unfortunately, when a new page is created based on the blueprint, we run into two problems:

1) The entirety of the macro and layout code is exposed in the content editor.

2) We can't seem to make certain sections editable and others not editable.

Is there a way to set it up so that new content of a certain type where the theme/layout is automatically applied and the end-user only edits the desired content area?


Answers:
author: Robbie Lee
body: Thanks, Stacia. Kelli will help you.


author: Robbie Lee
body: Hi Stacia,

I'm having a little trouble following everything you listed, so bear with me if I ask some irrelevant questions. :) I just want a little more info to make sure I understand your issue.

Where do these pages reside? In other words, in what spaces do they exist? What layout have you associated with those spaces? If you create a blank page in those spaces, do they get the proper layout?

I need more info regarding what you mean in #1. What is the macro? What is "layout code"? Also, can you add an image of this?

Regarding #2... I'm assuming you are referring to layers/columns/blocks when you write "sections". There are some distinctions between layers/columns/blocks when you work in the brikit.layout page vs. generic pages. If I understand you correctly though, I'm not sure. :) If you file a JIRA issue with us, we can better cover the details of your problem.

Kind regards,

Robbie

comments: author: Stacia Parfionov
body: Robbie,

Thanks again for your help! Per your suggestion, I've created an issue at the following link: [](https://brikit.atlassian.net/browse/CC-614)<https://brikit.atlassian.net/browse/CC-614>

I've also rephrased what I'm trying to ask so I think it will make more sense (and answers your questions).

Hoping you all are able to advise!

Stacia


Tags: addon-com.brikit.themepress

theme-press
Upgrading confluence v4 to v5 vs migrating to SharePoint
Asked by Alex Mags:

Which would be the less difficult process?  
We've been on Confluence since v2 in 2007. We've migrated to v3 and v4. At some point Atlassian changed their schema, database collation to case sensitive and strings to unicode. The upgrade process to v5 falls on it's face when adding a new user_mapping table (expects nvarchar when linking to other tabled). Changing database collation (drop all links and indexes, change collation, switch columns to nvarchar, rebuild all links and indexes) was attempted with unsupported tools but would leave the database in an unsupportable state. Export to XML (in order to import to a database with new schema) misses a required file ([](https://jira.atlassian.com/browse/CONF-12206)<https://jira.atlassian.com/browse/CONF-12206>). And then the import process fails "java.lang.OutOfMemoryError: GC overhead limit exceeded". 4 weeks burned so far and haven't even started testing plugins on Confluence 5.

Working with Atlassian support [Reference: **CSP-124664**](https://support.atlassian.com/servicedesk/customer/csp/problem-report-124664)


Answers:
author: Nic Brough -Adaptavist-
body: We can't see your support issues, we're just end users of Atlassian stuff.

I thin the call about migrating to sharepoint is up to you, as you need to judge the effort involved in copying all the pages over and changing their format against the effort in fixing your Confluence database.

It sounds like you have a v4 database with unsupported settings, which the migration to v5 can't handle - is that a good summary?

I've run into much the same although it was on MySQL, not MS-SQL. The fix in my case was to drop the new database completely, then recreate it according to the standard settings for a new fresh v5 installation. Then I could take a standard backup of the v4 database and re-import it into the v5 one (of course, that means I've now got a v4 data set, and need to upgrade, but at least I have all the right database settings!). The reason this works is the MySQL "dump" tool doesn't do anything that clever - it simply goes over every line in the database and generates a SQL statement that would create it in an empty database. The underlying settings are irrelevant. I don't know if you could do that with MS-SQL

comments: author: Alex Mags
body: I think your solution of making a new confluence4 database and then importing the data from old confluence4 database is the way to go. Instead of the Confluence database backup to XML process I'm trying SQL Server Management Studio's "Import Data" task to copy the data into a new database.


author: Nic Brough -Adaptavist-
body: I think the trick for me was realising that the data export/import was independent of the exact storage settings. So I could get the settings correct first and then get the data across.


Tags: confluence-administration
Anyone upgraded to confluence 5 with new database schema?
Asked by Alex Mags:

Hi  
Confluence database schema changes to case sensitive and unicode strings. The upgrade process fails when adding user_mapping table (assumes all user references are unicode nvarchar). Anyone have a process to upgrade from 4 to 5? Using MS SQL.


Answers:
author: FelipeA
body: Hi Alex,

First thing is to make sure you're running Confluence with the right collation: SQL_Latin1_General_CP1_CS_AS. If you don't, then please follow this procedure: [](https://confluence.atlassian.com/display/CONFKB/Collation+Conflict+When+Creating+Pages)<https://confluence.atlassian.com/display/CONFKB/Collation+Conflict+When+Creating+Pages>Now about the data types, nvarchar, ntext and nchar, please follow this other procedure: [](https://confluence.atlassian.com/display/CONFKB/Confluence+upgrade+fails+due+to+SQL+Server+could+not+complete+schema+update)<https://confluence.atlassian.com/display/CONFKB/Confluence+upgrade+fails+due+to+SQL+Server+could+not+complete+schema+update>

Best regards,

Felipe Alencastro


Tags: confluence-administration
Restrictions not inherited by Question List
Asked by Eddy Borremans:

I would like to make use of a Confluence space with a page containing a question list that is restricted to a group. I have created a restricted page and then added a question list with the Question List macro. The question is still visible to everyone. Could this be considered a security leak? In any case, is it possible to restrict a question list to a group and/or person?


Answers:
author: BillA
body: Right now we don't have the concept of restricted questions or topics but we have an open feature request for this at <https://jira.atlassian.com/browse/CQ-364>


Tags: cloud

confluence-cloud
I have managed to un-set the landing page for a space, help!
Asked by Will Budreau:

After moving some pages between spaces, I now have the page I want as the Space landing page.

Yet when I navigate to the space, I see the "Pages" view that I have no control over, and users have to take an extra click to get to the space home page.

How do I reset the default page so that navigating to the space loads that page?

I tried the similar question here: <https://answers.atlassian.com/questions/87584/default-home-page-for-space-not-defaulting>but could not find the global setting mentioned.


Answers:
author: Will Budreau
body: Found the solution by clicking around (still couldn't find documentation on it)

Space Tools \> Overview \> Space Details \> Edit Space Details \> Home Page


author: William Zanchet [Atlassian]
body: Hey Will,  
You've mentioned that you couldn't find the documentation... Here you go!  
[](https://confluence.atlassian.com/display/DOC/Configuring+the+Site+Home+Page)<https://confluence.atlassian.com/display/DOC/Configuring+the+Site+Home+Page>  

Cheers,  
WZ.


Tags: cloud

confluence-cloud
Restrict a specific group of pages to a specific group of users
Asked by Katherine Harry:

I'm trying to restrict a group of pages to a group of users. I know if i restrict a parent page that restricts all the child pages. My issue is some child pages I need that group of users to be able to view, but others they should not be able to view. I haven't found a way to do this..


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

I believe this can be achieved only by restricting the entire space and then going to the specific pages you'd like and granting view permission to the specific groups you'd like.

For example:

Restrict the space A to only the space administrator to see.

Go to some page inside the space and go to page restrictions, then grant view permission to the page to the group.

Then login with someone of that group and you'll be able to see the space and the page you have permissions and the subpages as well.

Cheers,

Rodrigo

comments: author: Katherine Harry
body: Right, that is what I am doing, but in this way I have to go through page by page and set restrictions. I was curious if I could group together specific pages somehow...that aren't parent/children pages of each other and restrict them to a group.


author: Rodrigo Girardi Adami
body: Hi Katherine,

Thanks for clarifying. I couldn't find this functionality in confluence. as far as I know, it's only possible to give restrictions page by page if they aren't parent/children of each other.

I believe if there were a way to group the pages in a temporary list and grant them the restrictions you'd like, this would work for you right?

If this is the case, then we can open a feature request for you to ask the developers to implement this functionality in the future.

Could you describe with your own words the functionality you expect to have in confluence? I can open a feature for you :)

Cheers,

Rodrigo


Tags: page

permission

restriction
Copy Space Plugin and Confluence 5.5.x
Asked by Dirk Bromberg:

Hi,

The Upgrade check warns for an incompatible way with Copy Space Plugin 2.3 and Confluence 5.5

Is it so? Has someone tried it?

What is the preferred way to clone spaces?

Thanks!

Regards,

Dirk


Answers:
author: Davin Studer
body: I have 5.5.2 in my test environment and just copied a space. It seemed to work just fine. If you have a test environment I would give it a shot there first, but often times addons still work even though they says they are not compatible. Usually it just means the addon author hasn't fully tested it yet and gone back to the marketplace to update the listing. If the underlying API's haven't changed much then most likely the addon will still work after an upgrade.

comments: author: Dirk Bromberg
body: So I've upgraded and yes it works fine.


author: Suren Raj
body: Hi Dirk,  

Copy space plugin 2.3 is not compatible with Confluence 5.5 according to this link: [](https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugin.copyspace/versions)<https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugin.copyspace/versions>

That's why you can see the warning.

You can read this KB on how to clone the spaces manually: [](https://confluence.atlassian.com/display/CONFKB/Copy+or+Rename+a+Space+in+Confluence)<https://confluence.atlassian.com/display/CONFKB/Copy+or+Rename+a+Space+in+Confluence>

<br />

Regards  
Suren

<br />

[](https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugin.copyspace/versions)

comments: author: Theresa Adams
body: Suren, can you tell us how Atlassian is copying their spaces for documentation?


author: Paul Herwarth von Bittenfeld
body: Hi all, I've created an issue here: [](https://ecosystem.atlassian.net/browse/CPSP-70.)<https://ecosystem.atlassian.net/browse/CPSP-70>. Maybe you want to support it with your vote.


Tags: confluence-administration
"Excerpt include" from template
Asked by George Best:

Hi!  
The Exerpt and Except include macros work great, but even though I'm able to add an Excerpt macro to a template, I'm unable to find that excerpt with the Excerpt include macro on the same space.

I'm using Confluence 4.3.7. What could I be doing wrong?


Answers:
author: Davin Studer
body: Templates are not pages yet and thus you cannot include an excerpt from a template.
Connect Confluence with Jira
Asked by Andreas Fernstrom:

Hello,

I have downloaded both Jira and Confluence with team calander to run a demo of how you could connect the tools and connect ongoing requirements with user story writing and then add this to Jira.

The problem I'm having is that I cannot get the access right to create an issue in jira, nor search issues in Jira from Confluence. I'm always gettingt the " You are not permitted to create a Jira issue" or " Jira could not find your "Issue" when searching. It seems like I don't have got the setup correctly.

I've tried to follow your guides, but still without any good result. I need to get this to work to be able to demo this to my team.

<br />

Could you please assist?

regards,

Andreas


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

It seems that is permission issue indeed. Can you please don't fill-up the Basic Access field? If you fill-up that field, it will pick up the permissions of this specific user.  
Cheers,

WZ


author: darylchuah
body: Hi Andreas

Can you please try to re-create the application link via OAuth authenfication between Confluence and JIRA and see whether the problem is still reproducible or not ? Make sure you remove the current/existing application link with first.


Tags: confluence-administration

jira
Is it possible to make Activity Stream shows only activities in child pages of a certain parent page?
Asked by Katarina Kim:

I want to see only recent activities related to a parent page and its children, not all related to specified spaces.

There's a property of Activity Stream Gadget to filter activities by space ("Spaces" property), but I want to filter contents by a page and its children in a space.

Is there any good idea?

Any help will be very appreciated.


Answers:
author: Guilherme Nedel [Atlassian]
body: Hello Katarina, you can restrict the content currently by Space where the activity stream is embedded, there is a parameter for that as decribed [our documentation](https://confluence.atlassian.com/display/DOC/Activity+Stream+Gadget).

That being said, there is an improvement request for this feature [documented here](https://jira.atlassian.com/browse/CONF-33806).


Tags: activity-stream

child-page
Confluence - Embedded PDF won't display PNG files
Asked by Cody Coonradt:

I have just started using Confluence, so please forgive my newness.

I imported a wide variety of PDFs. Any images contained in the PDF itself that are PNGs are not displayed at all in the Confluence viewer. The images render fine in every other PDF viewer, but not in Confluence. Anyone know if this is a known issue and if it is being addressed?

Hoping to use Confluence as a knowledge base, but this is a showstopper for uploading existing PDF documents for our support folks.

Thanks,

Cody


Answers:
author: FelipeA
body: Hi Cody,

We indeed have some open bugs about PDF rendering, you can take a look at the open bugs [here](https://jira.atlassian.com/issues/?jql=project%20in%20(Confluence%2C%20%22Confluence%20Development%22)%20AND%20text%20~%20%22viewpdf%22%20AND%20type%20%3D%20Bug%20AND%20status%20not%20in%20(Closed%2C%20Resolved)).

Best regards,

Felipe Alencastro

comments: author: David Hulbert
body: Hi Felipe,

We can't .png images in PDF docs either. When I click on the link in your answer to Cody not bugs display. Could you send another link?

Regards,

David


author: David Hulbert
body: Sorry for the missing words in my previous comment. What I meant to say was that when I export from Confluence to PDF, the .png images don't appear. When I click on the link to see open bugs in your answer to Cody, no bugs display. Can you send another link?

Regards,

David


Tags: cloud

confluence-cloud