[horde] Data dir error after php upgrade
Simon Wilson
simon at simonandkate.net
Sun Jul 14 03:15:51 UTC 2019
Hi all,
I've upgraded php on a CentOS 6.10 server running Horde 5.2.21 from
5.4.45 to 5.6.40 (Remi) which appears to have gone OK. All pear and
pecl updates completed, and Horde / Imp etc all working as intended
using PHP 5.6.40. Progress! :)
Only one issue albeit without obvious impact:
- when going to Horde config page, I get "Database migration files not
found. Please check PEAR's data_dir configuration setting"
[root at emp06 pear-data]# pear config-get data_dir
/usr/share/pear-data
[root at emp06 pear-data]# sudo -u apache pear config-get data_dir
/usr/share/pear-data
[root at emp06 pear-data]# pear config-get -c horde data_dir
/usr/share/pear-data
[root at emp06 pear-data]# pwd; ll
/usr/share/pear-data
total 4
drwxr-xr-x 2 root root 4096 Jul 14 11:37 PEAR
All of the required Horde data appears to be located in /usr/share/pear/data/:
/usr/share/pear/data
total 244
drwxr-xr-x 3 root root 4096 Jan 29 2013 Cache
drwxr-xr-x 3 root root 4096 Jan 29 2013 Date_Holidays
drwxr-xr-x 2 root root 4096 Jan 29 2013 File_Fstab
drwxr-xr-x 3 root root 4096 Jan 29 2013 horde
drwxr-xr-x 4 root root 4096 Jan 29 2013 Horde_ActiveSync
drwxr-xr-x 4 root root 4096 Jan 29 2013 Horde_Alarm
{snip}
drwxr-xr-x 4 root root 4096 Jan 29 2013 Horde_Vfs
drwxr-xr-x 2 root root 4096 Apr 11 2018 HTTP2
drwxr-xr-x 2 root root 4096 Apr 8 2016 HTTP_Request2
drwxr-xr-x 2 root root 4096 Jan 29 2013 HTTP_WebDAV_Server
drwxr-xr-x 2 root root 4096 Jan 29 2013 MDB2
drwxr-xr-x 2 root root 4096 Feb 17 2013 Net_DNSBL
drwxr-xr-x 2 root root 4096 May 14 2015 Net_FTP
drwxr-xr-x 2 root root 4096 Apr 4 2014 Net_IMAP
drwxr-xr-x 3 root root 4096 Feb 17 2013 Services_Weather
drwxr-xr-x 3 root root 4096 Jan 29 2013 Text_Figlet
drwxr-xr-x 2 root root 4096 Apr 19 2017 Text_LanguageDetect
drwxr-xr-x 3 root root 4096 Jan 29 2013 turba
drwxr-xr-x 2 root root 4096 Aug 4 2018 XML_RPC2
drwxr-xr-x 2 root root 4096 Jan 29 2013 XML_SVG
Earlier list emails indicates a horde-db-migrate, however this appears
to complete without error, and nothing changes. Reinstalling a Horde
application from Pear (e.g. pear install -f
horde/Horde_Service_Weather) places a new folder in the new location.
What is the recommended way to correct this?
Simon.
--
Simon Wilson
M: 0400 12 11 16
More information about the horde
mailing list