Upgrade to 3.0.1 - Issue with migration

49 views
Skip to first unread message

Raul

unread,
Jul 14, 2018, 4:03:07 AM7/14/18
to Mayan EDMS
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?

Raul

unread,
Aug 6, 2018, 3:46:01 PM8/6/18
to Mayan EDMS
Nobody an idea? :-/
Reply all
Reply to author
Forward
0 new messages