copilot-swe-agent[bot]
60f8286825
Preserve original TMPDIR value when setting temporary directory
...
Improve git_clone_scripts to save and restore the original TMPDIR value instead of unconditionally unsetting it, avoiding unintended side effects.
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
2026-01-03 06:56:08 +00:00
copilot-swe-agent[bot]
7deab5d18e
Fix subscription git clone failure by setting TMPDIR
...
Set TMPDIR=/tmp before git clone operations to fix "unable to get random bytes for temporary file" error in Docker environments with restricted system calls (e.g., Synology NAS).
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
2026-01-03 06:55:05 +00:00
Copilot
fbeb4f4a6c
Fix PM2 startup failures on ARM routers with Node.js incompatibility ( #2828 )
...
* Initial plan
* Add fallback mechanism for PM2 startup failures on incompatible hardware
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
2025-11-16 20:29:32 +08:00
Copilot
8f23c61fee
Add non-root Docker user support with automatic command setup ( #2830 )
...
* Initial plan
* Add non-root user guide and improve error messages
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Add PM2_HOME configuration to fix non-root user permission errors
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Fix PM2 socket error by using /tmp for PM2_HOME instead of mounted volume
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Document symlink permission limitation for non-root users
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Clarify that scheduled tasks auto-adapt to use full paths when symlinks unavailable
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Add error handling for symlink creation to prevent worker crashes
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Add practical solutions for non-root users to use ql and task commands
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Modify linkCommand to create symlinks in ~/bin for non-root users
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* 修复链接 task 命令
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
Co-authored-by: whyour <imwhyour@gmail.com>
2025-11-15 01:46:24 +08:00
Copilot
214241797d
Fix QlPort and QlGrpcPort environment variables ignored in host network mode and pm2 reload ( #2825 )
...
* Initial plan
* Fix host mode port configuration by using QlPort environment variable
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Fix GRPC_PORT conflict in host network mode
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Ensure BACK_PORT and GRPC_PORT survive pm2 reload with --update-env
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Move env.sh sourcing after fix_config to preserve more environment variables
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Refactor: Extract export_ql_envs function and move env.sh sourcing earlier
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Extract load_ql_envs function and reorder initialization in docker-entrypoint.sh and update.sh
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
2025-11-14 22:56:39 +08:00
whyour
18f27a9a69
移除 nginx
2025-11-02 19:29:59 +08:00
whyour
2e94d58758
修改启动命令环境变量
2025-05-18 22:02:55 +08:00
whyour
da639a1f8f
移除部分历史兼容逻辑
2025-05-09 15:37:05 +08:00
whyour
d871585eee
修改服务启动逻辑
2025-05-07 09:30:00 +08:00
whyour
124e01e93a
修复 QLAPI 修复环境变量 remarks,esm 依赖查不到
2025-04-19 01:38:43 +08:00
whyour
8173075b67
定时任务支持 @once 和 @boot 任务
2025-02-20 02:18:59 +08:00
whyour
07f43538df
修复写入文件 mode
2025-01-22 01:17:13 +08:00
whyour
51ef4e7476
修改任务状态更新失败提示,重复运行提示
2025-01-12 00:19:14 +08:00
whyour
43d6ac2071
增加手动停止标识
2024-12-31 00:17:30 +08:00
whyour
678e3e2dc6
修改认证信息存储方式,避免认证信息异常
2024-12-30 14:23:04 +08:00
whyour
20c6a1e8bf
移除任务执行前后的脚本参数
2024-10-26 14:12:58 +08:00
whyour
6ea8d361fd
修复 mac 时间格式化
2024-09-29 22:47:57 +08:00
whyour
459f465f3b
修复 shell 未定义变量错误
2024-08-31 20:23:37 +08:00
whyour
af5de8372c
修复 shell 变量初始化检查,更新 sentry 版本
2024-08-18 14:19:45 +08:00
whyour
162bd9d8cc
修复 config 引入顺序
2024-07-22 23:29:08 +08:00
whyour
e694570f1a
增加 task_before.js 和 task_before.py 文件,在执行任务前执行,避免环境变量过大报错
2024-07-22 01:07:00 +08:00
whyour
eb5cc3943d
Javascript 和 Python 增加内置函数 QLAPI.notify
2024-07-21 01:15:16 +08:00
whyour
1b39d3ab48
JavaScript 和 Python 执行脚本前执行 task_before
2024-07-20 17:28:48 +08:00
whyour
e191aca41f
修改环境变量加载逻辑
2024-07-10 23:29:44 +08:00
whyour
71ba1534f2
增加自定写入 js 和 py 类型环境变量
2024-07-02 00:44:48 +08:00
whyour
7efe81df9e
修复 data 目录判断逻辑
2024-06-25 22:25:36 +08:00
whyour
70f2bef5d2
修改 ql 和 task 命令生成逻辑
2024-05-29 22:09:01 +08:00
whyour
0b52e05af8
bark 推送增加 archive 参数
2024-05-05 20:10:57 +08:00
whyour
0593dae41d
增加示例脚本
2024-04-21 22:27:51 +08:00
whyour
7b7e03b503
修改 git clone 参数
2024-03-28 23:00:49 +08:00
whyour
7a8a8ab9b3
修改系统重启逻辑
2024-03-14 17:37:52 +08:00
whyour
18671264bf
移除 config.sh 中 PipMirror 和 NpmMirror配置
2023-12-25 22:05:33 +08:00
whyour
be1d68c0d1
修改 schedule 服务代理环境变量
2023-12-10 21:53:23 +08:00
whyour
4a3ac7dc4b
移除随机延迟相关配置及 ProxyUrl 默认值,修复拉库通知可能失败
2023-11-05 01:02:31 +08:00
whyour
4938635ef4
修复服务启动时环境变量污染
2023-10-20 17:54:32 +08:00
whyour
bd004a0489
修复设置代理时,schedule 服务通信异常
2023-10-14 23:05:25 +08:00
whyour
b6376ed2e8
修复定时任务 task_after 命令无法停止
2023-10-12 00:45:49 +08:00
whyour
2a41f64d1b
修复 QlBaseUrl 末尾不加斜杠无法访问
2023-09-29 16:07:41 +08:00
whyour
eddc03e295
修复定时任务间隔较小,任务状态不准确
2023-09-26 22:51:33 +08:00
whyour
ab3fc9b5f1
定时任务增加运行任务前和运行任务后参数
2023-09-19 22:44:32 +08:00
whyour
0511a4af0d
增加 QlPort 环境变量,支持设置服务启动的端口,修复定时任务视图操作符筛选
2023-09-15 17:57:28 +08:00
whyour
4f7649f157
系统设置增加系统运行日志
2023-08-21 00:10:43 +08:00
whyour
8b0dedaf8c
修复 linux 依赖是否存在判断
2023-07-24 22:02:26 +08:00
whyour
bd166ee794
修复 pm2 重启逻辑
2023-07-17 13:25:56 +08:00
whyour
683482e067
修改 ql update 逻辑
2023-07-08 00:18:09 +08:00
whyour
1718120623
修改更新仓库逻辑
2023-07-01 20:48:28 +08:00
whyour
79fd4ec58f
修复 nginx 变量替换
2023-05-26 17:08:40 +08:00
whyour
490bdc15f6
支持非根目录部署
2023-05-19 01:10:33 +08:00
whyour
8b7bef097c
修复拉取仓库逻辑
2023-05-12 18:28:01 +08:00
whyour
618756d4a9
修复设置代理时,服务启动失败
2023-05-10 23:17:05 +08:00