SOLVED Installing Cloudron on Scaleway misses tzdata
The install script will fail on Scaleway / Ubuntu 18.04 Bionic as
export DEBIAN_FRONTEND=noninteractive apt install tzdata
fixed it for me.
Maybe the install script could be updated to take this into account?
thanks for reporting. The tzdata issue is fixed with https://git.cloudron.io/cloudron/box/commit/1b6af9bd12aea8008ff7c86a51199fa86bb7527b but is pending a release.
Still trying to reproduce the apt interactive issue. Which package required this for you?
Thanks for the fix.
Regarding the export DEBIAN_FRONTEND=noninteractive statement : I'm really not sure it's required, but apt-ing tzdata will prompt an interactive interface that might not be needed.
Actually I think I found the issue, it is the
Setting up sudo (1.8.21p2-3ubuntu1) ... Configuration file '/etc/sudoers' ==> File on system created by you or by a script. ==> File also in package provided by package maintainer. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** sudoers (Y/I/N/O/D/Z) [default=N] ?
Did you also see this or is that something else?
@nebulon Yes I saw this pb with sudo, (but that can be solved if you tail -f in another terminal as advised: you can type the answer in the original terminal and see the result in the second). Tzdata has a text UI, but I don't know if it will create problems in the context of the install script :
The tzdata package will fallback to UTC which is correct already, however
sudoon scaleway comes pre-installed with a custom sudoers file, which we want to keep. So the fix is pushed via https://git.cloudron.io/cloudron/box/commit/9d237e7bd68f43ae59b4bbc591ef1d7680918567 and will be part of the next release.