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

argument of type 'NoneType' is not iterable #374

Open
Zusel opened this issue Oct 8, 2024 · 0 comments
Open

argument of type 'NoneType' is not iterable #374

Zusel opened this issue Oct 8, 2024 · 0 comments
Labels

Comments

@Zusel
Copy link

Zusel commented Oct 8, 2024

Summary

Hey, I tried uploading my backups to an S3 storage (contabostorage) and I’m getting the error message 'argument of type 'NoneType' is not iterable' during debug.

Steps to reproduce

What is the expected correct behavior?

uploaded backups

Relevant logs and/or screenshots

2024-10-08.19:08:37 [DEBUG] /etc/services.available/dbbackup-02/run ** [02-mariadb__ngnix_proxy_manager] Skipping SSL verification for HTTPS S3 Hosts
+ output_on
+ '[' true = true ']'
+ case "$(basename "$0")" in
++ basename ./run
+ case "$PWD" in
+ set -x
+ var_true ''
+ '[' '' = true ']'
+ '[' '' = yes ']'
+ s3_ssl=--no-verify-ssl
+ [[ -n eu2.contabostorage.com ]]
+ PARAM_AWS_ENDPOINT_URL=' --endpoint-url https://eu2.contabostorage.com'
+ silent aws --endpoint-url https://eu2.contabostorage.com s3 cp /tmp/backups/02_dbbackup.FuQx7Y/mariadb_ngnix_proxy_manager_mariadb_20241008-190836.sql.zst s3://mariadbbackup//mariadb_ngnix_proxy_manager_mariadb_20241008-190836.sql.zst --no-verify-ssl
+ '[' true = true ']'
+ aws --endpoint-url https://eu2.contabostorage.com s3 cp /tmp/backups/02_dbbackup.FuQx7Y/mariadb_ngnix_proxy_manager_mariadb_20241008-190836.sql.zst s3://mariadbbackup//mariadb_ngnix_proxy_manager_mariadb_20241008-190836.sql.zst --no-verify-ssl
/usr/lib/python3.12/site-packages/urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host 'eu2.contabostorage.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(
upload failed: ./mariadb_ngnix_proxy_manager_mariadb_20241008-190836.sql.zst to s3://mariadbbackup//mariadb_ngnix_proxy_manager_mariadb_20241008-190836.sql.zst argument of type 'NoneType' is not iterable
+ move_exit_code=1

Environment

  • Image version / tag: ghcr.io/tiredofit/docker-db-backup:latest
  • Host OS: Ubuntu 20.04
      DEFAULT_BACKUP_LOCATION: S3
      DEBUG_MODE: TRUE
      DEFAULT_COMPRESSION_LEVEL: 19
      DEFAULT_ARCHIVE_TIME: 3000
      DEFAULT_S3_BUCKET: mariadbbackup
      DEFAULT_S3_KEY_ID: XXX
      DEFAULT_S3_KEY_SECRET: XXX
      DEFAULT_S3_HOST: eu2.contabostorage.com
      CONTAINER_ENABLE_MONITORING: FALSE
      DB01_TYPE: mysql
      DB01_HOST: mariadb
      DB01_NAME: XXX
      DB01_USER: XXX
      DB01_PASS: XXX
      DB02_TYPE: mysql
      DB02_HOST: mariadb
      DB02_NAME: XXX
      DB02_USER: XXX
      DB02_PASS: XXX
@Zusel Zusel added the bug label Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant