[Mayan EDMS: 2586] Upgrade to 3.0.1 - Issue with migration

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Mayan EDMS: 2586] Upgrade to 3.0.1 - Issue with migration

Raul Garcia Sanchez
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

[Mayan EDMS: 2619] Re: Upgrade to 3.0.1 - Issue with migration

Raul Garcia Sanchez
Nobody an idea? :-/

Am Samstag, 14. Juli 2018 10:03:07 UTC+2 schrieb Raul:
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.