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

Nice you found out, but u need to add to trusted domains anyway ;)

  • 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

Forgot my password for Nextcloud.  Since it's a recently installed docker app, I chose to delete it.  Upon selecting it once again for reinstallation, I get the following error:

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='nextcloud' --net='bridge' -e TZ="Asia/Shanghai" -e HOST_OS="unRAID" -e 'PUID'='99' -e 'PGID'='100' -p '443:443/tcp' -v '/mnt/user/nextcloud/':'/data':'rw' -v '/mnt/cache/appdata/nextcloud':'/config':'rw' 'linuxserver/nextcloud' 

Unable to find image 'linuxserver/nextcloud:latest' locally
/usr/bin/docker: Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate signed by unknown authority.
See '/usr/bin/docker run --help'.

The command failed.

 

Any ideas?

Forgot my password for Nextcloud.  Since it's a recently installed docker app, I chose to delete it.  Upon selecting it once again for reinstallation, I get the following error:
 
root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='nextcloud' --net='bridge' -e TZ="Asia/Shanghai" -e HOST_OS="unRAID" -e 'PUID'='99' -e 'PGID'='100' -p '443:443/tcp' -v '/mnt/user/nextcloud/':'/data':'rw' -v '/mnt/cache/appdata/nextcloud':'/config':'rw' 'linuxserver/nextcloud' 

Unable to find image 'linuxserver/nextcloud:latest' locally
/usr/bin/docker: Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate signed by unknown authority.
See '/usr/bin/docker run --help'.

The command failed.

 

Any ideas?

Looks like dockerhub is down

Sent from my Mi A1 using Tapatalk

I'm getting something similar but a certificate expired warning from curl. No nextcloud files are installed in the webroot:

 

[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...
generating self-signed keys in /config/keys, you can replace these with your own keys if required
Generating a 2048 bit RSA private key
.................+++
.+++
writing new private key to '/config/keys/cert.key'
-----
[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...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not

establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
tar: /tmp/nextcloud.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

[cont-init.d] 50-install: exited 0.
[cont-init.d] 60-memcache: executing...
cp: cannot create regular file '/config/www/nextcloud/config/config.php': No such file or directory
chown: cannot access '/config/www/nextcloud/config/config.php': No such file or directory
[cont-init.d] 60-memcache: exited 1.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Could not open input file: /config/www/nextcloud/cron.php

Guess I'll try again later and maybe they'll update their cert.

@CHBMB, ok, looks like all I can do is wait now.

Finally got it installed.  While accessing webui, saw this error

 

404 Error Not found

Checking logs gave me this:

 

[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...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
tar: /tmp/nextcloud.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
[cont-init.d] 50-install: exited 0.
[cont-init.d] 60-memcache: executing...
cp: cannot create regular file '/config/www/nextcloud/config/config.php': No such file or directory
chown: cannot access '/config/www/nextcloud/config/config.php': No such file or directory
[cont-init.d] 60-memcache: exited 1.
[cont-init.d] done.
[services.d] starting services
[services.d] done.

 

1 hour ago, jang430 said:

Finally got it installed.  While accessing webui, saw this error

 

404 Error Not found

Checking logs gave me this:

 

[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...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
tar: /tmp/nextcloud.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
[cont-init.d] 50-install: exited 0.
[cont-init.d] 60-memcache: executing...
cp: cannot create regular file '/config/www/nextcloud/config/config.php': No such file or directory
chown: cannot access '/config/www/nextcloud/config/config.php': No such file or directory
[cont-init.d] 60-memcache: exited 1.
[cont-init.d] done.
[services.d] starting services
[services.d] done.

 

 

nextcloud haven't renewed their certificate for the download sub-domain

 

 

Hey all,

 

I followed the following link : Lien  to install letsencrypt; nextcloud and mariadb.
I also create a dydns on duckdns.org for my unraid. 

 

Everything works perfectly and I can even access my plex from the outside.
By cons impossible to access nextcloud from the outside. Apparently you also have to create another dydns matching nextcloud but how do you do that (add one with duckdns.org?).

To be honest, I do not really understand the end of the explanation in order to access nextcloud out of my home.

 

Thanks for your help.

Hi.  I installed MariaDB docker container linuxserver.io.  Container port for MariaDB is 3306.  I placed my desired pasword at MYSQL_ROOT_PASSWORD.

 

Below is my nextcloud webgui, I used admin as admin account name.  Used a password that's 8 characters, alphanumeric.  My /data is mapped to /mnt/user/nextcloud/ , which is a share I created.  I entered root (it has rights) and the password I used in MYSQL_ROOT_PASSWORD in MariaDB page.  192.168.1.103 is my IP Address for unraid server, or should I leave it as localhost?  I am experiencing below error:

 

image.thumb.png.cb75d8b47e7e6308b80edcf548bfe1b1.png

1 hour ago, jang430 said:

Hi.  I installed MariaDB docker container linuxserver.io.  Container port for MariaDB is 3306.  I placed my desired pasword at MYSQL_ROOT_PASSWORD.

 

Below is my nextcloud webgui, I used admin as admin account name.  Used a password that's 8 characters, alphanumeric.  My /data is mapped to /mnt/user/nextcloud/ , which is a share I created.  I entered root (it has rights) and the password I used in MYSQL_ROOT_PASSWORD in MariaDB page.  192.168.1.103 is my IP Address for unraid server, or should I leave it as localhost?  I am experiencing below error:

 

image.thumb.png.cb75d8b47e7e6308b80edcf548bfe1b1.png

 

Read this guide and you will see where you went wrong.

 

https://blog.linuxserver.io/2017/05/10/installing-nextcloud-on-unraid-with-letsencrypt-reverse-proxy/

Hi!  I was following the instructions on link above, namely, the following:

 

docker exec -it mariadb-nextcloud bash
then run mysql with
mysql -uroot -p
and type your root pasword from earlier (I used SECRETPASSWORD)

 

I did all that, and after typing my password, neither a prompt or anything came up.  After entering the password, I pressed enter, it went on to the next line, without any prompt, cursor or anything.  Is there something I'm missing?  Anything I typed after that was also not acknowledged.  Every ENTER lets me go to next line, without any prompt, or acknowledgement.

On 7/16/2018 at 12:05 PM, phizz said:

Hi All, 

 

I've setup mariadb, letsencrypt and nextcloud using the following guide: https://techcoreduo.com/2018/04/28/how-to-install-nextcloud-on-unraid/

 

Nextcloud runs and I am able to access it outside of my local network. However, I want to add some of my unraid shares to nextcloud so I can share files easily with folks outside my home. When I try to use the external storages plugin to do so it doens't seem to be working. See below:

 

1917370164_ScreenShot2018-07-16at11_53_51AM.thumb.png.a0da617ae3e0ce6229620e181704c417.png

 

Any idea why?

 

On 7/20/2018 at 9:33 PM, administrator said:

Check with your ISP to make sure you have port 80 opened, some ISPs block that port by default and you have to request to have it opened.

 

 

Port 80 is open per my ISP. Any other ideas? It is something on the unraid share side? I;ve attached a shot of my share setting below. I can see my SMB share fine on my local network. 

 

Thx. 

Screen Shot 2018-07-24 at 8.37.53 PM.png

If nextcloud is accessible from outside your network, I doubt it's a port issue. Did you map the new drive in the nextcloud container definition?

Sent from my SM-G930W8 using Tapatalk

19 minutes ago, Gog said:

If nextcloud is accessible from outside your network, I doubt it's a port issue. Did you map the new drive in the nextcloud container definition?

Sent from my SM-G930W8 using Tapatalk
 

No....I just set up the cloud share directroy as detailed in this tutorial....

https://techcoreduo.com/2018/04/28/how-to-install-nextcloud-on-unraid/

 

Do I need to add another directory shares assessable to the nextcloud external shares plugin?  If so how do I do this. Forgive my ignorance. 

 

 

 

3 hours ago, phizz said:

No....I just set up the cloud share directroy as detailed in this tutorial....

https://techcoreduo.com/2018/04/28/how-to-install-nextcloud-on-unraid/

 

Do I need to add another directory shares assessable to the nextcloud external shares plugin?  If so how do I do this. Forgive my ignorance. 

 

 

 

I'm not sure about the external shares plugin. I just created a Share exclusively for NextCloud and edited Host Path 2 under the docker to point to that share. 

Are you able to share at least the one directory?

5 hours ago, jang430 said:

Hi!  I was following the instructions on link above, namely, the following:

 

docker exec -it mariadb-nextcloud bash
then run mysql with
mysql -uroot -p
and type your root pasword from earlier (I used SECRETPASSWORD)

 

I did all that, and after typing my password, neither a prompt or anything came up.  After entering the password, I pressed enter, it went on to the next line, without any prompt, cursor or anything.  Is there something I'm missing?  Anything I typed after that was also not acknowledged.  Every ENTER lets me go to next line, without any prompt, or acknowledgement.

I tried it again, this time it's working.  Although the specific password I used in mariadb docker page is not working.  I am 100% sure I typed it correctly.  

 

I tried changing it and restarted the docker container of mariadb, still the new password isn't recognized.  Any ideas?

6 hours ago, jang430 said:

Hi!  I was following the instructions on link above, namely, the following:

 

docker exec -it mariadb-nextcloud bash
then run mysql with
mysql -uroot -p
and type your root pasword from earlier (I used SECRETPASSWORD)

 

I did all that, and after typing my password, neither a prompt or anything came up.  After entering the password, I pressed enter, it went on to the next line, without any prompt, cursor or anything.  Is there something I'm missing?  Anything I typed after that was also not acknowledged.  Every ENTER lets me go to next line, without any prompt, or acknowledgement.

 

Did you try to type in the mysql command to create a user? 

Also post the docker run command for mariadb and remove the password before posting. 

Edited by saarg

@saarg

I'm not yet there yet.  

I'm just at 

This used to be done automatically via the webui, but it is now recommended to create the database manually. First of all open a terminal within the Mariadb container with
docker exec -it mariadb-nextcloud bash
then run mysql with
mysql -uroot -p
and type your root pasword from earlier (I used SECRETPASSWORD)

First thing we're going to do is create a MariaDB user for the database.   <<----------- The password I'm using for my container doesn't work
CREATE USER 'chbmb' IDENTIFIED by 'password';

2 minutes ago, jang430 said:

@saarg

I'm not yet there yet.  

I'm just at 

This used to be done automatically via the webui, but it is now recommended to create the database manually. First of all open a terminal within the Mariadb container with
docker exec -it mariadb-nextcloud bash
then run mysql with
mysql -uroot -p
and type your root pasword from earlier (I used SECRETPASSWORD)

First thing we're going to do is create a MariaDB user for the database.   <<----------- The password I'm using for my container doesn't work
CREATE USER 'chbmb' IDENTIFIED by 'password';

 

After mysql -uroot -p you get to the SQL console and should type the CREATE USER  command. 

This is what I'm experiencing

 

image.png.a1ff3aea7c0e460844b83481ec9a3393.png

18 hours ago, jang430 said:

Hi.  I installed MariaDB docker container linuxserver.io.  Container port for MariaDB is 3306.  I placed my desired pasword at MYSQL_ROOT_PASSWORD.

 

Below is my nextcloud webgui, I used admin as admin account name.  Used a password that's 8 characters, alphanumeric.  My /data is mapped to /mnt/user/nextcloud/ , which is a share I created.  I entered root (it has rights) and the password I used in MYSQL_ROOT_PASSWORD in MariaDB page.  192.168.1.103 is my IP Address for unraid server, or should I leave it as localhost?  I am experiencing below error:

 

image.thumb.png.cb75d8b47e7e6308b80edcf548bfe1b1.png

You are clearly using the root account of mariadb rather than the user you are told to setup in our guide.

You'll also find there is probably security on each user that you can only access them from certain hosts/ip's - again this is mentioned in the guide on our blog.

Hi.  No, that was my initial posts.  After @saarg pointed it out, I followed the link, and up to the point above, wherein I cannot login to my mariadb with the password I input on the container when I created the docker container.  

or maybe the better question is, in the mariadb docker container of linuxserver.io, there is this space- Container Variable: MYSQL_ROOT_PASSWORD, Is this a valid place to put a root password?  It's here that I put my password.  And it's the same password that I claim that doesn't work when I execute mysql -uroot -p

7 minutes ago, jang430 said:

or maybe the better question is, in the mariadb docker container of linuxserver.io, there is this space- Container Variable: MYSQL_ROOT_PASSWORD, Is this a valid place to put a root password?  It's here that I put my password.  And it's the same password that I claim that doesn't work when I execute mysql -uroot -p

the MYSQL_ROOT_PASSWORD variable can be used to put a basic password in which then allows you to login to mariadb and administrate MariaDB correctly (setting up security/dedicated users etc)

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.