Giter VIP home page Giter VIP logo

Comments (4)

DiouxX avatar DiouxX commented on August 16, 2024

Hello,

It is not necessary to upgrade GLPI image.
By default, during a new installation, it is the last version of GLPI which is downloaded.
Currently it is the version 10.0.14 (https://github.com/glpi-project/glpi/releases/).

For an existing installation, to update your GLPI, you must update it with the "classic" method as explained in this closed issue #61

from docker-glpi.

wedowhateverwewant avatar wedowhateverwewant commented on August 16, 2024

Hi,

So I did the update the way you mentioned and all is well, but im getting these errors when the docker compose file is running,

mariadb | 2024-03-12 17:15:49 52 [ERROR] Incorrect definition of table mysql.column_stats: expected column 'histogram' at position 10 to have type longblob, found type varbinary(255).
mariadb | 2024-03-12 17:15:49 52 [ERROR] Incorrect definition of table mysql.column_stats: expected column 'hist_type' at position 9 to have type enum('SINGLE_PREC_HB','DOUBLE_PREC_HB','JSON_HB'), found type enum('SINGLE_PREC_HB','DOUBLE_PREC_HB').
mariadb | 2024-03-12 17:15:49 52 [ERROR] Incorrect definition of table mysql.column_stats: expected column 'histogram' at position 10 to have type longblob, found type varbinary(255).
mariadb | 2024-03-12 17:15:49 52 [ERROR] Incorrect definition of table mysql.column_stats: expected column 'hist_type' at position 9 to have type enum('SINGLE_PREC_HB','DOUBLE_PREC_HB','JSON_HB'), found type enum('SINGLE_PREC_HB','DOUBLE_PREC_HB').
mariadb | 2024-03-12 17:15:49 52 [ERROR] Incorrect definition of table mysql.column_stats: expected column 'histogram' at position 10 to have type longblob, found type varbinary(255).
mariadb | 2024-03-12 17:15:49 52 [ERROR] Incorrect definition of table mysql.column_stats: expected column 'hist_type' at position 9 to have type enum('SINGLE_PREC_HB','DOUBLE_PREC_HB','JSON_HB'), found type enum('SINGLE_PREC_HB','DOUBLE_PREC_HB').
mariadb | 2024-03-12 17:15:49 52 [ERROR] Incorrect definition of table mysql.column_stats: expected column 'histogram' at position 10 to have type longblob, found type varbinary(255).

Any help is appreciated

from docker-glpi.

DiouxX avatar DiouxX commented on August 16, 2024

After upgrading to a newer version, you had no process to update the database schema via the web page ?

You can try to update the database manually : https://glpi-install.readthedocs.io/en/latest/command-line.html#update
Don't forget to backup the database before run any commands 😉

The problem would be more with glpi than with the Docker image.
It would be interesting to ask this question on the GLPI forum.

from docker-glpi.

wedowhateverwewant avatar wedowhateverwewant commented on August 16, 2024

passing the env variable MARIADB_AUTO_UPGRADE=1 in the mariadb.env seems to do the job, no more errors.

from docker-glpi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.