Installing Cloudron on Scaleway misses tzdata



  • Hi,

    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,
    Camille



  • Hi,

    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?



  • Hi,
    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.
    Best,
    Camille



  • Actually I think I found the issue, it is the sudo package:

    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 :
    04c06d68-3191-41ca-8cb0-d7b4e4bf3286-image.png

    HTH,
    Camille



  • The tzdata package will fallback to UTC which is correct already, however sudo on 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.


Log in to reply