diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-06-15 10:22:01 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-12-12 12:21:01 +0100 |
commit | 59f97318687a19a8623261aff0bc875ca99c5c7c (patch) | |
tree | 4a17c15d334249d2ae4f5d53395e608299336d7e /UPGRADE-V4.md | |
parent | fb3e9bd47dd56385eb2be38b8ea51f6a5535d884 (diff) | |
download | Ishtar-59f97318687a19a8623261aff0bc875ca99c5c7c.tar.bz2 Ishtar-59f97318687a19a8623261aff0bc875ca99c5c7c.zip |
Fix migrations
Diffstat (limited to 'UPGRADE-V4.md')
-rw-r--r-- | UPGRADE-V4.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/UPGRADE-V4.md b/UPGRADE-V4.md new file mode 100644 index 000000000..f69dbb9ec --- /dev/null +++ b/UPGRADE-V4.md @@ -0,0 +1,14 @@ +# backup database and media +sudo vim /etc/apt/sources.list.d/iggdrasil.list +# buster -> bullseye +sudo apt update +sudo apt upgrade +screen # data migration is long... +# for each instance in /etc/ishtar/instances +cd /srv/ishtar/{instance_name} +# update fixtures +./manage.py loaddata /usr/share/python3-django-ishtar/fixtures/initial_data-auth-fr.json +# migrate to new geo management +./manage.py migrate_to_geo_v4 --process {number_of_thread} # number_of_thread depend on your CPU +# edit profile type permissions for geovectordata +-> http(s)://{my-ihstar}/admin/ishtar_common/profiletypesummary/
\ No newline at end of file |