[horde] installing h6 framework
Mike
barjunk at attglobal.net
Sun Feb 23 15:44:40 UTC 2025
Quoting redhat <redhat at techspace.nl>:
> everyone thanks that replied.
>
> the main problem was that i caled it wrong in apache2 i used an alias /horde.
> this is not working anymore i had to use virtual host horde.localhost
>
> Got it working now but with a lot of errors with the mysql database and ldap.
> I hope there wil be a stable horde6 version later on.
>
>
> Jasper
>
Jasper,
Glad you got this straigtened out.
I'd be interested in hearing more about the errors you had with mysql
and ldap. I'm not sure if you are saying that the newer versions of
mysql and ldap aren't working for you, or if the migration didn't work?
I'm using horde6 in a test environment with postgresql without issue.
Original thread below for context.
Mike
>
> Op 13-2-2025 om 16:13 schreef Simon B:
>>
>>
>> On Thu, 13 Feb 2025 at 15:28, redhat <redhat at techspace.nl
>> <mailto:redhat at techspace.nl>> wrote:
>>>
>>> i have used horde5 for over 10jears.
>>> Time for a new server setup Ubuntu 24.04 lts, downgraded to php7.4 and
>>> installed horde webmail framework 5.
>>> This looked ok but didnt work as expected.
>>>
>>> Now new install ubuntu 24.04 and tried to install the horde6 framework.
>>> i followed the install notes from the wiki.horde.org
>>> <http://wiki.horde.org> Horde 6
>>> installation instructions (draft).
>>>
>>> Installed composer and git both almost no experience with, but after a
>>> couple of day pulling my hair out i cant get it to work.
>>> at best i get a webpage white and only text of the configuration screen.
>>>
>>> i hope some one can help me out this is what i have done.
>>>
>>> made a directory horde in /var/www/horde i started with
>>> /var/www/html/horde but noticed files are being made in /var/www dir
>>> then i execute
>>>
>>> |cd /srv/www/horde/ |
>>> |sudo -u www-data composer create-project horde/bundle|
>>>
>>> in /var/www/horde i get a bundle dir and in here as it looks de h6
>>> installation files
>>>
>>> if i follow the wiki i must execute |cp -a
>>> web/horde/config/conf.php.dist var/config/horde/conf.php in the root dir
>>> but the root dir is now under bundle /var/www/horde/bundle|
>>>
>>> |so i had to cd |||/var/www/horde/bundle then gave the next command
>>> |||||sudo -u www-data composer horde-reconfigure|||
>>>
>>> |||i tried using git manual download and create webroot manually using
>>> php8.1 and the php 8.3.
>>> |||
>>>
>>> ||||||i made a alias in apache2 to /var/www/horde/bundle/web/horde||||||
>>>
>>> |||all gave me the white text page.|||
>>>
>>> |||
>>> |||
>>>
>>> |||Is the someone that can help me on my way to a correct install.|||
>>
>> Hi Jasper,
>>
>> Are you trying to upgrade an existing installation (preserving
>> users and settings, etc.) or start from scratch?
>>
>> I just migrated to a new server and had to install H6 with the new
>> php version...
>>
>> uname -a
>> Linux 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1
>> (2024-11-22) x86_64 GNU/Linux
>>
>> php -v
>> Cannot load Zend OPcache - it was already loaded
>> PHP 8.2.26 (cli) (built: Nov 25 2024 17:21:51) (NTS)
>> Copyright (c) The PHP Group
>> Zend Engine v4.2.26, Copyright (c) Zend Technologies
>> with Zend OPcache v8.2.26, Copyright (c), by Zend Technologies
>>
>> Your process looks right for a new install, and as far as I
>> remember the whitescreen was caused by permission issues.
>>
>> Here is what I did:
>>
>> mkdir -p /usr/share/2024-composer-horde6
>>
>> *_Get a root project_*
>>
>>
>> apt install composer
>>
>> chown root:www-data /var/www/.composer/cache/
>>
>> cd /usr/share/2024-composer-horde6
>>
>> sudo -u www-data composer create-project horde/bundle .
>>
>> *_Install Horde Base Application_*
>>
>>
>> cp -var web/horde/config/conf.php.dist var/config/horde/conf.php
>> sudo -u www-data composer horde-reconfigure
>>
>> And configure it so that you have the secret number.
>>
>> http[s]://newhostip/horde/admin/config/config.php?app=horde
>>
>>
>> General Tab
>>
>>
>> * $conf[session][name] horde-6
>>
>>
>>
>> Database Tab
>>
>>
>>
>>
>> * $conf[sql][phptype] MYSQL (msqli)
>>
>>
>> * $conf[sql][username] horde
>>
>>
>> * $conf[sql][password]
>>
>>
>> * $conf[sql][protocol] UNIX Sockets
>>
>>
>> * $conf[sql][socket] /var/run/mysqld/mysqld.sock
>>
>>
>> * $conf[sql][database] hordebeta
>> (Use your own database name obviously - mine was called hordebeta
>> from a legacy install)
>>
>>
>> * $conf[sql][charset]
>>
>>
>> Install IMP Webmail, Ingo Mail Filter Manager
>>
>>
>> https://wiki.horde.org/Doc/Dev/H6/Installation/InstallAppsMail?referrer=Doc%2FDev%2FH6%2FInstallation
>> <https://wiki.horde.org/Doc/Dev/H6/Installation/InstallAppsMail?referrer=Doc%2FDev%2FH6%2FInstallation>
>>
>>
>> sudo -u www-data composer require horde/imp ^7 horde/ingo ^4
>> horde/activesync ^3
>>
>> cp -var web/horde/config/conf.php.dist var/config/horde/conf.php
>>
>>
>> Install Horde Groupware Applications
>>
>>
>> https://wiki.horde.org/Doc/Dev/H6/Installation/InstallAppsGroupware?referrer=Doc%2FDev%2FH6%2FInstallation
>> <https://wiki.horde.org/Doc/Dev/H6/Installation/InstallAppsGroupware?referrer=Doc%2FDev%2FH6%2FInstallation>
>>
>>
>> sudo -u www-data composer require horde/kronolith ^5 horde/nag ^5
>> horde/content ^3 horde/timeobjects ^3 horde/mnemo ^5 horde/turba ^5
>> horde/passwd
>>
>>
>> Ignore the passwd error for now and check on the config tab to
>> update the DB schemas to ready.
>>
>>
>> Run
>>
>>
>> ./vendor/bin/horde-db-migrate up
>>
>>
>>
>> After this you should be able to go back and finish configuring
>> horde6 like you would normally.
>>
>> Hope this helps.
>>
>> Simon
>>
>>
>> --
>> Dit bericht is gescanned op virussen en andere gevaarlijke
>> inhoud door *DarkEagle scanners* <http://www.techspace.nl/> en
>> lijkt schoon te zijn.
>
> --
> Dit bericht is gescanned op virussen en andere gevaarlijke
> inhoud door DarkEagle scanners en lijkt schoon te zijn.
>
> --
> 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