youngmon/atlassian-qna huggingface dataset:
Re-enable internal user directory/set admin pass
Asked by Jordan Berry:

I did an export of my production confluence which has its internal user directory turned off, and is looking at Jira for its users. This instance has a server running the application and a separate server running the DB (as suggested for production instances).

I am trying to stand up a dev environment, but have selected a trial instance (Cant remember if that is what its called, but the non-production option, where there is no dedicated DB server). I looked through some of the logs, and it looks like the import may have hung at one point, but the instance is still running it seems.

My question is:

1. How can I set my internal user directory (while there is no dedicated DB server) without being able to access the GUI

2. How can I set my sysadmin password without being able to log into Confluence (without dedicated db server). I have found this article, but it didnt seem to work <https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html>


Answers:
author: AnnWorley
body: Hi Jordan,

The Trial option installs an H2 evaluation database. This article describes how to connect to it using either DB Visualizer or the H2 console to run SQL against it: [Embedded H2 Database](https://confluence.atlassian.com/conf64/embedded-h2-database-936511514.html)

Please try the SQL queries on this page: [Restore Passwords To Recover Admin User Rights](https://confluence.atlassian.com/conf64/restore-passwords-to-recover-admin-user-rights-936511358.html). I started to link you straight to the sections that cover the internal directory and the admin password, but it is actually a good idea to review the whole article to avoid trouble. (For example, sometimes people skip to the admin password without making sure the admin account is active or set the internal directory active but don't move it to the top of the hierarchy.)

regards,

Ann

comments: author: Jordan Berry
body: Thank you very much. I will try this out and report back if there are still issues


author: AnnWorley
body: Just to be thorough, I should mention that this is the page for Confluence 6.2.x: [Restore Passwords To Recover Admin User Rights](https://confluence.atlassian.com/display/CONF62/Restore+Passwords+To+Recover+Admin+User+Rights) I sent you the page for 6.4 before; I doubt it changed much, though.


author: Jordan Berry
body: What version of Confluence you are using? the option from [Restore Passwords To Recover Admin User Rights](https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html?_ga=2.134033997.233662918.1516627391-1727576346.1515401687) seems to be only available in Confluence 6.5.0 or earlier, if you are using different version then I think there is no other option like using [the earlier documentation](https://confluence.atlassian.com/conf64/restore-passwords-to-recover-admin-user-rights-936511358.html)

comments: author: Jordan Berry
body: Our Confluence Server is running at 6.2.1 currently, but we plan to upgrade soon


Tags: development

server
how can I edit my personal space home page?
Asked by Victoria Reggiardo:

I'd like to edit my personal space home page but I can't find the edit button on that specif page. Do I need any special permission to be able to do so?


Answers:
author: Victoria Reggiardo
body: Jobin, thanks for looking into it. I've followed your suggestion to make sure I'm on my space home, and I got to the same page I sent in the screenshot. No edit button there...

comments: author: Jobin Kuruvilla [Adaptavist]
body: Can you try the following?

1. Create a new page in your personal space

2. Go to space configuration and make that new page the Home page


author: Daniel Pollak
body: Thank you, this almost 2 years old answer still worked for my problem I encountered today!


author: Jobin Kuruvilla [Adaptavist]
body: If you already created the personal space, which you can do only if you have the global permission, you should be able to edit it. You are the owner of your personal space and you do not need any other permissions.

You can, of course, configure permissions for others. See <https://confluence.atlassian.com/doc/create-your-personal-space-777010869.html> for more details.

comments: author: Victoria Reggiardo
body: Thanks for your response Jobin.

Actually, my personal space was created for me (was already there when I first accessed Confluence).

I've added a screenshot of the options I have in my space Homepage and of the permissions I have. As you can see, I don't have the Edit button. Any ideas as of why?

I appreciate your help!

![Permissions.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/13132i92BE2DCFF4CF0ABE/image-size/large?v=v2&px=999 "Permissions.jpg")![Personal Space.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/13131i86D5AC029870400A/image-size/large?v=v2&px=999 "Personal Space.jpg")


author: Jobin Kuruvilla [Adaptavist]
body: It doesn't look like you are on a page. Click on your profile to go to the Home page on your personal space and see if you get the 'Edit' option. You can also check under overview to see the personal space's home page.
How can I recover content of page with "Unknown macro: 'numberedheadings'"
Asked by Steinar Bang:

Platform:

* Confluence 5.10.2
* CentOS 7.2.1511

We see several pages that seem to be empty with the content:

```
Unknown macro: 'numberedheadings'
```

If I look back in the history of the page I see one change where the page goes from lots of content to just the error message.

I'm assuming that the reason all content is gone is that this container works as a macro, ie. the original content of the page was pasted into the macro and that it is stored as XHTML content inside an XML element that's in a different namespace?

Is there some way to recover the XHTML content? Or is the version before the macro was introduced the last version that is available?

It is possible that Confluence has been upgraded after the numberedheadings was introduced on the page, and that the numberedheadings macro wasn't present in the new confluence at the time of the import. If this is the case, would that affect whether the content is actually present or not?

Thanks!

- Steinar


Answers:
author: Stephen Deutsch
body: Well, the easiest way to fix the issue would be to just reinstall the [Numbered Headings](https://marketplace.atlassian.com/plugins/nl.avisi.confluence.plugins.numberedheadings/server/overview) app. It's free anyways, and compatible with most versions of Confluence.

Another option would be to create a user macro with the macro name being "numberedheadings", body type "Rendered", and template code as

```
## @noparams
$body
```

After saving, you should be able see the content again, and then you can copy/paste the content to get it out of the macro. You can find all pages that have instances of the numberedheadings macro by searching for

```
macroName:numberedheadings
```

comments: author: Steinar Bang
body: Thanks! I think I will try to temporarily install the missing macro, but haven't gotten around to it yet.

I will post back on this thread with the results when/if I get around to it.


author: Scott McDonald
body: The directions must not have been quite right, because now the bottom of the page just says $ body ! Unfortunately I don't have any experience creating these macros myself.

comments: author: Scott McDonald
body: Anything for sequence-diagrams?
Is it possible to track activity statistics for Confluence?
Asked by Darren Courtney-Fitch:

I just wanted to confirm that there is no way to track activity stats in Confluence Cloud?

Eg. person X has created/edited X amount of content per specified time period.

These are the articles that I am referencing:

<https://confluence.atlassian.com/confcloud/view-space-activity-724764820.html>

<https://confluence.atlassian.com/confcloud/restricted-functions-in-confluence-cloud-734070955.html>

Thanks,

Darren.


Answers:
author: Stephen Deutsch
body: Hi Darren,

For Cloud, installing a Google Analytics app could make sense:

<https://marketplace.atlassian.com/plugins/me.davidsimpson.confluence.addon.google-analytics-for-confluence/cloud/overview>

There are some other apps that track page views in the Marketplace, but they are not free.
New elements appears in blueprint only after reindex
Asked by Ivan Sytnyk:

We are using Product [Requirements Blueprint](https://confluence.atlassian.com/confcloud/product-requirements-blueprint-937893675.html), but last few months we have a problem with elements reflection in a report page:

after adding new requirement it appears only after reindex whole Confluence


Answers:
author: AnnWorley
body: It sounds like the content indexing isn't running automatically as it should. Please see: [Searching and Indexing Troubleshooting](https://confluence.atlassian.com/confkb/searching-and-indexing-troubleshooting-180847237.html) for possible causes and diagnostic tips.

As it says at the top of that doc, one of the most common troubleshooting procedures is [rebuilding the index from scratch](https://confluence.atlassian.com/confkb/how-to-rebuild-the-content-indexes-from-scratch-on-confluence-server-110035351.html). That requires a restart of Confluence, so you may want to rule out some of the causes on the list before scheduling a restart.

Please let us know how it goes, and how we can help.

comments: author: Ivan Sytnyk
body: Full reindex fixed our problem.

Thanks for support!
How turn off Collaborative Editing
Asked by Jonathan Corbett:

We recently upgraded from Confluence 5.8 to 6.6.1 and we're having the problem that nobody can edit any pages. When clicking edit mode on any page, the user is instantly shown an error saying "This page is taking longer to load than usual" and it always times out.

From the help guides, this looks like an issue with the new Collaborative Editing feature, and the suggestion is to turn this off. In the application, however, when navigating to the Admin Section for Collaborative Editing, it just shows the error "Something went wrong. Please Try Again". This appears every 3 seconds and the page never loads.

Can anyone tell me the table and setting I need to change in the database to turn this "feature" off?

Thanks


Answers:
author: Jonathan Corbett
body: I just found the answer in a different post that didn't come up in my initial searches:

<https://community.atlassian.com/t5/Confluence-questions/How-Do-I-Disable-Collaborative-Editing-in-Confluence-6-1-3/qaq-p/583768>

The bottom line is that the option to disable is no longer in the 2 places documented (General Configuration or Administration \> Collaborative Editing) but is now here in the Add-ons:

**Gear \> Add-Ons \> System \> Confluence Collaborative Editor Plugin**

comments: author: Ahasub Chowdhury
body: Hi Jonathan,

I am trying to turn off Collaborative editing for our setup but unfortunately couldn't find it in the location you specified. Once I click on the gear icon I don't see Add-Ons. I found it under General configuration but there is nothing there for me to edit (attached screenshot).

Wondering if you or anyone in this forum could point me to the right direction. Thank you.

![Collaborative editing.png](https://community.atlassian.com/t5/image/serverpage/image-id/157071iA0DF1A086D03BF65/image-size/large?v=v2&px=999 "Collaborative editing.png")


author: Nic Brough -Adaptavist-
body: The original question and answer were for Server Confluence, you are on Cloud, where you can not turn it off.


author: Nic Brough -Adaptavist-
body: You don't want to do this in the database, it's not as simple as you are thinking.

You should debug the "something went wrong" - what does the log say when an admin reaches that page?

comments: author: Jonathan Corbett
body: Thanks for the info, we don't have time to do full debugging to get to the root of the problem, but we have multiple scrum teams across various locations and just needed to allow them to use the Wiki again so getting them working was the key


Tags: collaborative-editing
Create Space Dialog Loads Indefinitely
Asked by Florian Angermeier:

Upon creating a space, the space type dialog appears but seems to load forever / freezes.  

Hosted on a ubuntu server  

Database is Oracle 12c


Answers:
author: Shannon S
body: Hi Florian,

Can you confirm with me your Confluence version, and let me know if you're behind a proxy or firewall?

If so, can you [bypass the proxy as a test](https://confluence.atlassian.com/confkb/how-do-i-bypass-a-proxy-to-test-network-connectivity-402031184.html) and see if you're able to create the space?

One more thing - can you let me know what is occurring in your Confluence Server Application logs when you attempt to create the space?

Regards,

Shannon

comments: author: Florian Angermeier
body: Hi Shannon,  

Confluence Version is 6.6.1. Same behavior at version 5.10.3 (updated last week).  

There is no proxy or firewall behind.  

It worked for years without problems on the same constellation. The update from 5.10.3 to 6.6.1 was only made because of this Problem, but without success.  

There is no error occurring in the log files.   

Regards,  

Florian


author: Shannon S
body: Florian,

That's odd; there should definitely have been some message in the logs at that time.

From here, you can try the articles listed here on Space creation:

* [Troubleshooting Issues with Page and Space Creation](https://confluence.atlassian.com/confkb/troubleshooting-issues-with-page-and-space-creation-871993108.html)

See **Known issues of space creation**.

Could you also tell me what browsers and versions you're able to replicate this in?

If the above suggestions don't work then we'll need to get a look at your support zip, and I'll create a ticket for that, we just need to rule out these other things.

Regards,

Shannon


Tags: oracle

space
Roadmap macro doesn't create a new page
Asked by ????????? ????????:

When I want to create a new page from bar:![Q79ouh7.png](/t5/image/serverpage/image-id/13108i51C77D1C27A37DF3/image-dimensions/371x189?v=v2 "Q79ouh7.png")

then two new page dialogs open:

![Z0txFiH](/t5/image/serverpage/image-id/13110i825E36C1DFFD2AF6/image-dimensions/530x239?v=v2 "Z0txFiH")

I have choosed a page template and create a page content. And after page publishing I can't access to this new page. Instead of it I see access denied error:

![8FYjX4F](/t5/image/serverpage/image-id/13112i5B95F215DB44E5FC/image-size/large?v=v2&px=999 "8FYjX4F")

P.S. I created the space and I am site administrator.


Answers:
author: AnnWorley
body: I understand when you create a page from the Roadmap planner macro on a Confluence Cloud page you get two dialog boxes, then when you create the page you cannot access it. It looks like you are seeing Not Permitted, which would indicate a lack of permissions which seems unlikely since you are a site admin (I verified you are a member of the site-admins group).

I tried on the Cloud instance associated with your email address and did not get the two dialog boxes when I chose to create a page from a Roadmap planner macro. I picked a page that showed you had made changes recently, I am not sure I found the exact page from your screen shot. Please try another browser to eliminate a caching issue or other browser cause.

If the issue persists please post back here so I can take another look. Thank you.

comments: author: ????????? ????????
body: We've tried to clear the cache and create a page using the "blank page" template, but the problem hasn't solved. But if you try to create a page with another template (for example, "share a link"), the page will be created.  
<https://yadi.sk/i/hetQGCo73Rm6eX> - there is a video in which the steps of creating a page are recorded.  
We've tried to perform the same actions in other browsers (Internet Explorer, Microsoft Edge) - they create the pages normally, but the link to the new page hasn't appear in Roadmap macro bar (you can see it on video).  
The problem has repeated on two different computers with Chrome browser.


Tags: error

roadmap
Adding Labels to a page while editing
Asked by Eric Brahmann:

Hi all,

while i am editing a page I want to easily add some labels to a page.

In Twitter / Yammer you can add an # before your label and it is added (easy and fast).

In Confluence i see three unsatisfying options:

1) scroll down at the bottom at the page and add a label and scroll back for editing further

2) Saving and adding a Label and going back to editing Notes

3) writing down lables seperately in Notepad and add it afterwards

Eric

PS

If viewing a page it is easy -\> just using Shortcut L and it works fine :-)

I saw the following thread and it is not answering my question

<https://community.atlassian.com/t5/Confluence-questions/Confluence-adding-labels-during-page-edit/qaq-p/281166>


Answers:
author: Eric Brahmann
body: sorry -\> for 1) Scrolling up to the begining at the page, not to the bottom


author: rob_lingstuyl
body: Such bad UX here!


Tags: label

shortcut
Is there a way to extract page level data on confluence
Asked by Computing Services:

Hi, I have been asked if we can get a report that contains information about pages within a space. This includes the last modified date and their URLs and the page title. Is this possible?

I have managed to find how to find this information for Spaces, but couldn't find the URL.

(select SPACENAME, LASTMODDATE from SPACES;)

Thanks for your help,

L


Answers:
author: Thomas Schlegel
body: Hi,

we build such reports with the app "[Reporting for Confluence](https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.reporting/server/overview)".

It's not so easy to understand, how this reporting framework works, but it is very very powerful.

comments: author: Computing Services
body: Hi thanks for that, looks like an expensive plugin for something that we only want to do a one-off. maybe in the future but right now just trying to fulfill a request. Thank though. i'm really just looking for a query to send to the database. is that not possible?


author: Nic Brough -Adaptavist-
body: You'll find the REST API far easier to use than SQL. Have a look at <https://developer.atlassian.com/server/confluence/expansions-in-the-rest-api/> for example


Tags: report
Only show latest reports
Asked by Chris McNicholas:

I have created weekly status reports using tables and page properties macros. I also have a page which shows all project reports using the page properties report macro. All good so far but now I only want to show the last report for each project. Any suggestions?


Answers:
author: Thomas Schlegel
body: Hi Chris,

maybe you can set a label "latest" to the latest report. Only the latest report should have this additional label, remove it from the older one, if you create a new one.

In the properties report macro, set an additional filter with the label "latest".

It's a little bit cumbersome, but I think, there's no automatic solution for your problem.

comments: author: Chris McNicholas
body: If it were only me that would be fine but I need project managers to do it and they will forget.


author: Andrey Khaneev _StiltSoft_
body: Hello Chris,

How does your report table looks like?

I think it is possible to filter this table with [Table Filter](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter/cloud/overview) macro.

comments: author: Chris McNicholas
body: ![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/13104i6952D62FB6394A5C/image-size/large?v=v2&px=999 "Capture.PNG")


author: Andrey Khaneev _StiltSoft_
body: Unfortunately, I don't see a good solution here: you'll need to set filter to hide exact pages in the table and update the filter each time you create new pages.

But if you could guarantee that new pages are created periodically (fro example, each week) for all project types, then it will be possible to filter by created date.
Use cases for Application links between 2 Confluences
Asked by Arto Kovalainen:

I have created working application links between 2 separate confluence instances + 2 spaces in both confluences. App links work fine.

I have also registered external gadget feeds in Administration part (<https://confluence.atlassian.com/doc/registering-external-gadgets-204050482.html>)

How can I benefit these application links?

I would like to show content from first confluence in the second but only gadget that has option is activity stream.

I was hoping page gadget would have solved this but it does not have option to choose the source.

I also haven't figured out how to make rss feeds work between these Confluences any ideas?


Answers:
author: AnnWorley
body: Hi Arto,

It looks like you have three questions:

1. How can application links be useful between 2 Confluence instances? Please post this as a Confluence [Discussion](https://community.atlassian.com/t5/Confluence-discussions/bd-p/confluence-discussions) as it seems to be a topic you want input on, rather than a technical issue that can be resolved.

2. How can content from one instance be displayed in another? [Application links](https://confluence.atlassian.com/applinks/link-atlassian-applications-to-work-together-785449117.html) were designed to integrate different Atlassian applications rather than 2 instances of the same application. A third party add-on like [Scroll Remote Publishing Endpoint](https://marketplace.atlassian.com/plugins/com.k15t.scroll.scroll-remote-publishing-endpoint/server/overview) can be used to publish content from one instance to another. Please let me know more about the use case you are working on. Is it a case where 2 instances need to be merged?
3. How to subscribe to an RSS feed from one Confluence instance on another? What issue are you seeing with subscribing to an RSS feed on one instance that was set up on the other? These docs may help: [The RSS Feed Builder](https://confluence.atlassian.com/display/DOC/The+RSS+Feed+Builder) and [Subscribe to RSS Feeds within Confluence](https://confluence.atlassian.com/display/DOC/Subscribe+to+RSS+Feeds+within+Confluence)

I look forward to hearing more about how we can help with your 2 instances.

Thanks,

Ann

comments: author: Arto Kovalainen
body: Thanks for the reply. As this seems like a discussion there is like technical issues behind them :)

1. What's the point having app links between 2 Confluence Instances if there are nothing you can do with it? (except activity stream)

2. I am aware of different add-ons for remote publishing, but I wanted to know what to do with application links.

3. I probably managed to do this right. I probably need to have same user and permission in both instances in order to make rss-feeds work. (Need to do some testing).


Tags: application-link
Is it possible to use the Adobe reader within the Internet Explorer browser as the viewer for PDF?
Asked by Wessel Pretorius:

The PDF file that I need to open is a form. The form is only supported by Adobe Acrobat. This implies that I need to open the form with the Adobe Reader.

It is possible to open the Adobe Reader within the Internet Explorer browser if it is configured as a add-on. The other way is to download the file and then open it with the Adobe Reader.

Is it possible for Confluence to open the PDF file in the Adobe Reader rather than the default PDF viewer?


Answers:
author: Jason Munsey
body: Sorry for the Push of an old message but is there any solution for this 6 years later?


author: Shannon S
body: Hi Wessel,

The PDF will automatically preview in Confluence if you don't download the file.

You can turn off the **Confluence Previews** add-on but then this will disable previews for all files, for all users.

There may be a way for you in IE to tell it default behavior of a PDF file when downloading it, but not within Confluence.

Regards,

Shannon

comments: author: Michael Pon
body: This sounds awful. In order to use features of PDF we will always have to download first then open Acrobat. I've noticed that your previewer is significantly crippled. I can't even search of goto a page. You should at least allow the user to start acrobat **after** opening the doc in the previewer. Give us a little flexibility!


Tags: adobe

forms

pdf