youngmon/atlassian-qna huggingface dataset:
Wiki import taking forever (weeks)!
Asked by Joe Reyna:

I setup a brand spankin' new confluence 3.5 wiki and tried doing an import of a 3.1 confluence wiki, but it wanted to take weeks for it to complete. I then tried it without attachments and the same thing occurred. Progress never passes 1%. I don't see anything helpful in the confluence logs.

My setup is using an external pgsql 9.0 database which connected fine in the initial setup.

My ultimate goal is to do a 3.1 -\> 3.5 -\> 4.3 upgrade.


Answers:
author: NielsJ
body: Perhaps you need to increase the memory vor the JVM? Try setting it to 1G at first. Of course the proper size of memory depends on the size of the backup...

comments: author: Joe Reyna
body: The backup is only 153MB. I'll check virtual memory. Thanks!


author: Joe Reyna
body: This fixed the problem. Once I increased the java memory in /usr/local/confluence/bin/setenv.sh it worked and my import completed in 3 hours as opposed to several weeks. Thanks!!


author: Amalia
body: Any specific reason why you are doing an import rather than upgrading it manually? As a quick workaround, I would recommend you to upgrade Confluence manually rather than using XML site backup/restore.

* [Upgrading to Confluence 3.5](https://confluence.atlassian.com/display/CONF35/Upgrading+Confluence+Standalone+Distribution).x
* [Upgrading to Confluence 4.3.x](https://confluence.atlassian.com/display/DOC/Upgrading+Confluence)

If this still fails, please raise a new support ticket through <https://support.atlassian.com>

comments: author: Joe Reyna
body: I didn't want to mess with the production server so I was doing this in a testing environment. Are you saying I should import to 3.1 first and then go to 3.5 and then 4.3.x?


author: Boris Berenberg
body: Hey Joe,

Have you looked in the `atlassian-confluence.log `file from the `confluence-home/logs` to see what is happening at this point? Maybe the import is crashing for some reason?

Cheers,  
Boris

comments: author: Joe Reyna
body: There is nothing unusual going on in the logs...


author: Joe Reyna
body: I did find java heap out of memory errors in the catalina.out log.


Tags: import
Links to on-page anchors migrated (2.8 to 4.3) as #name
Asked by Peter Binney:

After migrating to 4.3 (from 2.8 via 3.5.17) we find that links of the form #NameOfAnchorOnPage are displayed with the leading #.

eg: #NameOfAnchorOnPage now shows as #NameOfAnchorOnPage instead of NameOfAnchorOnPage

and View Storage Format shows it as

```
&lt;ac:link ac:anchor="NameOfAnchorOnPage"&gt;&lt;ac:link-body&gt;#NameOfAnchorOnPage&lt;/ac:link-body&gt;&lt;/ac:link&gt;
```

FYI: We have had many other problems on the way, many being/been dealt with by Josua Masikome.


Answers:
author: Bruna Griebeler
body: Hi Peter

I believe this behavior is a bug as you can see here: [CONF-25882](https://jira.atlassian.com/browse/CONF-25882)

You'll be able to find the workaround on the link above.

Cheers!


Tags: migration
Translate or show a Confluence-Page as Wiki markup language
Asked by Peter Hofmann:

Is there a way to "translate" or show the content of a confluence page as "wiki markup language" (WML)?

I have to translate serveral existing pages into WML and I have no clue how to do this...

THX!!!


Answers:
author: Bob Swift (personal)
body: [How to convert confluence xml storage format to wiki-markup](http://ffeathers.wordpress.com/2012/06/07/how-to-convert-confluence-xml-storage-format-to-wiki-markup/) or go to ***[Wikifier](http://www.amnet.net.au/~ghannington/confluence/wikifier/ "Graham Hannington's Wikifier")***


Tags: markup

wiki
Default for restricting pages
Asked by Tom Wolff (Admin):

We have a few users that have their new pages edit-restricted to themselves by default. It is very annoying to them. I can't find anyway to make this happen on purpose, so I can't see how to keep it from happening for them. We would all appreciate figuring out how to enable them to make unrestricted new pages by default. Thanks.

Tom


Answers:
author: Sean King
body: You're absolutely positive that these users are reading the page restrictions dialog incorrectly? I know I've had a few users who thought that it was "Restrict viewing of this page FROM" instead of what it actually says: "Restrict viewing of this page TO".

It is also impossible to restrict viewing or editing of a page from yourself. It will automatically add your name if you try and add someone else's without adding yourself so you don't lock yourself out.


author: BernardoA
body: I suggest you to put some users as restricted and then remove them from the restriction, and then try to fush the cache Browse \> Confluence Admin \> Cache Statistics \> Flush all.

comments: author: Tom Wolff (Admin)
body: I have no idea what the Cache Statistics has to do with my issue. I found <https://confluence.atlassian.com/display/CONF42/Cache+Statistics> and then decided there was no harm in "flush all." I'll just have to see if my users have the same problem. Thanks for the suggestion.


author: Tom Wolff (Admin)
body: Make a seperate space and allow only those people to edit the page in that space. I think that that is the most workable solution.

comments: author: Tom Wolff (Admin)
body: I guess I didn't make my question clear. The user does NOT want his pages restricted by default. They just are for any page he creates. Maybe that makes no sense, but he and one other user have been plagued by this situation. Everyone else just creates unrestrictee pages by default in that space or others. It is very odd and annoying. How could this be?


Tags: access

editor

restriction
Unable to view or set page restrictions
Asked by Peter Binney:

Tools \| Restrictions dialog is always empty.

This is on a 4.3.2 we have migrated from 2.8.

FYI: We have had many other problems on the way, many being/been dealt with by Josua Masikome.

There are no errors logged, other than (after a fresh startup), the previously reported and probably irrelevant:

```
WARN [TP-Processor19] [atlassian.plugin.webresource.DefaultResourceDependencyResolver] resolveDependencies Cannot find web resource module for: com.atlassian.jira.gadgets:common
```


Answers:
author: Peter Binney
body: This turned out to be due to a decorator left behind from some previous migration and/or customisation. It was fixed by doing "delete from DECORATOR" (there was only one row in the table).

There's (a bit) more on the support ticket that auto-triggered this post: <https://support.atlassian.com/browse/CSP-92496>

The rogue decorator also meant that "View Source" and "View Storage Format" were displayed (unadorned) in the main window, not in a separate popup one as they should do.


author: PauloP
body: Hi Peter

That's weird, even knowing that the best approach in order to upgrade Confluence from old 2.8 to 4.3.2 would be upgrading to 3.5.x first. This is regarding many changes that are between those versions.

Anyway, it will probably requires to further investigate using your database structure and log files. So, perhaps you should raise a new support ticket for an advanced assistance.

Cheers,

Paulo Renato


Tags: restriction
Viewing all open tasks
Asked by Richard S:

WIthin Confluence, is there a way of viewing all open tasks for a (or all) user(s)?

As tasks are assigned on a multitude of pages, it is really time consuming to try and find all tasks from all pages to get an idea of how we are progressing.

I know there is a request raised in Jira - <https://jira.atlassian.com/browse/CONF-26615> - This would be brilliant if it was implemented, however in the interim (or as a workaround if it doesn't get implemented), does anybody have / know of a way to acheive this?


Answers:
author: Rodrigo Girardi Adami
body: Hi Steve,

I've tried to search for some workaround on that but unfortunately it seems that we don't have one. Sorry about the inconvenience. I've found this other improvement which seems to be related to the one that you have linked: <https://jira.atlassian.com/browse/CONF-26688>

I'll keep this question open so if someone knows a workaround, then it could be pointed here.

Regards,

Rodrigo


Tags: task
Macro for displaying the number of daily log-ins for the last 30 days
Asked by Doods Perea:

Hi,

Could anyone please help me on this? We are trying to get data on how much Confluence is used by one of our clients.

Thanks,

Doods


Answers:
author: Doods Perea
body: Hi Boris - I did not find anything to help my case from the "cwd_user_attribute" table. The investigation led me to the "logininfo" and "cwd_user" tables. With these I am able to list the names of users who logged in to Confluence for the last 30 days.

I however discovered that Confluence does not keep in the database a history of user logins (somebody correct me here please). It just has two columns, "successdate" and "prevsuccessdate". When a user logs-in the next date, it updates these 2 columns accordingly.

This brings me to trying the "user logging" information. Could anybody please show me how to extract data from the log file using Bob Swift's SQL Plugin, or by creating a new User Macro?

<br />

Thanks again.

Doods


author: Boris Berenberg
body: Hey Doods,

You can not get a historical account from within Confluence. There are 2 alternative methods:

1. You can enable user access logging per the directions here: <https://confluence.atlassian.com/display/CONFKB/How+to+Enable+User+Access+Logging> and then parse the resulting logs

2. Record when someone last authenticated regularly, then parse that data. You can modify the query:

```
select user_id from cwd_user_attribute where attribute_name = 'lastAuthenticated';
```

to pull more info from the cwd_user_attribute table (in this case you will also need the date).

Cheers,  
Boris

comments: author: Doods Perea
body: Thanks Boris. I will try it and post my findings here. :)


author: Sorin Sbarnea (Citrix)
body: This does not work if you use other user directories, it works only with local ones. Seems to be a bug.


Tags: count

login

schedule
Gliffy export to Word
Asked by Bennie Smith:

I see there are a couple of Atlassian tickets open about the huge problem with exporting documents with Gliffy images from Confluence/Jira to Word. Is there any more discussion about that going on here?

Does anybody have a 'simple' work around for this that doesn't require coding image tags on every gliffy image that needs to be exported.

And what is Diagramly? Is that a replacement for Gliffy? Is it some kind of converter that allows images to be exported?

Thanks...


Answers:
author: Bennie Smith
body: I reckon this can be closed now.


author: Aron Gombas _Midori_
body: Bennie, you can export JIRA issues with Gliffy diagrams to PDF using the [PDF View Plugin](https://marketplace.atlassian.com/plugins/com.midori.jira.plugin.pdfview/server/overview)!

Integration details and sample exports: <http://www.midori-global.com/products/jira-pdf-view-plugin/documentation/integrations#gliffy>

<https://www.youtube.com/watch?v=JzNwN4mRa54>


author: Keith Rockhold
body: Hi,

There should be no problem exporting to PDF with attached Gliffy diagrams in Confluence from OnDemand. I have just tested it on our instance and it worked. If you are having trouble getting it to work, would you please open a support ticket at [http://support.gliffy.com?](http://support.gliffy.com)

Thank you,

Keith Rockhold  
Developer  
keith@gliffy.com

Gliffy Inc.  
PO Box 7775 #35255  
San Francisco, CA, 94120-7775

877-2-Gliffy (877-245-4339)


author: Keith Rockhold
body: Hi,

We at Gliffy have been monitoring this, but do not have an answer as of yet. The limitation is with Confluence, any plugin generated image will not be exported to Word. The open bug on Atlassian's side is here:

<https://jira.atlassian.com/browse/CONF-25599>

Neither Gliffy, nor Balsamiq nor Diagramly, or even Atlassian's Office Connector plugin are able to have their images exported to Word. I would encourage you to vote for the bug above. It seems to have a low priority with Atlassian currently.  

Thank you,  
Keith Rockhold  
Developer  
keith@gliffy.com

Gliffy Inc.  
PO Box 7775 #35255  
San Francisco, CA, 94120-7775

877-2-Gliffy (877-245-4339)

comments: author: Bennie Smith
body: Thanks for the input. It's a major disappointment to the developers and management here, but, hey... whatcha gonna do...


author: Bennie Smith
body: I am told that this exporting of diagrams is not working when exporting to PDF also.

Is exporting Jira/Confluence documents to PDF with Gliffy diagrams supported? If it is supposed to work, but doesn't for us, what do I need to check to make it work with OnDemand?

Thanks.


Tags: cloud

confluence-cloud
How can I change the Confluence On Demand Dashboard?
Asked by Calvin Tai:

I have gone into admin settings and changed the homepage.

But I still get sent to the dashboard unless I'm freshly logged in. We find the Dashboard, particularly the **recent updates** macro, to be noisy and not useful. Who cares that I uploaded a picture?

Why would the one page that I visit the most frequently be the least configurable?

How can I change the dashboard to be something useful? This is a potential dealbreaker.


Answers:
author: Bruno Rosa
body: John, I believe you can change the Confluence OnDemand dashboard to be the homepage of a Space, for example. To change that you just have to access the 'General Configuration' through the following link:

- <https://YOUR.INSTANCE.URL/wiki/admin/viewgeneralconfig.action>

and click on the 'Edit' button at the bottom of the page. Then, under the 'Site Configuration' tab, you'll find '**Site Homepage'** option.

Hope it helps.

Cheers,  

comments: author: Emma Run Bjarnadottir
body: Hi,

Is this the only way to properly edit the Confluence OnDemand Dashboard, to redirect it to the homepage of a Space?

After recent update of our OnDemand Instance, some links are way to large, we need to exchange a banner and get rid of "Get started" section on the dashboard.

Best regards,

Emma R?n


Tags: cloud

confluence-cloud
Can I display burndown chart as Confluence macro in OnDemand?
Asked by Konstantin Razumovsky:

In hosted versions of Confluence I always used macros to display the burndown charts for my JIRA projects. Now I don't see this macro in the OnDemand version. Is there a way to display burndown chart in Confluence for OnDemand installation.


Answers:
author: Konstantin Razumovsky
body: Here is the official reply that I got from Atlassian support. Basically the answer is - NO, this is not possible and there are no workarounds :(

Hi Konstantin,

Thank you for contacting Atlassian Support.

Actually this is not available in OnDemand since this's part of **External Gadgets** and per [Restricted Functions in Atlassian OnDemand](https://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand) External gadgets are not allowed in Atlassian OnDemand.

I'm afraid that there is no a feasible workaround for this, perhaps the only option is to migrate to Confluence Standalone since you can have more options there.

Please don't hesitate to let us know if you need any further information.

Cheers,  
Omar


author: Rodrigo Girardi Adami
body: Hello Konstantin,

Honestly I could only see this option in Ondemand as well. I've tried to search for this but no luck so far. I know that you can add it to JIRA but not sure if you can use it on Confluence side.

This doc may help you: <https://confluence.atlassian.com/display/GH/Using+the+Classic+Hour+Burndown+Chart+Gadget>

I'll leave this question open so others can help as well.

Regards,

Rodrigo


Tags: burndown

cloud

moderators
confluence setup wizard stop is step 4, not possible to move further
Asked by johan andersson:

during installation and setup wizard has stoped do not know how to move forward


Answers:
author: William Zanchet [Atlassian]
body: Hi Johan,  

I wrote a KB for this problem as you can see here: <https://confluence.atlassian.com/display/CONFKB/Unable+to+Set+Up+the+User+Management+During+the+Installation>  

This will definitely help you.  

Cheers,  

WZ


author: AlysonA
body: Hi Johan,

In which step the setup wizard stopped responding? Can you see something relevant in the logs (\<confluence-home\>/logs/atlassian-confluence.log)?

For now, if you don't find anything useful in the logs, I suggest that you simply restart the installation process again by deleting the content from the Home folder and restarting Confluence.

Hope it helps.

Cheers.

comments: author: johan andersson
body: Thanks for the information.

it stops afterperforming step 4 , load users and usergroups from JIRA, after that the next button dosent work. i have done three complete reinstall always stoping on this. the log did not say me anything
Confluence search problem - how do you turn off 'fuzzy' matching?
Asked by Felicity Chapman:

As far as I am aware our Confluence instance is set up with the default search indexing. My colleagues are having problems with the search because it is reporting many pages which are not exact matches to the required search term. For example:

A search for "severity" also finds "several". I have been trying to work out how to disable this 'fuzzy' matching but cannot find anything in the admin options or in the Help. It seems rather odd that the Confluence Search Syntax page explains how to use "\~" to do a fuzzy search if it does this by default.

I'm probably just looking in the wrong place but would be very grateful for your help finding out how to turn this off.


Answers:
author: JohnA
body: Hi Felicity,

I suspect part of the problem here is how Confluence creates it's search index, which is managed by Lucene, because the content is "stemmed" when the content is indexed. You can read a short discussion about Lucene, stemming and wildcards here: <http://stackoverflow.com/questions/11844722/stemming-wildcarding-unexpected-effects>

Essentially the reason why "severity" also finds "several" is because when Lucene stems "severity" and "several", the stem that it retains is "sever" and as such both words are retained because Lucene also stems the input search term and then references it against the stems it knows before returning everything that it thinks are relevant, (which leads to these confusing results).

The only solutions to this that I'm aware of would be to configure an external tool to index Confluence and manage the content searching. You can read a bit about this in our documentation on the subject: <https://confluence.atlassian.com/display/DOC/Setup+External+Search+Tool+To+Index+Confluence>

All the best,  
John

comments: author: Felicity Chapman
body: Thanks for your quick reply. It was very helpful. Having looked in Jira, I quite suprised to see how long this has been an issue that people have had problems with. One of the bugs that I found suggested changing the indexing language to "other" to turn off stop words and stemming, so I'm going to try this and see whether this helps (<https://jira.atlassian.com/browse/CONF-3353>).
Different space characters when copy something from a code macro
Asked by Stefan Eike:

Hi,

when you copy something of a code-macro, you have to options:

* Select a text with the cursor
* Double click into the code-block

The problem is, that the space-character seems to be different. I don't have problems yet, but I'm afraid of this resulting in issues, e.g. when using Python code snippets. Is it possible to disable the double-click-selects-the-entire-block-feature?

![](../../upfiles/Spaces.png)

Best regards

Stefan


Answers:
author: RianA
body: Hi Stefan,

It might be how the code was pasted into code macro that caused the issue. However, it might be a bug as well. It would be good if you provide the exact steps so that we could raise a bug report regarding this. Nevertheless, please do make sure that the spacing when it saved as code macro is not similar when it's being extracted from there.

Hope it helps.  
Josua

comments: author: Stefan Eike
body: Hi Josua,

it can be reproduced easily.

1. Create a new code-macro somewhere on a page.
2. Type in something. Use some spaces at the beginning of a line.  
   ![](../../upfiles/code.png)
3. Save the page.
4. Select the text in view mode with your cursor.  
   ![](../../upfiles/select1.png)
5. Copy and paste it to an editor (e. g. Notepad++).  
   The result looks like this:  
   ![](../../upfiles/result1.png)
6. Now, double click on the macro, like recommended in the tooltip.  
   ![](../../upfiles/Hint.png)  

7. Paste it to the editor.
8. The result looks like this:  
   ![](../../upfiles/result2_3.png)  
   You see the diffence: The dots are missing at the beginning of the line.

I use Notepad++ with UTF8 and have activated the setting "show all characters".


author: Rudie
body: Still is. Incredibly annoying. Please fix. Selecting code is useless if spaces aren't spaces.


author: Gerrit Griebel
body: Same problem here with Confluence 5.8.16. Client side: macOS 10.13.6 with Chrome 68.0.3440.106. Workaround is to switch to edit page and copy/paste from there. Annoying.


Tags: code-block
Inserting TOC throws java.lang.NullPointerException
Asked by Peter Binney:

Inserting a TOC into a freshly created trivial page generates:

org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getResourceTagsForAdditionalContextsHtml' in class $Proxy54 threw exception java.lang.NullPointerException at templates/editor-header.vm line 7, column 61

The TOC is inserted OK. Log showing full stack trace attached to originating Atalassian ticket.

The page contains just:

```
&lt;p&gt;Here's text&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;h5&gt;Heading 5&lt;/h5&gt;&lt;p&gt;h5 text&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;h6&gt;Head 6&lt;/h6&gt;
```


Answers:
author: JohnA
body: Hi Peter,

I'm just answering this issue for the sake of future users who may experience a similar issue. It turns out that in this case the problem is being caused by a bug in the Gliffy plugin that is described in the following bug report and will be fixed as of Gliffy v5.0.2: <http://jira.gliffy.com/browse/GCONF-803>

All the best,  
John

comments: author: Peter Binney
body: Thanks again, John. Just to confirm that gliffy 5.0.2 has fixed the problem!


Tags: macro
Possibility to renew login token
Asked by Bruce Schlueter:

Hi all,

we are setting up our Confluence without a LDAP connection so all users are stored within Confluence. After setting up the user Confluence automatically sends an invitation with a token that is valid for 24hours. Now it has happened that a number of users have not logged in and therefore the token is no longer valid. Is there a possibility to renew this token as soon as a user contacts us or do we need to set up a password and send this?

Thanks,

Bruce


Answers:
author: Gary
body: Hi Bruce,

For these cases, you will need to reset their password and send it to them. It is possible to reset the token so it cannot be used again in the future:

<https://confluence.atlassian.com/display/DOC/Adding+and+Inviting+Users#AddingandInvitingUsers-Resettingtheinvitationlink>

However, this will not alow them to reuse the reset token.

Cheers,

Gary

comments: author: Bruce Schlueter
body: Hi Gary, I guessed so already. Anyway thanks for the answer.

Regards, Bruce


Tags: cloud

confluence-cloud
Migrating to Confluence OnDemand
Asked by mblb-admin:

We've been using the download version of Confluence at our company for a while. Now we'd like to move to OnDemand. I've signed up for OnDemand, but in Confluence Admin I cannot find the option to import a backup made from our current Download version of Confluence which runs on our own servers.

Any help would be appreciated.


Answers:
author: Thomas Schlegel
body: Hi,

look here: <https://confluence.atlassian.com/display/AOD/Importing+wiki+data>

Cheers

Thomas

comments: author: mblb-admin
body: As we have many spaces I was hoping there would be a full export/import feature somewhere, but it seems that is not possible. Thanks for the pointer though


Tags: cloud