VPS - fix Nextcloud connectivity, pull errors, and persistence#9343
Closed
afiand wants to merge 2 commits into
Closed
VPS - fix Nextcloud connectivity, pull errors, and persistence#9343afiand wants to merge 2 commits into
afiand wants to merge 2 commits into
Conversation
…rsistence - Fix "getaddrinfo for db failed" by adding an internal network. - Fix Redis pull failure by correcting image name to lowercase. - Correcting volume path case for MariaDB. - Add 'config' volume to persist settings across restarts. - Add 'traefik.docker.network' label for multi-network routing.
Contributor
Stephane-Bautista
left a comment
There was a problem hiding this comment.
Agree with that review
Apply the same networking, persistence and Traefik routing fixes from the EN guide to the French version: add internal network for db/redis/app, add persistent config volume, declare traefik.docker.network label.
Collaborator
|
Now ported to the new repository supporting docs.ovhcloud.com via ovh/ovhcloud-docs#23 |
Y0Coss
added a commit
to ovh/ovhcloud-docs
that referenced
this pull request
May 22, 2026
…23) Port of legacy PR ovh/docs#9343. - Add dedicated `internal` network for db / redis / app services (fixes `getaddrinfo for db failed`). - Lowercase Redis image tag (`redis:7-alpine`) for registry compliance. - Correct MariaDB volume path to `/var/lib/mysql` (case-sensitive FS). - Persist Nextcloud `/config` so config.php survives container recreation. - Add `traefik.docker.network=proxy` label on app for correct routing. Legacy PR only touched en-gb + fr-fr; propagated to all 7 locales since the change is inside a language-agnostic Docker Compose code block. Original-URL: ovh/docs#9343 Original-author: @afiand
Kazarus4
added a commit
to ovh/ovhcloud-docs
that referenced
this pull request
May 22, 2026
* fix(theme): restore mobile burger-menu links and drop Beta badge (#7) - NavScreen used rspress's stock useNav() which expects link:string, but our nav config uses links:Record<Locale,string>. The cast in rspress.config.ts hid the mismatch and the mobile menu rendered Webmail / customer account / support as inert items with no href. Switch to useLocalizedNav() so mobile resolves the same translated text + locale-specific URL the desktop nav does. - Remove the hardcoded "Beta" badge next to the Documentation sidebar header now that the new docs platform is live and indexed. * fix(config): point GitHub links at ovhcloud-docs instead of legacy repo (#9) The per-guide "Edit this page" link and the navbar GitHub icon both pointed at github.com/ovh/docs (now a deprecated branch on the legacy repo). Retarget both editLink.docRepoBaseUrl and socialLinks at github.com/ovh/ovhcloud-docs (develop branch) so contributors land on the active repo. * fix(sidebar): wire 30 orphan guides into nav and add locale fallbacks (#10) * fix(sidebar): wire 30 orphan guides into navigation and add locale fallbacks Restore sidebar entries for 30 guides that existed in `docs/en/guides/` but were not linked in `config/sidebar/index.md`, making them inaccessible from the navigation. Adds 168 locale-fallback copies (fr/de/es/it/pl/pt) for the EN-only guides so the language switcher does not redirect to home. - Sidebar: 17 entries restored from the index-base snapshot (ClickHouse, Kafka, ceph-access-cluster, api-right-delegation, security-specification-pci, migration-from-free-to-standard) and 13 new entries (logs-data-platform extract-logs/nodejs/service-logs, IAM auth pages under Private Registry + Rancher, DB migration pages, regions comparison, hosted-exchange RACI, domains/web-hosting responsibility-sharing). - Analytics regions comparison moved from Kafka to Analytics > Common > Key concepts (engine-agnostic). - New `Security` subsection created under Managed Rancher Service for the IAM auth guide, mirroring the Private Registry pattern. - i18n.json: added publicCloudContainersOrchestrationManagedRancherServiceSecurity key (Sécurité in fr, Security in others). - Renamed hosted-echange-responsibility-model.mdx -> hosted-exchange-* (typo fix). - 2 new FR translations: domains-responsibility-sharing, web-hosting-responsibility-sharing. - 168 locale-fallback copies created from EN source with external URLs localized per target locale via /verify-links (~194 OVHcloud URLs updated across fr/de/es/it/pl/pt). * fix(sidebar): cascade-duplicate dead-link targets to non-EN/FR locales CI flagged dead internal links in service-logs.mdx for DE/ES/IT/PL/PT. The targets (kms/logs and ovhcloud-connect/logs-to-customers) existed only in EN+FR. Cascade-duplicate them to the 5 missing locales with EN content and localized OVHcloud URLs (identity-security-operations, professional-services). 10 new files (2 targets x 5 locales). * docs(i18n): translate FR TOC entry on Eco dedicated server guide (#12) Translate the "Installing or reinstalling an operating system" table-of-contents link to "Installation ou réinstallation de votre serveur dédié", matching the already-translated section heading below. Ports legacy PR ovh/docs#9401 (branch jf-quick-fix-sd). Original-URL: ovh/docs#9401 Original-author: @jessica * docs: vRack 3-AZ failover priorities (port of legacy #9365) (#13) * docs(i18n): add 3-AZ failover priorities section to vRack guides (EN+FR) Add a new "Managing 3-AZ failover priorities" section to two vRack guides on dedicated servers: - Configure an Additional IPv6 block in a vRack - Configure an Additional IP block in a vRack In the IPv6 guide, also promote "Host-side commands" and "Setup verification" from h4 to h3, in line with the legacy PR's restructure. Ports legacy PR ovh/docs#9365 (branch sa-vrack-3az). Original-URL: ovh/docs#9365 Original-author: @SlimJ4 * docs(i18n): translate 3-AZ failover priorities section into DE/ES/IT/PL/PT Translate the new "Managing 3-AZ failover priorities" section into the five remaining locales for both vRack guides on dedicated servers. Also bump lastUpdated and, for the IPv6 guide, promote the "Host-side commands" and "Setup verification" headings from h4 to h3 to mirror the EN/FR restructure. Source routing: DE/PL from EN, ES/IT/PT from FR. Action-button labels ("Network", "Public IP Routing", "Configure", "Manage", "vRack private network") match the established translations already used elsewhere in each guide. Original-URL: ovh/docs#9365 Original-author: @SlimJ4 * docs(i18n): announce PG15 / MariaDB 10.11 EOL dates, update PG14 EOS/EOL (#15) Update the Web Cloud Databases EOS/EOL announcement table across all 7 locales: - MariaDB 10.11: announced (EOL 2026-05-22, EOS 2027-08-17, EoSupport 2028-02-16) - PostgreSQL 14: EOS bumped to 2026-08-22, EoSupport to 2026-11-21 - PostgreSQL 15: announced (EOL 2026-05-22, EOS 2027-05-12, EoSupport 2027-11-11) Ports legacy PR ovh/docs#9399 (branch dev/fabien.bagard/clouddb-eol-eos). Original-URL: ovh/docs#9399 Original-author: @Meuh-42 * fix(scripts): allow windows file paths in sidebar scripts * docs(i18n): refresh Kafka supported-versions list (3.8 deprecated, add 3.9/4.0/4.1) (#16) Mark Kafka 3.8 as soon-to-be-deprecated and add 3.9 / 4.0 / 4.1 to the supported-versions list of the Public Cloud Analytics Kafka capabilities guide, across all 7 locales. Ports legacy PR ovh/docs#9397 (branch public_cloud_analytics_kafka_versions). Original-URL: ovh/docs#9397 Original-author: @thild42 * docs(i18n): k8s ip-allocation — use 3-AZ payload example (region, availabilityZones, plan) (#17) Refresh the JSON payload example in the Managed Kubernetes "Configure pods/services IP allocation policy" guide across all 7 locales: - Switch example region from GRA11 to EU-WEST-PAR (multi-AZ-capable) - Add availabilityZones to the nodepool block - Add privateNetworkId, nodesSubnetId, and plan (required for the standard plan with multi-AZ) Ports legacy PR ovh/docs#9398 (branch fix/pedro/k8s-ip-allocation-example). Extends to DE/ES/IT/PL/PT since the JSON example is data, not language-specific content. Original-URL: ovh/docs#9398 Original-author: @pgaxatte * fix(theme): persist SurveyWidget dismissal across reloads (#19) Store a flag in localStorage when the user dismisses or responds to the survey, so refreshing the page no longer re-displays the widget. * All done (#20) * docs(port): adapt legacy PRs #9392/#9393/#9394/#9400 — PCI grammar pass (#22) * docs(port): adapt legacy PRs #9392/#9393/#9394/#9400 — PCI grammar pass Bundled port of four legacy PRs by @Jessica41 that together form a single grammar-and-punctuation pass over Public Cloud guides. Each legacy PR was a review-sized slice of one effort; combined here because they share an author, theme, base commit, and a non-overlapping file set. Applies 186 small grammar / punctuation / whitespace fixes across all 7 primary locales (compute, network services, cross-functional). Legacy-specific changes (community URL standardisation to /links/, .thumbnail modifiers, Going Further footer rewrites) are intentionally NOT ported — they are no-ops on new-docs, which addresses them differently through migration-time normalisation. See cp-extraction/pr-port/bundle-pr-9392-9393-9394-9400.md (in the tools repo) for the full per-PR breakdown and per-file report. Original-URL: ovh/docs#9392 Original-URL: ovh/docs#9393 Original-URL: ovh/docs#9394 Original-URL: ovh/docs#9400 Original-author: @Jessica41 * fix(i18n): resolve dead link in IT changing-hostname guide Legacy slug 'public-cloud-first-steps' was renamed to 'getting-started' on new-docs; the bundled port applied the contributor's link target verbatim without consulting the slug rename map. Fix the one resulting dead link caught by CI. * docs(vps): fix Nextcloud Docker Compose connectivity and persistence (#23) Port of legacy PR ovh/docs#9343. - Add dedicated `internal` network for db / redis / app services (fixes `getaddrinfo for db failed`). - Lowercase Redis image tag (`redis:7-alpine`) for registry compliance. - Correct MariaDB volume path to `/var/lib/mysql` (case-sensitive FS). - Persist Nextcloud `/config` so config.php survives container recreation. - Add `traefik.docker.network=proxy` label on app for correct routing. Legacy PR only touched en-gb + fr-fr; propagated to all 7 locales since the change is inside a language-agnostic Docker Compose code block. Original-URL: ovh/docs#9343 Original-author: @afiand * chore(cp-steps): strip markers from non-en locales of getting-started-cloud-web (#24) Port of legacy PR ovh/docs#9377. The legacy PR strips `CP-STEPS-START`/`CP-STEPS-END` markers from all non-en-gb locales across 86 guides. On new-docs, 85 of those guides already had markers removed entirely (prior NM migration cleaned up EN too). Only `getting-started-cloud-web` still carried markers in every locale, and all 7 locales there are real files (not symlinks), so each non-EN locale needed its own strip. EN is left untouched (still holds its CP-STEPS markers), consistent with the legacy PR keeping en-gb intact. Original-URL: ovh/docs#9377 Original-author: @benchbzh --------- Co-authored-by: bs-ovh <bs-ovh@ohv.com> Co-authored-by: bs-ovh <63296875+bs-ovh@users.noreply.github.com> Co-authored-by: Kazarus <78911684+Kazarus4@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of Pull Request is this?
Description
1. Networking & DNS Resolution
internalnetwork for thedb,redis, andappservices.php_network_getaddresses: getaddrinfo for db failed. Relying solely on theexternalproxy network caused Docker's internal service discovery to fail. A private bridge network ensures reliable communication between the application and its dependencies.2. Image Pull & Registry Compliance
redis:7-alpine).invalid reference format: repository name must be lowercase. Docker registry protocols require lowercase repository names; the previous uppercase "Redis" caused pull failures on standard Docker engines.3. Data Persistence & Integrity
/var/lib/mysqland added a persistent volume for the Nextcloud/configdirectory./var/www/html/config, users lose theirconfig.php(and thus their entire setup) whenever the container is updated or recreated.4. Traefik Routing Optimization
traefik.docker.network=proxylabel to theappservice.appcontainer is now attached to two networks (internalandproxy), this label is required to explicitly tell Traefik which network to use for routing public web traffic, preventing potential 502 Gateway Errors.Mandatory information
The translations in this Pull Request have been done using:
This Pull Request didn't require any translation.
This Pull Request can be merged as soon as possible.