Zimbra 8.8.15 + drive 0.8.25 + Nextcloud 19 or 20

All about Zimbra Drive
User avatar
alex70
Posts: 42
Joined: Sat Sep 13, 2014 1:06 am

Zimbra 8.8.15 + drive 0.8.25 + Nextcloud 19 or 20

Postby alex70 » Tue Oct 06, 2020 8:42 am

Now tested with Nextcloud 20 as well.

Dear All,

after a long time in searching the way to make Zimbra 8.8.15 and Nextcloud 19 work with Zimbra drive 0.8.25... I found the solution

Everything was correctly configured, Zimbra side, Nextcloud side.
ZImbra was able to create users in Nextcloud but after that no way to access to Nextcloud folder directly in Zimbra and no way to access to Nextcloud directly from the Nextcloud login panel using Zimbra email address.
Quick fix: comment out part of the function in nextcloud/apps/zimbradrive/lib/auth/abstractzimbrausersbackend.php like that:



Code: Select all

    protected function insertUserInGroup(User $user, $groupName)
    {
        if(isset($user))
        {
            if(!$this->groupManager->groupExists($groupName))
            {
                $this->groupManager->createGroup($groupName);
            }
/**
            $targetGroup = $this->groupManager->get($groupName);
            if(!$targetGroup->inGroup($user))
            {
                $targetGroup->addUser($user);
            }
            **/
        }
    }




In case Zimbra has already created users in Nextcloud, remove "zimbra" group from each user.

@jorgedlcruz can you please take care of this issue and pass it to the lab. Thanks

A deep thanks to @Kleped for this hint reported on https://github.com/nextcloud/server/issues/21497


User avatar
jasggomes
Advanced member
Advanced member
Posts: 83
Joined: Sat Sep 13, 2014 12:59 am
Location: Lisbon, PT
ZCS/ZD Version: Release 8.7.11.GA.1854.UBUNTU14.64
Contact:

Re: Zimbra 8.8.15 + drive 0.8.25 + Nextcloud 19 or 20

Postby jasggomes » Tue Oct 13, 2020 2:11 pm

Hi and thanks for this workaround.
I'm being 'forced' to replace the Goggle Drive service, and I think this can be a good solution but I cannot use the 'Open Drive' button on the Webmail GUI of Zimbra.
With this, I can open the 'Z' button on Nextcloud GUI of the user, but not the way around.

Zimbra 9 ZXtras build
Nextcloud 19 w/latest app

Any suggestions?

Regards.
JG
User avatar
rleiker
Advanced member
Advanced member
Posts: 74
Joined: Tue Jan 07, 2020 8:23 pm
Location: Kansas City
Contact:

Re: Zimbra 8.8.15 + drive 0.8.25 + Nextcloud 19 or 20

Postby rleiker » Wed Oct 14, 2020 4:11 am

Barry de Graaff, who is a longtime Zimlet developer, and an employee of Synacor, has some help on the way for integrating Nextcloud with Zimbra 9. He announced today that he has an updated Zimlet about to be released. There is a mention of it in this post: viewtopic.php?f=9&t=68823&p=299380#p299380 in the section titled: "Updated Zimlet For Integrating Nextcloud With Zimbra 9".

Return to “Zimbra Drive”

Who is online

Users browsing this forum: No registered users and 2 guests