Closed guysbrown closed 5 months ago
I just ran thru the setup steps, and did not run into any issues. I did the test on a Ubuntu Jammy image. I'm wondering if you should just delete the image and start again
Hey,
Thanks for the response.
I have tried several times (deleting the stack/container/image/volume/etc) but still run into the same issue.
Do you use the same Docker config as per the help page - or was it somehow different?
Also, I am using Portainer and Docker installed on my Asustor Drivestor AS1102T NAS if that makes any difference.
Best Regards,
Guy
I'm not familiar with Asustor Drivestor AS1102T NAS
but I just followed the steps in the wiki to set it up on my ubuntu jammy test machine.
I'm not familiar with Portainer, but am wondering if there were errors or issues earlier during the deploy process that may be causing the problem. It looks like something is failing during deploy
Yes, it seems like Node is completely broken.
I'm facing the same error, although I'm trying to spin up the docker container in a Firewalla Gold, where I already have other docker containers running... on a fresh install with this docker-compose.yaml
version: '2'
services:
homebridge:
image: homebridge/homebridge:ubuntu
container_name: homebridge
restart: always
network_mode: host
environment:
- PGID=1000
- PUID=1000
- HOMEBRIDGE_CONFIG_UI=1
- HOMEBRIDGE_CONFIG_UI_PORT=8581
- TZ=America/Panama
- ENABLE_AVAHI=0
volumes:
- '/mnt/data/docker/homebridge/data:/homebridge'
logging:
driver: "json-file"
options:
max-size: "10m"
the container spins up but the application never runs, it loops with these internal errors
Re-installing homebridge...
node[261]: ../src/node_platform.cc:68:std::unique_ptr<long unsigned int> node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start(): Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))' failed.
1: 0xb85bc0 node::Abort() [node]
2: 0xb85c3e [node]
3: 0xbf30fe [node]
4: 0xbf31e1 node::NodePlatform::NodePlatform(int, v8::TracingController*, v8::PageAllocator*) [node]
5: 0xb438f3 node::InitializeOncePerProcess(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, node::ProcessFlags::Flags) [node]
6: 0xb43f4b node::Start(int, char**) [node]
7: 0x7f9889ce3d90 [/lib/x86_64-linux-gnu/libc.so.6]
8: 0x7f9889ce3e40 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
9: 0xac1f4e _start [node]
Aborted (core dumped)
/opt/homebridge/bin/node[258]: ../src/node_platform.cc:68:std::unique_ptr<long unsigned int> node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start(): Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))' failed.
1: 0xb85bc0 node::Abort() [/opt/homebridge/bin/node]
2: 0xb85c3e [/opt/homebridge/bin/node]
3: 0xbf30fe [/opt/homebridge/bin/node]
4: 0xbf31e1 node::NodePlatform::NodePlatform(int, v8::TracingController*, v8::PageAllocator*) [/opt/homebridge/bin/node]
5: 0xb438f3 node::InitializeOncePerProcess(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, node::ProcessFlags::Flags) [/opt/homebridge/bin/node]
6: 0xb43f4b node::Start(int, char**) [/opt/homebridge/bin/node]
7: 0x7ff7e996ad90 [/lib/x86_64-linux-gnu/libc.so.6]
8: 0x7ff7e996ae40 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
9: 0xac1f4e _start [/opt/homebridge/bin/node]
and in my data directory /config.json
{
"mdns": {
"interface": "192.168.99.1"
},
"bridge": {
"name": "Homebridge FWG",
"username": "5V:20:6G:1A:1B:9C",
"port": 52175,
"pin": "822-72-948"
},
"accessories": [],
"platforms": [
{
"name": "Config",
"port": 8581,
"platform": "config"
}
]
}
I have NPM, Unifi and Pi-Hole running flawlessly in my FWG... did you manage to make it work?
FWG Box Version 1.9770 Docker Version 19.03.6 Operating System: Ubuntu 18.04.3 LTS Architecture: x86_64
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been closed as no further activity has occurred.
Current Situation
I used the followed guide to install HomeBridge via Portainer however HomeBridge fails to be installed properly:
https://github.com/homebridge/docker-homebridge/wiki/Homebridge-on-Portainer
Please see the attached logs.
I am unsure how to fix it. Please help.
Docker Config
Logs
Host Operating System
Other (specify in description)
Host Architecture
x86_64 / amd64