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


Navigation

    Cloudron Forum

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

    SOLVED Installation not working on clean ubuntu focal server

    Support
    3
    16
    89
    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.
    • K
      kyzoe.be @subven last edited by

      @subven I used the Hetzner image .

      nebulon 1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff @kyzoe.be last edited by

        @kyzoe-be appears that on this specific image apparmor is not installed by default apparently. Can you try running apt install apparmor prior to attempting installing Cloudron? If this works, we have to add this as an explicit dependency in the installer.

        K 1 Reply Last reply Reply Quote 0
        • K
          kyzoe.be @nebulon last edited by

          @nebulon said in Installation not working on clean ubuntu focal server:

          apt install apparmor

          going to spin up a new instance directly, heppy to test it

          1 Reply Last reply Reply Quote 0
          • K
            kyzoe.be last edited by

            @nebulon said in Installation not working on clean ubuntu focal server:

            apt install apparmor

            So i installed a brand new ubuntu 20.04 Focal from the Hetzner robot. We are talking Dedicated servers here, a EX62 one.

            // Welcome to Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-47-generic x86_64)

            did before anything a apt install apparmor throwing this at me...

            Reading package lists... Done
            Building dependency tree
            Reading state information... Done
            Package apparmor is not available, but is referred to by another package.
            This may mean that the package is missing, has been obsoleted, or
            is only available from another source

            E: Package 'apparmor' has no installation candidate

            tried to run the install sequence, like it is on cloudron.io

            ##############################################
            Cloudron Setup (latest)
            ##############################################

            Follow setup logs in a second terminal with:
            $ tail -f /var/log/cloudron-setup.log

            Join us at https://forum.cloudron.io for any questions.

            => Installing software-properties-common
            Could not install software-properties-common (for add-apt-repository below). See /var/log/cloudron-setup.log

            from cloudron-setup.log

            Running cloudron-setup with args : --
            Reading package lists...
            Building dependency tree...
            Reading state information...
            E: Unable to locate package software-properties-common

            So i don't get it anymore, yesterday it did a lot more. Today the image seems again to be changed....

            K 1 Reply Last reply Reply Quote 0
            • K
              kyzoe.be @kyzoe.be last edited by

              I can give you access if you like?

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

                Hetzners standard images seem to use the minimal image --> https://docs.hetzner.com/de/robot/dedicated-server/operating-systems/standard-images

                How about downloading and using the official server installer ISO from Ubuntu --> https://ubuntu.com/download/server (Option 3)?

                1 Reply Last reply Reply Quote 0
                • nebulon
                  nebulon Staff @kyzoe.be last edited by

                  @kyzoe-be ah ok, sorry I didn't check upfront what the package or metapackage name on focal is. If you want that we debug this directly on your machine as you indicated, please add our support key from https://docs.cloudron.io/support/#ssh-keys and send a mail with ip/port to support@cloudron.io

                  K 1 Reply Last reply Reply Quote 0
                  • K
                    kyzoe.be @nebulon last edited by

                    @nebulon email sent

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

                      For some reason installing apparmor on that server worked fine. We have put it as an explicit dependency now https://git.cloudron.io/cloudron/box/-/commit/6ff2c5f7577f88862fed8c47626ea999170597d4

                      K 1 Reply Last reply Reply Quote 0
                      • K
                        kyzoe.be @nebulon last edited by

                        @nebulon i just read the mail. Was i too fast after the clean install. i don't understand it at all. Glad it was solved.

                        nebulon 1 Reply Last reply Reply Quote 0
                        • nebulon
                          nebulon Staff @kyzoe.be last edited by

                          @kyzoe-be ah that could actually be a good point about the timing, some VPS images will run a apt-get upgrade after booting, which may cause some inconsistency when this happens early on in the background

                          K 1 Reply Last reply Reply Quote 1
                          • K
                            kyzoe.be @nebulon last edited by

                            @nebulon

                            Anyway i am happy to upgrade tomorrow to a paid package, this is truly great support!

                            Thanks!

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post