youngmon/atlassian-qna huggingface dataset:
Manual Confluence Restore Possible?
Asked by brent:

I *was* running 6.3.1 in a docker instance on my own personal network. I decided to fart around with 6.5 to see the changes, but made a big mistake. I set it up to run under the same folder that I was running the 6.3.1 instance in. Oops!

I did not go through with the installation since I caught it pretty quick when I saw the command I ran. However, now I get all kinds of errors when I try to run the 6.3.1 docker container that was working flawless up until that point.

Is there anyway to retrieve all the data or did I just lose my entire Confluence instance?

ERRORS (Can't post the full log or the question gets tagged as SPAM):

HTTP Status 500 - java.lang.IllegalStateException: Spring Application context has not been set {#toc-hId-1764883102}
--------------------------------------------------------------------------------------------------------------------


Answers:
author: AnnWorley
body: Brent, I answered you over on: [Confluence 6.5 Upgrade Issue](https://community.atlassian.com/t5/Confluence-questions/Confluence-6-5-Upgrade-Issue/qaq-p/668638) which was mistakenly marked as spam :(

I think there is a chance the automated backup may save the day.
Is there a way to track visitors to a publicly visible page?
Asked by Emily Lord:

If a page is available for Viewing for anonymous users, is there a way to track the visitors to that page?


Answers:
author: Susan Ostreicher
body: Hi Emily,

Assuming you're using the Server version, this post might answer your question:

[Is there an ability to see who has visited a page and how many times?](https://community.atlassian.com/t5/Confluence-questions/Is-there-an-ability-to-see-who-has-visited-a-page-and-how-many/qaq-p/72335)

Another option would be to use [Google Analytics](https://community.atlassian.com/t5/Answers-Developer-Questions/google-analytics-on-confluence-pages/qaq-p/508574).

Hope this is helpful!
How to see when someone is editing a page in Confluence using collaborative editing
Asked by Mandi Chiancone:

Our teams are using Confluence for collaborative editing but I am not able to see in a visual when the changes are being made while we ware working in the same page, I need to refresh the page each time to see any changes. Any guidance is appreciated.


Answers:
author: Shannon S
body: Hi Amanda,

Can you let me know what version of Confluence you're running?

Here are some tips to get you started on [troubleshooting Collaborative Editing](https://confluence.atlassian.com/doc/troubleshooting-collaborative-editing-858772087.html).

Kind Regards,  
Shannon
Field that creates structured set of pages
Asked by Patrick Smalley:

Hello, I am looking to set up a structured documentation space for our team in Confluence. We would like to have this space run by a form that requests several basic pieces of information (Customer Name, Customer acronym), and with that, it would create a set of child pages, all named with the variables provided, and linked in a predictable way, ready to fill in.

In other words, the form would create a skeleton for the customer's documentation so whoever is doing this now has a set of pages to go through (all linked to each other) whereby they can fill in each separate page with the information relevant to that page. (Customer contacts, contracts, projects, applications, etc).


Answers:
author: Patrick Smalley
body: Turns out PageTreeCreator is exactly what I was needing. I was able to create the structures that I needed and copy them with variables.

Link for those needing the same thing:

<https://marketplace.atlassian.com/plugins/eps.focuspro.PageTreeCreator/server/overview>


author: Robert Reiner _smartics_
body: A [space blueprint](https://developer.atlassian.com/confdev/confluence-plugin-guide/confluence-blueprints/space-blueprints) provides a wizard that can be programmed to collect information and then create a space with pages in it. This would involve a lot of programming and the required APIs are not always very well documented. It is (to my knowledge) easier if the set of pages is always the same and the information from the wizard is simply replacing "markers" in the new space (such as the name of the space, list of stakeholders, customer info, etc.).

The copy tree action provided by Confluence supports replacing information in the page titles. I assume that this does not fit your needs?

An alternative approach would be to use a third party product that allows to configure the space creation process. Examples to support users to create spaces may be the following:

* <https://marketplace.atlassian.com/plugins/eps.focuspro.SpaceTreeCreator/server/overview>
* <https://marketplace.atlassian.com/plugins/com.keinoby.confluence.plugins.yoikee-creator/server/overview>

I have *no experience* with these products! I only would like to recommend to have a look at them. At our company we still create a new add-ons with one or more space blueprints when we have a new documentation need.

comments: author: Patrick Smalley
body: Thanks for the response. After asking my question I located PageTreeCreator and that seems to do what I need however I am still learning about its capabilities.

I will definitely use your suggestion should what I found not work out.
linked issue to jira does not render in-page
Asked by Vick Khera:

When I use the "insert jira issue" macro and link a single issue, I expect that issue to render into the page like it does on the atlassian sites. However, for me it does not, producing an error instead. Curiously, however, the list at the top of the confluence page does render the issue immediately.

![Screen Shot 2017-10-30 at 10.24.43.png](/t5/image/serverpage/image-id/9058i583B72FCAC109A6A/image-size/large?v=v2&px=999 "Screen Shot 2017-10-30 at 10.24.43.png")

In this first screenshot above, you can see the issue link trying to fetch the details. I've clicked the button at the top of the page to show that Confluence is able to fetch the data quickly for that display.

![Screen Shot 2017-10-30 at 10.25.00.png](/t5/image/serverpage/image-id/9059iB08D66CCC47D303A/image-size/large?v=v2&px=999 "Screen Shot 2017-10-30 at 10.25.00.png")

In this second screenshot you can see that the in-page link failed.

How do I make this work? When I inserted this link, it properly added the return link into the issue in Jira, so the communication does work between the two.


Answers:
author: Peter DeWitt
body: [@Vick Khera](/t5/user/viewprofilepage/user-id/559610), Have you tried deleting the Application links and then re-creating them?

.pd

comments: author: Vick Khera
body: Yes, I have. Thanks for answering.

It still baffles me why it works for the top button but not the individual issues in-line. I also get other notifications in the notification tray in Confluence from Jira.


author: Martin Lagus
body: Hi. Did you find a resolution to this?

Best


author: Vick Khera
body: No. I have not found out anything how to make this work. I'm still baffled because the application link works, and notifications come through and jira issues in the header come through, just the in-line view fails.


author: Martin Lagus
body: I was able to fix this be doing re-indexing on both sides, and restarted both applications (Data Center solution) and we also increased threads and memory in Jira, also updated UPM on Jira. Dont know exactly what it was that fixed it, but it worked


author: Vick Khera
body: Forgot to note versions: Confluence 6.4.2 and Jira 7.5.1 self-hosted, obviously.
Limit view on some labels in Confluence pages
Asked by Marjo Mallari:

Is it possible to limit labels from being viewed by certain users?


Answers:
author: Peter DeWitt
body: [@Marjo Mallari](/t5/user/viewprofilepage/user-id/1162285), Not in vanilla Confluence. You might be able to expand upon this to take into account the current user but that is beyond my knowledge.

<https://confluence.atlassian.com/confkb/how-to-hide-labels-in-confluence-page-using-javascript-in-specific-spaces-836603034.html>

.pd


author: Christo Mastoroudes _Adaptavist_
body: Hi,

Unfortunately I don't know of a option without some programming.

Use to example above but add a rest call to the js. This will retrieve the list of relevant users and labels from a rest endpoint, which you will have to create.
New Jira UX
Asked by Chris Westerfield:

Hi

when will the new Atlassian UX be available on the Server Software of Jira, Confluence, BitBucket and Bamboo?

I'm asking, because I get the feeling like Jira Server are Customers Second Grade.


Answers:
author: Judd
body: Hi [@Chris Westerfield](/t5/user/viewprofilepage/user-id/855136)

I have some good news for you. We are working on a refreshed look and feel for the Server and Data Center versions of Jira Software, Jira Service Desk, Confluence and Bitbucket (and for HipChat Data Center). This is based on the new Atlassian design and will include things like the updated colour palette, typography and icons.

A number of details will differ from the changes you've seen in Cloud products. For example, we're not currently working on large shifts to the navigation.

We want to give customers a smooth upgrade path, so we're specifically taking this approach for our Server and Data Center customers to make sure that add-ons and custom plugins continue to work and that customers aren't forced to retrain their users (e.g. for navigation).

At this point I can't give you any specific timeline for these updates, but I can share that it's something we are working on. If you have any specific questions, feel free to share and I'll do my best to answer.

Cheers,  
Judd  
Design Manager, Server


author: Chris Westerfield
body: Well I just hope that several plugin developers don't decide to cut support for Jira Server as the Maintenance of both server and cloud could be time consuming

comments: author: Nic Brough -Adaptavist-
body: It's always been time consuming. Apps for Cloud and Server use totally different frameworks. Whilst there's core logic and sometimes a bit of code you can share between them, on the most part, any app that is for both is two independent products.


author: Chris Westerfield
body: It's pretty lame if this is going to happen.

Don't understand why you tread the Server Software Users this way.

Especially because the Jira Cloud Instance has so many issues, especially on the Performance part. (At my Company we mostly suffer from slow instances to constant failures on the instance part.

comments: author: Nic Brough -Adaptavist-
body: Not my choice, I'm not Atlassian.

I'm not fond of the new UI, I think it needs quite a lot of work in usability terms. It's clearly less friendly than the old one in some ways. That said, it could work. I suspect part of the Atlassian approach is "don't clobber the server users until we've got it right"


author: Nic Brough -Adaptavist-
body: From what I've heard (unofficially), it is pretty much certain that it will not be before the next US Summit (spring 2019), and don't bet on it being one of the things announced then either.


Tags: bamboo

bitbucket-server

jira
help with Confluence import.
Asked by sn:

hi all,

users of confluence 5.10 server.

We are planning to do an import from another KB to our space.

1. Our version is higher than the KB version so, we are good with that aspect
2. We want to import to an already existing space in confluence. this is linked to our JIRA. the pages we are planning to import from is also linked to their JIRA. The links will be broken so, is there another way to set the links instead of manually doing them ?
3. I saw the documentation said small file can be imported through UI. what is considered small ?
4. how can the user comments and attachments be mapped ?
5. we dont have a QA to test this. is there a video to help me? im not sure on how much data manipulation will i need to do ?

any input appreciated.


Answers:
author: Brant Schroeder
body: You will want to do an XML export. Make sure you select full export. This will bring all of the attachments with the site. Once the export is complete you will want to perform an import. I would suggest creating a new space and importing all of the exported space into the new space. You can then clean up any links that are bad. Once you have the space cleaned up you can then move all of the pages to the KB space. If the amount of clean up is going to be minimal it would be faster to just import into the KB space and do it there. If you go this route I would suggest making a new space and doing the import once there before doing it into the KB space. You can just delete the test import space when done. To answer your questions.

* You will need to manually fix any broken links.
* Small files size depends a little on the environment but I would say around 100-200mb. If you have a lot of attachments it could be more. I would just test it and if you are not timing out you are good to go.
* Attachments and Comments will come over and mapped automatically with a full export.
* Just create a new space to bring you import into confluence. - <https://confluence.atlassian.com/confcloud/import-a-confluence-space-724765531.html>

comments: author: sn
body: thanks brant. would i need system admin permission to do this ? i'm only the Confluence admin and nit system admin.


author: Brant Schroeder
body: To export a space you will need the export permissions in the space. To import a space I believe you need to be a confluence admin.


Tags: confluence-administration
Track Confluence Attachments File Downloads for Audit
Asked by Vishal Kulshrestha:

We can use Google Analytics for page stats and views

and versioning for changes

however, we have a requriement from Auditing to be able to track Confluence Attachments File Downloads - thats which users had had download and uploaded what files.

Is there a feature or a way to monitor and track this?

Confluence Data Center V6.3.x

thanks,

V


Answers:
author: Anton Chemlev - Toolstrek -
body: It seems to me that one way to do this is to play with application logs or Tomcat logs.

You can start from here:

<https://confluence.atlassian.com/confkb/how-to-enable-user-access-logging-182943.html>

<https://confluence.atlassian.com/doc/working-with-confluence-logs-108364721.html>

Or you can try REST API, there are methods to get audit data:

<https://docs.atlassian.com/atlassian-confluence/REST/latest-server/#audit>

comments: author: Vishal Kulshrestha
body: Thx Anton - Sry for the delayed response.. but the holidays and new years put this on the back burner.. will try out these suggestions... Cheers!


author: Robert Shahon
body: Hey Vishal,  
Did this enable you to Audit or track Confluence Attachments File Uploads/Downloads.  
After reading the pages suggested to you by Anton I did not get the impression that this actually logs those actions,

Let me know please,  
Thanks  
Robert
Import Word Document not working
Asked by Justin Gill:

When trying to import a Word document into Confluence using the option in the Drop Down Menu you are presented with a select file to import button. This will not work for me. I've tried it in Chrome and IE. Have I offended it? Have I done something wrong?

I am an Admin (nightmare).


Answers:
author: AnnWorley
body: It is happening on my test instance as well - I found this bug for it:

[The import word, file select is unresponsive](https://jira.atlassian.com/browse/CONFCLOUD-58158)

Anyone who votes or comments will be added to notifications, so when it's fixed, you will know.


author: Jens Petersen
body: Same here. An essential function that is obviously not part of Atlassian's test suite :-(


author: Andrew Williams
body: Same here. Worked yesterday, doesn't work today. Tried the obligatory clear-cache, delete history, restart browser, etc, etc.

comments: author: Jonathan Brutt
body: I'm having the exact same problem.
Postgresql Query Syntax Error (Restoring Admin Password CentOS)
Asked by Zebadiah Ramos:

Hello!

I'm following the directions listed within the following link to reset the admin password for our Confluence instance.

<https://confluence.atlassian.com/conf57/restoring-passwords-to-recover-admin-user-rights-701435450.html>

However when I run the below query (Using phpPgAdmin) I receive the syntax error shown in the screenshot. Any ideas as to what I'm doing wrong here?

    insert into cwd_user(id, user_name, lower_user_name, active, created_date, updated_date, first_name, lower_first_name, last_name, lower_last_name, display_name, lower_display_name, email_address, lower_email_address, directory_id, credential) values (1212121, 'admin', 'admin', 'T', '2009-11-26 17:42:08', '2009-11-26 17:42:08', 'A. D.', 'a. d.', 'Ministrator', 'ministrator', 'A. D. Ministrator', 'a. d. ministrator', 'admin@example.com', 'admin@example.com', (select id from cwd_directory where directory_name='Confluence Internal Directory'), 'x61Ey612Kl2gpFL56FT9weDnpSo4AV8j8+qx2AuTHdRyY036xxzTTrw10Wq3+4qQyB+XURPWx1ONxp3Y3pB37A==');insert into user_mapping values ('2c9681954172cf560000000000000001', 'admin', 'admin');

![syntax error.PNG](/t5/image/serverpage/image-id/9043iF4DA6208E50588B9/image-size/large?v=v2&px=999 "syntax error.PNG")

I really appreciate everyone's help, I'm completely new to both Postgresql and JIRA, so I apologize if this is a simple question.


Answers:
author: AnnWorley
body: It looks like the following has been appended to the front of the insert statement:

```
SELECT COUNT (*) as total FROM
```

Please try the queries without that, and let us know if you can add the user as expected.

comments: author: Zebadiah Ramos
body: Thanks, Ann!

It looks like the "Paginate Results" box was checked, which was appending the statement.

Unchecked the box, and now we're good to go!


author: AnnWorley
body: Thanks for following up with us for the sake of the next person who has that box checked. :) Happy to hear you're all set!


author: Lars Olav Velle
body: hm..

Have you selected the correct database first?

e.g: \\c jiradb


Tags: database
Can you see the history of who has edited space permissions?
Asked by Emily Lord:

Can you see a history of who has edited the permissions under "Space Tools"?


Answers:
author: Peter DeWitt
body: [@Emily Lord](/t5/user/viewprofilepage/user-id/1162258), I don't think it's under Space Tools. Take a look at the Audit Log under General Configuration -\> Administration. This will give you a system-wide audit of changes including space permissions. You can even export to excel for easier searching/manipulation.

.pd

comments: author: Emily Lord
body: That is exactly what I needed. Thank you!


author: Peter DeWitt
body: :)
Cannot edit pages as admin or view them as user. Only $permission.userSubject.name can view this pag
Asked by Harm:

After upgrading to 6.5 (from 3.3.x) some pages in my Confluence space have incorrect permissions. They are not viewable by normal users and not editable by neither admins and normal users. When I open the page information of such page it says:

Restrictions from parent pages:

Page: (this page's title) -- Only $permission.userSubject.name can view this page.

So somehow the page is a parent of itself and has some restrictions applied to it. I cannot find a way to remove those restrictions


Answers:
author: Harm
body: It turned out I had to rebuild the ancestor table, <https://confluence.atlassian.com/display/DOC/Rebuilding+the+Ancestor+Table> .

comments: author: AnnWorley
body: Thank you for following up on the Community so others can benefit!


author: Jayapradha A
body: Rebuilding an anchestor table requires a downtime?


author: Alex Yasurek
body: It doesn't but it can slow down the instance if it is a very large instance.


author: AnnWorley
body: Hi there, Harm,

Since you upgraded from such an old version I opened a support ticket for you, so you could share your logs privately with Support and we could make sure the upgrade was completed successfully.

Our portal will email you the case number shortly.

Thanks,

Ann

comments: author: Harm
body: Thanks Ann. Version 3.3 was a mistake, sorry. I've actually upgraded from 6.3.3.


Tags: bug

permission
Doubt about the best choice to configure my sites
Asked by Manuel Freiria:

Hi,  

We are evaluating the best options to organice our documentation and one of our main doubts is about use one or several spaces.  

The main problem about use one space for each group is sharing labels. We want to label all pages in our wiki, and share this labels and its contents between all the people logged in the wiki, and I can't do it using one space for each group.  

Another issue we have found is about restriction of the action of create labels. Is there any permission with witch we can take control about the creation of new labels??

Could anyone give us some recomendations about these features?  

Regards,


Answers:
author: Nic Brough -Adaptavist-
body: Labels on pages are global, not limited to spaces, so I'm not sure what the question is there.

There are no restrictions on creating labels, but there are some neat add-ons in the marketplace (Labels cage is the one that springs to mind) which can help you either keep on top of labels or limit their scope and values.

I'm not fond of limiting values in labels as users can be highly creative and crippling the function is often counter-productive. But I would like a way to stop them creating over-long ones, ones with spaces or separators in them, and the inevitable spelling mistakes.

comments: author: Manuel Freiria
body: Ok, my first doubts are solved.

Thanks!!

Regards,
Individual permissions when importing a space
Asked by Miguel ?ngel Garc?a G?mez:

Hi all,

I have a question about how Confluence manage individual permissions when imports a space.

I mean, I've exported a space, in XML format, that has individual permissions to a particular user. This user is a user from Crowd. In Confluence instance where the space will be imported, exists a user, but not from Crowd, an internal user. This user has the same username, full name and email. When I import the space in this instance, this individual permission is not imported.

So my question is, individual permissions can be imported? If so, the user needs to be the very same as in the Confluence where the export is done?

Thanks a lot!

Regards,

Miguel.


Answers:
author: Max Foerster - K15t
body: They might have the same data in a few fields but are not the same in terms of other information/references as ID for example. So it is not the same user and therefor will not be mapped as equal. My first guess :)

Best, Max

comments: author: Miguel ?ngel Garc?a G?mez
body: Thanks for your answer Max.

So if you want to individual permissions are exported, users must be (in all terms) the very same, ins't it?

I guess that with a user from LDAP, for example, Crowd, the individual permission would be imported, could be that possible?

Thanks a lot.

Regards,

Miguel.


author: Max Foerster - K15t
body: I'd think so - yes, that they have to be the same - else it will be most likely an unknown user or labeled as such within Confluence afther the import on your page.

If you use page restriction on your old instance with users provided by for example a shared external directory (Crowd, LDAP, you name it), that your new instance also is using. I'm pretty sure the restrictions will be imported and work afterwards as they're referencing the same user. The only problem is matching restrictions like in your case across different directories. But I guess you could do a little database magic and replace your Crowd-user with your internal user everywhere, where your restrictions apply :)


author: Miguel ?ngel Garc?a G?mez
body: Thanks Max ;)
new created user gets no "sing in" Email
Asked by Werner Matt:

Hello everyone,  
the following user (lukas.mainka), don't get the application "sign-in"-email to set their user password. Even with adminstration-rights, I'm not able to set their user passwords.  
I already deletet the user accounts and created them new, without success.


Answers:
author: Shannon S
body: Werner,

Is this on Confluence Cloud, or Server? If it's Cloud and you provide me their email, I can find out why the email is not being delivered.

Kind Regards,  
Shannon