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

So I tried to set up NextCloud through the webui, and used root as the username, and left the password blank, but I keep getting a time out on the gateway. Any thoughts?  I have the port open on my router (port 443).  Not sure what is going on here.

  • 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

OK, I see the options.  My screen looks different than the one in the instructions, but I didn't realize I had to select Advanced view from the top right of the screen when adding the container.

How do I get to the custom.cnf file?  I do not see the folder for /mnt/cache/.appdata/mariadb folder in my windows file explorer?  Sorry I am pretty noob at this stuff.

NVM.  I learned some simple VIM commands and figured it out.  I have Nextcloud up and running. Thanks everyone!

Alright, one more question (promise).  I have a user share set up on my Unraid server that is mnt/user/nextcloud.  How do I map that in the Nextcloud setup?  there is a space that says /data but what is the path I should put in there to get it mapped to that share?

I personally would put /mnt/diskX/nextcloud where X = disk number

 

Also make sure that the share is set to use just one disk.  Just save on the array spinning up all the time, however /mnt/user/nextcloud would work.

Thanks for the reply.  I tried putting in /mnt/user/nextcloud but I get an error that states can't create or write into the data directory /mnt/user/nextcloud.  Any thoughts?  I know I am close here :)

Thanks for the reply.  I tried putting in /mnt/user/nextcloud but I get an error that states can't create or write into the data directory /mnt/user/nextcloud.  Any thoughts?  I know I am close here :)

 

from unraid command line type.

 

ls -lah /mnt/user

 

and paste the output here.

I setup LDAP integration with my domain.  I logged out and was logging in with a domain user and now I am getting a 500 error.  It also seems to have rebooted the docker when I attempted the login.

 

[cont-init.d] executing container initialization scripts...
[cont-init.d] 10-adduser: executing... 

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

Brought to you by linuxserver.io
We do accept donations at:
https://www.linuxserver.io/donations
-------------------------------------
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] done.
[services.d] starting services
[services.d] done.

 

I'm getting all of these PHP errors in the log file

 

2016/08/07 09:59:57 [error] 288#0: *284 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Call to a member function getFileInfo() on null in /config/www/nextcloud/lib/private/files/filesystem.php on line 874" while reading response header from upstream, client: 192.168.254.1, server: _, request: "GET /index.php/apps/files/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "cloud.stevensononthe.net"
2016/08/07 10:00:04 [error] 288#0: *284 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Call to a member function getFileInfo() on null in /config/www/nextcloud/lib/private/files/filesystem.php on line 874" while reading response header from upstream, client: 192.168.254.1, server: _, request: "GET /index.php/apps/files/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "cloud.stevensononthe.net"
2016/08/07 10:00:23 [error] 288#0: *284 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Call to a member function getFileInfo() on null in /config/www/nextcloud/lib/private/files/filesystem.php on line 874" while reading response header from upstream, client: 192.168.254.1, server: _, request: "GET /index.php/apps/files/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "cloud.stevensononthe.net"
2016/08/07 10:00:48 [error] 288#0: *284 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Call to a member function getFileInfo() on null in /config/www/nextcloud/lib/private/files/filesystem.php on line 874" while reading response header from upstream, client: 192.168.254.1, server: _, request: "GET /index.php/apps/files/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "cloud.stevensononthe.net"
2016/08/07 10:01:30 [error] 288#0: *284 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Call to a member function getFileInfo() on null in /config/www/nextcloud/lib/private/files/filesystem.php on line 874" while reading response header from upstream, client: 192.168.254.1, server: _, request: "GET /index.php/apps/files/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "cloud.stevensononthe.net"
2016/08/07 10:01:32 [error] 288#0: *284 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Call to a member function getFileInfo() on null in /config/www/nextcloud/lib/private/files/filesystem.php on line 874" while reading response header from upstream, client: 192.168.254.1, server: _, request: "GET /index.php/apps/files/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "cloud.stevensononthe.net"
2016/08/07 10:01:54 [error] 290#0: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Call to a member function getFileInfo() on null in /config/www/nextcloud/lib/private/files/filesystem.php on line 874" while reading response header from upstream, client: 192.168.254.1, server: _, request: "GET /index.php/apps/files/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "cloud.stevensononthe.net"
2016/08/07 10:01:57 [error] 290#0: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Call to a member function getFileInfo() on null in /config/www/nextcloud/lib/private/files/filesystem.php on line 874" while reading response header from upstream, client: 192.168.254.1, server: _, request: "GET /index.php/apps/files/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "cloud.stevensononthe.net"
2016/08/07 10:02:03 [error] 290#0: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Call to a member function getFileInfo() on null in /config/www/nextcloud/lib/private/files/filesystem.php on line 874" while reading response header from upstream, client: 192.168.254.1, server: _, request: "GET /index.php/apps/files/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "cloud.stevensononthe.net"
2016/08/07 10:03:33 [error] 290#0: *6 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Call to a member function getFileInfo() on null in /config/www/nextcloud/lib/private/files/filesystem.php on line 874" while reading response header from upstream, client: 192.168.254.1, server: _, request: "GET /index.php/apps/files/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "cloud.stevensononthe.net"

 

I'm not sure how to resolve this now as the page just gives me a 500 error.

 

Edit: If I clear the browser cache I can see the login page again. 

 

Edit2: After clearing the cache its working fine.  Seems a non-issue now.  Move along. hehe

Thanks for the reply.  I tried putting in /mnt/user/nextcloud but I get an error that states can't create or write into the data directory /mnt/user/nextcloud.  Any thoughts?  I know I am close here :)

 

from unraid command line type.

 

ls -lah /mnt/user

 

and paste the output here.

 

Here is the output:

 

root@Tower:~# ls -lah /mnt/user

total 11G

drwxr-xr-x 1 root  root    39 Aug  6 21:33 ./

drwxr-xr-x 9 root  root  180 Aug  6 21:35 ../

drwxrwxrwx 1 nobody users  112 Jun 24 06:25 Backup/

drwxrwxrwx 1 nobody users  11K Aug  5 19:47 Movies/

drwxrwxrwx 1 nobody users 5.6K Jul 24 18:54 Music/

drwxrwxrwx 1 nobody users 2.2K Dec  8  2015 Old\ Archived\ Materials/

drwxrwxrwx 1 nobody users 8.9K Aug 24  2015 Pictures/

-rw-rw-rw- 1 nobody users  467 Dec  7  2013 Secondary\ (D)\ -\ Shortcut.lnk

drwxrwxrwx 1 nobody users  136 Jun 27 18:58 TV/

drwxrwxrwx 1 nobody users  112 Dec 13  2015 Videos/

drwxrwxrwx 1 nobody users  144 Aug  6 21:34 appdata/

-rw-rw-rw- 1 nobody users  10G Aug  7 09:19 docker.img

drwxrwxrwx 1 nobody users  52 Aug  6 19:31 mariadb/

drwxrwxrwx 1 nobody users  144 Aug  7 08:07 nextcloud/

So is it okay that I created a share and pointed Nexcloud to it for the data dir?  Where does the default data directory reside?

So is it okay that I created a share and pointed Nexcloud to it for the data dir?  Where does the default data directory reside?

 

Yes it's fine the default data directory resides wherever you put it.

 

Here's mine:

 

mFgG78f.png

 

Your permissions look ok to me.  So I'm confused as to what is going on...

 

Can you post a screenshot like mine above but for both Nextcloud and MariaDB please?  And what version of Unraid you using?  And just to check, this is a completely fresh install?

How do I get to the custom.cnf file?  I do not see the folder for /mnt/cache/.appdata/mariadb folder in my windows file explorer?  Sorry I am pretty noob at this stuff.

 

Folders starting with a period are hidden in Windows explorer by default. 

 

Why are you using .appdata?  I only do so because I.... actually I can't remember why I did, but it must have made sense once upon a time...  :-\

How do I get to the custom.cnf file?  I do not see the folder for /mnt/cache/.appdata/mariadb folder in my windows file explorer?  Sorry I am pretty noob at this stuff.

 

Folders starting with a period are hidden in Windows explorer by default. 

 

Why are you using .appdata?  I only do so because I.... actually I can't remember why I did, but it must have made sense once upon a time...  :-\

Because at one point that was a workaround to prevent mover from moving the files off of the cache drive.  No point in it now however...

 

 

 

Why are you using .appdata?  I only do so because I.... actually I can't remember why I did, but it must have made sense once upon a time...  :-\

 

Because folders starting with a period were ignored by the mover in previous versions of unRAID (before being able to set cache only in user shares)

 

At least that's my guess.....

 

Sent from my SM-N900W8 using Tapatalk

 

 

Of course squid beat me too it

 

Sent from my SM-N900W8 using Tapatalk

 

 

Because at one point that was a workaround to prevent mover from moving the files off of the cache drive.  No point in it now however...

 

Because folders starting with a period were ignored by the mover in previous versions of unRAID (before being able to set cache only in user shares)

 

Yep, you're both right.  That was the reason!  ;D

Here you go.

 

Also, yes this is a fresh install of Unraid, version 6.1.9

Screen_Shot_2016-08-08_at_7_52.21_PM.png.05564b4ca8eca929524a0ab0082e241c.png

Here is the error I get when I try to finalize the setup:

Screen_Shot_2016-08-08_at_7_55.06_PM.png.71e9639d4d3d9f9da1c5d67be798ef61.png

Here is the error I get when I try to finalize the setup:

 

 

don't change the storage location in that window from /data

 

/mnt/user/nextcloud doesn't exist inside the container

 

 

How do I change it to use the mnt/user/nextcloud share?

How do I change it to use the mnt/user/nextcloud share?

 

you don't.

 

http://imgur.com/a/FLANd

 

set your folder in the add/edit docker screen like this.

 

then, don't change the /data in the setup screen for nextcloud.

 

/data and /mnt/user/nextcloud are the point where the folder inside the container and the folder outside the container become the same point, provided you set it as shown in the add/edit screen.

Alright, just nuked the entire nextcloud container, image, and files on the cache drive.  Going to install again just like you show.

 

OK, so it set up this time.  Now, my question is this:  Is my data going to be stored in the /mnt/user/nextcloud folder?  I have data I want to copy to that folder for access outside my network.

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.