{"action":"created","issue":{"url":"https://api.github.com/repos/processone/ejabberd/issues/703","labels_url":"https://api.github.com/repos/processone/ejabberd/issues/703/labels{/name}","comments_url":"https://api.github.com/repos/processone/ejabberd/issues/703/comments","events_url":"https://api.github.com/repos/processone/ejabberd/issues/703/events","html_url":"https://github.com/processone/ejabberd/issues/703","id":100556968,"number":703,"title":"mod_mam (Message Archive Management, XEP-0313) doesnt work correctly","user":{"login":"Myppomeu","id":2457778,"avatar_url":"https://avatars.githubusercontent.com/u/2457778?v=3","gravatar_id":"","url":"https://api.github.com/users/Myppomeu","html_url":"https://github.com/Myppomeu","followers_url":"https://api.github.com/users/Myppomeu/followers","following_url":"https://api.github.com/users/Myppomeu/following{/other_user}","gists_url":"https://api.github.com/users/Myppomeu/gists{/gist_id}","starred_url":"https://api.github.com/users/Myppomeu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Myppomeu/subscriptions","organizations_url":"https://api.github.com/users/Myppomeu/orgs","repos_url":"https://api.github.com/users/Myppomeu/repos","events_url":"https://api.github.com/users/Myppomeu/events{/privacy}","received_events_url":"https://api.github.com/users/Myppomeu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":33,"created_at":"2015-08-12T14:33:36Z","updated_at":"2015-09-14T11:41:00Z","closed_at":null,"body":"Debian 8 x64, Ejabberd 15.07, MySQL 5.6.25-3. Clean install.\r\nMysql base structure imported from this file:\r\n[https://github.com/processone/ejabberd/blob/master/sql/mysql.sql](https://github.com/processone/ejabberd/blob/master/sql/mysql.sql)\r\nwith mysql -D ejabberd -h localhost -p -u ejabberd < ./mysql.sql (no errors appears).\r\n```\r\n# cat /opt/ejabberd-15.07/conf/ejabberd.yml\r\n...\r\nauth_method: internal\r\n...\r\nodbc_type: mysql\r\nodbc_server: \"localhost\"\r\nodbc_port: 3306\r\nodbc_database: \"ejabberd\"\r\nodbc_username: \"ejabberd\"\r\nodbc_password: \"PASSWORD\"\r\n...\r\nmod_mam:\r\n    default: always\r\n    db_type: odbc\r\n...\r\n```\r\nClients:\r\n1. Ilia\r\na. Gajim 0.16.3 on Debian 8 x64\r\nb. Conversations 1.5.2 on Android 4.1.2\r\n2. Psi\r\na. Gajim 0.16.3 on Debian 8 x64\r\n\r\nMessages correctly writes in database in archive table (I can see them through phpmyadmin, for example). No new errors in /opt/ejabberd-15.07/logs/error.log appears.\r\nBut clients (Gajim and Conversations) dont receive messages from database. Tried to clean all Gajim profile folders and create new profile - same result.\r\nSame result if I choose to store messages in mnesia database.\r\nMod_mam_mnesia from contrib works, but I'd like to use official module.\r\n\r\nI can give you log (with loglevel 5) from starting ejabberd to stopping it."},"comment":{"url":"https://api.github.com/repos/processone/ejabberd/issues/comments/140046374","html_url":"https://github.com/processone/ejabberd/issues/703#issuecomment-140046374","issue_url":"https://api.github.com/repos/processone/ejabberd/issues/703","id":140046374,"user":{"login":"alexpetroaica","id":2736944,"avatar_url":"https://avatars.githubusercontent.com/u/2736944?v=3","gravatar_id":"","url":"https://api.github.com/users/alexpetroaica","html_url":"https://github.com/alexpetroaica","followers_url":"https://api.github.com/users/alexpetroaica/followers","following_url":"https://api.github.com/users/alexpetroaica/following{/other_user}","gists_url":"https://api.github.com/users/alexpetroaica/gists{/gist_id}","starred_url":"https://api.github.com/users/alexpetroaica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexpetroaica/subscriptions","organizations_url":"https://api.github.com/users/alexpetroaica/orgs","repos_url":"https://api.github.com/users/alexpetroaica/repos","events_url":"https://api.github.com/users/alexpetroaica/events{/privacy}","received_events_url":"https://api.github.com/users/alexpetroaica/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T11:41:00Z","updated_at":"2015-09-14T11:41:00Z","body":"Will this be released in the next version of ejabberd?"}}