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 2023-07-11 14:30:01

karanik
Member
Registered: 2023-07-11
Posts: 2

Upgrade issue on 10.0.x from 9.5

Hello

I had installed GLPI version 9.5 on Debian 11.
I upgraded this to Debian 12 and GLPI from 9.5 to 10.0.7 and 0.8 and again today to 10.0.9

PHP 8.2.7

Now GLPI running like that
JZ5SMMi.png

What do you suggest?

More infromation on below screenshots.
Migration
cs48joD.png

ThlP2rr.png

ad5tDku.png

10.0.8
TXxMHnI.png
10.0.9
jNUkxiP.png

Status
O4S3Yti.png

Logs
2ad6CQ6.png

Last edited by karanik (2023-07-11 14:30:56)

Offline

#2 2023-07-12 11:56:59

cedric-anne
Administrator
Registered: 2018-07-02
Posts: 85

Re: Upgrade issue on 10.0.x from 9.5

Hi,

The problem probably came from the usage of `sudo` when you call GLPI console. It may create directories/files with root ownership, and these directories/files will probably be not writable by your webserver user. You should probably execute something like `sudo chown -R www-data:www-data /var/www/html`.

Also, you should check content of the `files/_log/php-errors.log`. It probably contains some error traces that could help you to understand the issue.

Offline

#3 2023-07-12 12:45:17

karanik
Member
Registered: 2023-07-11
Posts: 2

Re: Upgrade issue on 10.0.x from 9.5

Hi cedric-anne

After all commands I fix  file permissions by using the commands.

sudo chown -R www-data:www-data /var/www/html/
sudo find /var/www/html/ -type d -exec chmod 755 {} \;
sudo find /var/www/html/ -type f -exec chmod 644 {} \;
or
sudo chmod -R 777 /var/www/html/glpi/files/
sudo chmod -R 775 /var/www/html/glpi

This not resolving the issue.
I noticed that the css and the theme is correctly until load my existing database. I think if I will create a new db all in web interface will be ok. But I need all my old informations/hosts/rack etc.

Also the "files/_log/php-errors.log" is on my screenshots. But I have only notice (not warning) and I don't know what is this the "php user deprecated"

Last edited by karanik (2023-07-12 12:54:58)

Offline

#4 2023-07-12 13:46:58

WebGreg
Member
Registered: 2020-02-27
Posts: 740

Re: Upgrade issue on 10.0.x from 9.5


--
GLPI 10.0.17
GLPI-Inventory 1.4.0
Ubuntu Server 20.04 LTS

Offline

Board footer

Powered by FluxBB