1

Topic: Switch SOGo yum/apt repositories to nightly builds by default

Dear all,

SOGo Team "made the decision to close down the public package repositories. From now on, in order to access the production builds of SOGo for various Linux distributions, you will need a proper support contract from Inverse."
https://sogo.nu/news/2016/article/sogo- … ories.html

The options of support contract are listed here:
https://sogo.nu/support/index.html#support-plans

As a temporary solution, we have to switch the yum/apt repo to nightly builds in iRedMail, but there're some third-party Debian/Ubuntu apt repositories available, use it on your own.

Note: iRedMail-0.9.5-1 has been re-packed with this change.

RHEL/CentOS

* Open file /etc/yum.repos.d/SOGo.repo, find the `baseurl=` setting like below:

baseurl=http://inverse.ca/rhel-v3/7/$basearch

* Change it to:

baseurl=http://packages.inverse.ca/SOGo/nightly/3/rhel/7/$basearch

Debian

* Open file /etc/apt/sources.list, find the SOGo repo like below

deb http://inverse.ca/debian-v3/ jessie jessie

* Change it to:

deb http://packages.inverse.ca/SOGo/nightly/3/debian jessie jessie

* Run 'apt-get update'.

Ubuntu

* Open file /etc/apt/sources.list, find the SOGo repo like below

deb http://inverse.ca/ubuntu-v3/ trusty trusty

* Change it to:

deb http://packages.inverse.ca/SOGo/nightly/3/ubuntu trusty trusty

* Run 'apt-get update'.

The third-party Debian/Ubuntu apt repositories

* http://www.mail-archive.com/users%40sog … 24909.html
* http://www.mail-archive.com/users%40sog … 24962.html

2 (edited by extremeshok 2016-07-20 08:48:23)

Re: Switch SOGo yum/apt repositories to nightly builds by default

We have been using the nightly builds for approximately 1 year and they have proven to be more stable.

Generally the nightly builds receive the major/show stopping bug fixes the day they are fixed, where the production stable/releases usually wait many weeks for them.

https://github.com/inverse-inc/sogo/commits/master

3

Re: Switch SOGo yum/apt repositories to nightly builds by default

ZhangHuangbin wrote:

SOGo Team "made the decision to close down the public package repositories. From now on, in order to access the production builds of SOGo for various Linux distributions, you will need a proper support contract from Inverse."

Hi Zhang!
I'm was shocked with this info too.

But... please let the SOGo  support included within iRed!
I'm running an other SOGo  instance (without iRed) since a few years with nightly builds and there where never troubles.

Perhaps u could put on a register form for 'inverse' into the iRedMail.sh or/and include the nightlies  per default (maybe with an info message)

4

Re: Switch SOGo yum/apt repositories to nightly builds by default

extremeshok wrote:

We have been using the nightly builds for approximately 1 year and they have proven to be more stable.

Generally the nightly builds receive the major/show stopping bug fixes the day they are fixed, where the production stable/releases usually wait many weeks for them.

@extremeshok
confirmed by us

5 (edited by bill_wong 2016-07-20 21:38:16)

Re: Switch SOGo yum/apt repositories to nightly builds by default

i have change the url and install again but still show error

OS : centos7


failure: repodata/repomd.xml from SOGo: [Errno 256] No more mirrors to try.
http://inverse.ca/SOGo/nightly/3/rhel/7 … epomd.xml: [Errno 14] H                                  TTP Error 404 - Not Found
<< ERROR >> Installation failed, please check the terminal output.
<< ERROR >> If you're not sure what the problem is, try to get help in iRedMail
<< ERROR >> forum: http://www.iredmail.org/forum/


any suggestion?

6 (edited by Constin 2016-07-20 21:39:30)

Re: Switch SOGo yum/apt repositories to nightly builds by default

bill_wong wrote:

i have change the url and install again but still show error


any suggestion?

try http://packages.inverse.ca/SOGo/nightly/3/rhel/7/

7

Re: Switch SOGo yum/apt repositories to nightly builds by default

Constin wrote:
bill_wong wrote:

i have change the url and install again but still show error


any suggestion?

try http://packages.inverse.ca/SOGo/nightly/3/rhel/7/

