Ask questionsNo such file or directory: './pairings/accessory-secret'
when i run the docker container on rpi 4 :
[....] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemo[.ok Traceback (most recent call last): ��File "ap2-receiver.py", line 190, in <module> ��LTPK = LTPK() ��File "ap2-receiver.py", line 164, in init ��announce_id, self.ltpk = Hap(PI).configure() ��File "/airplay2/ap2/pairing/hap.py", line 170, in init ����with open("./pairings/accessory-secret", "wb") as secret_file: FileNotFoundError: [Errno 2] No such file or directory: './pairings/accessory-secret'
Answer questions systemcrash
Interesting. It's attempting to write the file to that path. Permissions to be able to write to that folder
pairings and that file in the folder are necessary. Can you
touch the file and create an empty binary file? Does it work then?
Related questionsNo questions were found.