Unable to install app from App Center


#1

Hi,

I am trying to install an app from the App Center but it fails with little in the way of an explanation.

Here is a snippet from the log output: /var/log/univention/management-console-module-appcenter.log

14.06.16 16:58:11.212 MODULE ( PROCESS ) : 99% [updates.software-univention.de 4.1-2/amd64/ Packages 874 B] 14.06.16 16:58:11.213 MODULE ( PROCESS ) : 100% [Working] 14.06.16 16:58:11.213 MODULE ( PROCESS ) : Fetched 0 B in 0s (0 B/s) 14.06.16 16:58:11.353 MODULE ( PROCESS ) : Finished dry_run for office365 on localhost 14.06.16 16:58:11.353 MODULE ( PROCESS ) : Problems encountered or confirmation required. Removing component office365_20160525 14.06.16 16:59:53.240 MAIN ( WARN ) : Shutting down all open connections 14.06.16 17:02:22.646 MAIN ( WARN ) : Shutting down all open connections 14.06.16 17:03:41.349 MAIN ( WARN ) : Shutting down all open connections 14.06.16 17:04:02.979 MAIN ( WARN ) : Shutting down all open connections 14.06.16 17:08:03.957 MAIN ( WARN ) : Shutting down all open connections

I have checked up updates and they aren’t any. I’m all up-to-date. Am I missing something?


#2

This is also showing up in the logs: MODULE ( WARN ) : univention-management-console-module-office365: No such package

It seems it is not able to find the package even though it is offered in the app center.


#3

I’m having the exact same problem.
In the repository is the meta file but if you’re looking into it you’ll find a lot of dead links for the packages and also entrys without a link:

[code][Application]
ID=office365
BaseApp=

VendorSupported=1

DetailpageOnCatalogue=True
TeaserpageOnCatalogue=True

UniventionApp=False
VMwareImage=http://appcenter.software-univention.de/univention-apps/current/office365/Univention-App-office365-vmware.zip
VMwaremd5=http://appcenter.software-univention.de/univention-apps/current/office365/Univention-App-office365-vmware.zip.md5
VirtualboxImage=http://appcenter.software-univention.de/univention-apps/current/office365/Univention-App-office365-virtualbox.ova
Virtualboxmd5=http://appcenter.software-univention.de/univention-apps/current/office365/Univention-App-office365-virtualbox.ova.md5
ESXImage=http://appcenter.software-univention.de/univention-apps/current/office365/Univention-App-office365-ESX.ova
ESXmd5=http://appcenter.software-univention.de/univention-apps/current/office365/Univention-App-office365-ESX.ova.md5
KVMimage=http://appcenter.software-univention.de/univention-apps/current/office365/Univention-App-office365-KVM.qcow2
KVMmd5=http://appcenter.software-univention.de/univention-apps/current/office365/Univention-App-office365-KVM.qcow2.md5
#DockerImage:[link]
#Dockermd5:[link]
#HyperVImage:[link]
#HyperVmd5:[link]

Further Information (DE und EN)

FurtherInformationHeadline=Further information and feedback
FurtherInformationText=Our documentation offers detailed information on the operation of UCS. If you have any remarks or suggestions regarding UCS we are always glad to receive your feedback.

CloudLogo1=
CloudLink1=

CSPLogo1=
CSPLink1=

[de]
FurtherInformationHeadline=Weitere Informationen und Feedback
FurtherInformationText=Die ausführliche Dokumentation bietet detaillierte Informationen zum Betrieb von UCS. Wenn Sie Anmerkungen oder Vorschläge bezüglich UCS haben, freuen wir uns jederzeit über Feedback.[/code]

Is there maybe someone from univention to tell us when the app will be back online again or what happend to it?

Best
Christian


#4

Hi everyone,

The dead links are not that relevant for the app beeing installable from the App Center, they are created semi-automatically for each app - we just do not have seperate appliances for the office app.

I could just install the app just fine. To debug your installation problem, please do the following steps on a console and report back with any errors:

univention-app register office365 --component --do-it
univention-install univention-management-console-module-office365

#5

[quote=“damrose”]Hi everyone,

The dead links are not that relevant for the app beeing installable from the App Center, they are created semi-automatically for each app - we just do not have seperate appliances for the office app.

I could just install the app just fine. To debug your installation problem, please do the following steps on a console and report back with any errors:

univention-app register office365 --component --do-it
univention-install univention-management-console-module-office365
[/code][/quote]

The first command runs with the following message: 

[code]Registering component for office365

The second ends with the following:

Hit http://updates.software-univention.de 4.1-2/all/ Packages Hit http://updates.software-univention.de 4.1-2/amd64/ Packages Hit http://updates.software-univention.de 4.1-2/all/ Packages Hit http://updates.software-univention.de 4.1-2/amd64/ Packages Reading package lists... Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package univention-management-console-module-office365


#6

Seems like there is something wrong with the apt repository settings. Is there any error visible in the file /etc/apt/sources.list.d/20_ucs-online-component.list ?

Try to regenerate the source list files and see if there is still an error:

