mollyim / mollysocket

MollySocket allows getting Signal notifications via UnifiedPush.
GNU Affero General Public License v3.0
106 stars 10 forks source link

raspberry pi installation #17

Closed llbstr closed 10 months ago

llbstr commented 10 months ago

hello and thanks for bringing all that work, I wanted to try mollysocket for limiting battery drain on my phone.

I tried the installation on my raspberry, unfortunately compiling failed, I have a rpi 3B+, surely that's not next gen and maybe this is causing the crashes. Compiling crashed on both 64 and 32bits versions of raspberry pi os lite. At the very end for 32bits. This is when it crash : "Building [=======================> ] 324/325: mollysocket(bin)

I was not able to make it work with docker, my skills are quite limited, after some tests I sticked to the readme file for cargo but ended with the compilation crash.

If you have a tip on trying something differently that'd be nice, and thanks again for all the work.

p1gp1g commented 10 months ago

Have you check the version of cargo you are using: https://github.com/mollyim/mollysocket/issues/15#issuecomment-1856262696

If you struggle with cargo, you can use the release builds if you want: https://github.com/mollyim/mollysocket/releases

llbstr commented 10 months ago

Thanks for the help, my cargo version is 1.74.1 armv7 installed with rustup.

I tried the release build, but I get stuck with this error, "libssl.so.3: cannot open shared object file: No such file or directory debian".

Researched it but had no luck so far.

p1gp1g commented 10 months ago
apt install -y libssl3 libsqlite3-0 ca-certificates

should work

llbstr commented 10 months ago

apt install -y libssl3 libsqlite3-0 ca-certificates was not possible but I had an unexpected success with dietpi os / airgapped mode / arm64 binary. Still getting notifications like "you may have new messages" and "searching for new messages" but it looks ok either from the phone side and the mollysocket connection. I'll check if I forget something if the next days.

p1gp1g commented 10 months ago

These messages are also present with FCM

llbstr commented 10 months ago

These messages are also present with FCM

So everything's flawless! And the battery drain is gone. That was the last thing keeping me from running divestos without google play service. Thanks for the support.