Cannot update UCS with Kopano installed

I can’t update to the latest release of UCS when Kopano is installed… I had this issue on the last upgrade, but I attributed that to the trial key for Kopano Core. I removed via cli and the UCS upgrade went fine… I then re-installed Kopano with the cli and everything appeared to work.

Today I attempted to upgrade UCS to the latest release and the updater.log shows

Err:203 https://download.kopano.io/supported/core:/final/Univention_4.3  Release
  401  Unauthorized
Get:204 https://updates.software-univention.de/4.4/maintained 4.4-2/amd64/ Packages [213 kB]
Err:205 https://download.kopano.io/supported/archiver:/final/Univention_4.3  Release
  401  Unauthorized
Err:206 https://download.kopano.io/supported/webapp:/final/Univention_4.3  Release
  401  Unauthorized
Err:207 https://download.kopano.io/supported/files:/final/Univention_4.3  Release
  401  Unauthorized
Err:208 https://download.kopano.io/supported/mdm:/final/Univention_4.3  Release
  401  Unauthorized
Err:209 https://download.kopano.io/supported/smime:/final/Univention_4.3  Release
  401  Unauthorized

further down the log is:


E: The repository 'https://download.kopano.io/supported/core:/final/Univention_4.3  Release' does not have a Release file.
E: The repository 'https://download.kopano.io/supported/archiver:/final/Univention_4.3  Release' does not have a Release file.
E: The repository 'https://download.kopano.io/supported/webapp:/final/Univention_4.3  Release' does not have a Release file.
E: The repository 'https://download.kopano.io/supported/files:/final/Univention_4.3  Release' does not have a Release file.
E: The repository 'https://download.kopano.io/supported/mdm:/final/Univention_4.3  Release' does not have a Release file.
E: The repository 'https://download.kopano.io/supported/smime:/final/Univention_4.3  Release' does not have a Release file.

I’m not sure what this means, but it appears to be the reason for the upgrade fail again… I will remove and try an upgrade again. I will report back with any additional info

any thoughts??

Hi @sgvfr,

it seems your Kopano subscription has expired. You either need to extend your subscription or deactivate the Kopano repository in the app settings.

No need to remove/reinstall the app.

Hi, Thanks! I did remove the subscription key already but that didn’t seem to make a difference… is there another place I need to do that?

is it possible to add a sub to the code to warn a user during an upgrade? or would that be more of a UCS feature during system checks?

Hi @sgvfr,

its not (just) about removing the key, but you also need to deactivate the repository. e.g. setting kopano/repo/kopano-core to false.

As long as the repo line is in your apt config and this one repo is failing (since it needs authentication, that you no longer have) this will block the ucs upgrade.