[horde] Huge problems on fresh install of Horde Groupware.

maillist maillist at lightspeed.ca
Wed May 28 22:25:32 UTC 2014


 

On 2014-05-28 15:06, Michael J Rubinsky wrote: 

> Quoting maillist <maillist at lightspeed.ca>:
> On 2014-05-28 13:51, Michael J Rubinsky wrote: Quoting maillist <maillist at lightspeed.ca>: We've had an older version of Horde for a long time, and when it became necessary to upgrade, upgrading became impossible thanks to having to skip over too many major versions. So I created a whole new space for Horde 5, and followed the instructions for installing it through PEAR, found at http://www.horde.org/apps/horde/docs/INSTALL [1] [1] The problems started when I came to this step: Creating databases Once you created the database configuration in the previous step, you can create all database tables by hitting the Update all DB schemas button in the configuration screen. The database "horde5" had already been created, along with the user and the password. Apparently, creating the database failed somewhere during the process, and now I get the error at the end of my post. Dropping the database and starting anew has done nothing to solve this problem. Neither has re-creating the username
and password, or scrubbing the Horde config file and starting over. I would *like* to be able
 to set up the database schema manually through MySQL, but I can't find
any way of doing that, or database tables for MySQL anywhere in the
installed code. 

> We don't ship any schema files. All DB creation/management is done via migrations. From a fresh horde db (no existing tables), try running the horde-migrate script.
 What 'horde-migrate' script?
www3:/home/webmail.ourdomain.com/public_html/horde5# find . -name
horde-migrate www3:/home/webmail.ourdomain.com/public_html/horde5#
locate horde-migrate
www3:/home/webmail.ourdomain.com/public_html/horde5# I don't see any
'horde-migrate' script. Nevermind the fact that we've long given up on
migrating our old database to the new format. The migration has never
been anything short of a complete disaster. We're starting a whole new
installation with a different database. 

It's called horde-db-migrate, and is a cli script installed with the 
base horde package. It's mentioned under section 4. Creating Databases 
in the INSTALL document.

Thank you.

However, it seems that I've made the disastrous, unconscionable error of
renaming our Horde installation from "horde-new" to "horde5". I'm sure
no one would ever think to move a site from dev to production by
renaming a few things, so now I need to know how to fix that particular
error as well, now that the old "horde-new" name is written into some
configuration file or database not made obvious by the following error
output:

www3:/home/webmail.lightspeed.ca/public_html/horde5#
/usr/bin/horde-db-migrate
PHP Strict Standards: Non-static method System::tmpdir() should not be
called statically in /usr/share/php/PEAR/Config.php on line 158
PHP Strict Standards: Non-static method System::tmpdir() should not be
called statically in /usr/share/php/PEAR/Config.php on line 167
PHP Strict Standards: Non-static method System::tmpdir() should not be
called statically in /usr/share/php/PEAR/Config.php on line 176
PHP Strict Standards: Non-static method System::which() should not be
called statically in /usr/share/php/PEAR/Config.php on line 229
PHP Strict Standards: Non-static method PEAR_Config::singleton() should
not be called statically in /usr/bin/horde-db-migrate on line 28
PHP Strict Standards: Non-static method
PEAR_Installer_Role::initializeConfig() should not be called statically,
assuming $this from incompatible context in
/usr/share/php/PEAR/Config.php on line 599
PHP Strict Standards: Non-static method
PEAR_Installer_Role::registerRoles() should not be called statically,
assuming $this from incompatible context in
/usr/share/php/PEAR/Installer/Role.php on line 45
PHP Strict Standards: Non-static method
PEAR_Installer_Role::getBaseinstallRoles() should not be called
statically, assuming $this from incompatible context in
/usr/share/php/PEAR/Installer/Role.php on line 270
PHP Strict Standards: Non-static method
PEAR_Installer_Role::getInstallableRoles() should not be called
statically, assuming $this from incompatible context in
/usr/share/php/PEAR/Installer/Role.php on line 271
PHP Strict Standards: Non-static method
PEAR_Installer_Role::getPhpRoles() should not be called statically,
assuming $this from incompatible context in
/usr/share/php/PEAR/Installer/Role.php on line 272
PHP Strict Standards: Non-static method
PEAR_Installer_Role::getValidRoles() should not be called statically,
assuming $this from incompatible context in
/usr/share/php/PEAR/Installer/Role.php on line 273
PHP Warning:
require_once(/home/webmail.lightspeed.ca/public_html/horde-new/lib/Application.php):
failed to open stream: No such file or directory in
/usr/bin/horde-db-migrate on line 29
PHP Fatal error: require_once(): Failed opening required
'/home/webmail.lightspeed.ca/public_html/horde-new/lib/Application.php'
(include_path='.:/usr/share/php:/usr/share/pear') in
/usr/bin/horde-db-migrate on line 29

 

Links:
------
[1] http://www.horde.org/apps/horde/docs/INSTALL


More information about the horde mailing list