youngmon/atlassian-qna huggingface dataset:
Internal Directory in Confluence is not working
Asked by Denys Kovalenko:

Hello,

I have both Internal Directory and External LDAP Directory in our Confluence instance.

Directory order:

1. External LDAP Directory

2. Internal Directory

I don't knew why, but when i tried to use users from internal directory i keep getting error:

"

WARN \[http-8090-8\] \[atlassian.seraph.auth.DefaultAuthenticator\] login login : 'USERNAME' tried to login but they do not have USE permission or weren't found. Deleting remember me cookie.

"

What is the problem?

Thanks,


Answers:
author: NotTheRealStephenSifersNOPENOPENOPENOPE
body: How often does your LDAP sync within confluence happen? Also, how often do your AD sites replicate within one another? Are any of your AD DC's read-only? Could it be the user you are attempting to use was newly created but not replicated to the other LDAP connector? The same will also happen with a group membership change and a password change. Even though those types of changes are supposed to replicate instantly within AD, they can sometimes be delayed or not happen due to administrative issues.


author: Rodrigo Girardi Adami
body: Hello Denys,

The problem is that confluence will try to access the first directory to search for the user to login. If you have users with the same username in both directories, then it will find the user on LDAP first and try to login with him, which probably doesn't have the permission to use the instance.

I recommend to leave the internal directory in first position, since if you need to restore the admin access for some problem, it will be easier to login to the instance using the internal administrator.

Cheers,

Rodrigo

comments: author: Denys Kovalenko
body: i'm trying to use user which exist only in Internal Directory.


author: Denys Kovalenko
body: We cannot use internal directory because we are using LDAP auth. And we are experiencing a bug  
"

WARN \[http-8090-8\] \[atlassian.seraph.auth.DefaultAuthenticator\] login login : 'USERNAME' tried to login but they do not have USE permission or weren't found. Deleting remember me cookie.

"

For other services this user don't have problems.


author: Tae Sup Lee
body: 2016 March we still have problem and haven't found the solution.


Tags: confluence-administration
is it possible to retrieve Confluence users' log on data?
Asked by Stefani Siqueira:

is it possible to retrieve Confluence users' log on data?


Answers:
author: Stefani Siqueira
body: Thank you very much. I'll check that out.


author: Stefani Siqueira
body: Indeed, I need to know the last login date stamp of the registered users.


author: Nic Brough -Adaptavist-
body: Possibly. Depends on what you mean by "log on data"? Last login date stamp, password failures and activity are stored, but beyond that, it gets a bit fuzzy and you kind of need to define what you're looking for (and telling us why could get you a much better answer than just a list of fields)

comments: author: Nic Brough -Adaptavist-
body: Ok. The simple answer there is "look at their profile" because it's displayed there.

I'm guessing you want to fetch it from some code though - could you explain what and where? Inside Confluence? Remote system? Also, why is this information needed?


author: Stefani Siqueira
body: Indeed, I need to know the last login date stamp of the registered users


author: Stefani Siqueira
body: I need a list of all the users and all their pertaining last login date stamp. We are assessing how many users are currently signed up, how often they use the tool and also identifying all the signed up users as we're reaching the limit of user count for our Confluence license. Is it possible to generate such a list with that information from inside Confluence?


author: Nic Brough -Adaptavist-
body: Kewl, doing it inside Confluence gives you the option of direct access to the API. I would ramble through how I wrote a user macro to do this, but frankly, there's a much better one than the one I did over at

[](/questions/89027/how-to-find-last-login-date-of-users-in-confluence)<https://answers.atlassian.com/questions/89027/how-to-find-last-login-date-of-users-in-confluence>

Check Bruce's answer in the middle of it...
Are there known security risks when enabling the remote APIs in Confluence?
Asked by Iakov Dlikman:

Hi,

to link Confluence pages in JIRA the remote APIs need to be enabled. Are there any known issues connected to either linking Confluence and JIRA or enabling the APIs?

Any advice, point where to look or link to documentation is appreciated.

Thanks!

KR,  
Iakov


Answers:
author: Andris Grinbergs
body: Hi,

I experienced this one:

Invalid name for a single Jira user made Confluence inaccessible for any user.

It also applies to Jira-Jira linking and Jira-Crowd.

More info:

<https://jira.atlassian.com/browse/CWD-3740>

