Unable to login after 8.4.2 upgrade

Hi

Since I updated to v. 8.4.2 I am unable to login.

So what happens is at first Iā€™m having 504 timeout errors, so I increased this a tiny bit.

So I went from having these:

[Thu Nov 16 13:30:42.201245 2023] [proxy_fcgi:error] [pid 880:tid 1055] (70007)The timeout specified has expired: [client 101.202.33.104:11260] AH01075: Error dispatching request to : (polling)
[Thu Nov 16 13:31:11.620385 2023] [proxy_fcgi:error] [pid 880:tid 1063] (70007)The timeout specified has expired: [client 101.202.33.104:8844] AH01075: Error dispatching request to : (polling)
[Thu Nov 16 13:32:54.874220 2023] [proxy_fcgi:error] [pid 1751:tid 1791] (70007)The timeout specified has expired: [client 101.202.33.104:16990] AH01075: Error dispatching request to : (polling)
[Thu Nov 16 13:35:10.529232 2023] [proxy_fcgi:error] [pid 880:tid 1078] (70007)The timeout specified has expired: [client 101.202.33.104:54808] AH01075: Error dispatching request to : (polling)

To having this:

Upgraded using:

bin/console suitecrm:app:upgrade -t SuiteCRM-8.4.2
# and
bin/console suitecrm:app:upgrade-finalize -t SuiteCRM-8.4.2

all went well on that process. Now simply unable to login with any user including the admin user.
already checked all permissions, upgrade was done with the web server user as usual

Hello @maverickws,
thanks for your feedback,
would you be so kind to provide more information about your:

  1. environment (what PHP and OS version are you currently using) and which version of the application youā€™ve upgraded from?

  2. errors from logs on:
    ā€¢ public/legacy/suitecrm.log
    ā€¢ logs/prod/prod.log

Please, remember to remove all the sensitive information from the logs to be shared.

  1. additional details:
    ā€¢ Were you using APCu and restarted the server?
    ā€¢ Have you tried to clear the cookies and refresh?

Thanks a lot in advance!

Hi @serhiisamko and thank you for your reply.

System Information

OS:

# cat /etc/os-release 
NAME="AlmaLinux"
VERSION="9.2 (Turquoise Kodkod)"
ID="almalinux"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.2"
PLATFORM_ID="platform:el9"
PRETTY_NAME="AlmaLinux 9.2 (Turquoise Kodkod)"
ANSI_COLOR="0;34"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:almalinux:almalinux:9::baseos"
HOME_URL="https://almalinux.org/"
DOCUMENTATION_URL="https://wiki.almalinux.org/"
BUG_REPORT_URL="https://bugs.almalinux.org/"

ALMALINUX_MANTISBT_PROJECT="AlmaLinux-9"
ALMALINUX_MANTISBT_PROJECT_VERSION="9.2"
REDHAT_SUPPORT_PRODUCT="AlmaLinux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.2"

PHP-FPM

# php-fpm --version
PHP 8.2.12 (fpm-fcgi) (built: Oct 24 2023 19:22:16)
Copyright (c) The PHP Group
Zend Engine v4.2.12, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.12, Copyright (c), by Zend Technologies

public/legacy/suitecrm.log

# tail -n10 /var/www/html/suitecrm/sales/public/legacy/suitecrm.log 
Thu Nov 16 16:34:03 2023 [97701][1][FATAL] An Imap error detected: "IMAP search error"
Thu Nov 16 16:35:03 2023 [97841][1][FATAL] ImapHandler trying to use a non valid resource stream.
Thu Nov 16 16:35:03 2023 [97841][1][FATAL] ImapHandler trying to use a non valid resource stream.
Thu Nov 16 16:35:03 2023 [97841][1][FATAL] An Imap error detected: "IMAP search error"
Thu Nov 16 16:36:03 2023 [97934][1][FATAL] ImapHandler trying to use a non valid resource stream.
Thu Nov 16 16:36:03 2023 [97934][1][FATAL] ImapHandler trying to use a non valid resource stream.
Thu Nov 16 16:36:03 2023 [97934][1][FATAL] An Imap error detected: "IMAP search error"
Thu Nov 16 16:37:03 2023 [98044][1][FATAL] ImapHandler trying to use a non valid resource stream.
Thu Nov 16 16:37:03 2023 [98044][1][FATAL] ImapHandler trying to use a non valid resource stream.
Thu Nov 16 16:37:03 2023 [98044][1][FATAL] An Imap error detected: "IMAP search error"

logs/prod/prod.log