yes, i have change url already, when try to run iredmail.sh that seem replace to sogo.repo file,

any advise? thanks

8

Re: Switch SOGo yum/apt repositories to nightly builds by default

bill_wong wrote:

any advise? thanks

iRedMail-0.9.5-1/functions/packages.sh

9

Re: Switch SOGo yum/apt repositories to nightly builds by default

no , try to change here
iRedMail-0.9.5-1/conf/sogo

export SOGO_PKG_MIRROR="${SOGO_PKG_MIRROR:=http://inverse.ca}"
to
export SOGO_PKG_MIRROR="${SOGO_PKG_MIRROR:=http://packages.inverse.ca}"

10

Re: Switch SOGo yum/apt repositories to nightly builds by default

If you're installing a new server, just download the latest iRedMail-0.9.5-1 from our web site, it already fixes this URL:
http://www.iredmail.org/download.html

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

11

Re: Switch SOGo yum/apt repositories to nightly builds by default

ZhangHuangbin wrote:

If you're installing a new server, just download the latest iRedMail-0.9.5-1 from our web site, it already fixes this URL:
http://www.iredmail.org/download.html

I have download form latest version same problem

12

Re: Switch SOGo yum/apt repositories to nightly builds by default

ZhangHuangbin wrote:

If you're installing a new server, just download the latest iRedMail-0.9.5-1 from our web site, it already fixes this URL:
http://www.iredmail.org/download.html


no, you have " export SOGO_PKG_MIRROR="${SOGO_PKG_MIRROR:=http://inverse.ca}" in config. it's  wrong URL.

13

Re: Switch SOGo yum/apt repositories to nightly builds by default

Constin wrote:

no, you have " export SOGO_PKG_MIRROR="${SOGO_PKG_MIRROR:=http://inverse.ca}" in config. it's  wrong URL.

Fixed moment ago. Thanks for the feedback.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

14

Re: Switch SOGo yum/apt repositories to nightly builds by default

Hi Zhang - will you update it here if you found a new (public) stable repo (for example centos ?)

15

Re: Switch SOGo yum/apt repositories to nightly builds by default

Frankstar wrote:

Hi Zhang - will you update it here if you found a new (public) stable repo (for example centos ?)

Will do.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

16

Re: Switch SOGo yum/apt repositories to nightly builds by default

Hi Zhang,

Were you able to find pubic repos of Sogo stable releases for centos.

Thanks

17

Re: Switch SOGo yum/apt repositories to nightly builds by default

PineMail11 wrote:

Were you able to find pubic repos of Sogo stable releases for centos.

Unfortunately, no.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

18

Re: Switch SOGo yum/apt repositories to nightly builds by default

There is something wrong with the sogo repositories again.

Did they shut them down completely?

19

Re: Switch SOGo yum/apt repositories to nightly builds by default

HellBilly wrote:

There is something wrong with the sogo repositories again.

Did they shut them down completely?

I just tried them and they work for me.

20

Re: Switch SOGo yum/apt repositories to nightly builds by default

I'm positive there is something wrong with the debian rep...

deb http://packages.inverse.ca/SOGo/nightly/3/debian jessie jessie

I get this:

E: Failed to fetch https://packages.inverse.ca/SOGo/nightl … _amd64.deb  Failed to connect to packages.inverse.ca port 443: Network is unreacha             ble

21

Re: Switch SOGo yum/apt repositories to nightly builds by default

HellBilly wrote:

I'm positive there is something wrong with the debian rep...

deb http://packages.inverse.ca/SOGo/nightly/3/debian jessie jessie

I get this:

E: Failed to fetch https://packages.inverse.ca/SOGo/nightl … _amd64.deb  Failed to connect to packages.inverse.ca port 443: Network is unreacha             ble

Might be, I don't do Debian or anything like it. My comment above was wrt to the Centos 7 repos.

22

Re: Switch SOGo yum/apt repositories to nightly builds by default

My bad, the https was a typo in my sources.list... it's plain http...

23

Re: Switch SOGo yum/apt repositories to nightly builds by default

Same here, I just had to remove the s. I believe the original iredmail installation left it with https