Skip to content

archiving issue #955

@chriscrutt

Description

@chriscrutt

Describe the bug
Looking at the Archiving tutorial, it says to add archive with various bits of info in plotman.yaml. I was confused because archiving already exists. And when I add it, I receive:

plotman.configuration.ConfigurationException: Config file at: '/home/username/.config/plotman/plotman.yaml' is malformed

To Reproduce

Set up plotman.yaml as

version: [2]
user_interface:
        use_stty_size: True

commands:
        interactive:
                autostart_plotting: True
                autostart_archiving: True

directories:
        tmp:
                - /mnt/tmp/tmpdir
                - /mnt/tmp/tmpdir2
archiving:
        target: local_rsync
        env:
                command: rsync
                site_root: /mnt/archives

archive: # here's the added thing that causes the issue
        rsyncd_module: chia
        rsyncd_path: /mnt/archives
        rsyncd_bwlimit: 100000
        rsyncd_host: localhost
        rsyncd_user: username

scheduling:
        tmpdir_stagger_phase_major: 2
        tmpdir_stagger_phase_minor: 1
        tmpdir_stagger_phase_limit: 1

        tmpdir_max_jobs: 5

        global_max_jobs: 9

        global_stagger_m: 30

        polling_time_s: 20

plotting:

        farmer_pk: asdf
        pool_contract_address: asdf
        
        type: chia
        chia:
                k: 32
                e: False
                n_threads: 3
                n_buckets: 128
                job_buffer: 6500

        madmax:
                n_threads: 4
                n_buckets: 256
                n_buckets3: 256
                n_rmulti2: 1
                
        bladebit:
                threads: 2
                no_numa: false

run plotman interactive

Is it just depreciated? Do I even need to include it? I don't want to plot for a few hours and then have it not archiving.

System setup:

  • OS: Ubuntu 20.04.4 LTS
  • Python Version 3.8.10

edit: readability

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions