Page 1 of 1

Creating local repository

Posted: Mon Mar 13, 2017 6:37 am
by bhwong
Hi Jorge, I notice that you are the editor for https://wiki.zimbra.com/wiki/Zimbra_Col ... repository

This particular statement seem to be incorrect:
You must add your local repository to your Ubuntu Configuration, please note you must change trusty (Ubuntu 14.04) to precise if you are running Ubuntu 12.04
Shouldn't it be:
You must add your local repository to your Ubuntu Configuration, please note you must change (kernel of) precise to trusty (Ubuntu 14.04) if you are running Ubuntu 12.04:
btw, is there a better way to work around this without having to create a local repository? A full download will be helpful because I notice that the time to wait for the download during the installation is taking too long. We hope to minimise the period of downtime during Zimbra upgrade.

Re: Creating local repository

Posted: Mon Mar 13, 2017 11:01 am
by jorgedlcruz
Hi,
I've changed already the Wiki, thank you. Have an offline .tar.gz sounds about right to me, however if the third party packages are updated in a much frequent way, it will be really difficult to keep an updated .tar.gz, for this reason use the repositories are made for.

If you require a really low downtime while upgrading, I recommend you to use a local VM for the Zimbra repository, so you will minimize the downtime using local LAN bandwidth.

Best regards

Re: Creating local repository

Posted: Mon Mar 13, 2017 2:28 pm
by bhwong
I do understand the repository usefulness in updating. But for upgrading, we do not need the latest patch but a full download to reduce the long downtime, especially when the time taken by Zimbra to download during the installation is often over an hour in my trial test, compare with just a short while for Ubuntu upgrade.

Re: Creating local repository

Posted: Tue Mar 14, 2017 2:56 am
by bhwong
Also, must I have to waste so much resources to create another server just for holding a local repository? Can I do this on the same server as Zimbra instead? This will make it even faster without having to go thru the LAN transfer right?

btw, where or how do we get the certificates for zimbra-wilcard.crt and zimbra-wilcard.key? And is the Nginx required if I just want to have a local repository to speed up the upgrade process? All we want is just to be able to download the full installation file to reduce downtime, especially when the remote repository is super slow.

And after configure the sources list and perform a apt-get update, I'm getting an error message that Ubuntu failed to fetch files from https://repo.domain.tld/apt/87/dists/tr ... ce/Sources and https://repo.domain.tld/apt/87/dists/tr ... 4/Packages as it couldn't resolve host 'repo.domain.tld.

And when I install by selecting not to use Zimbra's package repository, I got two errors:
  • MISSING libreoffice
    Unable to download packages from repository