Hello,
Our glpi site was running on glpi 0.78 with accounts 1.6 plugin. After
upgrade to 0.80 and 1.7, I was left with a corrupted passwords field in the
database.
I could any way get back all lost passwords and fix the issue by following
steps.
1. Deactivate, uninstall and remove accounts 1.7
2. Install accounts 1.6 plugin
3. find required records from backup and insert back to database directly
- it is better to do a qc of records before inserting to db
1. empty following tables and reset auto-incr using phpMyAdmin
2. grep -e glpi_plugin_accounts_accounts_
accounttypes -e glpi_plugin_accounts_accounts_
items -e glpi_plugin_accounts_profiles -e glpi_plugin_accounts_
accounts
-e glpi_plugin_accounts_hashs glpi-0.78.5-2011-10-01-16-19.sql | grep
INSERT | mysql ..
4. install and enable accounts 1.6
5. it was tested ok now
6. now upgrade to accounts 1.7
There was no data corruption this time. It simply worked. I don't know what
might have gone wrong during previous install/upgrade. Any way backup
helped.
Cheers
Ajith
_______________________________________________
Glpi-user mailing list
[email protected]
https://mail.gna.org/listinfo/glpi-user