PDA

View Full Version : Importing Attachments from VB3 to VB3 (file system)



idesir
Thu 28th Jul '05, 2:37am
Just moved servers coz old server crashed etc...

Now setup new board from scratch, users etc imported fine.

How do i import Attachments that are stored in a file systems not a database system ?

It keeps giving me Error importing attachment error

.

Jerry
Thu 28th Jul '05, 2:27pm
Is there any way you can restore the old database with vBulletin and then move the attachments into the database opposed to doing an import ?

Currently the vB3 importer expects the attachments in the database, which is limiting I know and it needs the option of either on the source.

idesir
Thu 28th Jul '05, 8:01pm
No, i cant do that.

I have the old database with the VB_Attachment table and the /Upload directory with the files.

can i do anything with that ?
Dont mind putting in a bit of money to get help with this or to speed it up.

.

Jerry
Thu 28th Jul '05, 8:12pm
Is the old database standard ? You could just set it up with a copy of the scripts, i.e. set it up as normal vBulletin then move the attachments into the dB.

idesir
Thu 28th Jul '05, 8:42pm
No, it had a few hacks etc.... i cannot reset it up unfortunately.

Jerry
Thu 28th Jul '05, 8:49pm
Ok, I'm looking at having a source switch for the attacments so you can tell impex to grab the attachments from the file system.

idesir
Thu 28th Jul '05, 9:04pm
Excellent.
:)

Is there a timeframe for this Jerry ?

BTW, thank you for your prompt replies.

Jerry
Thu 28th Jul '05, 10:13pm
I've done it, download impex again and upload and overwrite file :

impex/systems/vb3/014.php

That will work depending on the source vBulletin version because of the way the attachment naming system was changed.

idesir
Fri 29th Jul '05, 12:58am
Doesnt work still.

I have all the Files in /home/idesir/www/forum/tmp/uploads
Have tried tmp/uploads as well.

I get "error importing Attachment" for all of them.

Source and destination is 3.07
.

Jerry
Fri 29th Jul '05, 6:10am
I did the test import from a 3.0.7 board.

If your full path is :

/home/idesir/www/forum/tmp/uploads

In there you have :

/home/idesir/www/forum/tmp/uploads/1
/home/idesir/www/forum/tmp/uploads/2
/home/idesir/www/forum/tmp/uploads/3

etc ?

idesir
Fri 29th Jul '05, 8:20am
Yup, up till 10.
Still no luck.

Jerry
Fri 29th Jul '05, 2:11pm
Can you start a support ticket and ask for me so I can take a look to see what is going on.

Martyjp
Fri 9th Sep '05, 5:41pm
Was this ever sorted out? if so whats the solution?

Jerry
Fri 9th Sep '05, 5:45pm
Yes this was sorted out and the importer will figure out if the source attachment is in the file system or the database.

xWARx
Thu 10th Nov '05, 6:29pm
I am having this same problem. Also moving from 3.0.7 (with security patches installed) to 3.5.1

Attachments are failing during the import process, both forums are setup to store attchments in the file system.

scottct1
Fri 11th Nov '05, 12:26am
I am also having this problem...

Alls I am getting is thousands of these...

Source file not found :: /public_html/vbtest/attach//1/9/2/316.attach
Source file not found :: /public_html/vbtest/attach//6/1/318.attach
Source file not found :: /public_html/vbtest/attach//6/1/319.attach
Source file not found :: /public_html/vbtest/attach//1/9/9/320.attach
Source file not found :: /public_html/vbtest/attach//1/9/9/321.attach
Source file not found :: /public_html/vbtest/attach//1/9/9/322.attach
Source file not found :: /public_html/vbtest/attach//1/9/9/323.attach
Source file not found :: /public_html/vbtest/attach//8/6/324.attach
Source file not found :: /public_html/vbtest/attach//8/6/325.attach
Source file not found :: /public_html/vbtest/attach//8/6/326.attach
Source file not found :: /public_html/vbtest/attach//8/6/327.attach
Source file not found :: /public_html/vbtest/attach//6/1/328.attach
Source file not found :: /public_html/vbtest/attach//6/1/329.attach
Source file not found :: /public_html/vbtest/attach//8/6/330.attach
Source file not found :: /public_html/vbtest/attach//8/6/331.attach
Source file not found :: /public_html/vbtest/attach//8/6/332.attach
Source file not found :: /public_html/vbtest/attach//8/6/333.attach
Source file not found :: /public_html/vbtest/attach//8/6/334.attach
Source file not found :: /public_html/vbtest/attach//8/6/335.attach
Source file not found :: /public_html/vbtest/attach//8/6/336.attach
Source file not found :: /public_html/vbtest/attach//8/6/337.attach
Source file not found :: /public_html/vbtest/attach//1/345.attach

Steve Machol
Fri 11th Nov '05, 1:59am
Everyone needs to open their own thread with all the relevant details rather than hijack someone else's thread.

Jerry
Fri 11th Nov '05, 6:13pm
9/10 times this is the path issue, for scottct1 for instance I'm guessing :

/public_html/vbtest/attach//1/9/2/316.attach

Isn't the correct path to attachments, its more likely to be :

/home/scott/public_html/origional_vb_board/

etc

But as Steve said, please start your own thread and do not hijack.