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 2018-05-24 18:56:31

techdreamer
Member
Registered: 2018-05-24
Posts: 12

[resolved] No interface is displayed after successful login

after login this is what's displayed:

Capture123123.png

I'm using an admin level account. this has worked in the past and I'm not really sure what changed. I have tried looking this situation up, but it seems to be too vague for a proper solution to be found. the behaviour is replicated regardless of browser (I tried Google Chrome, Mozilla Firefox and Edge).

Last edited by techdreamer (2018-05-25 19:43:03)

Offline

#2 2018-05-25 10:19:59

KKAdmin
Member
From: Germany
Registered: 2010-03-05
Posts: 959

Re: [resolved] No interface is displayed after successful login


You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.3.3

Offline

#3 2018-05-25 11:27:52

techdreamer
Member
Registered: 2018-05-24
Posts: 12

Re: [resolved] No interface is displayed after successful login

Thank you for your reply, I have seen that post already and checked that everything on the list is installed. Sadly, the issue persists. it's also slightly different, as I don't receive any error, my login is accepted, it just doesn't load the interface.

I've seen a screenshot of a self test in someone's post, but I don't know how to run it/access it.

Offline

#4 2018-05-25 12:15:18

KKAdmin
Member
From: Germany
Registered: 2010-03-05
Posts: 959

Re: [resolved] No interface is displayed after successful login

Do you have this problem with all logins or only ldap or only one ?
Did you check the logs ?


You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.3.3

Offline

#5 2018-05-25 12:48:29

techdreamer
Member
Registered: 2018-05-24
Posts: 12

Re: [resolved] No interface is displayed after successful login

- there are only local users, no LDAP integration;
- tried with both admin accounts, other users are not permitted to login; both logins have the same output;
- there are no addons/plugins;
- this is only used as a manual inventory system for now;

where do I find the logs and what should I be looking for?

Offline

#6 2018-05-25 13:07:22

KKAdmin
Member
From: Germany
Registered: 2010-03-05
Posts: 959

Re: [resolved] No interface is displayed after successful login

glpi/files/_log
check the files for php, login, mysql after you have tried to login and see if there are new lines

Or http://forum.glpi-project.org/viewtopic.php?id=14505


You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.3.3

Offline

#7 2018-05-25 13:19:14

techdreamer
Member
Registered: 2018-05-24
Posts: 12

Re: [resolved] No interface is displayed after successful login

wasn't able to find the proper log files, but I found now. see post below.

Last edited by techdreamer (2018-05-25 13:25:10)

Offline

#8 2018-05-25 13:20:38

KKAdmin
Member
From: Germany
Registered: 2010-03-05
Posts: 959

Re: [resolved] No interface is displayed after successful login

/var/www/glpi/files/_log
or
/var/www/glpi/files/_logs
There are the log files.


You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.3.3

Offline

#9 2018-05-25 13:24:43

techdreamer
Member
Registered: 2018-05-24
Posts: 12

Re: [resolved] No interface is displayed after successful login

found the following log files:

/var/www/glpi/files/_log/
cron.log        event.log       php-errors.log  remove.txt      sql-errors.log

cron.log
no issues

event.log
only has login attempts, either successful or not

php-errors.log
last errors are from April:
2018-04-12 17:45:11 [@removed]
  From DBmysql::optimize_tables() in /var/www/glpi/inc/dbmysql.class.php line 575
  Cannot launch automatic action : crashed tables detected


remove.txt
dummy file

sql-errors.log
last errors are from 3 weeks ago:
*** MySQL query error:
  SQL: SHOW COLUMNS FROM `glpi_crontasklogs`
  Error: Table 'glpi_crontasklogs' is marked as crashed and should be repaired
  Backtrace :
  inc/dbmysql.class.php:407
  inc/commondbtm.class.php:831                       DBmysql->list_fields()
  inc/crontask.class.php:315                         CommonDBTM->add()
  inc/crontask.class.php:833                         CronTask->end()
  front/cron.php:66                                  CronTask::launch()

Offline

#10 2018-05-25 13:29:49

KKAdmin
Member
From: Germany
Registered: 2010-03-05
Posts: 959

Re: [resolved] No interface is displayed after successful login

maybe you have more chrashed tables. please check and repair. I believe there a few threats her but it could be faster if you google mysql table scan & repair commands

glpi_crontasklogs' is marked as crashed and should be repaired.

Last edited by KKAdmin (2018-05-25 13:30:18)


You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.3.3

Offline

#11 2018-05-25 14:58:25

techdreamer
Member
Registered: 2018-05-24
Posts: 12

Re: [resolved] No interface is displayed after successful login

I've run

mysqlcheck --auto-repair -u root -p glpi glpi_crontasklogs

and

mysqlcheck -u root -p --auto-repair --check --all-databases

both said the tables are ok

after restart, same problem is encountered.

Offline

#12 2018-05-25 15:43:48

KKAdmin
Member
From: Germany
Registered: 2010-03-05
Posts: 959

Re: [resolved] No interface is displayed after successful login

Different / new logs entries ?