# tail -n10 /var/www/html/suitecrm/sales/logs/prod/prod.log 
[2023-11-16 16:06:36] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php:130)"} []
[2023-11-16 16:06:36] php.INFO: User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface" instead of "ApiPlatform\Core\Api\IriConverterInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use an implementation of \"ApiPlatform\\Api\\IriConverterInterface\" instead of \"ApiPlatform\\Core\\Api\\IriConverterInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Hydra/Serializer/CollectionNormalizer.php:62)"} []
[2023-11-16 16:06:36] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Hydra/Serializer/PartialCollectionViewNormalizer.php:50)"} []
[2023-11-16 16:06:36] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Hydra/Serializer/CollectionFiltersNormalizer.php:53)"} []
[2023-11-16 16:06:36] php.INFO: User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface" instead of "ApiPlatform\Core\Api\IriConverterInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use an implementation of \"ApiPlatform\\Api\\IriConverterInterface\" instead of \"ApiPlatform\\Core\\Api\\IriConverterInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/JsonLd/Serializer/ObjectNormalizer.php:44)"} []
[2023-11-16 16:06:36] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Ldap\Exception\LdapException: "Could not initiate TLS connection: Can't contact LDAP server" at /var/www/html/suitecrm/sales/vendor/symfony/ldap/Adapter/ExtLdap/Connection.php line 162 {"exception":"[object] (Symfony\\Component\\Ldap\\Exception\\LdapException(code: 0): Could not initiate TLS connection: Can't contact LDAP server at /var/www/html/suitecrm/sales/vendor/symfony/ldap/Adapter/ExtLdap/Connection.php:162)"} []
[2023-11-16 16:06:36] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Serializer/SerializerContextBuilder.php:41)"} []
[2023-11-16 16:06:36] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Serializer/SerializerFilterContextBuilder.php:40)"} []
[2023-11-16 16:06:36] php.INFO: User Deprecated: Since api-platform/core 2.7: The listener "ApiPlatform\Core\EventListener\ReadListener" is deprecated and will be replaced by "ApiPlatform\Symfony\EventListener\ReadListener" in 3.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: The listener \"ApiPlatform\\Core\\EventListener\\ReadListener\" is deprecated and will be replaced by \"ApiPlatform\\Symfony\\EventListener\\ReadListener\" in 3.0. at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Core/EventListener/ReadListener.php:66)"} []
[2023-11-16 16:06:36] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Symfony/EventListener/DeserializeListener.php:63)"} []
  • Not using APCu
  • Tried by using a private tab (Safari)

EDIT - Updated from version 8.4.1

Iā€™m now looking at this line here

Which is new since 0.0.1 versions ago was working just fineā€¦

Thanks for the details, @maverickws.

There havenā€™t been any changes made directly related to LDAP.

Could you, please:
ā€¢ double check the connection to LDAP.
ā€¢ clarify, if changes were made on LDAP configs from your side?

Thank you!

Hi @serhiisamko once again thank you for your reply.

You must comprehend that the change here was the SuiteCRM upgrade. The LDAP server is working as was and serving authentication for the same users to all other platforms.
But to make it perfectly clear, no, no changes have been made to LDAP.

.env.local

DATABASE_URL="mysql://dbusr_crm:somepassword@dbbalancer/db_crm"
AUTH_TYPE=ldap

###> LDAP CONFIG ###
LDAP_HOST='idserver.domain.tld'
LDAP_PORT=636
LDAP_ENCRYPTION=tls
LDAP_PROTOCOL_VERSION=3
LDAP_REFERRALS=false
LDAP_DN_STRING='dc=domain,dc=tld'
LDAP_QUERY_STRING=''
LDAP_SEARCH_DN='uid=bind-user,cn=sysaccounts,cn=etc,dc=domain,dc=tld'
LDAP_SEARCH_PASSWORD='bind-user-password'
###< LDAP CONFIG ###
###> LDAP AUTO CREATE CONFIG ###
LDAP_AUTO_CREATE=enabled
LDAP_PROVIDER_BASE_DN='cn=accounts,dc=domain,dc=tld'
LDAP_PROVIDER_SEARCH_DN='uid=bind-user,cn=sysaccounts,cn=etc,dc=domain,dc=tld'
LDAP_PROVIDER_SEARCH_PASSWORD='bind-user-password'
LDAP_PROVIDER_DEFAULT_ROLES=ROLE_USER
LDAP_PROVIDER_UID_KEY='(uid={username})'
LDAP_PROVIDER_FILTER='(memberOf=cn=sales,cn=groups,cn=accounts,dc=domain,dc=tld)'
###< LDAP AUTO CREATE CONFIG ###

