Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
ipfs-sync (staging): try fix 'Error: to-files: cannot put node in pat…
Browse files Browse the repository at this point in the history
…h /contracts: directory already has entry by that name'
  • Loading branch information
skylenet committed Sep 7, 2023
1 parent 6cf79e2 commit 4e8fa2a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion environments/staging/applications/ipfs-sync/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ command:
- -acxe
- >-
echo "Start: $(date)";
hash=$(ipfs --api "$IPFS_API" add -Q -r /data/contracts --to-files /contracts);
hash=$(ipfs --api "$IPFS_API" add -Q -r /data/contracts);
echo "End: $(date) - $hash";
echo "Start: $(date)";
ipfs --api "$IPFS_API" files rm -r /contracts;
echo "End: $(date) - $hash";
echo "Start: $(date)";
ipfs --api "$IPFS_API" files cp -p /ipfs/$hash /contracts;
echo "End: $(date) - $hash";
ipfs --api "$IPFS_API" files stat /contracts;
controller:
Expand Down

0 comments on commit 4e8fa2a

Please sign in to comment.