[horde] Documentation on Horde/composer

Brent impuser at bitrealm.com
Tue Oct 18 23:13:26 UTC 2022


  Quoting Ralf Lang <ralf.lang at ralf-lang.de>:

> Hello,
>
> install docs for Horde from Composer are in progress.
> https://wiki.horde.org/Doc/Dev/H6/Installation
>
> As each installation out there in the wild is different, I follow an  
> iterative approach:
>
> - How to get the base system up and running with users from the SQL database.
> - How to install the specific apps, starting from trivial (nag,  
> mnemo, kronolith) to more complex (turba, imp, ingo)
> - How to maintain an existing installation
> - What to backup
>
> If you already have your config files and database content, a more  
> concise restore article is proposed.
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/To unsubscribe,  
> mail: horde-unsubscribe at lists.horde.org

Thanks Ralf for providing more information on how to use composer!

I am having a few issues trying to get php 8.1 running with the  
basics: horde, imp, kronolith, and turba.

I'm using the dev_framework6 stuff on a Fedora 36 at the moment.

I got horde up and running. I can also now login and authenticate with  
IMP (yay!). I have a few issues with the configuration or database,  
however.

#1: Upon login, a pop-up in the corner says: At least one database  
schema is outdated. When I go to Administration -> Configuration, I  
see that Horde_Kronolith and Horde_Turba show "SQL DB schema is out of  
date." If I click on either of those, I get an error that says  
"SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name  
'share_parents'"
If I try to run the "vendor/bin/horde-db-migrate" script, I get this  
error near the bottom:

Migrating to KronolithUpgradeSqlhierarchical (16)
== 16 KronolithUpgradeSqlhierarchical: migrating  
==============================
-- addColumn('kronolith_shares', 'share_parents', 'text')
SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name  
'share_parents'
[  INFO  ] Current Horde_Turba schema version: 3
Migrating to TurbaUpgradeSqlhierarchical (4)
== 4 TurbaUpgradeSqlhierarchical: migrating  
===================================
-- addColumn('turba_shares', 'share_parents', 'text')
SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name  
'share_parents'

I even deleted the horde database from the mysql server and re-created  
an emtpy db with full access for the horde user. Just creating an  
empty database and running the horde-db-migrate script will throw this  
error.

#2: This might be due to the above, but I can't get the Calendar to  
render (kronolith). Clicking on "Calendar" throws a red box at the  
bottom which says: "Error when communicating with the server". Seems  
to be something with pear Date or a Timezone config?
I get the following errors on the console:

HORDE[996]: [kronolith] Error: Non-static method  
Date_TimeZone::isValidID() cannot be called statically in  
/usr/share/pear/Date/TimeZone.php:4717
HORDE[996]: Stack trace:
HORDE[996]: #0 /usr/share/pear/Date.php(55): require_once()
HORDE[996]: #1 /usr/share/pear/Date/Holidays.php(39):  
require_once('/usr/share/pear...')
HORDE[996]: #2  
/var/www/html/horde/vendor/horde/autoloader/lib/Horde/Autoloader.php(129):  
include('/usr/share/pear...')
HORDE[996]: #3  
/var/www/html/horde/vendor/horde/autoloader/lib/Horde/Autoloader.php(66):  
Horde_Autoloader->_include()
HORDE[996]: #4 [internal function]: Horde_Autoloader->loadClass()
HORDE[996]: #5  
/var/www/html/horde/vendor/horde/kronolith/lib/CalendarsManager.php(549):  
class_exists()
HORDE[996]: #6  
/var/www/html/horde/vendor/horde/kronolith/lib/CalendarsManager.php(201):  
Kronolith_CalendarsManager->_getAllHolidays()
HORDE[996]: #7  
/var/www/html/horde/vendor/horde/kronolith/lib/Ajax/Application/Handler.php(94):  
Kronolith_CalendarsManager->get()
HORDE[996]: #8  
/var/www/html/horde/vendor/horde/core/lib/Horde/Core/Ajax/Application.php(175):  
Kronolith_Ajax_Application_Handler->listCalendars()
HORDE[996]: #9  
/var/www/html/horde/vendor/horde/horde/services/ajax.php(61):  
Horde_Core_Ajax_Application->doAction()
HORDE[996]: #10 {main} [pid 996 on line 74 of  
"/var/www/html/horde/vendor/horde/core/lib/Horde/ErrorHandler.php"]
HORDE[996]:[kronolith] Error: Non-static method  
Date_TimeZone::isValidID() cannot be called statically in  
/usr/share/pear/Date/TimeZone.php:4717
HORDE[996]:Stack trace:
HORDE[996]:#0 /usr/share/pear/Date.php(55): require_once()
HORDE[996]:#1 /usr/share/pear/Date/Holidays.php(39):  
require_once('/usr/share/pear...')
HORDE[996]:#2  
/var/www/html/horde/vendor/horde/autoloader/lib/Horde/Autoloader.php(129):  
include('/usr/share/pear...')
HORDE[996]:#3  
/var/www/html/horde/vendor/horde/autoloader/lib/Horde/Autoloader.php(66):  
Horde_Autoloader->_include()
HORDE[996]:#4 [internal function]: Horde_Autoloader->loadClass()
HORDE[996]:#5  
/var/www/html/horde/vendor/horde/kronolith/lib/CalendarsManager.php(549):  
class_exists()
HORDE[996]:#6  
/var/www/html/horde/vendor/horde/kronolith/lib/CalendarsManager.php(201):  
Kronolith_CalendarsManager->_getAllHolidays()
HORDE[996]:#7  
/var/www/html/horde/vendor/horde/kronolith/lib/Ajax/Application/Handler.php(94):  
Kronolith_CalendarsManager->get()
HORDE[996]:#8  
/var/www/html/horde/vendor/horde/core/lib/Horde/Core/Ajax/Application.php(175):  
Kronolith_Ajax_Application_Handler->listCalendars()
HORDE[996]:#9  
/var/www/html/horde/vendor/horde/horde/services/ajax.php(61):  
Horde_Core_Ajax_Application->doAction()
HORDE[996]:#10 {main} [pid 996 on line 74 of  
"/var/www/html/horde/vendor/horde/core/lib/Horde/ErrorHandler.php"]


More information about the horde mailing list