Nextcloud (pt2) What to do after first installing

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

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

  • @ViratKadaru
    @ViratKadaru Год назад +11

    Just saw another video about Cloudflare Tunnels, would be great to get a part 3 on how to use that instead of opening up ports on the firewall. Thanks for the great video!

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

      I would assume you just point the tunnel towards localhost:{nextcloud port} and that's that?

  • @biofy912
    @biofy912 11 месяцев назад +6

    For people that still see additional warnings, I added the four lines after the line he added in the conf file
    add_header X-Frame-Options "SAMEORIGIN" always;
    add_header X-Content-Type-Options "nosniff" always;
    add_header X-XSS-Protection "1; mode=block" always;
    add_header Referrer-Policy "no-referrer" always;

    • @elcurros
      @elcurros 9 месяцев назад

      add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;";

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

      Thanks!

  • @Travisrogers87
    @Travisrogers87 2 года назад +3

    Great video!! Very excited about the external storage vid to come. Didn’t even realize that was a feature/possibility with nextcloud

  • @redjason2373
    @redjason2373 2 года назад +6

    Thanks for the great videos, they have been a huge help in getting me up and running with my Unraid Server.
    Have a good chrismas and new year kind sir.

  • @Rysho
    @Rysho 2 года назад +5

    Great video as usual. Made setting up simple. Really looking forward to the external storage video!

  • @NickPapandria
    @NickPapandria 2 года назад +12

    For the next video, can you add in information about upgrading the max file size? It's something I see quite often!

  • @joelang6126
    @joelang6126 2 года назад +25

    Might be worth adding tips to speed up NC Ed as it's pretty slow. Php worker limit increase, RAM limits, document previews etc.

    • @justinamrhein5573
      @justinamrhein5573 2 года назад +3

      Agreed. Would really appreciate knowing how to update those things. In the past when I tried to move files they would timeout or fail due to file size contrainsts. Would like to know how to update memoery limit, max execution time, and upload max size. Also, would love to understand how to update nextcloud, as previously, it would consistently timeout and fail through the UI.

    • @Michael-bf4ud
      @Michael-bf4ud 2 года назад +3

      I'd love to see those tips... the base install is so slow sometimes the dashboard icons dont even load....

    • @luciano2001
      @luciano2001 2 года назад

      Same here. Sluggish/slow GUI, even though all my files are on cache drive. My network connection is 1GB fibre.

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

      Assumed it was something wrong with my setup/system. 15 sec to log in, took about 30 sec to watch the sample video lol. I'm seeing a lot of comments taking about edits that can be made to different files. Would love to get confirmation of these from the man himself. *fingers crossed*

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

      Besides moving appdata/ to cache, make sure that unRAID system/ is also on cache preferred. That's where the docker.img defaults too. If you forget to do this step, you have to STOP docker service in settings then invoke the mover to get the docker.img to move.

  • @sunshine86753
    @sunshine86753 2 года назад +1

    Just in time for me to slack off at work during a holiday week. Thanks SiO!!!

  • @blackcube4
    @blackcube4 2 года назад +1

    I'm really looking forward to the next video! Great work👍🏻

  • @funcrush9968
    @funcrush9968 2 года назад +1

    i love you, SpaceinvaderOne.

  • @come2getyou322
    @come2getyou322 2 года назад +1

    Always great stuff. You’re the best doing it.

  • @valerynovoacolas9579
    @valerynovoacolas9579 2 года назад

    I'm just waiting for the 3rd part.....awesome!!!!

  • @swoopedify
    @swoopedify 2 года назад +13

    Not sure if there is a more elegant fix but the first thing my wife mentioned was that the video files on nextcloud do not show thumbnails. I was able to fix this by editing the config.php 'enable_previews' => true,
    'preview_max_x' => 1000,
    'preview_max_y' => 1000,
    'enabledPreviewProviders' => [
    'OC\Preview\TXT',
    'OC\Preview\MarkDown',
    'OC\Preview\PDF',
    'OC\Preview\MSOfficeDoc',
    'OC\Preview\JPEG',
    'OC\Preview\PNG',
    'OC\Preview\GIF',
    'OC\Preview\BMP',
    'OC\Preview\XBitmap',
    'OC\Preview\MP3',
    'OC\Preview\HEIC',
    'OC\Preview\Movie',
    'OC\Preview\MKV',
    'OC\Preview\MP4',
    'OC\Preview\AVI',
    ],

    • @swoopedify
      @swoopedify 2 года назад +2

      Wife Proof Update 12/23 - I was receiving an error when uploaded larger files through the web interface 502 Error when assembling chunks also checking the nginx error.log in the nextcloud container I found I was having a upstream timeout error. I found a fix to this by adding the following settings under the /appdata/nextcloud/nginx/site-confis/default file in the location ~ \.php area by the fastcgi settings I added fastcgi_connect_timeout 60; fastcgi_read_timeout 1800; fastcgi_send_timeout 1800;

    • @pierrecastanets1974
      @pierrecastanets1974 2 года назад +1

      @@swoopedify great additions Brad

    • @ericbrusset7211
      @ericbrusset7211 2 года назад +1

      Thank you! This worked perfectly

  • @Mushleman
    @Mushleman 2 года назад +9

    Thanks for the video. do you have a fix for this security error
    Your web server is not properly set up to resolve "/.well-known/webfinger". Further information can be found in the documentation ↗.

    • @justangvano
      @justangvano 2 года назад +1

      I also require the fix for this. Found one place on reddit that looks at it but I don't really understand how it works.

    • @danielcollins7714
      @danielcollins7714 2 года назад +1

      +1 for this

    • @MrMischelito
      @MrMischelito 2 года назад +1

      +1

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

    I saw someone else post this below, but adding this here to help others needing more visibility. Here are the commands mentioned in the video:
    add_header Strict-Transport-Security "max-age=15552000; includeSubDomains; preload;";
    'default_phone_region' => 'US'

  • @BerkeleyTowers
    @BerkeleyTowers 2 года назад

    Excellent, thanks Ed............... can't wait for the next and external storage...... I've tried and failed miserably..... I think I'm close, but I'm missing an essential step somewhere.....

  • @zactowermaster5876
    @zactowermaster5876 2 года назад +1

    Thanks a lot for all your videos. I discovered your videos earlier last year when trying to set up unraid for first time - it has been a relatively painless journey thanks to all your videos. Can I request you to create a tutorial on setting up wireguard VPN (if you hvent already got one) and some of the challenges we will run into, while trying to access LAN(Static routing etc). Also complications that come up if using Pi-hole and the best way to resolve them etc. Thanks again for the very informative videos

  • @mrsittingmongoose
    @mrsittingmongoose 2 года назад +1

    Copying this from your Reddit post.
    Well that fixed two of my errors but I still have a ton of errors that are mostly missing indexes and keys that Im clueless about. I installed nextcloud long ago with his old tutorial. There's always been a few listed.
    The one remaining warning in yellow/orange is:
    "The "X-Frame-Options" HTTP header is not set to "SAMEORIGIN". This is a potential security or privacy risk, as it is recommended to adjust this setting accordingly."

    • @Andrew-em6mt
      @Andrew-em6mt Год назад +1

      I had the very same issue. What fixed it for me was that I had an extra line in my proxy config file towards the very bottom.
      So at 4:11 where he opens the config file to add the extra information, I noticed at the very bottom of the config file that I had an extra line of information, just above where it says proxy_max_temp_file_size 2048m;
      The extra information was: proxy_hide_header X-Frame-Options;
      I just deleted that line > ctrl+O > ctrl+X > restarted swag > issue resolved....at least for me it was.

  • @noorberty
    @noorberty 2 года назад +4

    Can you do video with onlyoffice integration and remote access please?

  • @heathacurtiss
    @heathacurtiss Год назад +4

    When installing, I got an error that read: The "X-Frame-Options" HTTP header is not set to "SAMEORIGIN". This is a potential security or privacy risk, as it is recommended to adjust this setting accordingly.
    It took me forever to figure out the solution, but in the end, it was as easy as editing the following file:
    /mnt/user/appdata/swag/nginx/ssl.conf
    By uncommenting out (delete the number sign preceding) the following line:
    add header X-Frame-Options "SAMEORIGIN" always;
    Then restart the Swag and Nextcloud containers. That fixed it for me. I struggled to find that solution anywhere online.

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

      Thank you, had the same warning. Your solution fixed it for me.

  • @JackosGame
    @JackosGame 2 года назад +2

    Aw man, I somehow got myself into a login loop. Happened right after I added my phone region for some reason. I tried reverting the HSLS settings and phone region settings, but still can't login via the reverse proxy on windows. Works on android through the proxy and works via my local IP

  • @DrBackBeat
    @DrBackBeat 2 года назад +2

    For the ones unable to connect to Nextcloud after adding the default_phone_region line, I've made the mistake of following Ed's guidance a bit too literally. Adding the line after the trusted_proxies linke broke the file for me, because after that line the parameter of that function (am I saying this right) is stated so I inserted the default_phone_region line within a parameter. Choosing another place for it solved my problem.

    • @Ianw192
      @Ianw192 2 года назад +1

      Thanks, this fixed the internal error for me.

  • @Zeze21
    @Zeze21 2 года назад +3

    Absolutely fantastic video as always. I have two questions for Ed (and all the others out there): Has anyone face recognition gotten to work properly? This would I think help sort (autotag) my pictures.
    Second: Ed you said in the review video of th elast rc version of unraid you were going to do a video about working and gaming vms. I would love those (especially vms with multi monitor support) Thank you so much!

  • @erhancevik6454
    @erhancevik6454 2 года назад +1

    Hi @Spaceinvader One
    if is Possible for you to make a totorial about how can use the Array disks together maybe use 1 share with all disks (50TB) for Nextcloud
    thank you verry mutch :)

  • @ceefka
    @ceefka 2 года назад +2

    Thank you so much for your videos on this. Do you have any reccomendations how to configure file size limitations on upload? I keep having problems with it even if there is a lot of information on this out there. Same as reassembling chunks of data from bigger uploads gives me errors. Would be very happy if you know a good source for reading etc.

  • @bigbin1070
    @bigbin1070 2 года назад +2

    Thank you! I followed your previous videos to setup and everything works absolutely fine, I do have one question, large file sync/upload seems to have issue, file size seems to be 1gb but 750mb files also fails, my server have 16gb ram and I use swag/nextcloud combo. How do I increase this limit?

  • @doodysun
    @doodysun 2 года назад

    Thanks for the great video

  • @alikus727
    @alikus727 2 года назад

    thanks heaps Ed.

  • @pereraronshi
    @pereraronshi 2 года назад

    Thanks for all the awesome UNRAID tutorials. Would never have been able to get everything setup without these. Can you please do a video on how to backup Nextcloud and all its data plus do a restore with it? There wasn't much information I could find on the Web especially related to Nextcloud on Unraid. So far I have the appdata folder and the Nextcloud share backed up with Duplicacy. Not sure if this is all I need to restore Nextcloud due to the database and indexing etc.

  • @wstaten
    @wstaten 2 года назад

    Great video thanks!

  • @fotisalexopoulos1035
    @fotisalexopoulos1035 8 месяцев назад +1

    could you please help me with the following " 2 errors in the logs since December 13 "

  • @bmo419
    @bmo419 2 года назад +2

    Thanks for these videos! Got Nextcloud installed behind a reverse proxy on my Unraid server thanks to your first video in this series. Use it mainly for photos storage from my phone. I'd love to see how to get the Image Preview Generator app working for Nextcloud. I can't get the Cron job commands required for it working at all. Keeps saying wrong user or command doesn't exist or something.

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

    I would very much love a video on setting up the face recognition app. I have tried looking at the installation docs but can’t seem to run the commands they tell me. Would find it very helpful to use AI on my thousands of photos within Nextcloud.

  • @onestopviewfiles
    @onestopviewfiles 2 года назад +2

    23:36 rickroll opportunity

  • @Michael-bf4ud
    @Michael-bf4ud 2 года назад +3

    I'm using NGINX instead of Swag... any idea how to address the security issue / config with NGINX instead of SWAG?

    • @lipfilmproduktion2561
      @lipfilmproduktion2561 2 года назад +1

      Edit the host, go to the SSL tab and enable HSTS

    • @Andrew-em6mt
      @Andrew-em6mt Год назад +1

      @@lipfilmproduktion2561 I was so excited to see this message, but looks like it was already enabled, even HSTS Subdomains. I checked the config file in NGINX for the nextcloud subdomain and it already has the command line mentioned to fix the issue. although its a bigger number which shouldn't matter.
      I use cloudflare and i have HSTS enabled there as well. So no idea why its like this.
      I'll have to keep hunting for a solution

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

      @@Andrew-em6mt same issue. Did you get this figured out?

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

    Great video! During the security set up for me I had additional warnings.
    I had to go to /mnt/user/appdata/swag/nginx/ssl.conf and delete the comments (deleting just the #) in front of the needed headers.

  • @zaidroidblog
    @zaidroidblog 2 года назад

    Hi Ed, first thanks for all videos you make's it's very helpful, second i had problem with NC it was very slow until i changed the appdata path from "/mnt/user..." to "/mnt/cache..." that's made NC faster, but I still have this problem with sync larg files it's too slow and sometimes it's kill my home network and I need to reboot the router!! if you can help me with that I'll be thankful.

  • @divingaquarist
    @divingaquarist 2 года назад +1

    What is the easiest way to backup the nextcloud data? I'd love to be able to backup the files that are on the nextcloud of a user to an external drive or a different HDD in my server. Last thing I want is to accidentally erase someones files when I'm messing around with Nextcloud.

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

    Hello, if I did'nt configure swag and I use nextcloud inside tailscale, which file do I need to change for solving the "Strict-Transport-Security" alert, please?

  • @TH-X1000
    @TH-X1000 2 года назад

    My problem with NC is that it doesn't do well with large amounts of files .. it gets very slow and then can't catch up... Great tutorial though, I would just warn people not to rely on it. I think syncthing is far better suited and easily handles large amounts of files

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

    Love all your videos as I have newly purchased Unraid. Have you created a tip video on how to create video thumbnails? This is a bit of a frustration for the family as I have asked to leave Google for this. Thanks.

  • @jdbaron25
    @jdbaron25 2 года назад +1

    I have 2 unraid servers. Any thoughts on backing up the nextcloud data from one server to another? I don't need two next cloud servers, but just backup the data.

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

    Cheers for the videos but it’s sooo slow.. what can I do? I had it running on truenas and it was really really quick. My unraid severer is pretty beefy so it’s something I’m missing?

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

    hi, does anyone know how to clear this error message "The "X-Frame-Options" HTTP header is not set to "SAMEORIGIN". This is a potential security or privacy risk, as it is recommended to adjust this setting accordingly." thanking you in advance
    indy

  • @Gragorg
    @Gragorg 2 года назад

    Great Video again. Did they every fix onlyoffice?

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

    anyway to connect to this if its behind zero trust and im outside my house?

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

    The option in gmail to use less secure passwords is no longer available. (since May 2022)

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

    Hey guys, strugling to find where the virtual files feature is on mac, any help would be apriciated.

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

    2 years later and it seems like the email setup is not working as of June 11th 2024.

  • @kylequinn1963
    @kylequinn1963 2 года назад +1

    The only issue I've been having with Nextcloud is that the apps for editing documents in the cloud don't work at all with this docker.

  • @ericbrusset7211
    @ericbrusset7211 2 года назад +2

    Ed, thanks for another awesome video. Any idea what I might need to do if the error at 4:42 isn't gone after adding the header in swag? Swag log isn't showing any errors. I double checked my work in the first video and all is correct. I saw comments online that HSTS settings in Cloudflare could be the issue. After enabling HSTS in Cloudflare, the issue persists.
    If anyone has experienced this and fixed it, I would appreciate the help. Thanks!

  • @emrelabarjr6803
    @emrelabarjr6803 9 месяцев назад

    With cloudflare, how do i get this to work with the Desktop App and Mobile App?

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

    Hi Spaceinvader One! - I hope you're doing well. Thanks for this video again! But under the Mail-Module I've a big problem: It seems because of an UTF8 / UTF8MB4 problem my Inbox is flashing / loading forewer. It shows the correct amount of E-Mails (Inbox), but it's always blinking and loading. The mails under "Sent" are shown correctly. Perhaps I've to mention, that I live in Germany where we need letters like "ä, ö, ü". I've read, that there's no UTF8MB4 compatibility which is needed if there are emoji's... Wastet my whole weekend - Can you help me in this case, please?

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

    I just installed nextcloud... Again. It totally broke down this time. Clean install via unraid using sqlite. I have so many errors and warnings that Seen to be unfixable that i immidiatly want to uninstall it again. I know so many good open source projects, this isnt one of it.
    The Main thing that did it for me is that i cannot install addons.

  • @WastedMoment
    @WastedMoment Год назад +4

    If anyone is doing this now, and is getting the security error: "The "X-Frame-Options" HTTP header is not set to "SAMEORIGIN". This is a potential security or privacy risk, as it is recommended to adjust this setting accordingly."
    At 4:11 when he is in the nextcloud.subdomain.conf file, add the line " add_header X-Frame-Options "SAMEORIGIN" always; " right below the line he inputed " add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;"; "
    it'll fix that error message, at least it did for me.

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

      Thank you Randy! Very useful indeed

  • @BloodshedRomance
    @BloodshedRomance 2 года назад

    we need a guide for installing preview generator so we can see previews of our files :)

  • @doodysun
    @doodysun 2 года назад

    Would you please make a video on installing multiple gaming VMS on PC.like four gamers on one pc.

  • @Shaq2k
    @Shaq2k 2 года назад

    Nice. But can you do a video on how to use REDIS in Nextcloud on Unraid?
    Thanks

  • @toolbelt7439
    @toolbelt7439 2 года назад

    No matter what I tried, I cannot see the calendar, talk, email or even the external website I just configured at the top. Very odd (and all these apps are 'featured')

  • @KikkawaRyu
    @KikkawaRyu 2 года назад

    I used an older guide of yours to install Nextcloud, got it all up and running but its been getting slower and slower over time running MariaDB for the SQL about 20gb storage for biggest user and only 2 total people use it, is there a way to speed it up at all? Even clicking into an empty folder takes 30 seconds

  • @turkeyphant
    @turkeyphant 2 года назад +1

    Nextcloud client won't install on Windows :(

  • @YoutubeHistorian1999
    @YoutubeHistorian1999 2 года назад

    I was not able to login to nextcloud with my database. it says i do not have the correct authorization

  • @spartan3263
    @spartan3263 2 года назад

    ive searched and searched and cannot figure out my issue.
    Any way you could do a video or just explain what's going on.
    My nextcloud server worked flawlessly after setting it up then something happened with my dns.
    now i cant access nextcloud through the webui i get this error
    "Your data directory is invalid
    Ensure there is a file called ".ocdata" in the root of the data directory."

  • @user-dr2pg8fk2i
    @user-dr2pg8fk2i 3 месяца назад

    The regional phone code bit broke my Nextcloud install. What the heck.

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

    Also, spaceinvader can you please do an update to the onlyoffice integration? i tried following your video from a few years ago, instead of using letsencrypt using swag, and I keep getting a lot of log file errors for nginx: [emerge] "proxy_redirect" directive is duplicate

  • @BTC100KA
    @BTC100KA 2 года назад

    Can you do a video on nextcloud with cloudflare with proxied DNS enabled?

  • @TheENGR317
    @TheENGR317 2 года назад +1

    After this fix, i STILL get the STS error.... please help.. i am running version 22.2.3 in unraid

    • @WhosTheMuse
      @WhosTheMuse 2 года назад

      Are you proxying via CloudFlare?

    • @DuRtyThuRdY
      @DuRtyThuRdY 2 года назад

      @@WhosTheMuse Yes do I need to do something cloudflare side?

    • @christian2809
      @christian2809 2 года назад

      did you find a way to fix this?

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

      I'm getting the same thing also. Did anyone find out why? Do we need to turn proxying off in CloudFlare?

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

      Ok, I just had to restart the swag container and fixed the error on nextcloud.

  • @Theexplorographer
    @Theexplorographer 2 года назад

    Can you do a tutorial on how to fix this error: MySQL is used as database but does not support 4-byte characters. To be able to handle 4-byte characters (like emojis) without issues in filenames or comments for example it is recommended to enable the 4-byte support in MySQL.

    • @ugh.idontwanna
      @ugh.idontwanna 2 года назад

      Did you follow his guide in part one where he set up MariaDB?

    • @Theexplorographer
      @Theexplorographer 2 года назад

      @@ugh.idontwanna Yep. I follow all of his videos. This is the only area I have had an issue.

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

      @@Theexplorographer Me too - It's still a big issue. I think that haven't to do so much with the database, but moreover with the iconv()-Module.

  • @officialrhythmicthoughts
    @officialrhythmicthoughts 2 года назад

    When are you gonna show us how to install onlyoffice if I may ask

  • @ivanjuarez1412
    @ivanjuarez1412 2 года назад +1

    First ever!

    • @ivanjuarez1412
      @ivanjuarez1412 2 года назад

      I don't use LSIO but no matter what, every time you do a video you fix something that i needed fixed for along time, awesome!!

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

    Commands:
    add_header Strict-Transport-Security "max-age=15552000; includeSubDomains; preload;"; 'default_phone_region' => 'US',

  • @RR185
    @RR185 2 года назад

    Hey SOne, thanks for your great videos! You are my one-stop source for setting up my server.
    I set up nextcloud 1:1 as your two-part manual describes, including swag, cloudflare and the whole nextcloud config.
    Unfortunately I am continuously receiving an error in nextcloud "Allowed memory size of 536870912 bytes exhausted (tried to allocate 909636696 bytes) at /config/www/nextcloud/lib/private/Files/Storage/Local.php#291"
    Also, and I presume because of this error, folders with large amount of files, like my iPhone media backup, have an issue with indexing. I notice this when trying to access the folder from my mobile device as it doesn't show any files in this folder at all.
    I have already searched for solutions to this particular error, yet I cannot find any solution for it regarding it being on an unRAID server. Could you possibly help me out here, please?