Also, disabling LDAP does not overcome the issue: I moved .env.local to .env.off and only the timeout issues ceased. I am still getting the same Login Credentials Incorrect.

However, even without the LDAP config, I am unable to login with the admin user.

[2023-11-16 17:56:38] request.INFO: Matched route "app_login". {"route":"app_login","route_parameters":{"_route":"app_login","_controller":"App\\Authentication\\Controller\\SecurityController::login"},"request_uri":"https://sales.domain.tld/login","method":"POST"} []
[2023-11-16 17:56:38] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Symfony/EventListener/AddFormatListener.php:53)"} []
[2023-11-16 17:56:38] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Symfony/EventListener/QueryParameterValidateListener.php:52)"} []
[2023-11-16 17:56:38] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":1} []
[2023-11-16 17:56:38] security.DEBUG: Checking support on authenticator. {"firewall_name":"main","authenticator":"Symfony\\Component\\Ldap\\Security\\LdapAuthenticator"} []
[2023-11-16 17:56:38] php.INFO: Deprecated: Return type of Symfony\Component\OptionsResolver\OptionsResolver::offsetExists($option) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice {"exception":"[object] (ErrorException(code: 0): Deprecated: Return type of Symfony\\Component\\OptionsResolver\\OptionsResolver::offsetExists($option) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/suitecrm/sales/vendor/symfony/options-resolver/OptionsResolver.php:1149)"} []
[2023-11-16 17:56:38] php.INFO: Deprecated: Return type of Symfony\Component\OptionsResolver\OptionsResolver::offsetGet($option, bool $triggerDeprecation = true) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice {"exception":"[object] (ErrorException(code: 0): Deprecated: Return type of Symfony\\Component\\OptionsResolver\\OptionsResolver::offsetGet($option, bool $triggerDeprecation = true) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/suitecrm/sales/vendor/symfony/options-resolver/OptionsResolver.php:908)"} []
[2023-11-16 17:56:38] php.INFO: Deprecated: Return type of Symfony\Component\OptionsResolver\OptionsResolver::offsetSet($option, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice {"exception":"[object] (ErrorException(code: 0): Deprecated: Return type of Symfony\\Component\\OptionsResolver\\OptionsResolver::offsetSet($option, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/suitecrm/sales/vendor/symfony/options-resolver/OptionsResolver.php:1165)"} []
[2023-11-16 17:56:38] php.INFO: Deprecated: Return type of Symfony\Component\OptionsResolver\OptionsResolver::offsetUnset($option) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice {"exception":"[object] (ErrorException(code: 0): Deprecated: Return type of Symfony\\Component\\OptionsResolver\\OptionsResolver::offsetUnset($option) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/suitecrm/sales/vendor/symfony/options-resolver/OptionsResolver.php:1177)"} []
[2023-11-16 17:56:38] php.INFO: Deprecated: Return type of Symfony\Component\OptionsResolver\OptionsResolver::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice {"exception":"[object] (ErrorException(code: 0): Deprecated: Return type of Symfony\\Component\\OptionsResolver\\OptionsResolver::count() should either be compatible with Countable::count(): int, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/suitecrm/sales/vendor/symfony/options-resolver/OptionsResolver.php:1193)"} []
[2023-11-16 17:56:38] lock.DEBUG: Successfully acquired the "ip_login-101.202.33.104" lock. {"resource":"[object] (Symfony\\Component\\Lock\\Key: ip_login-101.202.33.104)"} []
[2023-11-16 17:56:38] lock.DEBUG: Expiration defined for "ip_login-101.202.33.104" lock for "300" seconds. {"resource":"[object] (Symfony\\Component\\Lock\\Key: ip_login-101.202.33.104)","ttl":300} []
[2023-11-16 17:56:38] lock.DEBUG: Successfully acquired the "username_ip_login-administrator-101.202.33.104" lock. {"resource":"[object] (Symfony\\Component\\Lock\\Key: username_ip_login-administrator-101.202.33.104)"} []
[2023-11-16 17:56:38] lock.DEBUG: Expiration defined for "username_ip_login-administrator-101.202.33.104" lock for "300" seconds. {"resource":"[object] (Symfony\\Component\\Lock\\Key: username_ip_login-administrator-101.202.33.104)","ttl":300} []
[2023-11-16 17:56:38] php.INFO: Deprecated: Creation of dynamic property Symfony\Component\RateLimiter\Policy\TokenBucket::$stringRate is deprecated {"exception":"[object] (ErrorException(code: 0): Deprecated: Creation of dynamic property Symfony\\Component\\RateLimiter\\Policy\\TokenBucket::$stringRate is deprecated at /var/www/html/suitecrm/sales/vendor/symfony/cache/Marshaller/DefaultMarshaller.php:80)"} []
[2023-11-16 17:56:38] php.INFO: Deprecated: Creation of dynamic property Symfony\Component\RateLimiter\Policy\TokenBucket::$stringRate is deprecated {"exception":"[object] (ErrorException(code: 0): Deprecated: Creation of dynamic property Symfony\\Component\\RateLimiter\\Policy\\TokenBucket::$stringRate is deprecated at /var/www/html/suitecrm/sales/vendor/symfony/cache/Marshaller/DefaultMarshaller.php:80)"} []
[2023-11-16 17:56:38] php.INFO: Deprecated: Creation of dynamic property Symfony\Component\RateLimiter\Policy\TokenBucket::$stringRate is deprecated {"exception":"[object] (ErrorException(code: 0): Deprecated: Creation of dynamic property Symfony\\Component\\RateLimiter\\Policy\\TokenBucket::$stringRate is deprecated at /var/www/html/suitecrm/sales/vendor/symfony/rate-limiter/Policy/TokenBucket.php:97)"} []
[2023-11-16 17:56:38] php.INFO: User Deprecated: Since api-platform/core 2.7: The service "ApiPlatform\Core\Api\IdentifiersExtractor" is deprecated, use ApiPlatform\Api\IdentifiersExtractor instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: The service \"ApiPlatform\\Core\\Api\\IdentifiersExtractor\" is deprecated, use ApiPlatform\\Api\\IdentifiersExtractor instead. at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Core/Api/IdentifiersExtractor.php:49)"} []
[2023-11-16 17:56:38] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Core/JsonSchema/SchemaFactory.php:70)"} []
[2023-11-16 17:56:38] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Core/Swagger/Serializer/DocumentationNormalizer.php:170)"} []
[2023-11-16 17:56:38] php.INFO: User Deprecated: Since api-platform/core 2.7: The service "ApiPlatform\Core\Bridge\Symfony\Routing\IriConverter" is deprecated, use ApiPlatform\Symfony\Routing\IriConverter instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: The service \"ApiPlatform\\Core\\Bridge\\Symfony\\Routing\\IriConverter\" is deprecated, use ApiPlatform\\Symfony\\Routing\\IriConverter instead. at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Core/Bridge/Symfony/Routing/IriConverter.php:67)"} []
[2023-11-16 17:56:38] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/JsonLd/ContextBuilder.php:76)"} []
[2023-11-16 17:56:38] php.INFO: User Deprecated: Since api-platform/core 2.7: The $exceptionOnNoToken parameter in "ApiPlatform\Symfony\Security\ResourceAccessChecker::__construct()" is deprecated and will always be false in 3.0, you should stop using it. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: The $exceptionOnNoToken parameter in \"ApiPlatform\\Symfony\\Security\\ResourceAccessChecker::__construct()\" is deprecated and will always be false in 3.0, you should stop using it. at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Symfony/Security/ResourceAccessChecker.php:49)"} []
[2023-11-16 17:56:38] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Hydra/Serializer/DocumentationNormalizer.php:77)"} []
[2023-11-16 17:56:38] php.INFO: User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface" instead of "ApiPlatform\Core\Api\IriConverterInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use an implementation of \"ApiPlatform\\Api\\IriConverterInterface\" instead of \"ApiPlatform\\Core\\Api\\IriConverterInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Hydra/Serializer/EntrypointNormalizer.php:46)"} []
[2023-11-16 17:56:38] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Hydra/Serializer/EntrypointNormalizer.php:51)"} []
[2023-11-16 17:56:38] php.INFO: User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface" instead of "ApiPlatform\Core\Api\IriConverterInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use an implementation of \"ApiPlatform\\Api\\IriConverterInterface\" instead of \"ApiPlatform\\Core\\Api\\IriConverterInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php:105)"} []
[2023-11-16 17:56:38] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php:130)"} []
[2023-11-16 17:56:38] php.INFO: User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface" instead of "ApiPlatform\Core\Api\IriConverterInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use an implementation of \"ApiPlatform\\Api\\IriConverterInterface\" instead of \"ApiPlatform\\Core\\Api\\IriConverterInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/JsonLd/Serializer/ItemNormalizer.php:55)"} []
[2023-11-16 17:56:38] php.INFO: User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface" instead of "ApiPlatform\Core\Api\IriConverterInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use an implementation of \"ApiPlatform\\Api\\IriConverterInterface\" instead of \"ApiPlatform\\Core\\Api\\IriConverterInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php:105)"} []
[2023-11-16 17:56:38] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php:130)"} []
[2023-11-16 17:56:38] php.INFO: User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface" instead of "ApiPlatform\Core\Api\IriConverterInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use an implementation of \"ApiPlatform\\Api\\IriConverterInterface\" instead of \"ApiPlatform\\Core\\Api\\IriConverterInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php:105)"} []
[2023-11-16 17:56:38] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php:130)"} []
[2023-11-16 17:56:38] php.INFO: User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface" instead of "ApiPlatform\Core\Api\IriConverterInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use an implementation of \"ApiPlatform\\Api\\IriConverterInterface\" instead of \"ApiPlatform\\Core\\Api\\IriConverterInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Hydra/Serializer/CollectionNormalizer.php:62)"} []
[2023-11-16 17:56:38] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Hydra/Serializer/PartialCollectionViewNormalizer.php:50)"} []
[2023-11-16 17:56:38] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Hydra/Serializer/CollectionFiltersNormalizer.php:53)"} []
[2023-11-16 17:56:38] php.INFO: User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface" instead of "ApiPlatform\Core\Api\IriConverterInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use an implementation of \"ApiPlatform\\Api\\IriConverterInterface\" instead of \"ApiPlatform\\Core\\Api\\IriConverterInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/JsonLd/Serializer/ObjectNormalizer.php:44)"} []
[2023-11-16 17:56:38] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Ldap\Exception\LdapException: "Could not initiate TLS connection: Can't contact LDAP server" at /var/www/html/suitecrm/sales/vendor/symfony/ldap/Adapter/ExtLdap/Connection.php line 162 {"exception":"[object] (Symfony\\Component\\Ldap\\Exception\\LdapException(code: 0): Could not initiate TLS connection: Can't contact LDAP server at /var/www/html/suitecrm/sales/vendor/symfony/ldap/Adapter/ExtLdap/Connection.php:162)"} []
[2023-11-16 17:56:38] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Serializer/SerializerContextBuilder.php:41)"} []
[2023-11-16 17:56:38] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Serializer/SerializerFilterContextBuilder.php:40)"} []
[2023-11-16 17:56:38] php.INFO: User Deprecated: Since api-platform/core 2.7: The listener "ApiPlatform\Core\EventListener\ReadListener" is deprecated and will be replaced by "ApiPlatform\Symfony\EventListener\ReadListener" in 3.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: The listener \"ApiPlatform\\Core\\EventListener\\ReadListener\" is deprecated and will be replaced by \"ApiPlatform\\Symfony\\EventListener\\ReadListener\" in 3.0. at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Core/EventListener/ReadListener.php:66)"} []
[2023-11-16 17:56:38] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Symfony/EventListener/DeserializeListener.php:63)"} []

More findings:

Despite having the moved .env.local Iā€™m still getting these
request.CRITICAL: Uncaught PHP Exception Symfony\Component\Ldap\Exception\LdapException: "Could not initiate TLS connection: Can't contact LDAP server" at /var/www/html/suitecrm/sales/vendor/symfony/ldap/Adapter/ExtLdap/Connection.php line 162 {"exception":"[object] (Symfony\\Component\\Ldap\\Exception\\LdapException(code: 0): Could not initiate TLS connection: Can't contact LDAP server at /var/www/html/suitecrm/sales/vendor/symfony/ldap/Adapter/ExtLdap/Connection.php:162)"} []

So about this:
This appears because the .env file has the whole LDAP section uncommented.
I commented it all, and when I do I get a 500 error from SuiteCRM.

So I moved back the local env file to .env.local without uncommenting the LDAP section on the .env

No more 500 error, only back to the initial error. Didnā€™t excpect a 500 error just for commenting the empty sample of LDAP on .env

[2023-11-16 18:13:56] request.INFO: Matched route "index". {"route":"index","route_parameters":{"_route":"index","_controller":"App\\Engine\\Controller\\IndexController::index"},"request_uri":"https://sales.domain.tld/","method":"GET"} []
[2023-11-16 18:13:56] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Symfony/EventListener/AddFormatListener.php:53)"} []
[2023-11-16 18:13:56] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Symfony/EventListener/QueryParameterValidateListener.php:52)"} []
[2023-11-16 18:13:56] php.INFO: User Deprecated: Since api-platform/core 2.7: The service "ApiPlatform\Core\Api\IdentifiersExtractor" is deprecated, use ApiPlatform\Api\IdentifiersExtractor instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: The service \"ApiPlatform\\Core\\Api\\IdentifiersExtractor\" is deprecated, use ApiPlatform\\Api\\IdentifiersExtractor instead. at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Core/Api/IdentifiersExtractor.php:49)"} []
[2023-11-16 18:13:56] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Core/JsonSchema/SchemaFactory.php:70)"} []
[2023-11-16 18:13:56] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Core/Swagger/Serializer/DocumentationNormalizer.php:170)"} []
[2023-11-16 18:13:56] php.INFO: User Deprecated: Since api-platform/core 2.7: The service "ApiPlatform\Core\Bridge\Symfony\Routing\IriConverter" is deprecated, use ApiPlatform\Symfony\Routing\IriConverter instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: The service \"ApiPlatform\\Core\\Bridge\\Symfony\\Routing\\IriConverter\" is deprecated, use ApiPlatform\\Symfony\\Routing\\IriConverter instead. at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Core/Bridge/Symfony/Routing/IriConverter.php:67)"} []
[2023-11-16 18:13:56] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/JsonLd/ContextBuilder.php:76)"} []
[2023-11-16 18:13:56] php.INFO: User Deprecated: Since api-platform/core 2.7: The $exceptionOnNoToken parameter in "ApiPlatform\Symfony\Security\ResourceAccessChecker::__construct()" is deprecated and will always be false in 3.0, you should stop using it. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: The $exceptionOnNoToken parameter in \"ApiPlatform\\Symfony\\Security\\ResourceAccessChecker::__construct()\" is deprecated and will always be false in 3.0, you should stop using it. at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Symfony/Security/ResourceAccessChecker.php:49)"} []
[2023-11-16 18:13:56] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Hydra/Serializer/DocumentationNormalizer.php:77)"} []
[2023-11-16 18:13:56] php.INFO: User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface" instead of "ApiPlatform\Core\Api\IriConverterInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use an implementation of \"ApiPlatform\\Api\\IriConverterInterface\" instead of \"ApiPlatform\\Core\\Api\\IriConverterInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Hydra/Serializer/EntrypointNormalizer.php:46)"} []
[2023-11-16 18:13:56] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Hydra/Serializer/EntrypointNormalizer.php:51)"} []
[2023-11-16 18:13:56] php.INFO: User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface" instead of "ApiPlatform\Core\Api\IriConverterInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use an implementation of \"ApiPlatform\\Api\\IriConverterInterface\" instead of \"ApiPlatform\\Core\\Api\\IriConverterInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php:105)"} []
[2023-11-16 18:13:56] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php:130)"} []
[2023-11-16 18:13:56] php.INFO: User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface" instead of "ApiPlatform\Core\Api\IriConverterInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use an implementation of \"ApiPlatform\\Api\\IriConverterInterface\" instead of \"ApiPlatform\\Core\\Api\\IriConverterInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/JsonLd/Serializer/ItemNormalizer.php:55)"} []
[2023-11-16 18:13:56] php.INFO: User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface" instead of "ApiPlatform\Core\Api\IriConverterInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use an implementation of \"ApiPlatform\\Api\\IriConverterInterface\" instead of \"ApiPlatform\\Core\\Api\\IriConverterInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php:105)"} []
[2023-11-16 18:13:56] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php:130)"} []
[2023-11-16 18:13:56] php.INFO: User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface" instead of "ApiPlatform\Core\Api\IriConverterInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use an implementation of \"ApiPlatform\\Api\\IriConverterInterface\" instead of \"ApiPlatform\\Core\\Api\\IriConverterInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php:105)"} []
[2023-11-16 18:13:56] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php:130)"} []
[2023-11-16 18:13:56] php.INFO: User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface" instead of "ApiPlatform\Core\Api\IriConverterInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use an implementation of \"ApiPlatform\\Api\\IriConverterInterface\" instead of \"ApiPlatform\\Core\\Api\\IriConverterInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Hydra/Serializer/CollectionNormalizer.php:62)"} []
[2023-11-16 18:13:56] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Hydra/Serializer/PartialCollectionViewNormalizer.php:50)"} []
[2023-11-16 18:13:56] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Hydra/Serializer/CollectionFiltersNormalizer.php:53)"} []
[2023-11-16 18:13:56] php.INFO: User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface" instead of "ApiPlatform\Core\Api\IriConverterInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use an implementation of \"ApiPlatform\\Api\\IriConverterInterface\" instead of \"ApiPlatform\\Core\\Api\\IriConverterInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/JsonLd/Serializer/ObjectNormalizer.php:44)"} []
[2023-11-16 18:13:56] request.CRITICAL: Uncaught PHP Exception Symfony\Component\DependencyInjection\Exception\EnvNotFoundException: "Environment variable not found: "LDAP_HOST"." at /var/www/html/suitecrm/sales/vendor/symfony/dependency-injection/EnvVarProcessor.php line 172 {"exception":"[object] (Symfony\\Component\\DependencyInjection\\Exception\\EnvNotFoundException(code: 0): Environment variable not found: \"LDAP_HOST\". at /var/www/html/suitecrm/sales/vendor/symfony/dependency-injection/EnvVarProcessor.php:172)"} []
[2023-11-16 18:13:56] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Serializer/SerializerContextBuilder.php:41)"} []
[2023-11-16 18:13:56] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Serializer/SerializerFilterContextBuilder.php:40)"} []
[2023-11-16 18:13:56] php.INFO: User Deprecated: Since api-platform/core 2.7: The listener "ApiPlatform\Core\EventListener\ReadListener" is deprecated and will be replaced by "ApiPlatform\Symfony\EventListener\ReadListener" in 3.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: The listener \"ApiPlatform\\Core\\EventListener\\ReadListener\" is deprecated and will be replaced by \"ApiPlatform\\Symfony\\EventListener\\ReadListener\" in 3.0. at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Core/EventListener/ReadListener.php:66)"} []
[2023-11-16 18:13:56] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/suitecrm/sales/vendor/api-platform/core/src/Symfony/EventListener/DeserializeListener.php:63)"} []

There is no AUTH_TYPE=LDAP in .env, only AUTH_TYPE=native at line 26

A stack-trace on that CRITICAL LDAP error could be a useful bit of information to help diagnose. If youā€™re not using LDAP, then the question becomes, which part of the code is trying to initialize it with broken configs?

@pgr

You understood it wrong.

  1. I was using LDAP.
  2. After update, auth fails
    2.1 504 gateway timeout - timeout thresholds increased
    2.2 Login credentials incorrect, please try again.
  3. moved the .env.local config (posted above) somewhere else, so only .env is in effect (which has no LDAP config):
    3.1 Fails authentication - Login credentials incorrect
  4. Opened .env to analyse it, has the whole empty LDAP section UNCOMMENTED. So I comment it.
    4.1 500 Error (posted above)

So I canā€™t login neither with my previous and working LDAP configuration, NOR without it.

Ok sorry, I get it now.

The stack trace should still be usefulā€¦

I bet it would but I have other things to do, I am not a developer (as you know) I donā€™t have a development environment set up to be running stack traces. Iā€™m sorry, really am.
Barely using SuiteCRM for a couple of basics, and canā€™t even do it properly because it looks like something hanging with scotch-tape. One upgrade to a minor (8.4.1 to 8.4.2) and Iā€™m being asked about changes to the LDAP service ā€¦ ok: there were none. Did some to SuiteCRM though. (said upgrade, right).

More importantly if you all donā€™t mind, what is the proper command to revert the upgrade? Or should I just go for a restore of the whole server?

# openssl s_client -verify 5 -connect idserver.domain.tld:636
verify depth is 5
CONNECTED(00000003)
depth=1 O = DOMAIN.TLD, CN = Certificate Authority
verify return:1
depth=0 O = DOMAIN.TLD, CN = idserver.domain.tld
verify return:1
---
Certificate chain
 0 s:O = DOMAIN.TLD, CN = idserver.domain.tld
   i:O = DOMAIN.TLD, CN = Certificate Authority
   a:PKEY: rsaEncryption, 2048 (bit); sigalg: RSA-SHA256
   v:NotBefore: May  5 20:02:43 2022 GMT; NotAfter: May  5 20:02:43 2024 GMT
 1 s:O = DOMAIN.TLD, CN = Certificate Authority
   i:O = DOMAIN.TLD, CN = Certificate Authority
   a:PKEY: rsaEncryption, 3072 (bit); sigalg: RSA-SHA256
   v:NotBefore: May  5 20:00:16 2022 GMT; NotAfter: May  5 20:00:16 2042 GMT
---
Server certificate
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
subject=O = DOMAIN.TLD, CN = idserver.domain.tld
issuer=O = DOMAIN.TLD, CN = Certificate Authority
---
Acceptable client certificate CA names
O = DOMAIN.TLD, CN = Certificate Authority
Requested Signature Algorithms: ECDSA+SHA256:ECDSA+SHA384:ECDSA+SHA512:0x03+0x02:RSA-PSS+SHA256:RSA-PSS+SHA384:RSA-PSS+SHA512:RSA+SHA256:RSA+SHA384:RSA+SHA512:0x01+0x02
Shared Requested Signature Algorithms: ECDSA+SHA256:ECDSA+SHA384:ECDSA+SHA512:RSA-PSS+SHA256:RSA-PSS+SHA384:RSA-PSS+SHA512:RSA+SHA256:RSA+SHA384:RSA+SHA512
Peer signing digest: SHA256
Peer signature type: RSA-PSS
Server Temp Key: X25519, 253 bits
---
SSL handshake has read 3116 bytes and written 416 bytes
Verification: OK
---
New, TLSv1.3, Cipher is TLS_AES_128_GCM_SHA256
Server public key is 2048 bit
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
---
DONE
# openssl s_client -verify 5 -connect idserver.domain.tld:636  < /dev/null | awk '/BEGIN/,/END/{ if(/BEGIN/)    {a++}; out="suite-ldap-cert-check"a".pem"; print >out}' 
verify depth is 5
depth=1 O = DOMAIN.TLD, CN = Certificate Authority
verify return:1
depth=0 O = DOMAIN.TLD, CN = idserver.domain.tld
verify return:1
DONE
# for cert in *.pem; do openssl verify -show_chain $cert ; done 
suite-ldap-cert-check1.pem: OK
Chain:
depth=0: O = DOMAIN.TLD, CN = idserver.domain.tld
depth=1: O = DOMAIN.TLD, CN = Certificate Authority

