-
[SUPPORT] stephondoestech - UnraidConfigGuardian
Hey, I have switched from the installation via Unraid Apps to installation via docker-compose according to https://github.com/stephondoestech/unraid-config-guardian/blob/main/docker-compose.yml I have made slight changes, because my portainer instance throws errors on the latest LTS release, when I want to build dockers from compose files. Here is my current working compose: For me it is working so far, except two things: the scheduler from inside the docker is not working (python not found error) I have tried different things to make it work, but no success. I switched to call the "manual adhoc backup" from the readme via user scripts (https://github.com/stephondoestech/unraid-config-guardian/blob/main/README.md#manual-usage) # Generate backup now docker exec unraid-config-guardian python3 src/unraid_config_guardian.pyI create weekly backups to another NAS with SpaceinvaderOnes Backup-Tool (https://github.com/SpaceinvaderOne/Unraid-Rsync-Backup-and-Sync-Tool/tree/main). My Pre-ruin-script shuts down my VMs and dockers, so I start the unraid-configuration-guardian-stack before that step, create a backup locally and then the main-backup-script starts. The internal health-check says the docker-socket cannot be reached, but in the unraid-configuration-guardian webui I see all my dockers, as well as in the backup files, so I assume I can ignore this for now
-
[SUPPORT] stephondoestech - UnraidConfigGuardian
I am one step further with my problem (tried the compose-deployment) and I've had the same error like you. I think this is mock data according to log-error: Cannot connect to Docker daemon: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) Current DOCKER_HOST: tcp://docker-socket-proxy:2375 The docker-socket could not be reached. I have solved the problem with dockersocket: adding IMAGES=1 and SERVICES=1 to environment variables config guardian: adding depends_on dockersocket config guardian: adding DOCKER_HOST=tcp://dockersocket:2375 services: dockersocket: image: ghcr.io/tecnativa/docker-socket-proxy:latest container_name: ucg-stack-dockersocket restart: unless-stopped environment: - CONTAINERS=1 - IMAGES=1 - SERVICES=1 - NETWORKS=1 - TASKS=1 - SYSTEM=1 - POST=0 volumes: - /var/run/docker.sock:/var/run/docker.sock:ro networks: - unraid-guardian labels: - net.unraid.docker.icon=https://raw.githubusercontent.com/ibracorp/app-logos/main/docker/docker-logo.png unraid-config-guardian: image: stephondoestech/unraid-config-guardian:latest container_name: ucg-stack-app restart: unless-stopped depends_on: - dockersocket environment: # Unraid user/group mapping - PUID=99 # nobody user - PGID=100 # users group - TZ=Europe/Berlin # Adjust to your timezone # Backup configuration #- SCHEDULE=45 6 * * 0 # Weekly Sunday at 06:45 AM - BACKUP_LOCATION=/output - MASK_PASSWORDS=true - INCLUDE_SYSTEM_INFO=true - DEBUG=false - DOCKER_HOST=tcp://dockersocket:2375 - DOCKER_SOCK_PATH=tcp://dockersocket:2375 - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin # Optional: Notification settings # - WEBHOOK_URL=https://hooks.slack.com/services/your/webhook/url # - [email protected] volumes: # Application configuration - /mnt/cache1_docker/appdata/UnraidConfigGuardian:/config # Output directory for generated documentation - /mnt/user/BackUps/unraid-docs:/output # Unraid flash drive configuration (read-only) - /boot:/boot:ro # Optional: Additional system paths for comprehensive backup # - /mnt/user:/mnt/user:ro # - /etc/unraid:/etc/unraid:ro # - /var/run/docker.sock:/var/run/docker.sock networks: - unraid-guardian # Web interface port ports: - "7842:7842" # Security settings #security_opt: #- no-new-privileges:true # Resource limits mem_limit: 1g cpus: 0.5 # Health check healthcheck: test: ["CMD", "python", "src/health_check.py"] interval: 30s timeout: 10s retries: 3 start_period: 40s labels: - net.unraid.docker.icon=https://raw.githubusercontent.com/stephondoestech/unraid-config-guardian/main/assets/favicon_io/android-chrome-192x192.png networks: unraid-guardian: driver: bridge
-
[SUPPORT] stephondoestech - UnraidConfigGuardian
Hey folks, since a couple weeks, I have a strange issue. The WebUI stopped working. When I want to access the WebUI, I simply get a ERR_CONNECTION_REFUSED error. I don't really get why. docker run -d --name='UnraidConfigGuardian' --net='bridge' --pids-limit 2048 -e TZ="Europe/Berlin" -e HOST_OS="Unraid" -e HOST_HOSTNAME="hostname" -e HOST_CONTAINERNAME="UnraidConfigGuardian" -e 'PUID'='0' -e 'PGID'='0' -e 'TZ'='Europe/Berlin' -e 'SCHEDULE'='45 6 * * 0' -e 'MASK_PASSWORDS'='true' -e 'NCLUDE_SYSTEM_INFO'='true' -l net.unraid.docker.managed=dockerman -l net.unraid.docker.webui='http://[IP]:[PORT:8080]' -l net.unraid.docker.icon='https://raw.githubusercontent.com/stephondoestech/unraid-config-guardian/main/assets/favicon_io/android-chrome-192x192.png' -p '7842:8080/tcp' -v '/mnt/cache1_docker/appdata/UnraidConfigGuardian':'/config':'rw' -v '/mnt/user/BackUps/unraid-docs':'/output':'rw' -v '/boot':'/boot':'ro' -v '/var/run/docker.sock':'/var/run/docker.sock':'ro' 'stephondoestech/unraid-config-guardian:latest'The log looks good: INFO: Started server process [1] INFO: Waiting for application startup. INFO: Application startup complete. INFO: Uvicorn running on http://0.0.0.0:7842 (Press CTRL+C to quit) Caching Unraid system information... Cached hostname: hostname Cached Unraid version: 7.1.4 Template directory accessible Cached 23 XML templates to /output/cached-templates Setting up user permissions: PUID=0, PGID=0 User setup complete: guardian user now has UID=0, GID=0 Setting up cron job with schedule: 45 6 * * 0 Starting Unraid Config Guardian Web GUI on http://0.0.0.0:7842 Access via: http://your-unraid-ip:7842 Anybody out there experiencing the same? Thanks a lot in advance.
-
nextcloud docker mass data scan
Hey there, the thread is a bit dusty, but here are my 2 cents, regarding this idea: There is by now no official supported way to do that. I am also adding stuff via shares to my nextcloud, because my ISP speed is very poor. You could use a cron or timer and execute the re-sync from outside the nextcloud docker with: docker exec -it nextcloud sudo -u abc php /config/www/nextcloud/occ files:scan username hth, receens2k
receens2k
Members
-
Joined
-
Last visited