Navidrome update #1201

Closed
opened 2025-11-20 05:06:12 -05:00 by saavagebueno · 12 comments
Owner

Originally created by @desosav on GitHub (May 30, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Navidrome

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/navidrome.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📝 Provide a clear and concise description of the issue.

updating to the latest navidrom version generates the following (not sure if it successful or not)

Note, selecting 'navidrome' instead of '/tmp/tmp.MuIZhzXLdT.deb'
⠸ Updating Navidrome to v0.56.1Suggested packages:
  mpv
The following NEW packages will be installed:
  navidrome
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/17.2 MB of archives.
After this operation, 51.5 MB of additional disk space will be used.
Get:1 /tmp/tmp.MuIZhzXLdT.deb navidrome amd64 0.56.1 [17.2 MB]
⠦ Updating Navidrome to v0.56.1Selecting previously unselected package navidrome.
(Reading database ... 23118 files and directories currently installed.)
Preparing to unpack /tmp/tmp.MuIZhzXLdT.deb ...
Creating default Navidrome user
⠧ Updating Navidrome to v0.56.1useradd: warning: the home directory /var/lib/navidrome already exists.
useradd: Not copying any file from skel directory into it.
Unpacking navidrome (0.56.1) ...
⠹ Updating Navidrome to v0.56.1Setting up navidrome (0.56.1) ...
 _   _             _     _
| \ | |           (_)   | |
|  \| | __ ___   ___  __| |_ __ ___  _ __ ___   ___
| . ` |/ _` \ \ / / |/ _` | '__/ _ \| '_ ` _ \ / _ \
| |\  | (_| |\ V /| | (_| | | | (_) | | | | | |  __/
\_| \_/\__,_| \_/ |_|\__,_|_|  \___/|_| |_| |_|\___|
                          Version: 0.56.1 (fa2cf362)

Installing service with:
  working directory: /var/lib/navidrome
  music folder:      /opt/navidrome/music
  data folder:       /var/lib/navidrome
  logs folder:       /var/lib/navidrome
  config file:       /etc/navidrome/navidrome.toml
FATA[0000] Init already exists: /etc/systemd/system/navidrome.service 
⠸ Updating Navidrome to v0.56.1N: Download is performed unsandboxed as root as file '/tmp/tmp.MuIZhzXLdT.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
  ✔️   Updated Navidrome
  ✔️   Started Services
  ✔️   Cleaned
  ✔️   Updated Successfully

journactl -u navidrome.service reports that the following version is installed " Version: 0.55.2 (a057a680)"
The about section in the UI also shows version 0.55.2

🔄 Steps to reproduce the issue.

update navidrome

Paste the full error output (if available).

FATA[0000] Init already exists: /etc/systemd/system/navidrome.service
⠸ Updating Navidrome to v0.56.1N: Download is performed unsandboxed as root as file '/tmp/tmp.MuIZhzXLdT.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

🖼️ Additional context (optional).

No response

Originally created by @desosav on GitHub (May 30, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Navidrome ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/navidrome.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. updating to the latest navidrom version generates the following (not sure if it successful or not) ``` Note, selecting 'navidrome' instead of '/tmp/tmp.MuIZhzXLdT.deb' ⠸ Updating Navidrome to v0.56.1Suggested packages: mpv The following NEW packages will be installed: navidrome 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/17.2 MB of archives. After this operation, 51.5 MB of additional disk space will be used. Get:1 /tmp/tmp.MuIZhzXLdT.deb navidrome amd64 0.56.1 [17.2 MB] ⠦ Updating Navidrome to v0.56.1Selecting previously unselected package navidrome. (Reading database ... 23118 files and directories currently installed.) Preparing to unpack /tmp/tmp.MuIZhzXLdT.deb ... Creating default Navidrome user ⠧ Updating Navidrome to v0.56.1useradd: warning: the home directory /var/lib/navidrome already exists. useradd: Not copying any file from skel directory into it. Unpacking navidrome (0.56.1) ... ⠹ Updating Navidrome to v0.56.1Setting up navidrome (0.56.1) ... _ _ _ _ | \ | | (_) | | | \| | __ ___ ___ __| |_ __ ___ _ __ ___ ___ | . ` |/ _` \ \ / / |/ _` | '__/ _ \| '_ ` _ \ / _ \ | |\ | (_| |\ V /| | (_| | | | (_) | | | | | | __/ \_| \_/\__,_| \_/ |_|\__,_|_| \___/|_| |_| |_|\___| Version: 0.56.1 (fa2cf362) Installing service with: working directory: /var/lib/navidrome music folder: /opt/navidrome/music data folder: /var/lib/navidrome logs folder: /var/lib/navidrome config file: /etc/navidrome/navidrome.toml FATA[0000] Init already exists: /etc/systemd/system/navidrome.service ⠸ Updating Navidrome to v0.56.1N: Download is performed unsandboxed as root as file '/tmp/tmp.MuIZhzXLdT.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) ✔️ Updated Navidrome ✔️ Started Services ✔️ Cleaned ✔️ Updated Successfully ``` journactl -u navidrome.service reports that the following version is installed " Version: 0.55.2 (a057a680)" The about section in the UI also shows version 0.55.2 ### 🔄 Steps to reproduce the issue. update navidrome ### ❌ Paste the full error output (if available). FATA[0000] Init already exists: /etc/systemd/system/navidrome.service ⠸ Updating Navidrome to v0.56.1N: Download is performed unsandboxed as root as file '/tmp/tmp.MuIZhzXLdT.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) ### 🖼️ Additional context (optional). _No response_
saavagebueno added the bug label 2025-11-20 05:06:12 -05:00
Author
Owner

@MickLesk commented on GitHub (May 31, 2025):

permission denied is strange.

Can you redeploy the lxc and approve the issue? I cannot reproduce it with my installation. It is actually just a simple deb packet.

@MickLesk commented on GitHub (May 31, 2025): permission denied is strange. Can you redeploy the lxc and approve the issue? I cannot reproduce it with my installation. It is actually just a simple deb packet.
Author
Owner

@desosav commented on GitHub (Jun 1, 2025):

Not exactly sure what the issue was.
I did the following and it worked:

wget https://github.com/navidrome/navidrome/releases/download/v0.56.1/navidrome_0.56.1_linux_amd64.tar.gz -O Navidrome.tar.gz
sudo tar -xvzf Navidrome.tar.gz -C /opt/navidrome/
sudo chmod +x /opt/navidrome/navidrome

In the past i was able to easily update using the update command or the bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/navidrome.sh)" in the LXC console

@desosav commented on GitHub (Jun 1, 2025): Not exactly sure what the issue was. I did the following and it worked: ``` wget https://github.com/navidrome/navidrome/releases/download/v0.56.1/navidrome_0.56.1_linux_amd64.tar.gz -O Navidrome.tar.gz sudo tar -xvzf Navidrome.tar.gz -C /opt/navidrome/ sudo chmod +x /opt/navidrome/navidrome ``` In the past i was able to easily update using the `update` command or the `bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/navidrome.sh)"` in the LXC console
Author
Owner

@mattiadelwood commented on GitHub (Jun 5, 2025):

after executing the 3 commands above, did you run the 'update' command or have you done anything else? because I am getting the same error and I can't understand what is wrong.

Thanks!

@mattiadelwood commented on GitHub (Jun 5, 2025): after executing the 3 commands above, did you run the 'update' command or have you done anything else? because I am getting the same error and I can't understand what is wrong. Thanks!
Author
Owner

@desosav commented on GitHub (Jun 5, 2025):

Hi @mattiadelwood , no i did not.
If my memory serves me right, after the 3 commands i have also run the following systemctl daemon-reload

I tried to follow the linux upgrade instructions provided in this link https://www.navidrome.org/docs/installation/linux/

@desosav commented on GitHub (Jun 5, 2025): Hi @mattiadelwood , no i did not. If my memory serves me right, after the 3 commands i have also run the following `systemctl daemon-reload` I tried to follow the linux upgrade instructions provided in this link https://www.navidrome.org/docs/installation/linux/
Author
Owner

@mattiadelwood commented on GitHub (Jun 5, 2025):

thank you @desosav ! the daemon reload and a lxc reboot it seems to have finally fixed it!

@mattiadelwood commented on GitHub (Jun 5, 2025): thank you @desosav ! the daemon reload and a lxc reboot it seems to have finally fixed it!
Author
Owner

@2600box commented on GitHub (Jun 27, 2025):

Just for contributing data and for the information of others, I went to update Navidrome with this command: bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/navidrome.sh)"

It resulted in the same error and failed to update:

Installing service with:
  working directory: /var/lib/navidrome
  music folder:      /opt/navidrome/music
  data folder:       /var/lib/navidrome
  logs folder:       /var/lib/navidrome
  config file:       /etc/navidrome/navidrome.toml
FATA[0000] Init already exists: /etc/systemd/system/navidrome.service 
N: Download is performed unsandboxed as root as file '/tmp/tmp.gxx78XKkHt.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

I then did a reboot of the lxc and ran update and it worked...

@2600box commented on GitHub (Jun 27, 2025): Just for contributing data and for the information of others, I went to update Navidrome with this command: bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/navidrome.sh)" It resulted in the same error and failed to update: ``` Installing service with: working directory: /var/lib/navidrome music folder: /opt/navidrome/music data folder: /var/lib/navidrome logs folder: /var/lib/navidrome config file: /etc/navidrome/navidrome.toml FATA[0000] Init already exists: /etc/systemd/system/navidrome.service N: Download is performed unsandboxed as root as file '/tmp/tmp.gxx78XKkHt.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) ``` I then did a reboot of the lxc and ran `update` and it worked...
Author
Owner

@johndoe0815 commented on GitHub (Aug 26, 2025):

This should be reopened, I have the same issue, Navidrome remains at 0.55.2.
Update via
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/navidrome.sh)"
indicates that it was successful, running it again provides
✔️ No update required. Navidrome is already at 0.58.0

