Webtop nextcloud integration fails

[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 ~]#

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.

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?

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.

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 :

It’s wrong.

If nextcloud is configured with a virtualhost, you have to use the host name inside the Host field.

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".

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

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 :wink:

EDIT:
Ops … forgive me I didn’t notice what you had already posted:

Sorry… maybe I haven’t found your problem yet :roll_eyes: :thinking:

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?

Does your password contains the hash character?
Issue WT-629 may be the cause of that error message.

No, it hasn’t.

In the end I see no other solution than to try a fresh reinstallation.

Regarding to this posts…

… I am worried about how to completely uninstall webtop5 in order to try a completely new installation.

Within the NextCloud documentation, there is a wonderful description of how to manually carry out a residue-free uninstallation. Unfortunately, this is missing at webtop…as with most others.

@webtop_team: Can anyone guide me through such a complete uninstallation of Webtop5?

And by the way, I would appreciate it if all documentation contained a description of the complete manual uninstallation if already an automatic uninstallation should not be possible.

Sincerely, MArko

This will hardly be a solution to your the problem: you are going to use the same code, no matter if it
has been reinstalled.

Please don’t :slight_smile:
We inspected all the possible path and the doc has been updated for this usage scenario (thanks to @lucag). If your installation doesn’t still work, I think it something related to your configuration.
Since we can’t reproduce in any other why, I guess the only solution is to troubleshoot your machine with direct access.

I still hope @webtop_team has some other ideas on how to solve this. :crossed_fingers:

It is quite hard to realize because it depends on which modules have been installed: many times a software changes the config of other part of the system.
Still, feel free to open a PR to the doc for those software you’ve experience about removal.

1 Like

Hi @giacomo and @lucag.
Thank you for your work with me and the work behind the scenes. It’s not always so obvious.

Now I had one last idea:

yum reinstall nethserver-webtop5
signal-event nethserver-webtop5-update

And now finally everything works.

With all my heart grateful greetings,
Marko

1 Like

Really? I’m very happy about it! :clap: You’ve tried a solution I never though about.

I’m wondering what part of the event fixed the problem, maybe this code but it should have been already executed during the install. :thinking:

By the way, I’m really glad you resolved it! We will remember about this solution if the problem arises agin :wink:

2 Likes

Possibly I was happy too early.
I can access the directory and file structure (e.g. renaming nectcloud files within Webtop works fine. This means for me that the permissions are passed on correctly) but generated links lead to an error when called.

# Not Found

The requested URL /public/156c0407/vfs/link/845bd0cddd1a8d90b6470392bf397541 was not found on this server.

But possibly we can fix this? :slight_smile:

Sincerely, Marko

if your configuration is still this:

the problem you report may be due to the incorrect Public URL.
Try to delete it by deleting what you entered in this field and click on Save.

Let us know if it solves …

3 Likes

well, that was the reason.
Thank you.

2 Likes

I’m really glad I was helpful to you :+1:

1 Like