6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/22/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#7223] upgrade option in setup.php fails
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .__ . ..___.__. | \[__)| |[__ [__] |__/| |/\|[___| |
Comment
> Here's the detailed output when i try to avoid safe_mode using the > commandline > > apparently php runs in safe mode on my distro (slackware) , > regardless of the -n (no php.ini) option. > > hence the -d safe_mode_allowed_env_vars=HORDE_ > > > > > > [root@mist webmail]# mv horde horde.org > > [root@mist webmail]# mv horde-webmail-1.1.2 horde > > [root@mist webmail]# cd horde > > [root@mist horde]# > > [root@mist horde]# php -n ./scripts/setup.php > > Horde Groupware Webmail Edition Configuration Menu > > (0) Exit > > (1) Configure database settings > > (2) Create database or tables > > (3) Configure administrator settings > > (4) Update from an older Horde Groupware Webmail Edition version > > > > Type your choice: 4 > > > > Specify the directory of the old Horde Groupware Webmail Edition > version that you would like to update: ../horde.org > > > > Copying old configuration files... > > ../horde.org/kronolith/config/menu.php -> > /home/httpd/webmail/horde/kronolith/config/menu.php > > ../horde.org/kronolith/config/prefs.php -> > /home/httpd/webmail/horde/kronolith/config/prefs.php > > ../horde.org/kronolith/config/keywords.php -> > /home/httpd/webmail/horde/kronolith/config/keywords.php > > ../horde.org/kronolith/config/conf.php -> > /home/httpd/webmail/horde/kronolith/config/conf.php > > ../horde.org/config/hooks.php -> /home/httpd/webmail/horde/config/hooks.php > > ../horde.org/config/prefs.php -> /home/httpd/webmail/horde/config/prefs.php > > ../horde.org/config/conf.php -> /home/httpd/webmail/horde/config/conf.php > > ../horde.org/config/motd.php -> /home/httpd/webmail/horde/config/motd.php > > ../horde.org/config/mime_drivers.php -> > /home/httpd/webmail/horde/config/mime_drivers.php > > ../horde.org/config/nls.php -> /home/httpd/webmail/horde/config/nls.php > > ../horde.org/config/registry.php -> > /home/httpd/webmail/horde/config/registry.php > > ../horde.org/turba/config/menu.php -> > /home/httpd/webmail/horde/turba/config/menu.php > > ../horde.org/turba/config/attributes.php -> > /home/httpd/webmail/horde/turba/config/attributes.php > > ../horde.org/turba/config/prefs.php -> > /home/httpd/webmail/horde/turba/config/prefs.php > > ../horde.org/turba/config/conf.php -> > /home/httpd/webmail/horde/turba/config/conf.php > > ../horde.org/turba/config/mime_drivers.php -> > /home/httpd/webmail/horde/turba/config/mime_drivers.php > > ../horde.org/turba/config/sources.php -> > /home/httpd/webmail/horde/turba/config/sources.php > > ../horde.org/mnemo/config/prefs.php -> > /home/httpd/webmail/horde/mnemo/config/prefs.php > > ../horde.org/mnemo/config/conf.php -> > /home/httpd/webmail/horde/mnemo/config/conf.php > > ../horde.org/mimp/config/menu.php -> > /home/httpd/webmail/horde/mimp/config/menu.php > > ../horde.org/mimp/config/prefs.php -> > /home/httpd/webmail/horde/mimp/config/prefs.php > > ../horde.org/mimp/config/conf.php -> > /home/httpd/webmail/horde/mimp/config/conf.php > > ../horde.org/mimp/config/mime_drivers.php -> > /home/httpd/webmail/horde/mimp/config/mime_drivers.php > > ../horde.org/ingo/config/fields.php -> > /home/httpd/webmail/horde/ingo/config/fields.php > > ../horde.org/ingo/config/prefs.php -> > /home/httpd/webmail/horde/ingo/config/prefs.php > > ../horde.org/ingo/config/backends.php -> > /home/httpd/webmail/horde/ingo/config/backends.php > > ../horde.org/ingo/config/conf.php -> > /home/httpd/webmail/horde/ingo/config/conf.php > > ../horde.org/nag/config/menu.php -> > /home/httpd/webmail/horde/nag/config/menu.php > > ../horde.org/nag/config/prefs.php -> > /home/httpd/webmail/horde/nag/config/prefs.php > > ../horde.org/nag/config/conf.php -> > /home/httpd/webmail/horde/nag/config/conf.php > > ../horde.org/imp/config/menu.php -> > /home/httpd/webmail/horde/imp/config/menu.php > > ../horde.org/imp/config/prefs.php -> > /home/httpd/webmail/horde/imp/config/prefs.php > > ../horde.org/imp/config/servers.php -> > /home/httpd/webmail/horde/imp/config/servers.php > > ../horde.org/imp/config/conf.php -> > /home/httpd/webmail/horde/imp/config/conf.php > > ../horde.org/imp/config/motd.php -> > /home/httpd/webmail/horde/imp/config/motd.php > > ../horde.org/imp/config/mime_drivers.php -> > /home/httpd/webmail/horde/imp/config/mime_drivers.php > > ../horde.org/imp/config/header.php -> > /home/httpd/webmail/horde/imp/config/header.php > > > > Patching configuration files... > > imp/config/mime_drivers.php > > imp/config/prefs.php > > ingo/config/fields.php > > ingo/config/prefs.php > > kronolith/config/prefs.php > > mnemo/config/prefs.php > > nag/config/prefs.php > > config/mime_drivers.php > > config/nls.php > > config/prefs.php > > config/prefs.php > > config/registry.php > > config/registry.php > > turba/config/attributes.php > > turba/config/prefs.php > > turba/config/prefs.php > > turba/config/sources.php > > Done creating configuration files. > > > > Database superuser for updating the tables if necessary for your > database system: hwmdbuser > > > > Specify a password for the database user: ******* > > > > Warning: putenv(): Safe Mode warning: Cannot set environment variable > 'HORDE_DB_USER' - it's not in the allowed list in > /home/httpd/webmail/horde/scripts/setup.php on line 420 > > > > Warning: putenv(): Safe Mode warning: Cannot set environment variable > 'HORDE_DB_PASS' - it's not in the allowed list in > /home/httpd/webmail/horde/scripts/setup.php on line 421 > > > > Changing existing data after this point. Did you create backups of your old > > data, and are you sure that you want to continue? > > (y) Yes > > (n) No > > > > Type your choice: n > > > > Horde Groupware Webmail Edition Configuration Menu > > (0) Exit > > (1) Configure database settings > > (2) Create database or tables > > (3) Configure administrator settings > > (4) Update from an older Horde Groupware Webmail Edition version > > > > Type your choice: 0 > > > > Thank you for using Horde Groupware Webmail Edition! > > > > ------------------------ > > OK now the output when i allow the HORDE vars: > > > > > > [root@mist horde]# > > [root@mist horde]# php -n -d safe_mode_allowed_env_vars=HORDE_ > ./scripts/setup.php > > Horde Groupware Webmail Edition Configuration Menu > > (0) Exit > > (1) Configure database settings > > (2) Create database or tables > > (3) Configure administrator settings > > (4) Update from an older Horde Groupware Webmail Edition version > > > > Type your choice: 4 > > > > Specify the directory of the old Horde Groupware Webmail Edition > version that you would like to update: ../horde.org > > > > Copying old configuration files... > > ../horde.org/kronolith/config/menu.php -> > /home/httpd/webmail/horde/kronolith/config/menu.php > > ../horde.org/kronolith/config/prefs.php -> > /home/httpd/webmail/horde/kronolith/config/prefs.php > > ../horde.org/kronolith/config/keywords.php -> > /home/httpd/webmail/horde/kronolith/config/keywords.php > > ../horde.org/kronolith/config/conf.php -> > /home/httpd/webmail/horde/kronolith/config/conf.php > > ../horde.org/config/hooks.php -> /home/httpd/webmail/horde/config/hooks.php > > ../horde.org/config/prefs.php -> /home/httpd/webmail/horde/config/prefs.php > > ../horde.org/config/conf.php -> /home/httpd/webmail/horde/config/conf.php > > ../horde.org/config/motd.php -> /home/httpd/webmail/horde/config/motd.php > > ../horde.org/config/mime_drivers.php -> > /home/httpd/webmail/horde/config/mime_drivers.php > > ../horde.org/config/nls.php -> /home/httpd/webmail/horde/config/nls.php > > ../horde.org/config/registry.php -> > /home/httpd/webmail/horde/config/registry.php > > ../horde.org/turba/config/menu.php -> > /home/httpd/webmail/horde/turba/config/menu.php > > ../horde.org/turba/config/attributes.php -> > /home/httpd/webmail/horde/turba/config/attributes.php > > ../horde.org/turba/config/prefs.php -> > /home/httpd/webmail/horde/turba/config/prefs.php > > ../horde.org/turba/config/conf.php -> > /home/httpd/webmail/horde/turba/config/conf.php > > ../horde.org/turba/config/mime_drivers.php -> > /home/httpd/webmail/horde/turba/config/mime_drivers.php > > ../horde.org/turba/config/sources.php -> > /home/httpd/webmail/horde/turba/config/sources.php > > ../horde.org/mnemo/config/prefs.php -> > /home/httpd/webmail/horde/mnemo/config/prefs.php > > ../horde.org/mnemo/config/conf.php -> > /home/httpd/webmail/horde/mnemo/config/conf.php > > ../horde.org/mimp/config/menu.php -> > /home/httpd/webmail/horde/mimp/config/menu.php > > ../horde.org/mimp/config/prefs.php -> > /home/httpd/webmail/horde/mimp/config/prefs.php > > ../horde.org/mimp/config/conf.php -> > /home/httpd/webmail/horde/mimp/config/conf.php > > ../horde.org/mimp/config/mime_drivers.php -> > /home/httpd/webmail/horde/mimp/config/mime_drivers.php > > ../horde.org/ingo/config/fields.php -> > /home/httpd/webmail/horde/ingo/config/fields.php > > ../horde.org/ingo/config/prefs.php -> > /home/httpd/webmail/horde/ingo/config/prefs.php > > ../horde.org/ingo/config/backends.php -> > /home/httpd/webmail/horde/ingo/config/backends.php > > ../horde.org/ingo/config/conf.php -> > /home/httpd/webmail/horde/ingo/config/conf.php > > ../horde.org/nag/config/menu.php -> > /home/httpd/webmail/horde/nag/config/menu.php > > ../horde.org/nag/config/prefs.php -> > /home/httpd/webmail/horde/nag/config/prefs.php > > ../horde.org/nag/config/conf.php -> > /home/httpd/webmail/horde/nag/config/conf.php > > ../horde.org/imp/config/menu.php -> > /home/httpd/webmail/horde/imp/config/menu.php > > ../horde.org/imp/config/prefs.php -> > /home/httpd/webmail/horde/imp/config/prefs.php > > ../horde.org/imp/config/servers.php -> > /home/httpd/webmail/horde/imp/config/servers.php > > ../horde.org/imp/config/conf.php -> > /home/httpd/webmail/horde/imp/config/conf.php > > ../horde.org/imp/config/motd.php -> > /home/httpd/webmail/horde/imp/config/motd.php > > ../horde.org/imp/config/mime_drivers.php -> > /home/httpd/webmail/horde/imp/config/mime_drivers.php > > ../horde.org/imp/config/header.php -> > /home/httpd/webmail/horde/imp/config/header.php > > > > Patching configuration files... > > imp/config/mime_drivers.php > > imp/config/prefs.php > > ingo/config/fields.php > > ingo/config/prefs.php > > kronolith/config/prefs.php > > mnemo/config/prefs.php > > nag/config/prefs.php > > config/mime_drivers.php > > config/nls.php > > config/prefs.php > > config/prefs.php > > config/registry.php > > config/registry.php > > turba/config/attributes.php > > turba/config/prefs.php > > turba/config/prefs.php > > turba/config/sources.php > > Done creating configuration files. > > > > Database superuser for updating the tables if necessary for your > database system: hwmdbuser > > > > Specify a password for the database user: ******* > > > > Changing existing data after this point. Did you create backups of your old > > data, and are you sure that you want to continue? > > (y) Yes > > (n) No > > > > Type your choice: y > > > > Running pre-update scripts... > > /home/httpd/webmail/horde/turba/scripts/upgrades/2.1_to_2.2_sql_schema.php > > sh: /usr/local/php/bin/php: No such file or directory > > > > Horde Groupware Webmail Edition Configuration Menu > > (0) Exit > > (1) Configure database settings > > (2) Create database or tables > > (3) Configure administrator settings > > (4) Update from an older Horde Groupware Webmail Edition version > > > > Type your choice: > > > > ---- > > > > I found just one script with this path hardcoded: > > > > head -2 ./kronolith/scripts/migrate_to_sql_driver.php > > #!/usr/local/bin/php > > <?php > > > > > > > > Hope this helps > > > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers