My password is on the complex side but the one I am using doesn’t have any of those characters. As someone else suggested – try a simple password. However, I think I would have to change the password in 2 places – 1 in the config.si.php and 1 in the database in the users table. Does the password have to be hash-encoded in the database?
jp
Did you ever solve this? +1
rsp
13 January 2025 20:21
23
What issue are you facing?
Can’t login after upgrade to 8.7.1
rsp
13 January 2025 20:24
25
You may need to set permission and ownership again to files.
Also, clear symfony cache
Last option, you may need to update password for admin from the DB.
Done all that except updating the password.
No one’s password works.
rsp
13 January 2025 20:28
27
That’s weird! Sounds like DB connection lost.
Check db config in config.php
Also, check if your mariadb running or not.
sudo systemctl status mariadb
DATABASE_URL=
# In all environments, the following files are loaded if they exist,
# the latter taking precedence over the former:
#
# * .env contains default values for the environment variables needed by the app
# * .env.local uncommitted file with local overrides
# * .env.$APP_ENV committed environment-specific defaults
# * .env.$APP_ENV.local uncommitted environment-specific overrides
#
# Real environment variables win over .env files.
#
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
# https://symfony.com/doc/current/configuration/secrets.html
#
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
###> symfony/framework-bundle ###
APP_ENV=dev
#TRUSTED_PROXIES=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
#TRUSTED_HOSTS='^localhost|example\.com$'
###< symfony/framework-bundle ###
This file has been truncated. show original
rsp:
# In all environments, the following files are loaded if they exist,
# the latter taking precedence over the former:
#
# * .env contains default values for the environment variables needed by the app
# * .env.local uncommitted file with local overrides
# * .env.$APP_ENV committed environment-specific defaults
# * .env.$APP_ENV.local uncommitted environment-specific overrides
OK thanks for that tip!!!
I’m back in.
My .env-local I think was messed up.
2 problems:
my APP_Secret was missing, so I generated a new one.
In the password, special characters were wrapped with%% which I removed, and also I appened this on the end:
?serverVersion=8.0&charset=utf8mb4"
Now I can login again!