Access Nextcloud files via SMB/CIFS











up vote
1
down vote

favorite
1












I want to setup Nextcloud as a secure private personal cloud. It should serve my data to different kind of devices: On the one side laptops and smartphones, where I want to simply use the Nextcloud client for syncing. But I've also a desktop computer in my LAN. Here, no local copy is needed. I even want to avoid it cause this PC have only a SSD and my Nextcloud would be about ~120GB big.



In the past I used DSM over Xpenology, which offers SMB/CIFS shares. This works well and stable on my desktop: I simply mounted the shares and evereything works good. Sadly, Nextcloud seems only able to use SMB/CIFS as external storage on the server side.



So my question: How can I access my Nextcloud files locally without cloud sync?



Thoughts about solutions



What's about WebDAV?



Basically, this seems a replacement for SMB. But from my experience from the past, WebDAV seems slow and not as stable as SMB. I think on larger files WebDAV would be slower, since it would be required to download the hole file first before it's possible to open them (WebDAV seems based on the HTTP protocol).



Update: I played around with WebDAV on Nextcloud. It was easy to configure since its buildin. But as I thought, I ran into problems: For example, a movie couldn't played over WebDAV. I Got an error "Bad file descriptor" in Nextcloud. Seems like this isn't possible using WebDAV. I would have to download the file locally first, which is more work and cause trash data on the client, when I forget to delete the local copy after watching. SMB could do this much better.



Runing Samba?



It was my first idea to simply run my own samba server. By using LDAP for Nextcloud and Samba, there wouldn't be any mess with redundant acconts for those two services. However, I would ran into another issue: Samba bypasses the Nextcloud logic. This wouln't only result in a lack of the version history. I also noticed that Nextcloud just keep track of files, that were uploaded by an Nextcloud client. Putting a file in the filesystem of Nextcloud wouldn't made them appear in the Nextcloud Web UI.



So shirking Nextcloud using a custom SMB client seems causing more problem than it's going to solve.










share|improve this question




























    up vote
    1
    down vote

    favorite
    1












    I want to setup Nextcloud as a secure private personal cloud. It should serve my data to different kind of devices: On the one side laptops and smartphones, where I want to simply use the Nextcloud client for syncing. But I've also a desktop computer in my LAN. Here, no local copy is needed. I even want to avoid it cause this PC have only a SSD and my Nextcloud would be about ~120GB big.



    In the past I used DSM over Xpenology, which offers SMB/CIFS shares. This works well and stable on my desktop: I simply mounted the shares and evereything works good. Sadly, Nextcloud seems only able to use SMB/CIFS as external storage on the server side.



    So my question: How can I access my Nextcloud files locally without cloud sync?



    Thoughts about solutions



    What's about WebDAV?



    Basically, this seems a replacement for SMB. But from my experience from the past, WebDAV seems slow and not as stable as SMB. I think on larger files WebDAV would be slower, since it would be required to download the hole file first before it's possible to open them (WebDAV seems based on the HTTP protocol).



    Update: I played around with WebDAV on Nextcloud. It was easy to configure since its buildin. But as I thought, I ran into problems: For example, a movie couldn't played over WebDAV. I Got an error "Bad file descriptor" in Nextcloud. Seems like this isn't possible using WebDAV. I would have to download the file locally first, which is more work and cause trash data on the client, when I forget to delete the local copy after watching. SMB could do this much better.



    Runing Samba?



    It was my first idea to simply run my own samba server. By using LDAP for Nextcloud and Samba, there wouldn't be any mess with redundant acconts for those two services. However, I would ran into another issue: Samba bypasses the Nextcloud logic. This wouln't only result in a lack of the version history. I also noticed that Nextcloud just keep track of files, that were uploaded by an Nextcloud client. Putting a file in the filesystem of Nextcloud wouldn't made them appear in the Nextcloud Web UI.



    So shirking Nextcloud using a custom SMB client seems causing more problem than it's going to solve.










    share|improve this question


























      up vote
      1
      down vote

      favorite
      1









      up vote
      1
      down vote

      favorite
      1






      1





      I want to setup Nextcloud as a secure private personal cloud. It should serve my data to different kind of devices: On the one side laptops and smartphones, where I want to simply use the Nextcloud client for syncing. But I've also a desktop computer in my LAN. Here, no local copy is needed. I even want to avoid it cause this PC have only a SSD and my Nextcloud would be about ~120GB big.



      In the past I used DSM over Xpenology, which offers SMB/CIFS shares. This works well and stable on my desktop: I simply mounted the shares and evereything works good. Sadly, Nextcloud seems only able to use SMB/CIFS as external storage on the server side.



      So my question: How can I access my Nextcloud files locally without cloud sync?



      Thoughts about solutions



      What's about WebDAV?



      Basically, this seems a replacement for SMB. But from my experience from the past, WebDAV seems slow and not as stable as SMB. I think on larger files WebDAV would be slower, since it would be required to download the hole file first before it's possible to open them (WebDAV seems based on the HTTP protocol).



      Update: I played around with WebDAV on Nextcloud. It was easy to configure since its buildin. But as I thought, I ran into problems: For example, a movie couldn't played over WebDAV. I Got an error "Bad file descriptor" in Nextcloud. Seems like this isn't possible using WebDAV. I would have to download the file locally first, which is more work and cause trash data on the client, when I forget to delete the local copy after watching. SMB could do this much better.



      Runing Samba?



      It was my first idea to simply run my own samba server. By using LDAP for Nextcloud and Samba, there wouldn't be any mess with redundant acconts for those two services. However, I would ran into another issue: Samba bypasses the Nextcloud logic. This wouln't only result in a lack of the version history. I also noticed that Nextcloud just keep track of files, that were uploaded by an Nextcloud client. Putting a file in the filesystem of Nextcloud wouldn't made them appear in the Nextcloud Web UI.



      So shirking Nextcloud using a custom SMB client seems causing more problem than it's going to solve.










      share|improve this question















      I want to setup Nextcloud as a secure private personal cloud. It should serve my data to different kind of devices: On the one side laptops and smartphones, where I want to simply use the Nextcloud client for syncing. But I've also a desktop computer in my LAN. Here, no local copy is needed. I even want to avoid it cause this PC have only a SSD and my Nextcloud would be about ~120GB big.



      In the past I used DSM over Xpenology, which offers SMB/CIFS shares. This works well and stable on my desktop: I simply mounted the shares and evereything works good. Sadly, Nextcloud seems only able to use SMB/CIFS as external storage on the server side.



      So my question: How can I access my Nextcloud files locally without cloud sync?



      Thoughts about solutions



      What's about WebDAV?



      Basically, this seems a replacement for SMB. But from my experience from the past, WebDAV seems slow and not as stable as SMB. I think on larger files WebDAV would be slower, since it would be required to download the hole file first before it's possible to open them (WebDAV seems based on the HTTP protocol).



      Update: I played around with WebDAV on Nextcloud. It was easy to configure since its buildin. But as I thought, I ran into problems: For example, a movie couldn't played over WebDAV. I Got an error "Bad file descriptor" in Nextcloud. Seems like this isn't possible using WebDAV. I would have to download the file locally first, which is more work and cause trash data on the client, when I forget to delete the local copy after watching. SMB could do this much better.



      Runing Samba?



      It was my first idea to simply run my own samba server. By using LDAP for Nextcloud and Samba, there wouldn't be any mess with redundant acconts for those two services. However, I would ran into another issue: Samba bypasses the Nextcloud logic. This wouln't only result in a lack of the version history. I also noticed that Nextcloud just keep track of files, that were uploaded by an Nextcloud client. Putting a file in the filesystem of Nextcloud wouldn't made them appear in the Nextcloud Web UI.



      So shirking Nextcloud using a custom SMB client seems causing more problem than it's going to solve.







      networking samba cloud nextcloud






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Sep 28 '17 at 16:52

























      asked Sep 28 '17 at 16:21









      Lion

      10118




      10118






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote














          How can I access my Nextcloud files locally without cloud sync?




          You don’t. That’s simply not how the service works. As you already discovered, you can indeed access the underlying storage. However, this bypasses everything Nextcloud and you might as well stop using it altogether.



          Because services like ownCloud, Nextcloud or Pydio are designed to be filesystem-agnostic, they don’t rely too much on filesystem features like ACLs and metadata storage, instead implementing these features themselves. If the filesystem goes out of sync with the metadata storage, strange things are bound to happen.



          Depending on your actual requirements (mainly: viewing via browser or even managing via browser) you could instead use a synchronization-only solution like syncthing. It’s Samba-friendly, too.



          Then there are alternative WebDAV clients that may or may not suck less. A quick search turned up ExpanDrive, which is commercial software.



          Seafile (comparable to Nextcloud) offers a “Seafile Drive client” that appears as a drive on Windows: https://blogs.seafile.com/2016/09/02/announcing-seafile-drive-client-a-new-way-to-map-seafile-storage-as-virtual-drive/



          The drive client is supported in the free community edition. However, I found Seafile difficult to set up. It is much more complex compared to Nextcloud. There’s a somewhat working Docker tool available though.






          share|improve this answer





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1254552%2faccess-nextcloud-files-via-smb-cifs%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote














            How can I access my Nextcloud files locally without cloud sync?




            You don’t. That’s simply not how the service works. As you already discovered, you can indeed access the underlying storage. However, this bypasses everything Nextcloud and you might as well stop using it altogether.



            Because services like ownCloud, Nextcloud or Pydio are designed to be filesystem-agnostic, they don’t rely too much on filesystem features like ACLs and metadata storage, instead implementing these features themselves. If the filesystem goes out of sync with the metadata storage, strange things are bound to happen.



            Depending on your actual requirements (mainly: viewing via browser or even managing via browser) you could instead use a synchronization-only solution like syncthing. It’s Samba-friendly, too.



            Then there are alternative WebDAV clients that may or may not suck less. A quick search turned up ExpanDrive, which is commercial software.



            Seafile (comparable to Nextcloud) offers a “Seafile Drive client” that appears as a drive on Windows: https://blogs.seafile.com/2016/09/02/announcing-seafile-drive-client-a-new-way-to-map-seafile-storage-as-virtual-drive/



            The drive client is supported in the free community edition. However, I found Seafile difficult to set up. It is much more complex compared to Nextcloud. There’s a somewhat working Docker tool available though.






            share|improve this answer

























              up vote
              0
              down vote














              How can I access my Nextcloud files locally without cloud sync?




              You don’t. That’s simply not how the service works. As you already discovered, you can indeed access the underlying storage. However, this bypasses everything Nextcloud and you might as well stop using it altogether.



              Because services like ownCloud, Nextcloud or Pydio are designed to be filesystem-agnostic, they don’t rely too much on filesystem features like ACLs and metadata storage, instead implementing these features themselves. If the filesystem goes out of sync with the metadata storage, strange things are bound to happen.



              Depending on your actual requirements (mainly: viewing via browser or even managing via browser) you could instead use a synchronization-only solution like syncthing. It’s Samba-friendly, too.



              Then there are alternative WebDAV clients that may or may not suck less. A quick search turned up ExpanDrive, which is commercial software.



              Seafile (comparable to Nextcloud) offers a “Seafile Drive client” that appears as a drive on Windows: https://blogs.seafile.com/2016/09/02/announcing-seafile-drive-client-a-new-way-to-map-seafile-storage-as-virtual-drive/



              The drive client is supported in the free community edition. However, I found Seafile difficult to set up. It is much more complex compared to Nextcloud. There’s a somewhat working Docker tool available though.






              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote










                How can I access my Nextcloud files locally without cloud sync?




                You don’t. That’s simply not how the service works. As you already discovered, you can indeed access the underlying storage. However, this bypasses everything Nextcloud and you might as well stop using it altogether.



                Because services like ownCloud, Nextcloud or Pydio are designed to be filesystem-agnostic, they don’t rely too much on filesystem features like ACLs and metadata storage, instead implementing these features themselves. If the filesystem goes out of sync with the metadata storage, strange things are bound to happen.



                Depending on your actual requirements (mainly: viewing via browser or even managing via browser) you could instead use a synchronization-only solution like syncthing. It’s Samba-friendly, too.



                Then there are alternative WebDAV clients that may or may not suck less. A quick search turned up ExpanDrive, which is commercial software.



                Seafile (comparable to Nextcloud) offers a “Seafile Drive client” that appears as a drive on Windows: https://blogs.seafile.com/2016/09/02/announcing-seafile-drive-client-a-new-way-to-map-seafile-storage-as-virtual-drive/



                The drive client is supported in the free community edition. However, I found Seafile difficult to set up. It is much more complex compared to Nextcloud. There’s a somewhat working Docker tool available though.






                share|improve this answer













                How can I access my Nextcloud files locally without cloud sync?




                You don’t. That’s simply not how the service works. As you already discovered, you can indeed access the underlying storage. However, this bypasses everything Nextcloud and you might as well stop using it altogether.



                Because services like ownCloud, Nextcloud or Pydio are designed to be filesystem-agnostic, they don’t rely too much on filesystem features like ACLs and metadata storage, instead implementing these features themselves. If the filesystem goes out of sync with the metadata storage, strange things are bound to happen.



                Depending on your actual requirements (mainly: viewing via browser or even managing via browser) you could instead use a synchronization-only solution like syncthing. It’s Samba-friendly, too.



                Then there are alternative WebDAV clients that may or may not suck less. A quick search turned up ExpanDrive, which is commercial software.



                Seafile (comparable to Nextcloud) offers a “Seafile Drive client” that appears as a drive on Windows: https://blogs.seafile.com/2016/09/02/announcing-seafile-drive-client-a-new-way-to-map-seafile-storage-as-virtual-drive/



                The drive client is supported in the free community edition. However, I found Seafile difficult to set up. It is much more complex compared to Nextcloud. There’s a somewhat working Docker tool available though.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Sep 28 '17 at 18:15









                Daniel B

                33.1k75986




                33.1k75986






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1254552%2faccess-nextcloud-files-via-smb-cifs%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Plaza Victoria

                    Puebla de Zaragoza

                    Musa