youngmon/atlassian-qna huggingface dataset:
Error unzipping file (This may be due to a large zip file): invalid block type
Asked by Pooja Pandey:

I get this error while restoring \~4GB xml backup :

Error unzipping file (This may be due to a large zip file): invalid block type


Answers:
author: Pooja Pandey
body: The ownership of the file is same with which the application runs.


author: Nic Brough -Adaptavist-
body: Check the file ownership - that can cause a spurious block error.

comments: author: Nic Brough -Adaptavist-
body: Ok, can you try unzipping the file manually to see what errors happen on a command line?


author: Pooja Pandey
body: This is the error that I get \>

Archive: Confluence-space-export-173007-1768.xml.zip  
End-of-central-directory signature not found. Either this file is not  
a zipfile, or it constitutes one disk of a multi-part archive. In the  
latter case the central directory and zipfile comment will be found on  
the last disk(s) of this archive.  
note: Confluence-space-export-173007-1768.xml.zip may be a plain executable, not an archive  
unzip: cannot find zipfile directory in one of Confluence-space-export-173007-1768.xml.zip or  
Confluence-space-export-173007-1768.xml.zip.zip, and cannot find Confluence-space-export-173007-1768.xml.zip.ZIP, period.


author: WW
body: I know it's 5 years later, but...

I'm having this same problem.

I believe it is because I'm **rekeying the space using the PowerShell script** found on the [How to copy or rename a space in Confluence](https://confluence.atlassian.com/confkb/how-to-copy-or-rename-a-space-in-confluence-169578.html) article. However, I **altered the script** to **only unzip** the entities.xml and the exportDescriptor.properties **files** , which is where the space keys are. Then the **script updates the .zip file** .  

I had noticed that the **bash script** provided in the same article **includes the unzipping and rezipping of the files** , but the **PowerShell** script assumed the file was already **unzipped**. Maybe it's got something to do with this problem? Maybe the bash script handles the file differently somehow?

I could not find anything about the error and PowerShell by googling. Literally nothing.

I found a lot about **the error and Java**. Since Confluence is in Java, it seems that the problem would lie there. Except the bash script works, so, I don't know.

Long story on why I'm using PowerShell now instead of bash.

If anyone has **any ideas** as to what might be wrong or if I can change something in PowerShell, that'd be really helpful!

If I need to create a new question for this, I can do that, too.
How can you hide a Page, in a Space, from those that do not have even "View" permissions?
Asked by Coline Macorol:

I'm trying to hide certain pages, which are located on the sidebar, from users allowed in a space, but at the same time show it to those who are granted "view and editing" permissions.

Can you do this in Confluence?


Answers:
author: James Dellow
body: If those page restrictions are set, then security trimming in Confluence will mean other users who don't have explicit access granted won't see the link or be able to access the content.

Note: On server, any members of the default confluence-administrators group can see all content. Are you a member of that group?

comments: author: Coline Macorol
body: Thanks, James.

I am a member of the default confluence-admin group.
> "If those page restrictions are set, then security trimming in Confluence will mean other users who don't have explicit access granted won't see the link or be able to access the content."

Do you mean that if the restrictions are set beforehand, users granted access to the Space, but not necessarily to a specific page would not be able to see the link on the sidebar? What about restrictions that were edited after page creation?

I am having trouble hiding those from users that are not supposed to see them.


author: James Dellow
body: Because you are in the confluence-admin group, those page restrictions have no effect on you. But once you restrict viewing of a page, they won't see it in the sidebar, search results or anywhere else. It doesn't matter if you set them when the page is created or later.

I'd suggest checking those restrictions using another account that is setup like a normal user of the space.

Obviously if you manually create a hard coded link somewhere, they'll see that but won't be able to access the page.


author: Coline Macorol
body: Thanks James!

You were right on the money, the user I was testing out had admin rights. Therefore, he was able to see the pages. Now, everything looks how it supposed to be.


Tags: restriction
SEN-9959022 - License issue
Asked by Long Ly:

Hello

I had a problem with the exiting license. When I create it, I made a typo, threfore, the one that generated by Atlasssian doesn't work.

I had been talking to Rey Carrejo *"\[SUPPORT\] Comment posted to request #CA-303316: RE: SEN-9959022*" the past months, he doesn't seem to understand my request.

Could someone please give me a valid lisense so that we can put it in our confluence.

We cannot waste any more time.

Regards

Long


Answers:
author: AnnWorley
body: Hi Long,

I understand from the ticket you linked that Rey is attempting to get on a phone call with you to make sure he understands the issue.

I applied your license to my test instance and it worked without my server ID matching the one that was entered. I took a screenshot of what it looks like on the licensing page, omitting your organization name because this is a public forum. You can see that my server ID is not the same as what was entered when the license was generated.The license doesn't have any technical tie to the Server ID. It is just for Atlassian's records. I anticipate that the license will work on your instance since it worked on mine.

* If there is a problem when you apply the license please let me know what the error message is that you see in the browser.

![Screen Shot 2017-09-15 at 1.16.38 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/6343i7DE2BB7475DD7A8A/image-size/large?v=v2&px=999 "Screen Shot 2017-09-15 at 1.16.38 PM.png")
How do I add a webcal calendar?
Asked by Marc Thayer:

With the latest Confluence redesign, I cannot figure out how to add a calendar to a page now. I have the webcal URL and want it rendered in the page. It doesn't seem to be available under any macros, and I don't see any options to even add it as a team calendar to try to link it that way.


Answers:
author: AnnWorley
body: Hi Marc,

I understand you would like to subscribe by URL to a calendar in Confluence Cloud, since that version was recently redesigned. If you are referring to a Confluence server instance that was recently upgraded, please let me know the upgraded and pre-upgrade versions.

If you are not seeing the Team Calendar option on the + menu when you edit a page, please verify that Team Calendars is enabled on your instance. The option is there on my Confluence Cloud test instance so I don't think it was removed as part of the new Confluence Cloud UI.

![Screen Shot 2017-09-15 at 2.42.22 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/6351i9837A1111E1758EF/image-size/large?v=v2&px=999 "Screen Shot 2017-09-15 at 2.42.22 PM.png")

I look forward to hearing whether the option is available on your instance and if it isn't, whether Team Calendars is installed and enabled.

Thanks,

Ann

comments: author: Marc Thayer
body: ![Screen Shot 2017-09-15 at 1.11.25 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/6352iD4FF7AE8BF13D161/image-size/large?v=v2&px=999 "Screen Shot 2017-09-15 at 1.11.25 PM.png")


author: Marc Thayer
body: Well it looks like it must not be enabled, though I don't know why it would have been disabled. It disappeared the same day the UI updated, reportedly. I'll send a message to one of the admins to take a look. Thanks!


author: AnnWorley
body: Sounds good. They just need to go to Settings\>Manage Add-ons or <https://Your_Instance.atlassian.net/wiki/plugins/servlet/upm>

I hope you will circle back to the forum to let us know how it goes.


author: Marc Thayer
body: It *was* purposefully turned off, as it turns out. When the update occurred, more resource-intensive operations became more apparent, which included the calendar integration.
how do i restart the confluence installation from the beginning
Asked by Todd Huntley:

I had to reinstall confluence. I had a DB from first install still in place. I tried reusing and it blew up. I stop the configuration rebooted the host and drop the original DB and created a new one. Now I just want the configuration to restart from the beginning.


Answers:
author: AnnWorley
body: When Confluence starts up it looks for the file**confluence.cfg.xml** in the root of the home directory (defined in the following file: \<confluence_install\>/confluence/WEB-INF/classes/confluence-init.properties). If it does not find the **confluence.cfg.xml**file, the setup wizard will start again.