Restored server from backup, all working again.
Never forget them backups. Iā€™ll check back in 8.4.3.

My only problem now is this. Thank you.

I donā€™t think thereā€™s any way to revert the upgrade. The correct thing to do is revert to backups or snapshots.

The stack traces can be obtained from configuration settings, without any IDE set up.

I havenā€™t tried these myself in quite a while, Iā€™ve made my own logging system, see this PR, butā€¦

You can use a SuiteCRM config_override setting called $sugar_config[ā€˜stack_trace_errorsā€™] = true;, see this for details.

And I think there is also a generic PHP setting, but I couldnā€™t find it just now. There are also option in Symfony, regarding ā€œdevā€ environmentā€¦

Hi @pgr thank you for your reply and sorry if I was a bit blunt earlier, but this sort of problems should be checked out either by proper testing routines or a beta community that does not exist.

Unfortunately while SalesAgility maintains a wall between the community and themselves, less and less people take the risk of adopting and promoting SuiteCRM, much less be running beta test instances. What exactly SalesAgility presents to its community to encourage that?
I think itā€™s just a shame. Itā€™s development could be years ahead. (and its not by lack of community trying and contributing).

But as we talked before, Iā€™m not a developer, been looking at SuiteCRM as a candidate for potencial inclusion on projects. However, Iā€™m still waiting for a very simple question my company addressed the SalesAgility Public Relations. In October 6th.