You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.3.3

Offline

#13 2018-05-25 15:44:21

KKAdmin
Member
From: Germany
Registered: 2010-03-05
Posts: 959

Re: [resolved] No interface is displayed after successful login

GLPI Version ? OS version ?


You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.3.3

Offline

#14 2018-05-25 15:51:10

techdreamer
Member
Registered: 2018-05-24
Posts: 12

Re: [resolved] No interface is displayed after successful login

KKAdmin wrote:

Different / new logs entries ?

nothing new added to any of the logs. old entries still there, but I assume that's logical.

KKAdmin wrote:

GLPI Version ? OS version ?

// Current version of GLPI
define("GLPI_VERSION","9.1.6");
define("GLPI_SCHEMA_VERSION","9.1.3");
define('GLPI_YEAR', '2017');

OS:
Distributor ID: Ubuntu
Description:    Ubuntu 17.10
Release:        17.10
Codename:       artful

Last edited by techdreamer (2018-05-25 16:03:35)

Offline

#15 2018-05-25 16:06:06

KKAdmin
Member
From: Germany
Registered: 2010-03-05
Posts: 959

Re: [resolved] No interface is displayed after successful login

It's not the best or really correct version but can you show what version is mentioned in  /var/www/glpi/CHANGELOG.md (not CHANGELOG.txt)

Last edited by KKAdmin (2018-05-25 16:13:29)


You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.3.3

Offline

#16 2018-05-25 16:08:41

techdreamer
Member
Registered: 2018-05-24
Posts: 12

Re: [resolved] No interface is displayed after successful login

that file only has this in it:

See on the website for the changelog : http://glpi-project.org

however in /var/www/glpi/config/define.php I found the following information:

// Current version of GLPI
define("GLPI_VERSION","9.1.6");
define("GLPI_SCHEMA_VERSION","9.1.3");
define('GLPI_YEAR', '2017');

Offline

#17 2018-05-25 16:12:32

KKAdmin
Member
From: Germany
Registered: 2010-03-05
Posts: 959

Re: [resolved] No interface is displayed after successful login

php -i
or
php -v

I'm not sure if 9.1.6 can work with php 7 but i'm not sure with the ubuntu 17.10 php version.


You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.3.3

Offline

#18 2018-05-25 16:15:00

techdreamer
Member
Registered: 2018-05-24
Posts: 12

Re: [resolved] No interface is displayed after successful login

PHP 7.1.17-0ubuntu0.17.10.1 (cli) (built: May  9 2018 17:28:01) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.1.17-0ubuntu0.17.10.1, Copyright (c) 1999-2018, by Zend Technologies

I now realise how little information I have given in my first post, I'll be more careful in the future.

regarding what works and what doesn't, this installation worked fine until a couple of days ago when I decided to set up a static IP in another range and install all the available updates. I have since changed it back, but now I get the above.

Offline

#19 2018-05-25 16:21:15

KKAdmin
Member
From: Germany
Registered: 2010-03-05
Posts: 959

Re: [resolved] No interface is displayed after successful login

You changed your ip setting back but not the software version or what do you mean exactly.

I have since changed it back, but now I get the above.


You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.3.3

Offline

#20 2018-05-25 16:21:50

techdreamer
Member
Registered: 2018-05-24
Posts: 12

Re: [resolved] No interface is displayed after successful login

KKAdmin wrote:

You changed your ip setting back but not the software version or what do you mean exactly.

I have since changed it back, but now I get the above.

Sorry, I changed the IP back. the updates are still installed.

Offline

#21 2018-05-25 16:43:59

KKAdmin
Member
From: Germany
Registered: 2010-03-05
Posts: 959

Re: [resolved] No interface is displayed after successful login

I don't know if 9.1.6 is compatible with php 7.1.
You could update to 9.2.3 it can 7.1 and 7.2 also see. (9.2: GLPI now requires minimum version of 5.6 for PHP, but has also been tested with PHP 7, 7.1 and even 7.2!)

Please check all https://glpi-install.readthedocs.io/en/ … sites.html

BUT I believe you have only missing php extensions see also in prerequisites.


You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.3.3

Offline

#22 2018-05-25 17:50:07

techdreamer
Member
Registered: 2018-05-24
Posts: 12

Re: [resolved] No interface is displayed after successful login

is there a way to update via CLI without reinstalling GLPI altogether?

I've tried accessing /update/update.php via the broswer and I get redirected to /front/central.php where again, nothing is displayed.

Offline

#23 2018-05-25 18:04:33

techdreamer
Member
Registered: 2018-05-24
Posts: 12

Re: [resolved] No interface is displayed after successful login

ok, so I managed to fix this. here's what I did:

I've run "php -m" and checked the installed modules against the list here: https://glpi-install.readthedocs.io/en/ … sites.html
then I've used "apt-get install php7.1-curl" to install all the missing modules (replace php version and extension as needed).

KKAdmin, thank you very much for your help, it's appreciated. You've pushed me in the right direction and I fixed this now!

Offline

Board footer

Powered by FluxBB