<html>
<body>
Hi Jared,<br><br>
At 10:41 AM 4/28/2013 -0400, you wrote:<br>
<blockquote type=cite class=cite cite>Paul,<br><br>

<dl>
<dd>I've looked at the code in
<a href="http://cleanup_database.pl">cleanup_database.pl</a> (and
<a href="http://search.pl">search.pl</a>), and can't see any obvious
reason to "redirect to Installer."<br><br>

<dd>So -- what has happened? Â Can I dump the cleaned db back into
production? What are the specific changes 3.8.5 to 3.8.10 that required
"updating"?<br><br>

</dl><br>
The redirect is because you had a newer version of the code than the
database was run on. </blockquote><br>
Thanks for your reply, but this is worrisome. I had at {server}/ a tarred
3.8.10.  I had at {server}/home/paul/ an untarred 3.8.10 (for .dif
purposes.)<br><br>
<blockquote type=cite class=cite cite>Koha doesn't have any support for
automatic upgrades, so I guess you must have untarred 3.8.10 at some
point. </blockquote><br>
[see above] O.K. it's not "automatic" but it did in fact run
automatically without my permission. I ran: <br><br>
     './cleanup_database.pl --zebraqueue -v'
<br><br>
and Koha *updated* from 3.8.5 to some variant of 3.8.10. Note the '-v' --
but it sat there running with nothing "verbose."<br><br>
<blockquote type=cite class=cite cite>You can take a look at the release
notes for the versions between 3.8.5 and 3.8.10:Â
<a href="http://git.koha-community.org/gitweb/?p=koha.git;a=tree;f=misc/release_notes;h=fd4b7d4bf8f9d401c87878ec184593a078bb5a93;hb=3.8.x">http://git.koha-community.org/gitweb/?p=koha.git;a=tree;f=misc/release_notes;h=fd4b7d4bf8f9d401c87878ec184593a078bb5a93;hb=3.8.x</a></blockquote><br>
I can find no mention of 'db' or 'database'<br><br>
<blockquote type=cite class=cite cite>Based on the "Update
report" you shared, it doesn't look like there were any actual
database changes in between versions 3.8.5 and 3.8.10, but I couldn't say
that with certainty without checking (you can take a look at the release
notes linked above, and by reviewing the
installer/data/mysql/<a href="http://updatedatabase.pl">updatedatabase.pl</a>
file on the 3.8.10 installation). </blockquote><br>
I have looked at it, but question why it would be triggered?<br><br>
<blockquote type=cite class=cite cite>The update is trigged whenever you
have an older version of the database than the code, </blockquote><br>
By what? And "the code" in what? The relevant code in
cleanup_database.pl is <br><br>
      "$sth2 =
$dbh->prepare("DELETE FROM zebraqueue WHERE id=?");"
<br><br>
a simple MySQL directive. Why does 'cleanup_database.pl' even look for
'<a href="http://updatedatabase.pl">updatedatabase</a><a href="http://updatedatabase.pl">.pl</a>'
and|or "other/more recent" versions of "the
code"?<br><br>
The bottom line is "why does a simple .pl using TRUNCATE lead to an
upgrade"?<br><br>
<blockquote type=cite class=cite cite>Most likely downgrading to 3.8.5
would not cause any problems at all, </blockquote><br>
"Downgrading" is new to me.  Do you mean "restore
system from backup"?<br><br>
Best - Paul<br><br>
<blockquote type=cite class=cite cite>even if there were database
changes, but it's always a good idea to check.<br><br>
Regards,<br>
Jared<br><br>
-- <br>
Jared Camins-Esakov<br>
Bibliographer, C & P Bibliography Services, LLC<br>
(phone) +1 (917) 727-3445<br>
(e-mail)
<a href="mailto:jcamins@cpbibliography.com">jcamins@cpbibliography.com</a><br>
(web)
<a href="http://www.cpbibliography.com/">http://www.cpbibliography.com/</a></blockquote></body>
</html>