Skip to content

Database migration error when upgrading from 1.21.15 to 1.21.19 #922

@Stufo76

Description

@Stufo76

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

GLPI Version

10.0.17

Plugin version

1.21.15

Bug description

I'm encountering a database migration error when upgrading the Fields plugin from version 1.21.15 to 1.21.19 on my GLPI installation.

Relevant log output

glpi_plugin_fields_glpisocketassistenzas - Error during database query:
ALTER TABLE `glpi_plugin_fields_glpisocketassistenzas` 
ADD `is_recursive` TINYINT NOT NULL DEFAULT '0' AFTER `entities_id`,
ADD INDEX `is_recursive` (`is_recursive`)

Page URL

No response

Steps To reproduce

  1. Installed version 1.21.15 of the plugin.
  2. Attempted to upgrade to 1.21.19 via the GLPI web interface.
  3. The upgrade fails with the above SQL error.

Your GLPI setup information

GLPI version: 10.0.17
PHP version: 8.2.26
Database version: mysql Ver 15.1 Distrib 10.11.6-MariaDB
OS: Debian 12.9

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions