Migration Help!!

Having trouble installing serendipity?
Post Reply
DortoH
Regular
Posts: 82
Joined: Fri Feb 25, 2005 2:00 am

Migration Help!!

Post 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.
Rod
DortoH
Regular
Posts: 82
Joined: Fri Feb 25, 2005 2:00 am

Post 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!!!
Rod
DortoH
Regular
Posts: 82
Joined: Fri Feb 25, 2005 2:00 am

Post 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?
Rod
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
DortoH
Regular
Posts: 82
Joined: Fri Feb 25, 2005 2:00 am

Post 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?
Rod
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

You can change that path reference in the serendipity_config database table! (as I mentioned in the previous entry ;) )

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
DortoH
Regular
Posts: 82
Joined: Fri Feb 25, 2005 2:00 am

Post by DortoH »

Sorry I thought you were referencing the PHP file ;)

I'll give it a shot and report back.
Rod
DortoH
Regular
Posts: 82
Joined: Fri Feb 25, 2005 2:00 am

Post by DortoH »

Worked like a charm!!!! Thank-you Garvin!!!
Rod
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

You're welcome! :) Have fun!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply