pklink / ppma

[INACTIVE] PHP Password Manager
BSD 3-Clause "New" or "Revised" License
62 stars 16 forks source link

Upgrade wiped the entire database #42

Open realh opened 9 years ago

realh commented 9 years ago

I just upgraded from 0.4.2 to 0.5.0 and it's wiped the entire database :-(. Presumably it just recreated the database without checking whether it already existed. I'm not impressed.

pklink commented 9 years ago

Hi realh,

how did you upgrade the password manager? Do you use the upgrade routine which is described in the README?

I wonder about this wipe, because the upgrade from 0.4.2 to 0.5.0 is not touching the database.

realh commented 9 years ago

No, I thought I could just replace the old ppma folder in /var/ww with the new one. I realise a lot of this is my fault, but users always do stupid things, a project managing such important data as this really needs to be more careful about wiping existing data.

pklink commented 9 years ago

This software is still in beta phase and has no major release yet. But you're right, I mark this issue as planned "enhancement"