# 登入與修正

![](/files/-Lp6RMF9Z_WSZzz8BT2Y)

登入時提醒目前沒有付費授權資訊

![](/files/-Lp6RZ6-BcVPTxKIt0uD)

Proxmox VE 軟體授權條款，採用的是 GNU AGPL (Affero General Public License) 條款，而 Proxmox VE 本身是 Free Software 自由軟體，也是 Open Source Software 開源軟體。PVE 是讓所有人都可以無償取得使用，包括原始程式碼，對於標準的「使用者」而言，並不需要付費給 PVE 開發團隊即可進行使用。

若您對於 PVE 進行程式碼修改，依據授權條款，您必須將您修改的部份也公開原始碼。自由軟體與開源軟體並不等於免費，這件事必須特別說明。軟體使用不須付費，但可以是經由其它模式而進行收費，例如技術支援、版本更新等....

所以就是可以在無需支付費用的情況下使用 PVE 。除了登入畫面出現沒有付費授權金鑰以外，使用起來並沒有任何限制與功能差異。

修改文件/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js

修改之前記得先備份一/usr/share/javascript/proxmox-widget-toolkit#&#x20;

```
cd /usr/share/javascript/proxmox-widget-toolkit/
cp proxmoxlib.js proxmoxlib.js.bak
vim proxmoxlib.js

```

找到`if (data.status !== 'Active') {`

![](/files/-LpR7aXjrGQxBKXM_Hij)

修改為`if (false) {`

![](/files/-LpR8Bt1RgkqzmyIbMNK)

`存檔`\
systemctl restart pveproxy

![](/files/-LpR8Dr9y9qcBGb8dWUI)

然後CTRL+F5強制刷新網頁，或清理一下瀏覽器的緩存

更新 PVE 時發生錯誤\
Failed to fetch <https://enterprise.proxmox.com/debian/pve/dists/buster/InRelease> 401 Unauthorized
---------------------------------------------------------------------------------------------------

這個情況，是因為預設安裝完成的 PVE 是連接到 Enterprise Repository 的更新來源，而您沒有付費取得授權金鑰因此無法更新。<br>

## 解決辦法

將 PVE 的更新來源切換為 No-Subscription Repository 或 Test Repository，即可順利更新。\
\
cd /etc/apt/sources.list.d\
切換更新來源為 No-Subscription Repository

> ```
> cp pve-enterprise.list pve-no-subscription.list
> nano pve-no-subscription.list
> deb http://download.proxmox.com/debian/pve buster pve-no-subscription
> mv pve-enterprise.list /root/
> ```

apt update就不會有<https://enterprise.proxmox.com/debian/pve/dists/buster/InRelease> 401 Unauthorized

```
apt update
Hit:1 http://ftp.tw.debian.org/debian buster InRelease                         
Hit:2 http://ftp.tw.debian.org/debian buster-updates InRelease                 
Hit:3 http://security.debian.org buster/updates InRelease
Hit:4 http://download.proxmox.com/debian/pve buster InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
90 packages can be upgraded. Run 'apt list --upgradable' to see them.
apt install pve-container
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kawsing.gitbook.io/opensystem/andoid-shou-ji/pomoxve/deng-ru.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
