[Support] Linuxserver.io - Nextcloud


Recommended Posts

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

Link to comment
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

Link to comment

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

Link to comment
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

Link to comment
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

Link to comment
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.

 

Link to comment
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
Link to comment

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?

Link to comment
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

Link to comment
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
Link to comment
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

Link to comment

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?

Link to comment

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…?
Link to comment
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

Link to comment
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
Link to comment
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

  • Like 1
Link to comment

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.