youngmon/atlassian-qna huggingface dataset:
Migration from AD groups to local groups
Asked by Karolina:

Hello  
I have a confluence and jira connected to AD, with users and groups synchronization. Now I need to migrate to new AD with local groups.  
My company want to use local groups because in new environment we want be to manage AD.  

I have the same usernames in my new AD but I don't have groups.   
My users can login, but they don't have any permissions.  
Is it possible to move groups from old AD to act as local groups?  
I can see old groups from old AD in my database.   

Best regards  
Karolina


Answers:
author: Tiago Comasseto
body: You can migrate users and groups between LDAP directories as described [here](https://confluence.atlassian.com/display/JIRA/Migrating+Users+between+User+Directories), but it would only work if your LDAP directory is of type [internal with LDAP authentication](https://confluence.atlassian.com/display/JIRA/Connecting+to+an+Internal+Directory+with+LDAP+Authentication).

Apart of this, I can only think of direct database modification, but I would consider this option only as last resource as it's risky and may cause problems.

Cheers


author: Karolina
body: Hey,

Thank you for quick answer.   
The problem is a little bit different.

My users accounts are already recreated in new AD (they have the same username in both AD).  
I just need to migrate groups with user assignment to them.

I can't use this migration tool because I don't have write access to new active directory. New AD is used by few company's and there isn't possibility that we will get write access

In documentation that you send me, it's sad that this way of migration can't be used only for group migration.

*"Using the 'Migrate users from one directory to another' functionality*

*...*

*However, it cannot be used for any of the following scenarios:*

*? Migrating a specific set of users or one single user from one directory to another*

*? Connector User Directories --- these can be easily identified, as they have a Synchronize option*

*? Migrating groups only*

*? Migrating users without their groups"*

Is there any other solution then recreating groups manually?


Tags: active-directory

group

migration
Ad-hoc-workflow expiry date is not working
Asked by Ashwini Pal:

Dear All,

We are using ad hoc workflow on confluence pages and using

We have set the "Expiration period" in workflow parameters under workflow configuration. But the status on confluence page have not changed after the expriation period. Is there any other parameters do we need to set?

Any help would be highly appriciated.

Thanks

Ashwini Pal


Answers:
author: Ashwini Pal
body: Dear Team,

We are looking forward to hearing from you.

Thanks.


Tags: expiration
Confluence Table not exported to PDF correctly with Gliffy embedded in column (and customized CSS)
Asked by BenoitP:

Hi all,

1. Create a page with a 2 column table.
2. Embed a Gliffy in the second column.
3. Customize your CSS with the typical table workaround:  
   table.confluenceTable   
   { table-layout:auto !important;  
   width: 100% !important;  
   font-size: 10pt !important;  
   page-break-inside: auto;}
4. Limit the size of your gliffy to 301px
5. Export your page as PDF

Then your table is not rendered correctly in the PDF. The column where your gliffy is embedded is taking 90 % of the page width. It should take around 50%.

If you use the default CSS, it works ok (as it forces columns to static sizes...).

What did I miss?

Is there a special class to configure in the CSS to circumvent the problem?

Thanks.


Answers:
author: BenoitP
body: The only workaround I found is to use the .png file generated together with the gliffy instead of the gliffy itself. Then it works... but you loose the gliffy edition feature in the confluence page and you need to edit the attachements to get access to your gliffy...


Tags: cloud

confluence-cloud
Enabling HTML Macro
Asked by Ewgenij Sokolovski:

Hello, community. Do I understand it right, that if I want to embed some JavaScript in a confluence page, I have to ask our confluence administrator to activate usage of HTML Macros? And if it is activated, any user of our confluence would be able to place own javascripts on any confluence page?

Is there no possibility to restrict usage of JavaScript or HTML Macros to a restricted set of confluence users?

Kind regards

Ewgenij


Answers:
author: Luther Hargrove
body: Enabling the HTML macro isn't a big deal. This would be the way to include javascript on pages. Yes any user can use javascript on pages, but if your confluence site isn't public then what is main concern here? 99% of users are not going to do any HTML or javascript at all.

I don't think you can restrict the usage of a macro with permissions. I honestly don't think there is a need for that anyway. There are worse things that someone can do in confluence with the right permission than including a little javascript.


author: Bob Swift (personal)
body: [HTML Plugin for Confluence](https://bobswift.atlassian.net/wiki/display/HTML) provides a [HTML Macro](https://bobswift.atlassian.net/wiki/display/HTML/HTML+Macro) that can be controlled by [Macro Security for Confluence](https://bobswift.atlassian.net/wiki/display/CMSP) which can limit who is allowed to create content with the macro.


Tags: html

javascript

permission

security
Page with several jira-macro is loading for long time
Asked by Alex Kiselev _Itransition_:

Hello

we have faced following problem:

confluence 5.4.3 and jira 5.1.8 are on the same server + apache + SSL  

There are some pages with several jira-macro (from 2 to \~30). These pages are loading for a long time - much longer than pages without jira-macro.

Page with 2 jira-macro takes about 8-10 seconds.

Page with \~30 jira-macro takes several minutes.  

Is there any solution to make them to be loaded faster?

<br />

<br />


Answers:
author: Bob Swift (personal)
body: [Cache Macro](https://bobswift.atlassian.net/wiki/display/CACHE/Cache+Macro) can be used to provide better response time and lessen the impact of these requests on the servers especially if the data shown does not have to be current up to the minute.

comments: author: Elvar Bjarki B??varsson
body: As so often is the case, when there is a problem with Atlassian products, Bob Swift has made a plugin that solves it :)


author: Elvar Bjarki B??varsson
body: Ran into this problem few weeks ago. The problem was that Confluence or Jira had run out of memory and was using excessive amount of CPU. Restarting the service solved this. This was for a page that had maybe 10-20 issue macro's that took a few seconds to load before and it was taking minutes now. Even though the CPU usage was over the top nothing else regarding using the product was slow.

Like other have said, its not good practice to do this in general, better to create a issue filter in JIRA and then just paste the url into Confluence so it creates a JIRA Issue List. That means just one API call instead of one per Issue.


author: Nic Brough -Adaptavist-
body: Not really - it has to go off to the network to talk to Jira for every macro you place on a page.

comments: author: Alex Kiselev _Itransition_
body: Users said about the same page (\~30 macro):

on Tuesday 18 March - it takes about 5-10 seconds

on Wednesday 19 March - it takes more than a minute

I don't know about any changes (hardware, configuration, data amount ..)


author: Nic Brough -Adaptavist-
body: Probably data amount - if the macros are trying to get an increased data set from Jira, that could explain the extra time they're taking.


Tags: confluence-administration

jira
I don't want PERSONAL SPACES to show in the SPACES LIST when creating a new page!
Asked by MJP:

Hello!

When clicking "**create**" I can choose the space and a template for a new page.

**Problem:** The list of spaces shows me **every single personal space.**

I don't want that!

What can I do to avoid that, but for disabling all personal spaces?

Btw. it is not possible to ask every user to set view restrictions on their own.

Thank you!


Answers:
author: Rodrigo Girardi Adami
body: Hi there!

I believe this will need some customization in confluence to achieve the fucntionality. [This example](https://confluence.atlassian.com/display/CONFKB/How+to+Prevent+Personal+Spaces+from+Being+Shown+on+The+Dashboard) shows a way to disable the personal spaces from being shown on dashboard. This might be similar if you want to do in the create page, but must changed of course.

I'll leave this question open since someone else might know exactly what to do.

I hope this helps.

Regards,

Rodrigo


Tags: confluence-administration
Confluence Python Script
Asked by AKASH BHARDWAJ:

Hi All Genius out there, I have written 1 Python script for Bulk Photo Upload, I tried running on Local Machine it worked perfectly fine.

But when i deployed it on server and tried running, It is throwing me an error saying:

xmlrpclib.ProtocolError: \<ProtocolError for URL/rpc/xmlrpc: 302 Found\>

URL is the http URL.

Any Suggestions what might be wrong.


Answers:
author: Gregory Sudderth
body: I bet you a donut you have a problem with your package dependencies. Look at your imports in the program, and then use a package manager like "pip" to get those packages! You're very close to having it done!

comments: author: AKASH BHARDWAJ
body: No, error was not of missing packages but http error.

Thank You for your suggestions..


author: AKASH BHARDWAJ
body: ERROR that i am getting is:

File "BulkPhotoUpload_linux.py", line 40, in \<module\>  
token = server.confluence1.login(username, password);  
File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__  
return self.__send(self.__name, args)  
File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request  
verbose=self.__verbose  
File "/usr/lib64/python2.6/xmlrpclib.py", line 1243, in request  
headers  
xmlrpclib.ProtocolError: \<ProtocolError for URL/rpc/xmlrpc: 302 Found\>  

<br />


Tags: python
Can I update my confluence to a higher user tier with outdated license
Asked by Roman Chmunevych:

Hi!  

Currently we are running Confluence v.4.2.1 and have 50 seats license.  

Could you please advice me the best way to get more seats (as far as I can see, the next smallest number is 100)?  

a) 4.x/50 -\> 4.x/100  
b) 4.x/50 -\> 5.x/100  

How much should we pay in both cases?  

With best regards,  
Roman


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

We have this page about [confluence prices](https://www.atlassian.com/software/confluence/pricing/?tab=download) however I believe that we have other prices for when you are updating the license.

You may want to reach the sales team by sending an email for [sales@atlassian.com](mailto:sales@atlassian.com). They should be able to help you with updating licenses or buying a new one.

Cheers,

Rodrigo

comments: author: Roman Chmunevych
body: Thank you for answer!


Tags: confluence-administration
Stash / Confluence after migration problems accessing files/pages
Asked by caronma:

I recently migrated our confluence, jira and stash applications from linux to windows. Finally I got it up running, but still having an issue I'm not able to resolve.

Via confluence I can't access pages with a "nice" url e.g. /display/space/niceurl.

/viewpage.acion?pageid, however seems to work fine

A similiar behaviour when using stash, I can view some repository files in the web gui via stash. But most of them will return the same error confluence is experiencing.

**Error when acccessing the page:**

Die gesuchte Ressource wurde entfernt oder umbenannt, oder sie steht vor??bergehend nicht zur Verf??gung.

(The requested resource has been removed or renamed, or it is temporarily not available.)  

I tried to delete cache and tmp files but nothing changed. The application log files aren't showing any errors.

Server:

Windows 2008R2

jdk1.7.0_51

mysql 5.5

Running confluence (5.4.3) and stash (2.10.2) as service

Would be glad if anyone could know whats causing this problem.

Thanks  


Answers:
author: jhinch _Atlassian_
body: This definitely sounds like a misconfigured proxy server. Have you experienced the same issue by viewing the page directly on the server (without a proxy)? I would suggest contacting [](http://support.atlassian.com/)<http://support.atlassian.com/>so that the problem can be diagnosed further.


Tags: bitbucket-administration

bitbucket-server
Does Confluence send (notification) emails to users that are deactivated
Asked by Marco Peters:

When a user is for example a watcher for a page but gets deactivated, does Confluence sends change notification emails to this user on page changes?

I expect not but I can't find any reference in the documentation that clearly explains this.

Can anybody give any clarification on this topic.

Kind regards,

Marco


Answers:
author: Deividi Luvison
body: Hi Marco,

I did test this locally and Confluence do not send notification emails to deactivated/disabled users, regarding the reference of this information in our documentation, is informed in [this](https://confluence.atlassian.com/display/DOC/Subscribing+to+Email+Notifications+of+Updates+to+Confluence+Content) page :)

Thanks and Regards,  
David\|Atlassian Support
Is there one way to add one or more people to page to let them can receive mail?
Asked by John Zhang:

Is there one way to add one or more people to one page to let them can receive mail? not watcher.

At the beginning, I feel the "user mention" of Insert menu is the funtion, but I found the user can't receive one mail after I set @username. Now, I hope page have this function. Is there one way to realize this function?


Answers:
author: Dave Theodore [Coyote Creek Consulting]
body: You can also do what people that migrated from Bugzilla always seem to want to do. Create a user picker custom field called "CC" or something similar, then put it on the screens where you want people to be able add names to spam. Then, create a custom notification that spams the users that are in the user picker for each action that you want them spammed. In some ways, it duplicates the default Watcher function, but it's probably what you really want. If you put the field on the create screen, people can load it up on issue creation and everyone gets spammed when things change.


author: Rodrigo Girardi Adami
body: Hello John,

As far as I know, this can only be achieved by the watcher feature. You must add the people you want to receive email to the watchers list of an specific page or space and they will receive emails for updates.The mention should also send an email when you comment and mention the user the first time but it's doesn't mean it will receive updates for the page from now on.

On a side note, you may want to check our marketplace for some plugin that could perform this functionality, however I couldn't find one on my initial research.

Cheers,

Rodrigo
Confluence fails to start upgrading from 5.0 to 5.4.4
Asked by Joshua Kugler:

I am trying to upgrade Confluence. 5.0 to 5.4.4. The versions are in two separate directories, but I have the config (confluence.home) pointing to the same data/ folder (so attachments, etc are kept). When I try to start the new version, data/logs/atlassian-confluence.log spits out a few lines and then hits "\[com.atlassian.confluence.lifecycle\] \<init\> Loading EhCache cache manager" and nothing happens after that. I've looked in other places (catalina.out, catalina.\<date\>.log) and there are no error; output to the logs just stops, and I can't access the application (it never starts listening on its AJP port as defined in conf/server.xml).

This is what I see in data/logs/atlassian-confluence.log, and then nothing after it.

```
2014-03-20 00:38:15,292 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 5.4.4 [build 4733 based on commit hash f235dd088df5682b0560ab6fc66ed22c9124c0be]2014-03-20 00:38:17,500 INFO [main] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization started2014-03-20 00:38:20,478 INFO [main] [com.atlassian.confluence.lifecycle] &lt;init&gt; Loading EhCache cache manager
```


Answers:
author: Joshua Kugler
body: Sigh...came back to the logs later. Turns out I had the DB host wrong.


Tags: confluence-administration
Lucidchart error message
Asked by David Topchian:

Invalid Request: Unable to retrieve base url

<br />


Answers:
author: David Topchian
body: It has been reset by someone from Atlassian, but now the problem is with Lucidcharts. I think I'll leave it for the moment.


author: Dave
body: Go to Confluence Admin, Manage Add-Ons and disable/enable Lucidchart.


Tags: cloud

confluence-cloud
I need to do a confluence upgrade to 5.4 and a server and database migration?
Asked by Robyn Skaling:

I need to do a confluence upgrade from v5.0 to v5.4 and a migration from a windows desktop using oracle to a linux virtual server using MySql. We also use the EAR-WARS edition which adds some complexity. There are also some in house plugins which broke and needed to be fixed on our last upgrade so I am suspecting the same problem this time around. Does anyone have any advice on the order we should perfrom these steps? do you upgrade first on windows and then migrate? or migrate to linux and MySql and then do the upgrade? should I fix the plugins after the upgrade on windows and prior to migration or just wait till the end to start fixing the problems? I have read through the different migration documentation but I am still unsure really where to start and which step I should be doing first.


Answers:
author: Davin Studer
body: You should do this in a test environment first. Backup your db and Confluence App and restore them to another machine. Atlassian has a document for migrating to another machine. I'll put the link below. As for which to do first upgrade or migrate I don't think it matters much but test the process and follow the same order when you do prod.

[](https://confluence.atlassian.com/display/DOC/Migrating+Confluence+Between+Servers)<https://confluence.atlassian.com/display/DOC/Migrating+Confluence+Between+Servers>


Tags: confluence-administration
Create Space freezes
Asked by Robert Lupinek:

I am running version 5.4.4 on CentOS 6.5 with a MySQL database. Everything is running great except I cannot create a Space. When I try the spinner just spins.

**I am getting the following error in the Catalina.out:** 2014-03-19 10:19:34,898 ERROR \[http-8090-9\] \[plugin.descriptor.web.ConfluenceWebInterfaceManager\] getHtml Failed to render web panel: com.atlassian.plugin.web.descriptors.DefaultWebPanelModuleDescriptor$ContextAwareWebPanel@3328b81a  


Answers:
author: Robert Lupinek
body: Hello,

It is pretty embarrassing, but not the cause that I would have thought. In the section of the MySQL configuration for confluence I misread this section:

Ensure the sql_mode parameter does not specify NO_AUTO_VALUE_ON_ZERO  
`// remove this if it exists`  
`sql_mode = NO_AUTO_VALUE_ON_ZERO`  
I was reading it as I need to have this value set. Bone head move. I did a complete server reinstall ( VM super quick ) and this was the only thing that I noticed that I did wrong on the second time through. No issues after correcting this.  
I am actually running a demo of the product, so reinstalling caused no issues. I am sorry for taking so long to respond. Great product, and really easy to import MediaWiki!

comments: author: Rodrigo Girardi Adami
body: No worries Robert! Thanks much for sharing the solution in this website.

This information may help many others with the same behavior :D

Cheers!

Rodrigo


author: Rodrigo Girardi Adami
body: Hello Robert,  

That could be related to some plugin, layout, customizations that might be interfering with the space creation.  

Are you able to create the space on a staging environment create from production backup? If you can reproduce there, try to enable the plugin safe mode and remove the layouts and customizations you might have.  

You may also want to check the atlassian confluence logs in confluence home for errors in the space creation. There should be some information there as well.  

Regards,  

Rodrigo


Tags: confluence-administration
Unable to display PowerPoint
Asked by Scott:

Using the "Office PowerPoint" Macro, I am unable to set the presentation. The document has been attached to the page but it does not show up in the "File Name" drop down box. This issue happens sometimes.

All the PowerPoints are .PPTX documents that have been used.

How do I resolve this issue.

Thanks,

Scott


Answers:
author: Scott
body: I'm a little blown away here. I post a question and it takes a month to get a reply. Then you want me to vote to fix a bug with your software? I'll vote by moving to a different platform.

We are attempting to get the organization to use this product and a limiting factor is that we cannot easily display PowerPoints. It happens in the latest version of IE (11). Moving to a different browser is not solution as this organization only allows IE.


author: Rodrigo Girardi Adami
body: Hi Scott,

I believe that you are facing these known bugs:

[](https://jira.atlassian.com/browse/CONF-26082)<https://jira.atlassian.com/browse/CONF-26082>

[](https://jira.atlassian.com/browse/CONF-26001)<https://jira.atlassian.com/browse/CONF-26001>

I recommend to vote, watch and share these bugs with other people so this can raise the bug chances to be fixed sooner.

I hope this helps!

cheers,

Rodrigo


Tags: cloud

confluence-cloud
Is the Image Map plugin compatible with Confluence 5.4.x?
Asked by Chris Solgat:

Our company is getting ready to upgrade to Confluence 5.4.3 and we need to know if the image map plugin is compatible.


Answers:
author: Davin Studer
body: I would recommend backing up your current copy of Confluence and creating a non-production version of it. Then upgrade the non-production version. That way you can verify what still works and what doesn't. Here is a link for how to create a test version of your site.

[](https://confluence.atlassian.com/display/DOC/Migrating+Confluence+Between+Servers)<https://confluence.atlassian.com/display/DOC/Migrating+Confluence+Between+Servers>


Tags: confluence-administration