thctlo / Kopano

Scripts for Kopano
25 stars 11 forks source link
community kopano repo setup

Kopano

Scripts for Kopano.

get-kopano-community.sh: This script pulls the community (development) files for your OS and setup a repo so you can use apt-get to install.

It's currently tested on Debian 10 and Ubuntu 20.04 but should work for Debian 8-9 and Ubuntu 16/18/20 .04 (LTS editions) also.
This eliminates the use of dpkg -i *.deb on kopano-community files.

PLEASE NOTE, BULLSEYE SUPPORT IS BUILD IN BUT ITS NOT RELEASE YET BY KOPANO !!! Resulting, bullseye is NOT YET supported.

It sets up a local file repo, which is easy to adapt for a webserver repo, examples are provided in the files.
Do note, verify if you are happy with the default script settings.

For the quick and unpatient, keep the defaults and run:

wget -O - https://raw.githubusercontent.com/thctlo/Kopano/master/get-kopano-community.sh | sudo bash
sudo apt install kopano-server-packages

And too see the new versions, you can use the following command:

apt-cache policy kopano-server-packages kopano-webapp z-push-kopano

Note, when you are upgrading and you might see packages are "kept back" and this is why.

Kopano is fast moving at the moment, sometimes new packages are added or older removed,
when you just run apt update, in these cases you must use apt dist-upgrade --autoremove.
So make sure, you always check for "kept back" packages.
The --autoremove is very handy with the upgrades, for example.
libgsoap-kopano-x.y.z. this one of often upgraded but the older version is not autoremoved.
which results in possible, strange things within Kopano, autoremove removed the older version
while upgradeing.


But there are also packages which might not be removed while upgrading and to make this all work,
you might want to at these options --autoremove --purge, so you can run : apt dist-upgrade --autoremove --purge
This removed obsolete files and installes the kept back packages in one go.

The script and the default settings in it, will do following for you:

Donations

If you like my work, support me a bit, even with 1 $ you are helping me.
I dont ask for hunderds, a (few) buck(s) is/are a great gift also.

Thanks

@Christian Knittl-Frank for fixes so far. (https://github.com/lcnittl)
@fbartels (@Kopano) for helping out. (https://github.com/fbartels)