[Pkg-roundcube-maintainers] Roundcube over Postgres on Debian 11.

Kaz Kylheku kaz at kylheku.com
Mon Mar 7 22:17:10 GMT 2022


Hi,

I'm trying to install Roundcube on Debian 11, using Postgres, running 
into various issues.

I installed the package roundcube-pgsql. That didn't install postgres as 
a dependency,
so I installed that also. After that roundcube-core.

Are there some instructions somewhere on how to do this correctly?

So far I had to do things like:

- Add /sbin to PATH: otherwise the package configuration wasn't able to 
execute runuser.

- Fiddle with the group ownership and permissions of 
/etc/ssl/private/ssl-cert-snakeoil.key
   to get the postgresql server to run.

dpkg-reconfigure roundcube-core is still failing with an error:

   An error occurred while installing the database:

   runuser: options --{shell,fast,command,session-command,login} and 
--user are mutually exclusive .

There is nothing in the roundcube database as a result:

# pg_dump -U postgres roundcube
--
-- PostgreSQL database dump
--

-- Dumped from database version 13.5 (Debian 13.5-0+deb11u1)
-- Dumped by pg_dump version 13.5 (Debian 13.5-0+deb11u1)

SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;

How do I debug this?








More information about the Pkg-roundcube-maintainers mailing list