Add Space Redirects to an Incorrect URL (Confluence 4.2.3 and above)
症状
After changing the Confluence URL, or the Confluence context path, you are unable to add a space (it keeps redirecting to the old URL).
This affects only Add Space with this popup (Confluence 4.2.3 and above):
After clicking add, you will be redirected to the old URL, which does not exist, hence the space is not created.
診断
First of all, check if the Server Base URL set in Confluence Admin >> General Configuration
is correct (set to the URL you use to access Confluence). If it is correct, then proceed to the Resolution below.
原因
The plugin responsible for that Add Space popup is caching the old Server Base URL.
ソリューション
- Confluence をシャットダウンします。
- Remove the following folders from your Confluence Home Directory
bundled-plugins
plugins-osgi-cache
plugins-cache
plugins-temp
Startup Confluence again (the plugin cache will be rebuilt upon startup)