dchristl / macless-haystack

Create your own AirTag with OpenHaystack, but without the need to own an Apple device
GNU General Public License v3.0
414 stars 66 forks source link

502 after reboot #128

Open GerhardK90 opened 2 months ago

GerhardK90 commented 2 months ago

Hi,

as soon as you touch the anisette container (restart etc) the macless-haystack is returning 502 instead of the locations. However, searching the anisette issues (https://github.com/Dadoum/anisette-v3-server/issues/8), it turned out that adding the user to both docker lines fixes the issue.

You can find out your UID by: id -u And your GID by: id -g

The docker line for the anisette server then has to be:

docker run -d --restart always --name anisette -p 6969:6969 --volume anisette-v3_data:/home/Alcoholic/.config/anisette-v3/lib/ --network mh-network --user UID:GID dadoum/anisette-v3-server

and the line for the macless-haystack container has to be:

docker run -it --restart unless-stopped --name macless-haystack -p 6176:6176 --volume mh_data:/app/endpoint/data --network mh-network --user 0:0 christld/macless-haystack

Hope it helps!