Unable to make the version of `2.9.0.beta6` running

Seems like you still have a new format RDB file (originating from Redis 7) around.
Try to remove /var/discourse/shared/standalone/redis_data/dump.rdb and retry.