The about screen in Navidrome however still shows 0.55.2.
Running
journalctl -u navidrome.service
also shows that I am actually still on 0.55.2.

I rebooted the LXC several times and also tried a
systemctl daemon-reload
No change, remains on 0.55.2.
How to fix this? Can't be a coincidence that it remains on the same version for multiple people.

@johndoe0815 commented on GitHub (Aug 26, 2025): This should be reopened, I have the same issue, Navidrome remains at 0.55.2. Update via `bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/navidrome.sh)"` indicates that it was successful, running it again provides ` ✔️ No update required. Navidrome is already at 0.58.0` The about screen in Navidrome however still shows 0.55.2. Running `journalctl -u navidrome.service` also shows that I am actually still on 0.55.2. I rebooted the LXC several times and also tried a `systemctl daemon-reload` No change, remains on 0.55.2. How to fix this? Can't be a coincidence that it remains on the same version for multiple people.
Author
Owner

@MickLesk commented on GitHub (Aug 26, 2025):

Image

edit ~/.navidrome file and try again. its just an simple deb package

@MickLesk commented on GitHub (Aug 26, 2025): <img width="475" height="257" alt="Image" src="https://github.com/user-attachments/assets/7749e98d-c7b4-4aca-9601-82e9150d1ed1" /> edit ~/.navidrome file and try again. its just an simple deb package
Author
Owner

