mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-20 14:54:15 +01:00
(bug) upgrade: the input device is not a TTY
This commit is contained in:
parent
73b8f95031
commit
03f3819255
@ -1,5 +1,6 @@
|
||||
# Changelog Fab-manager
|
||||
|
||||
- Fix a bug: in upgrade script, the error "the input device is not a TTY" is thrown when migrating the database
|
||||
- Fix a bug: broken display of machines pages
|
||||
- Fix a bug: some automated tests were randomly failing because ElasticSearch was not synced
|
||||
- Fix a bug: payment related objects are not synced on Stripe when enabling the online payment module
|
||||
|
@ -296,7 +296,7 @@ upgrade()
|
||||
fi
|
||||
done
|
||||
compile_assets
|
||||
if ! docker-compose run --rm "$SERVICE" bundle exec rake db:migrate; then
|
||||
if ! docker-compose run --rm "$SERVICE" bundle exec rake db:migrate </dev/tty; then
|
||||
restore_tag
|
||||
printf "\e[91m[ ❌ ] Something went wrong while migrating the database, please check the logs above.\e[39m\nExiting...\n"
|
||||
exit 4
|
||||
|
Loading…
x
Reference in New Issue
Block a user