My recommendation is to define a [confluence.home](Confluence Home and other important directories) that points to an empty directory, to which the user running Confluence has full permissions.
Issue while update a recently added site
Asked by Sven-Rainer G?rtner:

Hello Support Team,

we are 4 persons in your confluence team - all with the same rights and in the same groups. but if one of my colegues adds a comment to a sheet and want to distribute it - we get this error message. which means: An error occurred during the processing of the request.

I tried to delete the document and generate it new - but this didnt solve the error - i tried do edit the document with my own account and got the same message too. We have some documents without this error.

i get nuts with this problem - can you help us to solve this?

We upgraded confluence to the newest branch 6.4.0 - but its still not solved.

![issue.PNG](/t5/image/serverpage/image-id/6327i5732EAF512E528CD/image-size/large?v=v2&px=999 "issue.PNG")

Kind regards,

Sven-Rainer G?rtner


Answers:
author: AnnWorley
body: Hi Sven,

I found some support cases where that error (There was an error processing the request) was coming up when saving changes.

The issue turned out to be caused by saving changes that included unusual content such as links embedded in tables, images that were copied and pasted in or content imported from MS Word.

To help narrow down the issue, please check your logs for errors such as:

```
com.atlassian.confluence.content.render.xhtml.XhtmlException: com.atlassian.confluence.content.render.xhtml.XhtmlException: Missing required attribute
```

and

```
Error unmarshalling resource identifier fragment
```

Another way we can troubleshoot is to look at the storage format of one of the pages that is generating an error when you publish changes. To provide the storage format, click on the ellipsis (...) in the top right-hand corner and select **View Storage Format** from the dropdown. Copy and paste the storage format into a code block when you update this thread.

Finally, a workaround that helped some of the other customers was to turn off Collaboratiive editing by setting the editing mode to Off under Confluence Admin\>Collaborative Editing. Please note: Existing shared drafts will be lost and can't be retrieved. Check your users have published any drafts they want to keep before you make this change.

I look forward to examining the storage format and hearing what you find in the logs. The ones to check are:

