Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 09 Nov 2020, 12:38
amine13420 amine13420 is offline
 
Join Date: Nov 2011
Move Folder attachment

Hi guys,

have a question about the attachment folder in vbulletin, i have already moved the attachment from database to a systemfolder,

But as this is taken a lot of space on my hosting, i would like to change the hosting folder to another space,

i did not found any idea how to do this,

if somebody have already done, thank you for help !
Reply With Quote
  #2  
Old 09 Nov 2020, 13:49
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
It doesn't matter if you host it in the database or filesystem, it would take up space regardless. You can use symlinks on Linux to perhaps achieve what you want, you might have to reach out to your host about it.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #3  
Old 09 Nov 2020, 14:09
amine13420 amine13420 is offline
 
Join Date: Nov 2011
hi,

and exemple of path that i have to put ?

exemple ?
Reply With Quote
  #4  
Old 09 Nov 2020, 16:03
lange lange is offline
 
Join Date: Apr 2003
The path depends on the location of your forum.

For security reasons, the path should be under the web root.

If your forum is at the root, try

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If your forum is in subdomain /forum, try


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #5  
Old 09 Nov 2020, 16:06
amine13420 amine13420 is offline
 
Join Date: Nov 2011
Originally Posted by lange View Post
The path depends on the location of your forum.

For security reasons, the path should be under the web root.

If your forum is at the root, try

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If your forum is in subdomain /forum, try


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Thank you,

I need to host the file on an external hosting, not the same hosting.

Different path.
Reply With Quote
  #6  
Old 11 Nov 2020, 22:33
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
Simple, you would need to mount the off site folder via fstab, then symlink it/the folder, then change the path in vb to the symlink/name you made for the offsite mounted dir.

You'll need to use nfs to achieve the off site mount.

If the connection isnt fast, it will probably timeout etc on uploading via vb, if its nic to nic it would be fine.

you'll need root access on both boxes to setup nfs & the mount in fstab
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 2 (0 members and 2 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 10:18.

Layout Options | Width: Wide Color: