I’ve been testing a bit more with WebTop so I’m editing this post a lot as I realize my original post was a bit of a mess and I’ve learned a lot already and have Webtop working well for our office.
But I’m having an issue that I’m hoping you can provide direction for me:
I have Nextcloud installed on my Nethserver and I’m adding in the ability to see my Nextcloud documents in WebTop for each user. I’ve followed these instructions:
But when a user adds in Nextcloud resource we get a generic Error box with no details on the error when we try to access our Nextcloud from WebTop. I then looked in the WebTop Logs of Nethserver and I found the following log entries when I receive this generic error message:
2020-06-09 13:21:04 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
org.apache.commons.vfs2.FileSystemException: Unknown message with code “Root not exist”.
at com.sonicle.webtop.vfs.sfs.StoreFileSystem.resolveRoot(StoreFileSystem.java:102)
at com.sonicle.webtop.vfs.sfs.StoreFileSystem.getRootFileObject(StoreFileSystem.java:82)
at com.sonicle.webtop.vfs.VfsManager.getTargetFileObject(VfsManager.java:1302)
at com.sonicle.webtop.vfs.VfsManager.listStoreFiles(VfsManager.java:611)
at com.sonicle.webtop.vfs.Service.processManageGridFiles(Service.java:864)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sonicle.webtop.core.app.servlet.BaseRequest.invokeMethod(BaseRequest.java:109)
at com.sonicle.webtop.core.app.servlet.PrivateRequest.processRequest(PrivateRequest.java:86)
at com.sonicle.webtop.core.app.servlet.PrivateRequest.doGet(PrivateRequest.java:113)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
at com.sonicle.webtop.core.app.shiro.filter.GZip.doFilterInternal(GZip.java:60)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:747)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:609)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1623)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Have I missed a step in setting up Nextcloud integration with WebTop?
The issue I’m having is webtop connecting to my Nextcloud where both Webtop and Nextcloud are hosted on my Nethserver. This integration is from the Webtop configuration.
Hopefully the webtop support team can confirm why I’m receiving this error.
Hi @greavette,
if you have configured a virtual host to access this Nextcloud you must take this into account when configuring the connection inside webtop.
In this case configure the connector like this:
Let me know if this was the problem
Very much appreciate your help once again. Could you give me a more clear idea of what I need to enter on the Nextcloud Resource? Here is the data I know for our website:
The virtualhost we use to access our Nextcloud looks like this (not our real domain): https://mycloud.mycompany.com/nextcloud
When I login to my Nextcloud I can confirm my Webdav access in Settings as the following: https://mycloud.mycompany.com/nextcloud/remote.php/dav/files/jane.doe/
So based on the screenshot you provided…what goes into the Host: field and what goes into the Path fields?
from what you write is not using a dedicated virtual host for Nextcloud
At this point the configuration is simply this:
In particular, in the Host field indicate localhost if Nextcloud is hosted on the same server or alternatively indicate the host name (resolvable by the internal dns) and in the Path field simply leave the one that is set up for you by default: /nextcloud/remote.php/webdav
My Nextcloud is hosted on my Nethserver where also my Webtop is installed. So I’ve taken your suggestion and used localhost in the Host field. And I’ve left the Path field at default. I’ve tried to setup a connection from my Webtop to our Nextcloud for 3 of our accounts now and each time I receive a generic “Error” message on the screen. So I looked in the Webtop Log and found the following. Is there any reason from this log that would indicate what I’m doing wrong with connecting my Webtop to Nextcloud?
2020-06-24 01:17:21 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFile
org.apache.commons.vfs2.FileSystemException: Unknown message with code "Root not exist".
at com.sonicle.webtop.vfs.sfs.StoreFileSystem.resolveRoot(StoreFileSystem.java:102)
at com.sonicle.webtop.vfs.sfs.StoreFileSystem.getRootFileObject(StoreFileSystem.java:82)
at com.sonicle.webtop.vfs.VfsManager.getTargetFileObject(VfsManager.java:1302)
at com.sonicle.webtop.vfs.VfsManager.listStoreFiles(VfsManager.java:611)
at com.sonicle.webtop.vfs.Service.processManageGridFiles(Service.java:864)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sonicle.webtop.core.app.servlet.BaseRequest.invokeMethod(BaseRequest.java:109)
at com.sonicle.webtop.core.app.servlet.PrivateRequest.processRequest(PrivateRequest.java:86)
at com.sonicle.webtop.core.app.servlet.PrivateRequest.doGet(PrivateRequest.java:113)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
at com.sonicle.webtop.core.app.shiro.filter.GZip.doFilterInternal(GZip.java:60)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:747)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:615)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1627)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Hi @greavette,
… it may not even depend on webtop
Do you confirm that your Nextcloud is working properly?
Can you try creating a direct webdav connection from a client PC to nextcloud and see if it works?
I’ve tested using the above link using CyberDuck (WebDav) and I was successful in connecting to my Nextcloud Files.
I then used Windows Explorer to map a network drive and went through the wizard to “Connect to a Web site that you can use to store your documents and pictures” and put in my site above and my user and password. I am successful in connecting to my Nextcloud through Windows Explorer.
Are there any reasons from the WebTop log I provided earlier that would indicate why WebTop cannot connect to my Nextcloud?
Hello @lucag@matteo.albinola and @gabriele_bulfon, any luck with why identifying why my local Nextcloud won’t connect to my Webtop all hosted through Nethserver?
I think I have the same problem here. It looks like the nextcloud virtualhost data are not saved in webtop. When I reopen the ressource details I see the standard localhost credentials again.
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.
I got a step further. In my case Nextcloud is configured as a virtual host. Then the address is just “vhost.example.com” and the path looks like this “/remote.php/dav” - not “webdav”! Plus you have to accept the proposed name like “user@vhost.example.com”. With this I get onto Nextcloud. But at that point I’m lost myself again.