Bug#996655: updating database with dbconfig-no-thanks doesn't seem to work

2021-10-16 Thread David Mandelberg

Op 16-10-2021 om 19:13 schreef Guilhem Moulin:

On Sat, 16 Oct 2021 at 17:45:42 -0400, David Mandelberg via 
Pkg-roundcube-maintainers wrote:

$ sudo -u www-data /usr/share/roundcube/bin/update.sh
ERROR: Configuration error. Unsupported database driver:


I suppose the command doesn't have RCUBE_CONFIG_PATH=/etc/roundcube in
its environment.  Should work better when adding it.


That worked, thank you! (It would still be nice to have updatedb.sh in 
the package, but I can work with this.)


$ sudo -u www-data RCUBE_CONFIG_PATH=/etc/roundcube 
/usr/share/roundcube/bin/update.sh

What version are you upgrading from? Type '?' if you don't know.
?
Executing database schema update.
This instance of Roundcube is up-to-date.
Have fun!



Bug#996655: updating database with dbconfig-no-thanks doesn't seem to work

2021-10-16 Thread David Mandelberg

Package: roundcube-core
Version: 1.4.11+dfsg.1-4

I set up roundcube with dbconfig-no-thanks and a sqlite3 database, and 
the web interface is working. The script to update everything fails though:


$ sudo -u www-data /usr/share/roundcube/bin/update.sh
ERROR: Configuration error. Unsupported database driver:

I actually just want to upgrade the database schema though, not the 
config file. It looks like upstream has a script for that[0], but I 
don't see that file in the roundcube-core package.


 [0] 
https://github.com/roundcube/roundcubemail/blob/release-1.4/bin/updatedb.sh




Bug#996655: updating database with dbconfig-no-thanks doesn't seem to work

2021-10-16 Thread Guilhem Moulin
On Sat, 16 Oct 2021 at 17:45:42 -0400, David Mandelberg via 
Pkg-roundcube-maintainers wrote:
> $ sudo -u www-data /usr/share/roundcube/bin/update.sh
> ERROR: Configuration error. Unsupported database driver:

I suppose the command doesn't have RCUBE_CONFIG_PATH=/etc/roundcube in
its environment.  Should work better when adding it.

-- 
Guilhem.


signature.asc
Description: PGP signature