File Plugin: Nextcloud on UCS (Univention Corporate Server)
-
Hi all,
like Felix @fbartels mentioned here https://help.univention.com/t/kopano-files-nextcloud/8140/6 I should post it in the kopano forum.In the WebApp -> Files: I only get “Load files …” forever. I can’t see the example files. Here’s a screenshot:
It’s a UCS-Server with Kopano packages installed, here are the versions:
UCS 4.2-3 errata311
Nextcloud 12.0.5-0
Let’s Encrypt 1.1.2-6
Kopano Core 8.4.5.0
Z-Push for Kopano 2.3.7
Kopano WebApp 3.3.0.610-25.1In Kopano Webapp the follwing plugins are installed:
Kopano WebApp -> Settings -> Plugins:
File previewer plugin 1.0
Files Plugin 2.0
l Files: SMB/CIFS Backend 0.1
l Files: ownCloud Backend 0.1
Mobile device management 0.1
S/MIME-Plugin 1.0
Spellchecker 0.1
l Spellchecker Dutch (NL) languagepack 0.1
l Spellchecker English (US) languagepack 0.1
l Spellchecker German (DE) languagepack 0.1
Ungelesene Nachrichten Zähler 0.3
WebApp Handbuch 0.2In Kopano Files the following accounts are added:
-> Settings -> Files:
Accountinformationen
Accountname: Nextcloud
Accounttyp: ownCloud
Accountkonfiguration
Server address: example.com
Server port: 443
Use SSL: Yes
Webdav base path: /nextcloud/remote.php/webdav
Use Kopano credentials: Yes
Status: GreenThe click on the little “i” at the account brings up following information:
Versioninformation
l This Account uses the following backend:
l Backend version: 1.0
l Fileserver Version: 12.0.5These are the logs:
/var/log/kopano/server.log Sat Mar 10 10:35:29 2018: [error ] Coredumps will not be generated: kopano-server requires the fs.suid_dumpable sysctl to contain the value 2, not 0.
/var/log/apache2/error.log [Sat Mar 10 10:35:39.678489 2018] [ssl:warn] [pid 2942] AH01909: ucs.sto.lan:443:0 server certificate does NOT include an ID which matches the server name [Sat Mar 10 10:35:39.701945 2018] [suexec:notice] [pid 2942] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec) [Sat Mar 10 10:35:41.146041 2018] [ssl:warn] [pid 2993] AH01909: ucs.sto.lan:443:0 server certificate does NOT include an ID which matches the server name [Sat Mar 10 10:35:42.006726 2018] [mpm_prefork:notice] [pid 2993] AH00163: Apache/2.4.10 (Univention) OpenSSL/1.0.2k configured -- resuming normal operations [Sat Mar 10 10:35:42.006771 2018] [core:notice] [pid 2993] AH00094: Command line: '/usr/sbin/apache2' [Sat Mar 10 10:36:06.146250 2018] [autoindex:error] [pid 3148] [client 192.168.0.70:57834] AH01276: Cannot serve directory /var/www/univention/js/umc/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive [Sat Mar 10 10:36:17.429191 2018] [autoindex:error] [pid 3149] [client 192.168.0.70:57845] AH01276: Cannot serve directory /var/www/univention/js/umc/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive [Sat Mar 10 10:36:31.140710 2018] [autoindex:error] [pid 3439] [client 192.168.0.70:57883] AH01276: Cannot serve directory /var/www/univention/js/umc/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive [Sat Mar 10 10:48:33.837713 2018] [autoindex:error] [pid 3415] [client 192.168.0.70:59245] AH01276: Cannot serve directory /var/www/univention/js/umc/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive [Sat Mar 10 10:50:33.695405 2018] [autoindex:error] [pid 3150] [client 192.168.0.70:59485] AH01276: Cannot serve directory /var/www/univention/js/umc/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive [Sat Mar 10 10:50:49.159125 2018] [autoindex:error] [pid 3437] [client 192.168.0.70:59522] AH01276: Cannot serve directory /var/www/univention/js/umc/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive [Sat Mar 10 10:51:05.902637 2018] [autoindex:error] [pid 3437] [client 192.168.0.70:59559] AH01276: Cannot serve directory /var/www/univention/js/umc/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive [Sat Mar 10 10:51:16.290709 2018] [autoindex:error] [pid 5559] [client 192.168.0.70:59582] AH01276: Cannot serve directory /var/www/univention/js/umc/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive [Sat Mar 10 10:51:37.672929 2018] [autoindex:error] [pid 3438] [client 192.168.0.70:59623] AH01276: Cannot serve directory /var/www/univention/js/umc/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive [Sat Mar 10 10:53:09.871754 2018] [autoindex:error] [pid 3456] [client 192.168.0.70:59797] AH01276: Cannot serve directory /var/www/univention/js/umc/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive [Sat Mar 10 10:53:24.706531 2018] [autoindex:error] [pid 3448] [client 192.168.0.70:59831] AH01276: Cannot serve directory /var/www/univention/js/umc/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive [Sat Mar 10 10:57:30.166005 2018] [:error] [pid 3448] [client 192.168.0.70:60296] [DBG][BackendStore] Searching for external backends in /usr/share/kopano-webapp/plugins/ [Sat Mar 10 10:57:30.166200 2018] [:error] [pid 3448] [client 192.168.0.70:60296] [DBG][BackendStore] Registering backend: Webdav [Sat Mar 10 10:57:30.227868 2018] [:error] [pid 3448] [client 192.168.0.70:60296] [DBG][BackendStore] Registering backend: FTP [Sat Mar 10 10:57:30.231522 2018] [:error] [pid 3448] [client 192.168.0.70:60296] [DBG][BackendStore] Registering external backend: Owncloud [Sat Mar 10 10:57:30.242801 2018] [:error] [pid 3448] [client 192.168.0.70:60296] [DBG][BackendStore] Registering external backend: SMB [Sat Mar 10 10:57:30.258646 2018] [:error] [pid 3415] [client 192.168.0.70:60292] [DBG][AccountStore] Found 1 accounts. [Sat Mar 10 10:57:30.258726 2018] [:error] [pid 3415] [client 192.168.0.70:60292] [DBG][FilesAccountModule] Sorting by account_sequence in direction: ASC [Sat Mar 10 10:58:20.385748 2018] [:error] [pid 5412] [client 192.168.0.70:60400] [DBG][AccountStore] Found 1 accounts. [Sat Mar 10 10:58:20.385805 2018] [:error] [pid 5412] [client 192.168.0.70:60400] [DBG][BackendStore] Searching for external backends in /usr/share/kopano-webapp/plugins/ [Sat Mar 10 10:58:20.385914 2018] [:error] [pid 5412] [client 192.168.0.70:60400] [DBG][BackendStore] Registering backend: Webdav [Sat Mar 10 10:58:20.386528 2018] [:error] [pid 5412] [client 192.168.0.70:60400] [DBG][BackendStore] Registering backend: FTP [Sat Mar 10 10:58:20.386730 2018] [:error] [pid 5412] [client 192.168.0.70:60400] [DBG][BackendStore] Registering external backend: Owncloud [Sat Mar 10 10:58:20.386915 2018] [:error] [pid 5412] [client 192.168.0.70:60400] [DBG][BackendStore] Registering external backend: SMB [Sat Mar 10 10:58:20.387199 2018] [:error] [pid 5412] [client 192.168.0.70:60400] [BACKEND_OWNCLOUD]: Base path set to /nextcloud/remote.php/webdav [Sat Mar 10 10:58:20.387213 2018] [:error] [pid 5412] [client 192.168.0.70:60400] [BACKEND_OWNCLOUD]: SSL extention was set to 1 [Sat Mar 10 10:58:20.387307 2018] [:error] [pid 5412] [client 192.168.0.70:60400] [BACKEND_OWNCLOUD]: [LS] start for dir: [Sat Mar 10 10:58:22.526561 2018] [:error] [pid 5412] [client 192.168.0.70:60400] [BACKEND_OWNCLOUD]: [LS] done in 2.1392478942871 seconds [Sat Mar 10 10:58:22.526630 2018] [:error] [pid 5412] [client 192.168.0.70:60400] [BACKEND_OWNCLOUD]: [LS] start for dir: [Sat Mar 10 10:58:22.724630 2018] [:error] [pid 5412] [client 192.168.0.70:60400] [BACKEND_OWNCLOUD]: [LS] done in 0.19800209999084 seconds [Sat Mar 10 10:58:25.788331 2018] [:error] [pid 5412] [client 192.168.0.70:60400] [DBG][AccountStore] Found 1 accounts. [Sat Mar 10 10:58:25.788383 2018] [:error] [pid 5412] [client 192.168.0.70:60400] [DBG][BackendStore] Searching for external backends in /usr/share/kopano-webapp/plugins/ [Sat Mar 10 10:58:25.788493 2018] [:error] [pid 5412] [client 192.168.0.70:60400] [DBG][BackendStore] Registering backend: Webdav [Sat Mar 10 10:58:25.788748 2018] [:error] [pid 5412] [client 192.168.0.70:60400] [DBG][BackendStore] Registering backend: FTP [Sat Mar 10 10:58:25.788914 2018] [:error] [pid 5412] [client 192.168.0.70:60400] [DBG][BackendStore] Registering external backend: Owncloud [Sat Mar 10 10:58:25.789055 2018] [:error] [pid 5412] [client 192.168.0.70:60400] [DBG][BackendStore] Registering external backend: SMB [Sat Mar 10 10:58:25.789257 2018] [:error] [pid 5412] [client 192.168.0.70:60400] [BACKEND_OWNCLOUD]: Base path set to /nextcloud/remote.php/webdav [Sat Mar 10 10:58:25.789272 2018] [:error] [pid 5412] [client 192.168.0.70:60400] [BACKEND_OWNCLOUD]: SSL extention was set to 1 [Sat Mar 10 11:03:33.679183 2018] [:error] [pid 5559] [client 192.168.0.70:60983] [DBG][BackendStore] Searching for external backends in /usr/share/kopano-webapp/plugins/ [Sat Mar 10 11:03:33.679352 2018] [:error] [pid 5559] [client 192.168.0.70:60983] [DBG][BackendStore] Registering backend: Webdav [Sat Mar 10 11:03:33.679808 2018] [:error] [pid 5559] [client 192.168.0.70:60983] [DBG][BackendStore] Registering backend: FTP [Sat Mar 10 11:03:33.680025 2018] [:error] [pid 5559] [client 192.168.0.70:60983] [DBG][BackendStore] Registering external backend: Owncloud [Sat Mar 10 11:03:33.680244 2018] [:error] [pid 5559] [client 192.168.0.70:60983] [DBG][BackendStore] Registering external backend: SMB [Sat Mar 10 11:05:01.485917 2018] [:error] [pid 5412] [client 192.168.0.70:61148] [DBG][AccountStore] Found 1 accounts. [Sat Mar 10 11:05:01.485972 2018] [:error] [pid 5412] [client 192.168.0.70:61148] [DBG][BackendStore] Searching for external backends in /usr/share/kopano-webapp/plugins/ [Sat Mar 10 11:05:01.486082 2018] [:error] [pid 5412] [client 192.168.0.70:61148] [DBG][BackendStore] Registering backend: Webdav [Sat Mar 10 11:05:01.486395 2018] [:error] [pid 5412] [client 192.168.0.70:61148] [DBG][BackendStore] Registering backend: FTP [Sat Mar 10 11:05:01.486575 2018] [:error] [pid 5412] [client 192.168.0.70:61148] [DBG][BackendStore] Registering external backend: Owncloud [Sat Mar 10 11:05:01.486713 2018] [:error] [pid 5412] [client 192.168.0.70:61148] [DBG][BackendStore] Registering external backend: SMB [Sat Mar 10 11:05:01.486932 2018] [:error] [pid 5412] [client 192.168.0.70:61148] [BACKEND_OWNCLOUD]: Base path set to /nextcloud/remote.php/webdav [Sat Mar 10 11:05:01.486947 2018] [:error] [pid 5412] [client 192.168.0.70:61148] [BACKEND_OWNCLOUD]: SSL extention was set to 1 [Sat Mar 10 11:10:35.026533 2018] [:error] [pid 5412] [client 192.168.0.70:61772] [DBG][AccountStore] Found 1 accounts. [Sat Mar 10 11:10:35.026592 2018] [:error] [pid 5412] [client 192.168.0.70:61772] [DBG][FilesAccountModule] Sorting by account_sequence in direction: ASC
Please let me know if you need more information.
Isn’t it working because in the UCS only the local domain (ucs.sto.lan) is given and this is not included in the Let’s Encrypt Certificate. But I have configured the Files/ownCloud plugin with the FQDNS and it’s giving me the green status.
Can you please help me?Best regards,
Pollux -
@Pollux so you are using FQDN to connec to WebApp, and in the Files configuration as well?
Do you see any error messages in the browser console (usually accessible by pressing F12)
-
@bhuisman said in File Plugin: Nextcloud on UCS (Univention Corporate Server):
you are using FQDN to connec to WebApp, and in the Files configuration as well?
Yes, one and the same FQDN. If you like I can give it to you via private message (is this possible in this forum?).
@bhuisman said in File Plugin: Nextcloud on UCS (Univention Corporate Server):
Do you see any error messages in the browser console (usually accessible by pressing F12)
I’m using Firefox Quantum 58.0.2 (64-Bit) and if I’m pressing ‘F12’ I’m in the “Inspektor”, I clicked at “Konsole”. There is one error present:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data [Weitere Informationen] ext-all.js:21:54709
[Weitere Informationen] is a link to: https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Errors/JSON_bad_parse?utm_source=mozilla&utm_medium=firefox-console-errors&utm_campaign=default