Bug#1057849: [Pkg-roundcube-maintainers] Bug#1057849: roundcube-core: Can't open file /etc/roundcube/plugins/jqueryui/config.inc.php.dpkg-new

2023-12-11 Thread Daniel

Le 10/12/2023 à 19:56, Guilhem Moulin a écrit :

On Sun, 10 Dec 2023 at 19:05:05 +0100, Daniel Huhardeaux via 
Pkg-roundcube-maintainers wrote:

root@wwwmail11:/etc/roundcube# ls -l /etc/roundcube/plugins/jqueryui/
total 20
-rw-r--r-- 1 root root 1030 14 oct.  18:34 composer.json
-rw-r--r-- 1 root root  307 14 oct.  18:34 config.inc.php.dist
-rw-r--r-- 1 root root 5256 18 oct.  23:40 jqueryui.php
drwxr-xr-x 2 root root 4096 10 déc.  18:46 js
drwxr-xr-x 5 root root   46  6 nov.   2021 themes


It looks like you tried to manually install the plugin from composer.
1.4.15+dfsg.1-1~deb11u2, and AFAIK all versions since at least 1.1, ship
only

 /etc/roundcube/plugins/jqueryui/config.inc.php

Please try to move the content of /etc/roundcube/plugins/jqueryui/ to a
seperate location and try again.  You might also want to recreate
/etc/roundcube/plugins/jqueryui/config.inc.php:

 

I removed my jqueryui, create it again with included above 
config.inc.php file: now all is good, roundcube is updated.


Many thanks for your support, ticket can be closed
--
Daniel



Bug#1057849: [Pkg-roundcube-maintainers] Bug#1057849: roundcube-core: Can't open file /etc/roundcube/plugins/jqueryui/config.inc.php.dpkg-new

2023-12-10 Thread Guilhem Moulin
On Sun, 10 Dec 2023 at 19:05:05 +0100, Daniel Huhardeaux via 
Pkg-roundcube-maintainers wrote:
> root@wwwmail11:/etc/roundcube# ls -l /etc/roundcube/plugins/jqueryui/
> total 20
> -rw-r--r-- 1 root root 1030 14 oct.  18:34 composer.json
> -rw-r--r-- 1 root root  307 14 oct.  18:34 config.inc.php.dist
> -rw-r--r-- 1 root root 5256 18 oct.  23:40 jqueryui.php
> drwxr-xr-x 2 root root 4096 10 déc.  18:46 js
> drwxr-xr-x 5 root root   46  6 nov.   2021 themes

It looks like you tried to manually install the plugin from composer.
1.4.15+dfsg.1-1~deb11u2, and AFAIK all versions since at least 1.1, ship
only

/etc/roundcube/plugins/jqueryui/config.inc.php

Please try to move the content of /etc/roundcube/plugins/jqueryui/ to a
seperate location and try again.  You might also want to recreate
/etc/roundcube/plugins/jqueryui/config.inc.php:



signature.asc
Description: PGP signature


Bug#1057849: roundcube-core: Can't open file /etc/roundcube/plugins/jqueryui/config.inc.php.dpkg-new

2023-12-10 Thread Daniel Huhardeaux

Hi Guilhem,

at first, this server is updated since ages, the default.inc.php is 
dated from 05/2017


I copy my actual default.in.php in config.inc.php and the default one 
from roundcube-core_1.4.15+dfsg.1-1~ deb11u2_all.deb in place of mine, 
it change nothing


Output  you asked for:

root@wwwmail11:/etc/roundcube# readlink -e /etc/roundcube/plugins/jqueryui
/etc/roundcube/plugins/jqueryui
root@wwwmail11:/etc/roundcube# readlink -e /etc/roundcube/plugins/jqueryui/*
/etc/roundcube/plugins/jqueryui/composer.json
/etc/roundcube/plugins/jqueryui/config.inc.php.dist
/etc/roundcube/plugins/jqueryui/jqueryui.php
/etc/roundcube/plugins/jqueryui/js
/etc/roundcube/plugins/jqueryui/themes
root@wwwmail11:/etc/roundcube# ls -l /etc/roundcube/plugins/jqueryui/
total 20
-rw-r--r-- 1 root root 1030 14 oct.  18:34 composer.json
-rw-r--r-- 1 root root  307 14 oct.  18:34 config.inc.php.dist
-rw-r--r-- 1 root root 5256 18 oct.  23:40 jqueryui.php
drwxr-xr-x 2 root root 4096 10 déc.  18:46 js
drwxr-xr-x 5 root root   46  6 nov.   2021 themes

Thanks for your support

--
Daniel



Bug#1057849: roundcube-core: Can't open file /etc/roundcube/plugins/jqueryui/config.inc.php.dpkg-new

2023-12-09 Thread Guilhem Moulin
Control: tag -1 moreinfo unreproducible

Hi,

On Sat, 09 Dec 2023 at 16:37:58 +0100, tootai via Pkg-roundcube-maintainers 
wrote:
> -- Configuration Files:
> /etc/roundcube/defaults.inc.php changed:

Hmm I guess we shouldn't ship that file as a conffile, but since
1.4.1+dfsg.1-1 its header reads

WARNING: Do not edit this file! Copy configuration to config.inc.php.

Does replacing that file with the one shipped in the binary package (and
applying your local changes to /etc/roundcube/config.inc.php) help in
any way?  I wonder if the configuration migration logic takes into
accounts changes to defaults.inc.php.

