Skip to content

Conversation

@jrauh01
Copy link
Contributor

@jrauh01 jrauh01 commented Aug 11, 2025

If saving the Redis settings fails due to a write error, the desired configuration file content is now displayed so that the user can deploy it manually (Same behavior as with database configuration).

For that a catch block is introduced on the NotWritableError that is added to IniWriter::write() in Icinga/icingaweb2#5404.

Refs Icinga/icingaweb2#5404
Resolves #1269

@jrauh01 jrauh01 self-assigned this Aug 11, 2025
@cla-bot cla-bot bot added the cla/signed CLA is signed by all contributors of a PR label Aug 11, 2025
@jrauh01 jrauh01 force-pushed the feature/failed-redis-config-output branch from b4a80f8 to f3e7fbd Compare August 11, 2025 11:45
@jrauh01 jrauh01 requested a review from lippserd August 11, 2025 11:47
sukhwinder33445
sukhwinder33445 previously approved these changes Nov 6, 2025
Copy link
Contributor

@sukhwinder33445 sukhwinder33445 left a comment

Choose a reason for hiding this comment

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

Works fine.

@jrauh01 jrauh01 force-pushed the feature/failed-redis-config-output branch from be2da80 to d72aadf Compare November 17, 2025 09:45
@jrauh01 jrauh01 requested a review from nilmerg November 17, 2025 09:46
@nilmerg nilmerg merged commit 3c72286 into main Nov 17, 2025
10 checks passed
@nilmerg nilmerg deleted the feature/failed-redis-config-output branch November 17, 2025 12:19
@nilmerg nilmerg added this to the 1.3.0 milestone Nov 17, 2025
nilmerg pushed a commit that referenced this pull request Nov 19, 2025
If saving the Redis settings fails due to a write error, the desired
configuration file content is now displayed so that the user can deploy
it manually (Same behavior as with database configuration).

For that a catch block is introduced on the `NotWritableError` that is
added to `IniWriter::write()` in
Icinga/icingaweb2#5404.

Refs Icinga/icingaweb2#5404
Resolves #1269

(cherry picked from commit 3c72286)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla/signed CLA is signed by all contributors of a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Redis config: Path "/nix/store" is not writable

4 participants