What is the trust on a company that acts this way?

Iā€™m just waiting to see how long it will take to acknowledge the problems of the new release.

Hello @maverickws.

Thank you one more time for the feedback,

our suggestion yesterday was more of a suggestion for a sanity check.

We understand your concerns and appreciate the feedback and more details given.

Weā€™ve created the following GitHub issue: Enable Notificationsā€‹ Unable to login after 8.4.2 upgrade Ā· Issue #398 Ā· salesagility/SuiteCRM-Core Ā· GitHub.

And we are going to assign a certain level of priority to the issue.

Yet many thanks again!

Hi @serhiisamko thank you for your reply.

For sake of completion the Browser complete version is:

  • Safari - Version 17.0 (17616.1.27.111.22, 17616) - macOS Monterey 12.7

Cheers

Great, updated.
Thank you very much @maverickws!

1 Like

@serhiisamko
well done, that was an impressively fast response.

Hi @maverickws,

After further investigation we are unable to replicate your issue.

This is the configuration I am using:

AUTH_TYPE=ldap
###> LDAP CONFIG ###
LDAP_HOST='ldap.hostname'
LDAP_PORT=389
LDAP_ENCRYPTION=tls
LDAP_PROTOCOL_VERSION=3
LDAP_REFERRALS=false
LDAP_DN_STRING='cn=admin,dc=example,dc=it'
LDAP_QUERY_STRING='mail={username}'
LDAP_SEARCH_DN='cn=admin,dc=example,dc=it'
LDAP_SEARCH_PASSWORD='LDAP_SEARCH_PASSWORD'

PHP version: 8.2
Browsers tested: Chrome + Safari
SuiteCRM tested versions: 8.4.1 ā†’ 8.4.2, and 8.4.2 alone

Completed the upgrade following the docs: Upgrading :: SuiteCRM Documentation

I also see that you tried reverting back to native login and this was unsuccessful, when making this change it wonā€™t take effect until you have cleared cache (using ./bin/console cache:clear).

Another factor which could be causing issues is your certificate, I would ensure that your certificate is not expired and that it is being loaded correctly

Thanks,

Jack