youngmon/atlassian-qna huggingface dataset:
How do you downgrade to an earlier version of Confluence?
Asked by Felicity Chapman:

We're evaluating Confluence and unfortunately installed version 4.3. Many of the plug-ins that we need to evaluate do not support version 4.3.

Is it possible to downgrade to Confluence 4.2? and if so, how would we do this.

Is it possible to manually install the plug-ins in our Confluence 4.3 and see if they do work?

Any thoughts about the best solution?


Answers:
author: Alejandro Conde Carrillo
body: You could try this:

1. Take Space XML exports for all your spaces.
2. Install Confluence 4.2.x
3. Unzip and Open the XML sports and edit the build number so it matches the one from the version you choosed. You can find Conlfuence build numbers in this [link](https://developer.atlassian.com/display/DOCS/Confluence+Build+Information "Confluence Build Information"). Remember to zip them back once you are done with the changes.
4. Import the modified XML exports into Confluence 4.2.x

Please note that this is not officially supported, but I think this should probably work between 4.3 and 4.2.

comments: author: Felicity Chapman
body: Many thanks for your detailed instructions. If an experiment with the plug-ins in 4.3 fails, then I will try this next.


author: Jorge
body: Could you answer the similar question from 5.2 to 5?


author: Nic Brough -Adaptavist-
body: It's the same process as 4.3 to 4.2


author: Nic Brough -Adaptavist-
body: Ah, um, you can't downgrade. You can go back to the last backup you took of the 4.2 system, that's probably the best you can do.

You might be able to export everything from 4.3 and re-import it, but I don't think the process of manually downgrading the database is going to work.

comments: author: Felicity Chapman
body: Thanks for a very speedy reply. We have no backup because we installed an evaluation of 4.3 and have never used Confluence 4.2.

Is it worth trying to install the relevant plug-ins manually? I don't know how different 4.3 is compared with 4.2.


author: Nic Brough -Adaptavist-
body: Yes, you can try that. There's no guarantees, but generally, with a very recent release, the "plugin is not valid for this version" actually means "it might be, but we haven't tested it yet". Manual installation will tell you, but I'd try it in a development system first, and backup the main system before risking it (That said, I've never had a plugin trash my data - generally the ones that aren't compatible go "eek" and fall over before writing any data)


author: Felicity Chapman
body: Many thanks for your help. I will experiment with installing the plug-ins manually and see what happens. Both your answer and the answer from Alex at Atlassian are very helpful, I don't know if I can mark them both as official 'answers' or not.


author: Nic Brough -Adaptavist-
body: Alex's answer is probably the best approach for downgrading, and his point about official support is important - I have no idea how much the database has changed between 4.2 and 4.3, but he does, so it could be worth a try.

I'd still try upgrading the plugins first though. Confluence 4.3 is nicer than 4.2 :-)


Tags: downgrade
Change language for anonymous users
Asked by Bj?rn Bergqvist:

Hi

We are making a manual for our users which will be access through a anonymous login, in this manual we are using the language plugin from Bitvoodoo. But what we havent been able to solve is how to let the user change their language to see the manual in their own language? It doesnt work with fetching the users webbrowsers language as these are all set to English in our company, so we need a button or icon for the user to click on to get their desired language.

Is this even possible to achieve?

Very greatful for answers that can help us.

Regards

B. Bergqvist


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: You cant change the language unless you are logged in.

This seems a good option but currently it is in the profile menu which means you will need to login!

<https://marketplace.atlassian.com/plugins/com.atlassian.translations.jira.inproduct>

comments: author: Bj?rn Bergqvist
body: Sorry for not responding on your reply Jobin. I did read this but unfortunately I missed to reply. I hope that there will be a good option to get this to work in the future, will help alot when it comes to multilanguage help manuals.


Tags: language

translate
Unable to delete or deactivate users
Asked by Duncan Hemsley:

We have a number of users listed that we are unable to edit and this is taking us over the user limit of our licence. I think the problem is that we use LDAP authentication and the users have been removed from the Active Directory but not from Confluence. Therefore, when I now try and delete the user I just get a message stating that the user can not be found.

I have seen some posts about deactivating a user instead of deleting them, but the is no option to edit the users concerned with this issue.

Thanks,

Duncan


Answers:
author: BernardoA
body: Also you can try run this sql to deactivate users from database. Please, keep in mind that we always recommend to try through the application, but when running a sql query we recommend first to backup the database.

UPDATE cwd_user SET active = 'F' WHERE user_name in ('john', 'james', 'peter')  


author: Ivar
body: Try and remove the users from the Confluence user group.


author: Duncan Hemsley
body: Hi,

Thanks for the answers. Ended up being the option of adding a user account with the same username as teh original account to the AD, then removing from Confluence then deleting the AD account.

Cheers,

Duncan


author: PauloP
body: Hi Ducan

I believe that your case is related to the following link:

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

Also, perhaps you may try the following workaround:

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

Cheers,

Paulo Renato


Tags: user-management
Could I create a mailto link with subject that dynamically fills in the current page URL?
Asked by Benton Lam:

Hi,

I would like to create a mailto link in confluence markup that puts the current page's URL in the subject part.

For a normal mailto link, I know I could try \[mailto:foo@bar.com?subject=baz\], but I don't seem to know of any convenient way to put a macro so that I could insert the current page URL in the subject.

Any tips?


Answers:
author: heidi lund
body: This worked for me, using the reporting macro:

\[Order article\|<mailto:email@email.com?subject=Article> Request: {report-info:title\|source=@self}\]


author: Daniela Scheiwe
body: Hi! A simple macro could look like this:

```
## @noparams&lt;a href="mailto:foo@bar.com?subject=$space.getName() $content.getDisplayTitle()"&gt;Mail&lt;/a&gt;
```


Tags: email

link
Cannot delete existing Trusted Applications after upgrade
Asked by Jaime Romaguera:

Runing confluence 3.5.16

I am trying to remove existing trusted applications after upgrading from 2.10.x. Receive this message Failed to delete orphaned trust certificate: Incorrect result size: expected 1, actual 2

I followed the knowledgebase <https://confluence.atlassian.com/pages/viewpage.action?pageId=158107208>.

Ran the command on the database SELECT \* FROM KEYSTORE;

Received the output.  
123011073 jira:4494498 public RSA   
124551169 jira:4494498 public RSA   
151846913 confluence:1995330 public RSA   
151846914 confluence:1995330 private RSA  
I can remove the confluence records but cannot remove the jira records  
Followed the knownledge <https://confluence.atlassian.com/display/CONFKB/Cannot+Create+Trusted+Application+Communication+for+Cloned+Instance>  
I tried delete command on the database DELETE FROM keystore WHERE alias LIKE '%jira%'

But received this error message  
Error starting at line 4 in command:  
DELETE FROM keystore WHERE alias LIKE '%jira%'  
Error report:  
SQL Error: ORA-02292: integrity constraint (CONFL_OWNER.FKDDB119CA9C85ADB1) violated - child record found  
02292. 00000 - "integrity constraint (%s.%s) violated - child record found"  
\*Cause: attempted to delete a parent key value that had a foreign  
dependency.  
\*Action: delete dependencies first then parent or disable constraint.

Does anybody have a solution removing the existing trutsted application.

I need to removed them as they conflicting when I am trying to created new trusted relationship with jira.

If anybody could provide any assistance would be greatly appreicated

Thanks

Regards

Jaime

<br />


Answers:
author: Jaime Romaguera
body: Shutdown Confluence

1. First, back up the database, just in case ![](https://support.atlassian.com/images/icons/emoticons/smile.gif)

2. Then run these commands against the database in this order:

```
3.  delete from trustedapprestriction;
```

```
4.  delete from trustedapp;
```

```
delete from keystore where alias like 'jira%';
```

```
 
```

```
Hopefully you can now make a trusted application with Jira
```


author: AlysonA
body: Hi Jaime,

I'm not keen on Oracle, but the error is pretty clear, you need to find out the parent record that is preventing you from completing the delete statement. Also, if you're confident enough on database manipulation, you might as well drop the constraint that is being reported in the stack trace ((CONFL_OWNER.FKDDB119CA9C85ADB1), I found some instructions here: <http://www.java2s.com/Code/Oracle/Constraints/Drop-Constraint.htm>

Just bear in mind to create a database backup prior to any changes.

Hope it helps.
Problem: Calendar loading
Asked by Leap Sok:

Hi,

For some reason the calendar stop working and we have to refresh a few times to get the calendar working. Here is the following error we are getting

2012-09-21 03:59:49,421 ERROR \[TP-Processor3483\] \[atlassian.confluence.pages.DefaultAttachmentManager\] getAttachmentData Could not find data for attachment: Attachment: INTRA v.10 (1310721) jn - java.io.FileNotFoundException: /opt/confluence/.confluence-3.2.1-home/attachments/ver003/167/212/1212417/149/179/1179649/1310721 (No such file or directory)  
-- url: /download/attachments/1179649/INTRA \| userName: abc \| referer: [https://confluence.mydomain.com/display/](https://confluence.mydomain.com/display/GGINTRA/Phnom+Penh+meeting+rooms "Follow link")spacename/project_name  
2012-09-21 03:59:50,205 ERROR \[TP-Processor3483\] \[\[Standalone\].\[localhost\].\[/\].\[action\]\] log Servlet.service() for servlet action threw exception  
java.lang.ClassCastException: com.atlassian.confluence.spaces.SpaceDescription cannot be cast to com.atlassian.confluence.pages.AbstractPage

Thanks  
Leap


Answers:
author: Bruna Griebeler
body: Hi!

I'm not sure if the errors you provided are related to the calendar's issue.

Although I suggest you to perform a test, checking the last log entries in the same moment the issue occurs.

Also, this might be related to other plugins, like Global Search Filter. So if you have this plugin in your Confluence instance, please disabled it and see if there's any difference.

Cheers!

comments: author: Leap Sok
body: Hi,

Yes, you are probably right. but it was the only error when we loaded the calendar. If you look at the attachment I send you, you will see the blank page which suppose to display the canlenar. If we refresh a few times it will be displayed.

This is the calendar code defined

{calendar:id=firstmeetingrooms}

and calendar page

![](../../upfiles/Calendar1.png)
How do I make the dashboard not accessible anonymously?
Asked by Shreena Patel:

Hi there,

In your [help documentation](https://confluence.atlassian.com/display/DOC/Configuring+the+Site+Home+Page) it says you can do this, but I can't find where I am supposed to do this.

Would appreciate your help.

Thanks,

Shreena


Answers:
author: Shreena Patel
body: I went to Administration and enabled Anonoymous USE permission to Use confluence and then went to the space I wanted to be public and gave Anonoymous Viewing rights, that did the trick.


author: Mikhail Kurskiy
body: I'm intersted in that functionality too.  
Using Confluence - Server host.


author: Shreena Patel
body: I just saw that it does not apply to Confluence OnDemand but is there a way I can get around this?


Tags: cloud

confluence-cloud
AD users with restricted workstation login can't access confluence
Asked by John Rehill:

Hi all,

Not sure if anyone has come across this issue.

We have begun the process of setting all our spaces so that no anonymous users can access them, so that only users that have logged onto our network can view them.

However during this process I discovered an issue. We have a group of users in one department that have had their AD login accounts restricted to only be able to log onto two workstations. This was a department manager decision.

Now it turns out that while they can log onto a workstation, when they try to access confluence on that workstation they are denied login, a message comes up saying their username or password is incorrect.

Has anyone come across this issue and find a solution to it?


Answers:
author: Septa Cahyadiputra
body: Hi John,

We are sorry to inform you that as of now Confluence do not recognize userWorkstation attribute of Active Directory. This cause the user flagged as restricted when it try to log-in from Confluence resulting to failed authentication.

We do have an improvement request in regards to this issue here:

* [Support Confluence to recognize userWorkstation attribute of Active Directory users](https://jira.atlassian.com/browse/CONF-24811)

We highly recommend you to add yourself as a watcher so that you would be updated, vote on it to increase its popularity and please feel free to address your concern directly into it.  

For more information about how Atlassian implement New Features, please see the [Implementation of New Features Policy](http://confluence.atlassian.com/display/DEV/Implementation+of+New+Features+Policy).  

Furthermore, if this is a more urgent matter, we can refer the case to one of our [Experts](http://www.atlassian.com/resources/experts), that provide professional services and could possibly create a tailored solution to implement the functionality.  

Please let us know if there is anything else we can do for this issue. Thank you for your understanding.  

Cheers,  
Septa Cahyadiputra
Upgrade from Confluence 3.1 (on Mac) to 4.3 (on Linux)
Asked by Joe Reyna:

Our current Confluence install is version 3.1 and is running on Mac OS X Snow Leopard 10.6.3. I am trying to upgrade to the current version (4.3), but this will run on Oracle Enterprise Linux 6.2. Can you tell me what the upgrade path is from 3.1 to 4.3 (is there an earlier required version before I jump to 4.3?) and if there are any tips I should know in doing this?


Answers:
author: Harry Chan
body: Hi, always best to run this first on a test environment to make sure everything is worked out.

Refer to <https://confluence.atlassian.com/display/CONF43/Confluence+4.3+Upgrade+Notes> on notes on upgrading to Confluence 4.3.

In particular follow the upgrade procedure and note that it is recommended you go first to 3.5 and then 4.3.
How to make the documentation theme sidebar show up when rendering page on iPad?
Asked by Bob Swift (personal):

Using safari or chrome, the sidebar doesn't show up when viewing the page (regular browser mode) on an iPad.


Answers:
author: Joe Clark
body: I did some digging in the Doc Theme source code and found that the sidebar is explicitly disabled for any mobile user agent string (iPhone, iPad, Android, Blackberry, etc.). Presumably this is because the original author of the theme couldn't get it to work. Here's the offending code in doctheme.js:

```
// Don't display the sidebard on the iPhone. Will need to support other phones in the future.if(DetectMobile()) {    AJS.$("#splitter-sidebar").hide();    AJS.$("#doctheme-anchor").hide();}
```

If you're feeling adventurous, try removing this code from the bundled doc theme (unjar -\> edit -\> re-jar -\> install via plugin manager) and see what happens?

comments: author: Bob Swift (personal)
body: I only care about this for my OnDemand instance, so it has to be something that is shipped. Specifically, I would think tablet support (larger screen) should be highest priority to fix.


author: Joe Clark
body: Raised <https://jira.atlassian.com/browse/CONF-26916> - please vote/comment/watch.


author: Joe Clark
body: I found <https://jira.atlassian.com/browse/CONF-21524> but it was "Closed: Won't Fix" back when we didn't support mobile browsers.

I'll raise a new improvement/bug on [jira.atlassian.com](http://jira.atlassian.com) and see if I can get the bug-fix team to have a look at it.


author: Bob Swift (personal)
body: Done. Thanks :).


Tags: cloud

confluence-cloud
Problems with storing attachments
Asked by Pedro Sousa:

Hello,

In our installation of Confluence (Version 3.3.1), we have a space that has hundreds of attachments, and of a sudden some of these attachments were unavailable. Every time I try to view them the Confluence returns the following message:

Attached File not found

The attachment that you were trying to download could not be found. Or the file was removed manually or there was an error in removing registry attachment in Confluence.

If this attachment is no longer needed, you can remove it from the page in Confluence Attachments. Otherwise, you must attach a new copy.

-------------------------

I can not return to the client that the attachment is gone and ask them to redo the action that would cause inconvenience and loss of confidence in Confluence. Is there any way around this?

PS: The files are all recorded in the table Attachements in our Database


Answers:
author: Thiago Ribeiro
body: Pedro,

I would advise you to check the following page:

[Resolve Missing Attachments in Confluence](https://confluence.atlassian.com/display/CONFKB/Resolve+Missing+Attachments+in+Confluence)

I hope it helps you! :)
Can you suppress the message from excerpt macro for unauthorized viewers?
Asked by Ken Hymes:

Using Confluence 4.2.12.

I have an excerpt that I include on a page that is viewable by two groups, X \& Y. However, via permissions I have restricted viewing of the excerpt to group X. I notice when group Y tries to view the page containing the excerpt, instead of simply suppressing the excerpt, the following message is displayed (image attached):

The page \[page name\] does not exist.

![](../../upfiles/Excerpt_Message.PNG)

Is there any way to suppress this message? Or is there a better approach to 'hiding' content based on group permissions?


Answers:
author: SarahA
body: Hallo Ken

The "Visibility" plugin can show or hide content based on user groups:  
<https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.visibility>  
The caveat is that the content is still accessible, as described on the above plugin page.

You could use the Visibility plugin in combination with your existing excerpt inclusions. The Visibility macro would hide the ugly error message, while the inclusion does the job of hiding the sensitive content.  

Coming at the problem from the other side: it may be possible to hide the error message via CSS. You can add CSS to your spaces, as described in the documentation:  
<https://confluence.atlassian.com/display/DOC/Styling+Confluence+with+CSS>

I don't know the specific code you'd need, if it is possible. Maybe someone else on this forum can help with that.

I hope this helps. :)

Cheers, Sarah

comments: author: Ken Hymes
body: Lovely, Sarah! I'll urge our admin to install this plug-in next week and hopefully it'll resolve the issue with the messaging! Many thanks for the suggestion!!


author: Ken Hymes
body: Sarah we installed the plugin today and tested it successfully! Thanks a million -- this is a very useful plug-in!


author: SarahA
body: That's great news! Thanks for letting us know, Ken.


Tags: excerpt

message
synchronize some users jira confluence
Asked by cisco:

Hi,

is there a way to synchronize some accounts from jira to confluence, or to synchronize all users and disable some users on confluence?


Answers:
author: Alejandro Conde Carrillo
body: Hi.

This is indeed possible. When synchronizing users between JIRA and Confluence, Confluence will pull all user, but only users with "can use" permissions will be allowd to use Confluence (and will count against your Confluence license). You will need to make sure that only the users allowed to use confluence have "can use" permissions.

For example, you could have a group called "confluence-users" and have in this group only the users which are going to use Confluence. Then, from Confluence's Global Permissions screen, make sure that the other groups have no "can use" permissions.

Related links:

* [Global Permissions Overview](https://confluence.atlassian.com/display/CONF43/Global+Permissions+Overview)
* [Connecting Confluence to JIRA for User Management](https://confluence.atlassian.com/display/CONF43/Connecting+to+Crowd+or+JIRA+for+User+Management#ConnectingtoCrowdorJIRAforUserManagement-ConnectingConfluencetoJIRAforUserManagement)


Tags: user
Migrate from Ondemand to Download version
Asked by Rainer Friedl:

Hello,

I have to migrate some spaces from Ondemand Confluence to the download version. I am aware that I need the same major version to do so.

However, ondemand version is already on version 5.0 - but download is available for v4.3 only.

How can I solve this kind of "hen-egg-problem"?

Thank you in advance

Rainer


Answers:
author: LucasA
body: Hello Rainer,

I'm afraid that the only way to fix this problem is importing your Confluence spaces straight on Confluence 5.0. You can download Confluence 5.0-OD-7 from Early Access Program [here](http://www.atlassian.com/software/confluence/download-eap). Hence, I also found this [OnDemand KB](https://confluence.atlassian.com/display/ONDEMANDKB/Upgrade+to+latest+Confluence+is+preventing+us+from+importing+space+exports+from+our+local+instance+into+Ondemand) that describes the inverse way that you want to perform -- however I believe that it may help you anyway.

Best regards,  
Lucas Timm


author: Rainer Friedl
body: Hi Harry,

thanks for the quick answer. Migration worked perfectly with the Upgrade.


author: Harry Chan
body: Hi Rainer,

<https://confluence.atlassian.com/display/DOC/Migrating+from+Confluence+OnDemand+to+a+Confluence+Installed+Site> - this documentation described how to migrate from Confluence OnDemand to Confluence download version. It gives you the exact instructions you will need.

Let me know if you need anything else.


Tags: confluence-cloud

export

import

migration