Update from 10.0.1 to 10.0.7


#1

Steps to reproduce

  1. Owncloud says it has update
  2. Click on it to get update page open
  3. Tried to upgrade manual, but cant find var\www\owncloud folder

Expected behaviour

Tried to upgrade manual, but cant find var\www\owncloud folder

Actual behaviour

Tried to upgrade manual, but cant find var\www\owncloud folder

Server configuration

Installed owncloud from Appliance version. (VMvare ESX)

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results into https://gist.github.com/ and puth the link here.

No errors have been found.

The content of config/config.php:
Cant find config/config.php

List of activated apps:
None.

Are you using external storage, if yes which one: local/smb/sftp/...
No
Are you using encryption: yes/no
No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
No

LDAP configuration (delete this part if not used)

With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your ownCloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';


Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.

Client configuration

Browser:
Chrome
Operating system:
Windows 10

Logs

Web server error log

Insert your webserver log here

ownCloud log (data/owncloud.log)

Insert your ownCloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log 
c) ...

#2

The update of the Appliance should go exclusively through the Univention Appcenter.


The ownCloud Appliance for Virtual Box is not working
#3

Tried to update via command line and got this error:
univention-app upgrade owncloud
Going to upgrade ownCloud (10.0.3-20170918)
{'info': 'error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed (unable to get local issuer certificate)', 'desc': 'Connect error'}
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/__init__.py", line 245, in call_with_namespace
result = self.main(namespace)
File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/upgrade.py", line 75, in main
return self.do_it(args)
File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/install_base.py", line 115, in do_it
errors, warnings = app.check(action)
File "/usr/lib/pymodules/python2.7/univention/appcenter/app.py", line 1520, in check
result = requirement.test(self, function, package_manager)
File "/usr/lib/pymodules/python2.7/univention/appcenter/app.py", line 92, in test
return method(**kwargs)
File "/usr/lib/pymodules/python2.7/univention/appcenter/app.py", line 1390, in must_have_no_unmet_dependencies
apps_info = domain.to_dict(apps)
File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/domain.py", line 97, in to_dict
lo, pos = self.getldap_connection(args=None, allow_machine_connection=True)
File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/credentials.py", line 168, in getldap_connection
return self.getadmin_connection()
File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/credentials.py", line 156, in getadmin_connection
return get_admin_connection()
File "/usr/lib/pymodules/python2.7/univention/appcenter/udm.py", line 142, in get_admin_connection
return getAdminConnection()
File "/usr/lib/pymodules/python2.7/univention/admin/uldap.py", line 137, in getAdminConnection
lo = univention.uldap.getAdminConnection(start_tls, decode_ignorelist=decode_ignorelist)
File "/usr/lib/pymodules/python2.7/univention/uldap.py", line 60, in getAdminConnection
return access(host=ucr['ldap/master'], port=port, base=ucr['ldap/base'], binddn='cn=admin,' + ucr['ldap/base'], bindpw=bindpw, start_tls=start_tls, decode_ignorelist=decode_ignorelist, reconnect=reconnect)
File "/usr/lib/pymodules/python2.7/univention/uldap.py", line 152, in init
self._open(cacertfile)
File "/usr/lib/pymodules/python2.7/univention/uldap.py", line 202, in __open
self.lo.start_tls_s()
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 884, in start_tls_s
res = self.applymethod_s(SimpleLDAPObject.start_tls_s,*args,**kwargs)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 860, in applymethod_s
return func(self,*args,**kwargs)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 571, in start_tls_s
return self.ldapcall(self.l.starttls_s)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 106, in ldapcall
result = func(*args,**kwargs)
CONNECT_ERROR: {'info': 'error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed (unable to get local issuer certificate)', 'desc': 'Connect error'}
Traceback (most recent call last):
File "/usr/bin/univention-app", line 90, in
main()
File "/usr/bin/univention-app", line 77, in main
ret = args.func(args)
File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/__init__.py", line 245, in call_with_namespace
result = self.main(namespace)
File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/upgrade.py", line 75, in main
return self.do_it(args)
File y", line 115, in do_it
errors, warnings = app.check(action)
File "/usr/lib/pymodules/python2.7/univention/appcenter/app.py", line 1520, in check
result = requirement.test(self, function, package_manager)
File "/usr/lib/pymodules/python2.7/univention/appcenter/app.py", line 92, in test
return method(**kwargs)
File "/usr/lib/pymodules/python2.7/univention/appcenter/app.py", line 1390, in must_have_no_unmet_dependencies
apps_info = domain.to_dict(apps)
File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/domain.py", line 97, in to_dict
lo, pos = self.getldap_connection(args=None, allow_machine_connection=True)
File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/credentials.py", line 168, in getldap_connection
return self.getadmin_connection()
File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/credentials.py", line 156, in getadmin_connection
return get_admin_connection()
File "/usr/lib/pymodules/python2.7/univention/appcenter/udm.py", line 142, in get_admin_connection
return getAdminConnection()
File "/usr/lib/pymodules/python2.7/univention/admin/uldap.py", line 137, in getAdminConnection
lo = univention.uldap.getAdminConnection(start_tls, decode_ignorelist=decode_ignorelist)
File "/usr/lib/pymodules/python2.7/univention/uldap.py", line 60, in getAdminConnection
return access(host=ucr['ldap/master'], port=port, base=ucr['ldap/base'], binddn='cn=admin,' + ucr['ldap/base'], bindpw=bindpw, start_tls=start_tls, decode_ignorelist=decode_ignorelist, reconnect=reconnect)
File "/usr/lib/pymodules/python2.7/univention/uldap.py", line 152, in init
self._open(cacertfile)
File "/usr/lib/pymodules/python2.7/univention/uldap.py", line 202, in __open
self.lo.start_tls_s()
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 884, in start_tls_s
res = self.applymethod_s(SimpleLDAPObject.start_tls_s,*args,**kwargs)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 860, in applymethod_s
return func(self,*args,**kwargs)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 571, in start_tls_s
return self.ldapcall(self.l.starttls_s)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 106, in ldapcall
result = func(*args,**kwargs)
ldap.CONNECT_ERROR: {'info': 'error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed (unable to get local issuer certificate)', 'desc': 'Connect error'}


