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

31 minutes ago, skois said:

Most of the time this error comes because of a broken or not started database.
Start there

Thank you, i will give it a try.

  • 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

I'm not sure what is going on. I have uninstalled and reinstalled many times. I'm getting this error when trying to complete the setup.

 

I'm new to this. I have followed all the directions and I can't seem to get around this. Please can someone help me out.

 

Thanks

Capture.PNG

I'm not sure what is going on. I have uninstalled and reinstalled many times. I'm getting this error when trying to complete the setup.
 
I'm new to this. I have followed all the directions and I can't seem to get around this. Please can someone help me out.
 
Thanks
Capture.PNG.3d8588c342e6bb790687f5282b2fafde.PNG
Well, as the message says,
It is cannot connect to the database,
the dburl is wrong and/or you didn't provide a password

Sent from my Mi 10 Pro using Tapatalk

Alright, I have entered the correct username and password for the db.

Here is the error message I'm getting.

 

 

Capture.PNG

Alright, I have entered the correct username and password for the db.
Here is the error message I'm getting.
 
 
Capture.PNG.ba5d4a7285cca1e82f798d152d4f2ea4.PNG


Sent from my Mi 10 Pro using Tapatalk

1 minute ago, skois said:

 


Sent from my Mi 10 Pro using Tapatalk
 

 

Thank you. I will run thru this video again and see if it works. I'll keep you updated. 

I'm not sure what to do now. I have tried done everything in this video correct.
 

Login to your MariaDB:

mysql -u root -p

Create user:

CREATE USER ‘nextcloud’ IDENTIFIED BY 'lfco2659';

CREATE DATABASE IF NOT EXISTS nextcloud;

 

GRANT ALL PRIVILEGES ON nextcloud.* to ‘nextcloud’ IDENTIFIED BY 'lfco2659';

quit

 

 

Any ideas?

Capture.PNG

I'm not sure what to do now. I have tried done everything in this video correct.
 
Login to your MariaDB:
mysql -u root -p
Create user:
CREATE USER ‘nextcloud’ IDENTIFIED BY 'lfco2659';
CREATE DATABASE IF NOT EXISTS nextcloud;
 
GRANT ALL PRIVILEGES ON nextcloud.* to ‘nextcloud’ IDENTIFIED BY 'lfco2659';
quit
 
 
Any ideas?
Capture.PNG.9bd2409c1f0cc9173491ea2a0bc72a9f.PNG
How does the docker template looks for nextcloud and msriadb?

Sent from my Mi 10 Pro using Tapatalk

28 minutes ago, skois said:

How does the docker template looks for nextcloud and msriadb?

Sent from my Mi 10 Pro using Tapatalk
 

Here are the dockers

 

1.PNG

2.PNG

I'm not sure what to do now. I have tried done everything in this video correct.
 
Login to your MariaDB:
mysql -u root -p
Create user:
CREATE USER ‘nextcloud’ IDENTIFIED BY 'lfco2659';
CREATE DATABASE IF NOT EXISTS nextcloud;
 
GRANT ALL PRIVILEGES ON nextcloud.* to ‘nextcloud’ IDENTIFIED BY 'lfco2659';
quit
 
 
Any ideas?
Capture.PNG.9bd2409c1f0cc9173491ea2a0bc72a9f.PNG
Actually here shows that username or password is not correct, "access denied"

Send a photo when you fill the mysql form on nextcloud install wizard

Sent from my Mi 10 Pro using Tapatalk

4 minutes ago, skois said:

Actually here shows that username or password is not correct, "access denied"

Send a photo when you fill the mysql form on nextcloud install wizard

Sent from my Mi 10 Pro using Tapatalk
 

Here it is 

Capture.PNG

Here it is 
Capture.PNG.5b4a3c043512f0f07458765396436c2d.PNG
Ok, this looks fine, try continuing, if it fails again,
I THINK I saw somewhere, latest mariadb have some issues with nextcloud. So maybe trying an older mariadb docker tag, or use postgres

Sent from my Mi 10 Pro using Tapatalk

2 minutes ago, skois said:

Ok, this looks fine, try continuing, if it fails again,
I THINK I saw somewhere, latest mariadb have some issues with nextcloud. So maybe trying an older mariadb docker tag, or use postgres

Sent from my Mi 10 Pro using Tapatalk
 

Still no go.

 

Is there instruction on how to setup this up using postgres?

Alright,

 

Here is my new error:

 

Your data directory must be an absolute path

Check the value of "datadirectory" in your configuration

Ok, this looks fine, try continuing, if it fails again,
I THINK I saw somewhere, latest mariadb have some issues with nextcloud. So maybe trying an older mariadb docker tag, or use postgres

Sent from my Mi 10 Pro using Tapatalk


FWIW: Knock on wood no issues here with NC 21.0.3 and latest Linuxserver MariaDB…obviously I’m not the authority on it but

Alright,

 

Here is my new error:

 

Your data directory must be an absolute path

Check the value of "datadirectory" in your configuration

 

I have tried every combination in the config file. 

/mnt/user/nextcloud/
/mnt/user/appdata/nextcloud

 

Can anyone provide me with the right default path?

14 minutes ago, LFCO said:

Alright,

 

Here is my new error:

 

Your data directory must be an absolute path

Check the value of "datadirectory" in your configuration

 

I have tried every combination in the config file. 

/mnt/user/nextcloud/
/mnt/user/appdata/nextcloud

 

Can anyone provide me with the right default path?

Absolute path of the containers data directory, not from the host.

So in this case the default should be  /data

5 minutes ago, skois said:

Absolute path of the containers data directory, not from the host.

So in this case the default should be  /data

I have done that and now I have another error, man I really do appreciate the help honestly, I have been at this all day.

 

Error

Your data directory is invalid

Ensure there is a file called ".ocdata" in the root of the data directory.

 

 

?php
$CONFIG = array (
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'datadirectory' => '/data',
  'instanceid' => 'ocrah98egw5l',
  'passwordsalt' => '7UZbCx8+V+olZgrtV+PY3/NXdexADD',
  'secret' => 'DHbXJPglcwbiQCIw7Hsll0UZ+1t7P5+ApN4toOIOrw5tahLq',
  'trusted_domains' => 
  array (
    0 => '192.168.50.100:444',
  ),
  'dbtype' => 'pgsql',
  'version' => '22.1.0.1',
  'overwrite.cli.url' => 'https://192.168.50.100:444',
  'dbname' => 'postgres',
  'dbhost' => '192.168.50.100:5432',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'oc_admin',
  'dbpassword' => 'jpjeaiso00wg11woi0rgtmoez3y3x7',
  'installed' => true,

Edited by LFCO

3 minutes ago, LFCO said:

I have done that and now I have another error, man I really do appreciate the help honestly, I have been at this all day.

 

Error

Your data directory is invalid

Ensure there is a file called ".ocdata" in the root of the data directory.

 

 

?php
$CONFIG = array (
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'datadirectory' => '/data',
  'instanceid' => 'ocrah98egw5l',
  'passwordsalt' => '7UZbCx8+V+olZgrtV+PY3/NXdexADD',
  'secret' => 'DHbXJPglcwbiQCIw7Hsll0UZ+1t7P5+ApN4toOIOrw5tahLq',
  'trusted_domains' => 
  array (
    0 => '192.168.50.100:444',
  ),
  'dbtype' => 'pgsql',
  'version' => '22.1.0.1',
  'overwrite.cli.url' => 'https://192.168.50.100:444',
  'dbname' => 'postgres',
  'dbhost' => '192.168.50.100:5432',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'oc_admin',
  'dbpassword' => 'jpjeaiso00wg11woi0rgtmoez3y3x7',
  'installed' => true,

You could create an empty file without extension ".ocdata" in the /data dir of the container (/mnt/user/nextcloud on unraid). But this should had been done already automatically.

I'd suggest, now that you have all the pieces until now, start from scratch. If it stills need the .ocdata, then just create it

Good Morning, I have gotten the server up. I have some issues here. I have been reading up on how to fixes these errors, however I'm pretty confused. 

 

The "Strict-Transport-Security" HTTP header is not set to at least "15552000" seconds. For enhanced security, it is recommended to enable HSTS as described in the security tips ↗.

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

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

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 ↗.

 

Could you provided me with a bit of help?

This should be mostly relevant mate:






For some of the other issues not covered by video search this this progress for errors; they’ve been heavily discussed. :-)

Skois, today there is a update for MariaDB; are you suggesting I don’t try to roll forward to new version? I know yesterday you mentioned new MariaDB maybe having issues with NC but…?
This should be mostly relevant mate:







For some of the other issues not covered by video search this this progress for errors; they’ve been heavily discussed. :-)

Skois, today there is a update for MariaDB; are you suggesting I don’t try to roll forward to new version? I know yesterday you mentioned new MariaDB maybe having issues with NC but…?
I'm not sure that Mariadb has problems for sure.
I THINK that I saw somewhere that there was some problems, but might be something totally unrelated with NC. I use postgres so I didn't oat any attention.

Sent from my Mi 10 Pro using Tapatalk

I'm not sure that Mariadb has problems for sure.
I THINK that I saw somewhere that there was some problems, but might be something totally unrelated with NC. I use postgres so I didn't oat any attention.

Sent from my Mi 10 Pro using Tapatalk


Well fiddlesticks lol

Thanks man :-). I may brave upgrading in a few days… no rush for me lol. I’m good enough at breaking stuff. Still never got Collabora upgraded to new version. Need to try and find time to mess with that again. Oof lol
12 minutes ago, blaine07 said:


Well fiddlesticks lol

Thanks man :-). I may brave upgrading in a few days… no rush for me lol. I’m good enough at breaking stuff. Still never got Collabora upgraded to new version. Need to try and find time to mess with that again. Oof lol

Collabora released new version 6.4.10.9, 3 days ago. that might do it for you

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.