youngmon/atlassian-qna huggingface dataset:
Confluence Space Settings have disappeared
Asked by Matthew Helfrich:

Hello ,

Even with global admin access , all of our spaces seem to have the same issue. navigate to any "space settings" , under the "Overview" tab, on the space details tab, the created by is blank, and the administrators is also blank.

I have users that are requesting access to spaces, but I cannot add them because atlassian is not showing me who the space admins are.


Answers:
author: John Fetzik
body: I am using Confluence Cloud and see the same thing. Bug report time.

As a workaround you can go to the Permissions tab and see which users have Admin permission. Not as quick, but works in a pinch.

comments: author: Matthew Helfrich
body: strange,

I am a site admin across all atlassian products, but the only spaces i see the permissions tab for , is the site space I admin myself. not sure if "working as intended" or "more bugs"


author: Matthew Helfrich
body: ![Capture24.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/51729i94A05E5FD097E1A9/image-size/large?v=v2&px=999 "Capture24.JPG")


author: Matthew Helfrich
body: We opened an atlassian support ticket for this , will update


author: John Fetzik
body: It sounds like a problem with the permission setup for your Confluence Spaces. Being a "site admin" does not automatically give you any Space permissions in Confluence. You still need to have Admin permission assigned to you for a Space to see the Space Permissions.

The way our Confluence Cloud instance is set up is that any admins are members of the "administrator" Group and this Group has all permissions, including Admin assigned in all of the Spaces. Perhaps this has been changed for your instance or you are not a member of the Group used for this type of setup.

