MrDoc Deployment Guide
Simple Run
Deployment guide
Deploy MrDoc with Docker (recommended)
Docker image deployment
Deploy with Docker Compose
Manage Docker containers
Deploy MrDoc on Linux
Deploy MrDoc with Nginx + uWSGI
One-click deployment script (no longer maintained)
Baota Panel "Python Project Manager 1.9" deployment
Official Docker image deployment
Deploy MrDoc on Windows
Deploy with Waitress
Windows deployment panel
NAS deployment
Deploying on Zspace NAS
Feiniu FnOS deployment
Update upgrade notes - Open Source Edition
Update upgrade notes - Pro edition
System dependency library description
Migrating native deployment to Docker deployment
Configuration guide
Custom database configuration
Configure PDF generation for collections
Full-text search configuration
Using MySQL database with Docker
Configuring MySQL database to support emoji
Host static file resources with Nginx
Enable SSL with Nginx / Set up HTTPS
Configure reverse proxy/bind domain with Nginx
Nginx handling local video playback
Custom uWSGI configuration
Configuration file description
Data security
Site data backup/site migration
Professional data export and import
Open source data export and import
Data migration from open source to professional edition
Frequently asked questions
What to do if SQLite3 version error occurs?
What if the admin forgets the password?
Error: SyntaxError: invalid syntax
MySQLdb._exceptions.OperationalError: (1366, "Incorrect string value:")
Baota Panel "Python Project Manager" virtual environment usage issues.
View logs/log storage location
403 errors on POST/PUT requests for login, publish, upload, and edit under Nginx/HTTPS
What if I can't access the backend after switching the default login method?
Troubleshooting
Tip sponsorship records
MrDoc deployment server configuration recommendations
Powered by MrDoc Pro
-
+
home
Data migration from open source to professional edition
# Data Migration from the Open Source Edition to the Pro Edition ## 0. Prerequisites ==1. Complete **data backup (database)** and **uploaded file backup (media directory)** for the "Open Source Edition". ⚠️ **Backup** is very important!== ==2. Complete installation and data table migration (migrate) for the "Pro Edition".== ## 1. Operations on the Open Source Edition >d The following operations are performed in the MrDoc project root directory (the directory containing the manage.py file)! >d If you are using a Python virtual environment, activate the virtual environment first, then enter the MrDoc Open Source Edition root directory. >d If deployed with Docker, enter the Docker container to perform the operations, or prefix the commands with `docker exec -it {container name}` 1. Export user table data ``` python manage.py dumpdata auth.user > db_user.json ``` 2. Export `app_admin` application data ``` python manage.py dumpdata app_admin > db_admin.json ``` 3. Export `app_doc` application data ``` python manage.py dumpdata app_doc > db_doc.json ``` 4. Open the `db_user.json` file, search for `auth.user` and replace it with `app_admin.user` ---- Batch script for the above 4 steps: ``` python manage.py dumpdata auth.user > db_user.json && python manage.py dumpdata app_admin > db_admin.json && python manage.py dumpdata app_doc > db_doc.json && sed -i "s/auth.user/app_admin.user/g" db_user.json && echo "Data export completed" ``` Copy the above content and enter it in the command line terminal opened in the MrDoc Open Source Edition project root directory. 5. Copy the `db_user.json`, `db_admin.json`, `db_doc.json` files and the `media` folder from the "Open Source Edition" project root directory to the "Pro Edition" project root directory. ## 2. Operations on the Pro Edition >d The following operations are performed in the MrDoc project root directory (the directory containing the manage.py file)! >d If you are using a Python virtual environment (e.g., Baota Python Project Manager version 1.9), activate the virtual environment first, then enter the MrDoc root directory. >d If deployed with Docker, enter the Docker container to perform the operations, or prefix the commands with `docker exec -it {container name}` 1. Import user table ``` python manage.py loaddata db_user.json ``` 2. Import `app_admin` application data ``` python manage.py loaddata db_admin.json ``` 3. Import `app_doc` application data ``` python manage.py loaddata db_doc.json ``` --- Batch script for the above 3 steps: ``` python manage.py loaddata db_user.json && python manage.py loaddata db_admin.json && python manage.py loaddata db_doc.json && echo "Data import completed" ``` Copy the above content and enter it in the command line terminal opened in the MrDoc Pro Edition project root directory.
mrdoc
Sept. 29, 2026, 6:35 p.m.
Forward
Favorites
Last
Next
Scan the QR Code
Copy link
Scan the QR code to share.
Copy link
share
link
type
password
Update password
Validity period
Markdown file
Word document
PDF document (print)