Upgrades and the zm.conf file
Posted: Sat Feb 24, 2007 5:40 pm
Greetings all...
This would be a suggestion and an alert to newbies, like myself:
By following the README.txt upgrading from 1.22.1 to 1.22.3 i found a problem with the zmupdate.pl script.
After the "make install" a new /usr/local/etc/zm.conf is created and this do not respect my old one that has a different
ZM_DB_USER and ZM_DB_PASS than the default:
ZM_DB_USER=zmuser
ZM_DB_PASS=zmpass
This is because the zm.conf that is in the ZM source tree has a zm.conf with those defaults...
The catch is that even by doing this:
./scripts/zmupdate.pl -version=1.22.1 --user=xxxxxx --pass=yyyyyy
this info about user and pass is not being inserted in the new /usr/local/etc/zm.conf and by doing so, the upgrade process perl script fails to access the SQL database.
My suggestion is that the zmupdate.pl do not alter an existing /usr/local/etc/zm.conf if such is already existent.
This would be a suggestion and an alert to newbies, like myself:
By following the README.txt upgrading from 1.22.1 to 1.22.3 i found a problem with the zmupdate.pl script.
After the "make install" a new /usr/local/etc/zm.conf is created and this do not respect my old one that has a different
ZM_DB_USER and ZM_DB_PASS than the default:
ZM_DB_USER=zmuser
ZM_DB_PASS=zmpass
This is because the zm.conf that is in the ZM source tree has a zm.conf with those defaults...
The catch is that even by doing this:
./scripts/zmupdate.pl -version=1.22.1 --user=xxxxxx --pass=yyyyyy
this info about user and pass is not being inserted in the new /usr/local/etc/zm.conf and by doing so, the upgrade process perl script fails to access the SQL database.
My suggestion is that the zmupdate.pl do not alter an existing /usr/local/etc/zm.conf if such is already existent.