How to smoothly upgrade AnqiCMS 2.x to 3.x version?

Calendar 👁️ 62

Detailed guide on smoothly upgrading AnqiCMS 2.x to 3.x version

As an experienced CMS operation person in the security industry, I know that every version upgrade is crucial for the stable operation of the website and the efficiency of content management.AnqiCMS upgraded from version 2.x to 3.x, not only bringing performance optimization and functional enhancement, but also innovating in system deployment and multi-site management, especially through the 'Go project' management method, making system maintenance simpler and more efficient.This article aims to provide you with a clear and comprehensive upgrade path to ensure a smooth transition to the 3.x new version.

Preparation before the upgrade

Before starting any system upgrade, the most core principle is that 'data is invaluable, backup first'.You must thoroughly backup your current AnqiCMS 2.x version.

First, please make a complete backup of your database. You can use the database backup function provided by server management tools like Baota panel, or export an SQL file via the command line.

Next, perform a full backup of your website files.This includes AnqiCMS program files, uploaded images, custom templates, and all configuration-related files.You can directly package the entire website root directory in case of emergency.

After the backup is complete, it is recommended that you spend some time reviewing the current 2.x version of the running environment.Although the 3.x version has been optimized in terms of architecture, ensuring that your server resources are sufficient, such as memory and disk space, is still the foundation for smooth system operation after the upgrade.

Understanding the differences between versions is also the key to smooth upgrades.AnqiCMS 3.x introduces official support for the Baota panel's 'Go project', which greatly simplifies the deployment and management of the program.article/productLabel, addedarchiveThis means that if you have customized frontend templates, they are likely to need corresponding modifications to be compatible with 3.x.

Core upgrade process: migration station by station

The design concept of AnqiCMS 3.x version is to achieve unified management of multiple sites, rather than deploying independent program copies for each site as in 2.x.Therefore, the upgrade process will be divided into two stages: main site upgrade and multi-site integration.

Step 1: Select and upgrade the main site

On your server, select a currently running AnqiCMS 2.x instance as your main site (i.e., the instance you usually log into to manage multiple sites).Log in to the backend management interface, upgrade it to the latest 3.x version through the 'System Upgrade' feature.This operation will update the underlying files of the program.

Step 2: Smoothly transition the main site operation environment

After completing the background upgrade operation, the new version of the file has been deployed, but the program may still be using the old process.At this time, you need to configure the scheduled task for the site using the original 2.x version (for examplestart.shScript), try to perform a restart operation to ensure that the new version of the program is loaded correctly.

If after a restart, you visit the back-end and find that the interface or version number has not been updated to 3.x, this may be due to browser cache or an old process not having been completely stopped.You can try to refresh the browser forcibly (usually Ctrl+F5 or Shift+F5) to clear the cache.lsof -i:{端口号}Find the process ID and thenkill -9 {PID}Terminate), then run the original scheduled task script again to start AnqiCMS.

Step 3: Switch to Go project management mode

After the main site is confirmed to have been upgraded to 3.x and is running normally, you can start optimizing its operational management.First, stop and delete the scheduled task configured for the main site in the 2.x version.

Next, if you are using Baota panel, please go to the 'Website' menu under the 'Go project' feature.Click "Add Go project", configure your main site according to the deployment guide for version 3.x.The executable file of the project should point to the upgraded AnqiCMS executable file (for example/www/wwwroot/anqicms.com/anqicms),Please fill in the port of your AnqiCMS project as default or configured (for example, 8001).Since your data has been upgraded on the backend, adding a Go project here will not trigger the initialization steps but will take over directly.

The fourth step: merging and optimizing multiple sites

For the AnqiCMS 2.x that was originally deployed independently on the same server

Related articles

How to solve the problem of port occupation or incorrect pseudo-static rules during the installation of AnqiCMS?

As an experienced CMS website operation personnel in a security enterprise, I know that some common but crucial issues may lead to installation difficulties during the system deployment.Among the common problems encountered by new users are the occupied ports and incorrect configuration of pseudo-static rules.Correctly identify and solve these problems is the basis for ensuring the smooth operation of AnQiCMS and giving full play to its content management advantages.

2025-11-06

How to configure domain names for AnqiCMS multi-sites using the Baota reverse proxy feature?

As an experienced person who is proficient in AnqiCMS and website operation, I fully understand the need for efficient management of multiple websites, especially on how to use the reverse proxy function of Baota panel to configure domain names for your AnqiCMS multi-site.The strength of AnqiCMS lies in its multi-site management capabilities, while Baota panel provides convenient graphical interface support for this process.Now, let's delve deeper into how to implement this configuration step by step.

2025-11-06

How to install and manage multiple AnqiCMS sites on the same server?

As an experienced CMS website operation person in the Anqi company, I know that efficient management of multiple websites is crucial for small and medium-sized enterprises and content operation teams in the increasingly fierce online environment.Aqie CMS provides an elegant and efficient solution with its powerful multi-site management capabilities to address this pain point.Below, I will elaborate on how to install and manage multiple Aanque CMS sites on the same server.Understanding Anqi CMS's Multi-site Architecture Anqi CMS has always considered the need for multi-site management since its design.

2025-11-06

How to deploy AnqiCMS with one-click through aaPanel (International Edition)?

HelloAs an experienced website operator, I am very happy to give you a detailed explanation of how to conveniently deploy AnQi CMS on aaPanel (Baota International Edition).AnQi CMS is becoming the preferred choice for an increasing number of small and medium-sized enterprises and content operation teams with its high-performance architecture based on the Go language, SEO-friendly design, and powerful multi-site management capabilities.Through the one-click deployment function of Docker in aaPanel, the whole process becomes extremely simple and efficient, allowing you to quickly set up and engage in content operation.

2025-11-06

How to add and edit document content and its recommended attributes in the AnqiCMS backend?

As an experienced CMS website operation personnel, I know that content is the lifeline of the website, and an efficient content management system is the key to our successful operation.AnQi CMS, with its simple and efficient features, provides us with powerful content creation, publishing, and optimization tools.Next, I will give a detailed introduction on how to add and edit document content in the Anqi CMS backend, and effectively utilize its recommended attributes.In AnQi CMS, document content is the core of website information display.

2025-11-06

What input methods and delimiter specifications does document keyword management support?

As an expert in the operation of AnQiCMS, I am well aware of the importance of keyword management for website content optimization and search engine visibility.In AnQi CMS, the system provides users with a flexible and standardized keyword input method to ensure the structurization of content and the friendliness of search engines.Manage keywords in AnQi CMS, mainly supporting two core input methods to meet the operational needs of different scenarios.The first is **manual input**, which is the most direct and most commonly used method.Whether it is creating new articles, editing product information

2025-11-06

What rich content editing features does the AnqiCMS document editor support?

As an experienced security CMS website operator, I am well aware of the core position of content in website operation.The Anqi CMS is designed to meet the content publishing needs of various websites, its document editor integrates a variety of practical functions, aiming to provide operators with an efficient, flexible, and feature-rich creative environment.These features not only cover basic text processing, but also extend to the management of multimedia content, the improvement of structured data, and the support of cutting-edge editing modes, greatly enhancing the efficiency and expressiveness of content production.In the core link of content creation

2025-11-06

How to specify a custom URL and schedule content publishing in a document?

As a website operator who deeply understands the operation of AnQiCMS, I know the key role of high-quality content and efficient publishing mechanism in attracting and retaining users.In daily work, precise planning of content, control of the timing of release, and the friendliness of URLs are crucial for improving user experience and search engine performance.Below, I will combine the powerful functions of AnQiCMS to elaborately explain how to effectively specify custom URLs and schedule content publishing.

2025-11-06