Strange behaviour after update

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mario_msg
    Junior Member
    • May 2023
    • 9

    Strange behaviour after update

    Hi,
    we are using docker to run EspoCRM. In our docker-compose-file we have bumped the version to "7.3.4-fpm"

    In the admin GUI after a restart, we still get a hint that there is a new version (7.3.4) available German message in screenshot).

    In the past we never had any issues upgrading via modifying the docker-compose-file and restart.

    Can you advise on what to check if we are running the right version or what steps are necessary to fix this?

    Thanks in advance,
    Mario
  • lazovic
    Super Moderator
    • Jan 2022
    • 809

    #2
    Hi mario_msg,

    Please send your full docker-compose.yml file and tell me which version you tried to upgrade from? This information is needed to reproduce this issue.

    Comment

    • mario_msg
      Junior Member
      • May 2023
      • 9

      #3
      HI lazovic,

      wie upgraded from

      espocrm/espocrm:7.3.4-fpm
      nginx:1.22.1
      certbot/certbot:amd64-v1.32.0

      Here is our current docker-compose file with some values redacted:


      version: '3'
      services:

      espocrm-mysql:
      image: mysql:8.0
      container_name: espocrm-mysql
      command: --default-authentication-plugin=mysql_native_password
      restart: always
      pull_policy: always
      environment:
      MYSQL_ROOT_PASSWORD: <DB_ROOT_PASSWORD>
      MYSQL_DATABASE: espocrm
      MYSQL_USER: <DB_USER>
      MYSQL_PASSWORD: <DB_USER_PASSWORD>
      volumes:
      - ./data/mysql/data:/var/lib/mysql
      networks:
      - internal

      espocrm-nginx:
      image: nginx:1.24
      container_name: espocrm-nginx
      restart: always
      pull_policy: always
      depends_on:
      - espocrm
      volumes:
      - ./data/nginx/conf.d/:/etc/nginx/conf.d/
      - ./data/espocrm:/var/www/html
      - ./data/nginx/espocrm.conf:/etc/nginx/espocrm.conf
      - ./data/nginx/logs:/var/log/nginx
      - ./data/nginx/ssl:/etc/nginx/ssl
      - ./data/nginx/certbot:/var/www/certbot
      ports:
      - "80:80"
      - "443:443"
      command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g "daemon off;"'"
      networks:
      - external

      espocrm:
      image: espocrm/espocrm:7.4.3-fpm
      container_name: espocrm
      environment:
      ESPOCRM_DATABASE_HOST: espocrm-mysql
      ESPOCRM_DATABASE_USER: <DB_USER>
      ESPOCRM_DATABASE_PASSWORD: <DB_ROOT_PASSWORD>
      ESPOCRM_ADMIN_USERNAME: <ESPO_ADIM>
      ESPOCRM_ADMIN_PASSWORD: <ESPO_ADMIN_PW>
      ESPOCRM_SITE_URL: "<ESPO_SITE_URL>"
      ESPOCRM_CONFIG_WEB_SOCKET_ZERO_M_Q_SUBMISSION_DSN: "tcp://espocrm-websocket:7777"
      restart: always
      pull_policy: always
      depends_on:
      - espocrm-mysql
      volumes:
      - ./data/espocrm:/var/www/html
      - ./data/espocrm/etc/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt
      - ./data/espocrm/etc/ldap/ldap.conf:/etc/ldap/ldap.conf
      networks:
      - external
      - internal

      espocrm-daemon:
      image: espocrm/espocrm:7.4.3-fpm
      container_name: espocrm-daemon
      volumes:
      - ./data/espocrm:/var/www/html
      restart: always
      pull_policy: always
      depends_on:
      - espocrm
      entrypoint: docker-daemon.sh
      networks:
      - external
      - internal

      espocrm-websocket:
      container_name: espocrm-websocket
      image: espocrm/espocrm:7.4.3-fpm
      environment:
      ESPOCRM_CONFIG_WEB_SOCKET_ZERO_M_Q_SUBSCRIBER_DSN: "tcp://*:7777"
      ESPOCRM_CONFIG_USE_WEB_SOCKET: "true"
      volumes:
      - ./data/espocrm:/var/www/html
      restart: always
      pull_policy: always
      depends_on:
      - espocrm
      entrypoint: docker-websocket.sh
      ports:
      - 8080:8080
      networks:
      - external
      - internal

      espocrm-certbot:
      image: certbot/certbot:amd64-v2.5.0
      container_name: espocrm-certbot
      restart: always
      pull_policy: always
      volumes:
      - ./data/nginx/ssl:/etc/letsencrypt
      - ./data/nginx/certbot:/var/www/certbot
      entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"
      networks:
      - external
      networks:
      external:
      external: false
      internal:
      external: false

      Comment

      • mario_msg
        Junior Member
        • May 2023
        • 9

        #4
        Ok, after some testing, I've found out that the version in the config.php doesn't get updated, when the new docker container is deployed.
        I've changed it by hand to the current installed container-version and the message disappeared.

        Has anyone an idea, what could be the reason for this?

        Is this a bug or do I need to check the version after every docker-container-upgrade?

        Another related question is, is it safe to manually change the version in config.php after container-upgrade ?

        Regards,
        Mario
        Last edited by mario_msg; 05-25-2023, 12:15 PM.

        Comment

        Working...