madMAx43v3r / chia-gigahorse

220 stars 32 forks source link

Docker harvester WARNING directory does not exist #285

Closed StraySnake closed 3 months ago

StraySnake commented 3 months ago

Hi all

version: '3'
services:
  chia:
    image: ghcr.io/madmax43v3r/chia-gigahorse:latest-nvidia
    restart: unless-stopped
    runtime: nvidia
    volumes:
      - /home/chia/.chia:/root/.chia
      - /mnt/dd-plots1:/dd-plots1
      - /mnt/dd-plots2:/dd-plots2
      - /mnt/dd-plots3:/dd-plots3
      - /mnt/dd-plots4:/dd-plots4
      - /mnt/dd-plots5:/dd-plots5
      - /mnt/dd-plots6:/dd-plots6
      - /mnt/dd-plots7:/dd-plots7
      - /mnt/dd-plots8:/dd-plots8
      - /mnt/dd-plots9:/dd-plots9
      - /mnt/dd-plots10:/dd-plots10
      - /mnt/dd-plots11:/dd-plots11
      - /mnt/dd-plots12:/dd-plots12
      - /mnt/dd2-plots1:/dd2-plots1
      - /mnt/dd2-plots2:/dd2-plots2
      - /mnt/dd2-plots3:/dd2-plots3

#      - /path/to/ssl/ca:/path/in/container
    ports:
      - "8444:8444"
    environment:
      TZ: 'UTC+2'
      CHIA_SERVICES: 'farmer'
#      CHIA_UPNP: 'true'
#      CHIA_LOG_LEVEL: 'WARNING'
#      CHIA_HOSTNAME: 127.0.0.1
      CHIA_PLOTS: /dd-plots1 /dd-plots2 /dd-plots3 /dd-plots4 /dd-plots5 /dd-plots6 /dd-plots7 /dd-plots8 /dd-plots9 /dd-plots10 /dd-plots11 /dd-plots12 /dd2-plots1 /dd2-plots2 /dd2-plots3
### Remote harvester settings
#      CHIA_FARMER_ADDRESS: 127.0.0.1
#      CHIA_FARMER_PORT: 8447
#      CHIA_CA: /path/in/container
### Remote compute server
#      CHIAPOS_RECOMPUTE_HOST: 192.168.1.12
### GPU Specific Options ###
#      NVIDIA_VISIBLE_DEVICES: 0,3

$ tail -n /home/chia/.chia/mainnet/log/debug.log

2024-03-13T23:29:57.585 harvester chia.plotting.util      : WARNING  Directory: /plots/dd-plots1 does not exist.
2024-03-13T23:29:57.585 harvester chia.plotting.util      : WARNING  Directory: /plots/dd-plots2 does not exist.
2024-03-13T23:29:57.585 harvester chia.plotting.util      : WARNING  Directory: /plots/dd-plots3 does not exist.
2024-03-13T23:29:57.585 harvester chia.plotting.util      : WARNING  Directory: /plots/dd-plots4 does not exist.
2024-03-13T23:29:57.586 harvester chia.plotting.util      : WARNING  Directory: /plots/dd-plots5 does not exist.
2024-03-13T23:29:57.586 harvester chia.plotting.util      : WARNING  Directory: /plots/dd-plots6 does not exist.
2024-03-13T23:29:57.586 harvester chia.plotting.util      : WARNING  Directory: /plots/dd-plots7 does not exist.
2024-03-13T23:29:57.586 harvester chia.plotting.util      : WARNING  Directory: /plots/dd-plots8 does not exist.
2024-03-13T23:29:57.586 harvester chia.plotting.util      : WARNING  Directory: /plots/dd-plots9 does not exist.
2024-03-13T23:29:57.586 harvester chia.plotting.util      : WARNING  Directory: /plots/dd-plots10 does not exist.
2024-03-13T23:29:57.586 harvester chia.plotting.util      : WARNING  Directory: /plots/dd-plots11 does not exist.
2024-03-13T23:29:57.586 harvester chia.plotting.util      : WARNING  Directory: /plots/dd-plots12 does not exist.
2024-03-13T23:29:57.587 harvester chia.plotting.util      : WARNING  Directory: /plots/dd2-plots1 does not exist.
2024-03-13T23:29:57.587 harvester chia.plotting.util      : WARNING  Directory: /plots/dd2-plots2 does not exist.
2024-03-13T23:29:57.798 harvester chia.plotting.util      : WARNING  Directory: /chia-gigahorse-farmer/dd-plots9 does not exist.
2024-03-13T23:31:58.371 harvester chia.plotting.util      : WARNING  Directory: /mnt/dd-plots1 does not exist.
2024-03-13T23:31:58.372 harvester chia.plotting.util      : WARNING  Directory: /mnt/dd-plots2 does not exist.
2024-03-13T23:31:58.372 harvester chia.plotting.util      : WARNING  Directory: /mnt/dd-plots3 does not exist.
2024-03-13T23:31:58.372 harvester chia.plotting.util      : WARNING  Directory: /mnt/dd-plots4 does not exist.
2024-03-13T23:31:58.372 harvester chia.plotting.util      : WARNING  Directory: /mnt/dd-plots5 does not exist.
2024-03-13T23:31:58.372 harvester chia.plotting.util      : WARNING  Directory: /mnt/dd-plots6 does not exist.
2024-03-13T23:31:58.372 harvester chia.plotting.util      : WARNING  Directory: /mnt/dd-plots7 does not exist.
2024-03-13T23:31:58.372 harvester chia.plotting.util      : WARNING  Directory: /mnt/dd-plots8 does not exist.
2024-03-13T23:31:58.373 harvester chia.plotting.util      : WARNING  Directory: /mnt/dd-plots9 does not exist.
2024-03-13T23:31:58.373 harvester chia.plotting.util      : WARNING  Directory: /mnt/dd-plots10 does not exist.
2024-03-13T23:31:58.373 harvester chia.plotting.util      : WARNING  Directory: /mnt/dd-plots11 does not exist.
2024-03-13T23:31:58.373 harvester chia.plotting.util      : WARNING  Directory: /mnt/dd-plots12 does not exist.
2024-03-13T23:31:58.373 harvester chia.plotting.util      : WARNING  Directory: /mnt/dd2-plots1 does not exist.
madMAx43v3r commented 3 months ago

It means the directories don't exists... how to fix it I don't know.

StraySnake commented 3 months ago

Screenshot from 2024-03-14 19-11-19

I'ts strange... my plots are there

madMAx43v3r commented 3 months ago

Then those are unused folders?

StraySnake commented 3 months ago

Yes, I think they come from old try

bobo522487 commented 3 months ago

maybe your /home/chia/.chia/mainnet/config/config.yaml include older directory.

use below command check: docker exec -it chia ./chia.bin plots show

Ac3sRwild commented 3 months ago

CHIA_PLOTS needs a colon separated list. example: CHIA_PLOTS: /dd-plots1:/dd-plots2:/dd-plots3:/dd-plots4:etc. I will update the docs to mention this and possibly the example too

StraySnake commented 3 months ago

maybe your /home/chia/.chia/mainnet/config/config.yaml include older directory.

use below command check: docker exec -it chia ./chia.bin plots show

You're right, I have remove all folders in this file and thas look good now.

CHIA_PLOTS needs a colon separated list. example: CHIA_PLOTS: /dd-plots1:/dd-plots2:/dd-plots3:/dd-plots4:etc. I will update the docs to mention this and possibly the example too

OK, I've corrected that.

Thanks