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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Installation not working on clean ubuntu focal server

Installation not working on clean ubuntu focal server

Scheduled Pinned Locked Moved Solved Support
16 Posts 3 Posters 2.5k Views 3 Watching
  • 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.beK Offline
      kyzoe.beK Offline
      kyzoe.be
      wrote on last edited by
      #1

      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
      0
      • nebulonN Away
        nebulonN Away
        nebulon
        Staff
        wrote on last edited by
        #2

        Hi and welcome here!

        On which VPS provider is this?

        kyzoe.beK 1 Reply Last reply
        0
        • nebulonN nebulon

          Hi and welcome here!

          On which VPS provider is this?

          kyzoe.beK Offline
          kyzoe.beK Offline
          kyzoe.be
          wrote on last edited by kyzoe.be
          #3

          @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
          0
          • subvenS Offline
            subvenS Offline
            subven
            wrote on last edited by
            #4

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

            kyzoe.beK 1 Reply Last reply
            0
            • subvenS subven

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

              kyzoe.beK Offline
              kyzoe.beK Offline
              kyzoe.be
              wrote on last edited by
              #5

              @subven I used the Hetzner image .

              nebulonN 1 Reply Last reply
              0
              • kyzoe.beK kyzoe.be

                @subven I used the Hetzner image .

                nebulonN Away
                nebulonN Away
                nebulon
                Staff
                wrote on last edited by
                #6

                @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.beK 1 Reply Last reply
                0
                • nebulonN nebulon

                  @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.beK Offline
                  kyzoe.beK Offline
                  kyzoe.be
                  wrote on last edited by
                  #7

                  @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
                  0
                  • kyzoe.beK Offline
                    kyzoe.beK Offline
                    kyzoe.be
                    wrote on last edited by
                    #8

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

                      @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.beK Offline
                      kyzoe.beK Offline
                      kyzoe.be
                      wrote on last edited by
                      #9

                      I can give you access if you like?

                      nebulonN 1 Reply Last reply
                      0
                      • subvenS Offline
                        subvenS Offline
                        subven
                        wrote on last edited by
                        #10

                        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
                        0
                        • kyzoe.beK kyzoe.be

                          I can give you access if you like?

                          nebulonN Away
                          nebulonN Away
                          nebulon
                          Staff
                          wrote on last edited by
                          #11

                          @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.beK 1 Reply Last reply
                          0
                          • nebulonN nebulon

                            @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.beK Offline
                            kyzoe.beK Offline
                            kyzoe.be
                            wrote on last edited by
                            #12

                            @nebulon email sent

                            1 Reply Last reply
                            0
                            • nebulonN Away
                              nebulonN Away
                              nebulon
                              Staff
                              wrote on last edited by
                              #13

                              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.beK 1 Reply Last reply
                              0
                              • nebulonN nebulon

                                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.beK Offline
                                kyzoe.beK Offline
                                kyzoe.be
                                wrote on last edited by
                                #14

                                @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.

                                nebulonN 1 Reply Last reply
                                0
                                • kyzoe.beK kyzoe.be

                                  @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.

                                  nebulonN Away
                                  nebulonN Away
                                  nebulon
                                  Staff
                                  wrote on last edited by
                                  #15

                                  @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.beK 1 Reply Last reply
                                  1
                                  • nebulonN nebulon

                                    @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.beK Offline
                                    kyzoe.beK Offline
                                    kyzoe.be
                                    wrote on last edited by
                                    #16

                                    @nebulon

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

                                    Thanks!

                                    1 Reply Last reply
                                    0
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes


                                      • Login

                                      • Don't have an account? Register

                                      • Login or register to search.
                                      • First post
                                        Last post
                                      0
                                      • Categories
                                      • Recent
                                      • Tags
                                      • Popular
                                      • Bookmarks
                                      • Search