We have trouble with the brand new ZimbraDrive plugin for Nextcloud.
(We followed instructions here: https://wiki.zimbra.com/wiki/Zimbra_Dri ... mbra_Drive)
The plugin does not seem to be able to save its configuration. The configuration under Admin settings turn into blank again if you leave the page.
So I tried to get around the problem by typing the url directly into the PHP code responsible for generating the URL based on those values.
nextcloud/apps/zimbradrive/lib/Auth/OC_User_Zimbra.php:
```php
$this->url = sprintf("https://zebra.csc.fi:443/service/extens ... braBackend");
// "http" . ($this->use_ssl ? "s" : ""),
// $this->zimbra_url,
// $this->zimbra_port
// );
```
This does get us further. However, still when I select 'Drive' tab in the Web client we get this in the Nextcloud logs:
`Error index Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing 'INSERT INTO `oc_zimbradrive_users` ( `uid`, `display_name` ) VALUES( ?, ? )' with params [null, null]: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'uid' cannot be null`
So no luck there. Latter one could depend on the first problem saving the settings in the first place. Anyone else in the same boat?
Nextcloud plugin woes
Re: Nextcloud plugin woes
Hi,
same problem on NextCloud 11.0.2. Configuration is not saved.
same problem on NextCloud 11.0.2. Configuration is not saved.
- juliano.morona
- Posts: 11
- Joined: Fri May 12, 2017 4:58 pm
Re: Nextcloud plugin woes
Hi, same problem on NextCloud 11.0.3
-
- Posts: 3
- Joined: Sat Sep 13, 2014 2:23 am
Re: Nextcloud plugin woes
I'm having the same problem, and can't get the zimbra details saved in nextcloud. Has anyone been able to solve this?
Update: Values are in the database now
The file /var/www/nextcloud/apps/zimbradrive/lib/Settings/Admin.php shows these database values:
Values are remaining in the database now. Previously when I clicked on Drive in Zimbra an error would occur. That doesn't happen now, although I have another problem as nothing happens / no files are displayed.
Update: Values are in the database now
The file /var/www/nextcloud/apps/zimbradrive/lib/Settings/Admin.php shows these database values:
Using mysql/phpmyadmin to modify the owncloud\oc_appconfig table (I upgraded owncloud to nextcloud)"zimbra_url" => $this->config->getAppValue('zimbradrive', 'zimbra_url'),
"zimbra_port" => $this->config->getAppValue('zimbradrive', 'zimbra_port'),
"use_ssl" => $this->config->getAppValue('zimbradrive', 'use_ssl', 'true') == 'true',
"trust_invalid_certs" => $this->config->getAppValue('zimbradrive', 'trust_invalid_certs', 'false') == 'true',
"preauth_key" => $this->config->getAppValue('zimbradrive', 'preauth_key'),
Code: Select all
UPDATE `owncloud`.`oc_appconfig` SET `configvalue` = 'localhost' WHERE `oc_appconfig`.`appid` = 'zimbradrive' AND `oc_appconfig`.`configkey` = 'zimbra_url';
Re: Nextcloud plugin woes
I had the same issue on a Mac. Using Chrome did the trick for me.
Cheers,
budy
Cheers,
budy
-
- Posts: 27
- Joined: Thu Jul 21, 2016 12:49 am
Re: Nextcloud plugin woes
Hi Guys,
configure zimbra drive app using chrome solve the issue.
thanks.
configure zimbra drive app using chrome solve the issue.
thanks.
- juliano.morona
- Posts: 11
- Joined: Fri May 12, 2017 4:58 pm
Re: Nextcloud plugin woes
Solved, with Chrome/Chromium. Thanks.