Yeah, ‘-mode=GenerateClangDatabase’ currently doesn’t work on Linux at the moment.
There’s was a pull-request which adds Linux support, but the author has stopped maintaining it.
The author claims that the VSCode project generator creates a usable compile_commands.json, but I can’t figure out how to make that work with ccls.