youngmon/atlassian-qna huggingface dataset:
empty sidebar in default theme
Asked by MWS:

Hi there,

after upgrading to Confluence 5.1.1 (from 4.x) the new space sidebar is empty on my installation. In order to access the space administration I have to switch from default theme to documentation theme.

A similar problem has been reported in <https://jira.atlassian.com/browse/CONF-28566>

Unfortunately, that ticket's resolution has not been published.

Any help would be appreciated.

Cheers

Michael


Answers:
author: Ryan Goodwin
body: Hi Michael,

The support case was not resolved and timed out with no response from the customer. I've added a comment there for a solution that I've found has worked for me many times when the new theme is misbehaving:

[https://jira.atlassian.com/browse/CONF-28566?focusedCommentId=469764\&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-469764](https://jira.atlassian.com/browse/CONF-28566?focusedCommentId=469764&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-469764)

Follow the steps there and let me know if your sidebar returns!

Hope that helps!


author: MWS
body: After configuring atlassian-confluence.log in WEB-INF/classes/log4j.properties I found the solution:

The database user was lacking the CREATE TRIGGER privilege.

Anyway, thanks for your help, Ryan.

comments: author: Ryan Goodwin
body: Nice find! I hope that saves someone hours of troubleshooting :)


author: Metin Savignano
body: I've had the same symptoms after updating to 6.3.1. In addition to the empty sidebar, I couldn't see any spaces in the drop down menu.

Turned out, not all files in the installation directory were owned by the confluence user. The solutions in our case was

```
sudo chown -R confluence /opt/confluence
```

Maybe it helps someone else.


author: MWS
body: I did the following:

* Set the Theme to default
* Set all Layouts to default
* Verified that Global Stylesheet is empty
* Verified that Custom HTML is empty
* In Space Tools
  * Set Current Theme to Global Look and Feel
  * Set all Layouts to default
  * Verified that Stylesheet is empty
* Verified that database table "decorator" is empty

No success so far. The sidebar is still empty.

I even enabled safe mode so that all user-installed plugins were disabled.

What else is there to check?

Michael


Tags: confluence-administration
Table of contents is changing color
Asked by Natalie Grant:

Hi, my table of contents macro sometimes shows black and sometimes blue -- and on one page it's doing a weird combination of both. Does anyone know how I can fix this? I don't see a color option on the macro editor.

This is confusing, as on some pages the table of contents does not look hyperlinked to users because of the changing color.


Answers:
author: SarahA
body: Hallo Natalie

This sometimes happens because the headings themselves (the ones that the toc is based on) have some hard-coded colour codes applied to them. The headings can acquire colour codes if you paste them from another document, for example.

To fix the problem, try clearing the formatting on the headings: edit the page, select the heading, then choose the "More" formatting option in the editor toolbar (the big A with a little a next to it) and choose "Clear Formatting" from the dropdown menu.

I hope this works!

Cheers

Sarah

comments: author: Natalie Grant
body: Great, thanks so much!


author: Eduard Seifert
body: That helped. Thanks.


author: Britta T.
body: Thank you so much! It did the "trick"!


author: Eduard Seifert
body: That helped. Thanks.


Tags: cloud

confluence-cloud
Chart macro not displaying correct x-axis dates
Asked by Karie Kelly:

I am using the timeseries chart macro, Day, with mm/dd/yyyy. My two columns are Day and Activity,

Day has data such as 04/07/2013, 04/14/2013, 04/21/2013 and Activity has 4,8, and 9 respectively.

When the chart displays, the x-axis shows 00/07/2013, 00/14/2013, 00/21/2013. I've changed the chart type and any place that there is an x-axis to display the date as mm/dd/yyyy, it shows as 00/dd/yyyy. The only chart that displays the date correctly is a pie chart. For bar and line charts it shows the mm/dd... correctly - it just doesn't render the year.

We wanted to use the time series because we are going to graph data across years; thus the full date format is important.

Does anyone know how to resolve this issue?


Answers:
author: Bob Swift (personal)
body: Shouldn't you be using MM for month? mm means minutes?

comments: author: Karie Kelly
body: Yep - that's it! Thx.


