linuxserver / docker-nzbget

GNU General Public License v3.0
144 stars 84 forks source link

s6-supervise custom-svc-README.txt (child): fatal: unable to exec run: Exec format error #153

Closed mackay2k4 closed 1 year ago

mackay2k4 commented 1 year ago

linuxserver.io

Since today I have trouble starting the latest image. I get the following error:

6-supervise custom-svc-README.txt (child): fatal: unable to exec run: Exec format error s6-supervise custom-svc-README.txt: warning: unable to spawn ./run - waiting 10 seconds

using an older image (linuxserver/nzbget:21.1.20220707) everything works.


Expected Behavior

nzbget should start

Current Behavior

nzbget does not start

Steps to Reproduce

  1. use latest image (tag 21.1.20220922) -> does not work
  2. use older image (tag 21.1.20220707) -> it works

Environment

OS: Synology DS1019+ CPU architecture: x86_64 How docker service was installed: Synology DSM Packagemanager - Version 20.10.3-1308

Command used to create docker container (run/create/compose/screenshot)

  nzbget:
    image: "linuxserver/nzbget:latest"
    container_name: "nzbget"
    restart: always
    volumes:
      - /volume1/docker/nzbget:/config
      - /volume1/nzbtemp/completed:/downloads
      - /volume1/nzbtemp/incomplete:/incomplete-downloads
      - /volume1/docker/shared:/shared
      - /volume1/docker/nzbget/scripts:/scripts
    ports:
      - "9082:6789"
    environment:
      - PUID=1028
      - PGID=100
      - TZ="Europe/Berlin"

Docker logs

/config/custom-cont-init.d/README.txt: line 11: data: command not found
/config/custom-cont-init.d/README.txt: line 12: data: command not found
/config/custom-cont-init.d/README.txt: line 13: data: command not found
/config/custom-cont-init.d/README.txt: line 14: data: command not found
[custom-init] README.txt: exited 127
[custom-init] userscript.sh: executing...
fetch http://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz
(1/54) Installing sdl2 (2.0.16-r4)
(2/54) Installing libxau (1.0.9-r0)
(3/54) Installing libmd (1.0.3-r0)
(4/54) Installing libbsd (0.11.3-r1)
(5/54) Installing libxdmcp (1.1.3-r0)
(6/54) Installing libxcb (1.14-r2)
(7/54) Installing libx11 (1.7.2-r0)
(8/54) Installing aom-libs (3.2.0-r0)
(9/54) Installing alsa-lib (1.2.5.1-r1)
(10/54) Installing libpng (1.6.37-r1)
(11/54) Installing freetype (2.11.1-r2)
(12/54) Installing libuuid (2.37.4-r0)
(13/54) Installing fontconfig (2.13.1-r4)
(14/54) Installing fribidi (1.0.11-r0)
(15/54) Installing libblkid (2.37.4-r0)
(16/54) Installing libmount (2.37.4-r0)
(17/54) Installing pcre (8.45-r1)
(18/54) Installing glib (2.70.1-r0)
(19/54) Installing graphite2 (1.3.14-r0)
(20/54) Installing harfbuzz (3.0.0-r2)
(21/54) Installing libass (0.15.2-r0)
(22/54) Installing libdav1d (0.9.2-r0)
(23/54) Installing gmp (6.2.1-r1)
(24/54) Installing nettle (3.7.3-r0)
(25/54) Installing p11-kit (0.24.0-r1)
(26/54) Installing libtasn1 (4.18.0-r0)
(27/54) Installing gnutls (3.7.1-r1)
(28/54) Installing lame (3.100-r0)
(29/54) Installing opus (1.3.1-r1)
(30/54) Installing libgomp (10.3.1_git20211027-r0)
(31/54) Installing soxr (0.1.3-r2)
(32/54) Installing libsrt (1.4.2-r1)
(33/54) Installing libssh (0.9.6-r1)
(34/54) Installing libogg (1.3.5-r0)
(35/54) Installing libtheora (1.1.1-r16)
(36/54) Installing libjpeg-turbo (2.1.2-r0)
(37/54) Installing v4l-utils-libs (1.22.1-r1)
(38/54) Installing libxext (1.3.4-r0)
(39/54) Installing libxfixes (6.0.0-r0)
(40/54) Installing libpciaccess (0.16-r0)
(41/54) Installing libdrm (2.4.109-r0)
(42/54) Installing wayland-libs-client (1.19.0-r1)
(43/54) Installing libva (2.13.0-r0)
(44/54) Installing libvdpau (1.4-r0)
(45/54) Installing vidstab (1.1.0-r1)
(46/54) Installing libvorbis (1.3.7-r0)
(47/54) Installing libvpx (1.10.0-r0)
(48/54) Installing vulkan-loader (1.2.196-r0)
(49/54) Installing libwebp (1.2.2-r0)
(50/54) Installing x264-libs (20210613-r0)
(51/54) Installing x265-libs (3.5-r0)
(52/54) Installing xvidcore (1.3.7-r1)
(53/54) Installing ffmpeg-libs (4.4.1-r2)
(54/54) Installing ffmpeg (4.4.1-r2)
Executing busybox-1.34.1-r7.trigger
OK: 162 MiB in 135 packages
[custom-init] userscript.sh: exited 0
********************************************************
********************************************************
*                                                      *
*                         !!!!                         *
* Custom scripts or services found in legacy locations *
*                         !!!!                         *
*    Please move your custom scripts and services      *
*    to /custom-cont-init.d and /custom-services.d     *
*    respectively to ensure they continue working.     *
*                                                      *
*  Visit https://linuxserver.io/custom for more info.  *
*                                                      *
********************************************************
********************************************************
cont-init: info: /etc/cont-init.d/99-custom-files exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-mods: starting
s6-rc: info: service init-mods successfully started
s6-rc: info: service init-mods-package-install: starting
s6-rc: info: service init-mods-package-install successfully started
s6-rc: info: service init-mods-end: starting
s6-rc: info: service init-mods-end successfully started
s6-rc: info: service init-services: starting
s6-rc: info: service init-services successfully started
s6-rc: info: service custom-svc-README.txt: starting
s6-supervise custom-svc-README.txt (child): fatal: unable to exec run: Exec format error
s6-supervise custom-svc-README.txt: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise custom-svc-README.txt (child): fatal: unable to exec run: Exec format error
s6-supervise custom-svc-README.txt: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise custom-svc-README.txt (child): fatal: unable to exec run: Exec format error
s6-supervise custom-svc-README.txt: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise custom-svc-README.txt: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise custom-svc-README.txt (child): fatal: unable to exec run: Exec format error
s6-supervise custom-svc-README.txt (child): fatal: unable to exec run: Exec format error
s6-supervise custom-svc-README.txt: warning: unable to spawn ./run - waiting 10 seconds
github-actions[bot] commented 1 year ago

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

aptalca commented 1 year ago

Delete the readme.txt from your custom services folder and move the services to the new location described in the log

mackay2k4 commented 1 year ago

thanks this helped.