Discussion:
[Mayan EDMS: 2586] Upgrade to 3.0.1 - Issue with migration
Raul
2018-07-14 08:03:07 UTC
Permalink
Hi Robert,

I my 3.0.1 container is running into a loop when it comes to the migration.
I created the new container with the following command:

docker run -d --name mayan-edms301 \
-p 8889:8000 \
--restart=always \
-e UID=33 -e GID=33 \
-v mayan_data301:/var/lib/mayan \
-e MAYAN_APT_INSTALLS="tesseract-ocr-deu tesseract-ocr-spa" \
-e MAYAN_DATABASE_ENGINE="django.db.backends.mysql" \
-e MAYAN_DATABASE_NAME="mayan2" \
-e MAYAN_DATABASE_USER="mayan" \
-e MAYAN_DATABASE_PASSWORD="pw" \
-e MAYAN_DATABASE_HOST="10.0.3.1" \
-e MAYAN_DATABASE_PORT="3306" \
mayanedms/mayanedms:3.0.1

From the attached docker log I can see the following:

Line 99:
{"log":"django.db.utils.OperationalError: (1061, \"Duplicate key name
'linking_smartlink_label_3321a5d9'\")\n","stream":"stderr","time":"2018-07-14T07:30:37.847039086Z"}
{"log":" Applying
linking.0006_auto_20180402_0339...","stream":"stdout","time":"2018-07-14T07:30:38.181999985Z"}

Any idea?
--
---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Raul
2018-08-06 19:46:01 UTC
Permalink
Nobody an idea? :-/
Post by Raul
Hi Robert,
I my 3.0.1 container is running into a loop when it comes to the migration.
docker run -d --name mayan-edms301 \
-p 8889:8000 \
--restart=always \
-e UID=33 -e GID=33 \
-v mayan_data301:/var/lib/mayan \
-e MAYAN_APT_INSTALLS="tesseract-ocr-deu tesseract-ocr-spa" \
-e MAYAN_DATABASE_ENGINE="django.db.backends.mysql" \
-e MAYAN_DATABASE_NAME="mayan2" \
-e MAYAN_DATABASE_USER="mayan" \
-e MAYAN_DATABASE_PASSWORD="pw" \
-e MAYAN_DATABASE_HOST="10.0.3.1" \
-e MAYAN_DATABASE_PORT="3306" \
mayanedms/mayanedms:3.0.1
{"log":"django.db.utils.OperationalError: (1061, \"Duplicate key name
'linking_smartlink_label_3321a5d9'\")\n","stream":"stderr","time":"2018-07-14T07:30:37.847039086Z"}
{"log":" Applying
linking.0006_auto_20180402_0339...","stream":"stdout","time":"2018-07-14T07:30:38.181999985Z"}
Any idea?
--
---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...