Comments (4)
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.
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.
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.
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)
- PHP directive "session.cookie_httponly" and timezone on Asustor NAS HOT 5
- session.cookie_httponly is set to "on on" each time the container restarts, preventing apache from running
- Pre-impelment database parameters inside the container HOT 3
- Permissions denied on Air gap network HOT 5
- Automation LDAP Sync HOT 4
- PHP 7.4.0 - 8.3.0 (exclusive) required after update to latest image HOT 17
- Update HOT 1
- Could you implement instructions for change Safe path for data directories?
- Upgrade to php 8.x HOT 2
- Error PHP 7.4 HOT 4
- Issue GLPI 10.0.6 after update the image HOT 3
- Docker image HOT 1
- Use Azure Database for MariaDB server with diouxx/glpi HOT 3
- unable to keep /glpi/ HOT 2
- Deployment error problem
- Glpi crashed after update latest HOT 1
- Cannot make network discovery / missing command line tools HOT 1
- Stuck install.php HOT 1
- GLPI Docker Port Configuration HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-glpi.