AdguardTeam / AdguardTeam/AdGuardHome

Unable to access $SNAP_COMMON for Certificates and Private key path for Encryption settings

未關閉
#6,400 1 則留言 0 個 reaction 已指派 1 人 已被 @ainar-g 認領 在 GitHub 檢視
documentation
主要語言
TypeScript
星號
36.9k
分支
2.5k
PR 合併指標
30 天內沒有已合併 PR

描述

### Prerequisites

- [X] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) and found no answer

- [X] I have searched other issues and found no duplicates

- [X] I want to report a bug and not [ask a question or ask for help](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a)

- [X] I have set up AdGuard Home correctly and [configured clients to use it](https://github.com/AdguardTeam/AdGuardHome/wiki/Clients). (Use the [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) for help with installing and configuring clients.)

### Platform (OS and CPU architecture)

Linux, ARM64

### Installation

Snapcraft

### Setup

On one machine

### AdGuard Home version

0.107.40

### Action

Under Encryption settings
For the pathing of Certificates and Private key, there is no documentation or hint on what is the actual path that will work for snap package.
I tried copying the cert to /var/snap/adguard-home/common but AdguardHome do not seems to find the file over there.
I tried /var/snap/adguard-home/current as well.
Looking through the snap documentation, $SNAP_COMMON would be the current environment variable to use to determine the current path but that does not seems to get evaluated correctly either.

### Expected result

$SNAP_COMMON should be support or documentation to provide a hint on where the root directory that AdguardHome is trying to find the cert and key.

### Actual result

reading key file: open $SNAP_COMMON/domain.key: no such file or directory

### Additional information and/or screenshots

_No response_

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。