全部文章
Getting Started
什么是 CICDoo 快速开始: 引导向导 仪表盘与基础设施地图Concepts
生产、预发布和开发阶段 域名、子域名和 SSL Odoo 版本与版本类型(Community 与 Enterprise) 工作区与团队协作Servers
添加服务器 服务器域名与 DNS 使用负载均衡器 服务器操作: 部署、日志与图表 Deleting a serverProjects & Git
创建项目 连接 GitHub Project GitHub settings and webhook 连接 GitLab 分支与实例 为项目添加标签和筛选项目 使用应用节点实现高可用性 Project environments, extensions and deletionInstances & Console
创建实例 重启、停止和删除实例 在阶段之间合并分支 Web IDE 与远程访问 SSH access to instances 实例设置详解 部署与任务队列Agent Tasks
什么是智能体任务 设置智能体任务 运行任务并查看结果 智能体时间与充值 Agent insights and task filtersMonitoring & Backups
监控你的实例 备份与恢复 S3 storage, uploads and bulk backup actions 告警通知(邮件与短信)Workspaces & Permissions
邀请工作区成员 成员权限与资源访问 成员看不到或无法使用某个资源 Audit log and server activityAccount & Security
双重验证(2FA) 个人资料与集成设置 密码与账户找回Billing & Plans
方案与价格 升级和管理订阅 项目订阅未支付时 渠道合作伙伴计划 Onboarding a client as a partnerSupport & Tickets
提交支持工单 获取 CICDoo 团队的帮助Troubleshooting
故障排查: 无法连接服务器 故障排查: 部署失败 故障排查: 迁移仓库后 git push 返回 403 故障排查: 实例宕机或变慢 故障排查: 域名或 SSL 问题项目与 Git
Project environments, extensions and deletion
How to change a project's name, Odoo version, edition and Time Machine, assign servers per stage, set IDE extensions and extra repositories, and delete a project.
Opening the project settings
You need permission to change the project's settings ("Project settings").
- On the Projects page, click "Settings" on the project's card. From the project console, you can also use the "Project Settings" link at the bottom of the sidebar.
- The "Project Settings" page opens on the "General" tab.
The page has these tabs: "General", "GitHub", "Environments", "Storage", "Notifications", "Agent", "Advanced" and "Subscription". Changes on any tab are kept only when you click "Save Changes" at the top right. The "Console" button next to it takes you back to the project console.
This article covers "General", "Environments" and "Advanced". For the other tabs, see Project GitHub settings and webhook, S3 storage, uploads and bulk backup actions, Alert notifications (email and SMS), Setting up agent tasks and Upgrading and managing your subscription.
Renaming a project
- On the "General" tab, change "Project name".
- Click "Save Changes".
The name is a label shown across CICDoo. Renaming does not change the Git repository. The "Project UUID" below it is a fixed identifier you can copy, for example when you contact support.
Changing the Odoo version or edition
- On the "General" tab, pick a new "Odoo Version".
- Pick the "Edition": "Community Edition" or "Enterprise Edition". Enterprise needs a GitHub classic token with access to the Odoo Enterprise repositories, see Odoo versions and editions (Community vs Enterprise).
- Click "Save Changes".
The version applies to every instance of the project except those pinned to their own version when they were created. Changing the version does not migrate an existing database. To try a new version safely, create a staging or development instance with a different "Odoo Version" first, see Creating an instance.
Pinning Odoo to specific commits (Time Machine)
Time Machine runs your instances on a fixed commit of the Odoo source instead of the latest code. Use it when a recent Odoo change breaks your custom code.
- On the "General" tab, turn on the "Time Machine" switch.
- Enter the "Community Commit Hash" and the "Themes Commit Hash".
- On an Enterprise project, also enter the "Enterprise Commit Hash".
- Click "Save Changes".
All the shown hash fields are required while Time Machine is on. To return to the latest code, turn the switch off and save.
Assigning servers to each stage
The "Environments" tab has one card per stage: "Production Environment", "Staging Environment" and "Development Environment". Each card shows the current server under "Current:", or "Not configured". A "DNS Validated" badge appears on a card once the domain setup for that stage has been confirmed.
- Open the "Environments" tab.
- In "Production Server", "Staging Server" or "Development Server", type to search and pick a server.
- Click "Save Changes".
Setting a staging or development server is what lets you create instances in that stage from the console. See Branches and instances.
Moving a stage to another server
Picking a different server for a stage that already has instances moves those instances to the new server. Their address is updated for the new server.
Note: The Odoo database and files are not copied to the new server, and the copy left on the old server is removed automatically, including its database, filestore and the backups stored on that server. Take a backup first and keep it in S3 so you can restore it on the new server. See Backups and restore.
- Take a backup of each instance you want to keep and make sure it is uploaded to S3.
- On the "Environments" tab, pick the new server for the stage.
- Click "Save Changes".
- When the instance is running on the new server, restore the backup into it.
Installing IDE extensions
The Web IDE of every instance can install extensions for you when it starts.
- Open the "Advanced" tab.
- In "IDE Extensions", enter one extension identifier per line, for example ms-python.python.
- Click "Save Changes".
Extensions are installed the next time each instance starts. An extension that cannot be found or times out is skipped. See Web IDE and remote access.
Adding extra repositories
Extra repositories are other Git repositories, for example shared modules, cloned next to your project's code in every instance.
- Open the "Advanced" tab.
- In "Extra Repositories", enter one repository per line in the form URL,branch,commit, for example https://github.com/owner/repo.git,18.0,abc1234. The commit can also be a tag, or left out to use the latest tag. Lines starting with # are ignored.
- Click "Save Changes".
The URL must be a GitHub address. Each line is checked when you save, and a line with a wrong URL, branch or commit is refused with a message. Restart the instances to pick up the change. A single instance can replace this list with its own, see Instance settings explained.
Deleting a project
Deleting a project destroys its running instances. On every server the project runs on, the Odoo database, the filestore and the backups stored on that server are destroyed. Backups already uploaded to your own S3 bucket are kept. The project then disappears from the Projects page.
Note: You do not need to delete a project because it became read-only after a missed payment. An unpaid subscription never destroys anything, and paying restores the project. See If a project subscription goes unpaid.
You need the "Delete projects" permission.
- If you want to keep the data, make sure a recent backup of each instance is in your S3 bucket.
- Open the project settings and go to the "Advanced" tab.
- In the "Danger Zone" card, click "Delete Project".
- Read the warning and confirm.
- Wait for "Project deleted successfully!". You are taken back to the Projects page.
The project record is kept hidden on the platform rather than erased, but its instances and their data on the servers cannot be recovered.
Related: Creating a project, Production, staging and development stages, Tagging and filtering projects, High availability with app nodes, Deleting a server.
If you get stuck, open a support ticket from the Tickets page or the chat widget.
仍未解决?在应用中提交工单,或与工程师沟通。