ucr commit /etc/apt/sources.list.d/*

Are the repository servers resolveable from your UCS?


#7

[quote=“damrose”]Seems like there is something wrong with the apt repository settings. Is there any error visible in the file /etc/apt/sources.list.d/20_ucs-online-component.list ?

Try to regenerate the source list files and see if there is still an error:

ucr commit /etc/apt/sources.list.d/*

Are the repository servers resolveable from your UCS?

[quote]
ping appcenter.software-univention.de
ping updates.software-univention.de
[/quote][/quote]

Yes, there is an error. It is as follows:

[code]#Warning: This file is auto-generated and might be overwritten by

univention-config-registry.

Please edit the following file(s) instead:

#Warnung: Diese Datei wurde automatisch generiert und kann durch

univention-config-registry überschrieben werden.

Bitte bearbeiten Sie an Stelle dessen die folgende(n) Datei(en):

/etc/univention/templates/files/etc/apt/sources.list.d/20_ucs-online-component.list

An error occurred during the repository check. The error message:

Traceback (most recent call last):

File “”, line 16, in

File “/usr/lib/pymodules/python2.7/univention/updater/tools.py”, line 1625, in print_component_repositories

versions = self._get_component_versions(component, start, end)

File “/usr/lib/pymodules/python2.7/univention/updater/tools.py”, line 1530, in _get_component_versions

version = UCS_Version(’%s-0’ % version)

File “/usr/lib/pymodules/python2.7/univention/updater/ucs_version.py”, line 61, in init

self.set(version)

File “/usr/lib/pymodules/python2.7/univention/updater/ucs_version.py”, line 94, in set

raise ValueError(‘string does not match UCS version pattern’)

ValueError: string does not match UCS version pattern

After fixing this issue, you should rewrite this file with the following command:

univention-config-registry commit /etc/apt/sources.list.d/20_ucs-online-component.list

[/code]


#8

Are the repository servers resolveable from your UCS?

[quote][quote]
ping appcenter.software-univention.de
ping updates.software-univention.de
[/quote][/quote]

I missed this one, apologies. Yes, they are resolvable. I can ping both.


#9

Ok, i think we are getting closer… Please paste the output of

ucr search --brief repository/online/component/

#10

[quote=“damrose”]Ok, i think we are getting closer… Please paste the output of

ucr search --brief repository/online/component/ [/quote]

Sure thing.

repository/online/component/.*/clean: <empty> repository/online/component/.*/description: <empty> repository/online/component/.*/erratalevel: <empty> repository/online/component/.*/localmirror: <empty> repository/online/component/.*/password: <empty> repository/online/component/.*/port: <empty> repository/online/component/.*/prefix: <empty> repository/online/component/.*/server: <empty> repository/online/component/.*/unmaintained: <empty> repository/online/component/.*/username: <empty> repository/online/component/.*/version: <empty> repository/online/component/.*: <empty> repository/online/component/4.1-0-errata/description: Errata updates for UCS 4.1-0 repository/online/component/4.1-0-errata/localmirror: true repository/online/component/4.1-0-errata/version: 4.1 repository/online/component/4.1-0-errata: false repository/online/component/4.1-1-errata/description: Errata updates for UCS 4.1-1 repository/online/component/4.1-1-errata/localmirror: true repository/online/component/4.1-1-errata/version: 4.1 repository/online/component/4.1-1-errata: disabled repository/online/component/4.1-2-errata/description: Errata updates for UCS 4.1-2 repository/online/component/4.1-2-errata/unmaintained: enabled repository/online/component/4.1-2-errata/version: 4.1 repository/online/component/4.1-2-errata: enabled repository/online/component/cool-solutions/server: http://ucc.software-univention.de/unmaintained/component/ucc-coolsolutions/all/ repository/online/component/cool-solutions/unmaintained: yes repository/online/component/cool-solutions/version: "current" repository/online/component/cool-solutions: yes repository/online/component/office365_20160525/description: Microsoft Office 365 Connector repository/online/component/office365_20160525/localmirror: false repository/online/component/office365_20160525/server: appcenter.software-univention.de repository/online/component/office365_20160525/version: current repository/online/component/office365_20160525: enabled


#11

There is an error with the definition of the UCR variable ‘repository/online/component/cool-solutions/version’, the value should not contain quotation marks. It should work if you set it this way:

ucr set repository/online/component/cool-solutions/version=current

Please recheck the file /etc/apt/sources.list.d/20_ucs-online-component.list afterwards. If no error shows up, but instead lines starting with ‘deb’, the app installation via the UMC App Center module should work.

Is there any documentation from Univention where the ‘ucr set’ is written in a wrong way? The quotation marks in the UCR value can only show up if it was double quoted somewhere. In a quick google search our documentation looks alright.


#12

[quote=“damrose”]There is an error with the definition of the UCR variable ‘repository/online/component/cool-solutions/version’, the value should not contain quotation marks. It should work if you set it this way:

ucr set repository/online/component/cool-solutions/version=current

Please recheck the file /etc/apt/sources.list.d/20_ucs-online-component.list afterwards. If no error shows up, but instead lines starting with ‘deb’, the app installation via the UMC App Center module should work.

Is there any documentation from Univention where the ‘ucr set’ is written in a wrong way? The quotation marks in the UCR value can only show up if it was double quoted somewhere. In a quick google search our documentation looks alright.[/quote]

Thank you very much. This solved the issue. I needed to remove the quotes also from a LDAP policy which was created, restarted the box and I was able to install the app. Thanks a million!