Open Joaav opened 7 months ago
Hi, any ideas how to fix this?
I have the same issue. Anyone found a solution?
I compiled from scratch using dub and executed without docker. Executing the build gives a Segmentation fault Error.
app INFO 2024-06-27T14:47:21.801 anisette-v3-server v2.1.0
app INFO 2024-06-27T14:47:21.807 Downloading libraries from Apple servers...
app INFO 2024-06-27T14:48:24.938 Done !
Segmentation fault
I ended up running it on my Synology NAS and it works there. No idea how to make it work on rpi.
When using gdb to inspect a debug build I can trace the following errors:
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
Breakpoint 1, main (argc=argc@entry=1, argv=argv@entry=0x7ffffffff238) at /usr/lib/ldc/aarch64-linux-gnu/include/d/core/internal/entrypoint.d:42
42 return _d_run_main(argc, argv, &_Dmain);
(gdb) print argc
$1 = 1
(gdb) print argv
$2 = (char **) 0x7ffffffff238
(gdb) continue
Continuing.
app INFO 2024-06-27T15:53:30.986 anisette-v3-server v2.1.0
Program received signal SIGSEGV, Segmentation fault.
__memcpy_generic () at ../sysdeps/aarch64/multiarch/../memcpy.S:173
173 ../sysdeps/aarch64/multiarch/../memcpy.S: No such file or directory.
(gdb) bt
#0 __memcpy_generic () at ../sysdeps/aarch64/multiarch/../memcpy.S:173
#1 0x00005555555d91b4 in _D9provision14androidlibrary14AndroidLibrary6__ctorMFAyaHQePvZCQCjQCcQBp (this=0x7ffff76bb000, libraryName=..., hooks=...)
at ../.dub/packages/provision-fa028b6f4e6e2704bf43f92031fe5c3223045f64/provision/lib/provision/androidlibrary.d:96
#2 0x00005555555d51b0 in _D9provision3adi3ADI6__ctorMFAyaZCQBgQzQx (this=0x7ffff76b7400, libraryPath=...)
at ../.dub/packages/provision-fa028b6f4e6e2704bf43f92031fe5c3223045f64/provision/lib/provision/adi.d:78
#3 0x00005555555b1068 in _Dmain (args=...) at source/app.d:134
I ended up running it on my Synology NAS and it works there. No idea how to make it work on rpi.
@Joaav - Can you share screenshots of the settings/config you used to make it work on your Synology? I am having non-stop rebooting/crashing issues on when attempting to run on mine.
@KYLE-HILL
Here are my steps:
sudo -i
- grants you root access
docker run -d --restart always --name anisette-v3 -p 6969:6969 dadoum/anisette-v3-server:latest
I was using this to run find my flipper which required few additional steps - idk if you are interested in those.
Take a look at this. I had the same issues. Resolved it here:
Basic info:
I am running command:
docker run -d --restart always --name anisette-v3 -p 6969:6969 dadoum/anisette-v3-server:latest
After that container is running and returns following with input
docker container ls
Unfortunately input
curl https://localhost:6969
returns:curl: (7) Failed to connect to localhost port 6969: Connection refused
orcurl: (56) Recv failure: Connection reset by peer
When running
docker container ls
again I get no information on portsdocker logs
command doesn't give me anythingdocker service logs
command gives me this:Error response from daemon: This node is not a swarm manager. Use "docker swarm init" or "docker swarm join" to connect this node to swarm and try again.
Any help would be appreciated as I am tearing my hair out and cannot get this to work