Comments (8)
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.
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.
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:
Also I checked the log of the backend as shown below, could this be the reason why the backend container exited?
from certification-tool.
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.
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.
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.
@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.
Closing the issue since it has been resolved.
from certification-tool.
Related Issues (20)
- [Feature] Backend / Frontend and SDK SHA to be displayed in Frontend UI
- [Feature] Setup Script to do the entire install after installing the ubuntu server for users HOT 1
- [Issue] Error happen during "Forming Thread Network and Generating Dataset for Thread Pairing" HOT 1
- Update User Guide with project default configuration
- [Bug] Fixed Label cluster has no FeatureMap attribute on certification test device
- [Bug] [Test Failed] Test_TC_TSTAT_2_2.yaml - Steps 16 and 18 [Reads back OccupiedCoolingSetpoint and OccupiedHeatingSetpoint] fail
- [Bug] Unable to update chip_use_paa_certs attribute of project config HOT 7
- [Bug] Dependency issue apt-transport-https 2.4.11 on fresh 1.3 TH (beta) fails auto-install script HOT 2
- [Bug] Ble-thread Pairing is failed in automated yaml script. HOT 2
- [Bug] Show execution or repeat execution from Python Testing Suite - Legacy suite is not working
- Yaml files location has to be updated in TH user guide HOT 1
- [Bug] [TC-CADMIN-1.24]The DUT that support Ble-thread failed in the step 1 when testing CADMIN in UI. HOT 1
- [Bug] Two dependencies are unavailable HOT 1
- [Bug] - TH user guide links to CSG area iso all-members
- [Bug] ! backend The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64/v3) HOT 2
- [Bug] [PICS-tool] SWTCH.S.F## validation issue HOT 1
- [TC-OO-3.2] How to run Simulated Test?
- [TC-DA-1.2] Validation when using `parse_ids_from_common_name` failed when VID or PID are digits only.
- [Bug] Test harness issue updating to v2.10+spring204 HOT 6
- [Bug] TC_IDM_1_2 and TC_OPCRED_3_1 failing when TH is connected over wlan
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from certification-tool.