You are not logged in.
Hello,
I am trying to update my currently working installation.
To do so, I do the following:
----------------
sudo php /var/www/glpi/bin/console glpi:maintenance:enable -t "some text"
sudo php /var/www/glpi/bin/console plugin:deactivate --all
sudo mysqldump -u glpi -p glpi > /var/tmp/sql-glpi-dump`date +"%d%m%y"`.sql
sudo mv /var/www/glpi /var/www/glpi_bak-`date +"%d%m%y"`
sudo curl api.github.com/repos/glpi-project/glpi/releases/latest | grep browser_download_url |
cut -d '"' -f 4 | sudo wget -O /var/www/glpi_latest.tgz -qi -
sudo tar -xvzf /var/www/glpi_latest.tgz -C /var/www/
sudo chown -R www-data:www-data /var/www/glpi
-----------------
Then from the webpage, I enter the details for the database (on the same host), it does show me an error message before upgrading the database which is the following:
The key file "/var/www/glpi/config/glpicrypt.key" used to encrypt/decrypt sensitive data is missing. You should retrieve it from your previous installation or encrypted data will be unreadable.
I have checked in my backup from the previous install in the config folder, there is no such key
Upon selecting continue and disregard the error, I get to the login page, but the problem now is that I can't login, as I do get the following error:
Incorrect username or password
Unable to connect to the LDAP directory
Could you please let me know if there is any logfile in /var/log/glpi that can help troubleshoot this issue.
Thank you in advance for your help
Offline
Additional note : I can't login to the local glpi account either, as even after runnning the command below to enable the user and reset the password, I get the error message "You don't have right to connect"
update glpi_users set is_active=1, password='$2y$10$p..X4No3kbL9zq3s9yyXuuNdbHN78Bd/j8aiInj5L7Fo1Hg3hJMFa' where name = 'glpi';
Offline