You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2024-06-03 14:07:16

master-pfe
Member
Registered: 2024-04-28
Posts: 13

Stuck at Database Initialization GLPI 10.0.15 Installation Ubuntu22.04

Hello everyone,

I'm encountering an issue while installing GLPI 10.0.15 on a remote server running Ubuntu 22.04. The installation succeeds on my local machine, but it gets stuck at the database initialization step on the remote server.
Installation Details:

    GLPI Version: 10.0.15
    Server OS: Ubuntu 22.04
    Database: MySQL 8
    Web Server: Apache2
    PHP Version: 8.1

Issue Encountered:

After passing the prerequisite check (where everything is green), the installation remains stuck at step 3 "Database Initialization" for over 20 minutes. Refreshing the browser page yields the following message: "Error accessing config table"

MySQL Configuration:
    CREATE DATABASE glpidb;
    CREATE USER 'glpiuser'@'%' IDENTIFIED BY 'glpi123';
    GRANT ALL PRIVILEGES ON glpidb.* TO 'glpiuser'@'%';
    FLUSH PRIVILEGES;

I have tried deleting and recreating the database, but the issue persists.
Successful Local Installation:

I successfully completed the installation on my local machine running Ubuntu 22.04 without any issues. The problem occurs only when attempting to install on the remote server.

    -Has anyone encountered this problem and found a solution?
    -Are there any additional steps I should try to diagnose or resolve this issue?

Thank you in advance for your help and suggestions.

Best regards,

Last edited by master-pfe (2024-06-03 14:11:43)

Offline

#2 2024-06-04 11:20:49

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,809
Website

Re: Stuck at Database Initialization GLPI 10.0.15 Installation Ubuntu22.04

Please check your GLPI logs (files/_log folder by default). There may have been an error logged there during the installation.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2024-06-08 13:57:30

master-pfe
Member
Registered: 2024-04-28
Posts: 13

Re: Stuck at Database Initialization GLPI 10.0.15 Installation Ubuntu22.04

Hello ,

I found a solution. You need to modify the max_execution_time setting in the php.ini file. Here's how you can do it:

    Open the php.ini file:
       sudo nano /etc/php/[Version]/apache2/php.ini

    Find the max_execution_time directive and change its value to 10000:
       max_execution_time = 10000

    Save the file and restart Apache:
       sudo systemctl restart apache

Please note that the initialization process might take more than 30 or even 60 minutes. Be patient and let it complete.

Last edited by master-pfe (2024-06-08 14:01:58)

Offline

Board footer

Powered by FluxBB