Restore DB based files

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
paffhaus
Posts: 2
Joined: 28 Mar 2016, 11:22

Restore DB based files

Post by paffhaus »

Hello all,

First I apologize if this is a repeat post (or a combination of many posts).

About a month ago my boss tried to upload a rather large attachment into the tracker and brought the whole thing down. After a reboot it was discovered that the file "mantis_bug_file_table.MYD" was gone. We were able to successfully regenerate the MYD after some searching on the Web. When we go to articles that we know should have file attachments the article opens, but the attachments are unavailable.

I've attached a screenshot of the original error, but the question is: How do we recover from this error and maintain all the uploaded attachments?
Attachments
Original Error
Original Error
Error.JPG (26.94 KiB) Viewed 2362 times
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Restore DB based files

Post by atrol »

This is not a Mantis issue. The error message just tells that the database is not able to find a file.
You should also contact a MySQL forum.
Please use Search before posting and read the Manual
paffhaus
Posts: 2
Joined: 28 Mar 2016, 11:22

Re: Restore DB based files

Post by paffhaus »

Hello Atrol,

You are correct it was a MySQL issue that as I mentioned was resolved. We regenerated the missing MYD file as per instructions on this forum. The issue now (which may still be MySQL/INNODB related) is how to restore the links to the attachments or restore the attachments in general since they no longer exist.

Thank you!
Post Reply