Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] Linuxserver.io - Nextcloud

Featured Replies

As long as you're not accessing any files or changing them, the array drive shouldn't spin up. At least it does for me. The config for the docker is in appdata on the share and the user share in HostPath2 sits on the array. I use MariaDB to handle the database from nextcloud, also sitting in appdata on the cache drive. I guess most people configured it like this. Not sure how you set it up using myssql or other databases. Also not sure if there is even a full nextcloud container with included DB support. Most of them I know always need an external DB.

  • Replies 7.1k
  • Views 1.7m
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Here's my list of instructions....    Use them at your own risk.....   If upgrading to v12 please see here:   ##Turn on maintenance mode docker exec -it nextcloud occ m

  • When i did enter the docker container with ssh and did run the following command the error message was gone   sudo -u abc php /config/www/nextcloud/occ db:add-missing-indices   Onl

  • gustomucho
    gustomucho

    After tinkering with this for a while, it seems the solution is much simpler than I thought. For some reason, the only step required is to modify the config.php file. No need to install ffmp

Posted Images

This container is a full nextcloud container.

 

I used it without anything else external.

4 minutes ago, Jeffarese said:

This container is a full nextcloud container.

Than this isn't a "official" unraid container. You might have to check for that specific container how to setup the paths correctly to have the DB on a different drive if even possible to set it up this way.

 

Edit:

 

Wait a second. Does the @linuxserver.io team maybe have it already included in one of the last versions? My setup is running almost 2 years now with MariaDB as external DB.

Edited by bastl

It does, as I'm saying, but it's implemented in a way where that .db file is in the share where the user data is stored, so it's out of the cache in a normal configuration.

1 hour ago, bastl said:

Stop the Nextcloud and MariaDB container, set the share to cache only, let the mover do it's thing and check if the files are on the share now and the disk should spin down.

Cache only won't move anything. You want cache prefer.

1 hour ago, bastl said:

Than this isn't a "official" unraid container. You might have to check for that specific container how to setup the paths correctly to have the DB on a different drive if even possible to set it up this way.

 

Edit:

 

Wait a second. Does the @linuxserver.io team maybe have it already included in one of the last versions? My setup is running almost 2 years now with MariaDB as external DB.

No we don't include MariaDB within the container. He must be using the default sqlite for nextcloud (Though even they don't recommend it for production use)

34 minutes ago, j0nnymoe said:

He must be using the default sqlite for nextcloud

Was this always an option and I only missed it back than?

9 minutes ago, bastl said:

Was this always an option and I only missed it back than?

afaik SQLite has always been an option within nextcloud but they don't recommend it for anything other than testing.

I was wondering how secure WebDAV access is via Nextcloud.

 

I have mounted my main Unraid storage share as external storage in NextCloud to be able to access files via the Windows Explorer on my work computer, and I'm wondering how secure this is. I'm using spaceinvaderone's Let'sEncrypt reverse proxy setup on my own domain for web access. However, I have concerns about exposing my server like this.

 

The reason for doing it, is that my work computer is locked for software installation, so I cannot run OpenVPN to get access that way. I'd be happy if someone would comment on this. 

13 minutes ago, tuxflux said:

I was wondering how secure WebDAV access is via Nextcloud.

 

I have mounted my main Unraid storage share as external storage in NextCloud to be able to access files via the Windows Explorer on my work computer, and I'm wondering how secure this is. I'm using spaceinvaderone's Let'sEncrypt reverse proxy setup on my own domain for web access. However, I have concerns about exposing my server like this.

 

The reason for doing it, is that my work computer is locked for software installation, so I cannot run OpenVPN to get access that way. I'd be happy if someone would comment on this. 

I guess it's as secure as your password?

Even with the linuxserver docker, my Nextcloud container reads/writes to the data share every 10 minutes (could be a client checking in). I can't remember the files it accessed but you could log them using the File Activity plugin. Nextcloud has it's own appdata folder in the same folder as data.

 