Tags: confluence-administration
Using excel file to display confluence chart, how to define locale settings?
Asked by Quentin Rubis:

Hi,

I'm using this markup code to create a chart from an excel file

```
{chart:type=line|3D=false|title=My title|dataDisplay=true|width=900|height=300|domainaxisrotateticklabel=true|legend=true|yLabel=Seconds|dataOrientation=vertical}{viewxls:name=myfile.xlsx}{chart}
```

myfile.xlsx is an attachment of my confluence page.

My problem is the following, the .xlsx file contains float var like 40.656 but the chart read it like 40 656 !

Is there any way to fix that? Like changing the locale or something?


Answers:
author: Quentin Rubis
body: No idea?

Is there any Atlassian guy that can answer?
Confluence Wiki - Mixed Case text creates a link. Can you turn this off?
Asked by Jon Anderson:

When someone posts something in mixed case, example McAlester it auto creates a link to add a page. Is there a way to turn this off? If you edit the page and unlink the hyperlink it still relinks it after you hit save.

We are on 3.5.14


Answers:
author: Steffen Heller
body: What you describe is CamelCase linking.

You can prevent a single CamelCase word from becoming a link:

<https://confluence.atlassian.com/display/CONF34/CamelCase+linking#CamelCaselinking-PreventingaCamelCaseWordfromBecomingaLink>

Or turn it off completely:

<https://confluence.atlassian.com/display/CONF34/Enabling+CamelCase+Linking>

comments: author: Jon Anderson
body: Thank you so much!


author: Jon Anderson
body: This appears to happen only if you do upper, lower, upper:

Examples:

McAlester

McccccAlester


Tags: confluence-administration
Problems with sql plugin
Asked by Bruce Schlueter:

Hi folks,

I am running into problems running the sql plugin. My problem may be a limitation I dont know about but perhaps you know a way. What I am trying to do is build a list containing page title, author, creationdate, number of likes, labels etc.

To solve this I want to use temp tables. This works fine if I run the query directly on my database. If I put this query inside the plugin it just wont work. I found out that I can only put 1 query inside the plugin.

What does not work is something like this (a simple example):

```
CREATE TEMPORARY TABLE tmp_test(c1 BIGINT NOT NULL,c2 VARCHAR (255),PRIMARY KEY (c1));INSERT INTO tmp_test (c1, c2) VALUES (1,'A'),(2,'B');SELECT * FROM tmp_test;
```

As soon as I split it up into three separate macro steps it works (If I dont use temp tables).

Is this how it should work or am I missing something? We are running Confluence 4.3.2 against MySQL.

Thanks, Bruce


Answers:
author: Bruce Schlueter
body: I found a workaround that solves my initial problem. With MySQL it is possible to do a "group_concat()" so that I can group the lables belonging to a page into one column. So there is no need to work with temporary tables.


author: Bob Swift (personal)
body: Your example works for me. Make sure you are on a later version of MySQL and the connector since I think earlier versions did not support multiple results sets (ie. multiple lines of sql separated by semi-colon). Postgres has always had that, but I am a bit fussy on when MySQL support came in.

comments: author: Bruce Schlueter
body: well we are running the latest version of the plugin 5.4.1 gainst a MySQL jdbc 5.1.11. So I do believe we are quite up to date. Did you run this script against MySQL or Postgres? I saw an example in the user macros with loads of SQL statements but this looks like postgres also. So there may be a trick to get it running against MySQL. I will investigate a little further.


author: Bob Swift (personal)
body: Yes, 5.5.28 with connector 5.1.22. I do use postgres mostly for examples :).


author: Daniel Borcherding
body: Hello Bruce,

I believe you should be able to create a temp table from the sql plugin. I would check that the user that you are using to query your database has the appropriate privilidges.

Bob Swiff, the creator of the plugin is a very active member on this forum. I might wait to see what he has to say about this.

If you want to contact him directly I would use the contact page from our marketplace.

<https://marketplace.atlassian.com/plugins/org.swift.confluence.sql>

