youngmon/atlassian-qna huggingface dataset:
Can't access Confluence on ipad or iphone. Getting "kCFErrorDomainCFNetwork error 303".
Asked by Sinead O'Neill:

Is anyone else seeing this issue when trying to access their Confluence site with safari on either the iPhone or iPad?


Answers:
author: Ryan Goodwin
body: Hi Sinead,

Have you checked your Confluence Addons menu to ensure the confluence mobile add-on is enabled with all modules active? Some admins have shut this off due to some flakey performance with the mobile interface.

comments: author: Sinead O'Neill
body: Hi Ryan,

Yes, I have already checked this. Any other ideas?!

Thanks,

Sin?ad


author: Ryan Goodwin
body: Are you able to provide some more information, like full errors found in the logs?


author: Sinead O'Neill
body: Hi Ryan,

There are no errors in the logs related to this. Here's a snapshot of the error from my iphone.


author: Sinead O'Neill
body: So I dont think inserting the snapshot is working. Here's exactly what it says:

Sarari cannot open the page.

The error was: "The operation couldn't be completed. (kCFErrorDomainCFNetwork error 303.)".


author: Ryan Goodwin
body: Honestly, IDK. Hopefully someone else in the forums has seen this. All my googling relates to coders getting this error due to bad url formation. Do you have any kind of routing, proxying etc? Can you access it using say atomic web broswer (iphone ipad app) and set browser to identify as FF or something?


author: Sinead O'Neill
body: Actually it does work when I access it through Chrome on my iphone/ipad.

I would like to be able to use it with Safari as most iphone/ipad users use that as their default browser.


author: Celina Kincaid
body: Sinead, did you find a resolution? Our users are having the same issue on the stock browsers for android and iphone. If we use Chrome on the android, it loads fine.
Disable email notification permently in confluence
Asked by Sanu Soman:

Hi Guys,

Could you please let me know how I can disable email notifcation permently in confluence? Is the same way we are doing it in the JIRA? like  
`set JAVA_OPTS=``"-Datlassian.mail.senddisabled=true -Datlassian.mail.fetchdisabled=true"`  
Or, is this required while doing the confluence restore from XML backup?  
Thanks


Answers:
author: LuizA
body: Hi Sanu,

Initially would be just "atlassian.mail.senddisabled" = true, but may I ask you if you're running Confluence as a service? And if so, did you try to re-create the service and try to start Confluence by the .bat or .sh file and see if the changes were applied?

Kind Regards,

LJ.

comments: author: Sanu Soman
body: Yes. our Confluence is running as service.

Re-createing confluence service will solve the issue? If so, could you please help me on this? Is something like below?

In command line,

**net stop \<current service name\>**

**service.bat remove \<current service name\>**

**service.bat install \<new service name\>**

**net start \<new service name\>**

In which file I need to put the JVM arguments, service.bat or setenv.bat?


author: BernardoA
body: I guess you can try delete the mail server manually, basically remove the reference to the SMTP server, in this way will disable email notifications for all users.

comments: author: Sanu Soman
body: I'm trying to restore production data on to my dev server by XML restore option. So in that case if we remove mail server details from dev server and perform the restore option, then also the mails will get generated while restoing the date, becasue XML file contains production mail server details.

So in the above scenario, I guess the only option is available to block the mail is disabling mail server at startup level..

For that I'm trying to put JVM parameters to setenv.bat file, but after service restart its not reflecting anything and mails are sending smoothly.

**Now I got the issue that, our confluence is insatlled as service in windows server. So I have to perform either command line option or windows registery option to put the JVM arguments, as mentioned in the below link,**

<https://confluence.atlassian.com/display/JIRA/Setting+Properties+and+Options+on+Startup#SettingPropertiesandOptionsonStartup-WindowsService>

Trying this option and will update the progress here.

Thanks,

Sanu P Soman


author: Bhushan Nagaraj
body: Set atlassian.mail.senddisabled property to true

See here <https://confluence.atlassian.com/display/DOC/Recognised+System+Properties>

