youngmon/atlassian-qna huggingface dataset:
Untrusted Domain error when connecting Confluence to SQL Server
Asked by Ethan Young:

I'm attempting to connect Confluence to a SQL Server instance I have set up.

Both VM's (Windows Server 2012 R2) are on the same domain and are using the same domain account.

SQL Server is running as the domain account, as is Confluence.

My JDBC string is:
>
> ```
> jdbc:jtds:sqlserver://192.168.150.162:1433/ConfluenceTest;domain=domainName
> ```

Username: domainName\\domainAccount

The firewall for both VMs allow port 1433 both inbound and outbound.

I'm losing my mind here.

Does anyone have any ideas?

Thanks!


Answers:
author: AnnWorley
body: Hi Ethan,

It looks like you are configuring an older Confluence version, using the JTDS driver, based on your using "jtds" in the connection string.

If you are using Confluence 6.4 or above, please be aware of [Database driver changes](https://confluence.atlassian.com/display/CONF65/Database+Setup+for+SQL+Server#DatabaseSetupforSQLServer-Databasedriverchanges) introduced in Confluence 6.4.

If you are using an older version of Confluence please try the resolution described in [Cannot connect Confluence to MS SQL Server using a domain account](https://confluence.atlassian.com/display/CONFKB/Cannot+connect+Confluence+to+MS+SQL+Server+using+a+domain+account)

I look forward to hearing how it goes.

Happy holidays,

Ann

comments: author: GrayAegis
body: Ah, sorry. Yeah, I'm using 5.8.14 and I'll be upgrading it to the latest version when I get it set up.

I'll try that and let you know.

Thanks!


author: GrayAegis
body: Hi Ann,

I've tried what you mentioned and it hasn't worked, as seen in the jdbc string originally.

When I run SQL Server Management Studio as the domain user and connect to the SQL Server in question it works. It just seems to be Confluence that has trouble connecting with a domain user, even when running EVERYTHING as that domain user.

Any ideas?

Thanks,

Ethan


author: AnnWorley
body: Hi Ethan,

I understand the Confluence setup wizard is failing for your test environment during the database setup step, even though you used the syntax suggested in: [Cannot connect Confluence to MS SQL Server using a domain account](https://confluence.atlassian.com/confkb/cannot-connect-confluence-to-ms-sql-server-using-a-domain-account-600867138.html) and you also setup your database as in this document for Confluence 5.8.x: [Database Setup for SQL Server](https://confluence.atlassian.com/display/CONF58/Database+Setup+for+SQL+Server)

Do you have the option of changing the Authentication Mode of the SQL server from 'Windows Authentication Mode (Windows Authentication)' to 'Mixed Mode (Windows Authentication and SQL Server Authentication)' and using a SQL server account?

My next idea at this point is to examine the log to see if you are getting the error message from the knowledge base article (Login failed for user 'MyDomain\\MyUser') or if there is a different error message.

I am hoping there will be something descriptive in the log. The log that would have the error is: **\<Confluence_Home_Dir\>/logs/atlassian-confluence.log**.

I look forward to hearing what you find.

Thanks,

Ann
Bring back CMD+S!
Asked by Peldi:

After yesterday's update, CMD+S no longer saves pages. Instead, it lets the browser deal with the keyboard shortcut, showing the "Save this page" dialog.

I realize you're trying to be consistent and leave the standard keyboard shortcuts for the browser, but saving an HTML page locally is not a common operation. No-one will complain if you continue to take it over.

CMD+Enter, your new shortcut, is not intuitive, and it's usually used for adding a "small carriage return", a \<br/\> instead of a \<p\>.

Please do the right thing and bring back CMD+S.


Answers:
author: Ali
body: Voted +1 on CONFCLOUD-58302. CMD-s was actually the one shortcut I learned right away when I started using Confluence. I hope it returns back! ?


author: Shannon S
body: Hello Peldi,

Thank you for your feedback. I was able to find a feature request for this change in our system, so I would advise you to vote on it and watch it:

* [CONFCLOUD-58302](https://jira.atlassian.com/browse/CONFCLOUD-58302)

Please also feel free to comment your feedback directly on that ticket as it will be seen by our development team.

Regards,

Shannon


Tags: editor

keyboard-shortcut
Confluence (self-hosted) fails to start.
Asked by Mark Hylas:

Hello,

Upon restart the server that is self-hosting our Confluence instance, we noticed our confluence service never came back up. Instead it was routed to the "setup confluence page" as if we were installing from scratch. The specific URL is below.

http://localhost:8090/setup/setupstart.action

Currently this is running on ubuntu 16.04.

The only mistake we can possibly think of is removing a log file from the /var/atlassian/confluence directory. This was done by mistake, and we are paying for it now.

We were originally working on it for completely different reason ( hibernate error.)

Please let me know any information you need so I can better help you. We have a backup but its a bit older than I would like. Any ideas?


Answers:
author: AnnWorley
body: If the confluence.cfg.xml file in the root of the [Confluence Home](https://confluence.atlassian.com/doc/confluence-home-and-other-important-directories-590259707.html) directory is missing or the permissions on it are such that the user Confluence is running under cannot see it, then the setup wizard will be launched as you describe.

If you have a file system backup you can retrieve the file from there if it is missing. Attachments and other data specific to your instance is also in the Home Directory so please do check the file system permissions.

Another idea is to generate a new confluence.cfg.xml: [How to Generate a New confluence.cfg.xml](https://confluence.atlassian.com/confkb/how-to-generate-a-new-confluence-cfg-xml-425461512.html)


Tags: startup
The attached images cannot be previewed
Asked by Jun Sun:

This has lasted more than one month now. All the images cannot be previewed when clicked, which was not the case before. Everyone else in the team does not have this problem.

See attached screenshot for the problem.

I am using Safari and high sierra.

![Screen Shot 2017-12-13 at 8.13.41 AM.png](/t5/image/serverpage/image-id/10897i1814FC09036D38E7/image-size/large?v=v2&px=999 "Screen Shot 2017-12-13 at 8.13.41 AM.png")


Answers:
author: AnnWorley
body: Hi Jun,

I understand you are seeing an error message when you try to preview images in Confluence.

Please let me know:

* The file types of the images, for example are they .jpeg, .png, .pdf, etc?
* Can you preview the images in Chrome or Firefox?
* Can you preview attachments that are not images, for example, MS Word documents?
* What version of Confluence you are using if it is hosted by your company (otherwise, is it Confluence Cloud?)
* If a teammate who can preview the images uses your computer to log into Confluence, can they preview images on your computer? (If so we know it is "something" with your account, if they experience the issue on your computer then we know it is "something" with your computer.)

I look forward to learning more about the issue.

Thanks,

Ann

comments: author: Jun Sun
body: Hi Ann,

To answer some of your questions:

* the problem happens for various types, including .jpeg png pdf
* I tried with chrome and it works there. But I prefer to use Safari.
* I am using Confluence cloud
* I don't think it has anything to do with my account since Chrome works.

Jun


author: AnnWorley
body: It sounds like you may be experiencing the issue described in this bug report:

[Confluence Image preview is not working in Safari 11](https://jira.atlassian.com/browse/CONFCLOUD-58089)

If you go to Safari\>About Safari does it say you are using version 11?
How to get Confluence last login time reflected into LDAP
Asked by Anant Kumar Chandan:

Hi All,

We are using Confluence 6.3.2 with MySQL DB and LDAP as external directory service.

Right now once user logs in to Confluence, it maintains the last login time for that user in its local table. When I try to see the same in LDAP it is not there, however Creation date is available.

Is there any way/plugin to get that entry added into LDAP user info table as well ?

Thanks for your help.


Answers:
author: Lars Olav Velle
body: Tested in out lab using confluence 6.6.0

When i press view user is shows the last login as a few seconds ago:

Login  
Last Login: Dec 13, 2017 22:28

Maybe I?m missing your question here somehow.

comments: author: Anant Kumar Chandan
body: Hi Lars.

Thanks for your response. Let me make a brief of my requirement.

When I login into Confluence I can see the User detail into confluence including user's last login time (in attached image-1, which has latest last login time).

Ideally same should get reflected into LDAP user detail as well but when I check the same into LDAP user detail it has last login time update in 2015 only, however user has logged in today as well (in attached image-2, which has very old lastlogin time).

I want same/most recent last login time on both the places.

![Image-1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/10993iB61FDA7CA773E9BB/image-size/large?v=v2&px=999 "Image-1.jpg")![Image-2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/10992iA48222726D1DCAEE/image-size/large?v=v2&px=999 "Image-2.jpg")
Changing representation of uploaded documents
Asked by Jacqui Stewart (Wangari):

Hello,

I am experiencing some issue when changing the representation of uploaded documents. See below:

Steps to reproduce:  
1.Go to edit mode on Confluence page  
2. Click on "Upload files" (file is uploaded )  
3. Click on insert

4. Once inserted you are given various options to change the representation of the file uploaded  
5 . Select the "Show as link"  
6. Confluence goes spastic (it goes in and out of edit mode, hangs etc.)  
7. But if you close the page and come back it has actually changed the format to a link rather than a thumbnail

Browser : Microsoft Edge

Confluence version: 6.5.0

Hope the above makes sense, let me know if you need more info.

I have checked the know-issues/ bugs, does this sound familiar?

Cheers,

Jacqui.


Answers:
author: AnnWorley
body: Hi Jacqui,

Thank you so much for bringing this to our attention. The issue was unfamiliar to me and I checked for known issues, too.

I tested on both Confluence 6.5 and Confluence 6.6 and got the same result you described. Also as you describe, if you hit the refresh button in Edge after you get stuck on the preview page, Confluence will display the attachment as a link. I have to admit it's an ugly procedure as Confluence blinks in and out of the lightbox views.

I created a bug report to let our development team know about this issue:

[MS Edge goes to a preview of the attachment when "show as link" is selected in the Confluence editor](https://jira.atlassian.com/browse/CONFSERVER-54512)

As mentioned in our [Bug Fixing Policy](https://confluence.atlassian.com/doc/bug-fixing-policy-206865207.html), we take user feedback into consideration when choosing bugs to fix, so please comment and/or vote for the bug. Doing so will add you to notifications for the bug so you will know when there is progress.

Happy holidays,

Ann

comments: author: Jacqui Stewart (Wangari)
body: Hello Ann,

Thank you so much for your response and creating a bug report. I have voted for the bug and will be keenly watching it.

Happy holidays to you too Ann.

Jacqui.
Space Page appearing blank
Asked by JP Watson:

I'm attempting to edit a space page but it's showing up as blank. It has a table and critical comments on it. Are we able to restore it or fix this error?

[The Page](Also can you make some name tags like in this pic?)


Answers:
author: Shannon S
body: Hi JP,

We noticed a few users having similar issues, and reported this as a bug:

* [CONFCLOUD-58509](https://jira.atlassian.com/browse/CONFCLOUD-58509)

The issue has been fixed and the releases are rolling out now, so can you confirm with me if you're still having the issue?

Regards,  
Shannon

comments: author: JP Watson
body: We aren't having the issue any longer. Thanks, Shannon!


Tags: cloud

confluence-cloud
Does Confluence allow multi edit on a document(e.g. excel) and merge the changes into one version?
Asked by Murali Krishna:

Hi,

Am looking to see if Confluence allows multi edit(i.e multiple ppl editing the document at the same time) on a document(e.g. excel) and when saved, merges all the changes into one version.

Else, does it has an option to checkout the document and checkin or similar to this.

Currently, I see when a document is edited by multiple ppl it creates multiple versions when saved(without merging the changes into one).

Thanks,

Murali


Answers:
author: Shannon S
body: Hi Murali,

With the Collaborative editing, when multiple users are editing the page and the page is published, all of the changes made at that time are published. You can review more about this at our [Collaborative editing](https://confluence.atlassian.com/doc/collaborative-editing-858771779.html) documentation.

If it's not behaving in this way, can you let us know your current Confluence version?

Regards,

Shannon

comments: author: Dave White
body: Confluence works fine with "pages" being edited simultaneously but if there are documents stored (in a File List) it appears that Confluence won't merge changes when more than one person is editing a document (EXCEL, WORD, etc.).


author: Shannon S
body: Hi Dave,

The concurrent editing works only on the Confluence page itself, but it won't work with Office documents, unfortunately.

The following case was raised for this feature for Cloud:

* [CONFCLOUD-39185](https://jira.atlassian.com/browse/CONFCLOUD-39185) *Concurrent editing of files for the Office Connector*

[The same was raised for Server](https://jira.atlassian.com/browse/CONFSERVER-39185), but was closed as *Not being considered*. I found a duplicate for it below, which has not yet been closed:

* [CONFSERVER--52135](https://jira.atlassian.com/browse/CONFSERVER-52135) *Allow concurrent collaborative editing to a single Office document*

I would recommend voting on the feature request that applies to your Confluence site (whether on Cloud or Server), and you'll be added to the list of watchers and receive updates when there are any changes.

Let me know if you have any questions about that.

Regards,

Shannon
Applying a Theme troubles
Asked by Matthew Massier:

<https://confluence.atlassian.com/conf59/applying-a-theme-to-a-site-792499507.html>

Looking at that site, following it exactly and trying to apply a theme, except under Choose a new theme, there is nothing there and there isn't a link to "find more themes..."

Currently using a trial version, which could be the issue, but weird they would do a free trial and lock off features.


Answers:
author: Aron Gombas _Midori_
body: Are you using Confluence Cloud or Confluence Server?

If it is the former, then I am not sure if themes are fully supported (or supported at all) for cloud deployments. Check the same page in the doc of the Cloud version!

comments: author: Matthew Massier
body: Apologies, Cloud.

Maybe its a feature not available on the cloud? but that seems like a really strange omission for that service.


author: Nic Brough -Adaptavist-
body: Cloud does support themes, but the docs for 5.9 are completely out of date for Cloud (you can think of Cloud as being 6.5 at the moment)

Try <https://confluence.atlassian.com/confcloud/working-with-themes-724765503.html>


author: Matthew Massier
body: Ah thank you.

I've used other confluences that are on the cloud and they were able to change colors and the format, so it must be supported in someway.

Is that just scripting to get it to work? I'll look into that, if that's the case.
File attachments are not working for a particular space
Asked by Chris Amland:

All existing file attachments for a particular space are showing:

Attachment File Not Found {#toc-hId-1766703265}
-----------------------------------------------

The attachment you were trying to download could not be found in the attachment file store. Either the file has been deleted manually or there was an error in removing the record of the attachment from Confluence.

If this attachment is no longer required you can delete it from Confluence on the attachments page. Otherwise, you will need to attach a new copy.

We have have confirmed the files still exist on the physical file system. Additionally any new file attachments work normally.

Some of the files do not appear to follow the hierarchy as specified in: <https://confluence.atlassian.com/doc/hierarchical-file-system-attachment-storage-704578486.html>

We are currently running Confluence Server 6.3.3

How do we go about restoring the file attachments? We have tried rebuilding the ancestors table and the content index.


Answers:
author: AnnWorley
body: Thank you so much for the detailed description that includes your Confluence version and the steps you have taken up to now.

As long as the attachments are found on the file system, as you already determined, they can be moved to where Confluence "expects" them to be by using the Python script attached to this knowledge base article: [How to resolve missing attachments in Confluence](https://confluence.atlassian.com/display/CONFKB/How+to+resolve+missing+attachments+in+Confluence)

I look forward to hearing how this works for your case.
Confluence upgrade to 6.5.2
Asked by Will Gage:

I was thinking that the new interface, look and feel would now be updated.

![12-12-2017 2-20-26 PM.png](/t5/image/serverpage/image-id/10859iE4BFB3BB8CB520CB/image-size/large?v=v2&px=999 "12-12-2017 2-20-26 PM.png")

Should it now look different?


Answers:
author: Will Gage
body: It was all good.


author: Dave Theodore [Coyote Creek Consulting]
body: That looks normal to me. You can see the version you are running at the very bottom of the screen.
Two separate pages generated from one source page
Asked by Rodney Oliver:

Would it be possible to create one page in confluence as a "source" or parent page and generate two child pages using the parent page as the source? Idea would be that when I update the parent page those updates get pushed out to the child pages

I need to use the same set of data to generate separate views for different groups in my organization.


Answers:
author: Shannon S
body: Hi Rodney,

The [Include Page Macro](https://confluence.atlassian.com/doc/include-page-macro-139514.html) is best for this. Please note that whatever page you reference the users that view the new page also have to have access to the parent page.

Let us know if you have any questions!

Regards,

Shannon


Tags: include
Can I list crowd directory settings in confluence without switching directory?
Asked by Steinar Bang:

Platform:

* Confluence 5.10.2
* Crowd 2.12.0 (Build:#751 - 2017-04-25)
* CentOS 7.2.1511

I have just switched Confluence from being managed by the internal directory to using a crowd delegating directory (the same directory currently used by our JIRA instance).

The usernames were the same before and after the switch and I created groups with identical group names in crowd before the switch.

Things seem to mostly work, but I've seen at least one case where group membership didn't seem to work, where the group membership was nested. When I made the user a direct member of the crowd group the user was able to access the page.

So I'm wondering if I remembered to have a checkmark for "nested groups" when setting up the crowd directory?

I didn't see any such setting in the confluence application in crowd.

And I can't see the directory settings in Confluence, since I'm currently logged in through crowd.

Is there any way to list the directory settings without reenabling the internal confluence directory and putting it first in the directory list?

(switching directories will at least during the switch break logins for a lot of people, so I would like to avoid that if I can)

Thanks!

- Steinar

-


Answers:
author: AnnWorley
body: There is a Directory Configuration Summary link on the User Directories page: [How to generate a Directory Configuration Summary](https://confluence.atlassian.com/pages/viewpage.action?pageId=312739922)

That nested groups checkbox is off by default so your theory is sound. If it's off you will see this in the summary:

```
"useNestedGroups": "false"
```

I look forward to hearing what you find.

comments: author: Steinar Bang
body: Yep, this was it. I did the following:

1. Enabled the "Confluence Internal Directory" and put it first in the directory list
2. Opened an incognito chrome instance and logged in with a Confluence Administrator user in the "Confluence Internal Directory"
3. In the Directory List I was able to edit the crowd directory
4. The "nested groups" checkbox was unchecked
5. I put a mark in the "use nested groups" checkbox
6. I switched the directory order to make the crowd directory be first and asked a user with just group membership to test
7. The user had the expected privileges from the nested group privileges
8. I disabled the Confluence Internal Directory again


Tags: crowd
How do I set Site Homepage to a space without the ?mode=global at the end of the URL?
Asked by Terry Stille:

i.e. I want the site homepage to be:

<https://connexusenergy.atlassian.net/wiki/spaces/BATEAM/overview>

instead of:

<https://connexusenergy.atlassian.net/wiki/spaces/BATEAM/overview?mode=global>

so that the space shortcuts will display on the left.


Answers:
author: Marco Jantke
body: This is a horrible thing! Why would you leave the people going straight to your frontpage without a navigation bar? I totally agree that this should be at least configurable.


author: Sebastian Mendel
body: Oh, i thought this was some kind of new feature. Now i notice this was already reported back in 2017. :-(   

And no one knows why this happens, or if it affects only me or all users, or how to disable this?

found this:

<https://community.atlassian.com/t5/Confluence-questions/Start-page-mode-global/qaq-p/975238>

<https://jira.atlassian.com/browse/CONFCLOUD-59247>


author: Rene Schade
body: I guess a simple fix for this, would create a plugin/app/macro - a javascript snippet that removes this mode=global  

I have no experience in creating this kind of plugin/app/macro but I'll look into it and get back.

If any experts has comments to this solution, please let me know.


author: Joe Bloggs
body: Hi, any thoughts on this - it really makes it much harder to work.

comments: author: Joe Bloggs
body: Commment/upvote here [https://jira.atlassian.com/browse/CONFCLOUD-59247](https://jira.atlassian.com/browse/CONFCLOUD-59247?)


author: Terry Stille
body: If you "Star" the spaces, they will show up on the homepage under "Starred Spaces", which is just as good as the "Space Shortcuts" that was previously the default.

comments: author: Chuck Y
body: No it is NOT as good.

All new users end up with issue that must require manual hack workaround

So, no. Not acceptable!


author: Christopher Yarp
body: Did you ever get a suggestion for this issue? I have the same problem with a hosted Confluence site. In our case, we want the page tree to automatically appear for our users.

comments: author: Perry Tew
body: Here we are in 2020 and no traction on this. My problem is that it never used to be like this. I edited our overview page and now \*BAM\*! that mode=global is showing up. I have ZERO clue why it's suddenly doing this, and I very badly want it gone. That left hand tree is critical navigation.

I would love for a confluence admin to weigh in and inform me what triggered this query parameter to start showing and how I can remove it.

If this is a permanent thing, I'm going to shop alternatives to Confluence.


Tags: home-page