我在我的 NAS(TS-464)上運行著由 sherpa 安裝的 SABnzbd 套件,結果今天突然無法連接到它了。我唯一知道的變化就是今天一早剛安裝了最新的 QNAP 韌體更新 QTS 5.2.9.3499。其他在 NAS 上運行的套件都正常,SABnzbd 套件也顯示運作中,沒有報錯。我已經卸載再重裝過,但還是沒辦法解決。
除了回滾到上一個韌體版本(這甚至有可能做到嗎?)之外,我已經沒有主意了。有人有相關資訊或遇到類似情況嗎?
我在我的 NAS(TS-464)上運行著由 sherpa 安裝的 SABnzbd 套件,結果今天突然無法連接到它了。我唯一知道的變化就是今天一早剛安裝了最新的 QNAP 韌體更新 QTS 5.2.9.3499。其他在 NAS 上運行的套件都正常,SABnzbd 套件也顯示運作中,沒有報錯。我已經卸載再重裝過,但還是沒辦法解決。
除了回滾到上一個韌體版本(這甚至有可能做到嗎?)之外,我已經沒有主意了。有人有相關資訊或遇到類似情況嗎?
嗨,兄弟,你能把這個指令的輸出貼出來嗎?
/etc/init.d/sabnzbd.sh status
# /etc/init.d/sabnzbd.sh status
- QPKG 啟用:是
- 應用程式自動更新:否
- 目前 git 分支:master
- 守護進程 PID:無
目前沒有在運行。
你可以幫我檢查一下服務日誌嗎?
/etc/init.d/sabnzbd.sh log
我之前都不知道有這些指令 ![]()
這是我上次重新安裝到現在的日誌,看起來虛擬 Python 環境已經不存在了……完全不知道為什麼?
109 - source: sabnzbd.sh, action: start, time: Fri 29 May 2026 12:45:58 PM EST, load: 1.94
110 - package: 260502, service: 260502, library: 260501
111 - QPKG enabled: true
112 - application auto-update: false
113 - active git branch:
114 - daemon PID: none
115 - file exists: /opt/bin/git
116 > create 'SABnzbd' from remote repository: OK
117 - active git branch: master
118 > create new virtual Python environment: failed
119 dbug: (LL)
120 dbug: (LL) adding external log to main log ...
121 dbug: (LL) ----------------------------------------------------------------------------------------------------
122 dbug: (LL) log file: '/var/log/DisplayRunAndLog_O7su6q'
123 dbug: (LL) command: 'export PIP_CACHE_DIR="/share/CACHEDEV1_DATA/.qpkg/SABnzbd/pip-cache" VIRTUALENV_OVERRIDE_APP_DATA="/share/CACHEDEV1_DATA>
124 dbug: (LL) = result_code: [1]
125 dbug: (LL) ••••••••••••••••••••••••••••••••••• stdout & stderr begins below •••••••••••••••••••••••••••••••••••
126 dbug: (LL) /opt/bin/python3: No module named virtualenv
127 dbug: (LL) ••••••••••••••••••••••••••••••••••• stdout & stderr is complete ••••••••••••••••••••••••••••••••••••
128 dbug: (LL) ----------------------------------------------------------------------------------------------------
129 > create QPKG 'pip' config: OK
130 > add location '/share/CACHEDEV1_DATA/.qpkg/SABnzbd/pip-cache' as 'pip' cache: OK
131 > add location '/share/CACHEDEV1_DATA/.qpkg/SABnzbd/qpkg-wheels' to 'pip' search path: OK
132 ! unable to install addons: virtual Python environment does not exist
133 = source: sabnzbd.sh, action: start, time: Fri 29 May 2026 12:46:01 PM EST, result: FAILED, elapsed: 2,440ms, load: 2.11
134 •
135 - source: sabnzbd.sh, action: stop, time: Fri 29 May 2026 5:11:54 PM EST, load: 1.12
136 - package: 260502, service: 260502, library: 260501
137 - QPKG enabled: false
138 - application auto-update: false
139 - active git branch: master
140 - daemon PID: none
141 = source: sabnzbd.sh, action: stop, time: Fri 29 May 2026 5:11:54 PM EST, result: OK, elapsed: 24ms, load: 1.12
142 •
143 - source: sabnzbd.sh, action: start, time: Fri 29 May 2026 5:12:12 PM EST, load: 0.95
144 - package: 260502, service: 260502, library: 260501
145 - QPKG enabled: true
146 - application auto-update: false
147 - active git branch: master
148 - daemon PID: none
149 - file exists: /opt/bin/git
150 - active git branch: master
151 > create new virtual Python environment: failed
152 dbug: (LL)
153 dbug: (LL) adding external log to main log ...
154 dbug: (LL) ----------------------------------------------------------------------------------------------------
155 dbug: (LL) log file: '/var/log/DisplayRunAndLog_cQ2Rrr'
156 dbug: (LL) command: 'export PIP_CACHE_DIR="/share/CACHEDEV1_DATA/.qpkg/SABnzbd/pip-cache" VIRTUALENV_OVERRIDE_APP_DATA="/share/CACHEDEV1_DATA>
157 dbug: (LL) = result_code: [1]
158 dbug: (LL) ••••••••••••••••••••••••••••••••••• stdout & stderr begins below •••••••••••••••••••••••••••••••••••
159 dbug: (LL) /opt/bin/python3: No module named virtualenv
160 dbug: (LL) ••••••••••••••••••••••••••••••••••• stdout & stderr is complete ••••••••••••••••••••••••••••••••••••
161 dbug: (LL) ----------------------------------------------------------------------------------------------------
162 ! unable to install addons: virtual Python environment does not exist
163 = source: sabnzbd.sh, action: start, time: Fri 29 May 2026 5:12:12 PM EST, result: FAILED, elapsed: 116ms, load: 0.95
如果你不帶任何參數執行 service 腳本,就可以看到所有指令。![]()
我同意,virtualenv 模組好像不在。嗯,一切都有更新到最新嗎?
sherpa upgrade new
另外,出現問題時建議執行一次 fix:
sherpa fix
完成後,再試著檢查一次 SABnzbd 服務腳本的狀態。
看來 sherpa upgrade new 已經修復了問題。
我現在有 sabnzbd 安裝精靈,可以重新設定了。
感謝你的幫助,真的非常感激。
做得好,夥伴。![]()
如果你在解除安裝前用服務指令碼(service script)先 backup(備份)配置,重裝 SABnzbd 之後再還原(restore)就很輕鬆。服務指令碼會處理備份跟還原,一切都很簡單。