comments: author: Sanu Soman
body: Could you please rexplain correctly...

I have added below content to setenv.bat file,

-Datlassian.mail.senddisabled=true -Datlassian.mail.fetchdisabled=true

in the **set JAVA_OPTS=%JAVA_OPTS%** section. But I dont find any difference in confluence (IN JIRA we can see that **sendmail disabled** from mail queue page) and also not refecting this paramters in the JAVA Runtime arguments section in the system information page.

We are having confluence standalone installations... and version is 4.3.7

Please help.


Tags: confluence-administration
Confluence LDAP integration clarification
Asked by Sanu Soman:

Hi All,

Currently we have three user direcrtories configured in our confluence, via order, JIRA user directory (using both users and groups from JIRA), internal directory and LDAP directory.

In this case, suppose I change the directory order and making LDAP in first, then internal and then JIRA user directory will make any permission issues to current users and groups?

Now onwards if we have write access in LDAP (depends on configuration) then new users (add users option in confluence) will create in LDAP or if not having enough permission then it will create users in internal directoy as by order? Is this views correct?

Please help. Many thanks in advance.


Answers:
author: J. Caldwell
body: So...here's something to think about...LDAP with delgated stuff. It's what I prefer to use. Uses LDAP for auth, but if you aren't using AD groups or something of the sort, you end up with a lot of folks that may not be inactivated and chewing up your license count. The Local with LDAP setup gives you more flexibility, plus if you add AD groups, you can also add Group memebership bits later.


author: LucasA
body: Hello there,

Note that Confluence will ever read directories from top to the botom, without mixing the user permissions. If you have different permissions to the same account in different directories, only the first one will be considered.

About the user creations, only the selected direcotory will be used for.

Lucas Lima

Atlassian Support


author: Sanu Soman
body: Thanks Zulfadli for the response.


author: Zul NS _Atlassian_
body: I'm not particularly sure on the second question, haven't really tried giving permission to LDAP for JIRA to write on. Regarding the first question though, there shouldn't be any permission issues to the users if there isn't any duplicate users in the first place. If duplicate users are found in the database, then there would have been some issues with the groups.


Tags: jira

ldap

openldap
How do I use a {recently-updated} macro to always show only one most recent status per users?
Asked by Pinkel Gurung:

i am currently getting multiple status for a user. i need to get only the most recent status of each user. Can it be done wrapping the recently-updated pluing into a user macro?


Answers:
author: Daniel Borcherding
body: Hello,

I think you might be conflating two concepts here. Are you looking for the recent updates from a single user? Or, Are you looking for something that will collect the recent statuses for a user?

I think that this might be a feature request. Please let us know what exactly you are trying to do and we will do our best to steer you in that direction.

comments: author: Pinkel Gurung
body: Sorry for the late reply. I'm trying to get the recent status but i only want 1 status per person.


author: Daniel Borcherding
body: So you want to set the "Maximum Number of Results" to 1? Just so it displays the single most recent update.


author: Pinkel Gurung
body: no that's not it. That will give me only 1 status update. I want status update from every one but only their last updated status.


author: Daniel Borcherding
body: I went ahead and created a feature request for this behavior.

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

Please feel free t oadd any additional details to the request in a comment. I am attaching this post to the ticket to furhter increase it's visibility.


author: Pinkel Gurung
body: Thanks Daniel.


Tags: recently-updated

user-macro
Is there a way to include a macro or code someone into a confluence page, without going into edit mode, that will allow me to enter a user story and have it created in JIRA realtime?
Asked by Bethanne McFadden:

Is there a way to include a macro or code someone into a confluence page, without going into edit mode, that will allow me to enter a user story and have it created in JIRA realtime?


Answers:
author: Bethanne McFadden
body: Not sure if I id this right, sorry 1st time on here...i am looking for someone to give me an answer to my question, i don't know how to do it and i'm just wondering if it's possible.
Can you restore your Jira/confluence data from system files?
Asked by Michael Meloche:

My PC hardware hosting my Jira server has failed. I am able to get to the data on the hard drive but not sure if I can use the data files to restore my Jira instance and get my data back. My system is setup on quarterly backups and unfortunately my last backup was near the end of February and I would have recent work I would like to get back if possible.

Is it possible to copy my install from the bad machine to a new machine?

Thanks


Answers:
author: Daniel Borcherding
body: Speaking from a Confluence point of view you are going to need to ensure that you have your \<confluence_home\> directory intact. Unless you have been storing your attachments in your db (not really the best idea in the world) you are going to need the file system component to restore your attached data.

I might also recommend that you step up your backup strategy. Quartely backups are a great idea, especially if you are running on a VM. I ask that you take a look at our produciton backup strategy below. It is as simple as adding a chron job to run nightly database dumps and scp a copy of your \<confluence_home\> to a remote machine. This should ease the pain of another system failure.

<https://confluence.atlassian.com/display/DOC/Production+Backup+Strategy>

The document also contians links to refeneces on how to rebuild your instace from these files. Please let us know if you have questions.


author: Theinvisibleman
body: Hi Michael,

It could still be possible to salvage your instance if your database is still intact. You can actually connect a new instance to use the old database via editing it in either the **config.bat/config.sh** file, or with the **dbconfig.xml** file.

Please note, however, that **trying to connect a new instance to the old database via the installation will erase your database data**.

Also, I would recommend that you create a database dump before attempting this, just so that we have a backup in case anything happens.


author: Michael Meloche
body: Awsome so everything is stored into the database then. What about uploaded file attachement to tickets and confluence?


author: AmandaA
body: Hi Michael,

All your system data will be resotred inside your database, but not the JIRA/Confluence installation files. If you are still able to start your database, you can generate a database dump and import to your new JIRA machine.

Cheers


Tags: jira
Confluence 5.1 HSQLDB access problems
Asked by Dave Donnelly _Sensata_:

I did a massively stupid thing in adding a LDAP authenticated user dir above the internal directory and have now lost all my admin rights.

I need to get into the HSQLDB in order to run a few queries in order to restore admin privileges but I'm running into a problem.

Getting the following error when connecting to the DB as per the instructions [here](https://confluence.atlassian.com/display/DOC/Connecting+to+HSQLDB+using+DBVisualizer):

10:25:58 \[FATAL pool-4-thread-2 ENGINE.logSevereEvent\] could not reopen database  
org.hsqldb.HsqlException: Database lock acquisition failure: lockFile: org.hsqldb.persist.LockFile@e92ea377\[file =C:\\Program Files\\Atlassian\\Application Data\\Confluence\\database\\confluencedb.properties.lck, exists=false, locked=false, valid=false, \] method: openRAF reason: java.io.FileNotFoundException: C:\\Program Files\\Atlassian\\Application Data\\Confluence\\database\\confluencedb.properties.lck (Access is denied)  
at org.hsqldb.error.Error.error(Unknown Source)  
at org.hsqldb.error.Error.error(Unknown Source)  
at org.hsqldb.persist.LockFile.newLockFileLock(Unknown Source)  
at org.hsqldb.persist.Logger.acquireLock(Unknown Source)  
at org.hsqldb.persist.Logger.openPersistence(Unknown Source)  
at org.hsqldb.Database.reopen(Unknown Source)  
at org.hsqldb.Database.open(Unknown Source)  
at org.hsqldb.DatabaseManager.getDatabase(Unknown Source)  
at org.hsqldb.DatabaseManager.newSession(Unknown Source)  
at org.hsqldb.jdbc.JDBCConnection.\<init\>(Unknown Source)  
at org.hsqldb.jdbc.JDBCDriver.getConnection(Unknown Source)  
at org.hsqldb.jdbc.JDBCDriver.connect(Unknown Source)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  
at java.lang.reflect.Method.invoke(Unknown Source)  
at com.onseven.dbvis.g.B.D.?(Z:1413)  
at com.onseven.dbvis.g.B.F$A.call(Z:1474)  
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)  
at java.util.concurrent.FutureTask.run(Unknown Source)  
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
at java.lang.Thread.run(Unknown Source)