[](https://jira.atlassian.com/browse/JRA-32029)<https://jira.atlassian.com/browse/JRA-32029>

Andris.

comments: author: Iakov Dlikman
body: Hi Andris,

Thank you for your answer. In our setup we're using delegated LDAP as user directory so that the issues you mentioned doesn't apply.

Are there other known issues when remote APIs are enabled?

KR

Iakov


author: Andris Grinbergs
body: LDAP may or may not solve that issue. If there will be wrong character in username in LDAP you will not be able to synchronize jira or confluence to jira instance which uses that particular LDAP.


author: Andris Grinbergs
body: We also had issue where by opening project in jira, project timeline showed all the last changes from confluence (not related to that project). I suggest to test it before you go to production. Probably it was caused by incorrect setup - not sure.


author: Iakov Dlikman
body: OK, I will keep that in mind.

Many thanks!


Tags: confluence-administration

jira

jira-administration
Confluence Team Calendar - subscribed to through iCal doesn't show JIRA Issues
Asked by Liam Walker:

Hi,

Were decided to start using Team Calendars over Google calendar now as you can publish the TC using a iCal feed.

Whilst this works well for **Events** the feed doesn't contain the entries for the events "imported" from JIRA.

Has anyone had any experience of this and a way to fix it?

Thanks


Answers:
author: Deividi Luvison
body: Hey Liam,

Can you check if the user trying to view those events have access to the project in JIRA?

I'm asking that because upon creating a JIRA calendar, all users in your system can see the calendar name in Confluence. However, the contents of the actual calendar events (issues, versions, sprints etc...) automatically respects your JIRA permissions - so it is possible for users to be subscribed to a JIRA calendar and not see all events since this is controlled by your JIRA permissions as you can see in [here](https://confluence.atlassian.com/display/TEAMCAL/Adding+JIRA+events+to+a+Team+Calendar).  
Thanks and Regards,  
David\|Atlassian Support

comments: author: Liam Walker
body: Yes, I can access to the project in jira but nothing in the iCal from Jira although visible in the calendar


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

Hi All Genius out there,

I have written Python script to Bulk Upload profile pic.

I am facing issue, when i run script from Linux terminal under my user i.e akash user, Script runs fine and perform the cron job. But when i try to run same script through root or other user my script fails to run with error:

```
Traceback (most recent call last):  File "ProfileAvatorScript.py", line 54, in &lt;module&gt;    isConfluenceUser = server.confluence1.hasUser(token, userName)  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 1235, in request    self.send_content(h, request_body)  File "/usr/lib64/python2.6/xmlrpclib.py", line 1349, in send_content    connection.endheaders()  File "/usr/lib64/python2.6/httplib.py", line 908, in endheaders    self._send_output()  File "/usr/lib64/python2.6/httplib.py", line 780, in _send_output    self.send(msg)  File "/usr/lib64/python2.6/httplib.py", line 739, in send    self.connect()  File "/usr/lib64/python2.6/httplib.py", line 1112, in connect    sock = socket.create_connection((self.host, self.port), self.timeout)  File "/usr/lib64/python2.6/socket.py", line 553, in create_connection    for res in getaddrinfo(host, port, 0, SOCK_STREAM):socket.gaierror: [Errno -2] Name or service not known
```

Please help with this.

Thank you,


Answers:
author: AKASH BHARDWAJ
body: while running the Script with other user, I have changed the appropriate ownership to that user.


Tags: linux

python
Problem using Jira gadgets in Confluence
Asked by Max Stoaks:

Hi,

We've got some errors popping up for some users when they view a confluence page that has Jira gadgets on it.

For example:

The "Agile Sprint Health Gadget" is generating the following error:

"The resource \<OURDOMAIN\>/rest/greenhopper/1.0/xboard/config.json, cannot be found."

and

"The resource \<OURDOMAIN\>/rest/greenhopper/1.0/sprintquery/7, cannot be found."

The "Agile Wallboard Gadget" is generating errors like this:

"The resource \<OURDOMAIN\>/rest/greenhopper/1.0/xboard/work/allData.json, cannot be found."

Where \<OURDOMAIN\> is a placeholder.

Could these be related to permissions or is there something else going on?

BTW - For the "Agile Sprint Burndown Gadget" we see a nice, obvious error like this:

"The requested board cannot be viewed because it either does not exist or you do not have the permission to view it."

That one is pretty clear... the users having that issue aren't in the relevant Jira project.

Thanks!

Max


Answers:
author: Jeremiah Landi
body: Well I have the same issue....

image2016-1-26 23:47:7.png

@Matt Block I have been using this gadget for a while and then this error literally just happened. I am not sure if it is related to the images.

I only have one active sprint but I will dive into this and provide more information as I figure it out. Any suggestions welcome.  
[](https://community.atlassian.com/t5/Confluence-questions/Problem-using-Jira-gadgets-in-Confluence/qaq-p/393528?attachment-id=7656){#link_118a3eb53e1b35}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/66659/1/image2016-1-26%2023%3A47%3A7.png){#display_118a3eb53e1b35_0}

comments: author: Jeremiah Landi
body: Here is my linking ticket with resolution.

<https://answers.atlassian.com/questions/35763186>


author: Matt Block
body: The other thing to note, anyone with a story/task assigned to them, must have a profile picture. Not sure why this matters, but even if you don't have the "Show Assignees" option checked, you will get an error if any assignees do not have a profile picture (the default letter does not count). Doing that fixed all of my issues.


author: Matt Block
body: Are you using multiple active sprints? I was having issues similar to this and we use multiple active sprints because we have multiple teams working off the same project. When I changed the gadget to select a specific sprint, and not the "Next Sprint Due (auto)" option, the errors seemed to go away. I'm trying to get one of these gadgets for both teams on the Dashboard. It's working for one team right now and not the other, so not sure what's going on there.


Tags: cloud

confluence-cloud
Can I start a thread for Confluence Questions via email?
Asked by Keith Redfield:

Can I integrate Confluence Questions with email such that I can start a Question by emailing an alias?

Thx!


Answers:
author: BillA
body: It's not on the immediate roadmap but there's an open feature request for it at [CQ-530](https://jira.atlassian.com/browse/CQ-530).


Tags: cloud

confluence-cloud

questions-for-confluence
I can't find the Universal Wiki Converter add-on / plug-in within Confluence
Asked by Ali:

I tried following these installation instructions, but no joy:

[](https://marketplace.atlassian.com/plugins/com.atlassian.uwc#tabs-installation)<https://marketplace.atlassian.com/plugins/com.atlassian.uwc#tabs-installation>

Any help?


Answers:
author: Ali
body: Alrighty! Looks like that's not how it works now, if ever:

[](https://confluence.atlassian.com/display/DOC/Importing+Content+from+Another+Wiki)<https://confluence.atlassian.com/display/DOC/Importing+Content+from+Another+Wiki>
> **Note:** You need to install and run the UWC separately from Confluence. The UWC is a standalone application that communicates with Confluence remotely. You cannot install the UWC directly into Confluence. Instead, download the UWC separately and run it according to the instructions below.
Windows 2012 Std, Issues after setup
Asked by Michael Volkmer:

I can install fine on win2012, get guided through the eval - but when i try to apply the key, the whole thing crashes and either says:

java.lang.illegalStateException: The CahecManager has been shut down. IT can no longer be used.

then a long(!) list of entries

I uninstalled and re-installed. Same issue.

I installed latest version of Java. Same issue.

Any help would be appreciated. I saw it at another company and want to convince management to invest into - so far this would be a fruitless attempt :\|

Mike


Answers:
author: NotTheRealStephenSifersNOPENOPENOPENOPE
body: Is your win2012 server R2? If not I would suggest using R2.

Also, ensure UAC and smartscreen are disabled, these can at times impact services.


author: Michael Volkmer
body: running it now on 2012 R2 - no issues anymore!

thanks!


author: salehparsa
body: Hi Michael,

Would you mind to give us more information about your instance (e.g. Confluence version, database , etc) and give us full stacktrace from your \<home-directory\>\\logs\\atlassian-confluence.log?

```
I installed latest version of Java. Same issue.
```

I would like to say, supported JDK is 1.7 in [Confluenc Supported Platform](https://confluence.atlassian.com/display/DOC/Supported+Platforms). I would recommend you to check the supported platform.

Cheers,

Saleh

comments: author: Michael Volkmer
body: Hi Saleh, I will have to wait a bit - I just flattened the server and are installing R2 as per initial suggestion above (from Stephen).

If I run into the same issues again I will provide the details you asked for. Thanks for the prompt replies!


author: salehparsa
body: Hi Michael,

No worries, feel free to ask your questions.

Cheers,

Saleh


Tags: confluence-administration
confluence setup problem - login not possible
Asked by Stefan Gruber:

hi

I installed an evaluation version of confluence and something did not work during setup. Now when I start it, I only get the login screen but did not define any username to login and I'm stuck.

Any advice, please?

thx


Answers:
author: Stefan Gruber
body: found another solution. deleting the config xml file in the application data folder helped.

thx anyway!


author: NotTheRealStephenSifersNOPENOPENOPENOPE
body: During the install you should have been prompted to setup a user account:

[](https://confluence.atlassian.com/display/DOC/Confluence+Setup+Guide#ConfluenceSetupGuide-8.ProductionInstallation:SetUpUserManagement)<https://confluence.atlassian.com/display/DOC/Confluence+Setup+Guide#ConfluenceSetupGuide-8.ProductionInstallation:SetUpUserManagement>

You can try the following to reset the admin password to your confluence instance:

[](https://confluence.atlassian.com/display/DOC/Restoring+Passwords+To+Recover+Admin+User+Rights)<https://confluence.atlassian.com/display/DOC/Restoring+Passwords+To+Recover+Admin+User+Rights>


Tags: confluence-administration
Change the confluence landing dashboard image
Asked by david martin:

Can anyone help me change the image on the right of the landing dashboard that users see when they first log onto confluencein into my personal image? I've looked and could not find the page to alter to achieve this. Thank you in advance?


Answers:
author: NotTheRealStephenSifersNOPENOPENOPENOPE
body: You can use the following guide to edit some parts of the dashboard:

[](https://confluence.atlassian.com/display/DOC/Customising+the+Confluence+Dashboard)<https://confluence.atlassian.com/display/DOC/Customising+the+Confluence+Dashboard>

Another option is to change your landing page to a space which you can fully customize. You can do this by following this guide: (Make sure all users have permissions to this space you create, if they do not have permission to the new space they will be sent to the main dashboard)

[](https://confluence.atlassian.com/display/DOC/Configuring+the+Site+Home+Page)<https://confluence.atlassian.com/display/DOC/Configuring+the+Site+Home+Page>


Tags: confluence-administration
Find user by Resource identifier
Asked by Kenneth Veipert:

Hello, i get the content of a confluence page by the REST-Api. Now there is a link to a user like this:

```
&lt;ac:link&gt;&lt;ri:user ri:userkey="ff8080813fbbab90013fbbac8f580027" /&gt;&lt;/ac:link&gt;
```

Now is the question: How can i get the user of this userkey there? In the confluence-documentation is described how to get the user by a key(username) or a full name:  
[](https://developer.atlassian.com/static/rest/confluence/5.0.3.html#d2e304)<https://developer.atlassian.com/static/rest/confluence/5.0.3.html#d2e304>

How can i get the user by this ri:userkey?


Answers:
author: AnnWorley
body: You can find the user with the folllowing SQL query:

```
select lower_username from user_mapping where user_key='ff8080813fbbab90013fbbac8f580027';
```

comments: author: Valentin_Levitov
body: And what if I don't have an access to the database, I have only REST access.


author: Valentin_Levitov
body: Guys? Any thoughts here?


author: Maciej Lad
body: Hi :smile: any information about this ?


author: Orlando_Jurcone
body: You can find your own user key by viewing Confluence Page Source(right click -\> view page Source) and searching for "user-key". If you only need the user-key for some colleagues you can ask them directly or otherwise you'll need access to database.


author: sixenvi
body: I know this is a bit old but you can get it with:

<http://example.com/rest/api/user?key=402880824ff933a4014ff9345d7c0002>

[See here](https://docs.atlassian.com/atlassian-confluence/REST/6.5.2/#user-getUser)


Tags: cloud

confluence-cloud
After update to 5.4.4 no macros
Asked by H. H.:

Hi,   

after the update from Confluence 4.1.7 to 5.4.4 I have no macros. For example, in Scroll PDF Exporter, here's the Scroll Ignore Macro no longer displayed. Have installed after the update the latest version of the Scroll PDF Exporter. All other macros are no longer shown me just yet external content. Why the macros that will not appear?

Thanks for the help,   
Heiko


Answers:
author: H. H.
body: After I have all macros checked, I realized that the "Adaptavist rate plugin" was to blame. Have the macro uninstalled and now the other macros are also shown me.   

Thank you Stephen, for the efforts,   
Heiko


author: NotTheRealStephenSifersNOPENOPENOPENOPE
body: Have you tried simply restarting the confluence service to see if they show up?

If you re-run the installer for the update do they show up?


Tags: confluence-administration
Metadata to page properties upgrade?
Asked by Wim Deblauwe:

Hi,

we are running Confluence 4.3.2 and want to upgrade to the latest version (5.4.4 currently). We have a lot of pages that use the metadata and metadata-report macros. I am aware that the new Confluence now uses 'page properties'. Is there way to migrate the old metadata macros? We tried the upgrade but now we see this instead of the actual report:

Unknown macro: {metadata-report}

Do we need to take an additional step to get this migrated?

regards,

Wim


Answers:
author: Wim Deblauwe
body: Seems our admin forgot to install the metadata plugin in the latest version. Seems both metadata plugin and page properties can exist next to each other.


author: Wim Deblauwe
body: Thanks for the tip, but it was not that, see my answer.


author: salehparsa
body: Hi Wim,

Do you have the stacktrace that mentioned in [this KB](https://confluence.atlassian.com/display/CONFKB/Default+Macro+Metadata+Provider+Plugin+Disabled+After+Upgrade) in your \<confluence-home\>\\logs\\atlassian-confluence.log ? If yes- Check for incompatible plugins in your instance.

Cheers,

Saleh
How can I hide attachment field for specific user group?
Asked by Mahmudul Anam:

Hi Experts,

How can I hide attachment field for specific user group? Please advice.

Thanks  
Anam


Answers:
author: Nic Brough -Adaptavist-
body: You can't. You can restrict who can attach files in the space permissions, but you can't "hide" the field.

comments: author: Mahmudul Anam
body: Hi Nic,  
Thanks for your reply.

I am not clear about "permissions". Are you talking about permissions scheme?

Thanks  
Anam


author: Nic Brough -Adaptavist-
body: Confluence doesn't have permission schemes, you do permissions in the spaces.

From that comment, I'm guessing your tag is wrong and you mean Jira? It's the same answer though - you can't hide the "field", just control who can add/remove them
Error rendering macro 'mail-success' : null
Asked by Selcuk Savas:

Hi All,

I copied an existing form for a new promotion campaign.

the copy of the form give me an Error rendering macro 'mail-success' : null where the original form works fine without an error.

I have updated the plugin Form Mail NG.

Still the same.

Any thought? any solution?

Cheers,

Selcuk


Answers:
author: Hessom Arta [Adaptavist]
body: Hi Selcuk,

Firstly, sorry for the delay in replying to you. Could I ask if you are still experiencing this problem? If you are, could you please contact our support team at [support@adaptavist.com](mailto:support@adaptavist.com). It would be useful to provide a screenshot of the page where you are using Form Mail on, as well as information regarding the versions of Confluence and Form Mail that you are using and our support team will help you resolve this issue.

As an aside, you can access our documentation here: [](http://www.adaptavist.com/doco/display/FMCP/Form+Mail+for+Confluence+Plugin)<http://www.adaptavist.com/doco/display/FMCP/Form+Mail+for+Confluence+Plugin>

Cheers,

Hessom


Tags: confluence-administration
Confluence with RightNow CX
Asked by KP11:

Is there any integration with Confluence and Oracles RightNow CX portal


Answers:
author: KP11
body: I found some info google search. [](http://www.boomi.com/resources/demos/rightnow-jira.)<http://www.boomi.com/resources/demos/rightnow-jira>.

We wanted a self service portal where users can access, PDFs. DOC, Wiki and import/export to Confluence

*

  ### [Integrating RightNow CX and Atlassian Jira - YouTube](http://www.youtube.com/watch?v=JHgZLLWZYqs) {#toc-hId-1484115972}

  [? 3:07? 3:07](http://www.youtube.com/watch?v=JHgZLLWZYqs)  
  \<cite\>[www.youtube.com/watch?v](http://www.youtube.com/watch?v)...\</cite\>?  
  *  
  YouTube  
  Jul 30, 2010 - Uploaded by boomicloud
  A brief demonstration on integrating RightNow CX and Atlassian Jira.  
*

  ### [Confluence with RightNow CX - Atlassian](confluence-with-rightnow-cx) {#toc-hId--1068040989}


author: Nic Brough -Adaptavist-
body: Depends on what you mean by "integration"?

comments: author: KP11
body: We are looking to create knowledge base from RightNow portal when it creates JIRA issues. Other tools have the capiibility. Also ability to transfer/download to Confluence spaces


author: Nic Brough -Adaptavist-
body: That still doesn't really explain what "integration" you want. "Transfer download" what to Confluence spaces? You're making the assumption that we all know what RightNow is, what it does, and what you want it to do when you say "integrate", which, I'm afraid, most of us don't.

The closest I can guess at is to suggest you have a quick look at the Jira Service Desk. When used with a linked Confluence, it has an instant "create knowledge base article from this issue" button.