Advertisement:

Converting to SMF RC 4, installing from scratch... Import old posts and users?

Aloittaja frozenas, marraskuu 28, 2010, 05:41:18 AP

« edellinen - seuraava »

frozenas

Hi everyone. I'd like to ask, if it's possible, to export users, posts, threads, everything from an RC 3 installation, then install SMF RC 4 on a new host, new database, etc, and import that everything? If not, can you give me some suggestions, what can I do, to do this?

Thanks.

Norv

Backup and move your current RC3 database, download a RC4 upgrade package, de-archive and upload all the files in it on your new host:
How do I move my SMF forum to a different host?
How do I backup my database?
How do I restore a database backup?
What is repair_settings.php?
Upgrading SMF

Note: Most important, run repair_settings.php and change paths and everything, to suit your new host paths, and only after it, run the upgrade script to upgrade your RC3 database to RC4.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github


NanoSector

You firstly need to install a fresh 2.0 RC3 installation and import the database in there (since you were running RC3 before) and then do a upgrade to Rc4 :)

Just adding as a warning.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Norv

Yoshi, you do not need to install RC3.
repair_settings.php will run absolutely the same with the RC4 files directly.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

NanoSector

Lainaus käyttäjältä: Norv - marraskuu 28, 2010, 06:30:08 AP
Yoshi, you do not need to install RC3.
repair_settings.php will run absolutely the same with the RC4 files directly.
No for the database import I advise you to install RC3 if you got your DB backup from that version, then upgrade.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Norv

You don't need to install RC3. Why would you? You won't use it (you don't import the database using RC3, do you?), just run repair_settings.php on RC4 and upgrade to RC4. You may need only Settings.php and Settings_bak.php files, though, that's true, if that's what you're thinking of. No matter with what settings.

You can if you want, install RC3, but then you got yourself an extra database. As anyone wants, but it may be a useless burden.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

NanoSector

Lainaus käyttäjältä: Norv - marraskuu 28, 2010, 06:32:51 AP
You don't need to install RC3. Why would you? You won't use it (you don't import the database using RC3, do you?), just run repair_settings.php on RC4 and upgrade to RC4. You may need only Settings.php and Settings_bak.php files, though, that's true. No matter with what settings.
I don't think you get what I mean :)

I mean, the database backup is created with RC3, and the database could be changed in RC4.
So if it indeed has changed, and you import the database, it would cause issues.

Get what I mean?
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Norv

#8
No, I don't. If you don't USE the forum, until you upgrade it, then you don't NEED any RC3 on that machine. :)
You import the database, adjust the settings, and you're good to go for upgrading it. It's that simple.

ETA: sorry, frozenas. A little discussion here. :D
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

NanoSector

Lainaus käyttäjältä: Norv - marraskuu 28, 2010, 06:40:21 AP
No, I don't. If you don't USE the forum, until you upgrade it, then you don't NEED any RC3 on that machine. :)
You import the database, adjust the settings, and you're good to go for upgrading it. It's that simple.
I mean for several reasons (to not get any accidental errors) follow the procedure I said.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Norv

So you upload RC3 files and then upload RC4 files - which replace the RC3 files. Sorry, I don't see what errors can that solve. :)
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

NanoSector

Lainaus käyttäjältä: Norv - marraskuu 28, 2010, 07:58:34 AP
So you upload RC3 files and then upload RC4 files - which replace the RC3 files. Sorry, I don't see what errors can that solve. :)
Database errors :)
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Norv

To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

Antes

Yoshi, Norv means

you dont need to upload RC3 files ... if you upload RC4 files then import db back (use repair_settings.php or do it manually) you get warning about ur files RC4 db RC3 use Upgrade.php , then you run Upgrade.php :D

NanoSector

Lainaus käyttäjältä: Norv - marraskuu 29, 2010, 02:45:22 AP
What database errors? Resulting when, after you upload RC4 files?
I mean if the database structure is different in RC4 and you import files from RC3. That's what I'm saying each time.

Lainaus käyttäjältä: Antes - marraskuu 29, 2010, 02:57:27 AP
Yoshi, Norv means

you dont need to upload RC3 files ... if you upload RC4 files then import db back (use repair_settings.php or do it manually) you get warning about ur files RC4 db RC3 use Upgrade.php , then you run Upgrade.php :D
...I have no idea on what you are saying.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Norv

Lainaus käyttäjältä: Yoshi2889 - marraskuu 29, 2010, 10:48:53 AP
Lainaus käyttäjältä: Norv - marraskuu 29, 2010, 02:45:22 AP
What database errors? Resulting when, after you upload RC4 files?
I mean if the database structure is different in RC4 and you import files from RC3. That's what I'm saying each time.

You assume that a data-only backup is made, if I finally got your point. Well, it shouldn't be. A complete backup should be done and restored - then you have the structure of RC3 with it. It would also help if there are mods modifying the database installed on the old forum. Really, for moving, a complete backup should be made. Restoring a complete backup creates the necessary structure.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

NanoSector

Lainaus käyttäjältä: Norv - marraskuu 29, 2010, 01:48:31 IP
Lainaus käyttäjältä: Yoshi2889 - marraskuu 29, 2010, 10:48:53 AP
Lainaus käyttäjältä: Norv - marraskuu 29, 2010, 02:45:22 AP
What database errors? Resulting when, after you upload RC4 files?
I mean if the database structure is different in RC4 and you import files from RC3. That's what I'm saying each time.

You assume that a data-only backup is made, if I finally got your point. Well, it shouldn't be. A complete backup should be done and restored - then you have the structure of RC3 with it. It would also help if there are mods modifying the database installed on the old forum. Really, for moving, a complete backup should be made. Restoring a complete backup creates the necessary structure.
No, I mean if you make a complete backup from a RC3 installation and place it into a RC4 installation it could cause issues if the structure is made different.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Norv

#17
Yoshi, you upgrade that installation. You don't USE it, i.e. you don't display topics, you don't post new messages, etc, but UPGRADE it.
That's exactly what you do your way: by uploading RC3 files, uploading RC4 files, overwriting RC3 files with RC4. Then repair settings. Then run upgrade.
That's exactly what you do "my" way: by uploading RC4 files. Then repair settings. Then run upgrade.
The only thing that you need is Settings.php and Settings_bak.php. (to repair)

Really, if you feel better that way (just to know there were RC3 files at a moment in time, even if they're not USED, but overwritten instead?), then please, feel free to do so. :)
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

NanoSector

Lainaus käyttäjältä: Norv - marraskuu 29, 2010, 02:21:36 IP
Yoshi, you upgrade that installation. You don't USE it, i.e. you don't display topics, you don't post new messages, etc, but UPGRADE it.
That's exactly what you do your way: by uploading RC3 files, uploading RC4 files, overwriting RC3 files with RC4. Then repair settings. Then run upgrade.
That's exactly what you do "my" way: by uploading RC4 files. Then repair settings. Then run upgrade.
The only thing that you need is Settings.php and Settings_bak.php. (to repair)

Really, if you feel better that way (just to know there were RC3 files at a moment in time, even if they're not USED, but overwritten instead?), then please, feel free to do so. :)
*sighs* I don't think you get it at all.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Norv

Give me an example then. :)
WHY exactly would you need all RC3 files for?
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

Advertisement: