Hi Chris Adams wrote:
> I upgraded a running phpwiki install from a sarge system. We used > external authentication in the past which meant that phpwiki bombed out > the first time it tried to hit the user table; after changing > ENABLE_USER_NEW to false I was able to login but phpwiki starts setting > up the database from scratch, deleting all of our content and inserting > its default pages. PHPwiki itself does not delete pages. Default pages are only inserted when PHPwiki is first run with a completely blank database. The fact that you encountered this seems to suggest that something went wrong during the upgrade (at the dpkg step - probably postinst) and trashed the database file. I'll need some more information from you to help determine what. - I assume you are using sqlite? - Is your database stored in the standard location /var/lib/phpwiki/phpwiki_pagedb.db ? - What version of the package were you upgrading from? - Did you have any customisations to the config.ini/index.php that you were upgrading from? - Were there any errors output by dpkg (or the postinst script) during the upgrade process? That should give us a start to tracking down what went wrong. > Since it's probably going to be difficult to reproduce this problem I > entered this bug more to request that any updates with significant > database changes save a copy of the original sqlite file in case > something goes wrong with the update.. That could be a solution, but I'll need to work out exactly what failed before determining what needs to be done to fix it. Cheers -- Matt Brown [EMAIL PROTECTED] Mob +64 21 611 544 www.mattb.net.nz
signature.asc
Description: OpenPGP digital signature

