Bug 995870
Summary: | Zarafa does not (yet?) support MariaDB | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Torbjorn Jansson <torbjorn> | ||||||
Component: | zarafa | Assignee: | Robert Scheck <redhat-bugzilla> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 19 | CC: | jlind, redhat-bugzilla, torbjorn, vanmeeuwen+fedora | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | zarafa-7.1.10-2.fc19 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2014-07-28 03:24:37 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Torbjorn Jansson
2013-08-11 16:57:33 UTC
Please try and rate the new packages in updates-testing. Thank you! did a little bit of testing. all zarafa packages installed ok from the upates-testing repo and also webaccess apache config appears to have been fixed to work with latest apache (fc18 version of zarafa results in access denied on the webaccess due to missing permission option in the config file) but zarafa-webaccess still have some issues. output from http://localhost/webaccess --- Directory Error: TMP_PATH doesn't exists Please make sure this directory exists and is writable for PHP/Apache Zarafa WebAccess can't start because of incompatible configuration. Please correct above errors, a good start is by checking your '/etc/php.ini' file. Or if you wish, you can disable this config check by editing the file '/usr/share/zarafa-webaccess/config.php', but this is not recommend. --- TMP_PATH appears to come from /etc/zarafa/webaccess/config.php and it points to /var/lib/zarafa-webaccess/tmp folder appears to exist and apache error log shows: --- PHP Warning: include(config.php): failed to open stream: Permission denied in /usr/share/zarafa-webaccess/index.php on line 63 PHP Warning: include(): Failed opening 'config.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/zarafa-webaccess/index.php on line 63 PHP Notice: Use of undefined constant COOKIE_NAME - assumed 'COOKIE_NAME' in /usr/share/zarafa-webaccess/index.php on line 82 PHP Notice: Use of undefined constant TMP_PATH - assumed 'TMP_PATH' in /usr/share/zarafa-webaccess/server/class.configcheck.php on line 91 --- I wonder why /usr/share/zarafa-webaccess/index.php can not include config.php as this is the main issue (and causes all the other errors). Can you re-check the permissions on /etc/zarafa and /etc/zarafa/webaccess? It also could be a SELinux thing, thus try permissive for a moment. selinux was already off when i tested it. i restarted the computer and now i get to the logon page of zarafa webaccess. perhaps i forgot to restart httpd or something on the first try. after creating a user with zarafa-admin i try to logon via webaccess. logon accepts account and starts to show the webaccess interface but everything is empty (no folders or mails) and all i get is a spinning circle that it is doing something. /var/log/zarafa/server.log is filling up with sql errors similar to this: Mon Aug 12 19:36:08 2013: SQL [00000014] result failed: BIGINT UNSIGNED value is out of range in '(`zarafa`.`properties`.`tag` - 0x8501)', Query: "SELECT 0,properties.tag,properties.type,properties.val_ulong,properties.val_string,properties.val_binary,properties.val_double,properties.val_longint,properties.val_hi,properties.val_lo, hierarchyid, names.nameid, names.namestring, names.guid FROM properties FORCE INDEX (PRIMARY) LEFT JOIN names ON (properties.tag-0x8501)=names.id WHERE hierarchyid=5 AND (tag <= 0x8500 OR names.id IS NOT NULL)" this type of error showed up right after the first start of zarafa-server, after it said "Database is created" in the log Created attachment 785843 [details]
zarafa-7.1.4-mariadb-tag-not-unsigned.patch
Untested patch suggested by others in the Zarafa community
Anyone upgrading to Fedora 19 should be aware: I found following information on Features/ReplaceMySQLwithMariaDB * "exclude=mariadb*" should be used during the upgrade from F18 to F19. Then it should be removed * If you really need to install community-mysql client library and/or devel files (packaged as community-mysql-libs, community-mysql-devel) instead of mariadb packages, note that you will have to keep mariadb-libs (which is the only package that doesn't conflict with community-mysql) to be able to use packages depending on mariadb client packages. mariadb-libs have to be installed, although you are using community-mysql*. The soon upcoming Zarafa 7.1.6 will have changed dependencies till Zarafa is somewhen supporting MariaDB. Pushing out Zarafa 7.1.5 nevertheless is more to address the completely broken stuff from 7.0.x times. Created attachment 838035 [details]
zarafa-7.1.5-sql_mode.patch
This patch looks more promising, however there is still no upstream decision
or fix so far.
Upstream ticket: https://jira.zarafa.com/browse/ZCP-11934 zarafa-7.1.10-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/FEDORA-2014-7896/zarafa-7.1.10-1.fc20 zarafa-7.1.10-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/FEDORA-2014-7889/zarafa-7.1.10-1.fc19 zarafa-7.1.10-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-1782/zarafa-7.1.10-1.el6 zarafa-7.1.10-1.el5, php53-mapi-7.1.10-1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-1780/zarafa-7.1.10-1.el5,php53-mapi-7.1.10-1.el5 In theory, Zarafa 7.1.10 should add support for MariaDB. Practically it does unfortunately not. The result with MariaDB 5.5.38 with a simple MAPI login via e.g. WebAccess: Jul 10 23:40:40 tux zarafa-server[24633]: SQL [00000002] result failed: BIGINT UNSIGNED value is out of range in '(`zarafa`.`properties`.`tag` - 0x8501)', Query: "SELECT 0,properties.tag,properties.type,properties.val_ulong,properties.val_string,properties.val_binary,properties.val_double,properties.val_longint,properties.val_hi,properties.val_lo, hierarchyid, names.nameid, names.namestring, names.guid FROM properties FORCE INDEX (PRIMARY) LEFT JOIN names ON (properties.tag-0x8501)=names.id WHERE hierarchyid=3 AND (tag <= 0x8500 OR names.id IS NOT NULL)" Jul 10 23:40:40 tux zarafa-server[24633]: SQL [00000004] result failed: BIGINT UNSIGNED value is out of range in '(`zarafa`.`properties`.`tag` - 0x8501)', Query: "SELECT 0,properties.tag,properties.type,properties.val_ulong,properties.val_string,properties.val_binary,properties.val_double,properties.val_longint,properties.val_hi,properties.val_lo, hierarchyid, names.nameid, names.namestring, names.guid FROM properties FORCE INDEX (PRIMARY) LEFT JOIN names ON (properties.tag-0x8501)=names.id WHERE hierarchyid=4 AND (tag <= 0x8500 OR names.id IS NOT NULL)" Jul 10 23:40:40 tux zarafa-server[24633]: SQL [00000006] result failed: BIGINT UNSIGNED value is out of range in '(`zarafa`.`properties`.`tag` - 0x8501)', Query: "SELECT 0,properties.tag,properties.type,properties.val_ulong,properties.val_string,properties.val_binary,properties.val_double,properties.val_longint,properties.val_hi,properties.val_lo, hierarchyid, names.nameid, names.namestring, names.guid FROM properties FORCE INDEX (PRIMARY) LEFT JOIN names ON (properties.tag-0x8501)=names.id WHERE hierarchyid=4 AND (tag <= 0x8500 OR names.id IS NOT NULL)" Package zarafa-7.1.10-2.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing zarafa-7.1.10-2.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-7896/zarafa-7.1.10-2.fc20 then log in and leave karma (feedback). zarafa-7.1.10-2.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. zarafa-7.1.10-2.el5, php53-mapi-7.1.10-2.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. zarafa-7.1.10-2.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. zarafa-7.1.10-2.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |