NextCloud not present in app center (ucs 4.4.0)

Hi All,

I’m trying to install NextCloud in my UCS 4.4.0 but when I search it on App Center, I can’t find it ?

Barnum

PS :
XXX@dmlabucsmail001:~# ucr search --brief update/secure_apt appcenter/index/verify
appcenter/index/verify:
update/secure_apt: no

And in the graphical GUI? We installed nextcloud without problems here on UCS 4.4.

It’s the same, I can’t find the Nextcloud package and Owncloud parcjkage also.

Barnum

Have you activated your Appcenter with the free license?

What do you mean by using free license ?
I have the UCS community license (free license)

root@dmlabucsmail001:/etc/apt/sources.list.d# univention-app install nextcloud
Cannot use 4.1/nextcloud=15.0.8-0 as docker is to be ignored, yet, only non-docker versions could be found

Barnum

what is the output of:

ucr search appcenter/docker

should be enabled

Bernd

Hi All,

so after remove all entry for previous instalation of Owcloud and Nextcloud, I can install Nextcloud of my univention server.

But I can’t loggin, Nextcloud Alway reject the loggin.
Can you tell me where are the configuration files of Nextcloud ?

Thanks,

Hi,

  1. Did you configure a user through UDM-user-module?
  2. The initial nextcloud admin is called nc_admin and is not part of the UCS-LDAP. You get the password with: # cat /var/lib/univention-appcenter/apps/nextcloud/data/integration/admin.secret and you can then transfer NC admin rights to LDAP users.

At least, that is what I did.
Best,
Bernd

So I can login now (I create a user using occ command line)
But I still can’t login.
I think there is error on the ldap configuration:

root@nextc-95696546:/var/www/html# sudo -u www-data php occ ldap:show-config
+-------------------------------+--------------+
| Configuration                 | s01          |
+-------------------------------+--------------+
| hasMemberOfFilterSupport      | 0            |
| homeFolderNamingRule          |              |
| lastJpegPhotoLookup           | 0            |
| ldapAgentName                 |              |
| ldapAgentPassword             | ***          |
| ldapAttributesForGroupSearch  |              |
| ldapAttributesForUserSearch   |              |
| ldapBackupHost                |              |
| ldapBackupPort                |              |
| ldapBase                      |              |
| ldapBaseGroups                |              |
| ldapBaseUsers                 |              |
| ldapCacheTTL                  | 600          |
| ldapConfigurationActive       | 0            |
| ldapDefaultPPolicyDN          |              |
| ldapDynamicGroupMemberURL     |              |
| ldapEmailAttribute            |              |
| ldapExperiencedAdmin          | 0            |
| ldapExpertUUIDGroupAttr       |              |
| ldapExpertUUIDUserAttr        |              |
| ldapExpertUsernameAttr        |              |
| ldapGidNumber                 | gidNumber    |
| ldapGroupDisplayName          | cn           |
| ldapGroupFilter               |              |
| ldapGroupFilterGroups         |              |
| ldapGroupFilterMode           | 0            |
| ldapGroupFilterObjectclass    |              |
| ldapGroupMemberAssocAttr      | uniqueMember |
| ldapHost                      |              |
| ldapIgnoreNamingRules         |              |
| ldapLoginFilter               |              |
| ldapLoginFilterAttributes     |              |
| ldapLoginFilterEmail          | 0            |
| ldapLoginFilterMode           | 0            |
| ldapLoginFilterUsername       | 1            |
| ldapNestedGroups              | 0            |
| ldapOverrideMainServer        |              |
| ldapPagingSize                | 500          |
| ldapPort                      |              |
| ldapQuotaAttribute            |              |
| ldapQuotaDefault              |              |
| ldapTLS                       | 0            |
| ldapUserAvatarRule            | default      |
| ldapUserDisplayName           | displayName  |
| ldapUserDisplayName2          |              |
| ldapUserFilter                |              |
| ldapUserFilterGroups          |              |
| ldapUserFilterMode            | 0            |
| ldapUserFilterObjectclass     |              |
| ldapUuidGroupAttribute        | auto         |
| ldapUuidUserAttribute         | auto         |
| turnOffCertCheck              | 0            |
| turnOnPasswordChange          | 0            |
| useMemberOfToDetectMembership | 1            |
+-------------------------------+--------------+

So I find why the nextcloud configuration was bad. It’s an https certificate PB
So I modify the “/usr/lib/univention-install/50nextcloud.inst” file
and modify the “nextcloud_curl” function : add “-k” in the curl command

Vincent

Mastodon