Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

"update modern mariadb" removes MariaDB packages with no revert action; --revert then fails on roundcube

Abierto
#141 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
22/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
mariadb, python

Línea de trabajo

Start with the convert-phase action that runs rpm -e --nodeps on the MariaDB packages and see whether it defines any revert step. Then look at the --revert path that reinstalls Roundcube through plesk installer. The fix is a revert step that reinstalls the same MariaDB version and restores the .rpmsave configs before Roundcube runs; verify it by running --revert after a simulated failure.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Environment

  • cloudlinux7to8 v1.2.1
  • CloudLinux 7.9 (TuxCare ELS), Plesk Obsidian 18.0.81.3
  • MariaDB 10.5.26 from the upstream MariaDB repository (/etc/yum.repos.d/mariadb.repo present)

Describe the bug
In the convert phase, the "update modern mariadb" action removes the MariaDB packages (MariaDB-server, -client, -common, -compat, -shared) with rpm -e --nodeps, so they can be reinstalled from the el8 repository after the upgrade. Modified configuration files are saved as .rpmsave (/etc/my.cnf.rpmsave, /etc/my.cnf.d/server.cnf.rpmsave).

The conversion later failed in leapp preupgrade (unrelated reason). When running ./cloudlinux7to8 --revert, MariaDB was not reinstalled, because the action has no revert step. The revert then failed while reinstalling Roundcube:

ERROR while trying to detect MySQL service name
...
ERROR - Command ['/usr/sbin/plesk', 'installer', 'add', '--components', 'roundcube'] failed with return code 1
ERROR - Failed: re-installing roundcube plesk components.

The data directory /var/lib/mysql was intact, but the server was left without MariaDB installed and with default configuration once the packages were reinstalled.

Expected behavior
On revert, the action should reinstall the removed MariaDB packages (same version, from the same repository) and restore the original configuration files, before any step that needs the database (such as the Roundcube reinstall).

Workaround
Manually reinstall the same version (yum install MariaDB-server-10.5.26 MariaDB-client-10.5.26 ...), restore my.cnf and my.cnf.d/ from a backup, start MariaDB and run --revert again.

Lenguaje dominante
Python
Estrellas
7
Forks
5
Merge medio
11 min
PR fusionados (30 d)
1

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de plesk/cloudlinux7to8

Todos los issues de plesk/cloudlinux7to8

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.