capote
(Marko)
November 3, 2020, 3:17pm
1
I Installed the NexCloud (https://nexcloud.mydomain.tld ) and Webtop5 (https://webtop.mydomain.tld ) and configured it following the documentation: WebTop 5 — NethServer Enterprise 7 Final
It’s not possible to add NextCloud resources, exactly like other users.
Hello @rasi ,
I’m still not able to get Nextcloud integrated with Webtop. I get a big Generic “Error” message with no details.
I’m curious what you see in the logs for Webtop if you have the same errors I reported (see my posts above).
I’ve not heard anything back from the @webtop_team . I was hoping they can confirm that it works for them or doesn’t work for them. Would be nice to have this integration since I run my Webtop and Nextcloud all with Nethserver.
It seems, the problem is not resolved.
It tried different recommended combinations of host, vhost, ralative path ad so on.
Sincerely, MArko
pike
(Michael Kicks)
November 3, 2020, 7:39pm
2
Is possibile that you have installed NextCloud 20?
capote
(Marko)
November 3, 2020, 9:38pm
3
pike:
NextCloud 20?
No, thats the package from software center.
giacomo
(Giacomo Sanchietti)
November 4, 2020, 11:02am
4
I just installed a clean machine following the documentation: everything works fine
Could you please paste the error?
(I moved the topic to the webtop support category).
1 Like
@Marko :
Have you activated OTP at NC?
Grüße…
Uwe
capote
(Marko)
November 4, 2020, 12:59pm
7
yes, I have for the login, not for NextCloud
giacomo
(Giacomo Sanchietti)
November 4, 2020, 1:26pm
8
capote:
or
This is the correct configuration if nextcloud is configured without virtual host.
If nextcloud is configured with a virtualhost, make sure to add the host name as alias of the server (otherwise name resolution could not work) and add the same name to “Trusted domains” inside Cockpit Nextcloud app.
In this case, the correct configuration is (just tested):
If you are not on one of this situations, pllease help us to help you
Share your nextcloud config and report back the webtop log and nextcloud log.
2 Likes
capote
(Marko)
November 4, 2020, 2:21pm
9
make sure to add the host name as alias of the server (otherwise name resolution could not work) and add the same name to “Trusted domains” inside Cockpit Nextcloud app.
…have it both
here my configs
[root@ns-srv01 ~]# config show nextcloud
nextcloud=configuration
HonorAdStartTls=disabled
TrustedDomains=dargels.de,nextcloud.dargels.de,collabora.dargels.de,webtop.dargels.de
VirtualHost=nextcloud.dargels.de
Wellknown=disabled
[root@ns-srv01 ~]# config show webtop
webtop=configuration
ActiveSyncLegacyIds=enabled
ActiveSyncLog=ERROR
DavServerLog=ERROR
DavServerUrl=https://webtop.dargels.de/webtop-dav/server.php
Debug=false
DefaultLocale=en_US
DefaultTimezone=Europe/Berlin
DefaultToolbarIconsSize=medium
MaxMemory=1024
MinMemory=512
PbxProvider=
PbxProviderNethvoiceWebrestUrl=
PublicUrl=https://webtop.dargels.de
RemoteCalendarAutosync=enabled
RemoteCalendarAutosyncOnlywhenonline=disabled
RemoteCategoryAutosync=enabled
RemoteCategoryAutosyncOnlywhenonline=disabled
VirtualHost=webtop.dargels.de
[root@ns-srv01 ~]#
giacomo
(Giacomo Sanchietti)
November 4, 2020, 3:04pm
10
Please also post the output of:
db hosts print | grep self
And errors found inside /var/log/webtop.log
.
capote
(Marko)
November 4, 2020, 3:08pm
11
[root@ns-srv01 ~]# db hosts print | grep self
collabora.dargels.de=self|Description|
dargels.de=self|Description|
myancestry.de=self|Description|
nextcloud.dargels.de=self|Description|
[root@ns-srv01 ~]#
[root@ns-srv01 ~]# cat /var/log/webtop.log
cat: /var/log/webtop.log: No such file or directory
[root@ns-srv01 ~]#
[root@ns-srv01 ~]# cat /var/log/webtop/webtop.log | grep error
2020-11-02 17:41:38 [ERROR] c.s.webtop.core.app.shiro.WTRealm - Authentication error
2020-11-02 17:46:32 [ERROR] c.s.webtop.core.app.ServiceManager - Controller: initProfile() throws error
2020-11-03 16:34:56 [ERROR] c.s.webtop.core.app.shiro.WTRealm - Authentication error
2020-11-03 16:35:39 [ERROR] c.s.webtop.core.app.shiro.WTRealm - Authentication error
2020-11-03 16:35:51 [ERROR] c.s.webtop.core.app.shiro.WTRealm - Authentication error
2020-11-03 16:37:25 [ERROR] c.s.webtop.core.app.shiro.WTRealm - Authentication error
[root@ns-srv01 ~]#
[root@ns-srv01 ~]# cat /var/log/webtop/webtop.log | grep ERROR
2020-11-02 17:41:38 [ERROR] c.s.webtop.core.app.shiro.WTRealm - Authentication error
2020-11-02 17:46:32 [ERROR] c.s.webtop.core.app.ServiceManager - Controller: initProfile() throws error
2020-11-03 15:17:46 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 15:17:46 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 15:18:29 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 15:18:35 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 15:19:15 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 15:19:15 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 15:19:40 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 15:19:40 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 15:19:52 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 15:19:52 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 15:21:17 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 15:21:18 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 15:21:39 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 15:21:39 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 15:26:28 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 15:26:28 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 15:26:31 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 15:27:42 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 15:27:42 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 15:29:05 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 15:31:15 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 15:31:16 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 15:31:30 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 15:31:30 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 15:47:09 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 15:47:09 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 15:47:18 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 15:47:25 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 15:48:25 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 15:48:25 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 15:48:51 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 15:48:51 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 15:48:56 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 15:49:51 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 15:52:48 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 15:52:48 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 15:53:27 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStore
2020-11-03 15:53:31 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 15:53:31 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 15:53:44 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStore
2020-11-03 15:53:47 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 15:53:47 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 15:54:06 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 15:54:06 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 15:59:28 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStore
2020-11-03 15:59:30 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 15:59:30 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 15:59:34 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 15:59:51 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 15:59:51 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 16:00:05 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 16:00:05 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 16:00:43 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStore
2020-11-03 16:00:45 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 16:00:45 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 16:00:57 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStore
2020-11-03 16:01:07 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 16:01:07 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 16:02:07 [ERROR] com.sonicle.webtop.vfs.Service - Error in SetupStoreNextcloud
2020-11-03 16:02:28 [ERROR] com.sonicle.webtop.vfs.Service - Error in SetupStoreNextcloud
2020-11-03 16:02:40 [ERROR] com.sonicle.webtop.vfs.Service - Error in SetupStoreNextcloud
2020-11-03 16:02:50 [ERROR] com.sonicle.webtop.vfs.Service - Error in SetupStoreNextcloud
2020-11-03 16:03:12 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 16:03:12 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 16:03:16 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 16:05:29 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 16:05:29 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 16:05:53 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 16:05:53 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 16:07:47 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 16:07:47 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 16:29:49 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 16:29:49 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 16:30:08 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 16:30:08 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 16:30:44 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStore
2020-11-03 16:30:47 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 16:30:47 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 16:33:09 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 16:33:09 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 16:33:34 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 16:33:34 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 16:34:56 [ERROR] c.s.webtop.core.app.shiro.WTRealm - Authentication error
2020-11-03 16:35:39 [ERROR] c.s.webtop.core.app.shiro.WTRealm - Authentication error
2020-11-03 16:35:51 [ERROR] c.s.webtop.core.app.shiro.WTRealm - Authentication error
2020-11-03 16:37:25 [ERROR] c.s.webtop.core.app.shiro.WTRealm - Authentication error
2020-11-03 16:42:07 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 16:42:07 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 16:42:33 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 16:42:33 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 16:43:42 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 16:44:01 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-03 16:44:01 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 16:44:23 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-03 16:44:23 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-04 13:05:56 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-04 13:05:56 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
2020-11-04 13:09:12 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStore
2020-11-04 13:09:17 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
2020-11-04 13:09:17 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
[root@ns-srv01 ~]#
giacomo
(Giacomo Sanchietti)
November 4, 2020, 3:29pm
12
Are you sure to have set /remote.php/webdave
insidethe Path
option in WebTop? Please note there is no /nextcloud
prefix in it.
The server alias is good.
But you can’t grep the webtop log: it’s a java application which dump the stack trace.
We need the stack trace generated when accessing the nextcloud webdav share.
capote
(Marko)
November 4, 2020, 3:34pm
13
How do I have to check / define this?
Please note there is no /nextcloud
prefix in it.
What I should define where?
can’t grep the webtop log:
What I should do instead?
giacomo
(Giacomo Sanchietti)
November 4, 2020, 4:49pm
14
Inside webtop itself, look and screenshot here: Webtop nextcloud integration fails - #8 by giacomo
Keep /var/log/webtop/webtop.log
open if tail -f /var/log/webtop/webtop.log
, go to webtop, add the nextcloud resource and when the “Error” dialog appears, see what pops out inside the log.
Past it here.
capote
(Marko)
November 4, 2020, 4:55pm
15
that comes…
at java.lang.Thread.run(Thread.java:748)
2020-11-04 17:56:49 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageStoresTree
org.apache.commons.vfs2.FileSystemException: Unknown message with code "Root not exist".
with this Configuration :
giacomo
(Giacomo Sanchietti)
November 4, 2020, 5:09pm
16
It’s wrong.
If nextcloud is configured with a virtualhost, you have to use the host name inside the Host
field.
capote
(Marko)
November 4, 2020, 9:45pm
17
same result
2020-11-04 22:44:31 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
org.apache.commons.vfs2.FileSystemException: Unknown message with code "Root not exist".
giacomo
(Giacomo Sanchietti)
November 5, 2020, 7:52am
18
That’s should be the right configuration.
My expertise ends here, let’s if the @webtop_team has some suggestion.
Could please add the full webtop.log as attachment?
1 Like
lucag
(Luca Gasparini)
November 5, 2020, 9:01am
19
Hi @capote ,
after several tests I was able to replicate your problem and probably understand what you are missing…
Check that you have also added the virtual host configured for your nextcloud among the server aliases:
Once this is done, try to recreate the link on the webtop to the nextcloud resource using these settings necessarily:
Let me know how it goes.
In the meantime, I try to integrate our documentation with these useful information
EDIT:
Ops … forgive me I didn’t notice what you had already posted:
Sorry… maybe I haven’t found your problem yet
capote
(Marko)
November 5, 2020, 10:02am
20
thank you for your ideas. Within fillipos Nethserver course I learned about the danger of yum autoremove
I did it some times ago. Perhaps a possible reason for my problems?