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

[packaging] keep config files when upgrading with rpm #5287

Closed
NicolasGeraud opened this issue Mar 23, 2021 · 3 comments
Closed

[packaging] keep config files when upgrading with rpm #5287

NicolasGeraud opened this issue Mar 23, 2021 · 3 comments

Comments

@NicolasGeraud
Copy link
Member

If I update a gravitee installation with yum, all config files disappered.

Your Environment

  • Version used: 1.30, 3.5
@mouligno
Copy link
Contributor

@brasseld Can we close this issue ?

@brasseld
Copy link
Member

If you think that it's been fixed, yes. But I'm not sure who fixed it. I don't see changes from scripts.

@apoddany
Copy link

apoddany commented Feb 16, 2022

The issue is still there when upgrading from 3.10 to 3.15
When doing the "yum update" command, the config/gravitee.yml is not kept but replaced by a clean one but also removed from the previous installation.

  1. Do not remove the config/gravitee.yml and rename it as (ie) .rpmsave file instead
  2. Keep the original config/gravitee.yml file from previous install to the new install

@gcusnieux gcusnieux self-assigned this Jun 10, 2022
gcusnieux added a commit to gravitee-io/packages that referenced this issue Jun 13, 2022
gcusnieux added a commit to gravitee-io/packages that referenced this issue Jun 13, 2022
gcusnieux added a commit to gravitee-io/packages that referenced this issue Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants