Can't renew ssl on apparel 8.0.2
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 3.1k
- Forks
- 763
- PR merge metrics
- No merged PRs in 30d
Description
An error occurred while the panel was running!
AttributeError: 'NoneType' object has no attribute 'get'
REQUEST_DATE: 2026-05-14 09:48:43
VERSION: Debian GNU/Linux 13 (trixie) x86_64(Py3.12.3) - 8.0.2
REMOTE_ADDR: 27.147.234.186
REQUEST_URI: POST /v2/ssl_domain?action=renew_cert_process
REQUEST_FORM: {'hash': '635c3893ccb973704cc73c71a8c12db0'}
USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.4 Safari/605.1.15
Traceback (most recent call last):
File "/www/server/panel/BTPanel/init.py", line 2969, in publicObject
return run_exec().run(toObject, defs, get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/BTPanel/init.py", line 2915, in run
result = getattr(toObject, get.action)(get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class_v2/ssl_domainModelV2/api.py", line 742, in renew_cert_process
return self.apply_new_ssl(args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class_v2/ssl_domainModelV2/api.py", line 925, in apply_new_ssl
if site.get("status") != "1":
^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in /www/server/panel/class_v2/ssl_domainModelV2/api.py at renew_cert_process and apply_new_ssl, then trace how site is obtained before line 925. Reproduce the renewal request shown in the report and verify that a missing site no longer causes the AttributeError and that the renewal flow returns an appropriate result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100