"occ encryption:decrypt-all" fails with obscure error message when not connected to an interactive terminal #9894
Labels
3. to review
Waiting for reviews
enhancement
feature: encryption (server-side)
good first issue
Small tasks with clear documentation about how and in which place you need to fix things in.
papercut
Annoying recurring issue with possibly simple fix.
Milestone
Steps to reproduce
occ encryption:decrypt-all
without an interactive terminal, ie. using docker (docker exec --user www-data nextcloud php occ encryption:decrypt-all xx
)Expected behaviour
Should tell me that it needs an interactive terminal, not just say "aborted".
Actual behaviour
Outputs:
In the docker case, it works when providing
-it
to docker (ie.docker exec -it --user www-data nextcloud php occ encryption:decrypt-all xx
)Server configuration
Operating system: official docker image (up to date as of 2018-06-18) running on Debian x86_64 9.4
Database: MariaDB
PHP version: 7.1.18
Updated from an older Nextcloud/ownCloud or fresh install: Update
Where did you install Nextcloud from: Docker
The text was updated successfully, but these errors were encountered: