Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-03-2012, 02:28 PM
Sarteck's Avatar
Sarteck Sarteck is offline
 
Join Date: Mar 2008
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Cannot view or upload attachments in filesystem.

I am trying to help fix a vBulletin that crashed a while back.

We've got most everything working, but attachments are being a pain in the neck.

We use the file system to store the attachments. I'm trying to Rebuild Attachment Thumbnails right at the moment, but it's going through 50,000 attachments saying:

Code:
Processing: Attachment : #### (ext)Error: Attachments Missing
Where #### is the ID and ext is the extension.

Afraid that they really were missing, I checked where they were stored.

Code:
Storage Type 	Attachments are currently being stored in the filesystem at ./attachments
Go to the attachment folder, and there's a few single-digit subdirectories, each with a bunch of single-digit sub-directories, and so on. At the deepest level of all that I checked (of course I didn't check ALL of them), there are a number of attachments like so:

Code:
$ ls 1/0/0/0/0/1
10031.attach  10541.attach  10688.attach  10693.attach  11951.attach  11960.attach  12147.attach  9546.attach  9565.attach  9577.attach  9583.attach  9596.attach  9946.attach
10031.thumb   10541.thumb   10688.thumb   10693.thumb   11951.thumb   11960.thumb   12147.thumb   9546.thumb   9565.thumb   9577.thumb   9583.thumb   9596.thumb   9946.thumb
10274.attach  10600.attach  10690.attach  10694.attach  11953.attach  11961.attach  12148.attach  9547.attach  9566.attach  9578.attach  9588.attach  9904.attach  9947.attach
10274.thumb   10600.thumb   10690.thumb   10694.thumb   11953.thumb   11961.thumb   12148.thumb   9547.thumb   9566.thumb   9578.thumb   9588.thumb   9904.thumb   9947.thumb
10275.attach  10601.attach  10691.attach  10695.attach  11958.attach  12053.attach  12149.attach  9548.attach  9567.attach  9579.attach  9589.attach  9944.attach
10275.thumb   10601.thumb   10691.thumb   10695.thumb   11958.thumb   12053.thumb   12149.thumb   9548.thumb   9567.thumb   9579.thumb   9589.thumb   9944.thumb
10540.attach  10687.attach  10692.attach  11735.attach  11959.attach  12146.attach  13768.attach  9557.attach  9568.attach  9582.attach  9590.attach  9945.attach
10540.thumb   10687.thumb   10692.thumb   11735.thumb   11959.thumb   12146.thumb   13768.thumb   9557.thumb   9568.thumb   9582.thumb   9590.thumb   9945.thumb
So I assume that the attachments are there, but for some reason or another, they cannot be found.


I'm not really sure where to go from here, so any advice is appreciated.

--------------- Added [DATE]1349282709[/DATE] at [TIME]1349282709[/TIME] ---------------

Ah, a Staff member can close this.


The problem was that the directory was owned by apache, and that was not their webserver user account on the server.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:17 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03951 seconds
  • Memory Usage 2,158KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete