Hello,
Recently my 30 day trial license has expired.
I did the following
a) Generate a new license for confluence.
The existing file based images and attachment are no longer available.
Any idea how to recover to attachments and images?
Thanks
Calvin
Hello,
In standalone server version of Confluence your attachments are stored in <confluence home>/attachments directory. These should not have disappeared due to expired license. They can however disappear if you make major configuration change, like server migration, or change home directory path.
Shutdown Confluence,
Delete bellow directories:
<confluence-home>/index/
<confluence-home>/journal/
<confluence-home>/bundled-plugins
<confluence-home>/plugins-cache
<confluence-home>/plugins-osgi-cache
<confluence-home>/plugins-temp
<confluence-home>/bundled-plugins_language
Start Confluence
Navigate to Confluence Admin > Content Indexing and click "Rebuild"
Let me know how it goes
Regards,
Igor
Hi Igor,
Thanks for the steps.
Check the attachments and images are missing.
Need to do a restore content to see if it works.
Cheers
Calvin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You might need to do a re-index after restoring attachments to make sure these are picked.
Let me know if you have any questions
Regards,
Igor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I see.
The backup i have was done manually instead of using the confluence backup feature.
So this is the predicament i am facing. Below are the steps i am thinking to run
1. Create backup for current confluence (using the confluence feature)
2. Manually restore the attachment directory using my own backup through the command terminal
3. Restore the backup in Step 1.
4. Then run the re-index.
Would this cause any issues?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nope should work fine, you only need to copy attachment folder and overwrite the one on the server, so even if you just had a copy of this folder somewhere, it would be enough.
having your own manual backup is definitely good and recommended once your instance grown beyond few thousand pages, this removes constrains on Confluence resources associated with built in backup feature.
So action plan:
hope this helps
Regards,
Igor
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.