[SOLVED] Installation from 1.7.3 to 2.0.3 failed

Having trouble installing serendipity?
Post Reply
sws
Regular
Posts: 23
Joined: Wed Oct 08, 2008 9:47 am

[SOLVED] Installation from 1.7.3 to 2.0.3 failed

Post by sws »

Hi,

I tried to upgrade from my 1.7.3 installation to the new stable 2.0.3:

1. I backed up my s9y directory.
2. I backed up the blog database using mysqldump.
3. I downloaded serendipity-2.0.3.zip from github.
4. I unzipped serendipity-2.0.3.zip into s9y directory

Code: Select all

# unzip -d <directory> serendipity-2.0.3.zip
.
5. I restarted apache2.
6. I accessed blog and went to admin page.
7. No upgrade script, just the normal gui like before.

I tried to start ../serendipity/docs/upgrade.sh manually:
This bash file is out of date and does not respect the new directory structure, templates and compiled templates. It needs to be fixed, so if you don't know how to do bash scripting, please don't use this file. Use the web-based installer instead. If you DO want to make this file work, make sure you sure know how to do it. :-)
So how do I upgrade then? Where is the web-based installer?

Regards,
Sebastian
Last edited by sws on Sun Feb 14, 2016 6:01 pm, edited 1 time in total.
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Installation from 1.7.3 to 2.0.3 failed: no update scri

Post by Timbalu »

Hi

Please check if you accidently unzipped to a directory which is not your blog, which I assume lives in /serendipity/, right?!

The file "docs/upgrade.sh" is as old as 10 years - DO NOT USE.
We will remove old occurrences with the next Serendipity release upgrade.

Can you give us a url?
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
sws
Regular
Posts: 23
Joined: Wed Oct 08, 2008 9:47 am

Re: Installation from 1.7.3 to 2.0.3 failed: no update scri

Post by sws »

Hi,
thanks for the reply.

My blog files reside in /var/www/famblog. That is where I unzipped the upgrade files to:
# unzip -d /var/www/famblog serendipity-2.0.3.zip
Unfortunalty I cannot give you a URL as it is a private blog.

Regards,
Sebastian
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Installation from 1.7.3 to 2.0.3 failed: no update scri

Post by Timbalu »

So check the filedate in /famblog/serendipity_confic.inc.php. Is it up tp date? If not, this indicates you deflated somewhere else or not even at all.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
sws
Regular
Posts: 23
Joined: Wed Oct 08, 2008 9:47 am

Re: Installation from 1.7.3 to 2.0.3 failed: no update scri

Post by sws »

File date of serendipity_config_inc.php hadn't changed Good clue. really!

Checked again and found inside /var/www/famblog another directory ./serendipity with redundandent file names ;-) So I unzipped again into a temp dir and copied subdirectories inside /var/www/famblog.
Suddenly upgrade script was there and asked the right question!

Thank you very much,
upgrade flawlessy managed.
Will set topic to SOLVED

Regards,
Sebastian

PS: And by the way: phantastic upgrade script! Everything in place as far as I can see. S9y is the best blog ever!
Post Reply