Announcement

Collapse
No announcement yet.

After update ERROR HTTP 500 *Docker Version By EspoCRM*

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • After update ERROR HTTP 500 *Docker Version By EspoCRM*

    Hy guys. After de update i got an http 500 error . Here are the logs:

    [2022-06-20 18:15:41] ERROR: (2002) SQLSTATE[HY000] [2002] No route to host; GET /Settings; line: 97, file: /var/www/html/application/Espo/ORM/PDO/DefaultPDOProvider.php [] []

    Maybe some IP in docker changed? How can i fix? how do i know the old ip on docker?
    Attached Files

  • #2
    Soo, I found the solution and am here to explain... After the update the SQL image in docker, docker changed the IP of the image soo you need to change the IP address to the new one given by docker. How you ask?

    You have a file called config-internal.php and you need to change this part

    <?php
    return [
    'database' => [
    'driver' => 'pdo_mysql',
    'host' => 'XXXXXXXXX',
    'port' => '',
    'charset' => 'utf8mb4',

    where it says host putt the new address of mysql image and voilá

    Comment

    Working...
    X