The following worked for me: - just in case, back-up all your files to an external drive. You can copy your files directly from your nextcloud folder on your array to your external drive. - either delete your old nextcloud folder, or rename it. Now install Nextcloud AIO with the folder naming of your choice. - complete the nextcloud AIO install. - now, add the EXACT same users as on your old nextcloud instance. - copy your files, which you backed-up on an external drive, to the new nextcloud folder on your array. - use the following command to let nextcloud aio scan all the folders and its content on the array: sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ files:scan --all - this command is to be used in the standard unraid terminal. - if not all files show up in your nextcloud aio instance, you may need to re-name some folders in your nextcloud-folder on your array. Hope this helps :)
@@wollensokje1112 Thanks for this - it's fine for basic Nextcloud migration. However, it won't deal with and files / folders you've set to share, or any apps and custom settings.
I was just about to go through the headache of getting my old nextcloud up and running after it stopped working a few months ago... You did it again! Thanks for your help mate, keep up the great work :)
I second this. I Originally setup my NextCloud with Only Office using your older videos. Any chance you can create a video on how to migrate to NextCloud AIO
I was about to abandon my old Nextcloud instance. It's had endless problems since they changed how updates work etc. This tutorial is perfect timing, thanks so much Ed!!!
I'm new to unraid and had Nextcloud at the bottom of my list of Docker containers to install, but with this video and AIO, Nextcloud is now top of list. Thank you for making such excellent helpful videos! 👍
Is there an easy way to transfer data from a nextcloud you already have set up to this version? Seems like this one is better than prior nextcloud setups.
Great Video. Only thing, it seems connecting always via the Cloudflare tunnel only. Now with my relatively slow Internet the responsiveness is quite laggy. Any option if in home network to connect directly without Cloudflare tunnel? Does it make sense to combine the Cloudflare Tunnel with Swag? Would be a good addition to your Tailscale with Swag Video. THX
great video as always. just that once it have an update, it will forever show update available in the dockers tab eventhough u already update in inside the nextcloud master container
Aren't there issues with Cloudflare tunnel + bigger file sizes (over 100 MB)? Or is Nextcloud supporting chucked upload, so that there is no issues uploading bigger files? In immich I'm having the same issue, I can't upload bigger videos, as soon as they are bigger as 100 MB (few minutes long videos), when going over cloudflare tunnel.
Tried to set it up 3 years ago and failed, miserably. Now it's just working, so thank you very much! Just one question; It seems that that 'WOPI' setting in the admin-account, the line that we needed to remove during installation, resets to its default setting. So after a few days I get this message with trying to open a document. "Unauthorized WOPI host. Please try again later and report to your administrator if the issue persists." Then I have to go back and re-delete the 'WOPI' setting in the admin-account.
does the docker container automation (this one container creating all sorts of other containers) already create custom networks in unraid (explaining why we need this: Additional Requirements Preserve user defined networks: should be enabled as container uses custom docker networks)?
Love your stuff mate, however, this one could use some more in depth information such as why it creates its own docker network and why you can only navigate to the none aio dashboard when using the bridged network for your master container this messes with the traditional keep everything segregated withing unraid by using docker networks and I wonder is this method less secure, I will agree it seems to be a much easier way for you to get nextcloud up and running but gives you far lets customizability in terms on config modifications and fixing errors, well that is what I have found. I would love a follow up with some reasoning and more in depth information like your other videos usually have. On a side note Nextcloud still has a very very long way to go for usability i mean placing a strict header requirement for only two and no more otherwise it shows an error is rough.
This is amazing. So much easier than it used to be. I do have one question is there a plan to use Valkey instead of Redis in the future? Or is there a way to manually do this?
how is the updating experience? I ditched regular nextcloud because updates have to be done inside the app and kept failing and bricking the container.
Thanks for this great Video. I have one issue: When i restart my unraid server, the main AIO Container Starts but Not the other Containers. I have to do this manually in the AIO Dashboard. Do you have a solution for this? Thanks
I just wonder how it compares in terms of speed and usability to standard Nextcloud. Currently we have around 100gb of photo in 3 users and I see no issues with speed. I am using it with Maria db, redis, and preview generation for miniature photos. Will I see significant improvement somewhere?
Great videos, as usual. I am a little confused on the bind mounts section, though. What if you already have an existing unraid setup using a docker volume and app data file structure? Will Nextcloud AIO try to use that instead?
Thanks, that was a great video. I use Traefik, and I'll have to adjust this a bit to use that. I have a few questions. First, I am trying to mount another folder unraid to Nextcloud, but the "Local" option to add an external drive is not present. Can you help with that? The other one is, is there an NVIDIA GPU support docker that can be added to Nextcloud? Is that something that can be done here?
I wonder does the aio have GPU support. I have had issues attempting to run anything that could use my GPU. From the recognize app and a.i integration.
Did not go well for me. After deactivating docker and turning on 'Preserve user defined networks' I turned docker back on. It kept spinning for about 30 minutes and now just shows 'Docker Service failed to start'. At the bottom next to 'Array Started' it still says 'Starting services' after ~ 1 hour. Any ideas how to bring it back to life?
Does Cloudflare tunnel have a limit on filesize? I am having trouble with your previous tutorial on IMMICH and large files using the tunnel method. Someone mentioned that Cloudflare was the issue.
Same issue.. took me a while to figure out the root cause as photo/video uploads would fail, I kept thinking it was due to iCloud. Now I just use the local IP at home to upload and use wireguard vpn on iPhone to connect to local n/w when I want to backup offsite.
How on earth do you erase everything? I need to start from scratch due to a domain issue. I've deleted everything in the nextcloud share folder we made and uninstalled the program. I don't see anything in Appdata. When I reinstall the app it takes me to the login screen and asks for my password when I don't have/want. I want to scrub everything and start fresh. Where is it storing this data I need to delete?
open terminal, type in "docker volume ls" and then once you see the volumes, you type in "docker volume rm" followed by each volume name. Repeat "docker volume rm" for each volume name.
@@williamclark3141 You have to use the "docker volume rm" command to remove all the nextcloud-aio-* volumes there are 6-8 volumes that need to be manually removed
i am not able to login at all after all service started. tried to reinstall it and found i cannot fully uninstall this. its saved somewhere in unraid because the initial setup still shows all the previous settings. how the heck do i wipe it?
hi you will find that in all versions. just goto the setttings>docker then stop the service and in top right click show advanced and you will see it :)
@@Mike_v_E If you didn't see the benefit from backing up and restoring the whole Nextcloud deployment in such an effortless way, i urge you to watch the video since your comment is a clear indication you didn't watch or understand it.
Could not enter terminal... it would open... but close almost immediately right after. It happened repeatedly. *Edit* resolved after update to beta 7.0.0-beta 4
Update: I figured out the errors and posted how to fix. Original post: Help. How do I clean thus up: ERRORS - Some headers are not set correctly on your instance - The `X-Content-Type-Options` HTTP header is not set to `nosniff`. This is a potential security or privacy risk, as it is recommended to adjust this setting accordingly. - 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. - The `X-XSS-Protection` HTTP header does not contain `1; mode=block`. This is a potential security or privacy risk, as it is recommended to adjust this setting accordingly. - The `Referrer-Policy` HTTP header is not set to `no-referrer`, `no-referrer-when-downgrade`, `strict-origin`, `strict-origin-when-cross-origin` or `same-origin`. This can leak referer information. Also: One or more mimetype migrations are available. Occasionally new mimetypes are added to better handle certain file types. Migrating the mimetypes take a long time on larger instances so this is not done automatically during upgrades. Use the command `occ maintenance:repair --include-expensive` to perform the migrations.
Found how to fix the mimetype migration issue. Here's how to do it: 1) Access your Unraid server's terminal or SSH into it. 2) Find the Docker container ID for your Nextcloud AIO instance by running: docker ps | grep nextcloud-aio 3) Once you have the container ID, execute the following command: docker exec -u www-data -it [CONTAINER_ID] php occ maintenance:repair --include-expensive Replace [CONTAINER_ID] with the actual container ID you found in step 2. This command will perform the necessary mimetype migrations, which may take some time depending on the size of your Nextcloud instance. 4) After the command completes, restart your Nextcloud AIO container to ensure all changes take effect: docker restart [CONTAINER_ID]
@@almulder10 Appreciate this, unfortunately it didn't work for me. Gave me this error: unable to find user www-data: no matching entries in passwd file
@@JeffAldeghi make sure you are connecting to the correct docker as I had the same issue, look for the container id for "nextcloud/aio-nextcloud" the container id it the sting of random numbers and letters. should look something like this: ba34c32bd24 nextcloud/aio-nextcloud:latest the "ba34c32bd24 " is what your looking for, so the command would look like this: docker exec -u www-data -it ba34c32bd24 php occ maintenance:repair --include-expensive Hope that helps. Just make sure to change the container id to what yours is.
For the headers issue, thats is a swag issue, you need to add the correct line into your conf file for you nextcloud. Also be aware that the swag file ports needs to be 11000 and set to http not https. then this needs to also be added: proxy_hide_header X-Frame-Options; proxy_hide_header X-XSS-Protection; proxy_hide_header X-Content-Type-Options; proxy_hide_header Referrer-Policy; 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 "strict-origin-when-cross-origin" always; add_header X-Robots-Tag "noindex, nofollow" always; add_header X-Permitted-Cross-Domain-Policies "none" always; proxy_max_temp_file_size 2048m;
I still find it much easier to setup a cloud with proper security using synology. I would never use next cloud on true nas or unraid, just too risky. Just use a separate cheap NAS to do basic cloud stuff , that is properly updated with security . I highly recommend the DS224+ only paid 240.00 USD on sale and 24 bucks to upgrade to 18GB of ram which will allow me to do one VM. I still use unraid for plex and other tasks, seedbox, VMs etc. My upload speed is crap anyway
Great video Ed! Anyone know to how to increase the file size limit of Nextcloud? Typically I would enter the following in the php-local.ini file, but I cant' figure out how to locate it with the AIO php_value upload_max_filesize 50G php_value post_max_size 50G Thanks