I had exactly the same problem with Manager Desktop on Windows and managed to recover all my attachments without modifying the accounting database or manually uploading the documents again.
In my case, the problem started after I changed the Data Folder and manually copied the existing files and subfolders to the new location.
The accounting database continued to work normally, and new attachments appeared against the transactions. However, clicking on them redirected me to the Businesses page, and native backups did not include the newly uploaded documents.
After investigating both the original and the new data folders, I noticed that all newly uploaded documents were physically present in the Blobs directory, but the Packs, Indexes and Filters directories had not been updated since the relocation.
Apparently, Manager stores newly uploaded documents in Blobs before incorporating them into TAR archives in the Packs directory. In my case, this mechanism stopped working correctly after the manual relocation.
When Manager created a backup, it included documents from the existing packed storage but omitted the newer documents stored in Blobs.
Fortunately, all attachment records, original filenames, content hashes and links to accounting transactions were still intact in the accounting database.
Here is how I recovered everything:
-
I created a native Manager backup with attachments enabled, even though the backup was incomplete.
-
I located the missing physical documents in the Blobs directory and the older documents in the existing Packs.
-
I matched the physical files to the attachment records in the database using their SHA-256 hashes.
-
I reconstructed the native .manager.tar backup by adding the missing physical files to its Blobs directory, following the original backup structure and removing file extensions from the blob filenames where necessary.
-
I kept the accounting database completely unchanged.
-
I created a new, empty Data Folder and imported the reconstructed backup using Import Business.
Manager automatically recreated the Packs, Indexes and Filters. All attachments became accessible again.
I then uploaded another document and created a new native backup to verify that the problem was actually resolved. The new backup correctly included all historical attachments as well as the newly uploaded document.
You do not need to perform the technical recovery steps manually. I used ChatGPT to analyse the database, compare the files, verify the hashes and reconstruct the backup. The entire recovery process takes about 10 minutes, and all your attachments will be accessible again.
You can simply provide an AI assistant with file analysis and code execution capabilities with the following:
-
Your current incomplete native Manager backup.
-
A ZIP archive of your application data folder, including Blobs, Packs, Indexes and Filters.
Then copy this entire reply as a prompt and ask it to reconstruct a complete native Manager backup following the procedure above, without modifying the accounting database.
Recommendation when changing the Data Folder:
First, create a native backup with attachments enabled. Then change the Data Folder to a completely empty directory. Do not manually copy anything into that directory. Instead, use Import Business to restore the backup you created earlier.
This allows Manager to recreate its own internal attachment storage structures.
I cannot confirm the exact internal software defect, but this procedure completely resolved the problem in my case.
Hopefully, this helps others avoid having to manually reattach all their documents.