# After pulling latest image, Migrating Schema EHR takes long **Category:** [Platform](https://discourse.openehr.org/c/platform-implem/7) **Created:** 2022-05-17 06:18 UTC **Views:** 490 **Replies:** 1 **URL:** https://discourse.openehr.org/t/after-pulling-latest-image-migrating-schema-ehr-takes-long/2623 --- ## Post #1 by @mc1995 Hello, yesterday I did run a `docker-compose pull ehrbase` to update my ehrbase server to the latest available version. However, after pulling the latest image and running `docker-compose up ehrbase` the docker logs show ``` 2022-05-16 13:29:32.180 INFO [] 9 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2022-05-16 13:29:32.306 INFO [] 9 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2022-05-16 13:29:32.331 INFO [] 9 --- [ main] o.f.c.internal.license.VersionPrinter : Flyway Community Edition 8.4.4 by Redgate 2022-05-16 13:29:32.332 INFO [] 9 --- [ main] o.f.c.i.database.base.BaseDatabaseType : Database: jdbc:postgresql://ehrdb:5432/ehrbase (PostgreSQL 13.4) 2022-05-16 13:29:32.376 INFO [] 9 --- [ main] o.f.c.i.c.SqlScriptCallbackFactory : Executing SQL callback: beforeValidate - 2022-05-16 13:29:32.490 INFO [] 9 --- [ main] o.f.core.internal.command.DbValidate : Successfully validated 72 migrations (execution time 00:00.094s) 2022-05-16 13:29:32.506 INFO [] 9 --- [ main] o.f.c.i.c.SqlScriptCallbackFactory : Executing SQL callback: beforeMigrate - 2022-05-16 13:29:32.516 INFO [] 9 --- [ main] o.f.core.internal.command.DbMigrate : Current version of schema "ehr": 70 2022-05-16 13:29:32.523 INFO [] 9 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "ehr" to version "71 - merge duplicate users" ``` what has now passed 17 hours. It seems like the process is still ongoing as I cannot access the swagger via `8080/ehrbase/swagger-ui/index.html`. I have about 200.000 EHRs stored on the server. Can someone reassure me that this is normal behavior or did I broke somthing? Thanks! --- ## Post #2 by @birger.haarbrandt Hi @mc1995, same as with the other thread: please open an issue and my colleagues will be happy to help :) --- **Canonical:** https://discourse.openehr.org/t/after-pulling-latest-image-migrating-schema-ehr-takes-long/2623 **Original content:** https://discourse.openehr.org/t/after-pulling-latest-image-migrating-schema-ehr-takes-long/2623