Problem:
During the upgrade to ImA 1.5, the Image Artist docker stack fails to deploy with one of the following errors:
Error (original Image Artist version 1.2):
service minio-data: undefined volume "minio1_data"
Error (original Image Artist version 1.3):
service minio-data: undefined volume "minio_user_data”
Reason:
During the 1.5 upgrade, the stack uses the volume path specified by the
MINIO_VOLUME_PATH_NEW_FS parameter in the .env file. When upgrading to Image Artist 1.5 from earlier versions where MinIO migration is not required (e.g., starting from ImA 1.2 or 1.3), the original volume names minio1_data and minio_user_data are no longer referenced in the docker-compose.yml file found inside the Image Artist 1.5 installation directory, this results in the error as shown above.
Solution:
If you see this error:
service minio-data: undefined volume "minio1_data"
- Add the following lines to the docker-compose-custom.yml file (found in the Image Artist installation directory):
volumes:
minio1_data:
- redeploy the Image Artist stack
If you see this error:
service minio-data: undefined volume "minio_user_data”
- Add the following lines to the docker-compose-custom.yml file (found in the Image Artist installation directory):
volumes:
minio_user_data:
- redeploy the Image Artist stack
Image Artist: How do I redeploy/restart the container stack?
Comments
0 comments
Article is closed for comments.