Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navidrome not starting after fresh install or update #7336

Open
1 task done
nclro opened this issue Dec 30, 2024 · 2 comments
Open
1 task done

Navidrome not starting after fresh install or update #7336

nclro opened this issue Dec 30, 2024 · 2 comments
Labels
Solution available 🥂 Definite solution has been done Upstream change
Milestone

Comments

@nclro
Copy link

nclro commented Dec 30, 2024

ADMIN EDIT

Quick fix:

sudo chown -R root:root /opt/navidrome
sudo chmod +x /opt/navidrome/navidrome
sudo systemctl restart navidrome

Creating a bug report/issue

  • I have searched the existing open and closed issues

Required Information

  • DietPi version | cat /boot/dietpi/.version
    G_DIETPI_VERSION_CORE=9
    G_DIETPI_VERSION_SUB=9
    G_DIETPI_VERSION_RC=0
    G_GITBRANCH='master'
    G_GITOWNER='MichaIng'
    G_LIVE_PATCH_STATUS[0]='applied'
    G_LIVE_PATCH_STATUS[1]='not applied'
    G_LIVE_PATCH_STATUS[2]='not applicable'

  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
    bookworm 1

  • Kernel version | uname -a
    Linux raspi 6.1.21+ #1642 Mon Apr 3 17:19:14 BST 2023 armv6l GNU/Linux

Additional Information (if applicable)

  • Software title | Navidrome
  • Was the software title installed freshly or updated/migrated? Both

Steps to reproduce

  1. sudo dietpi-software reinstall 204

Expected behaviour

  • systemctl status navidrome should be enabled

Actual behaviour

  • systemctl status navidrome has failed status

Extra details

/opt/navidrome/navidrome hasn't got +x permission
the chmod +x step is missing (as stated in the doc )

sudo journalctl -u navidrome

Dec 30 14:32:43 raspi systemd[1]: Started navidrome.service - navidrome (DietPi).
Dec 30 14:32:44 raspi (avidrome)[11218]: navidrome.service: Failed to locate executable /opt/navidrome/navidrome: Permission denied
Dec 30 14:32:44 raspi (avidrome)[11218]: navidrome.service: Failed at step EXEC spawning /opt/navidrome/navidrome: Permission denied
Dec 30 14:32:44 raspi systemd[1]: navidrome.service: Main process exited, code=exited, status=203/EXEC
Dec 30 14:32:44 raspi systemd[1]: navidrome.service: Failed with result 'exit-code'.
Dec 30 14:32:44 raspi systemd[1]: navidrome.service: Consumed 1.028s CPU time.
Dec 30 14:32:45 raspi systemd[1]: navidrome.service: Scheduled restart job, restart counter is at 3.
Dec 30 14:32:45 raspi systemd[1]: Stopped navidrome.service - navidrome (DietPi).
Dec 30 14:32:45 raspi systemd[1]: navidrome.service: Consumed 1.028s CPU time.
Dec 30 14:32:45 raspi systemd[1]: navidrome.service: Start request repeated too quickly.
Dec 30 14:32:45 raspi systemd[1]: navidrome.service: Failed with result 'exit-code'.
Dec 30 14:32:45 raspi systemd[1]: Failed to start navidrome.service - navidrome (DietPi).
@MichaIng MichaIng added this to the v9.10 milestone Dec 30, 2024
@MichaIng
Copy link
Owner

Thanks for reporting. Indeed the new packaging with Navidrome 0.53 broke permissions, even ownership:

image

MichaIng added a commit that referenced this issue Dec 30, 2024
- DietPi-Software | Navidrome: Resolved an issue where the service failed to start, since the latest release archive does not ship with the needed permissions. Many thanks to @nclro for reporting this issue: #7336
@MichaIng MichaIng added the Solution available 🥂 Definite solution has been done label Dec 30, 2024
@MichaIng
Copy link
Owner

Fixed for next DietPi release: 6a539d1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Solution available 🥂 Definite solution has been done Upstream change
Projects
None yet
Development

No branches or pull requests

2 participants