Unable to Create Space Due to SharedMode Being Enabled
Symptoms
- Unable to create a space.
- Confluence will reload the page without any errors shown on screen, clicking on the create button will redirect the user to the Create Space screen.
Cause
Shared Mode should not be on on non-hosted instances. In previous of versions of confluence (such as 2.3) some instances may have turned on this setting and these settings were migrated during the upgrade to a later version. Shared Mode has been deprecated since Confluence 2.5.
Resolution
Update the database setting to false:
- Shutdown confluence.
- Make a backup of the database so you can roll back changes later.
Run the below sql update query (however modify the query so it reflects your own settings)
update bandana set BANDANAVALUE='<settings> <allowCamelCase>false</allowCamelCase> <allowTrackbacks>false</allowTrackbacks> <allowThreadedComments>false</allowThreadedComments> <viewSpaceGoesToSpaceSummary>false</viewSpaceGoesToSpaceSummary> <externalUserManagement>false</externalUserManagement> <denyPublicSignup>true</denyPublicSignup> <emailAdminMessageOff>false</emailAdminMessageOff> <almostSupportPeriodEndMessageOff>false</almostSupportPeriodEndMessageOff> <supportPeriodEndMessageOff>false</supportPeriodEndMessageOff> <baseUrlAdminMessageOff>false</baseUrlAdminMessageOff> <allowRemoteApi>true</allowRemoteApi> <allowRemoteApiAnonymous>false</allowRemoteApiAnonymous> <gzippingResponse>false</gzippingResponse> <disableLogo>false</disableLogo> <sharedMode>false</sharedMode> <referrerSettings> <collectReferrerData>true</collectReferrerData> <excludedReferrers/> <hideExternalReferrers>false</hideExternalReferrers> </referrerSettings> <captchaSettings> <enableCaptcha>false</enableCaptcha> <captchaGroups class="list"/> <exclude>registered</exclude> </captchaSettings> <customHtmlSettings> <beforeHeadEnd></beforeHeadEnd> <afterBodyStart></afterBodyStart> <beforeBodyEnd></beforeBodyEnd> </customHtmlSettings> <colourSchemesSettings> <colourSchemeType>custom</colourSchemeType> </colourSchemesSettings> <attachmentMaxSize>10485760</attachmentMaxSize> <draftSaveInterval>30000</draftSaveInterval> <maxAttachmentsInUI>5</maxAttachmentsInUI> <siteHomePage>INTRAMAIN</siteHomePage> <siteTitle>VCMG Wiki</siteTitle> <siteWelcomeMessage></siteWelcomeMessage> <emailAddressVisibility>email.address.public</emailAddressVisibility> <defaultEncoding>UTF-8</defaultEncoding> <maxThumbHeight>200</maxThumbHeight> <maxThumbWidth>200</maxThumbWidth> <backupAttachmentsDaily>true</backupAttachmentsDaily> <nofollowExternalLinks>true</nofollowExternalLinks> <indexingLanguage>english</indexingLanguage> <globalDefaultLocale>en_GB</globalDefaultLocale> <dailyBackupFilePrefix>daily-backup-</dailyBackupFilePrefix> <dailyBackupDateFormatPattern>yyyy_MM_dd</dailyBackupDateFormatPattern> <enableWysiwyg>true</enableWysiwyg> <useWysiwygByDefault>true</useWysiwygByDefault> <numberOfBreadcrumbAncestors>1</numberOfBreadcrumbAncestors> <defaultSpaceHomepageTitle>Home</defaultSpaceHomepageTitle> <defaultSpaceHomepageContent>This is the home page for the {0} space.</defaultSpaceHomepageContent> <baseUrl>https://www.npssoft.com/confluence/</baseUrl> <attachmentDataStore>file.system.based.attachments.storage</attachmentDataStore> </settings>' where BANDANAKEY='atlassian.confluence.settings';
Replace the above xml with your original settings that you got as a result of select query in the diagnostics test. The only modification you should make to these settings is to set the Shared Mode to false.
- Restart confluence.