After the AnQiCMS program upgrade, if the backend interface does not change, how should I handle it?

Calendar 👁️ 74

After you upgrade AnQiCMS, with great expectations, you opened the back-end, only to find that the interface is still the same, without any change?This is indeed a confusing scene. As an expert in website operations for many years, I can confidently tell you that this is a fairly common phenomenon, not a problem with AnQiCMS itself, and it usually only requires a few simple steps to resolve easily.AnQiCMS is known for its efficiency and simplicity, even the 'illusion' after program upgrades is often due to some common operation details.

We know that AnQiCMS is developed in Go language, and its core is a compiled executable file.This means that when you upgrade AnQiCMS, even if new files have been uploaded to the server, the old program process may still be running, causing the backend interface you see to still be the old version.A new interface and features, such as AnQiCMS is onv2.1.0A new backend management interface and features have been introduced in this version, requiring a new program process to load and display.

Then, when you encounter this situation, why not follow these steps one by one to investigate and deal with it:

1. Confirm whether the AnQiCMS program has truly restarted

This is the most common and most critical step. Simply uploading a new file will not automatically stop the old program process and start a new one.You need to explicitly perform a 'stop' and 'start' operation of the program to load new program code on the server.

If you are using Baota panel (or a similar visual management tool), you usually find your AnQiCMS project in the "Go project" or "Other project" management interface, then click the "Stop" button, wait for a moment, and then click the "Start" button.Ensure the operation is successful before attempting to access the backend.

For users accustomed to managing servers via the command line, you need to enter the installation directory of AnQiCMS, then execute the stop script and the start script sequentially. Typically, these scripts are namedstop.shandstart.sh. Execute./stop.shStop the currently running AnQiCMS process and then execute./start.shStart a new version of AnQiCMS. To executestart.shAfter, if the program fails to start successfully, you can check the same directory underrunning.logThe file may contain detailed reasons for the failure to start. Sometimes, an old process may not have been closed completely, which can lead to port occupation, at this time you can uselsof -i:{端口号}for examplelsof -i:8001Command to check which process is using the port, then usekill -9 {PID}command to forcibly terminate the process.

2. Clear browser cache

Even if the program has been successfully updated and restarted, your browser may stubbornly display the cached content of the old version.The browser stores the static resources of the website (such as CSS, JavaScript files, and images) to improve access speed.If these old version resources are still in the cache, the backend interface will naturally not change.

The solution is very simple: try to perform a forced refresh when accessing the AnQiCMS backend interface. Most browsers on the Windows system can do this by pressingCtrl + F5Press theCmd + Shift + RTo implement. If the forced refresh is ineffective, you may need to go to the browser settings, manually clear all cache data related to the website, or try using the browser's 'Private Mode' (Incognito Mode) or try a browser that has never visited the website for testing.

3. Check reverse proxy or CDN cache

If you use Nginx or Apache and other reverse proxy services on the server front-end, or if the website is connected to a CDN service, then these service layers may also exist in cache.These cache layers will cache the website content, even if your AnQiCMS program has been updated, users (including yourself) will still access the old version of the cached content when accessing through a proxy or CDN.

If this is the case, you need to log in to your Nginx/Apache configuration interface or the management platform of your CDN provider, find and execute the "clear cache" or "refresh cache" operation.In some cases, restarting the Nginx or Apache service may also help clear its internal cache.For example, you can use for Nginx,sudo systemctl restart nginxcommand to restart the service.

4. Verify the integrity of the update files.

Although it is not common, it occasionally happens that the upgrade file is uploaded incomplete or damaged.If the new version of the file does not fully replace the old file or some critical files are missing, the program will not be able to load new features and interfaces correctly during execution.

You can download the latest installation package of AnQiCMS again, then upload all files and overwrite them to the AnQiCMS installation directory using FTP, SFTP, or a file management tool.Before overwriting, be sure to make a data backup to prevent any unexpected issues. After uploading, please also perform the steps of restarting the program and clearing the browser cache.

5. Check AnQiCMS log

If all the above steps do not solve the problem, then deeply checking the AnQiCMS log file is the final means of troubleshooting. AnQiCMS will generaterunning.logandcheck.logWait for the log file, which records the detailed information of the program during operation, including startup errors, runtime exceptions, and so on.

Read these log files carefully, you may find specific error information, such as database connection failure, file permission issues, configuration parsing errors, etc.Based on the error tips in the log, you can solve the problem more specifically.


