question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

vsf not working with docker installation guide / tutorial

See original GitHub issue

Current behavior

I have successfully installed the vsf-api and vsf without any problem. But when I tried to run the http://localhost:3000, the server is not running because an error. When I checked the logs with “docker-compose logs -f” at “vue-storefront” folder, there is a missing theme required, “vsf-default” or “vsf-capybara”.

So I tried to install the vsf-default theme, and successfully running the and access the http://localhost:3000 (with “yarn dev”, “docker-compose up -d” in tutorial not working).

But it always redirect to http://localhost:3000/error everytime I refresh any pages. And this is the error log I found on vsf log :

[search] Can not connect the vue-storefront-api / ElasticSearch instance! Error: {"code":500,"result":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"vue_storefront_catalog","index_uuid":"_na_","index":"vue_storefront_catalog"}],"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"vue_storefront_catalog","index_uuid":"_na_","index":"vue_storefront_catalog"}}

Expected behavior

Steps to reproduce the issue

just follow this tutorial “install with docker” part. https://docs.vuestorefront.io/guide/cookbook/setup.html#_0-introduction

Repository

Can you handle fixing this bug by yourself?

  • YES
  • NO

Which Release Cycle state this refers to? Info for developer.

Pick one option.

  • This is a bug report for test version on https://test.storefrontcloud.io - In this case Developer should create branch from develop branch and create Pull Request 2. Feature / Improvement back to develop.
  • This is a bug report for current Release Candidate version on https://next.storefrontcloud.io - In this case Developer should create branch from release branch and create Pull Request 3. Stabilisation fix back to release.
  • This is a bug report for current Stable version on https://demo.storefrontcloud.io and should be placed in next stable version hotfix - In this case Developer should create branch from hotfix or master branch and create Pull Request 4. Hotfix back to hotfix.

Environment details

  • Browser: Google Chrome, Version 83.0.4103.61 (Official Build) (64-bit)
  • OS: Mac OS Mojave, 10.14.5
  • Node: 10.15.3
  • Code Version: vsf-api 29d4ce5, vsf d04b90f

Additional information

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:10

github_iconTop GitHub Comments

10reactions
py-lotcommented, Jun 21, 2020

I spend a week dealing with this issue and no idea how fix it… no mentioned on the documentation. For somebody like me with no idea about the project is hard to follow and get it up and running vue-storefront. Please update the https://docs.vuestorefront.io/guide/cookbook/setup.html#_0-introduction thanks

5reactions
apaajabolehdcommented, Jun 12, 2020

@gibkigonzo I’ve tried the ES add-on, and yeah, it seems thats the problem, my ES health status is not connected. So I tried run yarn restore and its running now. But why the documentation not mention it at all? and do I have run it everytime I up the container?

Read more comments on GitHub >

github_iconTop Results From Across the Web

vsf not working with docker installation guide / tutorial #4522
I have successfully installed the vsf-api and vsf without any problem. But when I tried to run the http://localhost:3000, the server is not...
Read more >
1. Installation with Docker - Storefront API
# 2. Install with npm packages. Install all needed packages @storefront-api/core, @storefront-api/default-vsf, @storefront-api/default-catalog, @ ...
Read more >
Troubleshoot Docker Engine installation
Troubleshoot Docker Engine installation. This page contains instructions for troubleshooting and diagnosing the Docker Engine installation.
Read more >
Install Docker Engine on Ubuntu
Instructions for installing Docker Engine on Ubuntu. ... Re-running it can cause issues if it attempts to re-install repositories which already exist on...
Read more >
Docker Engine post-installation steps
These optional post-installation procedures shows you how to configure your Linux host machine to work better with Docker. Manage Docker as a non-root...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found