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 Installation not working on clean ubuntu focal server

    Support
    3
    16
    610
    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.
    • kyzoe.be
      kyzoe.be last edited by

      hello we are trying to install Cloudron on a clean ubuntu focal server but it ends up with a error:

      ==> Cloudron Start
      media❌500:
      ==> Configuring docker
      Failed to enable unit: Unit file apparmor.service does not exist.

      followed this instructions:

      wget https://cloudron.io/cloudron-setup
      chmod +x ./cloudron-setup
      ./cloudron-setup

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

        Hi and welcome here!

        On which VPS provider is this?

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

          @nebulon Glad to be here, this is on Hetzner, a dedicated machine type EX62

          Leter i tried on a 18.04 ubuntu that worked Flawless, but i loved to get it going on a 20.04 machine.

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

            Did you use a Hetzner image of 20.04 or an official ISO from Ubuntu to install?

            kyzoe.be 1 Reply Last reply Reply Quote 0
            • kyzoe.be
              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.

                kyzoe.be 1 Reply Last reply Reply Quote 0
                • kyzoe.be
                  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
                  • kyzoe.be
                    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....

                    kyzoe.be 1 Reply Last reply Reply Quote 0
                    • kyzoe.be
                      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

                          kyzoe.be 1 Reply Last reply Reply Quote 0
                          • kyzoe.be
                            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

                              kyzoe.be 1 Reply Last reply Reply Quote 0
                              • kyzoe.be
                                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

                                  kyzoe.be 1 Reply Last reply Reply Quote 1
                                  • kyzoe.be
                                    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
                                    Powered by NodeBB