Unable to Create Space Due to SharedMode Being Enabled

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

  • 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.

原因

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.

ソリューション

[Unable to render {include} The included page could not be found. ({include} をレンダリングできません。ページが見つかりませんでした)] を選択し、

Update the database setting to false:

  1. Confluence を終了します。
  2. Make a backup of the database so you can roll back changes later.
  3. 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';
    

    (info) 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.

  4. Confluence を再起動します。
最終更新日: 2017 年 1 月 25 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.