Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zkstack ecosystem create hanging on starting container #3318

Open
mesozoic-technology opened this issue Nov 22, 2024 · 1 comment
Open

zkstack ecosystem create hanging on starting container #3318

mesozoic-technology opened this issue Nov 22, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@mesozoic-technology
Copy link

🐛 Bug Report

📝 Description

I'm trying to follow these docs to spin up an l2 locally on my computer.

https://code.zksync.io/tutorials/custom-zk-chain?utm_source=zkstack&utm_medium=landing_page&utm_campaign=aug16&utm_content=deploy_zkchain

I installed zkstackup, ran it, and tried to create a new ecosystem by running zkstack ecosystem create

The first time tried this, I accidentally chose yes for evm emulator. That failed.

The second time, there was a port clash with my local postgres which I had started up months ago and was still running.

The third time, it succeeded in creating the ecosystem. After that, though, I tried to run zkstack ecosystem init --dev after changing directories to the ecosystem folder I just created. I experienced another problem here that I've documented in this following issue: #3317

To try to address that, I figured I would try to wipe the ecosystem, kill the docker image, and try to start again.

Everything seemed to be going to plan, but when it got to the starting containers stage, it just stays there, for more than fifteen minutes. It's still going right now. There is no log output.

🔄 Reproduction Steps

Install an ecosystem. Then delete it, including the currently running docker image, and try to reinstall the ecosystem again.

🤔 Expected Behavior

I'd expect it to reinstall the ecosystem. I even tried a new directory name.

😯 Current Behavior

It hangs forever at the starting container stage.

🖥️ Environment

I'm on a macbook m2.

@mesozoic-technology mesozoic-technology added the bug Something isn't working label Nov 22, 2024
@mesozoic-technology
Copy link
Author

It seems like this ran into a problem with docker somehow. I started poking around and went into my docker dashboard. I noticed in the volume section there were two volumes from zksync, one for postgres and one for reth. I tried deleting them. Rather than being deleted, the deletion button changed its text to "deleting..." but otherwise did nothing. I quit docker and restarted it. I was then able to delete the volumes. After deleting the volumes, I ran zkstack ecosystem create again. It finished in a couple seconds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant