linuxserver / docker-jackett

GNU General Public License v3.0
404 stars 106 forks source link

[BUG] Jackett.Common somehow goes missing or can't be loaded #155

Open babeal opened 3 days ago

babeal commented 3 days ago

Is there an existing issue for this?

Current Behavior

I keep running into an issue where .Net can't find the Jackett.Common assembly. If i repull and rebuild the container it starts working again, but 24-48 hours later, it's broken again. Maybe it's related to the internal update process, but not too sure. Please advise.

Docker logs

File name: 'Jackett.Common, Version=0.22.1009.0, Culture=neutral, PublicKeyToken=null'
Aborted
Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'Jackett.Common, Version=0.22.1009.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

Expected Behavior

Should start successfully after an internal update

Steps To Reproduce

  1. pull latest image
  2. start the container
  3. wait and it will eventually die jackett-output-logs.txt

Environment

- OS: Qnap QuTS
- How docker service was installed: Provided by the NAS Server as the app Container Station

CPU architecture

x86-64

Docker creation

jackett:
    image: lscr.io/linuxserver/jackett
    environment:
      - PUID=1003
      - PGID=100
      - TZ=America/Chicago
      - AUTO_UPDATE=true #optional
      # - RUN_OPTS=<run options here> #optional
    volumes:
      - ./data/jackett:/config
      - /share/downloads/torrents:/downloads
    expose:
      - 9117
    networks:
      internal_network:
        aliases:
          - jackett
    restart: unless-stopped

Container logs

See attachment in steps to reproduce for the full logs

11-26 21:54:24 Info Attempting to copy System.Xml.XmlSerializer.dll from source: /run/jackett-temp/JackettUpdate-v0.22.1009-638682548614155405/Jackett/System.Xml.XmlSerializer.dll to destination: /app/Jackett/System.Xml.XmlSerializer.dll
11-26 21:54:24 Info Copied System.Xml.XmlSerializer.dll
11-26 21:54:24 Info Attempting to copy System.Xml.XPath.dll from source: /run/jackett-temp/JackettUpdate-v0.22.1009-638682548614155405/Jackett/System.Xml.XPath.dll to destination: /app/Jackett/System.Xml.XPath.dll
11-26 21:54:24 Info Copied System.Xml.XPath.dll
11-26 21:54:24 Info Attempting to copy System.Xml.XPath.XDocument.dll from source: /run/jackett-temp/JackettUpdate-v0.22.1009-638682548614155405/Jackett/System.Xml.XPath.XDocument.dll to destination: /app/Jackett/System.Xml.XPath.XDocument.dll
11-26 21:54:24 Info Copied System.Xml.XPath.XDocument.dll
11-26 21:54:24 Info Attempting to copy WindowsBase.dll from source: /run/jackett-temp/JackettUpdate-v0.22.1009-638682548614155405/Jackett/WindowsBase.dll to destination: /app/Jackett/WindowsBase.dll
11-26 21:54:24 Info Copied WindowsBase.dll
11-26 21:54:24 Info Attempting to copy YamlDotNet.dll from source: /run/jackett-temp/JackettUpdate-v0.22.1009-638682548614155405/Jackett/YamlDotNet.dll to destination: /app/Jackett/YamlDotNet.dll
11-26 21:54:24 Info Copied YamlDotNet.dll
11-26 21:54:24 Info File copying complete
11-26 21:54:24 Info Killing process 2926
Application is shutting down...
11-26 21:54:24 Info Jackett stopped
Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'Jackett.Common, Version=0.22.1009.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

File name: 'Jackett.Common, Version=0.22.1009.0, Culture=neutral, PublicKeyToken=null'
Aborted
Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'Jackett.Common, Version=0.22.1009.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
github-actions[bot] commented 3 days ago

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