Skip to content

(Subtensor Docker Broken: v2.0.11) Error: Input("Error opening spec file raw_spec_finney.json: No such file or directory (os error 2)") #1553

Closed
@Tegridy-X

Description

@Tegridy-X

Describe the bug

v2.0.11 seems to be faulty for docker instances

To Reproduce

# Checkout version v2.0.11 or pull latest

# reclone repo
echo "[ cloning repository... ]"

# set repo URL
REPO_URL="https://github.com/opentensor/subtensor"

# Retrieve the latest release tag from GitHub
LATEST_TAG=$(curl -Ls -o /dev/null -w %{url_effective} "$REPO_URL/releases/latest" | sed 's:.*/::')

# or set static
# LATEST_TAG=v2.0.11

echo "Latest tag found: $LATEST_TAG"

# Clone the specific tag
git clone --branch "$LATEST_TAG" --depth 1 "$REPO_URL.git" subtensor

echo "Cloned repository at tag $LATEST_TAG."

cd subtensor

# to run a lite node on the mainnet:
echo "[ setting up a lite node on the mainnet... ]"
./scripts/run/subtensor.sh -e docker --network mainnet --node-type lite

Expected behavior

Successfully create subtensor docker container and run it

Screenshots

No response

Environment

Debian 12 amd64 / Docker / RAM: 16GB / HDD: 500GB

Additional context

Result:
Docker container exists with error:

Error: Input("Error opening spec file raw_spec_finney.json: No such file or directory (os error 2)")
NOTE: v2.0.10 works fine.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions