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 2022-12-21 17:20:41

stephane2603
Member
Registered: 2022-12-19
Posts: 5

Display problem after 10.0.5 migration

Ubuntu 20.04.5 LTS
Apache/2.4.41 (Ubuntu)
PHP 7.4.3
GLPI 9.5.6

When I follow the recommendations to update my version of GLPI to version 10.0.5 I get the following display problem:
displayerror

Everything is going well during the update, I don't have any error messages when updating the database. Just this display issue after the migration is complete.

When I reproduce the migration from version 9.5.6 to 10.0.5 on a VM everything goes well and the display is good.

Please let me know if you need any other information to help me resolve this issue.

Thank you so much.

Offline

#2 2022-12-23 04:49:37

Julien.Garrido
Member
Registered: 2019-12-23
Posts: 97

Re: Display problem after 10.0.5 migration

Do you happen to use any kind of CSS?

Offline

#3 2022-12-23 12:53:33

stephane2603
Member
Registered: 2022-12-19
Posts: 5

Re: Display problem after 10.0.5 migration

Seeing this display I actually thought of CSS but during the migration I copy and replace all my old folders (including the css folder) so all the folders are overwritten. My CSS settings therefore no longer exist normally. I'm going to focus my research on CSS...

Offline

#4 2022-12-27 12:02:36

sim72
Member
Registered: 2022-11-18
Posts: 8

Re: Display problem after 10.0.5 migration

Open developer console. Maybe the path to .css files is wrong.

Offline

#5 2022-12-29 11:48:58

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

Re: Display problem after 10.0.5 migration

Maybe try deleting all files that start with _ in the name (but don't delete _default!). Or don't delete it, just move it somewhere else. Check if it helped.

/var/www/html/glpi/css/palettes/


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

Offline

#6 2023-01-03 12:58:17

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

Re: Display problem after 10.0.5 migration

For future upgrades, copy and replacing files is not recommended as it leaves old files behind. Instead, the old GLPI folder should be renamed and then only specific files/folders should be copied to the new GLPI folder. In this case, it probably left all the old palettes since the new ones no longer have an underscore at the start of their names. The issue with the palettes specifically is that the compiler being used recognizes both files (with and without the underscore) as the exact same thing and doesn't know which to use so it gives up.

For the recommended update procedure, please refer to the installation/update documentation:
https://glpi-install.readthedocs.io/en/ … pdate.html


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

#7 2023-01-04 18:09:11

stephane2603
Member
Registered: 2022-12-19
Posts: 5

Re: Display problem after 10.0.5 migration

Thank you for your answers. I will try these different things in the next few days and I will come back to let you know.
Happy new year wink

Offline

#8 2023-01-16 18:55:30

stephane2603
Member
Registered: 2022-12-19
Posts: 5

Re: Display problem after 10.0.5 migration

Hello
There was a problem with my palette. I changed my palette and the display is correct now
Thanks for your help

Offline

#9 2023-03-04 16:31:50

chris_86
Member
Registered: 2023-03-04
Posts: 2

Re: Display problem after 10.0.5 migration

hi dude, can you explain how did you resolve? I have the same problem with all versions, I download the new version and update, but I always have the problem of the CSS not loading the graphics,I am desperate


before you ask me I have already proceeded with the permits

sudo chown -R www-data:www-data /var/www/html/servicedesk/*
sudo chmod -R 755 /var/www/html/servicedesk/*

Offline

#10 2023-03-06 17:44:44

stephane2603
Member
Registered: 2022-12-19
Posts: 5

Re: Display problem after 10.0.5 migration

Hi !
On version 9.5 I had created a palette that I named "mycompany.scss" with my company theme (located in glpi/css/palettes).
When I did all updates and migration to GLPI 10 I did the following actions :

- I renamed the "mycompany.scss" palette to "mycompany-OLD.scss".
- I renamed the "darker.scss" palette to "mycompany.scss"

Then when I logged in, the "darker.scss" palette was used, but under the name "mycompany.scss".
I then modified this palette with my company theme.
I hope these explanations can help you solve your problem.

Offline

#11 2023-03-06 18:03:35

chris_86
Member
Registered: 2023-03-04
Posts: 2

Re: Display problem after 10.0.5 migration

I solved by installing GLPI 10 from 0 and then manually deleting the tables in the db and importing the old ones

Last edited by chris_86 (2023-03-06 18:03:47)

Offline

Board footer

Powered by FluxBB