comments: author: Bruce Schlueter
body: I believe I have all priviliges needed as I did the test with root. I am able to create a table if I split the lines into three separate macros. But with this the temporary tables are not visible. It looks like that each macro stands for a single connection and therefore the temp table is not visible for the next statement. :-(
Is it safe to replace embedded server.xml with previous copy during upgrade
Asked by EddieW:

I assume the answer is "as long as the underlying tomcat version is the same" but I was looking if anyone had experience.

We have a fully automated script that does all the minor little "tweaks" needed for an upgrade.

* crowd.properties
* seraph-config.xml
* JRE keystore changes
* server.xml fixes (proxy, context, thread counts)

All the rest are pretty easy sed based interactions, or a call to keytool. But the server.xml file is a bit more complex in terms of replacements, and for now just prompts the admin to make the changes manually and restart.

I would prefer to just dump the new one, and use our previous, valid one, but was curious if anyone had success or horror stories, or if anyone at Atlassian had an official stance.


Answers:
author: Ryan Goodwin
body: Hi Eddie,

The server.xml is one of those files I always copy over to my upgrade or new install locations. It's way easier to copy paste then to edit the file again. There's nothing to my knowledge that will not work as long as you're not jumping to Tomcat 7 in which case I would reference the documentation to make sure none of the parameters names have changed or similar.

Success galore, no horror. For upgrading we usually recommend copying over all of the customizations - which is a vague way of saying any file that has been modified from the original distribution - server.xml included!

Hope this helps!

comments: author: EddieW
body: Thanks @Ryan, that's just what I was looking for. I'll add server.xml to the files I just copy over.


Tags: confluence-administration
Missing attachments after Confluence space migration
Asked by Rumceisz:

Hi All,

I just migrated 3 spaces from an old Confluence to another. There were also an upgrade in an intermediate Confluence too.

The 3 spaces are migrated to the target instance but the Browse-\> Attachments tab is empty: i.e. there are no attachments listed there. Although the spaces have attachments and you can see them on the appropriate pages. So the attachments haven't lost but are not displayed on the Attachments page.

Do yo have any idea what is behind the problem? Or how to solve it?

Thanks in advance,

Rumi


Answers:
author: JohnA
body: Hi Rumi,

Hopefully this knowledge base article will help you to fix your problem with missing attachments: <https://confluence.atlassian.com/display/CONFKB/Resolve+Missing+Attachments+in+Confluence>

All the best,  
John
Hardening existing Confluence for Internet deployment
Asked by David Sidwell:

Hello all. I'm looking for advice to pass on to our (outsourced) IT support. We have a LAN Confluence working already, with Internal (private) pages as well as 1 or 2 new Spaces we wish the public to see. For assorted reasons, we are considering shfiting this whole Confluence deployment to (say) a DMZ and locking it down, so that only the 2 'customer' Spaces are viewable by "the public" - but internal people will still have the same access to the other Spaces.

Is there a Guide on preparing our Confluence for this change? I'm thinking of what used to be called "hardening" of apps in Ye Olde Days :-) Any ideas welcomed. Thanks


Answers:
author: Ryan Goodwin
body: Hi David,

One idea I know other customers have used is to have a private wiki (which you already do) where the spaces for another instance of confluence, (public with anonymous access) is used as a publish site for those spaces. The publish add-on can be used, or space export/import can be used also:

<https://marketplace.atlassian.com/plugins/com.comalatech.publishing>

The public wiki needs only an administrator, maybe a space admin or two, and then anonymous access for all your public users. This would keep the license count need to the 10 user seat not really adding a substancial cost ($10 which is donated straight to charity :) ).

Then there is no sensitive information in the public wiki, it can be placed in a DMZ area with no connections to your companies super-secret wiki and should be very easy to maintain with the add-on or using scheduled space export/import and some simple scripts.

Hope this helps!


author: JohnA
body: Hi David,

I don't believe we have any documentation for this but one method would be to use a web server or proxy to limit access to certain parts of the wiki as a further hardenning against external threats from the DMZ. For example, I would have thought that you could use Apache to prevent users from hitting any parts of the wiki that you don't want them to be able to access but I'm sorry to say that my knowledge of Apache isn't sufficient to advise on the exact configurations to use but the access control options should point you in the right direction.

Confluence provides relatively few tools to protect itself against external threats, so I would strongly recommend that you implement the usual hardenning approaches using external components to mitigate the threat before it is able to access the application.

