Skip to content

Navidrome not starting after fresh install or update #7336

@nclro

Description

@nclro

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).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions