[horde] Export user's preferences

Vilius Sumskas/LNK vilius at lnk.lt
Mon May 9 21:22:57 UTC 2016


Hi,

> My Horde data base is probably corrupted, here are some of the 
> problems some users are having:
> 
> - some users cannot select the address book to "save recipients 
> automatically" in IMP preferences;
> - some users cannot see its contacts and they are unnable to export it;
> - some users cannot use its calendar and they are unnable to export it;

Looks like something went wrong in the Share system. Have you changed 
charsets in the database recently? Also, what do you mean by "cannot see 
its calendar"? They cannot see it in the calendar list, or they just 
cannot see events in the calendar? Did you try to increase Horde logging 
level and check for SQL errors?
 
> Those are users that have been using Horde for a long time.
> 
> I have tried to "horde-remove-user-data" for one of those users but it 
> did not solve the problem for him.

If clearing data for a user doesn't solve the problem, then there is no 
point exporting/importing. Have you tried with a newly created user?
 
> I am sure that this problem is because I have missed or donne some 
> mistakes in the several upgrades in the past, during 15 years using 
> Horde/Imp/Turba/Kronolith, besides I waited too long to upgrade from 
> Horde 3.x. My fault!
> 
> I am thinking of exporting whatever data can be exported, start a new 
> empty database and import back the data.
> 
> 
> 1- Can I export users preferences (or dump from databse)? How?
> 
> 2- Is there an automated way to export user's data (contact, calendar, 
> task and notes)? I know that each user can do it himself. I would 
> prefer not to dump from the database here, as it is corrupted. 
> Exporting would work for some data and not for other data.

Not currently. You could investigate how "horde-remove-user-data" is 
written and use it as an example to create something like 
"export-user-data", though.

> Using latest stable Horde/Imp/Turba/Kronolith (not from git), Mysql, 
Debian.

-- 
   Vilius 


More information about the horde mailing list