Failed Upgrade from Owncloud 9 to to 9.1

ucs-4-1
owncloud

#1

Hello,

unluckily the installation of Owncloud 9.1 failed:

# univention-app install owncloud82=9.1.4-20170427
Going to install ownCloud 9.1 (9.1.4-20170427)
Password for Administrator: 
Stopping Univention iptables configuration::.
Starting Univention iptables configuration::.
 ownCloud 9.1.4
  
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU Affero General Public License as
 published by the Free Software Foundation, either version 3 of the
 License, or (at your option) any later version.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU Affero General Public License for more details.

 You should have received a copy of the GNU Affero General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
Do you agree [y/N]? y
Creating data directories for owncloud82...
Copying /var/cache/univention-appcenter/owncloud82_20170427133539.schema
Registering UCR for owncloud82
Marking owncloud82=9.1.4-20170427 as installed
File: /etc/univention/service.info/services/univention-appcenter.cfg
Setting ports for apache proxy
Multifile: /etc/apache2/sites-available/default-ssl
Multifile: /etc/apache2/sites-available/default
Creating /etc/init.d/docker-app-owncloud82
 Adding system startup for /etc/init.d/docker-app-owncloud82 ...
   /etc/rc0.d/K14docker-app-owncloud82 -> ../init.d/docker-app-owncloud82
   /etc/rc1.d/K14docker-app-owncloud82 -> ../init.d/docker-app-owncloud82
   /etc/rc6.d/K14docker-app-owncloud82 -> ../init.d/docker-app-owncloud82
   /etc/rc2.d/S41docker-app-owncloud82 -> ../init.d/docker-app-owncloud82
   /etc/rc3.d/S41docker-app-owncloud82 -> ../init.d/docker-app-owncloud82
   /etc/rc4.d/S41docker-app-owncloud82 -> ../init.d/docker-app-owncloud82
   /etc/rc5.d/S41docker-app-owncloud82 -> ../init.d/docker-app-owncloud82
