Graylog2 / graylog2-server

Free and open log management
https://www.graylog.org
Other
7.41k stars 1.07k forks source link

Add missing contentpack autoloader #5744

Closed BeAddicted closed 4 years ago

BeAddicted commented 5 years ago

I encountered a problem when upgrading from Graylog 2.4 to Graylog 3.0. I'm mounting a contentpack into the contentpacks folder. In Graylog 2.4 the data/contentpacks folder already existed inside the docker image with the user graylog as owner and everything worked fine. Now in Graylog 3.0 it does not exist, which results in docker creating it while mounting. Now docker creates the directory with root as owner of the folder and only root has write permissions for that folder. Then in the entrypoint script it tries to make graylog the owner with chown which results in an error because graylog does not have permissions to do so. Can you include the data/contentpacks folder again into the dockerimage so that this works as before?

jalogisch commented 5 years ago

with the current version of Graylog the autoloading of content packs is not possible. Future versions will have the option returned and the folder will be present.

deeshe commented 5 years ago

Refs graylog2/graylog2-server#5070

zaf187 commented 5 years ago

what release is this likely to be in?