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] Swag cannot download LinuxMods #505

Open
1 task done
Proximus888 opened this issue Sep 16, 2024 · 2 comments
Open
1 task done

[BUG] Swag cannot download LinuxMods #505

Proximus888 opened this issue Sep 16, 2024 · 2 comments

Comments

@Proximus888
Copy link

Proximus888 commented Sep 16, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Using linuxmods results in long startup time and (ERROR) linuxserver/mods:swag-auto-reload digest could not be fetched from lscr.io error.

This setup was working perfectly until yesterday.

Expected Behavior

I expect the swag container to download the mods and start up.

Steps To Reproduce

Start container with `docker compose up -d'.

Container takes a lot of time to startup and doesn't load the mods.

Environment

- OS:
Distributor ID:	Ubuntu
Description:	Ubuntu 24.04.1 LTS
Release:	24.04
Codename:	noble

- How docker service was installed:
docker --version
Docker version 27.2.1, build 9e34c9b

CPU architecture

x86-64

Docker creation

Docker compose:

services:
  swag:
    image: ghcr.io/linuxserver/swag
    container_name: swag
    cap_add:
      - NET_ADMIN
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Amsterdam
      - URL=<sensitive>
      - SUBDOMAINS=wildcard
      - DNSPLUGIN=cloudflare
      - EMAIL='<sensitive>'
      - VALIDATION=dns
      - DOCKER_MODS=linuxserver/mods:swag-maxmind|linuxserver/mods:swag-dashboard|linuxserver/mods:swag-auto-reload
      - DOCKER_MODS_DEBUG=true
      - MAXMINDDB_LICENSE_KEY=<sensitive>
      - MAXMINDDB_USER_ID=<sensitive>
    volumes:
      - ./config:/config
    network_mode: host
    ports:
      - 443:443
      - 80:80
      - 81:81
    restart: unless-stopped
    labels:
      - com.centurylinklabs.watchtower.monitor-only=true


### Container logs

```bash
[mod-init] Running Docker Modification Logic
[mod-init] (DEBUG) Running in debug mode
[mod-init] (DEBUG) Mod script version 3.20240626
[mod-init] (DEBUG) Registry='lscr.io', Repository='linuxserver', Image='linuxserver/mods', Tag='swag-maxmind'
[mod-init] Adding linuxserver/mods:swag-maxmind to container
[mod-init] (DEBUG) Using https://ghcr.io/token?scope=repository%3Alinuxserver%2Fmods%3Apull as auth endpoint
[mod-init] (DEBUG) Arch detected as amd64
[mod-init] (DEBUG) Mod only has a single arch manifest
[mod-init] (ERROR) linuxserver/mods:swag-maxmind digest could not be fetched from lscr.io
[mod-init] (DEBUG) Registry='lscr.io', Repository='linuxserver', Image='linuxserver/mods', Tag='swag-dashboard'
[mod-init] Adding linuxserver/mods:swag-dashboard to container
[mod-init] (DEBUG) Using https://ghcr.io/token?scope=repository%3Alinuxserver%2Fmods%3Apull as auth endpoint
[mod-init] (DEBUG) Arch detected as amd64
[mod-init] (DEBUG) Mod only has a single arch manifest
[mod-init] (ERROR) linuxserver/mods:swag-dashboard digest could not be fetched from lscr.io
[mod-init] (DEBUG) Registry='lscr.io', Repository='linuxserver', Image='linuxserver/mods', Tag='swag-auto-reload'
[mod-init] Adding linuxserver/mods:swag-auto-reload to container
[mod-init] (DEBUG) Using https://ghcr.io/token?scope=repository%3Alinuxserver%2Fmods%3Apull as auth endpoint
[mod-init] (DEBUG) Arch detected as amd64
[mod-init] (DEBUG) Mod only has a single arch manifest
[mod-init] (ERROR) linuxserver/mods:swag-auto-reload digest could not be fetched from lscr.io
[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] done
───────────────────────────────────────

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

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

To support the app dev(s) visit:
Certbot: https://supporters.eff.org/donate/support-work-on-certbot

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

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

User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 2.11.0-ls324
Build-date: 2024-09-14T03:24:47+00:00
───────────────────────────────────────

using keys found in /config/keys
Variables set:
PUID=1000
PGID=1000
TZ=Europe/Amsterdam
URL=<sensitive>
SUBDOMAINS=wildcard
EXTRA_DOMAINS=
ONLY_SUBDOMAINS=false
VALIDATION=dns
CERTPROVIDER=
DNSPLUGIN=cloudflare
EMAIL='<sensitive>'
STAGING=

Using Let's Encrypt as the cert provider
SUBDOMAINS entered, processing
Wildcard cert for <sensitive> will be requested
E-mail address entered: '<sensitive>'
dns validation via cloudflare plugin is selected
Certificate exists; parameters unchanged; starting nginx
The cert does not expire within the next day. Letting the cron script handle the renewal attempts overnight (2:08am).
[pkg-install-init] (DEBUG) Package install script version 1.20240608
[pkg-install-init] (DEBUG) No pip packages defined for install, skipping.
[pkg-install-init] (DEBUG) No os packages defined for install, skipping.
[pkg-install-init] (DEBUG) Deleting temporary install lists for os and pip packages.
[custom-init] No custom files found, skipping...
[ls.io-init] done.
Server ready
Copy link

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

@LinuxServer-CI
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Issues
Development

No branches or pull requests

2 participants