[horde] New Horde Setup Tool in horde/base v6.0.0alpha15

Brent impuser at bitrealm.com
Wed Jun 25 22:26:25 UTC 2025


  Ok, that seems to be working for me. I no longer need to have the  
"if" statement when a variable was being declared twice! So, that's  
great! I just did:

$ composer update

$ composer require horde/horde-installer-plugin "^3 || dev-FRAMEWORK_6_0"

$ composer horde:reconfigure --force

Should we be using the 3.0.3 installer or keep the 2.7 one? 

Two issues (have been this way for a while)

1)  I still don't know where "start_year" gets assigned? For my  
Contacts, it only shows from current year to 10 years out (2025 to  
2035). I can't set anything earlier as it isn't in the dropdown. My  
"fix" is to hack  
<install-dir>/vendor/horde/core/lib/Horde/Core/Ui/VarRenderer/Html.php  
and change line 579.

Orig 579:
for ($i = $var->type->getProperty('start_year'); $i <=  
$var->type->getProperty('end_year'); $i++) { */

Changed to:
for ($i = 1900; $i <= $var->type->getProperty('end_year'); $i++) {

2) Also in contacts (turba), it no longer shows the Photo of the  
person in the contact view. No errors. I DO see a tiny thumbnail in  
the calendar app for their birthday, but I can't see the larger photo  
any longer. This broke a few releases ago, not exactly sure when.

brent

Quoting Ralf Lang <ralf.lang at gmail.com>:

> Hello,
>
> this week's round of updates bring multiple fixes for forms issues  
> discovered by Dmitry along with a new feature.
>
> composer update
> Do not run Composer as root/super user! See  
> https://getcomposer.org/root for details
> Continue as root/super user [yes]? yes
> Loading composer repositories with package information
> Updating dependencies
> Lock file operations: 0 installs, 2 updates, 0 removals
>   - Upgrading horde/core (v3.0.0alpha26 => v3.0.0beta1)
>   - Upgrading horde/horde (v6.0.0alpha14 => v6.0.0alpha15)
>
> ...
>
> A new setup utility is similar to the small helpers which came with  
> webmail and groupware bundles in earlier versions of horde.
>
> You can call it from your root installation directory like this:
>
>  vendor/bin/horde-setup --usage
>
> Setup Horde System
> Usage: horde-setup [options]
>
> Horde Setup CLI Tool
>
> Starts a var/config/horde/conf.php from  
> vendor/horde/horde/config/conf.php.dist
>
> Adds any config values from CLI options. Names follow these patterns:
> - Option name will be prefixed with `--`
> - Multi-level options will be separated by a single hyphen, e.g.  
> `--auth-driver` for $conf['auth']['driver'].
> - Underscores in option names will be replaced with single dashes
> - Boolean switches will have two options: `--option-true` and  
> `--option-false`. They do not allow values
> - String and text options will accept a value, e.g. `--option=value`
> - Enum options will be presented as a choice list, e.g.  
> `--option=value1` or `--option=value2`.
>
> Prompts for SQL database configuration and writes it to the  
> configuration file unless the configuration already exists.
> Tests SQL configuration
> Applies horde schema upgrades.
>
> Checks if at least one administrator user exists, prompts for a new  
> user if none exists.
>
> Use --help to see available options.
>
> If you actually run the tool, it will present interactive prompts  
> whenever something is missing for DB setup and authentication
>
> ./vendor/bin/horde-setup
>
> Setup Horde System
>
> Writing main configuration file... done.
> [   OK   ] Database connection successful.
>
> Creating and updating database tables... done.
>
> Writing main configuration file... done.
>
> Configuring global administrator settings
> No administrator users configured yet.
>
> Specify a user name for the administrator account: [administrator]
> User already exists in the backend.
> This user exists already, do you want to update his password?
>     (y) Yes
>     (n) No
>
> Type your choice [y]: n
>
> Writing main configuration file... done.
>
> I am going to update the install instructions accordingly.
> The horde-setup tool requires horde/base 6.0.0alpha15 and horde/core  
> 3.0.0beta1 or higher.
>
> If you look at the https://www.horde.org homepage, you will notice  
> some first hints at the upcoming beta and stable releases.
>
> A proper announcement for the beta phase will be released in due  
> time, along with some exciting new features.
>
> --
> 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