Anyone have any ideas? I am not experienced in accessing or manipulating databases so you may need to draw diagrams for me using crayons... ;)

Thanks a million,

Dave


Answers:
author: Dave Donnelly _Sensata_
body: Got it. I needed to run the Datavisualizer as admin. Sorted now.


author: BernardoA
body: Hi Dave,

You can use Dbvisualizer tool to access you database, here explains how:

<https://confluence.atlassian.com/display/DOC/Connecting+to+HSQLDB+using+DBVisualizer>


Tags: confluence-administration

hsql
Empty version history and activity when deleting Diagram
Asked by Damien Coutant:

Hello,

We have seen that if we remove a diagram, we can not restore it because removal does not appear in activity.

please apologize my poor english

Thanks


Answers:
author: Damien Coutant
body: Mary,

I understand your answer, but as we want to use Confluence for the ISO9001 we must keep track of any changes. The deletion does not apaprait in historical change. It is a pity.

Damien


author: m
body: Damien,

You are correct. When you delete an attachment, you cannot recover or restore it. If you keep a backup of Confluence, you can recover the attachment from a backup.

<https://confluence.atlassian.com/display/DOC/Retrieving+File+Attachments+from+a+Backup>

Mary
How do I get rid of facebook like buttons on my confluence pages?
Asked by lk jepson:

How do I get rid of facebook "like" buttons on my confluence pages?


Answers:
author: Joe Clark
body: You just need to disable the **Confluence Like Plugin** using the "Manage Add-Ons" console. This docmentation page has more information: https://confluence.atlassian.com/display/DOC/Likes+and+Popular+Content#LikesandPopularContent-Disablingthe'like'feature


author: Harry Chan
body: Hi, go to:

Confluence Admini-\>Manage Add-Ons-\>Choose System-\>Confluence Like Plugin

