Hi, when i try to install owncloud on UCS server the script fail every time … i run the command “univention-app install owncloud” on shell
Going to install ownCloud (10.3.2-1)
Password for Administrator: Going to remove ownCloud (10.3.2-1)
Password for Administrator: root@server:~# univention-app install owncloud
Going to install ownCloud (10.3.2-1)
Password for Administrator:
[01.PRE_INST] folder declaration
[01.PRE_INST] folder creation
[01.PRE_INST] enable logging
[01.PRE_INST] Test for broken ownCloud installation and fix it to enable updating
[01.PRE_INST] read environment variables
[01.PRE_INST] look for binddn and bindpwdfile
[01.PRE_INST] configure mariadb
Not updating mysql/config/mysqld/innodb_large_prefix
Not updating mysql/config/mysqld/innodb_file_format
Not updating mysql/config/mysqld/innodb_file_per_table
[01.PRE_INST] Check if owncloud 9 was installed previously
[01.PRE_INST] Base configuration for ownCloud
[01.PRE_INST] getting ldap password
Create owncloud/user/enabled
Create owncloud/group/enabled
Create owncloud/ldap/base
Create owncloud/ldap/loginFilter
Create owncloud/ldap/userFilter
Create owncloud/ldap/groupFilter
Create owncloud/ldap/internalNameAttribute
Create owncloud/ldap/userUuid
Create owncloud/ldap/groupUuid
Create owncloud/ldap/emailAttribute
Create owncloud/ldap/memberAssoc
Create owncloud/ldap/user/quotaAttribute
Create owncloud/ldap/base/users
Create owncloud/ldap/base/groups
Create owncloud/ldap/search/users
Create owncloud/ldap/search/groups
[01.PRE_INST] Check if this is a migration from 9.1
[01.PRE_INST] no previous installation found
[01.PRE_INST] Updating Icon Image for ownCloud docs
Create ucs/web/overview/entries/admin/owncloud-admindoc/icon
Module: create_portal_entries
Create ucs/web/overview/entries/admin/owncloud-userdoc/icon
Module: create_portal_entries
Cannot run command: 4.3/owncloud=10.3.2-1 is not running in a container
Cannot run command: 4.3/owncloud=10.3.2-1 is not running in a container
ownCloud 10.0
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 owncloud…
Copying /var/cache/univention-appcenter/appcenter.software-univention.de/4.3/owncloud_20200102091547.schema
Registering UCR for owncloud
Marking 4.3/owncloud=10.3.2-1 as installed
File: /etc/univention/service.info/services/univention-appcenter.cfg
Multifile: /etc/postgresql/9.6/main/pg_hba.conf
File: /usr/share/univention-portal/apps.json
Setting ports for apache proxy
Multifile: /etc/apache2/sites-available/000-default.conf
Multifile: /etc/apache2/sites-available/default-ssl.conf
File: /etc/apache2/sites-available/univention-letsencrypt.conf
Adding localhost to LDAP object
Setting overview variables
Module: create_portal_entries
Reloading apache2 configuration (via systemctl): apache2.service.
univention-mysql è già stato impostato come installato manualmente.
Creating database for 4.3/owncloud=10.3.2-1
Password for owncloud database in /etc/owncloud.secret
Registering schema /usr/share/univention-appcenter/apps/owncloud/owncloud.schema
INFO: No change of core data of object owncloud.
No modification: cn=owncloud,cn=ldapschema,cn=univention,dc=arc,dc=loc
WARNING: cannot append owncloud to appidentifier, value exists
No modification: cn=owncloud,cn=ldapschema,cn=univention,dc=arc,dc=loc
Waiting for activation of the extension object owncloud: OK
Registering the container host owncl-97494792 for owncloud
Verifying Docker registry manifest for app image docker.software-univention.de/owncloud-owncloud:10.3.2-1
Downloading app images
Running command: docker-compose -p owncloud pull
Some networks were defined but are not used by any service: appcenter_net
Pulling redis … done
Pulling owncloud … done
Initializing app image
Running command: docker-compose -p owncloud up -d --no-build --no-recreate
Some networks were defined but are not used by any service: appcenter_net
Creating owncloud_redis_1 … done
Creating owncloud_owncloud_1 … done
WARNING: Some networks were defined but are not used by any service: appcenter_net
Preconfiguring container 4473f408584405aab4235d4adaae32776ee54594fada86560ad537dd55ff8222
Some networks were defined but are not used by any service: appcenter_net
Starting redis …
Starting owncloud …
tarting owncloud … done
Running command: docker cp /etc/owncloud.secret 4473f408584405aab4235d4adaae32776ee54594fada86560ad537dd55ff8222:/etc/owncloud.secret
Configuring 4.3/owncloud=10.3.2-1
Module: autostart
Unsetting OWNCLOUD_MARKETPLACE_APIKEY
Setting OWNCLOUD_DOMAIN to ‘server.arc.loc’
Setting OWNCLOUD_SUB_URL to ‘/owncloud’
Setting OWNCLOUD_UPDATE_CHECKER to ‘false’
Setting OWNCLOUD_DEFAULT_LANGUAGE to ‘en’
Setting OWNCLOUD_LOST_PASSWORD_LINK to ‘true’
Unsetting OWNCLOUD_LICENSE_KEY
Setting OWNCLOUD_LOG_LEVEL to ‘3’
ucr cannot be found, falling back to changing the database file directly
Executing interface restore_data_before_setup for owncloud
No interface defined
Executing interface setup for owncloud
Copying App Center’s setup to container’s /usr/share/univention-docker-container-mode/setup_custom
[02.DOCKER_SETUP] Enable user_ldap app
…
Setup script failed!
Aborting…
Going to remove ownCloud (10.3.2-1)
[PRE_RM]
Configuring 4.3/owncloud=10.3.2-1
Executing interface configure for owncloud
Copying App Center’s configure to container’s /tmp/owncloud-configure
configuration script running…
Some networks were defined but are not used by any service: appcenter_net
Stopping owncloud_owncloud_1 …
Stopping owncloud_redis_1 …
topping owncloud_redis_1 … done
Some networks were defined but are not used by any service: appcenter_net
Some networks were defined but are not used by any service: appcenter_net
Some networks were defined but are not used by any service: appcenter_net
Removing owncloud_owncloud_1 …
Removing owncloud_redis_1 …
emoving owncloud_owncloud_1 … done
Removing localhost from LDAP object
File: /etc/univention/service.info/services/univention-appcenter.cfg
File: /usr/share/univention-portal/apps.json
Module: create_portal_entries
File: /etc/apache2/sites-available/univention-letsencrypt.conf
Multifile: /etc/apache2/sites-available/000-default.conf
Multifile: /etc/apache2/sites-available/default-ssl.conf
Multifile: /etc/postgresql/9.6/main/pg_hba.conf
Reloading apache2 configuration (via systemctl): apache2.service.
Installing join script /var/cache/univention-appcenter/appcenter.software-univention.de/4.3/owncloud_20200102091547.uinst
univention-run-join-scripts: runs all join scripts existing on local computer.
copyright © 2001-2020 Univention GmbH, Germany
the installation fail and owncloud is not installed … it seem that fail when try to Enable user_ldap app
so have tried to run a command “univention-app install owncloud --do-not-revert” the container of onwcloud in the docker is installed but obviously it keeps restarting … if i check the log with the command “docker logs owncloud_owncloud_1” i found this error :
SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘owncloud.oc_appconfig’ doesn’t exist in /var/www/owncloud/lib/composer/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:53
Stack trace:
it seem that there is not a problem with mariadb … so have tried to check the connection to the db “mysql -u root -p$(< /etc/mysql.secret) mysql” and it’s OK, tried to connect at owncloud db "use owncloud; " and it’s OK “show tables;” and there are not tables !
thanks
Server configuration
Operating system: Univention Corporate Server
Web server: Apache/2.4.25 (Univention)
Database: MariaDB
PHP version: PHP 7.0.33
ownCloud version: ownCloud (10.3.2-1)