[horde] Export user's preferences

Mauricio Jose T. Tecles mtecles at biof.ufrj.br
Tue May 10 18:49:11 UTC 2016

----- Mensagem de Vilius Sumskas/LNK <vilius at lnk.lt> ---------
    Data: Tue, 10 May 2016 00:22:57 +0300
      De: Vilius Sumskas/LNK <vilius at lnk.lt>
Assunto: Re: [horde] Export user's preferences
    Para: horde at lists.horde.org

> 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?

You are right, I remember years ago we used a Portuguese Debian installation.

The calendar itself is there but some events do not show and the  
calendar cannot be exported.

I will increase Horde logging level and will 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?

Newly created users are OK.

There is no point exporting/importing for those that are having  
problem, but will do for those that are not having problem. The idea  
is to export whatever data can be exported, start a new empty database  
and import back the data. When I say export I mean via Horde (ics,  
csv, vcard, icalendar) or via mysql for those that are OK.

>> 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.

I will make an effort, but I am far from being a PHP programmer.

Thak you, Villius.

>> Using latest stable Horde/Imp/Turba/Kronolith (not from git), Mysql,
> Debian.
> --
>    Vilius
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
> --
> This mail was scanned by BitDefender
> For more information please visit http://www.bitdefender.com/

----- Final da mensagem de Vilius Sumskas/LNK <vilius at lnk.lt> -----

Maurício José T. Tecles
Instituto de Biofísica Carlos Chagas Filho/UFRJ
Av. Carlos Chagas Filho, 373
Núcleo de Informática
CCS, Bloco G, sala G1-006
Cidade Universitária - Ilha do Fundão
21941-902, Rio de Janeiro - RJ

mtecles at biof.ufrj.br
Tel.: (21) 3938-6526 ou 3938-6544

More information about the horde mailing list