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

Ralf Lang ralf.lang at gmail.com
Tue Jun 24 16:54:13 UTC 2025


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.



More information about the horde mailing list