People have asked the devs for the option to separate them

https://github.com/nextcloud/server/issues/3034

15 hours ago, j0nnymoe said:

I guess it's as secure as your password?

Pretty secure password wise. 30 character random letters and symbols stored via self hosted Bitwarden. Can anyone comment on the safety of the webdav protocol itself and how it holds up compared to others like SFTP?

 

On 9/11/2019 at 6:53 PM, Squid said:

Move the share to the cache drive only

Ya, sorry but no. Putting backups on the cache isn't a solution.

On 9/11/2019 at 9:01 PM, Jeffarese said:

What he says happens even with the share being in the cache drive.

 

I ended up not using nextcloud because of this.

The fix is using MariaDB and having it on your cache.

22 hours ago, bastl said:

Stop the Nextcloud and MariaDB container, set the share to cache only, let the mover do it's thing and check if the files are on the share now and the disk should spin down.

Close but not quiet.

 

Just have NextCloud and MariaDB on your cache and that's all you need. You can leave your Backups share on the array.

 

I was just using sqlite which was accessing the owncloud.db file and keeping my disks spun up so I changed it to MariaDB which needs to be on the cache along with NextCloud. Once I did that my disks would spin down and stay that way until normally accessed again from whatever gives them a poke. My disks have been down for a couple hours now and i'm quite happy about it.

 

Check out >Spaceinvader One's Video< about setting up NextCloud with MariaDB. Just follow the instructions and you'll be good to go. If you don't have your appdata on your cache though make sure to manually change the path to your cache drive for the dockers.

Edited by Storm King
Making video link clearer.

On 5/12/2019 at 11:48 AM, Stealth1081 said:

Hi

 

I have been trying to setup Nextcloud and mariadb following the guide at the start of this forum but always ends with a 504 Gateway Timeout.

When navigating back to the Nextcloud page it wants to start the setup again.

The only change i have made to the guide is using the br0 network - Would this make a difference?

I have tried installing exactly the same way as the guide but still get the same problem.

 

Fixes for database problem i have found in this forum seem to already included in the latest mariadb custom.cnf

 

Only log file i can find with an error is the one attached. Is there somewhere else i can look for any hints of why it is failing?

 

mariadb - MariaDB-1:10.3.14

Nextcloud - 16.0.0.9 (I think)

error.log 785 B · 0 downloads

This is happening to me as well. I can install nextcloud using mariadb on an ubuntu vm with no issues. Installing the docker (using spacedinvader instructions) always gives me a 504 error. It is unusable at this point.

SOlved it

Edited by mrvilla

can someone please help me on how to fix this warning

 

There are some warnings regarding your setup.

Your web server is not properly set up to resolve "/.well-known/caldav". Further information can be found in the documentation.

Your web server is not properly set up to resolve "/.well-known/carddav". Further information can be found in the documentation

3 hours ago, mata7 said:

can someone please help me on how to fix this warning

 

There are some warnings regarding your setup.

Your web server is not properly set up to resolve "/.well-known/caldav". Further information can be found in the documentation.

Your web server is not properly set up to resolve "/.well-known/carddav". Further information can be found in the documentation

First hit if you Google that error tells you what to do.

thanks for you great tip, but i already google  resolve "/.well-known/caldav unraid before asking the question and all i read is write something to apache and i dont use apache, anyways thanks for you great help

5 hours ago, mata7 said:

thanks for you great tip, but i already google  resolve "/.well-known/caldav unraid before asking the question and all i read is write something to apache and i dont use apache, anyways thanks for you great help

https://docs.nextcloud.com/server/13/admin_manual/configuration_server/security_setup_warnings.html#your-web-server-is-not-set-up-properly-to-resolve-well-known-caldav-or-well-known-carddav

if anyone have the resolve "/.well-known/caldav warning here is how i fix it

 

