[horde] IMP not activated after composer update

Brent impuser at bitrealm.com
Wed May 21 14:04:42 UTC 2025


  Ok, I've moved all my settings out of the main directory and into  
the var/config/<app> path and then ran the 'composer  
horde-reconfigure' which creates symlinks back to the files in var.

To me, "var" is a weird place for config file like this. If aything,  
there should be a <install-dir>/etc/<app> . But, I won't die on that  
hill. I can't think of any other app that puts config files in a "var"  
subdirectory, they go under /etc, normally.

Working now and I can do a "composer update" without wiping out my  
customizations.

Thanks!

brent

Quoting Michael Schlueter <michael at johalla.de>:

> Hi,
>
> You should store your config files in var/config/[horde|imp|...]/.  
> After running "composer horde-reconfigure" there should be links  
> from web/[horde|imp|...]/config/conf.php to var/config/...
>
> That's how I am doing it and my configuration survives a composer update :-)
>
> BR,
> Michael
>
> Am 20.05.25 um 21:21 schrieb Brent:
>>  Quoting Andreas Mauser <andreas at mauser.info>:
>>
>>> Am 20. Mai 2025 um 20:54 schrieb "Brent" <impuser at bitrealm.com  
>>> mailto:impuser at bitrealm.com?to=%22Brent%22%20%3Cimpuser%40bitrealm.com%3E  
>>> >:
>>>
>>>> Quoting Andreas Mauser <andreas at mauser.info>:
>>>>
>>>> Hi,
>>>>   after update with composer I get the following page:
>>>>
>>>>   # Ein schwerer Fehler ist aufgetreten:
>>>>
>>>>   ### Mail ist nicht aktiviert.
>>>>
>>>>   ### Details wurden für den Administrator mitgeloggt.
>>>>
>>>>   Is there a quick fix for this?
>>>>
>>>>   Best regards,
>>>>   Andreas
>>>>
>>>>   --
>>>>   Horde mailing list
>>>>   Frequently Asked Questions: http://horde.org/faq/To unsubscribe,
>>>>   mail: horde-unsubscribe at lists.horde.org
>>>>
>>>> Your main conf.php files for imp likely are gone. I have this happen
>>>> when I do a composer update. Need to restore those. I note even my
>>>> *.local.php get overwritten. Maybe I'm putting them in the wrong
>>>
>>> Oh. Thank you for the hint; I did not check my other config files  
>>> as they still existed.
>>>
>>> I feel this kind of misbehavior, which may to be fixed?
>>> Or is it intented for some special reason?
>>>
>>>> directory? I put them in <install dir>/web/imp/config. I note my
>>>> config files are removed after a "composer update".
>>>>
>>>> brent
>>>>
>>>> --
>>>> Horde mailing list
>>>> Frequently Asked Questions: http://horde.org/faq/
>>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>>
>>> Mit freundlichen Grüßen,
>>> Andreas Mauser
>>> +49 160 551 1166
>>> Frankfurt am Main
>>>
>>> --
>>> Horde mailing list
>>> Frequently Asked Questions: http://horde.org/faq/To unsubscribe,  
>>> mail: horde-unsubscribe at lists.horde.org
>>
>> Yeah, I am not sure why my files in <install-dir>/web/imp/config  
>> get removed after a "compser update". I guess I could be doing  
>> something wrong? I seem to always need to restore my files. "Back  
>> in the day"...one would put custom files in file names like  
>> "mime_drivers.local.php" and those would always stick. It seems  
>> that even those are being removed. My main conf.php in the  
>> web/imp/config directory got removed. I do not know if I'm doing  
>> something wrong or if something is broken with "composer update"  
>> that is causing those files to be removed.
>>
>> brent
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/To unsubscribe,  
> mail: horde-unsubscribe at lists.horde.org


More information about the horde mailing list