Jump to content
linuxserver.io

[Support] Linuxserver.io - Nextcloud

3918 posts in this topic Last Reply

Recommended Posts

11 minutes ago, scubieman said:

How to you encrypt before sending off to off-site?

I don't since these files are family related, not business or hugely confidential.  I believe Nextcloud has a setting to encrypt the files, and I believe you would send them exactly the same way after the encryption.  But, that is just a guess since I do not do so.

Share this post


Link to post

Hello guys!

 

I am facing two issues with my nextcloud and i have no clue how to solve them. They probably don't have a connection, but who knows, maybe they do.

1. Everytime i upload a file through the nextcloud webgui, the speed is 10-30mb/s. After ~1,2Gb have been uploaded, the speed drops immidiately down to 2-10mb/s and stays like this until the upload is finished.

 

2. Uploading a file with around 1,2Gb and smaller is pretty fast and the file processing time is around 10-12 seconds. If the file is bigger than 1,2Gb, the file processing time is horrible.

1,1Gb=10 sec.

1,3Gb=1:40min

3,3Gb=3:50min

16Gb=25mins

 

I didn't find a solution yet and wanted to ask, if anybody faced such problems or have some suggestions on how to solve them?

 

Cheers

Share this post


Link to post

Hi!

I am a complete rookie in terms of the UnRaid and I have been trying to setup Nextcloud. I followed install instructions step-by-step (I also watched spaceinvader one's videos) and I always end up with error 404 when I try to access the webUI.

Please help me :D

4-4.jpg

slip.jpg

info.jpg

Share this post


Link to post
1 hour ago, brotholomew said:

Hi!

I am a complete rookie in terms of the UnRaid and I have been trying to setup Nextcloud. I followed install instructions step-by-step (I also watched spaceinvader one's videos) and I always end up with error 404 when I try to access the webUI.

Please help me :D

4-4.jpg

slip.jpg

info.jpg

What does the config file look like?

Share this post


Link to post
8 hours ago, Tucubanito07 said:

What does the config file look like?

Which config file are you referring to?

 

here's the content of my /mnt/cache/appdata/nextcloud/config/config.php

<?php
$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'instanceid' => 'oc3mubbn2gg6',
  'passwordsalt' => '/wkCU4ccxIMTpXTWegwRbdxP9zZXEJ',
  'secret' => 'hQiJUJRzS2Sxc9zR9YkGV75k5Hbpd+x0wJGVFqZRyoozP7u7',
  'trusted_domains' => 
  array (
    0 => '192.168.0.2',
    1 => '192.168.0.3',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'sqlite3',
  'version' => '18.0.2.2',
  'overwrite.cli.url' => 'http://192.168.0.2',
  'dbname' => 'nextcloud',
  'dbhost' => '192.168.0.234:3306',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'installed' => true,
);

and from the docker, there is also this second file from /config/www/nextcloud/config

<?php
$CONFIG = array (
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'datadirectory' => '/data',
  'instanceid' => 'ocm0qylmbru5',
  'trusted_domains' =>
  array(
    0 => '192.168.0.3',
  ),
);

which config file is the one? XD 

I also found this in the logs:

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


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.
Could not open input file: /config/www/nextcloud/cron.php
Could not open input file: /config/www/nextcloud/cron.php

the cron.php file just doesn't exist....

 

Thx for your interest in my problems, Tucubanito07!

 

Share this post


Link to post
Posted (edited)
6 hours ago, brotholomew said:

Which config file are you referring to?

 

here's the content of my /mnt/cache/appdata/nextcloud/config/config.php


<?php
$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'instanceid' => 'oc3mubbn2gg6',
  'passwordsalt' => '/wkCU4ccxIMTpXTWegwRbdxP9zZXEJ',
  'secret' => 'hQiJUJRzS2Sxc9zR9YkGV75k5Hbpd+x0wJGVFqZRyoozP7u7',
  'trusted_domains' => 
  array (
    0 => '192.168.0.2',
    1 => '192.168.0.3',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'sqlite3',
  'version' => '18.0.2.2',
  'overwrite.cli.url' => 'http://192.168.0.2',
  'dbname' => 'nextcloud',
  'dbhost' => '192.168.0.234:3306',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'installed' => true,
);

and from the docker, there is also this second file from /config/www/nextcloud/config


<?php
$CONFIG = array (
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'datadirectory' => '/data',
  'instanceid' => 'ocm0qylmbru5',
  'trusted_domains' =>
  array(
    0 => '192.168.0.3',
  ),
);

which config file is the one? XD 

I also found this in the logs:


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


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.
Could not open input file: /config/www/nextcloud/cron.php
Could not open input file: /config/www/nextcloud/cron.php

the cron.php file just doesn't exist....

 

Thx for your interest in my problems, Tucubanito07!

 

Ok so this is how my fresh install looks like. I see a couple of different stuff in there not correctly, however, i am not an expert on this. Compare my config and yours and try to mimmick it. Obviously i place wording to explain what goes there. The Cron.php i would say it permission. I also see that you pick SQlite. I dont know how that would work. I always use MariaDB.

 

<?php
$CONFIG = array (
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'datadirectory' => '/data',
  'instanceid' => 'This would be the Instance ID Nexcloud chooses',
  'passwordsalt' => 'These Password are given by Nextcloud instance',
  'secret' => 'These Password are given by Nextcloud instance',
  'trusted_domains' => 
  array (
    0 => '10.10.7.4:444',
    1 => 'Address of the URL of your DNS if you are using Letsencrypt to see your Nexcloud Instance from Outside the network'
  ),
  'dbtype' => 'mysql',
  'version' => '18.0.2.2',
  'overwrite.cli.url' => 'Address of the URL of your DNS if you are using Letsencrypt to see your Nexcloud Instance from Outside the network',
  'overwritehost' => 'Address of the URL of your DNS if you are using Letsencrypt to see your Nexcloud Instance from Outside the network',
  'overwriteprotocol' => 'https',
  'dbname' => 'Database Name',
  'dbhost' => 'IP Address of the Database:Port number',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'Database User You pick when setting up the database',
  'dbpassword' => 'Your Password Obviously',
  'installed' => true,
);

Edited by Tucubanito07

Share this post


Link to post
On 3/19/2020 at 10:50 AM, siamsquare said:

Hi,

I'm new to Nextcloud, I set it up at home using the Spaceinvaderone-tutorial. For the moment I only use it at home for backup purposes for foto's and video's.

Yesterday I started uploading pictures and video's from my phone. I setup an admin account and a user account for myself. I gave my user account a standard quota of 250GB but after filling it Nextcloud says my userquota is full after 40GB?

When I try to change it it doesn't work and I can't upload anymore.

Any suggestions? vers 18.0.2

 

thanks!

Foound the cause but does anyone have a solution?

https://support.microsoft.com/en-us/kb/2386902

Share this post


Link to post
Posted (edited)
7 hours ago, Tucubanito07 said:

Ok so this is how my fresh install looks like. I see a couple of different stuff in there not correctly, however, i am not an expert on this. Compare my config and yours and try to mimmick it. Obviously i place wording to explain what goes there. The Cron.php i would say it permission. I also see that you pick SQlite. I dont know how that would work. I always use MariaDB.

 

<?php
$CONFIG = array (
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'datadirectory' => '/data',
  'instanceid' => 'This would be the Instance ID Nexcloud chooses',
  'passwordsalt' => 'These Password are given by Nextcloud instance',
  'secret' => 'These Password are given by Nextcloud instance',
  'trusted_domains' => 
  array (
    0 => '10.10.7.4:444',
    1 => 'Address of the URL of your DNS if you are using Letsencrypt to see your Nexcloud Instance from Outside the network'
  ),
  'dbtype' => 'mysql',
  'version' => '18.0.2.2',
  'overwrite.cli.url' => 'Address of the URL of your DNS if you are using Letsencrypt to see your Nexcloud Instance from Outside the network',
  'overwritehost' => 'Address of the URL of your DNS if you are using Letsencrypt to see your Nexcloud Instance from Outside the network',
  'overwriteprotocol' => 'https',
  'dbname' => 'Database Name',
  'dbhost' => 'IP Address of the Database:Port number',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'Database User You pick when setting up the database',
  'dbpassword' => 'Your Password Obviously',
  'installed' => true,
);

Thank you for your support and interest, yet again, Tucubanito07!

 

I have solved my issue. Turns out that in the unRAID community store there are two nextcloud docker templates. One is from linuxserver guys and the other is from nextcloud. The previous admin of my unRAID server has installed the nextcloud docker using the template from nextcloud and then deleted it. The docker disappeared from the docker list but the config files in /mnt/user/appdata/nextcloud remained.

 

So the solution was to delete all the nextcloud dockers xd, all the config files from /mnt/user/appdata/nextcloud and then to install the nextcloud docker using the linuxserver template. Worked as a charm :D

Edited by brotholomew
typo

Share this post


Link to post
51 minutes ago, brotholomew said:

Thank you for your support and interest, yet again, Tucubanito07!

 

I have solved my issue. Turns out that in the unRAID community store there are two nextcloud docker templates. One is from linuxserver guys and the other is from nextcloud. The previous admin of my unRAID server has installed the nextcloud docker using the template from nextcloud and then deleted it. The docker disappeared from the docker list but the config files in /mnt/user/appdata/nextcloud remained.

 

So the solution was to delete all the nextcloud dockers xd, all the config files from /mnt/user/appdata/nextcloud and then to install the nextcloud docker using the linuxserver template. Worked as a charm :D

That is awesome. Your config file look different and that probably the reason why they were different. Well I am glad it’s working for you. 

Share this post


Link to post

I'm working on cleaning up the set-up security warnings for this nextcloud container and I'm stuck on the two database issues.  The 'missing some indexes" and "columns in the database are missing a conversion to big int."

 

When I try to issue commands in regards to this issue in other threads I have different errors and I'm having difficultly narrowing down the issue.

When I try to issue this command:

sudo -u abc php /config/www/nextcloud/occ db:convert-filecache-bigint

In the default directory:

:~#

It returns error:

sudo: unknown user: abc
sudo: unable to initialize policy plugin

I tried replacing the user "abc" with "root" and the error:

Could not open input file: /config/www/nextcloud/occ

Is returned.

 

Now I believe my issue/confusion is two-fold. It seems that I should be able to call user "abc" in a sudo command and/or I am trying to execute the commands in the wrong directory so it can't find the correct path.

 

Much thanks in advance for any insight into my issues.

Share this post


Link to post

Are you issuing those commands on the Unraid terminal command line or the Nextcloud container command line?  Should be in the Nextcloud container.

Share this post


Link to post
34 minutes ago, mikeylikesrocks said:

Are you issuing those commands on the Unraid terminal command line or the Nextcloud container command line?  Should be in the Nextcloud container.

Oh my, I feel silly, I can't believe that was the fix, thank you so much.

Share this post


Link to post
1 hour ago, PuffinDoctor said:

Oh my, I feel silly, I can't believe that was the fix, thank you so much.

Don’t feel bad. I have done the same thing lol. 

Share this post


Link to post

I have a problem with the connection between onlyoffice document server and nextcloud. I have installed onlyoffice, and have it mapped to onlyoffice.stupiddomain.com and it shows up as https://onlyoffice.stupiddomain.com/welcome/ with "document server is running". I have nextcloud setup the same way, and its running fine on its own at nextcloud.stupiddomain.com. I have added it to the trusted domains on nextcloud as well.

 

When I add the https://onlyoffice.stupiddomain.com to nextcloud, i get the following response:

Error when trying to connect (Error occurred in the document service: Error while downloading the document file to be converted.)✖

 

Log from nextcloud:

None

 

Log from onlyoffice:

at TLSSocket.onConnectSecure (_tls_wrap.js:1058:34)
at TLSSocket.emit (events.js:198:13)
at TLSSocket._finishInit (_tls_wrap.js:636:8)
[2020-03-23T21:24:15.373] [ERROR] nodeJS - error downloadFile:url=https://192.168.254.10:2443/apps/onlyoffice/empty?doc=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY3Rpb24iOiJlbXB0eSJ9.XRT2j2-sIoP28rkYLf2N_WtUSJ1tygL3e7k749DjGr4;attempt=3;code:DEPTH_ZERO_SELF_SIGNED_CERT;connect:null;(id=conv_check_1524422705_docx)
Error: self signed certificate

 

(my onlyoffice ports should be 9075 (http) and 4540 (https)

 

Share this post


Link to post

@mihcox

 

here is my working letsencrypt nginx onlyoffice conf to work perfectly fine with this NC docker

 

of course check server_name and reverse address (i run my dockers all on their own ip meanwhile), also inserted sa mple when on bridge on host

# Use this example for proxy HTTPS traffic to the document server running at 'backendserver-address'.
# Replace {{SSL_CERTIFICATE_PATH}} with the path to the ssl certificate file
# Replace {{SSL_KEY_PATH}} with the path to the ssl private key file

map $http_host $this_host {
    "" $host;
    default $http_host;
}

map $http_x_forwarded_proto $the_scheme {
     default $http_x_forwarded_proto;
     "" $scheme;
}

map $http_x_forwarded_host $the_host {
    default $http_x_forwarded_host;
    "" $this_host;
}

map $http_upgrade $proxy_connection {
  default upgrade;
  "" close;
}

server {
  listen 443 ssl;
  listen [::]:443 ssl;

  server_name office.*;

  server_tokens off;

  include /config/nginx/ssl.conf;

  add_header Strict-Transport-Security max-age=31536000;
  # add_header X-Frame-Options SAMEORIGIN;
  add_header X-Content-Type-Options nosniff;

  location / {
        include /config/nginx/proxy.conf;
        resolver 127.0.0.11 valid=30s;
		proxy_set_header Upgrade $http_upgrade;
		proxy_set_header Connection $proxy_connection;
		proxy_set_header X-Forwarded-Host $the_host;
		proxy_set_header X-Forwarded-Proto $the_scheme;
		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_pass http://192.168.1.93;
#	proxy_pass http://192.168.178.28:8082;
  }
}

 

Share this post


Link to post
10 hours ago, alturismo said:

@mihcox

 

here is my working letsencrypt nginx onlyoffice conf to work perfectly fine with this NC docker

 

of course check server_name and reverse address (i run my dockers all on their own ip meanwhile), also inserted sa mple when on bridge on host


# Use this example for proxy HTTPS traffic to the document server running at 'backendserver-address'.
# Replace {{SSL_CERTIFICATE_PATH}} with the path to the ssl certificate file
# Replace {{SSL_KEY_PATH}} with the path to the ssl private key file

map $http_host $this_host {
    "" $host;
    default $http_host;
}

map $http_x_forwarded_proto $the_scheme {
     default $http_x_forwarded_proto;
     "" $scheme;
}

map $http_x_forwarded_host $the_host {
    default $http_x_forwarded_host;
    "" $this_host;
}

map $http_upgrade $proxy_connection {
  default upgrade;
  "" close;
}

server {
  listen 443 ssl;
  listen [::]:443 ssl;

  server_name office.*;

  server_tokens off;

  include /config/nginx/ssl.conf;

  add_header Strict-Transport-Security max-age=31536000;
  # add_header X-Frame-Options SAMEORIGIN;
  add_header X-Content-Type-Options nosniff;

  location / {
        include /config/nginx/proxy.conf;
        resolver 127.0.0.11 valid=30s;
		proxy_set_header Upgrade $http_upgrade;
		proxy_set_header Connection $proxy_connection;
		proxy_set_header X-Forwarded-Host $the_host;
		proxy_set_header X-Forwarded-Proto $the_scheme;
		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_pass http://192.168.1.93;
#	proxy_pass http://192.168.178.28:8082;
  }
}

 

Thanks for this. I am using NGINXProxyManager with the gui, so im not exactly sure how to translate what you have to that.

Share this post


Link to post
2 minutes ago, mihcox said:

Thanks for this. I am using NGINXProxyManager with the gui, so im not exactly sure how to translate what you have to that.

u can try in the extended values or so, i dont use the manager anymore due some sites didnt work as expected with special config ...

Share this post


Link to post
Posted (edited)

Nextcloud and reverse proxy is set up with SIO`s videos help. Without duckdns.org due to static wan ip. 

 

ThenI am getting this error message when connecting thru WebUI and from outside:

870787802_Screenshot2020-03-24at17_27_50.png.705bb73a574b5f26b60b67479405aee1.png

 

Any ideas how to fix is much appreciated.

 

 

Netcloud docker log;

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.
Your data directory is invalid
Ensure there is a file called ".ocdata" in the root of the data directory.

 

 

Letsencrypt logfile;

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] 50-config: executing...
Variables set:
PUID=99
PGID=100
TZ=Europe/Berlin
URL=norvegr.works
SUBDOMAINS=server,nextcloud
EXTRA_DOMAINS=
ONLY_SUBDOMAINS=true
DHLEVEL=2048
VALIDATION=http
DNSPLUGIN=
EMAIL=frodm@icloud.com
STAGING=

2048 bit DH parameters present
SUBDOMAINS entered, processing
SUBDOMAINS entered, processing
Only subdomains, no URL in cert
Sub-domains processed are: -d server.norvegr.works -d nextcloud.norvegr.works
E-mail address entered: frodm@icloud.com
http validation is selected
Certificate exists; parameters unchanged; starting nginx
Starting 2019/12/30, GeoIP2 databases require personal license key to download. Please manually download/update the GeoIP2 db and save as /config/geoip2db/GeoLite2-City.mmdb
[cont-init.d] 50-config: exited 0.
[cont-init.d] 60-renew: executing...
The cert does not expire within the next day. Letting the cron script handle the renewal attempts overnight (2:08am).
[cont-init.d] 60-renew: 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.
nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see https://github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better, consider using the OpenResty releases from https://openresty.org/en/download.html)
Server ready

 

maxx-diagnostics-20200324-1919.zip

Edited by frodr

Share this post


Link to post
On 3/18/2020 at 9:44 AM, bastl said:

Log in as an admin account and you can set a quota for each user. (Standard, unlimited, 1GB, 5GB, etc.)

 

grafik.png.d42ad576301996427b19a1f3b2dead64.png

I have it set to unlimited of course.. Strange

Share this post


Link to post

I don't think I've seen it mentioned anywhere, but I am updating this way:

Go into the Docker's console through the webgui or ssh docker exec -it nextcloud bash.
sudo -u abc php7 config/www/nextcloud/updater/updater.phar

Common OCC commands:

sudo -u abc php7 /config/www/nextcloud/occ db:add-missing-indices

sudo -u abc php7 /config/www/nextcloud/occ db:convert-filecache-bigint

Other than that it should be straight forward how to proceed.
It's mostly a note for myself, but it's really easy like this.

Not that Nextcloud doesn't jump from 15 to 18 for example, but goes through every major version upgrade before you get there in the end.
I recommend looking at the overview page in the Nextcloud webgui and fix every single warning/issue before proceding to the next version, and do reboots of the docker in between.

 

Share this post


Link to post

Hey Guys,

 

I just did a fresh installed of Nextcloud and i am getting these errors. Does anyone know what ti means or how can i fix them. When i did the installation i unchecked the Install applications like Mail, Contacts.

 

image.thumb.png.30f303ec3b271732378da240de16bef9.png

image.thumb.png.3ddd9a851df60b7a9ecab60053be0a88.png

image.thumb.png.6b053be8bfea06f33d8ddc09192b64d5.png

Share this post


Link to post

For those setups using the SpaceInvaderOne videos and getting the errors:

* 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]

 

I edited the default file in appdata\nextcloud\nginx\site-confs directory to:
    }
    location = /.well-known/carddav {
       return 301 https://$host:444/remote.php/dav;
    }
    location = /.well-known/caldav {
       return 301 https://$host:444/remote.php/dav;
    }

 

All is good now.  Thought I'd share as I've spent several hours trying to get these errors to clear.

Share this post


Link to post

Hi,

i want to upgrade my nextcloud from 17.03 to the latest version.

I am following this steps, but at the step for upgrade i can not do this due to the commands for upgrade or maintenence are not longer known and if i open the website, it starts a new installation and asks me for an admin user:

 

##Open terminal in container

docker exec -it nextcloud bash

##Turn on maintenance mode

cd /config/www/nextcloud/

sudo -u abc php occ maintenance:mode --on

 

##Backup current nextcloud install

cd /config/www/

mv nextcloud nextcloud-backup

 

##Grab newest nextcloud release and unpack it

wget https://download.nextcloud.com/server/releases/nextcloudXXXX.tar.bz2

tar -xvf nextcloud-XXXX.tar.bz2

 

##Copy across old config.php from backup

cp nextcloud-backup/config/config.php nextcloud/config/config.php

 

##Now Restart docker container via Unraid WebGUI

##Open terminal in container

docker exec -it nextcloud bash

 

##Perform upgrade

cd /config/www/nextcloud/

sudo -u abc php occ upgrade

 

##Turn off maintenance mode

sudo -u abc php occ maintenance:mode --off

 

## Now Restart docker container via Unraid WebGUI

 

Next Problem:

I can not edit the container via the unraid GUI, i can not open the container over clicking on the name and if i confirm an update:

grafik.png.ad12121bc8dc2950dea22deae78c8ae6.png

Share this post


Link to post
Posted (edited)

Every time someone downloads something from my Nextcloud server my docker image fills up to up 100%. The data is accesed from SMB shares of the APP external devices.

It seems like Nextcloud loads the full file in the docker image every time someone downloads a file. After the download the space is free like before.

I set it up like in the video of spaceinvader with my own domain and letsenrcypt.

I tried some things from this forum. Changing the Log Level to 4. Changed via the extra parameters the Log file to 1 with max 50MB.

 

edit:

All dockers are up to date and Unraid is 6.8.2

Edited by Pascal51882

Share this post


Link to post

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.