![Confluence-Permissions-001.png](https://community.atlassian.com/t5/image/serverpage/image-id/51817i56D287C7CCD0EF32/image-size/large?v=v2&px=999 "Confluence-Permissions-001.png")


author: Matthew Helfrich
body: okay update -

yes, we agree that this looks like a bug (the screenshot i posted above)

however,

Atlassian got back to me today and gave me these instructions to assume an admin role over a space we didnt have admin role over, (but had site admin)

You, as a site-admin, can recover access to any Space in your instance by following the steps below:

* In your Confluence landing page click on **Settings** on the left sidebar;
* Scroll down until you find the **Space Permissions** option in the left menu and click on it;
* Find the space you need Admin permissions and click on **Recover Permissions**;
* After the page reloads click on **Manage Permissions**;
* Click on **Edit** **Permissions**;
* Add yourself and any user needed to the necessary permissions;

**Save** the changes


author: Matthew Helfrich
body: so yes, we were able to assume the admin role of the space to modify membership , and to that end, the issue is resolved.

We'll see if Atlassian feels like fixing the fact that things show up blank.

cheers!


Tags: cloud

confluence-cloud

server
Create button missing after upgrade to 6.15
Asked by heedlogistics:

Hi there,

Due to server issues we had to move our Confluence system to a new server. We took the opportunity to also upgrade our system to 6.15.

Everything worked perfectly fine expect that the "Create" button (new page) disappeared in all spaces. As we use blueprint that's crucial to us.

After reading several threads I'm pretty sure that we're facing a license issue. After installing it did not accept our old license so we bought a new one.

Any idea how to solve this issue?

Many thanks in advance and best regards

Alex


Answers:
author: Jack Nolddor _Sweet Bananas_
body: It seems that your license ins't valid.  

You can generate a trial license using <https://my.atlassian.com/> to check if the problem persist or not.  

Regards

comments: author: heedlogistics
body: Hi Jack and thank you. I already tried a trial license, but that didn't solve the problem.


author: Brant Schroeder
body: Did you follow these steps to update your license after purchasing a new one? <https://confluence.atlassian.com/doc/managing-your-confluence-license-313467774.html>

comments: author: heedlogistics
body: I did, yes. I also tried the ?safe mode" and checked the user and group right for all spaces without any result.

However if I use the keyboard shortcut ?c" I'm able to create a subpage. So shouldn't be a permission issue?


author: Brant Schroeder
body: Have you cleared your browser cache to make sure that is not the issue?


author: heedlogistics
body: Yes, I did. I also tried different machines/computers in our office.


author: Brant Schroeder
body: Are you hosted on linux?


author: heedlogistics
body: No, Windows Server 2012 R2 Standard.


author: Brant Schroeder
body: Are you running a reverse proxy? If so can you validate all of your proxy settings are correct. Also you can test on the server an not go through the proxy to see if it is a proxy issue.


author: heedlogistics
body: No proxy is used.


author: Brant Schroeder
body: If your license is valid, you do not have a proxy and it is not a cache issue then you should create a support ticket with atlassian. <https://support.atlassian.com/contact/> they will be able to review logs you submit to them.


author: heedlogistics
body: Brant, many thanks for all your help! I'm not exactly sure why, but I have the button back!

We used OpenID authentication (Google) on our old server using the add-on "OpenID Authentication for Confluence". After moving confluence to the new server I did not use reinstall the add-on but used the regular login. Now I just re-installed the add-on and immediately the button is back (also if I use the regular login as before).

I cannot explain what happend, but I'm glad that we can work again. Maybe anybody else faces the same problem.

Again: Thanks for your support and best regards

Alex


author: Brant Schroeder
body: Sounds like your user directories were not setup correctly so proper permissions were not applying to the users account. Glad you got it working.


Tags: confluence-server

server
How can I remove permission to create personal and site spaces from confluence-users group?
Asked by Glen Byrne:

Hi,

We want to restrict the ability to create spaces to admins in our Confluence implementation (whether site spaces or personal spaces). To be clear, we want users to use site spaces, but we want to them to be set up in accordance with some "house rules" we've agreed on.

I went to Confluence-Global Permissions-\>Edit-\>Unchecked the "Personal Space" and "Site Space" tick boxes from the confluence-users group-\>Save all.

However, every time I do this, I get no error or warning or message, but it doesn't seem to work (the changes are not saved).

Is it possible to remove the ability for users in confluence-users to create site and personal spaces using global permissions in Confluence Cloud? Thanks,

Rgds,

Glen.


Answers:
author: Glen Byrne
body: Hi, sorry, before anyone bothers with this, I tried logging in and out several times, tried the process over again several times and for some reason, eventually it worked. Bit frustrating, but essentially resolved, sorry if this wastes anyone's time.


author: elkrivertom
body: I just upgraded from 8.1.0 to 8.5.2. For some reason the confluence-users group has the Create Personal Spaces and Create Spaces permission. I do exactly as stated above and nothing happens. Very little is logged as well.

I have a small site but I need these permissions fixed.

comments: author: elkrivertom
body: As the previous person stated, I tried again this morning and on first attempt I was able to remove the Create Space permission but the personal space permission came back. On my second attempt the personal space permission stayed off.

Odd behavior which I cannot explain.


Tags: cloud

confluence-cloud
migrating confluence to new server
Asked by joel Cruz:

migrating 6.1.2 to a new centos server. I need some help with moving the data over. The XML backup function doesn't work. the page crashes and spits out a proxy error.

I tried to do the manual way and copy the home directory, but when i start the instance i get a "HTTP Status 500 - java.lang.IllegalStateException: Spring Application context has not been set" error.

My problem is it's not a straight copy, the username, webserver and database are changing. I redid the folder permissions with the new username and i changed the xml file with the new DB info, Im also keeping the default web server configs, so it runs on port 8090 without a reverse proxy in front. But it doesn't start up properly. I read the errors i get are permission related, but i'm copying the folder exactly as is.

Not sure what else to do.


Answers:
author: joel Cruz
body: it doesn't work. i got past my java errors and permission issues, but now the site doesn't load at all, just says connection refused in the browser. I'm watching the catalina.out file for errors and it's not writing anything. I have no more leads to follow.


author: Jack Nolddor _Sweet Bananas_
body: Hi Joel, XML Backups are not suitables for large instances, you may find interesting this article where explaint how to migrate Confluence to another server.  

Check: <https://confluence.atlassian.com/doc/migrating-confluence-between-servers-184150.html>


Tags: centos
How does a page's star icon work?
Asked by Wendy Emerman:

I can't find cloud documentation on the star icon at the top of a page.

When I click on it, I don't see any "favorites dashboard" anywhere, as indicated by old versions of help.


Answers:
author: Danny Zuccaro
body: Hi Wendy,

The star icon refers to Save for later. You should be able to access this from the Confluence sidebar by selecting Your work and then Save for later. Alternatively you can select your profile picture and then Save for later.

You can get more details [here.](https://confluence.atlassian.com/confcloud/save-for-later-724765402.html)

Hope this helps,  
Danny

comments: author: Wendy Emerman
body: Many thanks, [@Danny Zuccaro](/t5/user/viewprofilepage/user-id/510058) !


Tags: cloud

confluence-cloud
How do I get "<time datetime="2019-01-01"/>" working in my confluence xhtml macro?
Asked by Marcel Ortlieb:

I defiened a very basic xhtml macro for setting a date value which I want to be converted to date picker storage format (resp. date lozenge).

xhtml macro definition:

```
<xhtml-macro name="helloworld" class="com.atlassian.tutorial.anotherNewPlugin.macro.helloworld" key='helloworld-macro' hide-body="true">
    <description key="helloworld.macro.desc"/>
    <category name="formatting"/>
    <parameters>
        <parameter name="Date" type="string"/>
    </parameters>
</xhtml-macro>
```

helloworld.java

```
public class helloworld implements Macro {

    public String execute(Map<String, String> map, String s, ConversionContext conversionContext) throws MacroExecutionException {

        String date;
        String result = "";

        if (map.get("Date") != null) {
            date = map.get("Date");
            result = "<time datetime=\"" + date + "\"></time>";
        }

        return result;

    }

    public BodyType getBodyType() { return BodyType.NONE; }

    public OutputType getOutputType() { return OutputType.BLOCK; }

}
```

I would expect this:

![2019-04-15 (3).png](/t5/image/serverpage/image-id/51563i1A2A181DA476B58A/image-size/large?v=v2&px=999 "2019-04-15 (3).png")

But I get this:

![2019-04-15 (4).png](/t5/image/serverpage/image-id/51564iFA1178BE434BDD31/image-size/large?v=v2&px=999 "2019-04-15 (4).png")

Inspecting html source shows this:

```
<p>
   <time datetime="2019-04-04" class="conf-macro output-block" data-hasbody="false" data-macro-name="helloworld"> </time>
</p>
```

Can anybody please give me a hint what I am doing wrong?


Answers:
author: Diego
body: Hello there!

Marcel, I took your HTML source for the picker and applied it to one of my local pages using the source editor:

**[Source Editor](https://marketplace.atlassian.com/apps/1210722/confluence-source-editor?hosting=server&tab=overview)**

After hitting apply, Confluence automatically changes the input to this:

```
<p>
<time datetime="2019-04-04"/>
</p>
```

And then the date picker is correctly shown.

You might need to check what and when this is being passed to Connie:
>
> ```
> class="conf-macro output-block" data-hasbody="false" data-macro-name="helloworld"
> ```

Since this is excluded form the final result with the Source editor, I would imagine that this is what is breaking the date picker when you display it.

This could be hidden in what is returned by

```
map.get("Date");
```

Which is the value given to your date variable which is then concatenated with result and returned by your method.

Hopes this helps Marcel! Looking forward to your reply.


Tags: atl-adm

confluence-server

server
Is there a way to disable collaborative editing on a document?
Asked by Racheal Pound:

> I am trying to get a Word library together and I only want people to edit the documents one at a time, rather than collaborative editing where one might edit over another. Any suggestions are welcomed.


Answers:
author: Dominic Lagger
body: From confluence out of the box, I would say no. You can [disable collaborative editing](https://confluence.atlassian.com/doc/administering-collaborative-editing-858772086.html#AdministeringCollaborativeEditing-Changetheeditingmode) on the settings. But this will not help you with attachements.

There is a plugin for that: [Cenote Lockpoint](https://marketplace.atlassian.com/apps/36199/cenote-lockpoint-attachment-checkout?hosting=server&tab=overview). With this plugin, you can lock attachements, so nobody can change anything until you delock it again.

Hope this helps
Confluence was hacked
Asked by ?????????????:

Hello! I have Confluence on my server ver. 6.8.

It was hacked somehow and somebody uses it to spam and flood from my server.

How is it possible? I have only atlassian (+nginx) and postgres on the server.

The malware is running as "confluence" user. They changed the crontab and run scripts from pastebin.com.

![?????? ?????? 2019-04-15 ? 18.09.39.png](/t5/image/serverpage/image-id/51535i896DE00C609F2F23/image-size/large?v=v2&px=999 "?????? ?????? 2019-04-15 ? 18.09.39.png")


Answers:
author: ?????????????
body: This is my situation <https://community.atlassian.com/t5/Confluence-questions/How-come-my-confluence-installation-was-hacked-by-Kerberods/qaq-p/1054605>


author: Daniel Eads
body: Hey there,

I agree with your diagnosis that you've been infected specifically with kerberods malware as linked in the other thread, based on the pastebin script that it pulled.

As described in the linked thread that you read, there's a two-step process needed to get this resolved:

1. Upgrade Confluence to a version unaffected by CVE-2019-3396 Widget Connector vulnerability from March 20th ([see Confluence Security Advisory - 2019-03-20](https://confluence.atlassian.com/doc/confluence-security-advisory-2019-03-20-966660264.html))
2. Clean up the malware infection - most folks have had success with the [LSD malware cleanup tool](https://git.laucyun.com/security/lsd_malware_clean_tool/blob/master/README.md).

Let me know if you have any questions about the upgrade!  
Daniel \| Atlassian Support


author: ?????????????
body: In syslog I see:

```
syslog.3.gz:Apr 12 14:10:21 vm-wiki-01 dbus[1064]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkitd.service'

syslog.3.gz:Apr 12 14:10:21 vm-wiki-01 systemd[1]: Starting Authenticate and Authorize Users to Run Privileged Tasks...

syslog.3.gz:Apr 12 14:10:21 vm-wiki-01 polkitd[13831]: started daemon version 0.105 using authority implementation `local' version `0.105'

syslog.3.gz:Apr 12 14:10:21 vm-wiki-01 dbus[1064]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'

syslog.3.gz:Apr 12 14:10:21 vm-wiki-01 systemd[1]: Started Authenticate and Authorize Users to Run Privileged Tasks.

syslog.3.gz:Apr 12 14:10:23 vm-wiki-01 crontab[13958]: (confluence) REPLACE (confluence)
```

So I tried to disable polkitd.


Tags: atl-confsec

confluence-server

server
Change user email in confluence
Asked by Peter Smolders:

Hello,

We have confluence cloud. I am an adminstrator.

How can I change the email adres of a user?

Is see in some blogs that I can do this via edit profile \& change credentials.  
But how can I get to edit profile?

Best regards,

Peter


Answers:
author: Ang?lica Luz
body: Hi Peter,

Since Atlassian account was introduced in 2017, administrators can no longer change users' email. Now, only the user can change their own email on id.atlassian.com.  
With the new site administration UI, you can suggest changes, but it's up to the user to change the email or not.

A workaround for that would be a domain verification, so the organization admin will be able to change the emails.  
You can find more details on the documentation below:  
- [Set up an Atlassian organization](https://confluence.atlassian.com/cloud/set-up-an-atlassian-organization-938859734.html)  
- [Verify a domain for your organization](https://confluence.atlassian.com/cloud/verify-a-domain-for-your-organization-873871234.html)

Regards,  
Ang?lica

comments: author: Peter Smolders
body: Hi Ang?lica,

Thank you for your prompt feedback.

I have asked the user to use the link provided in your email.

Unfortunately the user cannot change his email address via this link.![confluence_User.png](https://community.atlassian.com/t5/image/serverpage/image-id/51967i67F89933BC8C3435/image-size/large?v=v2&px=999 "confluence_User.png")

The user gets following message :

Managed account

Your account is managed

Contact your administrator to change your email address.

Best regards,

Peter


author: Ang?lica Luz
body: Thank you for the information.   
I was able to see that this domain has been claimed, so the organization admin can change the email. You can go to admin.atlassian.com and select the organization. Then click on Directory \> Managed accounts.   
On this page, you can select Arne's account and change the email.  
If you can't access the page, you must check with other site-admins if they have access to change or for them to grant you access.


author: Peter Smolders
body: Hi Ang?lica,

This worked just fine.

Thank you very much for the support.

Have a nice weekend!

Peter


Tags: cloud
Setup: We can't write to your home directory
Asked by Anton Poskrebyshev:

##### Problem: {#toc-hId-1758843084}

##### " {#toc-hId--48611379}

##### Setup: We can't write to your home directory {#toc-hId--1856065842}

Your dedicated Confluence user needs read, write and execute permissions to the Confluence home directory `/var/atlassian/application-data/confluence`

`"`

but I have another home folder installed!  
in the file: \<installation-directory\> /confluence/WEB-INF/classes/confluence-init.properties it is written:  
"confluence.home = / atlassian / application-data / confluence"

Maybe somewhere you need to reset the cache? Just in case, I created a copy of the home pack, where the system asks for the rights to both home folders to be correct, I executed the commands:  
$ chown -R confluence \<home-directory\>  
$ chmod -R u = rwx, go-rwx \<home-directory\>


Answers:
author: Nic Brough -Adaptavist-
body: Did you restart Confluence after changing the properties file to point at the desired directory?
Hide Jira links in Confluence
Asked by posztos:

Hi,

is there a way to temporarily hide Jira issue links in a Confluence page?

We have inserted quite a few Jira links into Confluence docs, and the documentations would be more readable if the links could be hidden/shown as required. We use Scroll PDF Exporter, where the same feature would be great.

Any app-ideas? Could a custom app do that?

Thanks


Answers:
author: posztos
body: Finally we ended up using Visibility for Confluence by ServiceRocket. We put every Jira issue link into a "hide-if" macro, which hides the links when a specific page label is present. We add/remove that label depending on whether the links should be displayed or not.


author: Jack Nolddor _Sweet Bananas_
body: You can use Page Properties macro to hide or not content from viewing but not for editing.  

I suggest to place the links within this macro and hide or unhide the content when needed.  

Check: <https://confluence.atlassian.com/doc/page-properties-macro-184550024.html>


Tags: confluence-server

server
Why do a get multiple versions of the same file when exporting to XML?
Asked by Dan Moran:

I am using Confluence 3.5.7, and when I exported a Space containing mostly PDFs, I got a file folder for each PDF, but some of the folders contain multiple version of the PDF (same name, but different sizes) in that folder. It's as if Confluence has saved every version rather than just keep the latest version. This apparently is taking up an enormous amount of Space on our Confluence server. Can I instruct Confluence to keep only the latest version of a PDF? Thanks!


Answers:
author: Diego
body: Hey, hello there!

Dan, first thing I would like to address with you is the version that you are currently running. This is a pretty old version and is no longer support by Atlassian for a long time.

Also, it seems that you can bee affected by both of our latest CVEs:

**[Confluence Security Advisory - 2019-03-20](https://confluence.atlassian.com/doc/confluence-security-advisory-2019-03-20-966660264.html?)**

[**Confluence Security Advisory - 2019-04-17**](https://confluence.atlassian.com/doc/confluence-security-advisory-2019-04-17-968660855.html)

With this in mind, we**strongly** **advise**you to upgrade your instance. Now, moving forward with the initial question!

Confluence does keep attachment versions. When you export a Space, all attachment versions are kept in the resulting export. When the export is restored in another instance, all the attachments should be present.

You can check what is included in each type of export here in this table:

**[Export Content to Word, PDF, HTML and XML - Export multiple pages to HTML, XML, or PDF](https://confluence.atlassian.com/doc/export-content-to-word-pdf-html-and-xml-139475.html#ExportContenttoWord,PDF,HTMLandXML-ExportmultiplepagestoHTML,XML,orPDF)**

With this in mind, I have raised this feature request:

**[CONFSERVER-58172 \| Ability to export only latest version of attachment on XML export](https://jira.atlassian.com/browse/CONFSERVER-58172)**

A good course of action would be to vote and watch this feature. Voting will increase the feature visibility and watching will keep you up to date with everything.

Looking forward to your reply Dan!

comments: author: Dan Moran
body: Thanks you, Diego! Very helpful - I appreciate your quick response. Dan


Tags: confluence-server

server
How can I excerpt-include something from a space that the viewer has no permission to?
Asked by Ed L:

I have a chart in our NOC space that is locked down to just NOC personnel. I want to excerpt-include that chart on a page in the user KB space so that I only have to update the chart on one page rather that two different pages. The users report they can't view that chart (understandably since they don't have View permissions to the NOC space where the original page lives).

What is the proper way to get the results I want or is that impossible without opening up the NOC space to them?


Answers:
author: Chris Nicosia
body: [@Ed L](/t5/user/viewprofilepage/user-id/3039029) - Your assumption is correct. I don't see a way around that if you want the chart to live in the locked down space. I think your best option would be to put the chart in another space that has more open permissions and then call the excerpt-include on the KB page and in the NOC page. Would that work for you?

comments: author: Ed L
body: Thanks, Chris. I considered putting the chart in the KB space page and then call it in the NOC page since NOC personnel can view the KB space, too.


Tags: confluence-server

excerpt

permission

server

space