-
-
Notifications
You must be signed in to change notification settings - Fork 141
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
[BUG] Version 3.0.9 Instantly crashing (Mono assertion in garbage collector) #251
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
Please try https://docs.linuxserver.io/faq#jammy |
Upgrading docker to a newer version past 20.10.10 seems to have fixed the issue. |
I am having this same issue. I only found these same logs in portainer though when i was looking to revert the image to a previous image(which I have and am now up and working.) However, docker version for me I am currently on Docker version 23.0.1, build a5ee5b1... so upgrading docker to a newer version past 20.10.10 isnt an option currently. Anything else I can do to resolve this with the :latest tag? |
I have this same issue. I'm on Debian 10 using the distro version of Docker. I find it bizarre that upgrading docker would fix this. Why? There must be some way of running the image on the distro version of Docker on Debian 10 |
It's not bizarre at all, Docker uses seccomp to limit which syscalls a container can make and has a default profile it ships with releases that whitelists a bunch of necessary ones. If a new syscall gets introduced, but Docker doesn't have it included in the profile then your containers can't use it and if, as in this case, the syscall replaces an older one, new distros using it will break previously functional containers. As per the FAQ if you can't/won't upgrade Docker or you have some other combination of factors (ancient kernel, podman, selinux, etc.) which are causing the issue to manifest even with the latest Docker engine, you can run the container with |
Adding seccomp=unconfined to my docker-compose file fixed the issue. I'm sure that recommending people use the latest image whilst rolling out a change which breaks on an extremely commonly used distro made sense to somebody. |
Docker engine 20.10.10, which added support for the syscall in question, was released Docker's official position, and our recommendation to anyone who uses our images, is that you should use their repositories for installing where possible, because the Distro repos typically vary from extremely out of date to laughably out of date. |
No need for passive aggressive comments. We didn't roll out a change. We simply updated the baseimages to the latest LTS/stable builds. If your distro is behind on their updates, you should take it up with them. You could have just as easily said |
so using ubuntu... on docker version 23.0.1... however... on ubuntu 20.04.5 LTS... Do I just need to upgrade my distro? or is there other stuff that I also need to update to get this working on the latest for Sonarr? |
We'd need to establish why you're having problems despite having an up-to-date Docker install. Please open a new issue, fill in the template with as much detail as you can and we'll try and work out where the issue lies. 20.04 shouldn't be old enough that it's a kernel problem, unless you've upgraded from a previous LTS release and somehow never updated the kernel. |
Is there an existing issue for this?
Current Behavior
Using the new
3.0.9
version that was just release instantly crashes and is not able to run.Host: Intel NUC
OS:
NixOS 21.11 (Porcupine)
Docker:
Docker version 20.10.9, build v20.10.9
CPU:
Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
System resource usage is low, all other containers and services are running fine.
Running
docker run linuxserver/sonarr
yields the following error:And then the "Native Crash Reporting" keeps repeating about once every second for as long as the container is running. The web server never starts, when mounting config volumes for logs and such they are also empty (I believe it crashes before it even opens any log files).
Running a test with
3.0.8
works just fine as expected. Pinning this version in my current docker-compose file also fixes my current stack.Example output of working
docker run linuxserver/sonarr:3.0.8
I also tried starting the
3.0.9
version on my mac and there it started fine, so I assume there might be some hardware comparability problem.I am not super familiar with development in Mono so not entirely sure what info might be useful for such an issue, but I can provide more system details or logs if necessary.
Expected Behavior
I expect Sonarr to not instantly crash on startup.
Steps To Reproduce
Run
docker run linuxserver/sonarr:3.0.9
and Sonarr instantly crashes.Environment
CPU architecture
x86-64
Docker creation
Container logs
The text was updated successfully, but these errors were encountered: