Files
MemRelay/projects/d1932ed6-07d3-4463-a224-8534ffd69a07/curated/NextOffice 项目当前状态概览.md
T

110 lines
5.0 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: NextOffice 项目当前状态概览
type: curated
permalink: main/projects/d1932ed6-07d3-4463-a224-8534ffd69a07/curated/next-office-项目当前状态概览
stable_id: 5bbc6eda-83e0-442d-ab3e-196559cad551
scope: project
project_id: d1932ed6-07d3-4463-a224-8534ffd69a07
workspace_type: development
usage_profile_id: null
preference_context: development
document_type: current_state
revision: 1
source_memory_ids:
- 1588ca3e-58fe-48b9-ad34-3e660324d24e
- e01606b2-f7b3-43e4-9510-8f81a0f68b4e
source_checkpoint_ids:
- d21e13e3-c1d0-47c2-85d6-13700478a0de
source_file_ids: []
source_git_commit: null
source_git_commits: []
source_agent_sync_ids: []
model_connection: Sub2API
model_name: git-restore
source_count: 25
source_revisions:
memory:f767d77f-63d6-4048-b954-89df53eb1b38: '1'
memory:6e9a8857-ce48-4b86-8bf1-9918ec2dbc38: '1'
memory:da0f10dd-d5b0-40b2-aa6a-c2a50c7c41d6: '1'
memory:920bcbec-1269-421c-9595-c336c4aaba61: '1'
memory:ed574a52-660d-4e46-86f5-854cf8ac4d96: '1'
memory:e01606b2-f7b3-43e4-9510-8f81a0f68b4e: '3'
memory:39ed36d1-e58a-4b64-88e6-165e006c0a41: '1'
memory:b5e9162b-d6c3-4593-9b7c-790af4145192: '1'
memory:98857cff-874e-476a-97c3-9c9c0c09b077: '1'
memory:df7b18f9-490f-415f-a388-2332d1b7df87: '1'
memory:68deebdd-e5d1-4bc6-8e70-e4342e72f986: '1'
memory:d21e13e3-c1d0-47c2-85d6-13700478a0de: '1'
source_dispositions:
processed: 25
unchanged: 0
unsupported: 0
skipped: 0
cited_source_ids:
- curated_baseline:5bbc6eda-83e0-442d-ab3e-196559cad551
- memory:e01606b2-f7b3-43e4-9510-8f81a0f68b4e
- memory:d21e13e3-c1d0-47c2-85d6-13700478a0de
- memory:39ed36d1-e58a-4b64-88e6-165e006c0a41
- memory:b5e9162b-d6c3-4593-9b7c-790af4145192
- memory:98857cff-874e-476a-97c3-9c9c0c09b077
- memory:df7b18f9-490f-415f-a388-2332d1b7df87
- memory:68deebdd-e5d1-4bc6-8e70-e4342e72f986
- global_guidance_memory:bf88c265-4749-4c50-85bc-4bae25298cd5
- global_guidance_memory:105b328f-4bda-4641-90a7-7282ef156316
- memory:920bcbec-1269-421c-9595-c336c4aaba61
- memory:ed574a52-660d-4e46-86f5-854cf8ac4d96
- memory:6e9a8857-ce48-4b86-8bf1-9918ec2dbc38
- memory:da0f10dd-d5b0-40b2-aa6a-c2a50c7c41d6
- global_guidance_memory:7429c22e-50ff-458a-97c0-423c679904c7
- global_guidance_memory:1194be51-ee29-47e1-8957-ec2888007db6
- global_guidance_memory:ff34c6eb-6bba-41e5-9e43-ff80941fa823
- global_guidance_memory:3f91189b-11a1-45bb-8357-4f413dc1609d
- global_guidance_document:2b47472d-3ac2-4394-8646-c6bf1c0fc270
- global_guidance_memory:5ed86f53-b53e-4534-8e51-d3a010069d5e
- global_guidance_document:d3a20d44-6001-4c88-8772-65dbfac75e6e
- global_guidance_document:8a861a5f-35c3-4f95-bd5b-6b2297888f56
- global_guidance_document:6973450e-6ecc-48e3-8cdd-4d7d7707d843
- global_guidance_document:e4fc35f2-1606-4b79-9c1e-367edeea97d0
- memory:f767d77f-63d6-4048-b954-89df53eb1b38
job_cited_source_ids:
- curated_baseline:5bbc6eda-83e0-442d-ab3e-196559cad551
- memory:e01606b2-f7b3-43e4-9510-8f81a0f68b4e
- memory:d21e13e3-c1d0-47c2-85d6-13700478a0de
conflicts: []
supersedes: []
preferences: []
source_cursor: 321
source_hash: 488b570478ddac0dc8856b8a61aa39d07673cd0d786f9d16da5034e83bde2a9d
prompt_version: 2026-08-12.3
schema_version: '3'
curation_job_id: null
created_at: '2026-09-01T02:33:15.839523+00:00'
updated_at: '2026-09-23T15:05:12.413909+00:00'
tags:
- current_state
- NextOffice
- development
restored_from_commit: 6a6a895eafcca6052e81a14fca103a42635dd1c2
---
# 当前状态
## 环境概览
- **服务器**:`36.213.25.212`(SSH 端口 45679,用户 `root`),系统 **CentOS 8.5**,内存 188 GB,根分区约 70 GB(实际使用约 23 GB)。
- **软件**:Docker 26.1.3、Compose v2.27.0、Git 2.27、Python 3.6.8(已验证 `deploy.py` / `manage.py` 完全兼容)。
- **已删除**:旧的 `/opt/onlyoffice`(onlyoffice‑ds)及其容器、镜像 `documentserver:latest`,宿主机 8080/8081 已空闲(见 `memory:e01606b2-f7b3-43e4-9510-8f81a0f68b4e`)。
- **残留**:未使用的 `nextcloud:latest` 镜像约 1.52 GB,未在容器中运行。
## 代码库与部署脚本
- Git 仓库 `https://git.asio.asia/nixevol/NexiOffice.git`,`main` 分支最新提交 `e1154e5`(`reconfigure` 修复)和 `7b3796e`(端口冲突检查),均已本地 commit,工作区干净。
- `deploy.py` 现在支持 **Python 3.6**,首次运行自动生成 `.env`,包含数据库密码、JWT 秘钥等敏感信息。
- 端口冲突检查已集成:`docker_published_ports()` 与 `choose_port()` 能检测宿主机占用并提示可用端口。
## 已完成的功能
- **Python 3.6 兼容**:所有新语法已替换,真实 3.6.8 环境编译、运行通过。
- **端口冲突检测**:默认端口 8080/8081 如被占用,将自动建议下一个可用端口并阻止无效输入。
- **`reconfigure` 修复**:`trusted_domains` 现保持正则通配并同步 `overwrite.cli.url`、`DocumentServerUrl`。
- **清理工作**:删除旧部署残留、清除 `SHA256SUMS.json`、`.gitignore` 中已忽略 `docs/`、`images/` 等目录。
---
*引用的所有来源已列于 `source_ids`。*