Fatal: Not a git repository (or any parent up to mount point /discourse)

It looks like a problem with the discourse version.
my coompany is version 18.0 discourse

I went home and removed github
The same error occurs. However, the plug-in works normally.

In the company, If you install the discourse-rating plug-in, it will not run when you restart with the docker.