JackDallas / Premiumizearr

Bridge your *Arr clients (Sonarr, Radarr) to your premiumize.me (upload/download manager)
GNU General Public License v3.0
44 stars 10 forks source link

premiumizearr won't start (since version 1.2.4) #62

Open dabonzo opened 2 years ago

dabonzo commented 2 years ago

Since the version 1.2.4, the app won't start anymore. v1.2.1 - v1.2.3 work fine. The error from the log is

premiumizearr   | exec /init: exec format error
premiumizearr exited with code 1
premiumizearr   | exec /init: exec format error
premiumizearr   | exec /init: exec format error
premiumizearr   | exec /init: exec format error
premiumizearr   | exec /init: exec format error
premiumizearr   | exec /init: exec format error
premiumizearr   | exec /init: exec format error
premiumizearr exited with code 1
premiumizearr exited with code 1
premiumizearr   | exec /init: exec format error
premiumizearr   | exec /init: exec format error
premiumizearr   | exec /init: exec format error
premiumizearr   | exec /init: exec format error
dabonzo commented 2 years ago

Forgot to mention, it's docker

JackDallas commented 2 years ago

Had a few iffy releases, 1.2.6 seems stable for me, could you confirm this issue is still happening on 1.2.6, if it is I'll whip up a docker setup and have a look at it :+1:

dabonzo commented 2 years ago

1.2.4, 1.2.5 and 1.2.6. Every release has that exec /init error.

JackDallas commented 2 years ago

Hey @dabonzo im gonna take a look at this but in currently banned from premiumize.me (one of my test runs spammed them a bit) and trying to resolve it so may be a bit delayed

dabonzo commented 2 years ago

@JackDallas let me know if you need help with that (premiumize.me)

JackDallas commented 2 years ago

@JackDallas let me know if you need help with that (premiumize.me)

@dabonzo haven't had a reply from them yet, going to send another message but will try and get the docker working while I wait for a reply

JackDallas commented 2 years ago

Hey @dabonzo so you know, no word from premiumize.me which does put this project in a bit of a sticky position, can you confirm for me though if you run using the v1.2.3 tag if it still runs ? if it does I'll see if a change I made caused this or if it's something weird upstream I didn't know I was depending on

dabonzo commented 2 years ago

@JackDallas , yes ghcr.io/jackdallas/premiumizearr:v1.2.3 still working.

dabonzo commented 2 years ago

Didn't pull a new 1.2.3 version though, using the old cached local one that worked all the time anyway.

dabonzo commented 2 years ago

@JackDallas was playing around a little bit and I think the base image doesn't work. I've used the latest alpine FROM ghcr.io/linuxserver/baseimage-alpine:3.16-cbed9854-ls16 in Dockerfile.amd64 in the docker directory. Seems it works for me. I also tested docker image on a raspberry pi. On the raspi (arm) the latest version worked all the time. So it's very probable the baseimage that creates the issue.

JackDallas commented 2 years ago

Thanks for looking in to that @dabonzo really appreciate it. I knew I shouldn't have used that base image 🤦 I'm gonna see if I can get it working permissions and all in a boring old alpine container. Fingers crossed it's not to hellish

dabonzo commented 2 years ago

I would help more but, with a PR, but I can't test it, upload the docker image. I've managed to get the build process going but that's it. I'm no developer so anything more than commit, push, pull is something new I need to learn to me :D

JackDallas commented 2 years ago

ngl I have it setup a weird way, I need to write a contributors guide to make it more straight forward tbh. atm to build it you have to do it by installing goreleaser and running goreleaser --rm-dist --snapshot a lot of the logic is tied in to that.

I've made an image, it can read and write the config, premiumize's servers are down atm, I'll check again later but in the mean time I've pre-released the changes on the dev tag on docker

https://github.com/jackdallas/Premiumizearr/pkgs/container/premiumizearr/39003370?tag=dev

ensingerphilipp commented 11 months ago

Bump would love to see this work again

vmpr commented 4 months ago

I got the same problem :( is there any solution?

cat24max commented 3 months ago

I got the same problem :( is there any solution?

This is because of the CPU arch. Try "v1.2.7-rc1-amd64". It leems like the current latest is maybe only ARM?