swizzin / swizzin

A simple, modular seedbox solution
https://swizzin.ltd
GNU General Public License v3.0
1.99k stars 309 forks source link

[BUG] navidrome failing on installation #1100

Open Sockolet opened 7 months ago

Sockolet commented 7 months ago

What happened?

Steps to reproduce:

  1. Install package 'navidrome'
  2. It fails with
  3. Error: Extracting archive tar: This does not look like a tar archive

gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now [Thu Nov 23 22:35:13] ERROR Failed to extract ERROR Failed to extract

Expected results: get navidrome installed normally

Swizzin commit

5253f36

What OS are you using?

Ubuntu 22.04 (Jammy)

What architecture is your OS?

amd64

Relevant logs and output

No response

gaarysn commented 6 months ago

Hi. Same on Debian 12.

[Thu Nov 30 09:36:02] LOG       >>>> `box install navidrome`
[Thu Nov 30 09:36:02] LOG       git @ 5253f36 2>&1
[Thu Nov 30 09:36:02] INFO      Installing navidrome
[Thu Nov 30 09:36:02] DOCS      Further reference: https://swizzin.ltd/applications/navidrome
[Thu Nov 30 09:36:02] ...       Making data directory
[Thu Nov 30 09:36:02]   ✔   Data Directory created.
[Thu Nov 30 09:36:02] ...       Downloading release archive
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
^M  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0^M100     9  100     9    0     0     43      0 --:--:-- --:--:-- --:--:--    43
[Thu Nov 30 09:36:03]   ✔   Archive downloaded
[Thu Nov 30 09:36:03] ...       Extracting archive
tar: This does not look like a tar archive

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
[Thu Nov 30 09:36:03] ERROR     Failed to extract
[Thu Nov 30 09:36:03]   Please consult the above and/or check the log (less -R +G /root/logs/swizzin.log)
Adjokip commented 6 months ago

It fails as the URL changed for the past two releases.

From: https://github.com/navidrome/navidrome/releases/download/v{version}/navidrome_{version}_Linux_x86_64.tar.gz To: https://github.com/navidrome/navidrome/releases/download/v{version}/navidrome_{version}_Linux_amd64.tar.gz

The PR above fixes it, it's a single line change.

NitroNine commented 6 months ago

Any idea when this will be fixed?