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] Cloudflare API Update #482

Closed
1 task done
fentix opened this issue May 23, 2024 · 2 comments
Closed
1 task done

[BUG] Cloudflare API Update #482

fentix opened this issue May 23, 2024 · 2 comments

Comments

@fentix
Copy link

fentix commented May 23, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Installed a new SWAG Container and got a warning because cloudflare will retire the current API
The Linuxserver-CI Bot updated the cloudflare 2.20.0 python package with the commit 95c13d0 which causes a warning.

Expected Behavior

No Warning Message.
(Updating the API to 3.0 or Downgrading the API to 2.19 for now.)

Steps To Reproduce

  1. Create a SWAG container with the current lscr.io/linuxserver/swag:latest
  2. Use The cloudflare DNS Validation for SSL-Cert generation
  3. Look at the output Logs after starting the container.

Environment

- OS:
- How docker service was installed:

CPU architecture

arm64

Docker creation

version: "2.4"

services:

  swag:
    image: lscr.io/linuxserver/swag:latest
    container_name: swag
    cap_add:
      - NET_ADMIN
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - URL=domain.tld
      - SUBDOMAINS=salt,pepper #add some subdomains
      - VALIDATION=dns
      - DNSPLUGIN=cloudflare
      - [email protected]
      - PROPAGATION=20
    volumes:
      - path/swag:/config
    networks:
      - examplenet
    ports:
      - "443:443"
      - "80:80"   
    restart: unless-stopped
    labels:
      - com.centurylinklabs.watchtower.enable=true  # Watchtower

networks:
  examplenet:
    external: true

Container logs

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!   WARNING  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
       !! You're seeing this warning because you've upgraded the Python package 'cloudflare' to version
       !! 2.20.* via an automated upgrade without version pinning. Version 2.20.0 exists to catch any    !!
       !! of these upgrades before Cloudflare releases a new major release under the release number 3.x. !!
       !!                                                                                                !!
       !! Should you determine that you need to revert this upgrade and pin to v2.19.* it is recommended !!
       !! you do the following: pip install --upgrade cloudflare==2.19.* or equivilant.                  !!
       !!                                                                                                !!
       !! Or you can upgrade to v3.x. NOTE: Release 3.x will not be code-compatible or call-compatible   !!
       !! with previous releases. To see more about upgrading to next major version, please see:         !!
       !! https://github.com/cloudflare/python-cloudflare/discussions/191                                !!
       !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@aptalca
Copy link
Member

aptalca commented May 23, 2024

Upstream issue, they're aware:
certbot/certbot#9940

@quietsy
Copy link
Member

quietsy commented Jun 18, 2024

The previous version of certbot has been pinned and the issue no longer reproduces.

@quietsy quietsy closed this as completed Jun 18, 2024
@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants