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!
Upgrading or Doing a Fresh Install
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Upgrading or Doing a Fresh Install
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
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
# 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/
# 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/
-
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!
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!
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
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
This is much easier and better to fix than re-installing and importing
Best 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/
# 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/
-
Guest
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
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
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/
# 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/
-
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.
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.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
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:
(upload it in your s9y directory as change.php and call http://yourblog/change.php to execute)
All will be well
Best regards,
Garvin
Code: Select all
<?php
chmod('serendpipity_config_local.inc.php', 0777);
?>
All will be well
Best 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/
# 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/
-
petersreviews
- Regular
- Posts: 28
- Joined: Thu Oct 27, 2005 7:51 pm
- Location: Sunny California
- Contact:
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.
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.
Please take a minute to visit my web site: http://www.petersreviews.com
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
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:
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
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'
And thanks a lot for your paypal donation, I received that! That's great and much appreciated
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/
# 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/