I was adding files into my filestore area, when suddenly, the link broke.

An error occured while loading http://12.229.215.130/filestore:
Connection to host 12.229.215.130 is broken

How do I repair this?

Comments

Ernest-1’s picture

I added a directory called "filestore" to the root drupal directory but all that does is log me out and take me back to the home page.

Ernest-1’s picture

My entire filestore is gone. All of the files that I uploaded *poof* gone without a trace. How in the hell does something like that happen?

It looks to me like I'm going to have to clean out the database table of all references to the files that I uploaded, and then re-enter them, AGAIN.

Has anyone else exerienced this problem? Is this a bug in the module? Or in drupal?

Make backups, people. I've certainly learned my lesson here.

Ernest-1’s picture

When I run "find file" on my drupal site, none of the files that I uploaded are anywhere in the site. However, I can still access the files via Administer. I can even download them from there? If the files are not in a directory somewhere in my site, then where are they stored? Where is the "filestore" directory located, so that I can somehow try to fix it (or whatever?)

Ernest-1’s picture

Right now, when I click on File, on the top navigation bar, the site logs me out, and takes me back to the home page. I copied one of these error messages from the Admin/messages area.

Notice in the error below, that the user trying to access the file is "Anonymous" rather than my user name. Why would the server suddenly switch to Anonymous for this one area, rather than using my admin user account the way it should? I click on File, and suddenly become Anonymous, with no access even though I previously set the Anonymous user permissions to be able to access the file download area.

Type httpd
Date Thursday, January 22, 2004 - 4:17pm
User Anonymous
Location /filestore/
Message 403 error: access denied - forbidden
Hostname 127.0.0.2

Ernest-1’s picture

Using Drupal, I was able to delete all of the files in the filestore except one -a text file- which was the last one that I loaded before the broken link error. The Admin area shows that the file was uploaded to filestore but when I try to View it, there isn't any information. The only thing on the screen is the Administer option, but there is nothing to Administer.

I feel like I'm beating my head against the wall here. I don't want to make the problem worse by doing the wrong thing.

Ernest-1’s picture

It turns out that my filestore table in mysql was messed up. So the /filestore directory isn't a directory at all... it's a table in the database. Knowing that would have helped me fix the problem but now I know.

I fixed it by going to the drupal database directory through the Shell. Once there, I typed:

myisamchk --recover --quick filestore

Two seconds later, the table was repaired and my "filestore" is working again.

Thanks for the help.