Bug 1305363 - prosody cannot find DBI module
Summary: prosody cannot find DBI module
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: prosody
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Robert Scheck
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-07 15:40 UTC by Illya
Modified: 2016-02-07 16:26 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-07 16:26:16 UTC
Type: Bug


Attachments (Terms of Use)
relevant part of prosody.log (1.39 KB, text/plain)
2016-02-07 15:40 UTC, Illya
no flags Details

Description Illya 2016-02-07 15:40:22 UTC
Created attachment 1121928 [details]
relevant part of prosody.log

Description of problem:
prosody configured with SQL-storage cannot connect to DB

Version-Release number of selected component (if applicable):
prosody.x86_64                      0.9.10-1.fc23 
lua.x86_64                          5.3.2-2.fc23
lua-dbi.x86_64                      0.5-13.fc23

How reproducible:
always 

Steps to Reproduce:
1. Install prosody
2. Configure it to use SQL (tested with postgresql)
3. Start server

Actual results:
Server starts, but storage driver falls back to "null"

DBI module is installed at /usr/share/lua/5.3/DBI.lua, but prosody tries to find it under /usr/share/lua/5.1/DBI.lua

Expected results:
Server uses configured DB as storage

Additional info:

Comment 1 Robert Scheck 2016-02-07 16:26:16 UTC
Prosody requires Lua 5.1 strictly, while lua-dbi is built against Lua 5.2 or
5.3. Please install lua-dbi-compat rather lua-dbi - then it should work.


Note You need to log in before you can comment on or make changes to this bug.