Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

entrypoint.sh updated so docker upgrade is posible #80

Merged
merged 1 commit into from
Dec 20, 2018

Conversation

LuisGi93
Copy link
Contributor

@LuisGi93 LuisGi93 commented Dec 19, 2018

It fixes #76. When using external volumes in docker the outdated internal_options.conf is kept. Because of this and overwrite of the internal_options.conf file with the one of the new version is needed. Also /var/ossec/queue/db/.template.db needs to be deleted in case a change in the database schema.
To correct this issues a fix is includead in entrypoint.sh. This fix overwrites the the outdated internal_options.conf with the one of the new version and also deletes /var/ossec/queue/db/.template.db so when the manager starts the dabase could be regenerated with the new schema.

Copy link
Contributor

@SitoRBJ SitoRBJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @LuisGi93,

We have tested the changes and the upgrade works correctly as well as the agent registration and the generation of the templates for the queue database.

Very good work!!

We proceed to merge the code.

Regards,

Alfonso Ruiz-Bravo

@SitoRBJ SitoRBJ merged commit 12bb0cb into wazuh:3.7.2_6.5.3 Dec 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants