Univention Bugzilla – Bug 39184
Unable to install Zarafa Web meetings (Docker)
Last modified: 2015-11-17 12:11:59 CET
I'm unable to install the Docker App: "Zarafa Web meetings (Docker)": root@master411:~# dpkg -l | grep -i appcen ii python-univention-appcenter 5.0.2-2.398.201508141207 ii univention-appcenter 5.0.2-2.398.201508141207 ii univention-appcenter-docker 5.0.2-2.398.201508141207 ii univention-management-console-module-appcenter 5.0.2-2.398.201508141207 I don't see an error message in the UMC module: 13.08.15 12:02:59.147 PARSER ( INFO ) : UMCP REQUEST 143946017913942-61 parsed successfully 13.08.15 12:02:59.147 MODULE ( INFO ) : Received request 143946017913942-61 13.08.15 12:02:59.147 PROTOCOL ( INFO ) : Received UMCP COMMAND REQUEST 143946017913942-61 13.08.15 12:02:59.147 MODULE ( INFO ) : Executing ['appcenter/invoke'] 13.08.15 12:02:59.163 MODULE ( PROCESS ) : Try to install (install) zarafa-webmeetings on . Force? True. Only master packages? False. Prevent installation on other systems? None. Only dry run? None. 13.08.15 12:03:00.071 PROTOCOL ( INFO ) : Sending UMCP RESPONSE 143946017913942-61 13.08.15 12:03:00.273 PARSER ( INFO ) : UMCP REQUEST 143946018019847-62 parsed successfully 13.08.15 12:03:00.273 MODULE ( INFO ) : Received request 143946018019847-62 13.08.15 12:03:00.273 PROTOCOL ( INFO ) : Received UMCP COMMAND REQUEST 143946018019847-62 13.08.15 12:03:00.273 MODULE ( INFO ) : Executing ['appcenter/keep_alive'] 13.08.15 12:03:00.273 MODULE ( WARN ) : Exception during install zarafa-webmeetings: must be string, not float 13.08.15 12:03:00.374 PROTOCOL ( INFO ) : Sending UMCP RESPONSE 143946018019847-62 13.08.15 12:03:00.376 PARSER ( INFO ) : UMCP REQUEST 143946018037442-63 parsed successfully 13.08.15 12:03:00.376 MODULE ( INFO ) : Received request 143946018037442-63 13.08.15 12:03:00.376 PROTOCOL ( INFO ) : Received UMCP COMMAND REQUEST 143946018037442-63 13.08.15 12:03:00.376 MODULE ( INFO ) : Executing ['appcenter/progress'] 13.08.15 12:03:00.376 PROTOCOL ( INFO ) : Sending UMCP RESPONSE 143946018037442-63
Fixed in univention-management-console-module-appcenter 5.0.4-21.430.201509171316
The installation fails: 26.09.15 14:39:28.739 MODULE ( PROCESS ) : Executing interface restore_data_before_setup for zarafa-webmeetings 26.09.15 14:39:28.742 MODULE ( PROCESS ) : Interface script /usr/share/univention-docker-container-mode/restore_data_before_setup not found! 26.09.15 14:39:28.742 MODULE ( PROCESS ) : Executing interface setup for zarafa-webmeetings 26.09.15 14:39:28.746 MODULE ( PROCESS ) : Interface script /usr/share/ucs-appbox-zarafa-webmeetings/setup not found! 26.09.15 14:39:28.746 MODULE ( WARN ) : Setup script failed! 26.09.15 14:39:28.747 MODULE ( PROCESS ) : Aborting...
Created attachment 7186 [details] management-console-module-appcenter.log
Bug #39412 could be the reason.
I tested it again and it WORKEDFORME.
I've tested with the latest version and I got the message that no more data could be received. In the log file I saw the following messages: 02.10.15 00:33:25.653 MODULE ( PROCESS ) : Calling app join scripts... 02.10.15 00:33:26.531 MODULE ( PROCESS ) : Search LDAP binddn done 02.10.15 00:33:26.594 MODULE ( PROCESS ) : Running 03univention-directory-listener.inst skipped (already executed) 02.10.15 00:33:26.654 MODULE ( PROCESS ) : Running 04univention-ldap-client.inst skipped (already executed) 02.10.15 00:33:26.714 MODULE ( PROCESS ) : Running 11univention-pam.inst skipped (already executed) 02.10.15 00:33:26.774 MODULE ( PROCESS ) : Running 18python-univention-directory-manager.inst skipped (already executed) 02.10.15 00:33:26.834 MODULE ( PROCESS ) : Running 20univention-directory-policy.inst skipped (already executed) 02.10.15 00:33:26.894 MODULE ( PROCESS ) : Running 20univention-join.inst skipped (already executed) 02.10.15 00:33:26.975 MODULE ( PROCESS ) : % Total % Received % Xferd Average Speed Time Time Time Current 02.10.15 00:33:26.978 MODULE ( PROCESS ) : Dload Upload Total Spent Left Speed 02.10.15 00:33:27.169 MODULE ( PROCESS ) : ^M 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0^M 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0^M100 3033 100 3033 0 0 11767 0 --:--:-- --:--:-- --:--:-- 15634 02.10.15 00:33:27.201 MODULE ( PROCESS ) : % Total % Received % Xferd Average Speed Time Time Time Current 02.10.15 00:33:27.203 MODULE ( PROCESS ) : Dload Upload Total Spent Left Speed 02.10.15 00:33:27.391 MODULE ( PROCESS ) : ^M 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0^M100 2193 100 2193 0 0 10307 0 --:--:-- --:--:-- --:--:-- 11542 02.10.15 00:33:27.673 MODULE ( PROCESS ) : Restarting PHP5 FastCGI Process Manager: php5-fpm. 02.10.15 00:33:28.734 MODULE ( PROCESS ) : Stopping Zarafa presence: zarafa-presence. 02.10.15 00:33:28.946 MODULE ( PROCESS ) : Starting Zarafa presence: zarafa-presence. 02.10.15 00:33:29.002 MODULE ( PROCESS ) : Restarting Zarafa Webmeetings: zarafa-webmeetings. 02.10.15 00:33:30.095 MODULE ( PROCESS ) : Restarting nginx: nginx. 02.10.15 00:33:33.252 MODULE ( PROCESS ) : Executing interface restore_data_after_setup for zarafa-webmeetings 02.10.15 00:33:34.022 MODULE ( PROCESS ) : Error sending app infos to the App Center server 02.10.15 00:33:34.191 MODULE ( WARN ) : Exception during install zarafa-webmeetings: must be string, not exceptions.TypeError 02.10.15 00:33:34.329 MODULE ( PROCESS ) : Execution of command 'appcenter/progress' has failed: Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/management/console/base.py", line 301, in execute function(self, request) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/appcenter/__init__.py", line 103, in _decorated return func(self, request, *a, **kwargs) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 320, in _response self.finished(request.id, result[0]) File "/usr/lib/pymodules/python2.7/univention/management/console/base.py", line 419, in finished self.result(res) File "/usr/lib/pymodules/python2.7/univention/management/console/base.py", line 423, in result self.signal_emit('success', response) File "/usr/lib/pymodules/python2.7/notifier/signals.py", line 75, in signal_emit self.__signals[ signal ].emit( *args ) File "/usr/lib/pymodules/python2.7/notifier/signals.py", line 41, in emit cb( *args ) File "/usr/lib/pymodules/python2.7/notifier/__init__.py", line 104, in __call__ return self._function( *tmp, **self._kwargs ) File "/usr/lib/pymodules/python2.7/univention/management/console/protocol/modserver.py", line 118, in _reply self.response(msg) File "/usr/lib/pymodules/python2.7/univention/management/console/protocol/modserver.py", line 347, in response self.__queue += str(msg) File "/usr/lib/pymodules/python2.7/univention/management/console/protocol/message.py", line 337, in __str__ return Message._formattedMessage(self._id, self._type, self.mimetype, self.command, body, self.arguments) File "/usr/lib/pymodules/python2.7/univention/management/console/protocol/message.py", line 130, in _formattedMessage data = json.dumps(body) File "/usr/lib/python2.7/dist-packages/simplejson/__init__.py", line 321, in dumps return _default_encoder.encode(obj) File "/usr/lib/python2.7/dist-packages/simplejson/encoder.py", line 237, in encode chunks = self.iterencode(o, _one_shot=True) File "/usr/lib/python2.7/dist-packages/simplejson/encoder.py", line 311, in iterencode return _iterencode(o, 0) File "/usr/lib/python2.7/dist-packages/simplejson/encoder.py", line 213, in default raise TypeError(repr(o) + " is not JSON serializable") TypeError: HTTPError() is not JSON serializable
Created attachment 7199 [details] management-console-module-appcenter.log
The owncloud8 docker app installation is also currently not possible: 13.08.15 09:53:09.820 MODULE ( PROCESS ) : Marking owncloud8-docker=8.0.6 as installed 13.08.15 09:53:10.521 MODULE ( PROCESS ) : Creating /etc/init.d/docker-app-owncloud8-docker 13.08.15 09:53:10.530 MODULE ( PROCESS ) : Setting ports for apache proxy 13.08.15 09:53:10.569 MODULE ( PROCESS ) : Adding localhost to LDAP object 13.08.15 09:53:10.572 MODULE ( PROCESS ) : Setting overview variables 13.08.15 09:53:11.616 MODULE ( PROCESS ) : Reloading web server config: apache2. 13.08.15 09:53:12.141 MODULE ( PROCESS ) : Registering the container host owncloud8-docker-1439452392141519 for owncloud8-docker 13.08.15 09:53:12.435 MODULE ( PROCESS ) : Downloading app image docker.software-univention.de/ucs-appbox-amd64:4.1-0. This may take several minutes 13.08.15 09:53:12.571 MODULE ( PROCESS ) : Could not login to docker.software-univention.de. You may not be able to pull the image from the repository! 13.08.15 09:53:12.699 MODULE ( PROCESS ) : Initializing app image 13.08.15 09:53:12.868 MODULE ( PROCESS ) : Going to remove ownCloud 8 (Docker) (8.0.6)
(In reply to Stefan Gohmann from comment #6) > I've tested with the latest version and I got the message that no more data > could be received. Fixed (In reply to Stefan Gohmann from comment #8) > The owncloud8 docker app installation is also currently not possible: Can reproduce: This is when docker is not running / is not configured correctly. This is currently the case after installation of univention-docker. One needs to reboot the machine. univention-docker wants to restart docker to give it another storage driver but this only kills docker but does not start it again. This is an issue of the docker init script. At least this is the only way to get this output. FYI: More info (in general) may be in /var/log/univention/appcenter.log. umc-appcenter.log has some umc-command logs but is (by default) configured to not show all appcenter.log lines.
I'm now able to install the App. The App doesn't really work, but I guess that's not the scope of this bug.
UCS 4.1 has been released: https://docs.software-univention.de/release-notes-4.1-0-en.html https://docs.software-univention.de/release-notes-4.1-0-de.html If this error occurs again, please use "Clone This Bug".