Adding localhost to LDAP object
Setting overview variables
File: /var/www/ucs-overview/entries.json
Reloading web server config: apache2.
Installing/upgrading univention-mysql
0% [Verarbeiten]
0% [Verbindung mit appcenter.software-univention.de]
0% [Verbindung mit appcenter.software-univention.de (176.9.114.147)]
0% [Verbindung mit download.opensuse.org]
0% [Verbindung mit download.opensuse.org (195.135.221.134)]
0% [Verbindung mit download.opensuse.org (195.135.221.134)]
0% [Warten auf Kopfzeilen] [Warten auf Kopfzeilen]
OK   http://appcenter.software-univention.de ucc_20160811170611/all/ Release.gpg
3% [Warten auf Kopfzeilen] [Warten auf Kopfzeilen]
OK   http://download.opensuse.org ./ Release.gpg
6% [Warten auf Kopfzeilen] [Warten auf Kopfzeilen]
OK   http://appcenter.software-univention.de ucc_20160811170611/amd64/ Release.gpg
8% [Warten auf Kopfzeilen]
8% [Warten auf Kopfzeilen]
OK   http://download.opensuse.org ./ Release.gpg
11% [Warten auf Kopfzeilen]
11% [Warten auf Kopfzeilen]
11% [Warten auf Kopfzeilen] [Warten auf Kopfzeilen]
OK   http://appcenter.software-univention.de ucc_20160811170611/all/ Release
11% [Warten auf Kopfzeilen]
OK   http://download.opensuse.org ./ Release
11% [Verarbeiten]
11% [Verarbeiten]
11%
13% [Warten auf Kopfzeilen] [Warten auf Kopfzeilen]
13% [Warten auf Kopfzeilen] [Warten auf Kopfzeilen]
13% [http://download.opensuse.org ./ Release gpgv 1.022 B]
OK   http://download.opensuse.org ./ Release
OK   http://appcenter.software-univention.de ucc_20160811170611/amd64/ Release
13% [http://download.opensuse.org ./ Release gpgv 1.022 B]
13% [http://download.opensuse.org ./ Release gpgv 1.022 B]
13% [http://download.opensuse.org ./ Release gpgv 1.022 B]
16% [Warten auf Kopfzeilen]
16% [Warten auf Kopfzeilen]
16% [http://download.opensuse.org ./ Release gpgv 1.048 B]
18% [Warten auf Kopfzeilen] [Warten auf Kopfzeilen]
18% [Warten auf Kopfzeilen] [Warten auf Kopfzeilen]
18%
OK   http://appcenter.software-univention.de ucc_20160811170611/all/ Packages
18%
OK   http://download.opensuse.org ./ Packages
20% [Verarbeiten]
20% [Verarbeiten]
20% [Warten auf Kopfzeilen] [Warten auf Kopfzeilen]
20%
99% [Warten auf Kopfzeilen] [Warten auf Kopfzeilen]
99% [Warten auf Kopfzeilen] [Warten auf Kopfzeilen]
99% [http://download.opensuse.org ./ Packages 19,7 kB] [Warten auf Kopfzeilen]
99% [Warten auf Kopfzeilen] [Warten auf Kopfzeilen]
OK   http://download.opensuse.org ./ Packages
99% [Warten auf Kopfzeilen]
OK   http://appcenter.software-univention.de ucc_20160811170611/amd64/ Packages
99% [Verarbeiten]
99% [http://download.opensuse.org ./ Packages 21,3 kB]
99% [Verarbeiten]
99% [Verarbeiten]
99%
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-0/all/ Release.gpg
99% [Verarbeiten]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-0/amd64/ Release.gpg
99% [Verarbeiten]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-1/all/ Release.gpg
99% [Verarbeiten]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-1/amd64/ Release.gpg
99% [Verarbeiten]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-2/all/ Release.gpg
99% [Verarbeiten]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-2/amd64/ Release.gpg
99% [Verarbeiten]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-3/all/ Release.gpg
99% [Verarbeiten]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-3/amd64/ Release.gpg
99% [Verarbeiten]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-4/all/ Release.gpg
99% [Verarbeiten]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-4/amd64/ Release.gpg
99% [Verarbeiten]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-5/all/ Release.gpg
99% [Verarbeiten]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-5/amd64/ Release.gpg
99% [Verarbeiten]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-0/all/ Release.gpg
99% [Verarbeiten]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-0/amd64/ Release.gpg
99% [Verarbeiten]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-1/all/ Release.gpg
99% [Verarbeiten]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-1/amd64/ Release.gpg
99% [Verarbeiten]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-2/all/ Release.gpg
99% [Verarbeiten]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-2/amd64/ Release.gpg
99% [Verarbeiten]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-3/all/ Release.gpg
99% [Verarbeiten]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-3/amd64/ Release.gpg
99% [Verarbeiten]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-4/all/ Release.gpg
99% [Verarbeiten]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-4/amd64/ Release.gpg
99% [Verarbeiten]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-4-errata/all/ Release.gpg
99% [Verarbeiten]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-4-errata/amd64/ Release.gpg
99% [Verarbeiten]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-4-errata/all/ Release.gpg
99% [Verarbeiten]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-4-errata/amd64/ Release.gpg
99% [Verarbeiten]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-0/all/ Release
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.0-0/all/ Release gpgv 596 B]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-0/amd64/ Release
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.0-0/amd64/ Release gpgv 598 B]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-1/all/ Release
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.0-1/all/ Release gpgv 596 B]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-1/amd64/ Release
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.0-1/amd64/ Release gpgv 598 B]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-2/all/ Release
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.0-2/all/ Release gpgv 596 B]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-2/amd64/ Release
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.0-2/amd64/ Release gpgv 598 B]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-3/all/ Release
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.0-3/all/ Release gpgv 596 B]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-3/amd64/ Release
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.0-3/amd64/ Release gpgv 598 B]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-4/all/ Release
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.0-4/all/ Release gpgv 596 B]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-4/amd64/ Release
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.0-4/amd64/ Release gpgv 598 B]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-5/all/ Release
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.0-5/all/ Release gpgv 596 B]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-5/amd64/ Release
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.0-5/amd64/ Release gpgv 598 B]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-0/all/ Release
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.1-0/all/ Release gpgv 596 B]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-0/amd64/ Release
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.1-0/amd64/ Release gpgv 598 B]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-1/all/ Release
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.1-1/all/ Release gpgv 596 B]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-1/amd64/ Release
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.1-1/amd64/ Release gpgv 598 B]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-2/all/ Release
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.1-2/all/ Release gpgv 596 B]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-2/amd64/ Release
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.1-2/amd64/ Release gpgv 598 B]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-3/all/ Release
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.1-3/all/ Release gpgv 596 B]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-3/amd64/ Release
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.1-3/amd64/ Release gpgv 598 B]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-4/all/ Release
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.1-4/all/ Release gpgv 596 B]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-4/amd64/ Release
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.1-4/amd64/ Release gpgv 598 B]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-4-errata/all/ Release
99% [Verarbeiten]
99% [Verarbeiten]
99%
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-4-errata/amd64/ Release
99% [Verarbeiten]
99% [Verarbeiten]
99%
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-4-errata/all/ Release
99% [Verarbeiten]
99% [Verarbeiten]
99%
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-4-errata/amd64/ Release
99% [Verarbeiten]
99% [Verarbeiten]
99%
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-0/all/ Packages
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.0-0/all/ Packages 1.195 kB]
OK   https://updates.software-univention.de 4.0-0/amd64/ Packages
99% [https://updates.software-univention.de 4.0-0/all/ Packages 1.195 kB]
99% [https://updates.software-univention.de 4.0-0/all/ Packages 1.195 kB]
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.0-0/amd64/ Packages 2.115 kB]
OK   https://updates.software-univention.de 4.0-1/all/ Packages
99% [https://updates.software-univention.de 4.0-0/amd64/ Packages 2.115 kB]
99% [https://updates.software-univention.de 4.0-0/amd64/ Packages 2.115 kB]
OK   https://updates.software-univention.de 4.0-1/amd64/ Packages
99% [https://updates.software-univention.de 4.0-0/amd64/ Packages 2.115 kB]
99% [https://updates.software-univention.de 4.0-0/amd64/ Packages 2.115 kB]
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.0-1/all/ Packages 97,6 kB]
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.0-1/amd64/ Packages 231 kB]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-2/all/ Packages
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.0-2/all/ Packages 94,7 kB]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-2/amd64/ Packages
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.0-2/amd64/ Packages 133 kB]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-3/all/ Packages
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.0-3/all/ Packages 105 kB]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-3/amd64/ Packages
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.0-3/amd64/ Packages 190 kB]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-4/all/ Packages
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.0-4/all/ Packages 369 kB]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-4/amd64/ Packages
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.0-4/amd64/ Packages 317 kB]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-5/all/ Packages
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.0-5/all/ Packages 53,8 kB]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-5/amd64/ Packages
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.0-5/amd64/ Packages 198 kB]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-0/all/ Packages
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.1-0/all/ Packages 231 kB]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-0/amd64/ Packages
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.1-0/amd64/ Packages 409 kB]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-1/all/ Packages
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.1-1/all/ Packages 147 kB]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-1/amd64/ Packages
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.1-1/amd64/ Packages 246 kB]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-2/all/ Packages
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.1-2/all/ Packages 88,4 kB]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-2/amd64/ Packages
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.1-2/amd64/ Packages 146 kB]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-3/all/ Packages
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.1-3/all/ Packages 87,3 kB]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-3/amd64/ Packages
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.1-3/amd64/ Packages 100 kB]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-4/all/ Packages
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.1-4/all/ Packages 133 kB]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-4/amd64/ Packages
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.1-4/amd64/ Packages 289 kB]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-4-errata/all/ Packages
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.0-4-errata/all/ Packages 113 kB]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.0-4-errata/amd64/ Packages
99% [Verarbeiten]
99% [Verarbeiten]
99%
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-4-errata/all/ Packages
99% [Verarbeiten]
99% [Verarbeiten]
99% [https://updates.software-univention.de 4.1-4-errata/all/ Packages 347 kB]
99% [Verarbeiten]
OK   https://updates.software-univention.de 4.1-4-errata/amd64/ Packages
99% [Verarbeiten]
99% [Verarbeiten]
99%
100% [Verarbeiten]
Es wurden 0 B in 0 s geholt (0 B/s)
Es wurden 0 B in 0 s geholt (0 B/s)
Ausführen von dpkg
Vormals nicht ausgewähltes Paket univention-mysql wird gewählt.
(Lese Datenbank ... 112440 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacken von univention-mysql (aus .../univention-mysql_3.0.0-4.19.201609071623_all.deb) ...
univention-mysql wird installiert.
univention-mysql wird vorbereitet.
univention-mysql wird entpackt.
Konfiguration von univention-mysql wird vorbereitet.
Trigger für univention-config werden verarbeitet ...
Aufruf des Nach-Installations-Triggers univention-config
dpkg-query: Kein Paket gefunden, das auf ldapacl_66univention-appcenter_app.acl passt
Ausführen von dpkg
univention-mysql (3.0.0-4.19.201609071623) wird eingerichtet ...
univention-mysql wird konfiguriert.
univention-mysql wird konfiguriert.
File: /etc/mysql/conf.d/50ucr.cnf
Not updating mysql/config/mysqld/bind_address
Not updating mysql/config/mysqld/max_connections
Not updating mysql/config/mysqld/max_allowed_packet
Not updating mysql/config/mysqld/query_cache_size
Not updating mysql/config/mysqld/query_cache_limit
Not updating mysql/config/mysqld/innodb_buffer_pool_size
[ ok ] Stopping MySQL database server: mysqld.
[ ok ] Starting MySQL database server: mysqld ..
[info] Checking for tables which need an upgrade, are corrupt or were
not closed cleanly..
univention-mysql installiert
Reading package lists... Done
Building dependency tree... 50%
Reading state information... Done
Reading package lists... Done
Building dependency tree... 50%
Reading state information... Done
Starting MySQL database server: mysqld already running.
Creating database for owncloud82=9.1.4-20170427
/usr/lib/pymodules/python2.7/univention/appcenter/database.py:268: Warning: Can't create database 'owncloud'; database exists
  cursor.execute(query)
Password for owncloud82 database in /etc/owncloudDbUser.secret
Registering schema /usr/share/univention-appcenter/apps/owncloud82/owncloud82.schema
Object created: cn=owncloud82,cn=ldapschema,cn=univention,dc=home,dc=dg

Object modified: cn=owncloud82,cn=ldapschema,cn=univention,dc=home,dc=dg

Waiting for activation of the extension object owncloud82:....................................................ERROR
ERROR: Master did not mark the extension object active within 180 seconds.
Registering schema file /usr/share/univention-appcenter/apps/owncloud82/owncloud82.schema failed
Aborting...
Going to remove ownCloud 9.1 (9.1.4-20170427)
No hostdn for owncloud82 found. Nothing to remove
 Removing any system startup links for /etc/init.d/docker-app-owncloud82 ...
   /etc/rc0.d/K14docker-app-owncloud82
   /etc/rc1.d/K14docker-app-owncloud82
   /etc/rc2.d/S41docker-app-owncloud82
   /etc/rc3.d/S41docker-app-owncloud82
   /etc/rc4.d/S41docker-app-owncloud82
   /etc/rc5.d/S41docker-app-owncloud82
   /etc/rc6.d/K14docker-app-owncloud82
Removing localhost from LDAP object
File: /var/www/ucs-overview/entries.json
File: /etc/univention/service.info/services/univention-appcenter.cfg
Multifile: /etc/apache2/sites-available/default-ssl
Multifile: /etc/apache2/sites-available/default
Reloading web server config: apache2.
Installing join script /var/cache/univention-appcenter/owncloud82_20170427133539.uinst
Search LDAP binddn  done
Running 01univention-ldap-server-init.inst skipped (already executed)
Running 03univention-directory-listener.inst skipped (already executed)
Running 04univention-ldap-client.inst skipped (already executed)
Running 05univention-bind.inst skipped (already executed)
Running 08univention-apache.inst skipped (already executed)
Running 10univention-ldap-server.inst skipped (already executed)
Running 11univention-heimdal-init.inst skipped (already executed)
Running 11univention-pam.inst skipped (already executed)
Running 15univention-heimdal-kdc.inst skipped (already executed)
Running 18python-univention-directory-manager.inst skipped (already executed)
Running 20univention-directory-policy.inst skipped (already executed)
Running 20univention-join.inst skipped (already executed)
Running 25univention-dhcp.inst skipped (already executed)
Running 26univention-nagios-common.inst skipped (already executed)
Running 30univention-appcenter.inst skipped (already executed)
Running 30univention-corporate-client-schema.inst skipped (already executed)
Running 30univention-nagios-client.inst skipped (already executed)
Running 31univention-nagios-libvirtd-kvm.inst skipped (already executed)
Running 31univention-nagios-raid.inst skipped (already executed)
Running 31univention-nagios-s4-connector.inst skipped (already executed)
Running 31univention-nagios-samba.inst skipped (already executed)
Running 31univention-nagios-smart.inst skipped (already executed)
Running 31univention-nagios-uvmmd.inst skipped (already executed)
Running 34univention-management-console-server.inst skipped (already executed)
Running 35ucc-umc-images.inst skipped (already executed)
Running 35ucc-umc-setup.inst skipped (already executed)
Running 35univention-appcenter-docker.inst skipped (already executed)
Running 35univention-management-console-module-appcenter.inst skipped (already executed)
Running 35univention-management-console-module-diagnostic.inst skipped (already executed)
Running 35univention-management-console-module-join.inst skipped (already executed)
Running 35univention-management-console-module-lib.inst skipped (already executed)
Running 35univention-management-console-module-mrtg.inst skipped (already executed)
Running 35univention-management-console-module-passwordchange.inst skipped (already executed)
Running 35univention-management-console-module-printers.inst skipped (already executed)
Running 35univention-management-console-module-quota.inst skipped (already executed)
Running 35univention-management-console-module-reboot.inst skipped (already executed)
Running 35univention-management-console-module-services.inst skipped (already executed)
Running 35univention-management-console-module-setup.inst skipped (already executed)
Running 35univention-management-console-module-sysinfo.inst skipped (already executed)
Running 35univention-management-console-module-top.inst skipped (already executed)
Running 35univention-management-console-module-ucr.inst skipped (already executed)
Running 35univention-management-console-module-updater.inst skipped (already executed)
Running 35univention-nagios-cups.inst skipped (already executed)
Running 35univention-nagios-opsi.inst skipped (already executed)
Running 36univention-management-console-module-apps.inst skipped (already executed)
Running 40univention-virtual-machine-manager-schema.inst skipped (already executed)
Running 43univention-virtual-machine-manager-node-common.inst skipped (already executed)
Running 44univention-virtual-machine-manager-daemon.inst skipped (already executed)
Running 44univention-virtual-machine-manager-node-kvm.inst skipped (already executed)
Running 45univention-management-console-module-uvmm.inst skipped (already executed)
Running 79univention-printserver-pdf.inst skipped (already executed)
Running 79univention-printserver.inst skipped (already executed)
Running 81univention-nfs-server.inst skipped (already executed)
Running 90univention-bind-post.inst skipped (already executed)
Running 91ucc-pxe-boot.inst skipped (already executed)
Running 92univention-management-console-web-server.inst skipped (already executed)
Running 95ucc-3.0-desktop-image.img.inst skipped (already executed)
Running 96univention-samba4.inst skipped (already executed)
Running 97univention-s4-connector.inst skipped (already executed)
Running 98univention-pkgdb-tools.inst skipped (already executed)
Running 98univention-samba4-dns.inst skipped (already executed)
Running 99opsi4ucs.inst skipped (already executed)
Running 51owncloud82-uninstall.uinst done
Running 81owncloud-uninstall.uinst done
   Bitte beachten Sie, dass durch die Deinstallation dieser App nicht alle
   Daten automatisch gelöscht werden. Vor einer wiederholten Installation der
   ownCloud-App sollte das Paket "owncloud" mit "--purge" endgültig entfernt
   und das Datenverzeichnis /var/lib/owncloud rekursiv gelöscht oder
   verschoben werden.
Press [ENTER] to continue

The main error is this:

Master did not mark the extension object active within 180 seconds

What can I do now?

In the uninstall process I had this traceback:

[....] Reloading web server config: apache2.[  ok  
Traceback (most recent call last):
  File "/usr/sbin/univention-pkgdb-scan", line 37, in <module>
    univention.pkgdb.main()
  File "/usr/lib/pymodules/python2.7/univention/pkgdb.py", line 577, in main
    return action_scan(connection, cursor, config_registry)
  File "/usr/lib/pymodules/python2.7/univention/pkgdb.py", line 482, in action_scan
    scan_and_store_packages(cursor, sysname, fake_null)
  File "/usr/lib/pymodules/python2.7/univention/pkgdb.py", line 417, in scan_and_store_packages
    cursor.execute(delete_packages, {'sysname': sysname, })
  File "/usr/lib/python2.7/dist-packages/pgdb.py", line 259, in execute
    self.executemany(operation, (params,))
  File "/usr/lib/python2.7/dist-packages/pgdb.py", line 291, in executemany
    raise OperationalError("internal error in '%s': %s" % (sql, err))
pg.OperationalError: internal error in '
        DELETE FROM packages_on_systems
               WHERE sysname = 'hestia'
        ': SSL error: tlsv1 alert protocol version

close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr

Update UCS with Owncloud 9
Owncloud Upgrade fehler
Owncloud 9.1 --> 10:Waiting for activation of the extension object owncloud:
#2

The listener replication is working. The schema information in the LDAP:

dn: cn=owncloud82,cn=ldapschema,cn=univention,dc=top2,dc=top1
cn: owncloud82
objectClass: top
objectClass: univentionLDAPExtensionSchema
objectClass: univentionObjectMetadata
objectClass: univentionObject
univentionOwnedByPackageVersion: 9.1.4-20170427
univentionOwnedByPackage: appcenter-app-owncloud82
univentionObjectType: settings/ldapschema
univentionLDAPSchemaActive: FALSE
univentionLDAPSchemaFilename: owncloud82.schema
univentionLDAPSchemaData:: QlpoOTFBWSZTWeKT8o4AARNfgCQQRON/ID6nf2A+/96gMAGagCE
 qJPUxiRphA0ZAMmQaGgBgAAAABoNAGgGgCqJNJqPTRNNGjKNqDZTRptTxTJptFhC6GJEtryWJXRaR
 EeqiDzeWr5plLc8BpY6wsIw8mXMJ0GJhxHiP1D9ccUZ7v0XI+PvySyKeOallqHck0tdCaNHZ9u9Yp
 Q2IoS1Kls1SGxEpJbIqmF6JRCxJKUcxKG0sRRHOquODi3m5e729icTwQ6ipVwWN58oxpVflzqNZwZ
 W8vSSq8WYteLK7mRnXrC5a4MaMbKzJYOKjMl1MGVxUYNyjMucnbGzP6HsyHp58tzdHu5LytchbKrU
 wkqhZkV+n+k3nu6XrNVsrMbWdbnhY9rzDu5L7lI6eSGW5ayIbY0Pcy6V1GY0L0MzqpijPEzHaxM/q
 pphUxn6YnR0Lusl91cKuxeoaFy3CYwNHRRQaViDeJGLQ0vESRAueA/i7kinChIcUn5Rw
univentionAppIdentifier: owncloud82

Uninstalling Owncloud failed
#3

Btw. only on the master there is a schema included in the slapd configuration:

# grep owncloud /etc/ldap/slapd.conf
include         /var/lib/univention-ldap/local-schema/owncloud.schema

The content:

# cat /var/lib/univention-ldap/local-schema/owncloud.schema
attributetype ( 1.3.6.1.4.1.39430.10.1.1 NAME 'ownCloudEnabled'
        DESC 'wether user is allowed to use ownCloud'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE)

attributetype ( 1.3.6.1.4.1.39430.10.1.2 NAME 'ownCloudQuota'
        DESC 'how much disk space may the user occupy'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE)

objectclass     ( 1.3.6.1.4.1.39430.10.2.1 NAME 'ownCloudUser'
        DESC 'ownCloudUser'
        SUP top AUXILIARY
        MUST ( cn  )
        MAY ( ownCloudEnabled $ ownCloudQuota )
        )

objectclass     ( 1.3.6.1.4.1.39430.10.2.2 NAME 'ownCloudGroup'
        DESC 'ownCloudGroup'
        SUP top AUXILIARY
        MUST ( cn  )
        MAY ( ownCloudEnabled )
        )roo

EDIT: There is also an other LDAP entry:

dn: cn=owncloud,cn=ldapschema,cn=univention,dc=top2,dc=top1
univentionLDAPSchemaActive: TRUE
cn: owncloud
objectClass: top
objectClass: univentionObjectMetadata
objectClass: univentionLDAPExtensionSchema
objectClass: univentionObject
univentionObjectType: settings/ldapschema
univentionOwnedByPackage: owncloud
univentionOwnedByPackageVersion: 2016.8.2.6-enterprise-0
univentionLDAPSchemaFilename: owncloud.schema
univentionLDAPSchemaData:: QlpoOTFBWSZTWeKT8o4AARNfgCQQRON/ID6nf2A+/96gMAGagCE
 qJPUxiRphA0ZAMmQaGgBgAAAABoNAGgGgCqJNJqPTRNNGjKNqDZTRptTxTJptFhC6GJEtryWJXRaR
 EeqiDzeWr5plLc8BpY6wsIw8mXMJ0GJhxHiP1D9ccUZ7v0XI+PvySyKeOallqHck0tdCaNHZ9u9Yp
 Q2IoS1Kls1SGxEpJbIqmF6JRCxJKUcxKG0sRRHOquODi3m5e729icTwQ6ipVwWN58oxpVflzqNZwZ
 W8vSSq8WYteLK7mRnXrC5a4MaMbKzJYOKjMl1MGVxUYNyjMucnbGzP6HsyHp58tzdHu5LytchbKrU
 wkqhZkV+n+k3nu6XrNVsrMbWdbnhY9rzDu5L7lI6eSGW5ayIbY0Pcy6V1GY0L0MzqpijPEzHaxM/q
 pphUxn6YnR0Lusl91cKuxeoaFy3CYwNHRRQaViDeJGLQ0vESRAueA/i7kinChIcUn5Rw

Is this normal? Should I delete this?

EDIT2: Or maybe should I set this to inactive via UMC?


#4

The App update from version 8.2 to 9.0 should have renamed the owncloud.schema to owncloud82.schema. Maybe the appcenter logs show an error that can help identify the issue.

So there are currently two owncloud schema definitions in the UCS LDAP? I would then deactivate the cn=owncloud schema and activate the cn=owncloud82 schema object. One has to be active, otherwise the LDAP server restart would fail. Afterwards, retry the installation of the 9.1 app version.


#5

Thank you. The installation process finished now. But I can’t login. There seems to be still an error with the schema:

Das LDAP-Objekt konnte nicht gespeichert werden: LDAP-Fehler Undefined attribute type: ownCloudEnabled: attribute type undefined

I’ve disabled and then enabled it again. Now I can login.


#6

Without further debug analysis i can not say what went wrong, unfortunately. Great to hear that it worked in the end!


#7

For using Grauphel I would need php-oauth. Would it be possible to provide it for php7? I think I can’t use the package liboauth-php provided in unmaintained?


#8

Now I have this I think harmless warning in nagios:

 	
UNIVENTION_NSCD
	
	WARNING 	2017-06-15 15:49:00 	0d 2h 26m 54s 	2/2 	PROCS WARNING: 2 processes with command name 'nscd' 

#9

Unfortunately the package is not in Debian Jessie.I created a feature request to include it in the future.


#10

That is a known issue with apps that use the UCS appbox docker image


#11

Just my 2 cents:
UNIVENTION_NAGIOS uses check_univention_procs_name as plugin command. check_univention_procs_name itself just calls check_procs like this:

/usr/lib/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -C $ARG3$

The arguments are defined at the LDAP object of the check UNIVENTION_NAGIOS and can be altered via the UMC. The default is:

1:1!1:!nscd

This means check_procs is called like this (the exclamation mark “!” is the separator here):

/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C nscd

And this translates to:

  • Generate a WARNING state if not exactly 1 process of nscd is running (the range is min:max)
  • Generate a CRITICAL state if no process of nscd is running (the given 1: means < 1)

With this knowledge we can add a custom Nagios check in the UMC, copy all the settings from UNIVENTION_NSCD but adjust the min:max range as we need it and link this new check to the UCS host. With a UCS system with one Docker App running an additional nscd, we probably want something like this:

/usr/lib/nagios/plugins/check_procs -w 2:2 -c 2: -C nscd

For the UMC entry plugin command parameter, this would be:

2:2!2:!nscd

Best regards,
Michael


#12

Unluckily there are still some problems.

On Master DC:

# univention-ldapsearch uid=usernamei|grep -i owncloud
ownCloudEnabled: 1
ownCloudQuota: 200M
objectClass: ownCloudUser
# grep owncloud /etc/ldap/slapd.conf
include         /var/lib/univention-ldap/local-schema/owncloud82.schema

On Slave DC:

# univention-ldapsearch uid=stefan|grep -i owncloud
objectClass: ownCloudUser
root@opsi:~# univention-ldapsearch uid=username|grep -i owncloud
objectClass: ownCloudUser
# grep owncloud /etc/ldap/slapd.conf

How can I fix this?

EDIT: Strange. I’ve changed the quota for one user and now it’s consistent for all users. But what is with the schema file? Is it correct that it’s not in /etc/ldap/slapd.conf included? It seems to be because after the quota change the owncloud definitions are in /var/lib/univention-ldap/schema.conf.


#13

What’s the normal setting for Cron? The setting is to use the Cron daemon, but where is now cronjob defined. If I define it, will it be still there after upgrading?


#14

Ok I’ve tested it now. Unluckily it’s not working. The state is critical now.

State message:

PROCS CRITICAL: 1 process with command name 'nscd'

#15

I’ve adjusted it now to 1:2!1:!nscd. Now the state is ok.