本站已完成从MySQL到MariaDB的数据库迁移/This site has completed the database migration from MySQL to MariaDB.
迁移过程如下:
Halo 迁移仅需备份后恢复。
Gitea 迁移根据数据库类型区分:
若原使用 SQLite3,迁移仅需备份数据库文件即可。
若原使用 MySQL,需在1panel中备份数据库,卸载当前 Gitea 与 MySQL,安装 MariaDB 后恢复数据。本站未实际操作该方案,最终选择重新安装 Gitea。
迁移局限性:
因1panel面板采用 Docker 部署,应用部署在互相独立的容器里,无法直接迁移数据库,需通过备份与重新安装完成。
本站现已全部迁移至完全开源软件。
Written by Exyone,乙巳年十月十七 | 2025-11-27
The migration process is as follows:
Migrating Halo only requires backing up and restoring the database.
Migrating Gitea differs based on the original database type:
If originally using SQLite3, migration only requires backing up the database file.
If originally using MySQL, it's necessary to back up the database within 1panel, uninstall the current Gitea and MySQL, install MariaDB, and then restore the data. This site did not actually implement this method and instead chose to reinstall Gitea.
Migration Limitation:
Because the 1panel control panel uses Docker deployment, where applications run in isolated containers, directly migrating the database is not possible. The process must be completed through backup and reinstallation.
This site has now been fully migrated to completely open-source software.
Written by Exyone, Late Autumn 2025-11-27
评论