Files
MemRelay/projects/d1932ed6-07d3-4463-a224-8534ffd69a07/NextOffice 部署服务器 36.213.25.212 环境事实.md
T

28 lines
2.4 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: NextOffice 部署服务器 36.213.25.212 环境事实
type: fact
permalink: main/projects/d1932ed6-07d3-4463-a224-8534ffd69a07/next-office-部署服务器-36.213.25.212-环境事实
stable_id: e01606b2-f7b3-43e4-9510-8f81a0f68b4e
scope: project
project_id: d1932ed6-07d3-4463-a224-8534ffd69a07
memory_type: fact
status: active
revision: 1
restored_from_commit: 6a6a895eafcca6052e81a14fca103a42635dd1c2
created_at: '2026-09-23T15:04:57.315318+00:00'
updated_at: '2026-09-23T15:04:57.315375+00:00'
tags:
- nextoffice
- server
- environment
- ports
- nat
---
服务器:外部 36.213.25.212(网关 NAT),SSH 外部端口 45679 → 内部 192.168.4.208:22,网关为 192.168.4.203。用户 root,凭证存于密码库“NextOffice 服务器 SSH (36.213.25.212)”。Nextcloud 管理员凭证存于密码库“NextOffice Nextcloud 管理员 (36.213.25.212:45678)”。
环境:CentOS 8.5 x86_64,Docker 26.1.3,Compose v2.27.0,git 2.27,系统 Python 3.6.8(脚本已兼容,直接 python3)。/etc/docker/daemon.json 的 registry-mirrors(ustc、163)已失效,直连 Docker Hub 不通;可用镜像源 docker.m.daocloud.io(已用它拉 nextcloud:34.0.3-apache 并重打标签)、docker.1ms.run、docker.1panel.live。新镜像需拉取时先从镜像源拉再 docker tag,或在维护窗口更新 daemon.json(会重启 Docker 影响其他项目)。firewalld 运行中,public 区放行 22/3000/18808,Docker 发布端口走 docker 区/DNAT 不受该列表限制。时区 America/New_York。
NextOffice 当前部署(2026-09-03):/root/NextOffice(git clone,HEAD 5bb57a9),镜像 nextoffice/nextcloud:34.0.3-oo10.1.2-r2,宿主机仅监听 0.0.0.0:45678(HOST_IP=36.213.25.212,NEXTCLOUD_PORT=45678),ONLYOFFICE 经 /ds-vpath/ 同源代理,全部容器健康,连接器自检通过,示例文件已清理(nextoffice_defaults_cleaned=true)。部署日志 /root/nextoffice-deploy.log(含两进程交错的 NUL)。**外部 36.213.25.212:45678 尚不可达**:tcpdump 证实网关未把 45678 转发到本机,需在网关 192.168.4.203 增加 TCP 45678 → 192.168.4.208:45678 映射;LAN 内 http://192.168.4.208:45678/ 可用。
其他项目(不要动):shichangbu(grid-bulletin :8761)、open-webui、tool-platform。残留无用镜像 nextcloud:latest(1.52GB)和旧自建镜像 nextoffice/nextcloud:34.0.3-oo10.1.2(已被 r2 取代)。用户后续可自行运维;远程执行部署类命令时用 flock 加锁。