Hello,
here are two BananaPi and one OrangePi with OMV 5 running very satisfactorily and reliably for several months.
Can these devices be updated to OMV 6 and what is required for this?
Many greetings.
Hello,
here are two BananaPi and one OrangePi with OMV 5 running very satisfactorily and reliably for several months.
Can these devices be updated to OMV 6 and what is required for this?
Many greetings.
You need Debian 11 (Bullseye) version for ARM. Preferably Armbian.
https://www.debian.org/devel/debian-installer/index.de.html
And note, that OMV6 is Alpha.
Hello,
here are two BananaPi and one OrangePi with OMV 5 running very satisfactorily and reliably for several months.
Can these devices be updated to OMV 6 and what is required for this?
Many greetings.
if you actually use these, that would seem like a recipe for frustration. If they are just sitting around, should be easy enough
Hey,
Today I successfully upgraded my BananaPi and my OrangePiPC+ with omv-release-upgrade. Many thanks at ryecoaaron and at all the Developer for your great work.
old: 5.6.21 - 2 (Usul)
new: 6.0.5 -3 (Shaitan)
With best regards.
Hi, nun ist doch noch ein paar kleine Probleme aufgetreten.
Auf dem OrangePiPC+ wird unter "Dienste" MiniDLNA nicht angezeigt, obwohl das MiniDLNA-Plugin installiert ist.
Bei den beiden BananaPi M1 sind nach dem Upgrade von Buster auf Bullseye mit omv-release-upgrade ein Haufen Fehler aufgetreten, weil das Armbian nicht mitgezogen wurde. Es blieb nach wie vor bei Buster.
Ich habe nun die beiden BananaPi M1 mit einem Armbian Bullseye neu aufgesetzt, alles funktioniert gut, auch das MiniDLNA-Plugin.
Leider gibt es für den OrangePiPC+ kein Armbian Bullseye, sondern nur Armbian Buster. Wie kann ich es trotzdem schaffen, DLNA unter Dienste angezeigt zu bekommen, um den Dienst aufrufen und konfigurieren zu können?
Viele Grüße und danke.
Hi, now a few small problems have occurred after all.
On the OrangePiPC+, MiniDLNA is not displayed under "Services", although the MiniDLNA plug-in is installed.
After upgrading from Buster to Bullseye with omv-release-upgrade, a bunch of errors occurred on the two BananaPi M1s because the Armbian was not pulled along. It still remained with Buster.
I have now rebuilt the two BananaPi M1s with an Armbian Bullseye, everything works fine, including the MiniDLNA plugin.
Unfortunately there is no Armbian Bullseye for the OrangePiPC+, only Armbian Buster. How can I still manage to get DLNA displayed under Services to be able to call and configure the service?
Many greetings and thank you.
Armbian unterstützt offiziell kein Upgrade. Du könntest versuchen zunächst Armbian Buster zu installieren und nach einer Debian Anleitung abzugraden. Oder du installierst Debian Bullseye und dann OMV.
Hast du schon versucht den browser cache zu leeren?
Als nächstes würde ich das Plugin nochmal entfernen und dann neu installieren.
Wenn es danach und einem weiteren Löschen des browser caches und Ctrl+Shift+R nicht erscheint, poste mal die Ausgabe von
dpkg -l | grep openmedia
Hallo macom,
von Edge, Chrome, Opera und Firefox den Browser-Cache geleert, ohne Erfolg, der DLNA-Dienst wird unter Dienste nicht angezeigt. Danach das Plugin deinstalliert, reboot und das Plugin wieder installiert, wieder die Caches bei allen Browsern gelöscht, Problem noch nicht gelöst.
root@OrangePiPC:~# dpkg -l | grep openmedia
ii openmediavault 6.0.5-3 all openmediavault - The open network attached storage solution
ii openmediavault-anacron 5.0.3 all anacron plugin for OpenMediaVault.
ii openmediavault-flashmemory 5.0.9 all folder2ram plugin for OpenMediaVault
ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
ii openmediavault-minidlna 5.0.5 all OpenMediaVault miniDLNA (DLNA server) plugin
ii openmediavault-omvextrasorg 5.6.5 all OMV-Extras.org Package Repositories for OpenMediaVault
root@OrangePiPC:~#
Wenn es weitere Tipps gibt, bitte hierher schreiben. Ansonsten müsste ich nochmals neu aufsetzen.
Vielen Dank für Deine Mühe und schöne Grüße.
Die Plugins sind auf OMV5.
Falls die Ausgabe von cat /usr/sbin/omv-mkaptidx wenig bis nichts it, schau mal hier:
RE: omv extras 6.0.4 does not show correctly after upgrade from 5.x.x
Das Installationsscript macht ja nicht viel,
- feststellen, welche omv version installiert ist,
- alte repos löschen
- passendes paket runterladen und
- installieren.
Mach das mal "zu Fuss"
In den anderen Fällen war glaube ich nur die Anzeige in omv "schief."
Ein Punkt, bei dem das Skript scheitert ist, wenn die omv-extras repos nicht in
definiert sind.
@
root@OrangePiPC:~# cat /usr/sbin/omv-mkaptidx
#!/usr/bin/env python3
#
# This file is part of OpenMediaVault.
#
# @license http://www.gnu.org/licenses/gpl.html GPL Version 3
# @author Volker Theile <volker.theile@openmediavault.org>
# @copyright Copyright (c) 2009-2021 Volker Theile
#
# OpenMediaVault is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# any later version.
#
# OpenMediaVault is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenMediaVault. If not, see <http://www.gnu.org/licenses/>.
import json
import re
# The following error might happen from time to time.
#
# Traceback (most recent call last):
# File "/usr/sbin/omv-mkaptidx", line 27, in <module>
# import openmediavault
# EOFError: EOF read where not expected
#
# To analyse the error execute:
# python3 -vc 'import openmediavault'
#
# To fix this error simply execute the following command:
# rm -f /usr/lib/python3/dist-packages/__pycache__/openmediavault.cpython-32.pyc
import sys
import apt
import openmediavault.productinfo
import openmediavault
pi = openmediavault.productinfo.ProductInfo()
class OpenMediaVaultPluginsFilter(apt.cache.Filter):
"""
Filter that returns all openmediavault plugins except the packages:
- openmediavault
- openmediavault-keyring
"""
def apply(self, pkg):
m = re.match(r"^%s-(\S+)$" % pi.package_name, pkg.name)
if not m:
return False
if m.group(1) == "keyring":
return False
return True
def get_extended_description(raw_description):
"""
Return the extended description according to the Debian policy
(Chapter 5.6.13).
See http://www.debian.org/doc/debian-policy/ch-controlfields.html
for more information.
"""
parts = raw_description.partition("\n")
lines = parts[2].split("\n")
for i, line in enumerate(lines):
lines[i] = line.strip()
if lines[i] == ".":
lines[i] = "\n"
return "\n".join(lines)
def get_value(f, default=None):
"""
:param f: The function to be executed.
:type f: callable
:param default: The default value. Defaults to ``None``.
:type default: str|int|None
:return: Returns the specified value, otherwise the default on failure.
"""
try:
return f()
except SystemError:
pass
return default
cache = apt.cache.Cache()
# Create the '/var/lib/openmediavault/apt/upgradeindex.json' file.
print("Creating index of upgradeable packages ...")
data = []
cache.upgrade(True)
for pkg in cache.get_changes():
if pkg.candidate is None:
continue
data.append({
"name": pkg.name,
"oldversion": pkg.installed.version if pkg.is_installed and pkg.installed is not None else "",
"repository": "{}/{}".format(pkg.candidate.origins[0].label, pkg.candidate.origins[0].archive)
if pkg.candidate.origins is not None else "",
"package": pkg.candidate.record.get("Package"),
"source": pkg.candidate.source_name,
"sourceversion": pkg.candidate.source_version,
"version": pkg.candidate.version,
"installedsize": pkg.candidate.size,
"maintainer": pkg.candidate.record.get("Maintainer", ""),
"architecture": pkg.candidate.architecture,
"depends": pkg.candidate.record.get("Depends", ""),
"suggests": pkg.candidate.record.get("Suggests", ""),
"conflicts": pkg.candidate.record.get("Conflicts", ""),
"breaks": pkg.candidate.record.get("Breaks", ""),
"abstract": pkg.candidate.summary, # Deprecated
"summary": pkg.candidate.summary,
"description": pkg.candidate.record.get("Description", ""),
"extendeddescription": get_extended_description(pkg.candidate.raw_description),
"homepage": pkg.candidate.homepage,
"descriptionmd5": pkg.candidate.record.get("Description-md5", ""),
"multiarch": pkg.candidate.record.get("Multi-Arch", ""),
"predepends": pkg.candidate.record.get("Pre-Depends", ""),
"section": pkg.candidate.section,
"priority": pkg.candidate.priority,
"filename": pkg.candidate.filename,
"size": pkg.candidate.size,
"md5sum": get_value(lambda: pkg.candidate.md5),
"sha1": get_value(lambda: pkg.candidate.sha1),
"sha256": get_value(lambda: pkg.candidate.sha256),
"uri": pkg.candidate.uri,
"uris": pkg.candidate.uris
})
with open(
openmediavault.getenv(
'OMV_APT_UPGRADE_INDEX_FILE',
'/var/lib/openmediavault/apt/upgradeindex.json'
), 'w'
) as outfile:
json.dump(data, outfile, sort_keys=True, indent=4)
# Create the '/var/lib/openmediavault/apt/pluginsindex.json' file.
print("Creating index of %s plugins ..." % pi.name)
data = []
cache = apt.cache.Cache()
filtered = apt.cache.FilteredCache(cache)
filtered.set_filter(OpenMediaVaultPluginsFilter())
for pkg in filtered:
if pkg.candidate is None:
continue
data.append({
"name": pkg.name,
"repository": "{}/{}".format(pkg.candidate.origins[0].label, pkg.candidate.origins[0].archive)
if pkg.candidate.origins is not None else "",
"package": pkg.candidate.record.get("Package"),
"version": pkg.candidate.version,
"installedsize": pkg.candidate.size,
"maintainer": pkg.candidate.record.get("Maintainer", ""),
"architecture": pkg.candidate.architecture,
"depends": pkg.candidate.record.get("Depends", ""),
"suggests": pkg.candidate.record.get("Suggests", ""),
"conflicts": pkg.candidate.record.get("Conflicts", ""),
"breaks": pkg.candidate.record.get("Breaks", ""),
"abstract": pkg.candidate.summary, # Deprecated
"summary": pkg.candidate.summary,
"description": pkg.candidate.record.get("Description", ""),
"extendeddescription": get_extended_description(pkg.candidate.raw_description),
"homepage": pkg.candidate.homepage,
"descriptionmd5": pkg.candidate.record.get("Description-md5", ""),
"multiarch": pkg.candidate.record.get("Multi-Arch", ""),
"predepends": pkg.candidate.record.get("Pre-Depends", ""),
"section": pkg.candidate.section,
"pluginsection": pkg.candidate.record.get("Plugin-Section", ""),
"priority": pkg.candidate.priority,
"filename": pkg.candidate.filename,
"size": pkg.candidate.size,
"md5sum": get_value(lambda: pkg.candidate.md5),
"sha1": get_value(lambda: pkg.candidate.sha1),
"sha256": get_value(lambda: pkg.candidate.sha256),
"installed": pkg.is_installed
})
with open(
openmediavault.getenv(
'OMV_APT_PLUGINS_INDEX_FILE',
'/var/lib/openmediavault/apt/pluginsindex.json'
), 'w'
) as outfile:
json.dump(data, outfile, sort_keys=True, indent=4)
sys.exit(0)
root@OrangePiPC:~#
Alles anzeigen
Das was in Deinem Link steht, mache ich noch und berichte hier.
Danke nochmals.
Edit:
Hat nichts gebracht, auch nach einem Reboot nicht, das Anzeigeproblem besteht nach wie vor.
Das Upgradescript von Buster auf Bullseye hat mir insgesamt nicht so sehr viel geholfen, von Anfang an hätte mir neuaufsetzen eine Menge Zeit erspart. Versiertere Anwender würden wahrscheinlich weniger Probleme damit haben. Es wird vor dem Upgrade darauf hingewiesen, dass man seine Plugins auf Kompatibilität überprüfen soll, das habe ich aus Bequemlichkeit nicht gemacht.
Ich setze nun neu auf
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!