That said, there is not much difference between 1.4.15+dfsg.1-1~deb11u1
and ~deb11u2, and nothing related to maintenance scripts or jqueryui.

Please provide the output of the following commands:

$ readlink -e /etc/roundcube/plugins/jqueryui
$ readlink -e /etc/roundcube/plugins/jqueryui/*
$ ls -l /etc/roundcube/plugins/jqueryui/

> // --
> // SQL DATABASE
> // --
> // Database connection string (DSN) for read+write operations
> // Format (compatible with PEAR MDB2): 
> db_provider://user:password@host/database
> // Currently supported db_providers: mysql, pgsql, sqlite, mssql or sqlsrv
> // For examples see 
> http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php
> // NOTE: for SQLite use absolute path: 
> 'sqlite:full/path/to/sqlite.db?mode=0646'
> $config['db_dsnw'] = 'mysql://roundcube:4aKs6sT@localhost/roundcube';

If that's really your production password you'll probably want to change
it.

-- 
Guilhem.


signature.asc
Description: PGP signature


Bug#1057849: roundcube-core: Can't open file /etc/roundcube/plugins/jqueryui/config.inc.php.dpkg-new

2023-12-09 Thread tootai
Package: roundcube
Version: 1.4.15+dfsg.1-1~deb11u1
Severity: normal

Dear Maintainer,

during last upgrade of Debian11 I face the following error while upgrading 
round-cube:

dh@wwwmail11:~/debs$ sudo apt update
Réception de :1 http://ftp.debian.org/debian bullseye-backports InRelease [49,0 
kB]
Atteint :3 http://security.debian.org bullseye-security InRelease   
   
Atteint :4 http://nginx.org/packages/debian bullseye InRelease  
   
Atteint :2 http://deb.debian.org/debian bullseye InRelease  
   
Réception de :5 http://deb.debian.org/debian bullseye-updates InRelease [44,1 
kB]
93,0 ko réceptionnés en 0s (229 ko/s)
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait  
1 paquet peut être mis à jour. Exécutez « apt list --upgradable » pour le voir.

dh@wwwmail11:~/debs$ sudo apt upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait  
Vous pouvez lancer « apt --fix-broken install » pour corriger ces problèmes.
Les paquets suivants contiennent des dépendances non satisfaites :
 roundcube : Dépend: roundcube-core (= 1.4.15+dfsg.1-1~deb11u2) mais 
1.4.15+dfsg.1-1~deb11u1 est installé
 roundcube-core : Dépend: roundcube-mysql (= 1.4.15+dfsg.1-1~deb11u1) mais 
1.4.15+dfsg.1-1~deb11u2 est installé ou
   roundcube-sqlite3 (= 1.4.15+dfsg.1-1~deb11u1) mais 
il n'est pas installé ou
   roundcube-pgsql (= 1.4.15+dfsg.1-1~deb11u1) mais il 
n'est pas installé
E: Dépendances non satisfaites. Essayez « apt --fix-broken install » sans paquet

dh@wwwmail11:~/debs$ sudo apt --fix-broken install
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait  
Correction des dépendances... Fait
Les paquets supplémentaires suivants seront installés : 
  roundcube-core
Paquets suggérés :
  roundcube-plugins php-net-ldap3 php-crypt-gpg php-mkopinsky-zxcvbn-php
Les paquets suivants seront mis à jour :
  roundcube-core
1 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
2 partiellement installés ou enlevés.
Il est nécessaire de prendre 0 o/4 318 ko dans les archives.
Après cette opération, 2 048 o d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n] 
Lecture des fichiers de modifications (« changelog »)... Terminé
Préconfiguration des paquets...
Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
(Lecture de la base de données... 87315 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de 
.../roundcube-core_1.4.15+dfsg.1-1~deb11u2_all.deb ...
Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
Dépaquetage de roundcube-core (1.4.15+dfsg.1-1~deb11u2) sur 
(1.4.15+dfsg.1-1~deb11u1) ...
dpkg: erreur de traitement de l'archive 
/var/cache/apt/archives/roundcube-core_1.4.15+dfsg.1-1~deb11u2_all.deb 
(--unpack) :
 impossible d'ouvrir « /etc/roundcube/plugins/jqueryui/config.inc.php.dpkg-new 
»: Aucun fichier ou dossier de ce type
Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
dbconfig-common: flushing administrative password
Des erreurs ont été rencontrées pendant l'exécution :
 /var/cache/apt/archives/roundcube-core_1.4.15+dfsg.1-1~deb11u2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Removing is not possible as well as new upgrades.

Thanks for your suggestions

-- System Information:
Debian Release: 11.8
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 
'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-26-amd64 (SMP w/2 CPU threads)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to fr_FR.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages roundcube-core depends on:
ii  dbconfig-common   2.0.19
ii  debconf [debconf-2.0] 1.5.77
ii  dpkg  1.20.13
ii  libapache2-mod-php2:7.4+76
ii  libapache2-mod-php7.4 [libapache2-mo  7.4.33-1+deb11u4
ii  libjs-bootstrap4  4.5.2+dfsg1-8~deb11u1
ii  libjs-codemirror  5.59.2+~cs0.23.109-1
ii  libjs-jquery  3.5.1+dfsg+~3.5.5-7
ii  libjs-jquery-minicolors   2.2.6+dfsg-4
ii  libjs-jquery-ui   1.12.1+dfsg-8+deb11u1
ii  libjs-jstimezonedetect1.0.6-5
ii  libmagic1 1:5.39-3+deb11u1
ii  php-auth-sasl