Attachment not found#710
|
|
I attached a document called Design_Guidelines.pdf to a wiki page and the link shows fine and no problem uploading is reported, but when I click on the link it only turns up a 404 error page. Where do I look to diagnose what the problem is? thanks! |
|
|
Check the production.log and your permissions for the directory where you are storing the files. Also check to see if your disk is full. |
|
|
Hi Ilyse, Within the folder where you have installed the application, there is a folder called ‘logs’. The mingle.log file within this folder is the first place to check for any relevant errors. Are you seeing anything there? |
|
|
Thanks for pointing me to that, though I’d have no idea how to interpret anything in it. (FWIW the folder was named “Log” not “Logs”) Here is the section of the log that was added when, just now, I deleted the old attachment and tried uploading again from my Mac. (I hard-wrapped the log @ 60 char’s so I don’t mess up the page width of this web page) ==========BEGIN LOG======== Processing PagesController#remove_attachment (for 2008-07-15 20:53:41,888 [/] Session ID: 2008-07-15 20:53:41,888 [/] Parameters: 2008-07-15 20:53:41,907 [/] Cookie set: 2008-07-15 20:53:42,013 [/] Completed in Processing PagesController#edit (for 216.254.72.16 at 2008-07-15 20:53:47,679 [/] Session ID: 2008-07-15 20:53:47,679 [/] Parameters: 2008-07-15 20:53:47,693 [/] Cookie set: 2008-07-15 20:53:47,707 [/] Rendering within 2008-07-15 20:53:47,708 [/] Rendering 2008-07-15 20:53:47,768 [/] Completed in Processing PagesController#update (for 216.254.72.16 at 2008-07-15 20:54:01,570 [/] Session ID: 2008-07-15 20:54:01,570 [/] Parameters: 2008-07-15 20:54:01,584 [/] Cookie set: 2008-07-15 20:54:01,685 [/] Redirected to 2008-07-15 20:54:01,698 [/] Completed in Processing PagesController#show (for 216.254.72.16 at 2008-07-15 20:54:01,751 [/] Session ID: 2008-07-15 20:54:01,751 [/] Parameters: 2008-07-15 20:54:01,767 [/] Cookie set: 2008-07-15 20:54:01,799 [/] Rendering within 2008-07-15 20:54:01,800 [/] Rendering 2008-07-15 20:54:01,942 [/] Completed in ======END LOG======= Perhaps another clue to the problem is, I notice the Error 404 page references an /attachments/ subdirectory, but I do not see a directory named attachments within the mingle directory … ======BEGIN ERROR PAGE====== HTTP ERROR: 404 NOT_FOUND RequestURI=/attachments/9797ee4801037adcd202be1825c4dafa/6/Vanguard_Design_Guide.pdf Powered by Jetty:// |
|
|
Joe, thanks for the thought re disk usage but this is on a spanking new web server with many gigs of free space, and no space restrictions set up for the domain (i.e., the domain can consume unlimited resources) CentOS 5.something … kazar |
|
|
Kazar The mingle.log does not indicate any issue with the upload. As you rightly say Mingle will upload the file to a subdirectory /attachments/. Unlike the mingle.log this will be found in your Mingle data directory within the folder ‘public’. Your data directory is likely to be called Mingle (unless you specified a different name upon installation). Specifically in this example your uploaded file should be found at …/public/attachments/9797ee4801037adcd202be1825c4dafa/6/ . Try checking this location to see if the file was uploaded there. If there is no file or attachment folder it may be because, as Joe mentioned, you do not have the correct permissions to write to that folder. Have you been able to upload and retrieve other files? As this issue may be related specifically to your instance and may require further indepth assistance may I suggest you contact our support team (http://studios.thoughtworks.com/mingle-project-intelligence/support-requests). I hope we are able to resolve this issue for you. - Suzie P.S. I moved this issue to the bug forum so anyone else experiencing a problem with uploading may be more easily able to find information on it. Thanks for letting us know. |
|
|
Hi Suzie—Wow, it took me a while to find the thread! I tend to wait before moving something into a bug forum (since first I’ll preusme it’s my own inexperience that’s the problem!) ... but you know your own forums best. I actually do not think this is a bug. I did find a line in the log where mingle is unable to find its attachment: but when I peek at the server via an ftp client, that path & file is indeed there. very strange. I will open a support ticket and if I learn anything interesting will post back here for the sake of future forum-searches. kazar |
