[Tickets #7223] Re: upgrade option in setup.php fails

bugs at horde.org bugs at horde.org
Wed Aug 20 17:18:16 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7223
------------------------------------------------------------------------------
  Ticket             | 7223
  Updated By         | Jan Schneider <jan at horde.org>
  Summary            | upgrade option in setup.php fails
  Queue              | Horde Groupware Webmail Edition
  Version            | 1.1.2
  Type               | Bug
-State              | Unconfirmed
+State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Jan Schneider <jan at horde.org> (2008-08-20 13:18) wrote:

> Several problems in upgrade scripts setup.php for webmail 1.1.2
>
> 1. when run from commandline:
>  putenv fails for 'HORDE_DB_USER' and 'HORDE_DB_PASS'

Why?

>  some upgrade scripts try to run /var/www/bin/php or /usr/local/bin/php/bin

Which scripts? No script has those weird paths hardcoded.

> remedy:
> - header in setup.php #!/usr/bin/php -n -q -d
> safe_mode_allowed_env_vars=HORDE_

Ah, so you are running safe_mode?

> - change all paths to /usr/bin/php in upgrade scripts
>
> 2. errors in php.log:
> [19-Aug-2008 23:56:18] PHP Fatal error:  Call to undefined method
> MDB2_Error::execute() in
> /home/httpd/webmail/horde/kronolith/scripts/upgrades/convert_datatree_shares_to_sql.php on  
> line
> 152
>
> Net Result is that the upgrade process does not lead to a working
> installation
>
>






More information about the bugs mailing list