* \<confluence_install\>/logs/ (anything recent in this directory
* \<confluence_home\>/logs/atlassian-confluence.log  
  (The \<confluence_home\> directory is the path defined in the following file: \<confluence_install\>/confluence/WEB-INF/classes/confluence-init.properties)

Thank you,

Ann


Tags: synchrony
I would like to setup a confluence read only group for users that have Jira access.
Asked by Michela Baca:

Is it possible to setup a group in JIRA that has access to Confluence as Read-only?

I have two sets of user population the JIRA users and a smaller subset that are also Confluence users (those that consume a license).

I know I can set up JIRA to be the identity manager for confluence. But not sure how to go about this, if possible.

Thank you for your help.

Michela


Answers:
author: AnnWorley
body: Hi Michela,

I understand you would like a group of your Jira users to view Confluence content as read only, and not take up Confluence licenses.

There are a couple of approaches you can take. If you have Jira Service Desk, your portal customers can be granted read-only access to linked knowledge base spaces as described in [Serving customers with a knowledge base](https://confluence.atlassian.com/servicedeskcloud/serving-customers-with-a-knowledge-base-732528995.html).

If you don't have Jira Service Desk, you could open up the Confluence instance to anonymous access. The instructions are on this page: [Setting Up Public Access](https://confluence.atlassian.com/doc/setting-up-public-access-156.html)

This article has some good details on how the licensing works: Confluence: [Read-only access and licensing](https://confluence.atlassian.com/confeval/confluence-evaluator-resources/confluence-read-only-access-and-licensing)

We have this suggestion ticket open that may interest you: [Allow unlicensed, authenticated users to have anonymous read only access](https://jira.atlassian.com/browse/CONFSERVER-30161) If you vote or comment on it, you will be added to notifications.

Finally, I was not sure if you were asking how to connect Confluence to Jira for user management; in case you would like to, here is the article: [Connecting to Crowd or JIRA for User Management](https://confluence.atlassian.com/doc/connecting-to-crowd-or-jira-for-user-management-229838465.html). You may leave your Confluence internal users in place and add the Jira users, please see: [Managing Multiple Directories](https://confluence.atlassian.com/doc/managing-multiple-directories-229838494.html).

Thanks,  
Ann


Tags: jira

user-management
"In Space" search field - need to type full name of Space before getting suggestions?
Asked by Alex Christensen:

In Confluence Cloud, I am using the "In Space" search field to filter down to appropriate pages for a certain Space(s).![in_space_field.png](/t5/image/serverpage/image-id/6317iDD08A85C163329FF/image-size/large?v=v2&px=999 "in_space_field.png")

I've noticed that I have to type the full name of a Space before the autocomplete dropdown appears with any suggestions. For example, I have a Space called "Operations." If I type "operation" (without the "s"), the Space does **not** appear. If I type the additional "s," the dropdown then shows the "Operations" Space correctly.

Do others have this issue, as well? Is this an intended funtionality? In my opinion, it would be more useful if I could type *some* of the name of a Space in this field and get some suggestions for appropriate spaces immediately.


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: It should autocomplete. If that is not happening, your search indexes might be corrupted. You can try rebuilding them from scratch and see if it works.

See <https://confluence.atlassian.com/confkb/how-to-rebuild-the-content-indexes-from-scratch-on-confluence-server-110035351.html> for more details.

comments: author: Alex Christensen
body: Thanks, Jobin. We're on Cloud, not Server, though - I actually had opened a request with Atlassian to reindex our Confluence Cloud instance because the "Operations" space wasn't appearing at all. The reindex fixed that problem, but I guess this auto-complete still isn't working correctly.

Going to re-open my request with Atlassian and see if they are able to rebuild the search indexes from scratch on a Cloud instance.


Tags: search
401 Unauthorized when special characters are used in rest template request
Asked by Andreas Purde:

Dear Community,

I'm again facing issues when special characters are used in rest template requests towards Confluence: Confluence returns 401.

Getting a page with title "Test 1" works. Getting a page with title "Test ?" or "Test \&" however don't work.

A working example:

```
https://edrup-dev4.atlassian.net/wiki/rest/api/content?spaceKey=CT&title=Cite%20source%201&expand=body.storage%2Cversion
```

Not working:

```
https://edrup-dev4.atlassian.net/wiki/rest/api/content?spaceKey=CT&title=Cite%20source%C3%A4%C3%BC%C3%9F%201&expand=body.storage%2Cversion
```

Remark: when I HTML-escape the Umlauts in the sample before JWT signing works but Confluence is then not able to find the content.

Any ideas?

Thank you

Andreas


Answers:
author: Dario B
body: Hello [@Andreas Purde](/t5/user/viewprofilepage/user-id/502403) ,

I am unable to reproduce the reported issues: neither the 401 nor the empty content.

I have tried in the browser as well as using Postman and Curl. The only difference is that in Curl you can only pass the title url-encoded (in the browser and in postman it gets url-encoded automatically):

```
curl -u <EMAIL-ADDRESS>:<API-TOKEN> "https://SITE-NAME.atlassian.net/wiki/rest/api/content?spaceKey=QWER&title=Test+%C3%A4&expand=body.storage,version" | json_pp 

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  5926    0  5926    0     0  11574      0 --:--:-- --:--:-- --:--:-- 11551

 

{
   "start" : 0,
   "limit" : 25,
   "_links" : {
      "base" : "https://SITE-NAME.atlassian.net/wiki",
      "self" : "https://SITE-NAME.atlassian.net/wiki/rest/api/content?spaceKey=QWER&expand=body.storage,version&title=Test+%C3%A4",

      "context" : "/wiki"
   },
   "results" : [
      {
         "macroRenderedOutput" : {},
         "type" : "page",....
....
```

Can you kindly repeat the same test on your side and let me know if you get the same results?

Also, in case you still face the issue, as possible workaround you can either:

1. Use the page-id instead of the page title
2. Send a POST request (instead of GET) and send the space name and page title in the request body

Cheers,  
Dario


Tags: confluence-cloud

atl-adm

atlassian-connect

cloud

rest-api
Access to third party users to specific spaces
Asked by Alexander Demeulenaere:

I created a Space in confluence that is specific for discussions and topics to discuss with members from outside our own company.

Once the space is created, I can't establish the set-up that a certain user can ONLY access one specific collaboration space.

E.g. If we have 20 spaces, one of the 20 spaces will be named companyx_Colaboration. In that particular space, I want to add people from outside our company. However, those people should only be able to see in our Confluence that only page.

Please could you explain me how to establish this?


Answers:
author: James Dellow
body: By default, you are probably using the 'confluence-users' permission group to grant users access to spaces. This group is also applied to all users of Confluence to give them access to the application (and in cloud, you can't change this configuration, only control if they can create a personal space and create spaces.

You need to:

1. Create a new permission group for internal staff and add them all to it
2. Add this new group to each space (in the space permissions)
3. Remove 'confluence-users' from each space
4. Also remove 'confluence-users' from your default space permissions

Then create a group for your external users and use that to grant access to the specific collaboration space. Note: If you later add a another space to collaborate with a different company, you'll need to create another permission group for them.


Tags: confluence-cloud

permission

space

user
Copying from one Confluence instance to a linked Confluence
Asked by Frode Haugland:

I have two physically separated Confluences (same version)

I linked the two via application links.

I copied a page from one Confluence instance to a linked Confluence .

Now it won't work even if the link is still up. Any ideas?


Answers:
author: Frode Haugland
body: Mind played tricks. Had copied within one instance.
Is there a way to hide "updates" from specific users when they log in to Confluence?
Asked by Tanner Sullie:

There are users we have created that are customers with restricted access. I've noticed that though they cannot access the content, they can still see activity (updates). Is there anyway to hide this from them or change their landing page?


Answers:
author: AnnWorley
body: Tanner, you may [change the landing page for the whole instance](https://confluence.atlassian.com/doc/configuring-the-site-home-page-138140.html) globally or [just for that space](https://confluence.atlassian.com/doc/set-up-a-space-home-page-829076213.html#SetupaSpaceHomePage-spacehomepageSetanotherpageasyourhomepage). Each user can also change the landing page in their profile under Settings.

Please double check the permissions on the spaces where the pages are located which restricted users can see on the dashboard. If they do not have access to a page they should not be seeing updates for it, as [@James Dellow](/t5/user/viewprofilepage/user-id/502478) mentioned.

comments: author: St?phan Champagne
body: This doesn't help me. I would like users to see only the updates for the pages they have access to.


author: James Dellow
body: What updates are they seeing?

Unless they have access to something they shouldn't see updates as they are security trimmed, so they won't even know it exists.


author: Brian_Adkins
body: I see the same thing here .... Logging in as a new user with only access to Confluence "Space B", I immediately see activity from Confleunce "Space A" ... even though I can not access that other space
External user authentication for knowledge base
Asked by Sven Listing:

Hi,

We want to offer an online help to our application using the confluence knowledge base. While it should be available to non registered users, we also don't want to offer it to the entire public as well but to all users registered within our app.

As we don't use service desk, we can't use the "only service desk users" restriction.

We are looking for a hook to pass the validation to our app w/o the need to create individual users in confluence and use SSO.

Is there an existing solution which I missed in my searches? A plugin maybe?

Thanks a million!


Answers:
author: AnnWorley
body: This article suggests using a reverse proxy to limit anonymous access - please let me know if this idea is useful: [Confluence: Read-only access and licensing](https://confluence.atlassian.com/confeval/confluence-evaluator-resources/confluence-read-only-access-and-licensing)


Tags: knowledge-base