Skip to content

omv: bumps default os to v13 (trixie) + network fix + omv-extras installation step#13690

Open
pedro-pereira-dev wants to merge 1 commit into
community-scripts:mainfrom
pedro-pereira-dev:omv-update
Open

omv: bumps default os to v13 (trixie) + network fix + omv-extras installation step#13690
pedro-pereira-dev wants to merge 1 commit into
community-scripts:mainfrom
pedro-pereira-dev:omv-update

Conversation

@pedro-pereira-dev
Copy link
Copy Markdown

✍️ Description

Creating a new PR following #13644 .

Changes done:

  • bumped base OS to trixie
  • added omv-extras installation step, installation option - it is not mandatory
  • fixed a network issue by restarting the system networking service caused by the omv installation - this issue was there from the previous version

Tests done:

  • update script on the current bookworm version of the container
  • new container created with the updated installation script
  • update script on the updated trixieversion of the container

I appreaciate your feedback and thanks :)

🔗 Related Issue

Fixes #

✅ Prerequisites (X in brackets)

  • Self-review completed – Code follows project standards.
  • Tested thoroughly – Changes work as expected.
  • No security risks – No hardcoded secrets, unnecessary privilege escalations, or permission issues.

🛠️ Type of Change (X in brackets)

  • 🐞 Bug fix – Resolves an issue without breaking functionality.
  • New feature – Adds new, non-breaking functionality.
  • 💥 Breaking change – Alters existing functionality in a way that may require updates.
  • 🆕 New script – A fully functional and tested script or script set.
  • 🌍 Website update – Changes to website-related JSON files or metadata.
  • 🔧 Refactoring / Code Cleanup – Improves readability or maintainability without changing functionality.
  • 📝 Documentation update – Changes to README, AppName.md, CONTRIBUTING.md, or other docs.

Comment thread ct/omv.sh Outdated
Comment thread ct/omv.sh Outdated
Comment thread install/omv-install.sh Outdated
Comment thread install/omv-install.sh Outdated
Comment thread install/omv-install.sh Outdated
Comment on lines +40 to +48
if whiptail \
--title "Customize OMV" \
--yesno "Would you like to add OMV-extras, plugins repository for OMV?\n(https://wiki.omv-extras.org/)" \
--defaultno \
8 60; then
msg_info "Installing OMV extras"
$STD bash <(curl -fsSL https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/install)
msg_ok "Installed OMV extras"
fi
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

whats that? Why if whiptail? why an bash?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

OMV-extras is a convenient way to add functionality to an OMV installation.
The reasoning behind add it as an installation step was purely for the users convenience, defaulting to skip the installation. If no value is seen in this I am completely fine about removing this block.

In regards to whiptail, that is the guidance in this documentation, please let me know otherwise.

why an bash?

Not sure I understand what you meant by this, can you please elaborate?

Thank you for the review!

Copy link
Copy Markdown
Author

@pedro-pereira-dev pedro-pereira-dev Apr 14, 2026

Choose a reason for hiding this comment

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

@MickLesk

Removed whiptail now
Please let me know if you would like this in any other way or for me to remove this last step

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@pedro-pereira-dev @MickLesk asked you why are you doing a bash call there when entire install is installing one .deb from their repo: https://github.com/OpenMediaVault-Plugin-Developers/packages/blob/master/openmediavault-omvextrasorg_latest_all8.deb

You should replace that bash call with:

fetch_and_deploy_from_url "https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/refs/heads/master/openmediavault-omvextrasorg_latest_all8.deb"

@michelroegl-brunner
Copy link
Copy Markdown
Member

Wouldn´t that not be better suites as a addon? Like we have in the addon folder. you might want to check it out. What do the other @community-scripts/contributor think?

@CrazyWolf13
Copy link
Copy Markdown
Member

I think as it's deeply built into omv I think it majes more sense to ditectly include it in omv installation and ask the user about it with a whiptail/read prompt, as I don't think writing a whole addon script for this is worth it, also consider (afaik)you only need to run it once to activate the repos and not like update it.

Comment thread install/omv-install.sh

export LANG=C.UTF-8
export DEBIAN_FRONTEND=noninteractive
echo "deb [signed-by=/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.gpg] http://packages.openmediavault.org/public synchrony main" >/etc/apt/sources.list.d/openmediavault.list
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you directly use our setup_deb822 func?

@github-actions
Copy link
Copy Markdown
Contributor

@pedro-pereira-dev This PR has been marked as stale. It will be closed if no new commits are added in 7 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants