Coder Social home page Coder Social logo

Comments (8)

Yinxq avatar Yinxq commented on June 4, 2024 1

Hi, @ccruzagralopes, TH is already installed on the Raspberry Pi and I ran the ./scripts/pi-setup/auto-install.sh script before auto-update.sh, but still get the same npm error. What should I do if I want to update the yaml files?

Also, the issue Backend Container Exited has been resolved. I ran ./scripts/stop.sh and ./scripts/start.sh scripts and TH ran successfully. Many thanks for your reply!

from certification-tool.

ccruzagralopes avatar ccruzagralopes commented on June 4, 2024

Hi @Yinxq, TH has been migrated from the private repo to this one. So to get the latest version you'll need to clone this new repo or use the latest image. Please be aware that there was a breaking change in the database for this new version so the update process involves reseting it, which will cause you to loose the your data.

To get the latest TH version, you can follow these instructions:

rm -Rf <local_copy_of_the_old_repo>
git clone https://github.com/project-chip/certification-tool.git
cd certification-tool
git fetch
git checkout v2.10-beta1.1+spring2024
git submodule update --init
./scripts/ubuntu/auto-update.sh v2.10-beta1.1+spring2024
./scripts/start.sh -b
docker container exec -it certification-tool_backend_1 bash
poetry install
./scripts/reset_db.py
exit
./scripts/stop.sh
./scripts/start.sh

Please perform this update and let us know if the issue persists

from certification-tool.

Yinxq avatar Yinxq commented on June 4, 2024

Hi @ccruzagralopes, I followed these steps on another Raspberry Pi 4. When executing the command
./scripts/ubuntu/auto-update.sh v2.10-beta1.1+spring2024
the following error occurred:
image

Also I checked the log of the backend as shown below, could this be the reason why the backend container exited?
image

from certification-tool.

ccruzagralopes avatar ccruzagralopes commented on June 4, 2024

Hi @Yinxq, the first screenshot reports an npm failure. Did this Raspberry Pi have a TH before? If not, you'll have to run the ./scripts/pi-setup/auto-install.sh script before auto-update.sh to install all the dependencies.

Regarding the backend logs, I can't tell the issue from this screenshot, but if you can sand me the whole log I can take a look at it to see if I can find the cause of the problem.

from certification-tool.

ccruzagralopes avatar ccruzagralopes commented on June 4, 2024

Hi @Yinxq, I'm glad you were able to run TH.

About the npm error: I've never seen it, but maybe there's something different in your environment configuration. Can you please run ./scripts/th/th-doctor.sh --system and send me the output?

from certification-tool.

Yinxq avatar Yinxq commented on June 4, 2024

Hi @ccruzagralopes, thanks for your reply! I am not able to provide this output now because I have installed the spring2024-TE1 version on this raspberry pi and the yaml files have also been updated.

from certification-tool.

ccruzagralopes avatar ccruzagralopes commented on June 4, 2024

@Yinxq great! So I take it that you have a working environment, then? Is there still some problem or can this issue be closed?

from certification-tool.

Yinxq avatar Yinxq commented on June 4, 2024

Closing the issue since it has been resolved.

from certification-tool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.