Title: The Redis backup fails on a host with PostgreSQL: /var/backups/cloudfall is created postgres-owned 0700 · Issue #342 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: The Redis backup fails on a host with PostgreSQL: /var/backups/cloudfall is created postgres-owned 0700 · Issue #342 · cloudfall-dev/cloudfall
X Title: The Redis backup fails on a host with PostgreSQL: /var/backups/cloudfall is created postgres-owned 0700 · Issue #342 · cloudfall-dev/cloudfall
Description: Found by the Debian converge job in #338 (#227). Problem On a host that runs both PostgreSQL and Redis services, the Redis backup fails with Permission denied. The PostgreSQL backup task creates its directory under /var/backups/cloudfall...
Open Graph Description: Found by the Debian converge job in #338 (#227). Problem On a host that runs both PostgreSQL and Redis services, the Redis backup fails with Permission denied. The PostgreSQL backup task creates it...
X Description: Found by the Debian converge job in #338 (#227). Problem On a host that runs both PostgreSQL and Redis services, the Redis backup fails with Permission denied. The PostgreSQL backup task creates it...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/342
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The Redis backup fails on a host with PostgreSQL: /var/backups/cloudfall is created postgres-owned 0700","articleBody":"Found by the Debian converge job in #338 (#227).\n\n## Problem\n\nOn a host that runs both PostgreSQL and Redis services, the Redis backup fails with `Permission denied`. The PostgreSQL backup task creates its directory under `/var/backups/cloudfall` with `ansible.builtin.file`, and the missing parent `/var/backups/cloudfall` is created with the leaf's owner and mode, so it ends up `postgres:postgres 0700` and the Redis dump can't reach its own directory. `config/examples` declares this layout on `h1`.\n\n## Fix\n\nCreate `/var/backups/cloudfall` explicitly (owner `root`, mode `0755`) before any service's backup directory, in whichever role runs first, so the next converge also repairs a host whose parent is already `postgres`-owned. A test covers both services on one host.\n\n\u003c!-- shipmill:agent -->\n","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-15T09:38:09Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/342"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:017f1d59-7940-befb-c03a-785e4c9ba767 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ED14:2054A4:174DAF2:1E6F3A8:6B054E77 |
| html-safe-nonce | c1fe105626a3f6294892e412e214ac652880d6c36f1c3b6577d4384a1f5f28e7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDE0OjIwNTRBNDoxNzREQUYyOjFFNkYzQTg6NkIwNTRFNzciLCJ2aXNpdG9yX2lkIjoiMjQwMzM4MTE2NDI1MDU4MjY0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 33c6b3333a254b90fa879cbef1a13f11dc4655e914a0f98312cbceade938c0f7 |
| hovercard-subject-tag | issue:6402420389 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cloudfall-dev/cloudfall/342/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b6b0cec13782804a7afb0fdfdd752fd3070898f0c814cda3f47df9ea832f3a98/cloudfall-dev/cloudfall/issues/342 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b6b0cec13782804a7afb0fdfdd752fd3070898f0c814cda3f47df9ea832f3a98/cloudfall-dev/cloudfall/issues/342 |
| og:image:alt | Found by the Debian converge job in #338 (#227). Problem On a host that runs both PostgreSQL and Redis services, the Redis backup fails with Permission denied. The PostgreSQL backup task creates it... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shipmill-romamo[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | 854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b |
| turbo-cache-control | no-preview |
| go-import | github.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git |
| octolytics-dimension-user_id | 339512759 |
| octolytics-dimension-user_login | cloudfall-dev |
| octolytics-dimension-repository_id | 1360999777 |
| octolytics-dimension-repository_nwo | cloudfall-dev/cloudfall |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1360999777 |
| octolytics-dimension-repository_network_root_nwo | cloudfall-dev/cloudfall |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 220e980097d94ce616d5d11fbd5316d208e3fc93 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width