No Access for regular Users to the Cloud in WebTop 5

Hi friends,

Overnight access to the cloud in WebTop 5 will no longer work for the regular user. Access as WebTop Admin works. All other users receive an error message as it is visible in the picture.

Regards

Uwe

Here is the error from the log file:

2018-10-13 19:52:22 [ERROR] com.sonicle.webtop.vfs.Service - Error in ManageGridFiles
org.apache.commons.vfs2.FileSystemException: Could not find files in “file:///var/lib/nethserver/webtop/domains/NethServer/com.sonicle.webtop.vfs/mydocuments/userx”.
at org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:946)
at org.apache.commons.vfs2.provider.AbstractFileObject.listFiles(AbstractFileObject.java:1560)
at org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:921)
at com.sonicle.webtop.vfs.VfsManager.listStoreFiles(VfsManager.java:634)
at com.sonicle.webtop.vfs.Service.processManageGridFiles(Service.java:844)
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.servlet.BaseRequest.invokeMethod(BaseRequest.java:109)
at com.sonicle.webtop.core.servlet.PrivateRequest.processRequest(PrivateRequest.java:83)
at com.sonicle.webtop.core.servlet.PrivateRequest.doGet(PrivateRequest.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
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.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:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:683)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1087)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1770)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1729)
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)
Caused by: org.apache.commons.vfs2.FileSystemException: Invalid descendent file name “Y:”.
at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveName(DefaultFileSystemManager.java:796)
at org.apache.commons.vfs2.provider.AbstractFileObject.getChildren(AbstractFileObject.java:1045)
at org.apache.commons.vfs2.provider.AbstractFileObject.traverse(AbstractFileObject.java:121)
at org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:943)
… 62 common frames omitted

is this only on the cloud section of webtop, and the rest including mail are working fine, or its general.

If the issue is isolated only to cloud, login to admin page and check if the users are allowed access to cloud.

1 Like

Hi Nitram Oneito,

it only affects the cloud part of WebTop. Where do I have to set the permissions?

Regards

Uwe

login as admin on webtop,
go to settings,

then follow some instructions here on enabling cloud to other users

http://docs.nethserver.org/en/v7/webtop5.html#nextcloud-integration

1 Like

@webtop_team any hint on this?

Hi @transocean,

I do not think that the cloud service for all users could be turned off by itself.

From the log there seem to be problems accessing the folders on the file system:

Can you check that there are and if the permissions are correct?
(must be tomcat:tomcat)

Hi Luca Gasparini,

the permissions are correct.

Regards

Uwe

It is strange that the problem occurred suddenly … :thinking:
Some idea @gabriele_bulfon on what could be the problem?

Hi, you say this happened “overnight” : you mean just one time? everynight?
This must have happened for some reason out of WebTop control.

Hi gabriele_bulfon,

i mean the problem suddenly came up. Without advance notice. OnlyWebTop 5, Nextcloud with Collabora, Fail2Ban and DokuWiki works on the server.

Regards

Uwe