Skip to content

Version number is wrong for 3.11.0, causing update checker to not work

Created by: morganestes

  • Sourcegraph version: 3.11.0
  • Platform information: Docker on Digital Ocean droplet

Steps to reproduce:

  1. Run docker run --publish 7080:7080 --publish 127.0.0.1:3370:3370 --rm --volume ~/.sourcegraph/config:/etc/sourcegraph --volume ~/.sourcegraph/data:/var/opt/sourcegraph sourcegraph/server:3.11.0 (per docs) to create a local instance of Sourcegraph with Docker.
  2. Go to http://127.0.0.1:7080/site-admin/updates and get an error notice Error checking for updates: Update endpoint returned HTTP error 400: "1548 is a bad version string:"

Screenshot_2020-01-02 Updates - Admin - Sourcegraph

Expected behavior:

Version should be set to 3.11.0 in Docker Hub.

Actual behavior:

Version is set to 1548 in the Docker image, causing errors in update checker.