08-30-2024 07:27 AM
Hello YANG Suite community!
I can't get YANG Suite running (Docker-based version), because it crashes before even starting the web interface.
Here is what I did:
- Cloned from the github repo:
git clone https://github.com/CiscoDevNet/yangsuite
- Ran the startup script:
cd yangsuite/docker/
./start_yang_suite.sh
Correctly setup the admin user and the test certificates, then the script automatically builds the containers and runs them.
After a few seconds, the "yangsuite" container crashes and terminates:
yangsuite-1 | /yangsuite/migrate_and_start.sh: line 29: 39 Bus error (core dumped) uwsgi --ini /yangsuite/uwsgi.ini
yangsuite-1 exited with code 135
If I stop and restart all containers (docker-compose down; docker-compose up), yangsuite crashes every time.
Can you please help?
------------------------------------------------------------------------------------------------
Here is my system:
Operating System: Ubuntu 22.04.4 LTS
Kernel: Linux 5.15.0-119-generic
Architecture: x86-64
Docker version 26.1.4, build 5650f9b
Docker Compose version v2.27.1
I've attached the complete stdout/stderr log when running start_yang_suite.sh
Thank you!
08-30-2024 08:03 AM
@nic-carap saw this here too
https://community.cisco.com/t5/tools/getting-started-with-yang-suite/td-p/4286507
Run docker-compose logs -f yangsuite
this will give more insight into what is happening inside the container before it crashes.
I check the issues on the repo and saw this https://github.com/CiscoDevNet/yangsuite/issues/22 - not sure if this is the same issue?
09-03-2024 02:30 AM
Thank you @bigevilbeard ,
@bigevilbeard wrote:@nic-carap saw this here too
https://community.cisco.com/t5/tools/getting-started-with-yang-suite/td-p/4286507
Run docker-compose logs -f yangsuite this will give more insight into what is happening inside the container before it crashes.
I check the issues on the repo and saw this https://github.com/CiscoDevNet/yangsuite/issues/22 - not sure if this is the same issue?
Tried docker-compose logs -f yangsuite but it shows exactly the same log I posted before (Yangsuite-startup-crash-log.rtf).
I also tried enabling debugging in yangsuite command-line options (i.e.: I edited docker/yangsuite/Dockerfile, added "--debug" option, ad rebuilt everything "docker compose up --build"), but got still the same logs, with the same crash.
It seems like a very bad bug in yangsuite... I wonder if I am the only one experiencing this.
09-03-2024 02:39 AM
@nic-carap i search around, as ive seen a few things, but agree not this one. The only one which came close was the issue on the repo i shared. I would suggest open your own issue there and allow the devs to take a look if this a new issue you have found or they know a fix.
Hope this helps.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide