|
|
|
Re: Move the forum to a new Server - Step by Step [message #40895 is a reply to message #40624] |
Fri, 25 April 2008 13:19 |
voisardf
Messages: 3 Registered: March 2008 Location: Switzerland
Karma: 0
|
Junior Member |
|
|
hello,
Thanks a lot for your help!
I finally managed the transfer, but had to choose a different way because of two major issues:
- An awful slow response time from my old server (the reason for the migration)
- The unlocking of the forum files did not work properly; some of the subfolders and files in the FUD data folder (theme, images, i18n an so on) have not been set to 0777 or 0666, so I couldn't see or download them as I have no login permissons as root. Maybe the response time of the server is also the cause of this problem
So, if the "normal" way described by GOmez won't work, this is how I managed it.
- I did a basic install of the same forum version (2.7.6) on the new server
- Then I desactivated the old forum and unlocked the files in the admin panel
- Afterwards I chmoded the still locked folders uploading a little php script and executing it from a web accessible folder (with chmod('absolute_path_of_the_folder', 0777))
- Then I downloaded the Globals.php, the files and the theme folder from the data root folder
- Afterwards I did a MySQL data export of the old forum tables with phpMyAdmin and opened it in a text editor to change the absolute paths to the attachement files stored in the "fud_attach" table
- This done, I imported the tables in the new server's database (replacing the empty ones of the basic install)
- I changed all the absolute paths in the old globals.php to point to the new server's folder and replaced the globals.php from the basic install on the new server with the modified one. - Don't forget to change the database user & password as I did if it's not the same on the two servers...
- I also replaced the files and theme folder of the new basic install with the old ones I downloaded before
- Finally, I logged into the new forum admin console, run a consistency check, a database optimization and rebuilt all the themes, locked the new forum and everthing worked fine.
That's it - or almost. I think I still have some minor issues with some of the old attachements
François
|
|
|