FS#37722 - [ejabberd] does not work with PostgreSQL anymore

Attached to Project: Community Packages
Opened by Malte Rabenseifner (Zearan) - Sunday, 10 November 2013, 19:44 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 14 November 2013, 09:56 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After the update to ejabberd-13.10-2 I cannot use PostgreSQL backend anymore. The required erlang application (PostgreSQL driver) is missing. This is normally provided by the package ejabberd-mod_pgsql-svn. But this package does not provide the required file (see log output below).


Additional info:

2013-11-10 20:18:42.171 [critical] <0.38.0>@ejabberd:exit_or_halt:124 failed to start application 'p1_pgsql': {error,
{"no such file or directory",
"p1_pgsql.app"}}

As written on http://www.ejabberd.im/ejabberd-modules there was a migration from SVN to GIT. New repository is https://github.com/processone/pgsql/tree/master/src and this contains the file p1_pgsql.app.


Steps to reproduce:
Install new version => PostgreSQL backend broken!
Revert to old version => All good!


==> This may affect ejabberd-mod_mysql-svn too!
This task depends upon

Closed by  Sergej Pupykin (sergej)
Thursday, 14 November 2013, 09:56 GMT
Reason for closing:  Fixed
Additional comments about closing:  ejabberd-mod_mysql-20131114-1-any.pkg.ta r.xz
ejabberd-mod_pgsql-20131114-1-any.pkg.ta r.xz
Comment by Sergej Pupykin (sergej) - Monday, 11 November 2013, 12:01 GMT
They migrated to git://github.com/processone/ejabberd-contrib.git
and there is no pgsql/mysql modules anymore.

Probably you should use odbc.

I removed them from community. I you find better solution, let me know.
Comment by Malte Rabenseifner (Zearan) - Wednesday, 13 November 2013, 19:08 GMT
I am using ODBC. Nevertheless you need the PostgreSQL or MySQL driver/module. They can be found in a seperate repo: https://github.com/processone/mysql and https://github.com/processone/pgsql. They are not in the ejabberd-contrib repo.

Loading...