Page 1 of 1

[SOLVED] Installation from 1.7.3 to 2.0.3 failed

Posted: Sun Feb 14, 2016 4:50 pm
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

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

Posted: Sun Feb 14, 2016 5:06 pm
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?

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

Posted: Sun Feb 14, 2016 6:47 pm
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

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

Posted: Sun Feb 14, 2016 6:51 pm
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.

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

Posted: Sun Feb 14, 2016 7:01 pm
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!