[PR #19247] [MERGED] Closes #17136: Add read-only database support to the upgrade script #15576

Closed
opened 2025-12-30 00:22:49 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19247
Author: @jeremystretch
Created: 4/21/2025
Status: Merged
Merged: 4/22/2025
Merged by: @arthanson

Base: mainHead: 17136-upgrade-script-readonly


📝 Commits (1)

  • 4ac1c5a Closes #17136: Add read-only database support to the upgrade script

📊 Changes

3 files changed (+22 additions, -4 deletions)

View changed files

📝 docs/installation/3-netbox.md (+4 -1)
📝 docs/installation/upgrading.md (+3 -0)
📝 upgrade.sh (+15 -3)

📄 Description

Fixes: #17136

Skip database migrations when calling the upgrade.sh script with --readonly


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/19247 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 4/21/2025 **Status:** ✅ Merged **Merged:** 4/22/2025 **Merged by:** [@arthanson](https://github.com/arthanson) **Base:** `main` ← **Head:** `17136-upgrade-script-readonly` --- ### 📝 Commits (1) - [`4ac1c5a`](https://github.com/netbox-community/netbox/commit/4ac1c5ae27dfb7b7ff3392205d040053bbf46c11) Closes #17136: Add read-only database support to the upgrade script ### 📊 Changes **3 files changed** (+22 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `docs/installation/3-netbox.md` (+4 -1) 📝 `docs/installation/upgrading.md` (+3 -0) 📝 `upgrade.sh` (+15 -3) </details> ### 📄 Description ### Fixes: #17136 Skip database migrations when calling the `upgrade.sh` script with `--readonly` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 00:22:49 +01:00
adam closed this issue 2025-12-30 00:22:49 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15576