@johndoe0815 commented on GitHub (Aug 26, 2025):

Image

Shows the latest version number. I guess this is why the update also says I am on the latest release?! Saved and rebooted. Still:

Image
@johndoe0815 commented on GitHub (Aug 26, 2025): <img width="756" height="86" alt="Image" src="https://github.com/user-attachments/assets/13b0bbf2-8ef6-40d3-9ed0-88663b737780" /> Shows the latest version number. I guess this is why the update also says I am on the latest release?! Saved and rebooted. Still: <img width="592" height="434" alt="Image" src="https://github.com/user-attachments/assets/fb6aa9d9-435b-4a9b-b9af-8ec0b539e6a1" />
Author
Owner

@MickLesk commented on GitHub (Aug 26, 2025):

you should change this... and then update again

@MickLesk commented on GitHub (Aug 26, 2025): you should change this... and then update again
Author
Owner

@johndoe0815 commented on GitHub (Aug 26, 2025):

Ah okay. Changed it to 0.55.2 and updated again, ran through in a couple of seconds,

Image

but still no change, rebooted and tried different browsers, remains at 0.55.2.

@johndoe0815 commented on GitHub (Aug 26, 2025): Ah okay. Changed it to 0.55.2 and updated again, ran through in a couple of seconds, <img width="499" height="198" alt="Image" src="https://github.com/user-attachments/assets/0147d328-7d5f-495e-9271-5b2a296647a8" /> but still no change, rebooted and tried different browsers, remains at 0.55.2.
Author
Owner

@MickLesk commented on GitHub (Aug 26, 2025):

Then idk, its the official way from navidrome. (Download deb File and APT Install it)

@MickLesk commented on GitHub (Aug 26, 2025): Then idk, its the official way from navidrome. (Download deb File and APT Install it)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#1201