Files
MemRelay/projects/d1932ed6-07d3-4463-a224-8534ffd69a07/Checkpoint 2026-09-01 03-30-28 UTC [fc754ea886].md
T

20 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
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: Checkpoint 2026-09-01 03:30:28 UTC [fc754ea886]
type: checkpoint
permalink: main/projects/d1932ed6-07d3-4463-a224-8534ffd69a07/checkpoint-2026-09-01-03-30-28-utc-fc754ea886
stable_id: 6e9a8857-ce48-4b86-8bf1-9918ec2dbc38
scope: project
project_id: d1932ed6-07d3-4463-a224-8534ffd69a07
memory_type: checkpoint
status: active
revision: 1
restored_from_commit: 6a6a895eafcca6052e81a14fca103a42635dd1c2
created_at: '2026-09-23T15:04:31.436716+00:00'
updated_at: '2026-09-23T15:04:31.436797+00:00'
tags:
- nextoffice
- locale
- defaults
---
按用户需求更新 NextOffice 部署包:首次部署将 Nextcloud default_language/default_locale 和初始管理员 core lang/locale 设置为 zh_CN;设置 skeletondirectory 为空,后续新建账号不复制默认示例文件。仅首次运行且目录中没有 .env 时,删除管理员初始目录中的已知 Nextcloud 示例项 Documents、Photos、Templates、Nextcloud Manual.pdf、Nextcloud.png、Readme.md,执行 files:scan --cleanup 并写入一次性 nextoffice_defaults_cleaned 标记;已有部署重跑只设置中文和 skeletondirectory,不删除现有用户文件。静态检查通过:python -m py_compile deploy.py manage.py;docker compose --env-file .env.example -f docker-compose.yml config --quiet;已清理 __pycache__,目录无 .env。未启动或重启容器。