OpenProject Installation AppCenter broken

openproject

#1

Hi,
at the moment the AppCenter Installation of OpenProject is not possible.

My UCS is this version:
version/erratalevel: 430
version/patchlevel: 3
version/releasename: Neustadt
version/version: 4.3

I tried it on another server and got the exact same error message:
init() takes exactly 2 arguments (3 given)

  5998 actions.install                  19-02-27 12:19:16 [   DEBUG]: Calling /etc/init.d/apache2 reload
  5998 actions.install                  19-02-27 12:19:16 [    INFO]: Reloading apache2 configuration (via systemctl): apache2.service.
  5998 actions.install                  19-02-27 12:19:16 [   DEBUG]: /etc/init.d/apache2 returned with 0
  5998 actions.install.progress         19-02-27 12:19:16 [   DEBUG]: 10
  5998 database                         19-02-27 12:19:16 [   DEBUG]: openproject=8.2.1 uses MySQL
  5998 packages                         19-02-27 12:19:16 [   DEBUG]: Calling /usr/bin/apt-mark manual univention-mysql
  5998 packages                         19-02-27 12:19:17 [    INFO]: univention-mysql was already set to manually installed.
  5998 actions.register                 19-02-27 12:19:17 [    INFO]: Registering schema /usr/share/univention-appcenter/apps/nextcloud/nextcloud.schema
  5998 database                         19-02-27 12:19:18 [   DEBUG]: Calling service mysql start
  5998 database                         19-02-27 12:19:18 [   DEBUG]: Password already exists
  5998 database                         19-02-27 12:19:18 [    INFO]: Checking if database openproject exists (mysql implementation)
  5998 database                         19-02-27 12:19:18 [   DEBUG]: Database and User already exist
  5998 database                         19-02-27 12:19:18 [    INFO]: openproject=8.2.1 already has its database
  5998 actions.install.progress         19-02-27 12:19:18 [   DEBUG]: 15
  5998 actions.install                  19-02-27 12:19:18 [    INFO]: Registering schema /usr/share/univention-appcenter/apps/openproject/openproject.schema
  5998 actions.register                 19-02-27 12:19:18 [    INFO]: Registering schema /usr/share/univention-appcenter/apps/openproject/openproject.schema
  5998 attributes                       19-02-27 12:19:43 [   DEBUG]: Adding openprojectActivated to list of attributes
  5998 attributes                       19-02-27 12:19:43 [   DEBUG]: Adding openproject-isadmin to list of attributes
  5998 attributes                       19-02-27 12:19:43 [   DEBUG]: Adding openproject-user to list of classes
  5998 actions.install                  19-02-27 12:19:43 [    INFO]: Registering attribute openprojectActivated
  5998 attributes                       19-02-27 12:19:43 [   DEBUG]: Creating DN: cn=openprojectActivated,cn=openproject,cn=custom attributes,cn=univention,dc=siedl,dc=net
  5998 actions.install                  19-02-27 12:19:43 [    INFO]: Registering attribute openproject-isadmin
  5998 attributes                       19-02-27 12:19:43 [   DEBUG]: Creating DN: cn=openproject-isadmin,cn=openproject,cn=custom attributes,cn=univention,dc=siedl,dc=net
  5998 actions.install.progress         19-02-27 12:19:43 [   DEBUG]: 25
  5998 actions.install                  19-02-27 12:19:43 [    INFO]: Registering the container host openp-63834258 for openproject
  5998 attributes                       19-02-27 12:19:43 [   DEBUG]: Adding openprojectActivated to list of attributes
  5998 attributes                       19-02-27 12:19:43 [   DEBUG]: Adding openproject-isadmin to list of attributes
  5998 attributes                       19-02-27 12:19:43 [   DEBUG]: Adding openproject-user to list of classes
  5998 actions.register                 19-02-27 12:19:43 [    INFO]: Registering attribute openprojectActivated
  5998 attributes                       19-02-27 12:19:43 [   DEBUG]: Creating DN: cn=openprojectActivated,cn=openproject,cn=custom attributes,cn=univention,dc=siedl,dc=net
  5998 attributes                       19-02-27 12:19:43 [   DEBUG]: ... already exists. Overwriting!
  5998 actions.register                 19-02-27 12:19:43 [    INFO]: Registering attribute openproject-isadmin
  5998 attributes                       19-02-27 12:19:43 [   DEBUG]: Creating DN: cn=openproject-isadmin,cn=openproject,cn=custom attributes,cn=univention,dc=siedl,dc=net
  5998 attributes                       19-02-27 12:19:43 [   DEBUG]: ... already exists. Overwriting!
  5998 actions.install.progress         19-02-27 12:19:43 [   DEBUG]: 30
  5998 actions.install                  19-02-27 12:19:43 [    INFO]: Verifying Docker registry manifest for app image docker.software-univention.de/ucs-appbox-amd64:4.3-3
  5998 attributes                       19-02-27 12:19:43 [   DEBUG]: Adding relutionActivated to list of attributes
  5998 attributes                       19-02-27 12:19:43 [   DEBUG]: Removing DN: cn=relutionActivated,cn=relution,cn=custom attributes,cn=univention,dc=siedl,dc=net
  5998 attributes                       19-02-27 12:19:43 [   DEBUG]: Adding rocketchatActivated to list of attributes
  5998 attributes                       19-02-27 12:19:43 [   DEBUG]: Removing DN: cn=rocketchatActivated,cn=rocketchat,cn=custom attributes,cn=univention,dc=siedl,dc=net
  5998 attributes                       19-02-27 12:19:43 [   DEBUG]: Adding webweaverActivated to list of attributes
  5998 attributes                       19-02-27 12:19:44 [   DEBUG]: Removing DN: cn=webweaverActivated,cn=webweaver,cn=custom attributes,cn=univention,dc=siedl,dc=net
  5998 actions.install                  19-02-27 12:19:44 [CRITICAL]: __init__() takes exactly 2 arguments (3 given)
  5998 packages                         19-02-27 12:19:44 [   DEBUG]: Releasing LOCK
  5998 actions.install                  19-02-27 12:19:44 [ WARNING]: Aborting...
  5998 actions.remove                   19-02-27 12:19:44 [   DEBUG]: Calling remove

#2

Hi,

is there a real traceback at the end of the remove procedure? Currently, we only have

__init__() takes exactly 2 arguments (3 given)

which seems to happen during or right after handling the App attributes. More context may be needed. I installed OpenProject just fine yesterday. What does this say:

ucr get repository/app_center/server
ucr get repository/online/server

Kind regards,
Dirk Wiesenthal


#3

Hi,
today I updated both servers to 4.3.3-448 and now the installation worked on both servers without any error message.

These are/were the settings you wanted to know:

root@demo ~ # ucr get repository/app_center/server
appcenter.software-univention.de
root@demo ~ # ucr get repository/online/server 
https://updates.software-univention.de/

What I find strange is that the link:
https://demo.siedl.net/openproject

doesn’t work, it you don’t add the last slash.

It can easily be fixed in the apache config, but why is that the default setting?
Sorry if that is obvious - I’m not an apache specialist.

Cheers,
Roland.