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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Feature Requests
  3. Cloudron installation script: select alternative Ubuntu Repository mirror

Cloudron installation script: select alternative Ubuntu Repository mirror

Scheduled Pinned Locked Moved Feature Requests
7 Posts 4 Posters 46 Views 4 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.
  • P Offline
    P Offline
    p44
    translator
    wrote last edited by p44
    #1

    Ubuntu Repository is often slow and unstable.

    In last months I had several time same problem: unreachable, overloaded...

    In Cloudron installation script it could be interesting to select (or auto shift based on ping) a different mirror as an alternative.

    This is a real time video record of the speed today:

    UbuntuRepositorySlow.gif

    Err:75 http://security.ubuntu.com/ubuntu noble-updates/main amd64 linux-firmware amd64 20240318.git3b128b60-0ubuntu2.26
      429  Too Many Requests [IP: 185.125.190.82 80]
    Fetched 291 MB in 14min 1s (346 kB/s)
    E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux-firmware/linux-firmware_20240318.git3b128b60-0ubuntu2.26_amd64.deb  429  Too Many Requests [IP: 185.125.190.82 80]
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
    

    And then result is:

    => Installing base dependencies (this takes some time) ...Init script failed. See /var/log/cloudron-setup.log for details
    
    1 Reply Last reply
    1
    • jamesJ Online
      jamesJ Online
      james
      Staff
      wrote last edited by
      #2

      Hello @p44
      Cloudron does not set up the repos, that is configured by the provider.
      Some providers like Hetzner use their own mirror to save bandwidth and increase speed.
      Also, if someone is setting up their own repos for security or what ever reason, before setting up Cloudron, I think we should not interfere with that.

      robiR P 2 Replies Last reply
      1
      • jamesJ james

        Hello @p44
        Cloudron does not set up the repos, that is configured by the provider.
        Some providers like Hetzner use their own mirror to save bandwidth and increase speed.
        Also, if someone is setting up their own repos for security or what ever reason, before setting up Cloudron, I think we should not interfere with that.

        robiR Offline
        robiR Offline
        robi
        wrote last edited by
        #3

        @james might be a useful pre-install checklist for setting up a speedy mirror

        Conscious tech

        1 Reply Last reply
        1
        • jamesJ james

          Hello @p44
          Cloudron does not set up the repos, that is configured by the provider.
          Some providers like Hetzner use their own mirror to save bandwidth and increase speed.
          Also, if someone is setting up their own repos for security or what ever reason, before setting up Cloudron, I think we should not interfere with that.

          P Offline
          P Offline
          p44
          translator
          wrote last edited by p44
          #4

          @james Yes, I know very well that Repos is not managed by Cloudron, but whole process can interfere with Cloudron installations and be critical specially when configuring a new Cloudron in a case of disaster recovery or switching Cloudron instances with backup/recovery, or simply when installing a new Cloudron instance.

          In fact, if repository cannot be reached, Cloudron cannot be installed.

          Hetzner give a good guide on how to switch, and also their repository is always reachable, fast and stable.

          How @robi suggested, it could be interesting to add to Cloudron install script some strings to avoid this kind of issue.

          Could be a speedy mirror or ability to pass parameter in ./cloudron-setup eg. ./cloudron-setup -h or something where user can chose wich mirror to use. -h = Hetzner, and so on.

          At this point, script will manage all the whole process and continue installation of packages and Cloudron instance.

          1 Reply Last reply
          0
          • P Offline
            P Offline
            p44
            translator
            wrote last edited by p44
            #5

            @james Trying a second install, on previous broken Cloudron installation, will give this:

            
            => Updating apt and installing script dependencies
            => Waiting for 30s for existing apt/dpkg processes to finish...
            => Waiting for 30s for existing apt/dpkg processes to finish...
            => Waiting for 30s for existing apt/dpkg processes to finish...
            => Waiting for 30s for existing apt/dpkg processes to finish...
            => Waiting for 30s for existing apt/dpkg processes to finish...
            
            

            while

            tail -f /var/log/cloudron-setup.log
            

            give this:

            Running cloudron-setup with args : --
            
            1 Reply Last reply
            0
            • nebulonN Away
              nebulonN Away
              nebulon
              Staff
              wrote last edited by
              #6

              So it seems ubuntu's package repositories have some issues since yesterday. This also affects the package update pipelines currently.

              https://status.canonical.com/

              P 1 Reply Last reply
              2
              • nebulonN nebulon

                So it seems ubuntu's package repositories have some issues since yesterday. This also affects the package update pipelines currently.

                https://status.canonical.com/

                P Offline
                P Offline
                p44
                translator
                wrote last edited by p44
                #7

                @nebulon Yes, they still have ongoing problems... Even if they mark as “solved”, problem is not fixed.

                This can affect Cloudron installations.

                Just tried to install Cloudron again but...

                Err:75 http://security.ubuntu.com/ubuntu noble-updates/main amd64 linux-firmware amd64 20240318.git3b128b60-0ubuntu2.26
                  429  Too Many Requests [IP: 2620:2d:4000:1::103 80]
                Fetched 220 MB in 5min 41s (643 kB/s)
                E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux-firmware/linux-firmware_20240318.git3b128b60-0ubuntu2.26_amd64.deb  429  Too Many Requests [IP: 2620:2d:4000:1::103 80]
                E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
                
                1 Reply Last reply
                0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                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