Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

ee cli self-uninstall command does not remove the cron job created when installed

未关闭
#1,497 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
linux, php
领域
cli, devops

调研方向

payload 未指出任何文件或测试。请从 ee cli self-uninstall 入口点开始,追踪 crontab -l 中显示的 cron 作业是如何创建和移除的。完成的标准是卸载 EasyEngine 后不再留下该计划作业,并且已验证相关的 CLI 行为。

由索引模型根据 Issue 内容生成。

描述

Here's the output log when I tried to uninstall it and checked crontab:

root@enigma:/opt# ee cli self-uninstall 
Are you sure you want to remove EasyEngine and all its sites(along with their data)?
This is an irreversible action. No backup will be kept. [y/n] y
root@enigma:/opt# crontab -l
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin

0 0 * * * /usr/local/bin/ee site ssl-renew --all >> /opt/easyengine/logs/cron.log 2>&1

System Information

ee cli info
gagan@enigma:~$ sudo ee cli info
+-------------------+--------------------------------------------------------------------------------------------------+
| OS                | Linux 5.8.0-7630-generic #32~1609193707~20.10~781bb80-Ubuntu SMP Tue Jan 5 21:29:56 UTC 2 x86_64 |
| Shell             | /bin/bash                                                                                        |
| PHP binary        | /usr/bin/php7.3                                                                                  |
| PHP version       | 7.3.24-1+ubuntu20.04.1+deb.sury.org+1                                                            |
| php.ini used      | /etc/php/7.3/cli/php.ini                                                                         |
| EE root dir       | phar://ee.phar                                                                                   |
| EE vendor dir     | phar://ee.phar/vendor                                                                            |
| EE phar path      | /home/gagan                                                                                      |
| EE packages dir   |                                                                                                  |
| EE global config  | /opt/easyengine/config/config.yml                                                                |
| EE project config |                                                                                                  |
| EE version        | 4.1.5                                                                                            |
+-------------------+--------------------------------------------------------------------------------------------------+
lsb_release -a
gagan@enigma:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Pop
Description:	Pop!_OS 20.10
Release:	20.10
Codename:	groovy
docker version
gagan@enigma:~$ docker version
Client: Docker Engine - Community
 Version:           19.03.6
 API version:       1.40
 Go version:        go1.12.16
 Git commit:        369ce74a3c
 Built:             Thu Feb 13 01:27:49 2020
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
Engine:
Version: 19.03.6
API version: 1.40 (minimum version 1.12)
Go version: go1.12.16
Git commit: 369ce74a3c
Built: Thu Feb 13 01:26:23 2020
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.2.13
GitCommit: 7ad184331fa3e55e52b890ea95e65ba581ae3429
runc:
Version: 1.0.0-rc10
GitCommit: dc9208a3303feef5b3839f4323d9beb36df0a9dd
docker-init:
Version: 0.18.0
GitCommit: fec3683

docker-compose version
gagan@enigma:~$ docker-compose version
docker-compose version 1.25.0, build unknown
docker-py version: 4.1.0
CPython version: 3.8.6
OpenSSL version: OpenSSL 1.1.1g  21 Apr 2020
主要语言
PHP
星标
2.2k
派生
422
平均合并
2 天 3 小时
30 天内合并 PR
10

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

EasyEngine/easyengine 的其他 Issue

查看 EasyEngine/easyengine 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。