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

[BUG] In 4.0.6: Failed to create CoreCLR, HRESULT: 0x80004005 #297

Closed
1 task done
ccMatrix opened this issue Jul 5, 2024 · 6 comments
Closed
1 task done

[BUG] In 4.0.6: Failed to create CoreCLR, HRESULT: 0x80004005 #297

ccMatrix opened this issue Jul 5, 2024 · 6 comments

Comments

@ccMatrix
Copy link

ccMatrix commented Jul 5, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

After updating from sonarr 4.0.5 to sonarr 4.0.6, sonarr does not run anymore. Container shows as running in portainer but does not listen on the port or initialize correctly. It just runs into the error message and never recovers.

Expected Behavior

Sonarr starts and listens on port 8989. Expected output from version 4.0.5.1710-ls243:


To support the app dev(s) visit:
Sonarr: https://sonarr.tv/donate
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 4.0.5.1710-ls243
Build-date: 2024-06-28T23:33:24+00:00
───────────────────────────────────────
    
[custom-init] No custom files found, skipping...
[Info] Bootstrap: Starting Sonarr - /app/sonarr/bin/Sonarr - Version 4.0.5.1710 
[Info] AppFolderInfo: Data directory is being overridden to [/config] 
[Debug] Bootstrap: Console selected 
[Info] AppFolderInfo: Data directory is being overridden to [/config] 
[Debug] Microsoft.Extensions.Hosting.Internal.Host: Hosting starting 
[Info] AppFolderInfo: Data directory is being overridden to [/config] 
[Info] MigrationController: *** Migrating data source=/config/sonarr.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3;busytimeout=100 *** 
[Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrating 
[Info] FluentMigrator.Runner.MigrationRunner: PerformDBOperation  
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Performing DB Operation 
[Info] DatabaseEngineVersionCheck: SQLite 3.45.3 
[Info] FluentMigrator.Runner.MigrationRunner: => 0.2299563s 
[Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrated 
[Info] FluentMigrator.Runner.MigrationRunner: => 0.2420174s 
[Info] MigrationController: *** Migrating data source=/config/logs.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3;busytimeout=100 *** 
[Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrating 
[Info] FluentMigrator.Runner.MigrationRunner: PerformDBOperation  
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Performing DB Operation 
[Info] DatabaseEngineVersionCheck: SQLite 3.45.3 
[Info] FluentMigrator.Runner.MigrationRunner: => 0.0045732s 
[Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrated 
[Info] FluentMigrator.Runner.MigrationRunner: => 0.005266s 
[Info] Microsoft.Hosting.Lifetime: Now listening on: http://[::]:8989 
[ls.io-init] done.
[Info] Microsoft.Hosting.Lifetime: Application started. Press Ctrl+C to shut down. 
[Info] Microsoft.Hosting.Lifetime: Hosting environment: Production 
[Info] Microsoft.Hosting.Lifetime: Content root path: /app/sonarr/bin 
[Info] ManagedHttpDispatcher: IPv4 is available: True, IPv6 will be disabled 

Steps To Reproduce

  1. Install sonarr 4.0.5 on Raspberry Pi 4 via e.g. portainer
  2. Connect to port 8989 and see webinterface
  3. Update to 4.0.6
  4. Webinterface is not shown and container doesn't start anymore.

A downgrade to 4.0.5 recovers so it must be something that changed from 4.0.5 to 4.0.6

Environment

- OS:Ubuntu 22.04 LTS
- Docker 26.1.4 installed via apt from official repo `https://download.docker.com/linux/ubuntu`
- System is a Raspberry Pi 4 running aarch64: `Linux ubuntu 5.15.0-1055-raspi #58-Ubuntu SMP PREEMPT Sat May 4 03:52:40 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux`

CPU architecture

arm64

Docker creation

Docker created via Portainer Web UI.

Name: sonarr
Image: lscr.io/linuxserver/sonarr:4.0.6
Port mapping: 8989 -> 8989
Volumes:
  /tv -> /media/tvshows (host)
  /config -> Sonarr-Config - local (volume)
  /downloads -> /data/downloads (host)
Env:
  PUID: 1000
  PGID: 1000
  TZ: Europe/Berlin
Restart Policy: Unless stopped
Network:
  Network: media
  Hostname: sonarr

Container logs

[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support the app dev(s) visit:
Sonarr: https://sonarr.tv/donate

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 4.0.6.1805-ls244
Build-date: 2024-07-02T04:35:47+00:00
───────────────────────────────────────

[custom-init] No custom files found, skipping...
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Failed to create CoreCLR, HRESULT: 0x80004005
Copy link

github-actions bot commented Jul 5, 2024

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@ccMatrix
Copy link
Author

ccMatrix commented Jul 5, 2024

It looks like all the latest versions of the *arr containers have the same issue. Tested Sonarr, Radarr, Readarr and Lidarr. All have the same error on the latest release. They all have in common that they were updated to use the base image ghcr.io/linuxserver/baseimage-alpine:3.20 instead of ghcr.io/linuxserver/baseimage-alpine:3.19. So it is possible the error is in the baseimage

@j0nnymoe
Copy link
Member

j0nnymoe commented Jul 5, 2024

Our smoke tests seem ok for both platforms: https://ci-tests.linuxserver.io/linuxserver/sonarr/latest/index.html
We don't support portainer for container deployment, could you try with true compose please?

@ccMatrix
Copy link
Author

ccMatrix commented Jul 5, 2024

Doesn't matter if I run it manually, via docker compose or Portainer. Same results.

Why is your smoke test for 4.0.5 listed as the latest when your docker hub tag for latest is 4.0.6. How can latest which is supposed to be stable be higher than develop?

Maybe you can run your smoke test on the actual latest tag instead of the 4.0.5. should show the same result then. I can confirm that 4.0.5 works.

@j0nnymoe
Copy link
Member

j0nnymoe commented Jul 5, 2024

https://ci-tests.linuxserver.io/linuxserver/sonarr/4.0.6.1805-ls244/index.html
Looks to work - latest was a dev build as it's the most recent build.

@ccMatrix
Copy link
Author

ccMatrix commented Jul 5, 2024

I used docker system prune -a to delete all remains of the new tag from the system, then updated the container to the latest and that worked. Looks like a build step or image was corrupted by a faulty hard disk resulting in a bad local image. It works now. Thanks for your help!

@ccMatrix ccMatrix closed this as completed Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants