Hi all,
I have been running lean without issues for some time. However, when i try to setup a brand new server (Ubuntu 22.04), lean failed to start with the following error:
To enter multiple options, separate them with comma: 1
Delayed market data is used when you subscribe to data for which you don't have a market data subscription on IB. If delayed market
data is disabled, live trading will stop and LEAN will shut down when this happens.
Enable delayed market data (true/false)? [False]: true
Error: 404 Client Error for http+docker://localhost/v1.47/images/quantconnect/lean:latest/json: Not Found ("No such image:
quantconnect/lean:latest")
How can I resolve this?
Many thanks,
Andy
Mia Alissi
To resolve the error you're encountering, it seems like the Docker image for QuantConnect's LEAN is not found on your new server setup. Here's how you can address this issue:
Check Docker Installation: Ensure that Docker is installed and running on your Ubuntu server. You can verify this by running
docker --version
andsudo systemctl status docker
.Pull the Docker Image Manually: Sometimes, the automatic pulling of the Docker image might fail. You can manually pull the latest image by running:
Verify Docker Image Availability: After pulling the image, verify that it is available by running:
Ensure that
quantconnect/lean:latest
is listed.Update LEAN CLI: Make sure your LEAN CLI is up to date. You can update it by running:
Run LEAN with Specific Image: If the issue persists, you can specify the Docker image explicitly when running LEAN:
By following these steps, you should be able to resolve the "No such image" error and successfully start LEAN on your new server setup. If you continue to face issues, consider checking your network settings or Docker configuration for any restrictions or errors.
Sources: QuantConnect Paper Trading - QuantConnect.com, Research - QuantConnect.com
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
Kubid
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!