Looking for a self-hosted file share tool
-
I think I fixed it, but who knows.
When I look at entries in the filecache table, it still references the original group folder, here is a sample query:
That group folder doesn't exist any more, it was deleted through normal means in the web interface, the group folder UI, and removed the plugin itself. So this definitely seems like a bug since I didn't remove the folder in any strange way, it was all done in the web interface.
I took a chance and simply deleted all rows that referenced "groupfolders", a nice 13,631 rows deleted. Now the same query doesn't show any entries for "groupfolders".
A quick refresh of the web interface and all the duplicates disappeared, now looks normal.
You'll notice in my earlier screenshot, the interface was outputting the entire path, rather than just the relative folder name, which was weird. But now it's only showing the folder names, not the whole paths.
I don't know if I want to trust such buggy software, it can't even keep its own filecache in order when moving folders between shares. OwnCloud and NextCloud both seem to be dealing with this inconsistency, and the filecache cleaning command line tool doesn't fix it.
-
@guyinpv I have never seen this issue.
I have been using ownCloud since version 7 and switched to Nextcloud with version 10/11.
-
@jaredbusch said in Looking for a self-hosted file share tool:
@guyinpv I have never seen this issue.
I have been using ownCloud since version 7 and switched to Nextcloud with version 10/11.
The steps to reproduce it are at the top of this bug report: https://github.com/nextcloud/server/issues/3502
I'd be curious if you tried it. The very last comment on that bug report is a person on version 13 who experienced it. And I did too, on 13.0.1.
The main difference with me is that I used the group folders plugin which, I believe, makes use of the NextCloud ability to connect to external storage. So I'm not sure if this is a bug with normal shares, or only when involving external storage shares.
Whatever the case, if anybody reads any of this, I would definitely stay away from the group folder plugin.
-
@guyinpv I don't know if this could be contributing at all, but for your "background jobs" ajax is the default, I would definitely setup a cronjob to do this.
EDIT: It almost certainly looks like this could be contributing, as the database cleanup relies on this.
-
@guyinpv seafile
been using it here for quite a while.
each user here has an upload link i store in active directory and it is added to each user's signature.
-
@guyinpv said in Looking for a self-hosted file share tool:
@jaredbusch said in Looking for a self-hosted file share tool:
@guyinpv I have never seen this issue.
I have been using ownCloud since version 7 and switched to Nextcloud with version 10/11.
The steps to reproduce it are at the top of this bug report: https://github.com/nextcloud/server/issues/3502
I'd be curious if you tried it. The very last comment on that bug report is a person on version 13 who experienced it. And I did too, on 13.0.1.
The main difference with me is that I used the group folders plugin which, I believe, makes use of the NextCloud ability to connect to external storage. So I'm not sure if this is a bug with normal shares, or only when involving external storage shares.
Whatever the case, if anybody reads any of this, I would definitely stay away from the group folder plugin.
Reading that thread, Group folders are a problem in general.
So blow it out and start over without that app.
It looks like manual clean up was possible by moving the files around while subsequently clicking on things in the GUI.
-
What I did by deleting rows in the filecache table referencing the group share seemed to work. I just can't be sure there aren't any other pieces or references anywhere else in the DB. Hoping it doesn't lead to bugs later if there are still leftovers.
@jame_s said in Looking for a self-hosted file share tool:
@guyinpv seafile
been using it here for quite a while.
each user here has an upload link i store in active directory and it is added to each user's signature.
I tested it for a while on our internal server. I had a heck of a time getting clients to connect though, lots of troubleshooting routing, DNS, ports, etc, was never really stable. Perhaps it would be better on some VPS instead of internal. But there are other reasons I didn't go with it, like pricing model. Some info on that here: https://mangolassi.it/topic/9882/why-would-you-chose-nextcloud-over-seafile/17
Seafile had some great concepts, the desktop tool was pretty nice, fast sync. But it's not quite what I was looking for.
-
Speaking of deleting cache entries. This seems to be what the occ command is for
occ files:cleanup
.
It even reports that way:
0 orphaned file cache entries deleted
"orphaned file cache entries" seems like exactly what I found, it had orphaned entries for the group share folder. When I deleted them, that seemed to me to be "deleting orphaned file cache entries."
So I guess, maybe the
files:cleanup
tool is not functional or is where the bug really lies if it's not working?It wouldn't help to put this in a cron job if it doesn't work anyway.
-
@guyinpv odd, i have had no issues with clients, everything is done via https. as far as pricing goes, i use the free version and have about 30 users. no stability issues whatsoever.
-
@jame_s said in Looking for a self-hosted file share tool:
@guyinpv odd, i have had no issues with clients, everything is done via https. as far as pricing goes, i use the free version and have about 30 users. no stability issues whatsoever.
Isn't the free version limited to 3 users?
I'm sure a lot of my issues were from trying to run it on an internal server. Doing https and dealing with virtual networking and routing and everything didn't pan out. Probably could do it better on a cloud VPS.
Regardless, NextCloud does have a couple advantages over SeaFile, but that goes the other way around too so..... pick your poison!
-
@guyinpv community edition is unlimited and we had no use for the extra pro features, but yes, horses for courses.