Page 1 of 1
Upgrading or Doing a Fresh Install
Posted: Tue Oct 25, 2005 8:48 pm
by Guest222
Howdy everyone!
I want to upgrade and do a fresh install. What files do I need to backup and how should I do it? Can I just FTP copy everything that's on my host onto my computer and do a fresh install. If so, how do I import my old files on my computer?
Thanks for your help!
Re: Upgrading or Doing a Fresh Install
Posted: Wed Oct 26, 2005 10:33 am
by garvinhicking
Uh, what do you want to do? An upgrade or a fresh install? Both are completely different thing!
When you upgrade, you keep your content. When you install fresh, you loose all your content.
Upgrading is easy: Just unpack the new release file over your existing directory (via FTP or so) and check that serendipity_config_local.inc.php and .htaccess are still writable for PHP. Then open your blog, and upgrade will happen.
Fresh installing is even easier: Delete your old blog directory, copy the files via FTP and then you can install s9y into the database again, you might even use a different DB prefix.
It seems you want to do an upgrade and forget about fresh installing.
Regards,
Garvin
Posted: Wed Oct 26, 2005 5:55 pm
by Guest22
Sorry for the confusing first post. Here's the story:
1. I installed Serendipity in one directory and everything rocked
2. Decided I'd rather have everything in the base directory
3. Moved all files to the base directory
4. Whoops. Found out that some things didn't work correctly so I fixed as much as I could (redefined paths) in the administration panel.
5. Things work but there are a few directories that aren't quite working
6. Decided that I should backup my files do a fresh install and import archives except for the fact that I don't know how to backup my files & graphics.
I'm not exactly a whiz with computers so I hope it's easy.
Thanks for your help. I really love the software and I appreciate your time!
Posted: Wed Oct 26, 2005 7:21 pm
by garvinhicking
Actually you nearly did everything right. When you move an installation, make sure to move .htaccess file as well, as it contains some paths. And make sure you re-configure ALL path settings in your configuration after moving. Use phpMyAdmin to browse your serendipity_config table and adjust missing paths.
This is much easier and better to fix than re-installing and importing
Best regards,
Garvin
Posted: Thu Oct 27, 2005 9:59 am
by Guest
Hi Garvin,
I'm getting closer! I think the only thing I need to do is use phpMyAdmin to adjust the missing paths. Just one question. Where can I find phpMyAdmin? Thanks again for your patience with me!
Posted: Thu Oct 27, 2005 11:36 am
by garvinhicking
phpMyAdmin can be found on
www.phpmyadmin.net -- you can, though, also use the serendipity configuration panel to check all your path settings! I thought you already use phpMyAdmin (as it's quite common), and that would've been a bit better overview, but you can also do without.
Regards,
Garvin
Posted: Thu Oct 27, 2005 7:03 pm
by Guest
EMERGENCY!!! Please help!!!!
1. I found phpmyadmin.net but I forgot my password so I changed it to get access.
2. Now Serendipity won't load and I don't know how to make it recognize my new password if I can't load it?
3. Am I screwed?
4. You are the best. I'm definitely going to drop a little something in your Paypal account if I can finally get this fixed.
5. The bummer is that I think I had it fixed just when the password change went through.

Posted: Thu Oct 27, 2005 7:20 pm
by garvinhicking
You're not screwed. Just go and edit your serendipity_config_local.inc.php file and adjust the password there. If you can't write to the file via FTP, execute this PHP code on your webspace:
Code: Select all
<?php
chmod('serendpipity_config_local.inc.php', 0777);
?>
(upload it in your s9y directory as change.php and call
http://yourblog/change.php to execute)
All will be well
Best regards,
Garvin
Posted: Fri Oct 28, 2005 7:57 am
by petersreviews
Thanks again! I fixed it and now everything works again. But it seems that I'm still missing something. Most everything seems to work fine but I must be missing changing a path somewhere. I've used PhPmyAdmin and can't find anything else and I've used Serendipity's config and I think I got everything but it's still referring back to my original directory.
So, my original install is in another directory but the new copy is still referring back to it. Every time I rename the old directory, my new copy stops working. Any ideas what I could be missing?
Thanks for your help and patience!
Peter
P.S. I just dropped a little donation into your paypal account.
Posted: Fri Oct 28, 2005 12:08 pm
by garvinhicking
Hm, which config keys did you change?
You must change thes config key names:
serendipityPath
uploadPath
serendipityHTTPPath
baseURL
uploadHTTPPath
You can get those with this SQL query:
Code: Select all
SELECT * from serendipity_config WHERE name like '%Path' or name = 'baseURL'
I think this should then give you all required results?
And thanks a lot for your paypal donation, I received that! That's great and much appreciated
Regards,
Garvin