Daily maintenance tips:Before upgrading any AnQiCMS program, it is essential to develop the habit of backing up.Back up your database and website files to prevent unforeseen problems during the upgrade process.At the same time, carefully read the update log released by AnQiCMS official(changelog.mdAnd upgrade guide, learn about the main changes and upgrade注意事项, can effectively avoid many unnecessary troubles.

AnQiCMS as an efficient, secure, and easy-to-use content management system, its upgrade process is usually smooth and painless under the premise of following the correct operation.By following the above troubleshooting steps, you are sure to bring the latest features of AnQiCMS to life in your website backend!


Frequently Asked Questions (FAQ)

1. Why does AnQiCMS require manual restart every time it is upgraded? Answer:AnQiCMS is developed using Go language, the characteristic of Go language is to compile the entire program into a standalone executable binary file.This means that when you upgrade, even if you upload a new executable file, the old version of the program process is still running on the server.Only by manually stopping the old process and starting a new one, the server will load and run the updated program code, thereby enabling new features and interfaces.

2. I am using Baota panel, how should I operate to ensure that AnQiCMS upgrade takes effect? Answer:In the Baota panel, after upgrading AnQiCMS, you need to go to the "Website" menu under "Go project" (or "Other project") to find your AnQiCMS project.First, click the "Stop" button to close the running old version program, then wait a few seconds to confirm that it has stopped.After that, click the 'Start' button to launch the new version of the program.Please make sure to clear your browser cache after restarting the programCtrl + F5Force refresh or clear browser data to ensure that the latest background interface and resources are loaded.

3. What if the program fails to start or the background port is occupied after AnQiCMS upgrade? Answer:If the program fails to start, first check the AnQiCMS installation directory.running.logA file often records detailed error information. If the log indicates that the port is occupied, it is usually because the old program process did not close completely.You can log in to the server using SSH, and uselsof -i:{端口号}for examplelsof -i:8001) Use the command to find the process ID (PID) of the process occupying the default port of AnQiCMS, then usekill -9 {PID}Command to force terminate the process. After termination, try to manually start AnQiCMS.

Related articles

How can AnQiCMS achieve automated content operation and maintenance through scheduled tasks?

As an experienced website operation expert, I know the importance of efficiency and fine operation in the increasingly fierce digital content competition.AnQiCMS (AnQi Content Management System) as an enterprise-level CMS developed based on the Go language, with its powerful feature set, especially in terms of automated operations, really catches one's eye.Today, let's delve into how AnQiCMS cleverly uses scheduled tasks to make content operation and maintenance more intelligent and efficient.

2025-11-06

How to quickly update website content or materials through content collection and batch import features?

As an experienced website operations expert, I know that content is the lifeline of a website, and how to efficiently and continuously inject fresh blood into the website is a challenge that every operator needs to face.Today, let us delve into the two powerful functions of AnQiCMS (AnQiCMS) - content collection and batch import, and see how they become the 'accelerator' for your website content updates.

2025-11-06

What template codes can be edited online in the AnQiCMS backend template editing feature?

As an experienced website operation expert, I know that a successful website cannot do without flexible and varied design and efficient content presentation.The background template editing function of AnQiCMS is specifically designed to meet this core need, giving operators a great degree of freedom, allowing you to directly refine the 'front door' of the website in the background without the cumbersome process of local development and uploading, greatly improving work efficiency. So, what backend template editing features of AnQiCMS support us in modifying template code online?

2025-11-06

How to use AnQiCMS backend user group management and VIP system to achieve content monetization?

In today's content is king era, how to transform high-quality content into tangible profits is a core issue facing every content operator and enterprise.AnQiCMS (AnQiCMS) is an enterprise-level content management system designed specifically for content operations, providing an intuitive and efficient solution for content monetization with its flexible user group management and powerful VIP system.As an experienced website operations expert, I will take you deep into how to fully utilize these core functions of AnQiCMS to build a sustainable content monetization model.

2025-11-06

How to ensure that each AnQiCMS site's data is independent when deploying multiple sites on the same server?

In today's digital age, efficiently managing multiple websites has become a core need for many businesses and individual operators.AnQiCMS (AnQiCMS) is an enterprise-level content management system based on the Go language, providing us with an excellent solution with its high performance, ease of use, and multi-site support.How to ensure that each site's data is completely independent and not interfere with each other when you need to deploy multiple AnQiCMS sites on the same server is a crucial issue in operation and maintenance.As an experienced website operations expert, I will delve deep into this point with you

2025-11-06

What types of data does the 'Update Cache' feature on AnQiCMS backend mainly clean up?

As an experienced website operations expert, I am well aware of the importance of 'caching' for website performance and data real-time accuracy.In the daily operation of AnQiCMS (AnQi CMS), the background "update cache" function seems simple, but it actually plays a core role, ensuring the timely update of our website content and smooth operation of the system.Then, what types of data does this function mainly clean up?Next, I will explain it to you in detail.

2025-11-06

Which operating systems does AnQiCMS support for installation and deployment?

AnQiCMS: Cross-platform deployment, building a secure and efficient website content management system As an experienced website operations expert, I know that the core value of a CMS system is not only in its powerful functions, but also in its flexible deployment and convenient operations.AnQiCMS is a product that performs well in this regard.

2025-11-06

What is the first-time installation and deployment process of AnQiCMS on a Linux server?

In the digital wave, an efficient and stable content management system (CMS) is the foundation for the success of corporate and personal website operations.AnQiCMS (AnQiCMS), this lightweight system developed based on the Go language boasts excellent performance, flexible customization capabilities, and deep SEO-friendliness, and is gradually becoming the preferred choice for many small and medium-sized enterprises and content operation teams.It is not only easy to deploy and efficient in operation, but also can effectively resist many security threats, safeguarding the website.If you are preparing to deploy AnQiCMS on your Linux server

2025-11-06