#4

Strange. Does your VM has internet connection?

Have you imported a custom certificate in the appliance?


#5

Yes, VM has internet connection, becaus owncloud works.

Yes, I have imported Comodo SSL sertificate.


#6

Can you try to remove the certificate and try the upgrade?


#7

I've tried to remove certificate, but still same error.

But when I try to log on Univention, then get this error:
"An unknown error with status code 502 occurred while connecting to the server, please try again later."


#8

I have contacted univention for help, because I don't know what to do.

Would it be an option for you to install the appliance from scratch again with a backup of your current data?


#9

Basically I can install from scratch.
Lets wait for univention answer.


#10

This are the 2 links that could help you out.

how to change a certificate for some services

renew certificates

Could you tell me what certificates you imported and for what services?


#11

I've imported SSL for Appache server, so that owncloud could use HTTPS.
certificate I got from sslforfree.com
I've run univention-certificate list command

List all certificates
01 failid.xxxx.ee
02 ucs-sso.xxxx.ee
03 owncl-44113139.xxxx.ee

(xxxx is main domain name and i dont want to show it)


#12

Your certificate error is probably due to a problem with your LDAP certificate. Can you try to update this certificate?


#13

I've run ucr get ldap/base

root@failid:/etc/univention/ssl# ucr get ldap/base
dc=xxxx,dc=ee

univention address is
https://failid.xxxx.ee

LDAP is wrong?


#14

ucr get ldap/server/name

would get you your servers domain name


#15

That certificate will expire in 27.05.2018 so it should be valid.