diff --git a/install.sh b/install.sh index 6700db3..1e41aac 100755 --- a/install.sh +++ b/install.sh @@ -69,7 +69,7 @@ if [[ $(docker volume ls -q --filter name=sentry-postgres) && $(docker run --rm # There's no rename volume in Docker so copy the contents from old to new name # Also append the `host all all all trust` line as `tianon/postgres-upgrade:9.5-to-9.6` # doesn't do that automatically. - docker run --rm -it -v sentry-postgres-new:/from -v sentry-postgres:/to alpine ash -c \ + docker run --rm -v sentry-postgres-new:/from -v sentry-postgres:/to alpine ash -c \ "cd /from ; cp -av . /to ; echo 'host all all all trust' >> /to/pg_hba.conf" # Finally, remove the new old volume as we are all in sentry-postgres now docker volume rm sentry-postgres-new @@ -131,7 +131,7 @@ done; echo "" echo "Migrating file storage..." -docker run --rm -it -v sentry-data:/data alpine ash -c \ +docker run --rm -v sentry-data:/data alpine ash -c \ "mkdir -p /tmp/files; mv /data/* /tmp/files/; mv /tmp/files /data/files" cleanup