At 05:40 PM 5/7/2013 +1200, Chris Cormack wrote:
* Robin Sheat ([email protected]) wrote:
> Robin Sheat schreef op di 07-05-2013 om 17:13 [+1200]:
> > So, it deletes the same records twice? That seems a bit fishy.
>
> Oh, I overlooked where you said you restored the DB. Ignore this bit.
>
> One important thing is that you never look at the version the very
> moment _before_ you run cleanup_database.pl so we really have no
> reference to come from.
>
Also we can see it hasn't updated the database, because it would not be in maintenance mode if it had. That is not updated until you log into the webinstaller and upgrade the db.

Thanks Chris - agreed (although there is apparently no MySQL differences between 3.8.5 and 3.8.10 - despite the browser running through five steps before either admin or OPAC are functional.)

All that has happened is you have the koha-conf.xml and the the apache2 config pointing to your 3.8.10 code.

Again agreed -- but the 3.8.10 code is in exactly the same place as the 3.8.5, so no difference in the "pointers."

Like I previously said this can only happen if you untarred over top of your old directory or you run make upgrade.

/koha-3.08.05 had been moved to backup. /koha-3.08.10 was there. But the bigger problem is that I did not *knowingly* upgrade, AND I ran cleanup_database.pl as user=koha who is not a sudoer (required for make, make upgrade.) Certainly no password was requested.

So there is a lot more diagnostics we need to see exactly what you
have done. Including seeing which koha-conf.xml you have set before
you run the cleanup script and what directory that file points to.

paul@hardy:/$ diff -s /etc/koha/koha-conf.xml /home/paul/koha-conf.xml_3.8.5
Files /etc/koha/koha-conf.xml and /home/paul/koha-conf.xml_3.8.5 are identical

Relevant part (consistent with apache, no changes over v. 5 ==> 10):

<!-- ADDITIONAL KOHA CONFIGURATION DIRECTIVE -->
<!-- db_scheme should follow the DBD driver name -->
<!-- port info: mysql:3306 Pg:5432 (5433 on Debian) -->
<config>
 <db_scheme>mysql</db_scheme>
 <database>koha384</database>
 <hostname>localhost</hostname>
 <port>3306</port>
 <user>koha</user>
 <pass>************</pass>
 <biblioserver>biblios</biblioserver>
 <biblioservershadow>1</biblioservershadow>
 <authorityserver>authorities</authorityserver>
 <authorityservershadow>1</authorityservershadow>
 <intranetdir>/usr/share/koha/intranet/cgi-bin</intranetdir>
 <opacdir>/usr/share/koha/opac/cgi-bin/opac</opacdir>
 <opachtdocs>/usr/share/koha/opac/htdocs/opac-tmpl</opachtdocs>
 <intrahtdocs>/usr/share/koha/intranet/htdocs/intranet-tmpl</intrahtdocs>
 
<includes>/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/includes/</includes>
 <logdir>/var/log/koha</logdir>
 <pazpar2url>http://hardy:11002/search.pz2</pazpar2url>
 <install_log>/usr/share/koha/misc/koha-install-log</install_log>
<useldapserver>0</useldapserver><!-- see C4::Auth_with_ldap for extra configs you must add if you want to turn this on -->
 <zebra_bib_index_mode>dom</zebra_bib_index_mode>
 <zebra_auth_index_mode>dom</zebra_auth_index_mode>
</config>
</yazgfs>

Best - Paul
_______________________________________________
Koha-devel mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to