-
Notifications
You must be signed in to change notification settings - Fork 819
v3.1.0 Upgrade Guide
This page mirrors the repository tutorial.
简体中文 | English
GEOFlow v3.1.0 and GEOFlow Updater v0.4.0 were officially published on September 9, 2026. Matching dual-architecture images and the signed update source are public. This release uses sequence 3 and the maintenance strategy.
| Current state | Procedure |
|---|---|
| New server | Install Updater 0.4.0, then follow fresh site installation |
| Enrolled 3.0.0 site | Upgrade the host updater, then confirm the maintenance upgrade through the CLI below |
| Unenrolled standard Docker 3.0.0 site | Upgrade Core to 3.1.0 during maintenance, then enroll and convert the layout |
| Custom deployment or earlier version | Review configuration, database and historical upgrade requirements, and test the adapted procedure in isolation |
This release uses a maintenance plan. Initial layout conversion and the 3.0.0 to 3.1.0 upgrade require a maintenance window. The online fixture tests switching mechanics; compatibility between actual old and new versions requires its own signed plan.
Pause new business tasks, rehearse backup and full restoration with a copy of site data, and record the expected duration. Verify and install Updater 0.4.0 through the installation tutorial, with no installation, update, backup or recovery operation running.
The older admin UI cannot send the maintenance confirmation required by the new plan. Run the first upgrade on the Linux host:
sudo geoflow-updater version
sudo geoflow-updater doctor --instance primary --json
sudo geoflow-updater update --instance primary --dry-run --jsonConfirm that the preview targets 3.1.0 with strategy maintenance, and save its plan_sha256. Replace the placeholder below with that digest. If the update source points to another version, read that release's instructions first.
sudo geoflow-updater update --instance primary \
--plan-sha256 PLAN_SHA256 --allow-maintenance
sudo geoflow-updater verify --instance primary
sudo geoflow-updater doctor --instance primary --jsonPerform the post-upgrade checks. Later updates can use the plan preview and confirmation in the 3.1 admin UI.
enroll requires the installed version to match the current signed release. Once the signed source points to 3.1.0, unenrolled 3.0.0 sites first need a maintenance upgrade. These steps apply to an unmodified official Git checkout using the standard docker-compose.prod.yml, preserving its project name, data directories and PostgreSQL/Redis major versions.
- Follow steps 1 through 3 of the older tutorial's Path B (Chinese) to inspect the deployment, stop new work, drain requests and jobs, and back up the database, configuration, storage and old images. Stop the original Redis container and take a cold backup of its data directory, also preserving external storage according to the actual mounts, then restart only the original Redis service. Verify restoration before proceeding. Keep every old application process stopped while retaining the original database and Redis services.
- In the original site's clean Git worktree, pin the new tag and confirm its commit against the official release. Preserve
.env.prod,APP_KEY, business storage and database mounts.
git fetch origin tag v3.1.0
git rev-parse 'v3.1.0^{commit}'
git switch --detach v3.1.0
dc() { docker compose --env-file .env.prod -f docker-compose.prod.yml "$@"; }
dc config --quiet
dc build app web- Run migrations and backfills with the new image. Continue only after each command succeeds, keep the external maintenance restriction active, and set the temporary drain confirmation only after old processes have stopped.
dc run --rm --no-deps \
-e GEOFLOW_SECURITY_FRESH_INSTALL_CONFIRMED=false \
-e GEOFLOW_SECURITY_UPGRADE_DRAIN_CONFIRMED=true \
-e AUTO_MIGRATE=false -e AUTO_INSTALL_ONCE=false -e AUTO_OPTIMIZE=false \
init php artisan migrate --force
dc run --rm --no-deps -e AUTO_OPTIMIZE=false app php artisan geoflow:sync-system-knowledge --media
dc run --rm --no-deps -e AUTO_OPTIMIZE=false app php artisan geoflow:backfill-ai-quality-retrieval
dc run --rm --no-deps -e AUTO_OPTIMIZE=false app php artisan geoflow:backfill-ai-quality-retrieval --verify --json
dc run --rm --no-deps -e AUTO_OPTIMIZE=false app php artisan geoflow:managed-images:readiness --json
dc run --rm --no-deps -e AUTO_OPTIMIZE=false app php artisan geoflow:security-audit --json
dc run --rm --no-deps -e AUTO_OPTIMIZE=false app php artisan geoflow:upgrade --phase=verify --json- Keep maintenance restrictions in place while following startup and business verification (Chinese). Use
3.1.0as the expected version when applying the older tutorial. Check caches, login, critical functions, queues, files and realtime messages, then follow the enrollment tutorial. Confirm empty queues and drained old services again before handover. - Preview and confirm the maintenance layout conversion after enrollment. Conversion of the same complete signed release is allowed only from the old single-deployment layout; converted instances cannot repeat a same-sequence upgrade.
Deployments starting from 2.x or with incomplete 3.0 data governance must first complete historical administrator/model identity backfills (Chinese). The Core ZIP contains source; the Docker build above installs dependencies and builds frontend assets.
- Check ordinary and super-administrator login, article generation, task drafts, queues, retrieval, files and realtime messages, and rehearse full restoration in isolation.
- Installed theme packages remain available. Exported packages default to the Core version used during export. Before importing a package restricted to 3.0.0, its author should validate 3.1.0 compatibility, update the declaration and rebuild the package.
- Managed upgrades use complete recovery points for data restoration. Online application switch-back preserves live data; see the recovery tutorial for scope.
- If a manual maintenance upgrade fails, retain maintenance mode and restore the recorded source, images, configuration, complete database and storage backups, then verify business functions.
- 首页
- 快速上手
- 常见问题
- 部署指南
- 3.1 升级教程
- 3.0 升级教程
- 蓝绿部署与自动迁移
- 仓库文档中心
- 部署脚本使用指南
- 部署检查清单
- v2.1.0 部署升级说明
- 模板与主题工作流
- 模型接入指南
- AI 知识库教程
- 知识库切片与 RAG
- 分发管理与目标站点
- 数据分析与日志
- 更新日志
- 什么是 GEOFlow
- GEOFlow 方法论
- 使用边界与内容底线
- 适用场景
- 场景部署与使用方式
- 核心能力总览
- 推荐采用路径
- Skill / CLI / API 生态
- 路线图
- 作者与项目
- Home
- Getting Started
- FAQ
- Deployment Guide
- 3.1 Upgrade Guide
- 3.0 Upgrade Tutorial (Chinese)
- Blue/green Deployment and Automatic Migrations
- Deployment Scripts Guide
- Deployment Checklist
- Theme and Template Workflow
- Model Setup Guide
- AI Knowledge Base Tutorial
- Knowledge Chunking and RAG
- Distribution Management and Target Sites
- Analytics and Logs
- Changelog
- What Is GEOFlow
- GEOFlow Methodology
- Principles and Content Boundaries
- Use Cases
- Deployment Patterns by Scenario
- Core Capabilities
- Recommended Adoption Path
- Skill / CLI / API Ecosystem
- Roadmap
- Author and Project