Commit 832eee96 authored by ci's avatar ci
Browse files

make sure blobs dir is present

log better
parent e0f377e6
......@@ -22,7 +22,7 @@ export REFLECT_BLOBS=false
export CLEAN_ON_STARTUP=true
export REGTEST=true
# Local settings
export BLOBS_DIRECTORY="./blobsfiles"
export BLOBS_DIRECTORY="`pwd`/e2e/blobsfiles"
export LBRYNET_DIR="`pwd`/e2e/persist/.lbrynet/.local/share/lbry/lbrynet/"
export LBRYNET_WALLETS_DIR="`pwd`/e2e/persist/.lbrynet/.local/share/lbry/lbryum"
export TMP_DIR="/var/tmp"
......@@ -34,6 +34,7 @@ echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-
docker-compose pull
if [[ -d persist ]]; then rm -rf persist; fi
mkdir persist
mkdir -p blobsfiles
mkdir persist/.lbrynet
ls -lha ./persist
chmod u+rwx ./persist/.lbrynet
......@@ -243,6 +243,7 @@ func (s *SyncManager) GetS3AWSConfig() aws.Config {
func (s *SyncManager) checkUsedSpace() error {
usedPctile, err := GetUsedSpace(logUtils.GetBlobsDir())
if err != nil {
return errors.Err(err)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment