Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Installing Cloudron on Scaleway misses tzdata

    Support
    2
    6
    312
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Camille last edited by

      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

      1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        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?

        1 Reply Last reply Reply Quote 0
        • C
          Camille last edited by

          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

          1 Reply Last reply Reply Quote 0
          • nebulon
            nebulon Staff last edited by

            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?

            C 1 Reply Last reply Reply Quote 0
            • C
              Camille @nebulon last edited by

              @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

              1 Reply Last reply Reply Quote 0
              • nebulon
                nebulon Staff last edited by

                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.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Powered by NodeBB