This issue can be caused by the configured base URL that is not matching the URL you use to access Confluence via the browser. For example, you access Confluence via http://atlassian.net:8090 while the configured base URL from Confluence Admin > General Configuration is http://atlassian.net/confluence.
As a resolution please ensure that the configured base URL must match the URL you use to access Confluence via the browser. Update the base URL from Confluence Admin > General Configuration.
Hope this helps.
I just had the same issue at the customer with Confluence 5.1.3 while migrating from Hypersonic (the embedded database) to MySQL.
The process used was - export to XML, stop, rename the home directory, create new home directory, create an empty MySQL schema, start, go through the initial steps of the setup wizard, point to MySQL, import XML.
At first I exported into XML without including attachments hoping to just copy the directory over to the new home.
Imported just fine, but as reported above - in the Administration/Attachments Storage while saying "File System" the page shows "$action.getLocalAttachmentDirectory()" as the path. No "attachments" directory got created under the new home immediately after import.
Access to all attachments fails with NullPointerException even after copying the files over to the location where they should be. Re-indexing fails with NPEs.
Re-running the process, exporting with attachments and then importing - helped.
I wonder if there is some variable that didn't get set when export/import without attachments was performed.
Hey Community 👋, Following the recent release of the new editor, we will be releasing the ability for users to convert existing pages from the legacy editor to the new editor. We’ve been resp...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events