[horde] Suggestion - small change to Horde6 install instructions

Sebastian Arcus s.arcus at open-t.co.uk
Mon Jul 6 13:44:44 UTC 2026


Thank you for the steps provided. I followed the steps you suggested and 
I get "520 Bad gateway" when trying to access the configuration page 
initially. Turns out my Horde install refuses to create the "secret_key" 
automatically. I've posted a separate thread to keep things visible for 
anyone else encountering this issue.


On 30/06/2026 00:44, Brent wrote:
>   On a clean system, I get horde installed by:
> 
> $ cd /var/www/html/
> $ mkdir horde
> $ cd horde
> $ composer create-project horde/bundle .
> $ composer require horde/timeobjects  horde/content
> $ cp ./vendor/horde/horde/config/conf.php.dist ./var/config/horde/conf.php
> $ mysql -u root -p
> 
> mariadb> create database horde
>      -> character set = 'utf8mb4';
> mariadb> grant ALL on horde.* to 'thehordeuser'@'localhost' identified 
> by 'your-horde-pw-here';
> mariadb> exit
> 
> Now go to the horde web page. Click the gear and you'll see that Horde 
> is "out of date".  Configure Horde primarily by going to the Database 
> tab and set up your database. For my example, I use:
> 
> sql phptype: MySQL(mysqli)
> username: thehordeuser
> password: your-horde-pw-here
> protocol: tcp/ip
> hostspec: localhost
> sql port: 3306
> databse: horde
> charset: utf8mb4
> 
> 
> I leave the rest default.
> 
> Then "Generate Horde Configuration"
> 
> You can then click on "Refresh" and then you'll see the option to 
> "Update all DB schemas"
> 
> I DO note that horde rc7 DOES save and use the Database configuration, 
> but it can't pull it back out of the config, so you must re-enter the 
> Database information anytime you go into the Horde configuration options.
> 
> brent
> 
> Quoting Sebastian Arcus <s.arcus at open-t.co.uk>:
> 
>> The instructions to populate the database with tables are part of the 
>> install how-to. I was suggesting that maybe it isn't sufficiently 
>> obvious that populating the database with tables immediately after 
>> setting up the connection to the database is critical - otherwise 
>> Horde will crash with no obvious error message (at least in my 
>> case/setup).
>>
>> On the other hand, maybe I was a bit too relaxed in following the 
>> install instructions a bit loosely, as some older versions of Horde 
>> used to offer in the GUI to populate the database - if I remember 
>> correctly.
>>
>> On 29/06/2026 21:11, Mike wrote:
>>> I poked around the install section and found the migrate up line you 
>>> are looking for here:
>>>
>>> https://wiki.horde.org/Doc/Dev/H6/Installation/InstallBase
>>>
>>> I'm not sure where you started and I agree that maybe the 
>>> instructions need updating.
>>>
>>> Mike
>>>
>>> Quoting Sebastian Arcus <s.arcus at open-t.co.uk>:
>>>
>>>> Hello and thank you for all the work put into making Horde 6 happen.
>>>>
>>>> I've just spent a number of hours trying to get Horde 6 working 
>>>> after it kept on crashing with "502 Bad Gateway" as soon as I 
>>>> configured the database access.
>>>>
>>>> Eventually I realised that I needed to populate the database with 
>>>> tables with "horde-db-migrate up" - before trying to navigate any 
>>>> other sections of the admin interface.
>>>>
>>>> Maybe there could be a note to say "don't try anything else before 
>>>> populating the database tables in the section below" - or something 
>>>> like this - to save other slightly clueless people like me from 
>>>> generating noise on this list :)
>>>> -- 
>>>> Horde mailing list
>>>> Frequently Asked Questions: http://horde.org/faq/
>>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>
>> -- 
>> 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