then disable it[.](https://www.cloudshards.com/confluencehosting.php)


author: lk jepson
body: thanks. (I had incorrectly thought it was tied in with facebook, and sharing my page publically. thanks.)


Tags: button

like

remove

social-media
How to audit your confluence user base
Asked by Ryan Goodwin:

Want to know how to audit your confluence user base for users that haven't logged in for a while?

Check out the answer.


Answers:
author: Ryan Goodwin
body: Find the queries for how to do this here:

<https://confluence.atlassian.com/display/CONFKB/User+base+audit+queries>

Hope this helps trim some user fat!


Tags: confluence-administration
Ondemand Confluence PAGE only Labels
Asked by Sarah Elmer:

Want to have Labels that are applied to individual pages instead of the entire Space in Confluence (OnDemand). Every time I add a label to a Page, it appears for the entire space. Is Page specific labels even possible?


Answers:
author: SarahA
body: Hallo Sarah

Just to check what you mean, about the labels appearing for the entire space: Does this mean the label appears in the space's label view? That's the way Confluence works, and it's not possible to prevent a label from being available in the entire space. But it is possible to add a label to just one page in a space.

I hope that answers the question! Please let me know if I've misunderstood. :)

Cheers, Sarah

comments: author: Sarah Elmer
body: Hi, Sarah. Thank you for responding. When I put a label on a Page, it also appears for the entire space. I would like to have the labels apply just for that particular page for search purposes in that Space. How can I get it to apply just to that page?


Tags: cloud

confluence-cloud

label
Theme vs Layout
Asked by Mario Johnson:

Hello,

I am trying to find a concrete definition of the Confluence theme and layout. I would like to know what is the difference between the two but I can not seem to find anything that makes it clear. Can anyone help? My goal to be able to have different designs for difference spaces but also still have a company wide layout/theme/design. What is the best and easiest way to accomplish this goal.

Thanks,

Mario


Answers:
author: SarahA
body: Hallo Mario

Yes, it's possible to have a company-wide design for the site, with individual designs for individual spaces. I'd recommend themes as the easiest way to accomplish this.

A theme is a set of CSS, layouts and possibly other functionality too. Themes are usually packed as add-ons (plugins) that you need to install into Confluence. Confluence ships with two themes: The Default theme and the Documentation theme. You can get other themes on the Atlassian Marketplace.

So, a theme is the simplest and safest way to change the look and feel of your site. When you upgrade to a newer version of Confluence, you'll be able to find out whether there's a compatible version of the theme from the theme developer.

Here's the documentation on themes: <https://confluence.atlassian.com/display/DOC/Applying+a+Theme+to+a+Space>

and: <https://confluence.atlassian.com/display/DOC/Working+with+Themes>

You can also customise Confluence by adjusting the "layouts". This is a technical process, and involves updating the Velocity template coding and HTML that is part of Confluence. If you do this, you'll need to re-apply your updates when you upgrade Confluence to a new version.

The documentation is here: <https://confluence.atlassian.com/display/DOC/Customising+Site+and+Space+Layouts>

It's also possible to adjust the style for a space, by adding CSS stylesheets. This is also a fairly technical process, but works well if you want to tweak just a few styles: <https://confluence.atlassian.com/display/DOC/Styling+Confluence+with+CSS>

I hope this answers the question!

Cheers, Sarah


Tags: design

layout

space

theme
Issues going to Dashboard in Confluence 5.1
Asked by Fabian Lopez:

I found in the documentation that to go to dashboard we need to click on the space icon, but instead is redirected to the assigned home page, which is ok. But I am not able to go from the home page to dashboard.

<https://www.vxvista.org/display/H2013/Welcome+to+The+VistA+Extension+Hub>

Am I missing something here? Is there a parameter/configuration that needs to be changed?


Answers:
author: Fabian Lopez
body: I found the way of solving this issue. With previous version I have confluence directing to a Site Home Page but I also had the option to go to the dashboard from the top menu bar.

<https://confluence.atlassian.com/display/CONF51/Configuring+the+Site+Home+Page>

With Confluence 5.1 it looks like we only go to the dashboard by clicking on the logo, but actually is not going to the dashboard it is going to page indicated on General Configuration Site Homepage.

so in order to accomplish both actions I had to add a new icon on my home page that allows me to go to Dasboard (just a workaround)


author: BernardoA
body: Hi Fabian,

Great! we appreciate your efforts on this matter, thanks for the workaround.


author: Fabian Lopez
body: Here is the description <https://confluence.atlassian.com/display/DOC/Page+in+View+Mode>

the logo indicates that goes to the Site's Dashboard, it is actually going to Site Home page from General Configuration


author: Fabian Lopez
body: Here is the help related to the use of each option on the top menu

<https://confluence.atlassian.com/display/DOC/Planning+for+Confluence+5?focusedCommentId=346947883#comment-346947883>
Plugin error after Confluence upgrade.
Asked by Nari Man:

After upgrading from 3.5 to 5.1.1, I have 2 plugins that show this error:

Any ideas?  

#### 1283466076000upload_4b96494c_12aaf71b179__7f92_00000707.tmp {#toc-hId-1308964313}

This add-on could not be loaded. It has one or more errors which prevent it from being enabled.


Answers:
author: Ryan Goodwin
body: Hi Nashmarkt,

I've seen this before, and it takes manual manipulation of the database to remove. Connect to your database run this query:

```
select plugindataid, pluginkey from plugindata;
```

You should see the .tmp add-on in the output under pluginkey. Note the dataid. Then run this query:

```
delete from plugindata where plugindataid = &lt;id from query 1&gt;;
```

You'll need to restart Confluence after this.

The add-on should now be removed from the UPM. You can try adding it again via the web or uploading it manually.

Hope this helps!


author: Rodrigo Girardi Adami
body: Hi there,

I believe the problem might be the plugin not compatible with the newer version of Confluence. I suggest to remove and install the newest version of the plugin again (assuming it has a compatible version between Confluence and the plugin itself) to see if this corrects the issue.

I hope this helps!

Regards,

Rodrigo

comments: author: Nari Man
body: There is no option to remove it.


Tags: confluence-administration