release: v0.1.1 - fix plugin.plg <URL>/<MD5> formatting bug
v0.1.0's <URL>/<MD5> entity values were split across their own lines
inside the tags. Unraid's plugin manager (scripts/plugin, see download())
passes that raw text straight into a `wget ... -O $name $url` shell
command without trimming whitespace, so the leading newline split the
command in two: wget got no URL argument ("wget: missing URL") and the
URL text itself ran as a separate, failing shell command
("sh: line 2: https://...: No such file or directory") — which the
installer then reported as "download failure: zero-length file",
looking like a network problem when it was a formatting bug.
Confirmed live: v0.1.0 fails to install on a real Unraid host (reproduced
via the plugin manager's own CLI, scripts/plugin install, not just the
webGUI). Every real Unraid plugin keeps <URL>...</URL> on one line
(verified against unassigned.devices.plg on the same host) — this fix
matches that convention. Package contents are unchanged from v0.1.0; only
podman.plg's XML formatting and the version/baseURL entities are bumped.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -9,6 +9,20 @@ see [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md#52-build-strategie)).
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.1.1] - 2026-07-13
|
||||
|
||||
### Fixed
|
||||
- `plugin/podman.plg`'s `<URL>`/`<MD5>` entity values were split across their
|
||||
own lines (`<URL>\n&baseURL;/...\n</URL>`) — Unraid's plugin manager passes
|
||||
that text straight into a `wget ... -O <name> <url>` shell command without
|
||||
trimming it, so the leading newline broke the command in two: `wget` saw no
|
||||
URL argument at all, and the URL text ran on the next line as its own
|
||||
(failing) shell command. Every real Unraid plugin (verified against
|
||||
`unassigned.devices.plg` on a live host) keeps `<URL>...</URL>` on one
|
||||
line — found by running the plugin installer's own CLI (`scripts/plugin
|
||||
install`) directly on a real Unraid host and reading its raw output,
|
||||
rather than trusting the webGUI's summarized install log.
|
||||
|
||||
## [0.1.0] - 2026-07-12
|
||||
|
||||
### Added
|
||||
|
||||
+26
-70
@@ -50,7 +50,7 @@
|
||||
<!DOCTYPE PLUGIN [
|
||||
<!ENTITY name "podman">
|
||||
<!ENTITY author "unraid-podman contributors">
|
||||
<!ENTITY version "0.1.0">
|
||||
<!ENTITY version "0.1.1">
|
||||
<!-- "Podman" (no parent) — Podman.page declares Menu="Podman", making it
|
||||
its own top-level nav tab next to Docker/VMs, not nested under
|
||||
Settings — see webui/plugins/podman/Podman.page. -->
|
||||
@@ -69,7 +69,7 @@
|
||||
<!-- Release asset base — matches scripts/release.sh's RELEASE_BASE_URL
|
||||
exactly; both must agree since release.sh is what publishes the
|
||||
packages this URL is expected to find. -->
|
||||
<!ENTITY baseURL "https://git.mp-mueller.de/magges/unraid-podman/releases/download/v0.1.0">
|
||||
<!ENTITY baseURL "https://git.mp-mueller.de/magges/unraid-podman/releases/download/v0.1.1">
|
||||
|
||||
<!-- Slackware package naming components — must match versions.env's
|
||||
PKG_ARCH/PKG_BUILD/PKG_TAG (see that file). Kept as entities here so
|
||||
@@ -141,8 +141,8 @@
|
||||
version always equals the plugin's own &version; — see
|
||||
packages/unraid-podman/unraid-podman.SlackBuild, which reads it
|
||||
straight out of this very file rather than tracking it twice. -->
|
||||
<!ENTITY unraid_podman_txz_version "0.1.0">
|
||||
<!ENTITY unraid_podman_txz_file "unraid-podman-0.1.0-x86_64-1_unraidpodman.txz">
|
||||
<!ENTITY unraid_podman_txz_version "0.1.1">
|
||||
<!ENTITY unraid_podman_txz_file "unraid-podman-0.1.1-x86_64-1_unraidpodman.txz">
|
||||
<!ENTITY unraid_podman_txz_md5 "25e5933e113e09bfa07c0d5169ccac18">
|
||||
]>
|
||||
|
||||
@@ -201,93 +201,53 @@ fi
|
||||
-->
|
||||
|
||||
<FILE Name="/boot/config/plugins/&name;/backup/packages/&version;/&podman_txz_file;" Run="upgradepkg --install-new --reinstall">
|
||||
<URL>
|
||||
&baseURL;/&podman_txz_file;
|
||||
</URL>
|
||||
<MD5>
|
||||
&podman_txz_md5;
|
||||
</MD5>
|
||||
<URL>&baseURL;/&podman_txz_file;</URL>
|
||||
<MD5>&podman_txz_md5;</MD5>
|
||||
</FILE>
|
||||
|
||||
<FILE Name="/boot/config/plugins/&name;/backup/packages/&version;/&conmon_txz_file;" Run="upgradepkg --install-new --reinstall">
|
||||
<URL>
|
||||
&baseURL;/&conmon_txz_file;
|
||||
</URL>
|
||||
<MD5>
|
||||
&conmon_txz_md5;
|
||||
</MD5>
|
||||
<URL>&baseURL;/&conmon_txz_file;</URL>
|
||||
<MD5>&conmon_txz_md5;</MD5>
|
||||
</FILE>
|
||||
|
||||
<FILE Name="/boot/config/plugins/&name;/backup/packages/&version;/&crun_txz_file;" Run="upgradepkg --install-new --reinstall">
|
||||
<URL>
|
||||
&baseURL;/&crun_txz_file;
|
||||
</URL>
|
||||
<MD5>
|
||||
&crun_txz_md5;
|
||||
</MD5>
|
||||
<URL>&baseURL;/&crun_txz_file;</URL>
|
||||
<MD5>&crun_txz_md5;</MD5>
|
||||
</FILE>
|
||||
|
||||
<FILE Name="/boot/config/plugins/&name;/backup/packages/&version;/&netavark_txz_file;" Run="upgradepkg --install-new --reinstall">
|
||||
<URL>
|
||||
&baseURL;/&netavark_txz_file;
|
||||
</URL>
|
||||
<MD5>
|
||||
&netavark_txz_md5;
|
||||
</MD5>
|
||||
<URL>&baseURL;/&netavark_txz_file;</URL>
|
||||
<MD5>&netavark_txz_md5;</MD5>
|
||||
</FILE>
|
||||
|
||||
<FILE Name="/boot/config/plugins/&name;/backup/packages/&version;/&aardvark_dns_txz_file;" Run="upgradepkg --install-new --reinstall">
|
||||
<URL>
|
||||
&baseURL;/&aardvark_dns_txz_file;
|
||||
</URL>
|
||||
<MD5>
|
||||
&aardvark_dns_txz_md5;
|
||||
</MD5>
|
||||
<URL>&baseURL;/&aardvark_dns_txz_file;</URL>
|
||||
<MD5>&aardvark_dns_txz_md5;</MD5>
|
||||
</FILE>
|
||||
|
||||
<FILE Name="/boot/config/plugins/&name;/backup/packages/&version;/&passt_txz_file;" Run="upgradepkg --install-new --reinstall">
|
||||
<URL>
|
||||
&baseURL;/&passt_txz_file;
|
||||
</URL>
|
||||
<MD5>
|
||||
&passt_txz_md5;
|
||||
</MD5>
|
||||
<URL>&baseURL;/&passt_txz_file;</URL>
|
||||
<MD5>&passt_txz_md5;</MD5>
|
||||
</FILE>
|
||||
|
||||
<FILE Name="/boot/config/plugins/&name;/backup/packages/&version;/&fuse_overlayfs_txz_file;" Run="upgradepkg --install-new --reinstall">
|
||||
<URL>
|
||||
&baseURL;/&fuse_overlayfs_txz_file;
|
||||
</URL>
|
||||
<MD5>
|
||||
&fuse_overlayfs_txz_md5;
|
||||
</MD5>
|
||||
<URL>&baseURL;/&fuse_overlayfs_txz_file;</URL>
|
||||
<MD5>&fuse_overlayfs_txz_md5;</MD5>
|
||||
</FILE>
|
||||
|
||||
<FILE Name="/boot/config/plugins/&name;/backup/packages/&version;/&catatonit_txz_file;" Run="upgradepkg --install-new --reinstall">
|
||||
<URL>
|
||||
&baseURL;/&catatonit_txz_file;
|
||||
</URL>
|
||||
<MD5>
|
||||
&catatonit_txz_md5;
|
||||
</MD5>
|
||||
<URL>&baseURL;/&catatonit_txz_file;</URL>
|
||||
<MD5>&catatonit_txz_md5;</MD5>
|
||||
</FILE>
|
||||
|
||||
<FILE Name="/boot/config/plugins/&name;/backup/packages/&version;/&nftables_txz_file;" Run="upgradepkg --install-new --reinstall">
|
||||
<URL>
|
||||
&baseURL;/&nftables_txz_file;
|
||||
</URL>
|
||||
<MD5>
|
||||
&nftables_txz_md5;
|
||||
</MD5>
|
||||
<URL>&baseURL;/&nftables_txz_file;</URL>
|
||||
<MD5>&nftables_txz_md5;</MD5>
|
||||
</FILE>
|
||||
|
||||
<FILE Name="/boot/config/plugins/&name;/backup/packages/&version;/&podman_compose_txz_file;" Run="upgradepkg --install-new --reinstall">
|
||||
<URL>
|
||||
&baseURL;/&podman_compose_txz_file;
|
||||
</URL>
|
||||
<MD5>
|
||||
&podman_compose_txz_md5;
|
||||
</MD5>
|
||||
<URL>&baseURL;/&podman_compose_txz_file;</URL>
|
||||
<MD5>&podman_compose_txz_md5;</MD5>
|
||||
</FILE>
|
||||
|
||||
<!--
|
||||
@@ -296,12 +256,8 @@ fi
|
||||
packages/unraid-podman/README.md.
|
||||
-->
|
||||
<FILE Name="/boot/config/plugins/&name;/backup/packages/&version;/&unraid_podman_txz_file;" Run="upgradepkg --install-new --reinstall">
|
||||
<URL>
|
||||
&baseURL;/&unraid_podman_txz_file;
|
||||
</URL>
|
||||
<MD5>
|
||||
&unraid_podman_txz_md5;
|
||||
</MD5>
|
||||
<URL>&baseURL;/&unraid_podman_txz_file;</URL>
|
||||
<MD5>&unraid_podman_txz_md5;</MD5>
|
||||
</FILE>
|
||||
|
||||
<!--
|
||||
|
||||
Reference in New Issue
Block a user