summaryrefslogtreecommitdiff
path: root/UPGRADE-V4.md
diff options
context:
space:
mode:
Diffstat (limited to 'UPGRADE-V4.md')
-rw-r--r--UPGRADE-V4.md14
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