Page 1 of 1
Migration Help!!
Posted: Mon Mar 06, 2006 5:27 am
by DortoH
I am in the process of migrating my blog from a shared hosting provider to a dedicated server.
I have downloaded the serendipity install from the shared host and backed up the database. I have now uploaded the serendipity install to the new server and am a little stuck.
I have the page loading, and the template is there, but that is it. Do I need to go and install all the plugins from the original install before I import the database?
The old site is still functional so anything I may need to grab from there I can. Just not sure whats next.
Posted: Mon Mar 06, 2006 5:59 am
by DortoH
I made some progress I think

Forgot to mention this is version 0.9.0
I got the DB imported but now I get the following error.
Warning: Smarty error: unable to read resource: "" in /homepages/25/d156349379/htdocs/serendipity/bundled-libs/Smarty/libs/Smarty.class.php on line 1088
No idea what this means. So far this is what I have done...
Backed up the serendipity directory and all subdirectories as well as the database from the shared host.
Uploaded the serendipity directory and all subdirectories to the new server and imported the database. Now I get that error.
I can blow this all away if need be, the original site is still up and I have backups of everything. I have 3 of these to migrate so any help here would be much appreciated!!!
Posted: Mon Mar 06, 2006 6:50 am
by DortoH
More progress, but still need help!
I upgraded the install on the new server to 0.9.1 and get this error when I hit the upgrade page.
Permissions
/homepages/19/d120133664/htdocs/serendipity/ Not writable
/homepages/19/d120133664/htdocs/serendipity/templates_c Not writable
What is interesting is that /homepages/19/d120133664 is the old server info the new server is homepages/25/d15634937
So the question now is, how to edit this?
Posted: Mon Mar 06, 2006 11:19 am
by garvinhicking
First off, did you read the FAQ at
www.s9y.org for how to migrate Serendipity? It contians a lot of information.
The problem with permissions is just that your core serendipity directory is not writable for Serendipity. Make sure that the directory is writable, as well as the templates_c directory exists and is writable.
Then go and edit your serendipity_config DB table and adjust the paths to point to the right directories!
Regards,
Garvin
Posted: Mon Mar 06, 2006 1:39 pm
by DortoH
Yes I did read that article and followed it but to no avail.
I even went as far as to chmod 777 everything and I still get that error. The part that confuses me is that it looks like serendipity is looking at the old path still.
The old path is /homepages/19/d120133664/htdocs/serendipity/ and the new path is homepages/25/d15634937/serendipity.
Where can I edit that?
Posted: Mon Mar 06, 2006 1:48 pm
by garvinhicking
You can change that path reference in the serendipity_config database table! (as I mentioned in the previous entry

)
Regards,
Garvin
Posted: Mon Mar 06, 2006 1:56 pm
by DortoH
Sorry I thought you were referencing the PHP file
I'll give it a shot and report back.
Posted: Mon Mar 06, 2006 2:02 pm
by DortoH
Worked like a charm!!!! Thank-you Garvin!!!
Posted: Mon Mar 06, 2006 2:13 pm
by garvinhicking
You're welcome!

Have fun!
Regards,
Garvin