Am 11.11.2012 20:23, schrieb Arne Berglund:
On 11/11/12 01:15, Martin Wodrich wrote:
I just updated our Roundcube-Stable Installation from 0.8.2 to 0.8.3 via ./bin/installto.sh and found 3 not so good thing in the main.inc.php.
- The Config-Line for the Useragent:
The old line was: $rcmail_config['useragent'] = 'Roundcube Webmail/'.RCMAIL_VERSION;
installto.sh sets it to:
$rcmail_config['useragent'] = 'Roundcube Webmail/0.8.3';
- Config-Lines from plugins that must be configure in the main.inc.php
are lost. Here it is the plugin show_additional_headers and the line $rcmail_config['show_additional_headers'] = array('Content-Type', 'Content-Transfer-Encoding', 'User-Agent', 'Mailer', 'X-Mailer', 'X-Newsreader', 'X-Posting-Agent', 'X-Http-User-Agent', 'X-MimeOLE');
- All user defined comments in the config are lost.
Issues like these are some of the reason I never update an existing installation, but always install fresh each time. I typically use a copy of the database for major version changes (0.7.x -> 0.8), but not for incrementals. I'll also do a diff on the main.inc.php.dist from the existing to the new version - if there are no diffs, I'll simply copy the previous main.inc.php to the new, otherwise I'll verify the changes and re-config as needed.
issues like this are the reason to use a package manager it is quite easy to build a RPM fpr roundcube and the update from 0.8 to 0.9 is painless including switch back to the classic theme instead the overloaded new one which is the only needed config change