mirror of
https://github.com/mediacms-io/mediacms.git
synced 2024-11-22 00:03:28 +01:00
Update admins_docs.md (#842)
This commit is contained in:
parent
029665145e
commit
15d217453b
@ -56,6 +56,15 @@ sudo systemctl restart mediacms celery_long celery_short # restart services
|
|||||||
|
|
||||||
### Update from version 2 to version 3
|
### Update from version 2 to version 3
|
||||||
Version 3 is using Django 4 and Celery 5, and needs a recent Python 3.x version. If you are updating from an older version, make sure Python is updated first. Version 2 could run on Python 3.6, but version 3 needs Python3.8 and higher.
|
Version 3 is using Django 4 and Celery 5, and needs a recent Python 3.x version. If you are updating from an older version, make sure Python is updated first. Version 2 could run on Python 3.6, but version 3 needs Python3.8 and higher.
|
||||||
|
The syntax for starting Celery has also changed, so you have to copy the celery related systemctl files and restart
|
||||||
|
|
||||||
|
```
|
||||||
|
# cp deploy/local_install/celery_long.service /etc/systemd/system/celery_long.service
|
||||||
|
# cp deploy/local_install/celery_short.service /etc/systemd/system/celery_short.service
|
||||||
|
# cp deploy/local_install/celery_beat.service /etc/systemd/system/celery_beat.service
|
||||||
|
# systemctl daemon-reload
|
||||||
|
# systemctl start celery_long celery_short celery_beat
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user