google/grr

Latest Docker image out of date

digital-shokunin opened this issue · 2 comments

Environment

  • How did you install GRR? Docker
  • What GRR version are you running?: v3.4.5.1
  • What operating system does the GRR server run on? Ubuntu 22.04
  • What operating system does the affected GRR client run on, if applicable? N/A (but Linux hopefully)

Describe the issue
Following the instructions here, it specifies to install the most recent version of GRR docker image.
https://grr-doc.readthedocs.io/en/latest/installing-grr-server/via-docker.html

grrdocker/grr:v3.4.5.1

The latest image deployed on dockerHub is from 5 months ago, v3.4.3.1.

A build of the 3.4.5.1 needs to be built and pushed to the hub to line up with the install instructions on the documentation.

Error logs

docker pull grrdocker/grr:v3.4.5.1
Error response from daemon: manifest for grrdocker/grr:v3.4.5.1 not found: manifest unknown: manifest unknown

Additional context
None.

Seems like we indeed had an issue with our CI and that the version v3.4.5.1 wasn't built. The issue is that last September we switched our CI from Travis/AppVeyor to GitHub Actions, so building v3.4.5.1 retroactively is not trivial. We're currently working on a new release, so unless using v3.4.5.1 specifically is not a requirement, I would suggest waiting for the new release and maybe using grr:latest in the meantime (it should be pretty close to the version that's about to be released).

Bad3r commented

@mbushkov the docker image now returns an error related to mysql not being available

+ export MYSQL_ALLOW_EMPTY_PASSWORD=1
+ MYSQL_ALLOW_EMPTY_PASSWORD=1
+ source docker-entrypoint.sh
++ set -eo pipefail
++ shopt -s nullglob
++ _verboseHelpArgs=(--verbose --help)
++ _is_sourced
++ '[' 2 -ge 2 ']'
++ '[' _is_sourced = _is_sourced ']'
++ '[' source = source ']'
+ mysql_check_config mysqld
+ toRun=('mysqld' '--verbose' '--help')
+ local toRun errors
++ mysqld --verbose --help
+ errors='/usr/local/bin/docker-entrypoint.sh: line 105: mysqld: command not found'
+ mysql_error 'mariadbd failed while attempting to check config
	command was: mysqld --verbose --help
	/usr/local/bin/docker-entrypoint.sh: line 105: mysqld: command not found'
+ mysql_log ERROR 'mariadbd failed while attempting to check config
	command was: mysqld --verbose --help
	/usr/local/bin/docker-entrypoint.sh: line 105: mysqld: command not found'
+ local type=ERROR
+ shift
++ date --rfc-3339=seconds
+ printf '%s [%s] [Entrypoint]: %s\n' '2023-12-05 02:27:00+00:00' ERROR 'mariadbd failed while attempting to check config
	command was: mysqld --verbose --help
	/usr/local/bin/docker-entrypoint.sh: line 105: mysqld: command not found'
2023-12-05 02:27:00+00:00 [ERROR] [Entrypoint]: mariadbd failed while attempting to check config
	command was: mysqld --verbose --help
	/usr/local/bin/docker-entrypoint.sh: line 105: mysqld: command not found
+ exit 1