youngmon/atlassian-qna huggingface dataset:
Test confluence pointing to production
Asked by david martin:

I stood up a test confluence site. I can log into the system from the server but not the confluence login. It seems that the website points me to the production system. Are there any files I can manually edit to point the test server to the test suite and not production? Thank you in advance.


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: If the base URL is correct, check if you have a proxyName configured in the server.xml. You can also check if you have any apache redirection enabled.


author: david martin
body: It seems that the base URL is correct and so I'm not sure where I it is getting its data. if I try to reset my password on test it points me to the production server.


author: Fabio Racobaldo _Herzum_
body: Hello David,

your BASE URL should point to your staging env.

Another check is the db linked into your STAGING Confluence Home. The related file is confluence.cfg.xml

Please make sure that your are pointing to Staging Database.

Regards,

Fabio


author: Jobin Kuruvilla [Adaptavist]
body: Should be the [base URL](https://confluence.atlassian.com/display/DOC/Configuring+the+Server+Base+URL).


author: david martin
body: I have searched for the file to change the base URL and have no idea what I will need to be changed. I am also copying you what my confluence-init.properties looks like.

###########################  
# Note for Unix Users #  
###########################  
# - For example:  
confluence.home = /opt/atlassian/confluence  
#  
# NOTE: If the path of your confluence.home directory contains symlinks,  
# please set confluence.home to the absolute path, otherwise problems may occur.  

# - For example:  
confluence.home = /opt/atlassian/confluence  
# should be written as:  
confluence.home = /opt/atlassian/confluence  

###########################  
# Configuration Directory #  
###########################  

# specify your directory below (don't forget to remove the '#' in front)  

confluence.home = /opt/atlassian/confluence  


author: Fabio Racobaldo _Herzum_
body: Hello David,

first of all check, your BASE URL, if it is the same as production it can address you to use prod instead of staging.

Another check, atinstallation level, is to verify your confluence home location in \<CONFLUNECE INST\>/confluence/WEB-INF/classes/confluence-init.properties

Hope this helps,

Fabio


Tags: confluence-administration
Floating edit button
Asked by Jan Inge Krokeide:

When reviewing long pages, I would like to have the edit button availeble so that i can click edit and stay where I am on the page. Is this possible?


Answers:
author: David at David Simpson Apps
body: Try adding this to **Confluence Admin \| Look \& Feel Custom HTML \| At the end of the HEAD**:

```
&lt;style&gt;  #com-atlassian-confluence #editPageLink {    position: fixed;    background: #fff;    border: 1px solid #ccc;    right: 210px; }&lt;/style&gt;
```

It should give an edit button that stays in the same place in the browser window regardless of scrolling

comments: author: Casey Maynard
body: Is this code still accurate? The \&lt and \&gt, etc, seems like they should be "\< and \>"

I tried both ways and still did not see a floating Edit option

Also does this resolve the issues listed below with returned back to the spot in the page were a user wants to edit (and avoid having to rescroll to that original point in the page, once you click the edit button?


author: Guilherme Nedel [Atlassian]
body: Hello Tore, have you tried hitting "E" while viewing a page? Voil?! Turns out Confluence does have a number of shortcuts, you can check the full list [after this link](https://www.google.com/search?q=confluence+shortcuts&ie=utf-8&oe=utf-8).


author: Frank_Spafford
body: The "E" shortcut does work (I turned off immediate search in Firefox).

However, as the original post asks, **you do not stay at the same point on the page**. This leads to lots of scrolling up/down to edit pages.


Tags: confluence-administration
Confluence down after upload files
Asked by Geoffrey Gobert:

Hello,  
When I add multiple files into confluence, java is crazy ...   

Can it be from the scheduled tasks that index files ?  
Thanks a lot,  
Geoffrey.  


Answers:
author: Geoffrey Gobert
body: I change the scheduled tasks for index files to 15 min.

Thanks,


author: Guilherme Nedel [Atlassian]
body: Hello Geoffrey, could you please describe what happens with Confluence when you attach those files? There are chances the application is struggling with the amount of allocated memory, you can learn [more about the subject here](https://confluence.atlassian.com/display/CONFKB/How+to+Fix+Out+of+Memory+Errors+by+Increasing+Available+Memory).


Tags: confluence-administration
Exporting PDF's how can I minimized load on Confluence server
Asked by Jaime Romaguera:

Hi,

When mutliple users export spaces to PDF. It cause high load on our Confluence server. Example we have a 4 core CPU server, if I one user exports a PDF use 25% of our CPU/s. So we get 4 users roughly exporting a Space to PDF rougly at the same time it can use up all our cpu resources. I wondering if anybody have any solution to minizied this issue.

My plan is too disable the PDF Export Plugin. Somehow schedule PDF export to be enable after hours and use the conflunence cli to export the PDF for the client after hours.

Wondering if has been able to make a plugin to be turn on or off by a scheduler or have other another suggestion.

Thanks

Regards

Jaime


Answers:
author: Guilherme Nedel [Atlassian]
body: Hello Jaime, you can disable the component during the day, and trigger the exports remotely using [Confluence Command Line Interface](https://bobswift.atlassian.net/wiki/display/CSOAP) [exportSpace](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-exportSpace) with --exportType PDF and a job scheduler.

As for re-enabling the component I believe that is not possible with the current API, you may need to perform that part of the task manually.


author: Rodrigo Girardi Adami
body: Hi Jaime,

This is a known performance problem for PDF and XML export for entire spaces or instances, which is tracked in this bug unfortunately not fixed yet:

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

As you can see [here](https://confluence.atlassian.com/display/CONFKB/Space+or+PDF+Export+Causes+Poor+Performance), the XML and PDF export demands much memory from the application and processing power.

The only workaround that I know for this is to allocate more memory to the application, however even though, this might not be sufficient and may still be a performance problem.

regards,

Rodrigo


Tags: confluence-administration
Is it a best practice to use more than one home page in a space?
Asked by Chris Ridgeway:

In many spaces, I've found it somewhat useful to have two pagetrees in a space, with two or three "home pages". However, I haven't found any documentation on the downsides to this, and I did notice an Atlassian rep saying there is only "one home page per space". Will this cause a problem?


Answers:
author: Chris Ridgeway
body: It may not be actually setting the other pages to "home pages" but I'm simply dragging and dropping the a few pages on the page tree to be at the same level as the page near the top, rather than underneath it.


author: Nic Brough -Adaptavist-
body: Using different page trees will work, but your users may find it a little confusing. You can only have one home space though, there's no logical way to have more than one.

comments: author: Chris Ridgeway
body: Well, at issue is to create multiple spaces, or several trees under the same space.

For instance, our non-profit has a Communications Operations space.

I have top-level page called Language \& Style Manual. It has about 10 pages underneath with details for others across the agency to read when writing memos, for example. Then I have a second top level page called "Operations" which has sub-pages that include "Donor Communications "Public Relations" etc. These are somewhat clearly different topics though related. I could break these out into multiple spaces but it seems a little silly to have a space for 10-15 pages only.

In any case, it seems you're saying it's technically fine, but only one page is truely designated home. I hadn't noticed that: possibly since we're using Refined Wiki custom theme, which may partly obscure that.

Anyway, thanks.


author: HosseinA
body: That should not be an issue. You can have pages in the same level of space tree (not child ages of other pages or underneath).


author: HosseinA
body: May I know how do you set more than one home page in a space? The main home page of the space is the page that you see first by navigating to a space, this can be changed in **Space Details.**Other than that you can have may parent pages with child pages.


Tags: confluence-administration
Is there a way to add a confluence user that defaults to "not able to view/edit any pages" and then enable them page by page?
Asked by Jay Friedman:

I want to sign a contractor up for a license but only allow them to see a couple pages. I wouldn't mind creating a separate space for them if that is possible. I specifically DON'T want them being able to wander around our entire wiki and look at things.


Answers:
author: salehparsa
body: Hi Jay,

I understand that you want to grant some permission to your contractor and you don't want them being able to wander around your entire wiki and look at things, I'd recommend you:  

To achieve this goal I would recommend you to creat **seprate user groups** and assign this group to **seprate space** . You can follow the following steps:  

1- create a group for "Your Contractor" if they have users on your Confluence instance then assign users to that group:  

1. Go to your Confluence Admin
2. Select Group
3. Add Group and Save it
4. Add Members

**Please ensure that each user you create is removed from the confluence-users group. That way, they can't access the rest of your Confluence instance**   

2- Grant **"can use"** permission to your "Your Contractor" group in Global Permissions:  

1. Go to Global Permission
2. Edit Permissions
3. Add "shared marketing" to the Groups
4. Save All

<br />

<br />

3- Grant permission to your "Your Contractor" group to see see "Your Contractor Space"  

1. Go to Space Permissions
2. Under "Individual Spaces" select Manage Permissions of your **"Specific Space"** space
3. On Permissions, click on Edit Permissions and grant permission to "Your Contractor" Group
4. Save All

Let me know if you've any other questions.

Cheers,

Saleh


Tags: external

permission

restriction
What does Sharing a page do after Email is sent?
Asked by Brian Dunk:

Hello, I just want to clarify what happens after I use the "Share" button to share a page to other users. If I do this are the users I sent the Share message to now watchers on the page? Will they get notifications to page updates going forward?

Thanks


Answers:
author: Bruna Griebeler
body: Hi there,

By default, they will not be set as watchers. To do so, they need to [click on "Watch this Page](https://confluence.atlassian.com/display/DOC/Sharing+Content)", or you can [add the users as watchers of the page](https://confluence.atlassian.com/display/DOC/Watching+Pages,+Spaces+and+Blogs).

comments: author: Brian Dunk
body: Will a user Mention add the user as a watcher to a page where they are mentioned?
Unable to login with local admin
Asked by Ray Wojciechowski:

I use Confluence and Stash with Jira as the user management server. Accidently I deleted in Jira lhe Links to Confluence and Stash in User Management -\> JIRA User Server.

Now I can't log in either to Confluence nor Stash. Even not with the local administration account.

How can I fix that problem?


Answers:
author: Bruna Griebeler
body: Hi Ray,

Take a look at this documentation to be able to access as a local admin again:

For Confluence :[](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>

For Stash: [](https://confluence.atlassian.com/display/STASH/Lockout+recovery+process)<https://confluence.atlassian.com/display/STASH/Lockout+recovery+process>

comments: author: Ray Wojciechowski
body: Thank you very much! That saved my day. :)


Tags: bitbucket-server

user-management
I can't add new users to Confluence
Asked by Ali Can Akdeniz:

It says "You are not permitted to perform this operation.". But I am the guy who pays and who is the admin. How can we solve this problem?


Answers:
author: Bruna Griebeler
body: Hi Ali,

This message means that your user is not in in the confluence-users group.

Access your Confluence [as a local admin](https://confluence.atlassian.com/display/DOC/Restoring+Passwords+To+Recover+Admin+User+Rights), and then make sure to add your user in the confluence-users group. For administrations tasks, be sure to insert the user on confluence-administrators as well.

If the issue persists, go to Confluence Admin \> Global Permissions, and make sure that those groups have the proper permissions: [](https://confluence.atlassian.com/display/DOC/Global+Permissions+Overview)<https://confluence.atlassian.com/display/DOC/Global+Permissions+Overview>

Cheers!


Tags: confluence-administration
Error deleting user
Asked by glaubereller:

I'm trying to delete a user on Comfluence but I get the error :

* Error communicating with Confluence: Unauthorized

I'm with de admin account..

Can someone help me?


Answers:
author: Fabio Racobaldo _Herzum_
body: Hello Glauber,

You cannot deletea user if he/she has performed any of the following actions:

* Reported or been assigned to any issues (in JIRA)
* Commented on any issues (in JIRA)
* Added or edited any content on the site (in Confluence). Such content includes pages and blog posts, and edits and comments on existing pages.
* Created labels or comments about build results (in Bamboo).

If the user has done any of this type of work, you can deactivate the user instead. This will allow the applications to retain a complete history for auditing purposes but will make the user's license available.

For more info please take a look to the official documentation : [](https://confluence.atlassian.com/display/AOD/Deleting+or+Deactivating+Users)<https://confluence.atlassian.com/display/AOD/Deleting+or+Deactivating+Users>

Hope this helps,

Fabio

comments: author: glaubereller
body: Got it!

Really tanks Fabio!


author: Fabio Racobaldo _Herzum_
body: You're welcome Glauber


Tags: cloud

confluence-cloud
Confluence tells me that "You do not have permission to access any projects in XY JIRA"
Asked by Balazs Faludi:

How do I properly set up the feature that allows selecting some text in Confluence and adding an issue from the popup? When I try to do that, I get the error message above.

I'm trying this as a user that is an admin on both Confluence and JIRA. I'm using JIRA for user management for both sites. If I simply switch to JIRA with that user, I can easily create new issues.

I'm using the Download versions.


Answers:
author: Daniel Wester
body: Check your application links and make sure it's set up to authenticate you as you in Jira.


author: Kirsty Perriman
body: Any updates on this? I am having the same issue.


author: Kunal Kochhar
body: Any updates? I am in the same situation. I can create Issues in JIRA directly, but from Confluence I get the same error.

Both are standalone evaluation installs.


author: Jobin Kuruvilla [Adaptavist]
body: Seems you do not have Create permissions in the project you selected in JIRA. Log on to JIRA, modify the permissions and make sure you can create an issue in the project in JIRA itself. Once it is working, you can try again from Confluence.

comments: author: Balazs Faludi
body: I'm not sure what you mean. As I mentioned, if I go to JIRA directly, I can create issues without any problem.


author: Jobin Kuruvilla [Adaptavist]
body: Sorry, I missed that part! Are you using trusted auth or OAuth for application links?


Tags: confluence-administration
Deleting Pages
Asked by Pamela Guenther:

I copied a space and try to delete a lot of pages and childpages between the new space. After deleting I purged deleting pages from the trash. Anyhow the pages are shown in the page tree. I am wondering why they are displayed me and I can also work with them. Is there an assignment between the original space and the copied one. If yes, how can I delete this assignment


Answers:
author: Guilherme Nedel [Atlassian]
body: Hello Pamela, that is odd indeed, we used to have a similar issue which is [documented in our bug tracker](https://jira.atlassian.com/browse/CONF-17425) for previous versions of the application.

Would it be possible to provide additional details, such as the version of Confluence you have been using, also the number of child pages which are being affected by this task? If we could delete the whole space (for instance in a staging environment), and attempt to perform the deletion and subsequent purge that could also tell us if this was a glitch or an actual bug.

Hope this can help us gain insight into the behavior, please keep us in the loop.


Tags: delete
Delete Page and Subpages plugin
Asked by Mick Davidson:

Hello,

When will the Delete Page and Subpages plugin be available for V5.4.3 etc?

Cheers.


Answers:
author: Stephan Sutter
body: Hi,

We developed the Page Tree Creator Plugin for our purpose and noticed that we also need a way to delete the page trees (typing error, etc.).

So, check out our plugin. It is simple and save to use. Thanks to the **"Undo Time"** and the additional **"Page Tree Deletion" permission** you can optimize the usability and the security.

**[Marketplace Link: Page Tree Eraser.](https://marketplace.atlassian.com/plugins/eps.focuspro.PageTreeEraser/server/overview)**

Regards,   
Stephan


author: salehparsa
body: Hi Mick,

This is **[Andreas Flosdorf](https://marketplace.atlassian.com/vendors/11056)** contact details (vendor of plugin). I think it's better you ask vendor as they haven't update this [plugin](https://marketplace.atlassian.com/plugins/de.flosdorf.confluence.plugin.delete-pagetree)since Confluence 4.1.5.

Regards,

Saleh

comments: author: Mick Davidson
body: Saleh,

Thank you. The way of contacting shown with the plugin info was the Answers page. So I just followed that.

Cheers.


author: salehparsa
body: Hi Mick,

Check the page that I've linked to vendor's name. There is an email there that you can esaily contanct them for more information :-)

Cheers

Saleh


author: Mick Davidson
body: Yes, that might be true, but on the Support tab it says:

"Andreas Flosdorf supports Confluence Delete Page and Subpages. You can ask a support question via Atlassian Answers to get help."

So why would I look any further? :)

But thanks, I've emailed Andreas. :)


author: Mick Davidson
body: Unfortunately the email ([info@javadoc-macro-plugin.flosdorf.net](mailto:info@javadoc-macro-plugin.flosdorf.net)) was bounced back again, so I'm still no further forward. Thanks anyway.


author: salehparsa
body: Sorry to hear that Mick

Maybe you can find other people can suggest you some similar plugins here.


author: Mick Davidson
body: No worries. Hopefully he'll take a look at Answers soon and resolve the problem. :)


author: Mick Davidson
body: This gets better and better...

I've tried to contact the vendor by leaving a review on their marketplace page. Guess what? The review "can't be published because of an error."

This would be funny it wasn't such a waste of time.


Tags: app

child-page

delete

page
Source Editor - bulk change text content
Asked by Karin Dahlberg:

After upgrading Confluence from version 3.15 to 5.4.4 many tables with 'width=100' are assumed to be in pixels instead of percent. We have found a way to edit and fix this by adding '%' to already existing tables through the Source Editor.  

As we have a large number of tables - is it somehow possible to bulk-edit content in Source Editor?


Answers:
author: Karin Dahlberg
body: Thank you Bob for you answer. I looked at your solution and from what I can see it would require some work to install and configure your solution. My decision is to manually update the tables that have this issue, it should not take more than 30 minutes efficient time. That's what I will do instead.


author: Bob Swift (personal)
body: No, I don't think the editor can do this. However, [How to globally search and modify content](https://bobswift.atlassian.net/wiki/display/CSOAP/How+to+globally+search+and+modify+content) how this can be done using the [Confluence Command Line Interface](https://bobswift.atlassian.net/wiki/display/CSOAP) .


Tags: bulk-edit

confluence-administration

source-editor
Can I get all the pages created by target user?
Asked by akiko_pusu:

Can I get all the pages created by target user? Or, how to list their own contens?

This is because whe have these situation that someone need to move all the his / her contents to another space.


Answers:
author: rambabu patina
body: Hi,

Have a look on similar question [](/questions/223691/is-it-possible-to-find-all-pages-created-or-edited-by-a-specific-user-in-confluence)<https://answers.atlassian.com/questions/223691/is-it-possible-to-find-all-pages-created-or-edited-by-a-specific-user-in-confluence>

Hope this helps you,

Patina

comments: author: akiko_pusu
body: Thank you so much for your reference. Since this is my first question that I'm really glad to read your feedback.


author: FelipeA
body: Hi Akiko,

You can have this information through some simple SQL queries, like:

```
SELECT contentid,title,(SELECT spacename FROM spaces WHERE spaceid=content.spaceid) AS space FROM content WHERE parentid IS NULL AND contenttype = 'PAGE' AND creator = (SELECT user_key FROM user_mapping WHERE username = 'username');
```

If you also want to look for blogposts, you can search it this way:

```
SELECT contentid,title,(SELECT spacename FROM spaces WHERE spaceid=content.spaceid) AS space FROM content WHERE parentid IS NULL AND contenttype in ('PAGE','BLOGPOST') AND creator = (SELECT user_key FROM user_mapping WHERE username = 'username');
```

Best regards,

Felipe Alencastro

comments: author: akiko_pusu
body: Hello, Felipe.

Thank you so much above SQL code. This is quite helpful for me because I also manage and can access to our confluence DB.

And above works fine, the results contains not only the latest pages but also older versions.

Thanks again for all above answers and this Q\&A platform!


Tags: activity

search