Nextcloud Installation - Part 7 Nextcloud External Storage Support (SMB/CIFS)

Поделиться
HTML-код
  • Опубликовано: 25 авг 2024

Комментарии • 41

  • @prrar
    @prrar 11 дней назад +1

    Thank you so much for your tutorial. I’ve watched all the videos and finally could install Nextcloud fresh without any errors or warnings. I’ve migrated from the TrueNAS app to a clean one thanks to you.

    • @geek2gether469
      @geek2gether469  6 дней назад

      Thank you for your feedback. Please like share and subscribe

  • @dnadna534
    @dnadna534 Час назад

    Maybe you can help me, I can only open mp4 files on my host machine. I can't open mp4 files on any of my network devices.

  • @sale666
    @sale666 3 дня назад

    Thank you for this! Just for some odd reason my IP 192.168.0. 5 would not work but the name of the server "server2024" worked.. very strange but hey it works!

  • @Luismaia00
    @Luismaia00 4 месяца назад

    Thanks alot works like plug...

    • @geek2gether469
      @geek2gether469  4 месяца назад

      Thank you for watching. Please like share and subscribe .

  • @MangustaMG20
    @MangustaMG20 7 месяцев назад

    Thanks for the video. I managed to install SMB support and get it working like you. There are, however, some concerns. It looks like something isn't working well with permissions, and it seems very non-performant (slow). When adding file->editing from NC, I got quite erratic behaviour. I had full access control from the Windows SMB side, but NC seemed to lock out files it actually owned. I really don't think the permissions/access control thing is working well here.
    I had a lot more success simply mounting an NFS share within NC (Ensure the user:group permissions are correct though - You need to add your username to the www-data group, AND add www-data user to the users group).
    Beware : I have discussed this a lot on the NC forums, and everyone there advises to NOT undertake any NFS/SMB remote change kind of operation (changing/deleting content outside of NC control) - It's just not designed for this sort of thing apparently and could result in data loss. They ALL encourage the use of WebDav (which I couldn't get working)

  • @stone22121978
    @stone22121978 8 месяцев назад

    Very Nice Thank you

    • @geek2gether469
      @geek2gether469  8 месяцев назад

      Thank you for watching, please like share and subscribe.

  • @rkbest9783
    @rkbest9783 11 месяцев назад +1

    Great video! Is this method same as using Linux mount with fstab? I am also using truenas share but I have failed every time when it comes to permissions and nextcloud aio being able to write to the nas directory .😢

    • @geek2gether469
      @geek2gether469  11 месяцев назад

      Thank you for watching. This is different from mounting shares using fstab in Linux. What permission issues are you having?
      You can use my discussion forum to ask a question and post questions about errors and I can assist you resolve them. Please provide as much information as you can. Screenshots are helpful but make sure you remove all sensitive information.
      geek2gether.com/forums/nextcloud/

  • @genshinimpactjoki5393
    @genshinimpactjoki5393 Месяц назад

    can we make SMB external storage as private folder for each user? i see some documentation suggest to use $user on Remote subfolder, but i think thats not work. or maybe we have to do something on nextcloud or the truenas?

    • @geek2gether469
      @geek2gether469  Месяц назад +1

      If I understand you correctly you want all user data to be stored on an smb share. The most effective way is changing the entire nextcloud data directory to use an smb share mounted. Note this may slow down your nextcloud depending on your connection speed and how fast your smb share is.
      I have a video here on how to change data directory: m.ruclips.net/video/Rk3kYCyY5ro/видео.html
      But in your case you will manually mount the smb share and make sure it is always mounted on boot then follow the video to change the data directory.

    • @genshinimpactjoki5393
      @genshinimpactjoki5393 Месяц назад

      @@geek2gether469 thanks man, thats a lot easier than my thought before.

  • @rentacowisgoogle
    @rentacowisgoogle 4 месяца назад

    When I try to enable the external storage app I get an error...
    "Error: This app cannot be enabled because it makes the server unstable"
    Any ideas? Some posts online mention that it might be a bug with the latest version.

    • @geek2gether469
      @geek2gether469  4 месяца назад

      I have seen some people have this issue, it looks to be a browser compatibility issue after the new update. What browser are you using? Try using a different browser or your mobile phone to sign in and enable the app and see if that works.
      Another option will be using the command line occ commands to enable the app if your comfortable. The command will be :
      sudo -u www-data php8.7 /var/www/nextcloud/occ app:enable files_external
      Replace /var/www/nextcloud with the path to your nextcloud install. Also replace php8.7 with your php version.
      Please like, share and subscribe.

    • @rentacowisgoogle
      @rentacowisgoogle 4 месяца назад

      @@geek2gether469 the occ command worked! "occ apps:enable external_storage" in the docker terminal. I'm up and running!

    • @geek2gether469
      @geek2gether469  4 месяца назад

      Awesome, glad I could help.

  • @teknisisotoy5250
    @teknisisotoy5250 2 месяца назад

    for nextcluod in snap, how to add smbclinet?

    • @geek2gether469
      @geek2gether469  2 месяца назад

      It is different for snap because of it’s containment. See their guide here : github.com/nextcloud-snap/nextcloud-snap/wiki/How-to-add-samba-shares-and-local-shares

  • @frankyvee1
    @frankyvee1 Год назад

    I'm running NextCloud on TrueNAS Scale server. How do I install SMB Client on NextCloud portion? Since TrueNAS already has it's own SMB client. I have been stuck with this issue for months now.

    • @geek2gether469
      @geek2gether469  Год назад

      Thank you for watching. In general with TrueNAS it depends on what you are trying to accomplish.Well you have two options, since you are using TrueNAS:
      Option 1: if the share your trying to mount is on thesame TrueNAS server you can mount the share directory to the nextcloud jail and use it as your data directory.
      Option 2: To install smbclient to your TrueNAS jail, there are some changes that need to be made in the command line. Watch the video below:
      ruclips.net/video/C4QsRxX4nz0/видео.html
      I hope this helps. If you have more questions , check out our geek2gether|hub community where you can post questions or search similar questions already answered and get the opportunity to chat with moderators and one on one assistance for free.

  • @SunServerX
    @SunServerX 6 месяцев назад

    Hi, thanks for the Video.
    I have a small issue, Can we share the external storage like internal storage? create share link of our file?

    • @geek2gether469
      @geek2gether469  6 месяцев назад

      Thank you for watching. Yes ! Once you mount your external storage to nextcloud, a user with the appropriate share permissions can share it as a link .

  • @Guavaya
    @Guavaya Год назад

    Please talk about any of this; nextcloud office, onlyoffice, or office online. Thanks

    • @geek2gether469
      @geek2gether469  Год назад +1

      Thank you for watching. I have a video for setting up onlyoffice in nextcloud here: ruclips.net/video/d-mAT_StyeY/видео.html

  • @minibotpc
    @minibotpc 10 месяцев назад

    Im on Debian and when i try to install SMBCliant, the process isn't anywhere near as long as yours... its literally a few lines of code and its done. Ontop of that, when i try to restart Apache2 it says the service apache2.service not found. Any help with this? Thanks!

    • @geek2gether469
      @geek2gether469  10 месяцев назад

      Thank you for watching. It seems like you didn’t watch the video whole video so I’m not sure what you mean but the process of installing the php smb client as required by Nextcloud, is a one line command:
      apt install php-smbclient
      However, to restart Apache use the command:
      sudo service apache2 restart
      If the command says service not found then you don’t have the Apache2 module installed.

    • @minibotpc
      @minibotpc 10 месяцев назад

      @@geek2gether469 Hi, thanks for replying. I jsut ran the command sudo install php-smbclient and it comes back with an error package php-smbclient is not available, but is referred to by another pacakge. this may mean that the package is missing, has been obsoleted, or is only available from another source. E: Pacakage 'php-smbclient'has no installation candidate. Is there a prerequisite to this that i need to run? Thank you

    • @geek2gether469
      @geek2gether469  10 месяцев назад

      My apologies but Debian uses a different package. Here is the command to get it working:
      apt -y install smbclient
      Note: I tested it on a debian vm with nextcloud and it works. Make sure you refresh the page webpage after install for the smb option to show up.

    • @Lepelot
      @Lepelot 3 месяца назад

      @@geek2gether469 Hello, I install nextcloud using your video part 1 and its working fine. I installed smbclient as indicated here and now I have this same "apache service not found" issue; can you help with installing Apache ?

  • @yougoo9116
    @yougoo9116 Год назад

    How can I access that window to input the commands? 02:53

    • @geek2gether469
      @geek2gether469  Год назад

      Thank you for watching. You will use ssh to connect to the Linux machines command line interface.

  • @Cerphentos
    @Cerphentos 5 месяцев назад

    Hi! great video, is there any way to make this external storage folder as the root folder? i want to save everything in the external drive so it's a bit tiresome to enter an additional folder everytime i access nextcloud.

    • @geek2gether469
      @geek2gether469  5 месяцев назад

      Thank you for watching. For you to use an external storage as nextcloud's data directory, below is a video you can follow;
      ruclips.net/video/tbh3fpzIwbI/видео.html
      However you have to mount the share on your linux machine before following the steps. Also make sure www-data has the necessary permissions on that share and do not forget to make the share mounted automatically during reboots.

  • @jeredferrin6406
    @jeredferrin6406 5 месяцев назад

    Thank You, Very helpful
    NC document was not helpful.

    • @geek2gether469
      @geek2gether469  5 месяцев назад

      Thank you for watching. Please like share and subscribe