go to you letsencrypt nginx folder sites-config and add this lines

 

location = /.well-known/carddav {
      return 301 $scheme://$host/remote.php/dav;
    }
    location = /.well-known/caldav {
      return 301 $scheme://$host/remote.php/dav;
    }

 

hope this can help anyone with this problem

On 9/16/2019 at 4:24 PM, alael said:

@saarg any idea for my problem above?

 

thanks

Why are you tagging me?

If I had the answer I would have answered.

UnRAID 6.5.0 - Nextcloud 'backup' plan...

 

Hi - hoping that this is the right place to ask for advice ;-) I have been playing with backup solutions for a few weeks (Duplicati / Cloudberry / etc) and have yet to find something I am happy with.

 

I have two UnRAID servers - one at home and one in a datacenter... at home I have several large shares with personal documents, files, media, etc - and the machine in the DC has Nextcloud installed (in a Docker - 16.04) and I have two users in Nextcloud - one user is a copy of my work files from my machine in the office and the other user is my brother who is using it as an offsite copy of his business data... all good there. There is a site-to-site VPN between home and the DC, so I can access the remote server on a local IP.

 

So the obvious backup solution for the data on my home UnRAID server involves replicating files on both servers... but I have yet to work out how to do this.

 

I did think I could install the client on my home PC which has the shares mapped as SMB shares and then use it to synchronise changes, but this machine is not always on and people edit files from a variety of different machines. so my concern is if I add to, or amend, files on one of the SMB shares at home from a machine which doesnt have the Nextcloud client installed (e.g. my Macbook or someone else's PC), will the PC with the Nextcloud client installed spot the change/s, when its switched on, and update the server - or will it realise that the changes weren't made on the local machine, or on the Nextcloud server, and ask which version to keep? Or worse still, update the local copy with the one stored on the server? Or... do I need to install the client on every PC / Mac which accesses the local shares? I cant imagine the latter would be correct as it would be a nightmare managing 8 or 10 installations of Nextcloud client.

 

The ideal solution, IMO, would be to have Nextcloud installed on both UnRAID servers and link them togather so if something changes on one, it updates the other! I did look at Federation, but it reads as though this is only to access files on a number of servers simultaneously rather than backing servers up?

 

Does anyone have any thoughts as I am sure there must be a robust solution out there which I can set up?

 

Thanks in advance

 

SliMat

I just installed nextcloud docker on unraid.

When I go to the url I get this message:

 

Internal Server Error

 

The server encountered an internal error and was unable to complete your request.

Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.

More details can be found in the server log.

 

When is look at the log of the docker this is what I get:

 

s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 10-adduser: executing...

-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/


Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid: 99
User gid: 100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 20-config: executing...
[cont-init.d] 20-config: exited 0.
[cont-init.d] 30-keygen: executing...
using keys found in /config/keys
[cont-init.d] 30-keygen: exited 0.
[cont-init.d] 40-config: executing...
[cont-init.d] 40-config: exited 0.
[cont-init.d] 50-install: executing...
[cont-init.d] 50-install: exited 0.
[cont-init.d] 60-memcache: executing...
[cont-init.d] 60-memcache: exited 0.
[cont-init.d] 99-custom-files: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.

 

I don't know how I can fix it

Hi,

 

I recently changed the LAN and IP of my server and for some reason I can't launch Nextcloud. All other dockers are working fine. Any idea what setting I'm missing or what I have to do?

12 minutes ago, rpowers said:

Hi,

 

I recently changed the LAN and IP of my server and for some reason I can't launch Nextcloud. All other dockers are working fine. Any idea what setting I'm missing or what I have to do?

How do you connect to nextcloud? By IP or domain through reverse proxy?

If you use domain, there is a setting in nextcloud  of I remember correctly. Think it's /config/www/nextcloud/config/config.php

 

If you used IP to connect to mariadb, this also needs to be fixed, but I don't know how.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.