This is the path displayed in Confluence Administration > Attachment Storage.
From studying this link, https://confluence.atlassian.com/display/DOC/Confluence+Home+Directoryyou could set the property "attachments.dir" in confluence.cfg.xml to point my attachment directory to wherever you want. After setting the config below and restart confluence, that should fix the issue.
<property name="attachments.dir">/home/confluence-home/attachments/</property>
To chime in, I moved the attachments from C drive to D drive as they were over 20GB. I saw an article from Atlassian that they don’t recommend using the DB for large attachment storage. https://confluence.atlassian.com/display/DOC/Attachment+Storage+Configuration additionally there was a link to usage case summarizing the hurtles and dilemmas of migrating into a DB, http://www.scandio.de/2013/05/confluence-attachment-migration-the-safe-way-2/
my modification of the code looked like this.
“ <property name="attachments.dir">D:\Attachments\Confluence\attachments</property> “
This worked like a charm… now attachments are on RAID5 volume and performance is a bit better.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<settings> <doNotSave>false</doNotSave> <allowCamelCase>false</allowCamelCase> <allowTrackbacks>false</allowTrackbacks> <allowThreadedComments>true</allowThreadedComments> <externalUserManagement>false</externalUserManagement> <denyPublicSignup>true</denyPublicSignup> <emailAdminMessageOff>false</emailAdminMessageOff> <almostSupportPeriodEndMessageOff>false</almostSupportPeriodEndMessageOff> <senMissingInLicenseMessageOff>true</senMissingInLicenseMessageOff> <baseUrlAdminMessageOff>false</baseUrlAdminMessageOff> <allowRemoteApi>true</allowRemoteApi> <allowRemoteApiAnonymous>false</allowRemoteApiAnonymous> <antiXssMode>true</antiXssMode> <gzippingResponse>false</gzippingResponse> <disableLogo>false</disableLogo> <sharedMode>false</sharedMode> <enableDidYouMean>true</enableDidYouMean> <enableQuickNav>true</enableQuickNav> <enableSpaceStyles>false</enableSpaceStyles> <enableOpenSearch>true</enableOpenSearch> <showSystemInfoIn500Page>false</showSystemInfoIn500Page> <showApplicationTitle>false</showApplicationTitle> <referrerSettings> <collectReferrerData>true</collectReferrerData> <excludedReferrers/> <hideExternalReferrers>false</hideExternalReferrers> </referrerSettings> <captchaSettings> <enableCaptcha>false</enableCaptcha> <enableDebug>false</enableDebug> <captchaGroups class="list"/> <exclude>registered</exclude> </captchaSettings> <customHtmlSettings> <beforeHeadEnd></beforeHeadEnd> <afterBodyStart></afterBodyStart> <beforeBodyEnd></beforeBodyEnd> </customHtmlSettings> <colourSchemesSettings> <colourSchemeType>custom</colourSchemeType> </colourSchemesSettings> <loginManagerSettings> <enableElevatedSecurityCheck>true</enableElevatedSecurityCheck> <loginAttemptsThreshold>3</loginAttemptsThreshold> </loginManagerSettings> <confluenceHttpParameters> <connectionTimeout>10000</connectionTimeout> <socketTimeout>10000</socketTimeout> <enabled>true</enabled> </confluenceHttpParameters> <attachmentMaxSize>2204857600</attachmentMaxSize> <draftSaveInterval>30000</draftSaveInterval> <maxAttachmentsInUI>5</maxAttachmentsInUI> <siteTitle>mumosystems Confluence</siteTitle> <documentationUrlPattern>http://docs.atlassian.com/confluence/docs-{0}/{1}</documentationUrlPattern> <customContactMessage>Please enter information about your request for the site administrators. If you are reporting an error please be sure you include information on what you were doing and the time the problem occurred.</customContactMessage> <showContactAdministratorsForm>true</showContactAdministratorsForm> <emailAddressVisibility>email.address.public</emailAddressVisibility> <defaultEncoding>UTF-8</defaultEncoding> <maxThumbHeight>300</maxThumbHeight> <maxThumbWidth>300</maxThumbWidth> <backupAttachmentsDaily>true</backupAttachmentsDaily> <backupDaily>false</backupDaily> <nofollowExternalLinks>true</nofollowExternalLinks> <indexingLanguage>english</indexingLanguage> <globalDefaultLocale>en_GB</globalDefaultLocale> <dailyBackupFilePrefix>backup-</dailyBackupFilePrefix> <dailyBackupDateFormatPattern>yyyy_MM_dd</dailyBackupDateFormatPattern> <supportRequestEmail>confluence-autosupportrequests@atlassian.com</supportRequestEmail> <defaultSpaceHomepageTitle>Home</defaultSpaceHomepageTitle> <baseUrl>https://confluence.mumosystems.com</baseUrl> <attachmentDataStore>file.system.based.attachments.storage</attachmentDataStore> <displayLinkIcons>false</displayLinkIcons> <addWildcardsToUserAndGroupSearches>true</addWildcardsToUserAndGroupSearches> <xsrfAddComments>true</xsrfAddComments> <webSudoTimeout>10</webSudoTimeout> <webSudoEnabled>false</webSudoEnabled> <defaultUsersGroup>users</defaultUsersGroup> <attachmentSecurityLevel>smart</attachmentSecurityLevel> <enableJavascriptTop>true</enableJavascriptTop> <supportPeriodEndMessageOff>false</supportPeriodEndMessageOff> <enableWysiwyg>true</enableWysiwyg> <useWysiwygByDefault>true</useWysiwygByDefault> <numberOfBreadcrumbAncestors>1</numberOfBreadcrumbAncestors> <viewSpaceGoesToSpaceSummary>false</viewSpaceGoesToSpaceSummary> <maxSimultaneousQuickNavRequests>40</maxSimultaneousQuickNavRequests> <maxRssItems>200</maxRssItems> <rssTimeout>60</rssTimeout> <pageTimeout>120</pageTimeout> </settings>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
and I just moved the confluence from onDemand.
<settings> <doNotSave>false</doNotSave> <allowCamelCase>false</allowCamelCase> <allowTrackbacks>false</allowTrackbacks> <allowThreadedComments>true</allowThreadedComments> <externalUserManagement>false</externalUserManagement> <denyPublicSignup>true</denyPublicSignup> <emailAdminMessageOff>false</emailAdminMessageOff> <almostSupportPeriodEndMessageOff>false</almostSupportPeriodEndMessageOff> <senMissingInLicenseMessageOff>true</senMissingInLicenseMessageOff> <baseUrlAdminMessageOff>false</baseUrlAdminMessageOff> <allowRemoteApi>true</allowRemoteApi> <allowRemoteApiAnonymous>false</allowRemoteApiAnonymous> <antiXssMode>true</antiXssMode> <gzippingResponse>false</gzippingResponse> <disableLogo>false</disableLogo> <sharedMode>false</sharedMode> <enableDidYouMean>true</enableDidYouMean> <enableQuickNav>true</enableQuickNav> <enableSpaceStyles>false</enableSpaceStyles> <enableOpenSearch>true</enableOpenSearch> <showSystemInfoIn500Page>false</showSystemInfoIn500Page> <showApplicationTitle>false</showApplicationTitle> <referrerSettings> <collectReferrerData>true</collectReferrerData> <excludedReferrers/> <hideExternalReferrers>false</hideExternalReferrers> </referrerSettings> <captchaSettings> <enableCaptcha>false</enableCaptcha> <enableDebug>false</enableDebug> <captchaGroups class="list"/> <exclude>registered</exclude> </captchaSettings> <customHtmlSettings> <beforeHeadEnd></beforeHeadEnd> <afterBodyStart></afterBodyStart> <beforeBodyEnd></beforeBodyEnd> </customHtmlSettings> <colourSchemesSettings> <colourSchemeType>custom</colourSchemeType> </colourSchemesSettings> <loginManagerSettings> <enableElevatedSecurityCheck>true</enableElevatedSecurityCheck> <loginAttemptsThreshold>3</loginAttemptsThreshold> </loginManagerSettings> <confluenceHttpParameters> <connectionTimeout>10000</connectionTimeout> <socketTimeout>10000</socketTimeout> <enabled>true</enabled> </confluenceHttpParameters> <attachmentMaxSize>2204857600</attachmentMaxSize> <draftSaveInterval>30000</draftSaveInterval> <maxAttachmentsInUI>5</maxAttachmentsInUI> <siteTitle>mumosystems Confluence</siteTitle> <documentationUrlPattern>http://docs.atlassian.com/confluence/docs-{0}/{1}</documentationUrlPattern> <customContactMessage>Please enter information about your request for the site administrators. If you are reporting an error please be sure you include information on what you were doing and the time the problem occurred.</customContactMessage> <showContactAdministratorsForm>true</showContactAdministratorsForm> <emailAddressVisibility>email.address.public</emailAddressVisibility> <defaultEncoding>UTF-8</defaultEncoding> <maxThumbHeight>300</maxThumbHeight> <maxThumbWidth>300</maxThumbWidth> <backupAttachmentsDaily>true</backupAttachmentsDaily> <backupDaily>false</backupDaily> <nofollowExternalLinks>true</nofollowExternalLinks> <indexingLanguage>english</indexingLanguage> <globalDefaultLocale>en_GB</globalDefaultLocale> <dailyBackupFilePrefix>backup-</dailyBackupFilePrefix> <dailyBackupDateFormatPattern>yyyy_MM_dd</dailyBackupDateFormatPattern> <supportRequestEmail>confluence-autosupportrequests@atlassian.com</supportRequestEmail> <defaultSpaceHomepageTitle>Home</defaultSpaceHomepageTitle> <baseUrl>https://confluence.mumosystems.com</baseUrl> <attachmentDataStore>file.system.based.attachments.storage</attachmentDataStore> <displayLinkIcons>false</displayLinkIcons> <addWildcardsToUserAndGroupSearches>true</addWildcardsToUserAndGroupSearches> <xsrfAddComments>true</xsrfAddComments> <webSudoTimeout>10</webSudoTimeout> <webSudoEnabled>false</webSudoEnabled> <defaultUsersGroup>users</defaultUsersGroup> <attachmentSecurityLevel>smart</attachmentSecurityLevel> <enableJavascriptTop>true</enableJavascriptTop> <supportPeriodEndMessageOff>false</supportPeriodEndMessageOff> <enableWysiwyg>true</enableWysiwyg> <useWysiwygByDefault>true</useWysiwygByDefault> <numberOfBreadcrumbAncestors>1</numberOfBreadcrumbAncestors> <viewSpaceGoesToSpaceSummary>false</viewSpaceGoesToSpaceSummary> <maxSimultaneousQuickNavRequests>40</maxSimultaneousQuickNavRequests> <maxRssItems>200</maxRssItems> <rssTimeout>60</rssTimeout> <pageTimeout>120</pageTimeout> </settings>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried that and it didn't work. This is the configuration I pulled from the query showing that it's a file based attachments storage however i didn't see a path to the actual file system storage.
<attachmentDataStore>file.system.based.attachments.storage</attachmentDataStore>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My recommendation would be to save the attachments in database, to avoid the hassles of backing up both folders and DB. But if you want to continue with file system, you might want to try this: https://confluence.atlassian.com/display/CONFKB/Manually+change+attachment+data+storage+location
Seems Confluence is having trouble finding the current attachment path and hence make sure you back up everything before making any changes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried that and it didn't work. This is the configuration I pulled from the query showing that it's a file based attachments storage however i didn't see a path to the actual file system storage. I just moved the confluence from onDemand.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jobin,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oops, that doesn't look right. Do you have any attachments on the system? What happens when you click on 'Edit'?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.