ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Looking for a self-hosted file share tool

    Scheduled Pinned Locked Moved Water Closet
    47 Posts 9 Posters 4.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • guyinpvG
      guyinpv
      last edited by

      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:

      0_1524070648254_group folder filecache.png

      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.

      0_1524070823477_better.png

      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.

      1 Reply Last reply Reply Quote 0
      • JaredBuschJ
        JaredBusch @guyinpv
        last edited by

        @guyinpv I have never seen this issue.

        I have been using ownCloud since version 7 and switched to Nextcloud with version 10/11.

        guyinpvG 1 Reply Last reply Reply Quote 0
        • guyinpvG
          guyinpv @JaredBusch
          last edited by

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

          JaredBuschJ 1 Reply Last reply Reply Quote 0
          • B
            bnrstnr
            last edited by bnrstnr

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

            https://docs.nextcloud.com/server/13/admin_manual/configuration_server/background_jobs_configuration.html

            EDIT: It almost certainly looks like this could be contributing, as the database cleanup relies on this.

            1 Reply Last reply Reply Quote 1
            • Jame_sJ
              Jame_s @guyinpv
              last edited by Jame_s

              @guyinpv seafile

              https://www.seafile.com/

              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.

              1 Reply Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch @guyinpv
                last edited by

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

                1 Reply Last reply Reply Quote 0
                • guyinpvG
                  guyinpv
                  last edited by

                  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

                  https://www.seafile.com/

                  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.

                  Jame_sJ 1 Reply Last reply Reply Quote 0
                  • guyinpvG
                    guyinpv
                    last edited by

                    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.

                    1 Reply Last reply Reply Quote 0
                    • Jame_sJ
                      Jame_s @guyinpv
                      last edited by

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

                      guyinpvG 1 Reply Last reply Reply Quote 0
                      • guyinpvG
                        guyinpv @Jame_s
                        last edited by

                        @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!

                        Jame_sJ 1 Reply Last reply Reply Quote 0
                        • Jame_sJ
                          Jame_s @guyinpv
                          last edited by

                          @guyinpv community edition is unlimited and we had no use for the extra pro features, but yes, horses for courses.

                          1 Reply Last reply Reply Quote 0
                          • 1
                          • 2
                          • 3
                          • 3 / 3
                          • First post
                            Last post