All the best,  
John


author: David Sidwell
body: Thanks again everyone. It seems the requirments are changing and we are now looking at a subset of the pages and using Confluence on Demand. Watch this Space (see what I did there?)

I'm not across the Karma system fully, so apologies if I haven't done the right thing via you kind people.


author: Matthew J. Horn
body: Check permissions and make sure that edit for all users is off. ;)
how do you upgrade the test environment license
Asked by Bron:

Hi,

I am upgrading from confluence 2.10 to 3.5 and then on to 4.3. I am not hugely familiar with confluence. Could someone explain the steps on how to upgrade the test license or do I even need to do this? Do I need to get the credentials for the atlassian account which the licenses are associated with?

All help is much appreciated:)


Answers:
author: RianA
body: There are two types of License, one is for versions prior 3.0 and the other is for 3.0 and above. When you upgrade to Confluence 3.5, you need to upgrade your license from your account at <https://my.atlassian.com>. If you have valid license, you just need to put your server ID to generate the new license. If you are doing this for testing purpose, we would suggest you to go with Evaluation license. Hope it helps.

comments: author: Bron
body: Perfect thanks so much


author: Jim C.
body: If your license is under software maintenance, you can use a [developer license](http://www.atlassian.com/licensing/purchase-licensing#licensing-9) during the upgrade. When you are ready to put the new server into production you'd just [enter](https://confluence.atlassian.com/display/DOC/Viewing+and+Editing+License+Details) your commercial license.

comments: author: Bron
body: Thanks Jim, the license is no longer under software maintenance im afraid, it expired some time ago


author: Jim C.
body: Ok, then the [evaluation license](http://www.atlassian.com/licensing/purchase-licensing#evaluations-1) is the way to go. :)


author: Jim C.
body: Ok, then the [evaluation license](http://www.atlassian.com/licensing/purchase-licensing#evaluations-1) is the way to go. :)


author: Ramiro Pointis
body: Hi, here you have a question that it's almost the same, and has a great answer on how to from 2.10 to 4.3.

[https://answers.atlassian.com/questions/85735/what-is-the-best-upgrade-path-going-from-confluence-version-2-10-3-to-version-4-3](/questions/85735/what-is-the-best-upgrade-path-going-from-confluence-version-2-10-3-to-version-4-3)

Hope this helps.

comments: author: Ramiro Pointis
body: Oh! My bad. Actually you don't have to update your license, since license it's for amount of users and not for versions. The same license works for all versions.


author: Nic Brough -Adaptavist-
body: Unlikely, if your current data has a valid Deve/Test licence installed already, than that should travel with the data as it upgrades.

I'd still get hold of the Atlassian account though - just in case!


author: Bron
body: Thanks Ramiro, I was actualy asking about the license procedure not the upgrade procedure. Do I need o get a new license for the upgrade of the test environment?


author: Bron
body: The license on the site at the moment ran out in 09, Im guessing I need to get a new license for the upgrade of the production and then I can get a new developer license, is this correct?


Tags: licence

test

upgrade
Facebook, Twitter, Youtube export
Asked by Wolfgang Grudda:

Hi,

Is it possible, that texts/images/videos automaticly(time scheduled) posted to Facebook, Twitter, Youtube?

So I can use Confluence also as a place to plan social interactions.


Answers:
author: JohnA
body: Hi Wolfgang,

I'm sorry to say that I don't know of any solution for this at this time, short of developing a custom solution for yourself using the APIs, but in my opinion it would be great functionality for a plugin developer to build as an extention for Confluence so I'm surprised none of the developers in our ecosystem have taken up the challenge yet.

All the best,  
John


author: hainam
body: N?u ae c? nhu c?u [buff view Twitter](https://buffview.com/buff-view-twitter/) uy t?n, gi? r? c? th? tham kh?o t?i buffview.com


author: Wolfgang Grudda
body: ok, write me all details of your help: [wolfgang@grudda.de](mailto:wolfgang@grudda.de)

comments: author: Ellen Feaheny [AppFusions]
body: Ok - just sent to you.


author: Wolfgang Grudda
body: Hi Ellen,

how can you help me with this idea?

All the best,

Wolfgang

comments: author: Ellen Feaheny [AppFusions]
body: By creating a bespoke plugin(s) with these capabilities.

Doesn't seem like it would be that complicated. Contact us offline. [info@appfusions.com](mailto:info@appfusions.com)


author: Ellen Feaheny [AppFusions]
body: We'd be happy to help on this if this is a big need in your org Wolfgang -

Indeed interesting/good idea.

Best,

Ellen

[info@appfusions.com](mailto:info@appfusions.com)
Can not login to confluence
Asked by ajeet kumar tiwari:

I installed trial version of confluence5.1.2 few days back. That fine day I could login well. Now I have uninstalled then re installed the login doesn't seems to be working. Also, thr forgot password gives a message "Sorry, you can't retrieve your password as no email service has been configured for Confluence. Please contact your [administrators](http://localhost:8090/contactadministrators.action) for assistance." wherein the clicking the administrators I get a mesage "Please enter information about your request for the site administrators. If you are reporting an error please be sure you include information on what you were doing and the time the problem occurred.

No mail server has been configured so it is not possible to contact the site administrators via this method."

Pls if Anyone could advise.


Answers:
author: ajeet kumar tiwari
body: Yes, after deleting from the registry and then a fresh install helped me login with a new credentials.

Thanks


author: ajeet kumar tiwari
body: The issue stands resolved. Not sure how to close it

comments: author: Nic Brough -Adaptavist-
body: Mark one of the answers correct


author: ajeet kumar tiwari
body: Hey Nic, Sorry to post through my colleague id. It was myself Ajeet who posted.

Anyways, its seems I got the tick mark sign and clicked it.


author: On the Line
body: Pls let me know where do I mark the answer correct

comments: author: Nic Brough -Adaptavist-
body: Next to the answer, there's up/down votes and "mark answer correct". This only appears if you are the original poster though, so you can't do it on this question - you're not Ajeet.


author: Nic Brough -Adaptavist-
body: For a lost password, see <https://confluence.atlassian.com/display/DOC/Restoring+Passwords+To+Recover+Admin+User+Rights>


author: ajeet kumar tiwari
body: I need to wipe out all the installation details from windows registries


Tags: confluence-administration
add custom colums to micro generated view of Jira issues
Asked by Shai Simchi:

I have a confluence view that is generated using a micro to bring in jira issues.   
My problem is it brings in default columns. When I edit the view's columns on the jira side and generate the xml url again it does not change - seems like it doesnt pick up the changes.   
I have some custom columns that I need viewable on the confluence generated view.


Answers:
author: Alex
body: Hi Shai,

In the JIRA Issues Macro (I assume that is what you are using) in Confluence, you can set the columns in the columns field. If you don't set them there, they will pull the default columns.


author: Shai Simchi
body: got it to work. can close the case.

Thanks!


author: Shai Simchi
body: I did try to set it there. but it is only bringing over the default one.   
I have a field that is there (I can set it as a column on the jira view) that is created as part of an integration with zendesk. I tried puttin the columns name there but its not working.


Tags: cloud

confluence-cloud
Confluence: How to hide the default Word export template
Asked by Chitra Patil:

We are using Scroll Office templates for our books --does anyone have an idea if we can hide the default template when selecting the "export to word" option? Appreciate your reply.


Answers:
author: Stefan Kleineikenscheidt _K15t_
body: This is how you can do it: <http://www.k15t.com/display/OFCE/Disabling+Templates>


author: Chitra Patil
body: Stefan's solution will work. Thanks Stefan!


author: Chitra Patil
body: Hi Tim  
I am afraid if I disable export to word, then I cannot export to any Word template. I am using Scroll Office template to export to Word, I just don't want the default Confluence Word export template to show.


author: Timothy
body: Go to plugins and disable Export as Word (wordexport) from Page Operations plugin. Should be under System plugins.


author: Chitra Patil
body: Hi Stefan,  
I am asking how to disable the default Word template that comes with Confluence, not disabling Scroll templates.


author: Techops FireEye
body: Hi Stefan,  
I am asking how to disable the default Word template that comes with Confluence, not disabling Scroll templates.


Tags: export

ms-word

template