[Support] Linuxserver.io - Nextcloud


5003 posts in this topic Last Reply

Recommended Posts

The spikes during upload transfer seem to be related to mysql performance. This person did some testing and was able to improve transfer speeds, especially for small files. The issue is that the biggest improvement comes from a change that is inherently less safe, so this is not a great option.

 

Here is a 2.5 GB file being uploaded:

 

This is the default with innodb_flush_log_at_trx_commit = 11518572826_innodb_flush_log_at_trx_commit-1.PNG.40830df40c204108d25093ffb852b0e2.PNG

 

This is with innodb_flush_log_at_trx_commit = 2912910768_innodb_flush_log_at_trx_commit-2.PNG.6caa953d253cb501441a5117aa2555e4.PNG

 

This is with innodb_flush_log_at_trx_commit = 51873959317_innodb_flush_log_at_trx_commit-5.PNG.c4b1b498d3e2e62dd9c4cf41e6fff9e0.PNG

 

No other innodb setting change suggested in forums has made a significant impact, but that one certainly helps. Small file performance seems a bit better, but it still isn't great.

 

The problem is that it weakens power loss protection so many suggest against this type of change.

 

I still have no idea what is bottle necking the upper limit of performance, but there is obviously a beyond nextcloud issue here, as its also reported with owncloud.

Link to post
  • Replies 5k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Application Name: Nextcloud Application Site: https://nextcloud.com/ Docker Hub: https://hub.docker.com/r/linuxserver/nextcloud/ Github: https://github.com/linuxserver/docker-nextcl

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

I replaced these lines in the '/mnt/cache/appdata/nextcloud/nginx/site-confs/default' file. (Adjust path to your appdata path, if it's different)   location = /.well-known/carddav { return

Posted Images

After a recent upgrade, I'm stuck in maintenance mode.

 

Google pointed me towards a number of commands - tried them through the docker console, but it doesn't seem to work. 

 

Most seem to point to this command:

sudo -u www-data php /var/www/nextcloud/occ maintenance:mode --off

 

 

Link to post
54 minutes ago, yyc321 said:

After a recent upgrade, I'm stuck in maintenance mode.

 

Google pointed me towards a number of commands - tried them through the docker console, but it doesn't seem to work. 

 

Most seem to point to this command:


sudo -u www-data php /var/www/nextcloud/occ maintenance:mode --off

 

 

Try: 

 

sudo -u abc php /config/www/nextcloud/occ maintenance:mode --off

 

EDIT - path was incorrect before, fixed it.

 

You can also change the maintenance value variable in config.php located at /appdata/nextcloud/www/nextcloud/config/ and reboot the docker.

Edited by 3doubled
Link to post
Something like this should work...

1. Open console to the mariadb container.
 
2. Type mysql followed by enter.
If this gives you problems, try mysql --user=root
You should see some information and help. Cursor should be at "MariaDB [(none)]>  "

3. Paste the sql query: 
ALTER DATABASE nextcloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; 
and press enter. Be sure to include the ; at the end.
You should see something like "Query OK, 1 row affected".
If you have named your database differently from standard install, change the "nextcloud" bit in the command to fit your config.
 
4. Type quit followed by enter.
 
You can now close the console window.
 
Run the other 2 commands in the console for the Nextcloud container. 
 
I think this should work. I started to use this container not that long ago so I don't need to do anything. It was done for me automatically when deploying this awesome container.

I’ve tried this a few times and still can’t get the error to go away in Nextcloud. I don’t know what I’m missing


Sent from my iPhone using Tapatalk Pro
Link to post
16 hours ago, H2O_King89 said:


I’ve tried this a few times and still can’t get the error to go away in Nextcloud. I don’t know what I’m missing


Sent from my iPhone using Tapatalk Pro

It's this post you should be looking at I believe

 

Link to post

I'm tryin to add an SMTP account and I keep getting an error I'm not sure what to do with:

 

A problem occurred while sending the email. Please revise your settings. (Error: Expected response code 250 but got code "501", with message "501 Syntactically invalid HELO argument(s)
 " Log data: ++ Starting Swift_SmtpTransport << 220 xxx.mail01.xxxxx.net ESMTP Exim 4.90_1 Mon, 22 Apr 2019 16:51:28 -0400
 >> EHLO _

 

I've verified the server and login information are correct.  I can't seem to find anything about this specific error.

Link to post

Trying to setup Nextcloud - unraid 6.6.7.  I have MariaDB running and configured (via SpaceInvaderOne's vid), no errors in that log, but when I fire up NC I get this:

 

Quote

[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
tar: /tmp/nextcloud.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
chmod: cannot access '/config/www/nextcloud/occ': No such file or directory
[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.

I have removed the container, restarted server and tried it again.. still the same thing.  I have App data set to Public.. and the share for nextcloud set to public as well.. any ideas?

 

Link to post

Same issue as well, i cannot get nextcloud to install correctly. Im am running Unraid 6.7.0-rc7

 

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


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...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
tar: /tmp/nextcloud.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

chmod: cannot access '/config/www/nextcloud/occ': No such file or directory
[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.

 

Link to post
Quote
46 minutes ago, presence06 said:

I have removed the container, restarted server and tried it again.. still the same thing.  I have App data set to Public.. and the share for nextcloud set to public as well.. any ideas?

Your sentence regarding the security got me thinking. After setting the security to public for the nextcloud data share it actually worked for me!

 

Link to post

Strange issue started today. I can't log in to Nextcloud using Chrome or Firefox but if I try it in Edge then it will work fine?

 

I have tried incognito and private tabs, cleared cookies and cache, even tried other systems, idk.....

 

EDIT, Nevermind, it was a caching issue with Cloudflair, dumped the cache and now things are working.

Edited by AnnabellaRenee87
Link to post

Having a new issue with the latest 15.x release.

I'm running MariaDB container as well for my nextcloud database.

 

MySQL is used as database but does not support 4-byte characters. To be able to handle 4-byte characters (like emojis) without issues in filenames or comments for example it is recommended to enable the 4-byte support in MySQL. For further details read the documentation page about this.

https://docs.nextcloud.com/server/15/go.php?to=admin-mysql-utf8mb4

 

I do however find that documentation page lacking as I'm not super well versed in SQL/MariaDB.

 

Is there any guidance available for exactly what I need to do in order to run these commands to fix this issue? 

Thank you in advance! 

Link to post
1 minute ago, CorneliousJD said:

Having a new issue with the latest 15.x release.

I'm running MariaDB container as well for my nextcloud database.

 

MySQL is used as database but does not support 4-byte characters. To be able to handle 4-byte characters (like emojis) without issues in filenames or comments for example it is recommended to enable the 4-byte support in MySQL. For further details read the documentation page about this.

https://docs.nextcloud.com/server/15/go.php?to=admin-mysql-utf8mb4

 

I do however find that documentation page lacking as I'm not super well versed in SQL/MariaDB.

 

Is there any guidance available for exactly what I need to do in order to run these commands to fix this issue? 

Thank you in advance! 

 

Link to post

I am tying to get nextcloud setup and ran into the problem that after I followed spaceinvaderone’s videos on how to setup nextcloud and then a reverse proxy that I am not able to log into nextcloud. I am using cloudflare for my dns verification. I am guessing it is something simple but still new to this so have no idea where to start looking or what to try.

Link to post

Wondering if anyone can help me.

 

Trying to get onlyoffice to run with nextcloud, but I'm getting a cURL error 6 with the subdomain I am using (via NginxProxy Manager docker and my own subdomain) for onlyoffice.

 

Decided to log into the docker and wget the subdomain for onlyoffice.

This throws an error 'bad address domain.mydomain.com'.

I have no problem with connecting to other websites.  

 

Is there anyway to fix this?

Link to post

Ok, appears I've come full circle on this issue.

It looks like with nextcloud container you cannot ping (in my case wget) any other bridged dockers on unraid when in bridge mode.

So trying to ping any of the dockers served via NginxProxy Manager using the console throws the bad address error.

 

Sucks.

Link to post

I recently installed nextcloud with mariadb , collabora and letsencrypt/nginx docker. Was working fine for a week. Still working on my phone through the IOS app. But When I try to access it from a browser (firefox,chrome,edge,opera, safari) I cant see any files or folders. Just a white screen where everything is supposed to be. The tabs are still there and clicking into them does nothing. Clicking on apps or files does nothing at all.

 

Everything was working flawlessly until I messed about and installed a few add ons. I added the music player and folder player, I was using it on my phone through the browser locked my screen for a minute and when I opened it it was white(was using safari on IOS).  I read some instructions a couple pages ago about downgrading to 140 and then manually upgrading. What do you mean by manually upgrade? Through the command line? or through the UI? I cant see anything in the UI except when I click on the Music player tab it loads up all the songs i uploaded. And clicking on settings gives me an internal server error. I can seem to find any errors in the logs. 

 

Any help is appreciated.

Link to post

I have updated to V16 and now I'm getting this error

 

image.thumb.png.5182d1030c88e7f67086d9328b1e7b28.png

 

This is the list of invalid files, that I don't know where they are

 

Technical information

=====================

The following list covers which files have failed the integrity check. Please read the previous linked documentation to learn more about the errors and how to fix them.

Results

=======

- files_rightclick

        - EXTRA_FILE

                 - README.md

Raw output

==========

Array

(

    [files_rightclick] => Array

       (

          [EXTRA_FILE] => Array

            (

                [README.md] => Array 

                     (

                           [expected] =>

                              [current] => cf73849388838de5037624e53303618579b164ec69fd55834ce4c5332ae33f778839e36298cbcc8ede90620927e076dbb8883479754e4c09b0491b15bf7653f3

                                               )

                                   )

                     )

)

Link to post
21 minutes ago, gacpac said:

I have updated to V16 and now I'm getting this error

 

image.thumb.png.5182d1030c88e7f67086d9328b1e7b28.png

 

This is the list of invalid files, that I don't know where they are

 

Technical information

=====================

The following list covers which files have failed the integrity check. Please read the previous linked documentation to learn more about the errors and how to fix them.

Results

=======

- files_rightclick

        - EXTRA_FILE

                 - README.md

Raw output

==========

Array

(

    [files_rightclick] => Array

       (

          [EXTRA_FILE] => Array

            (

                [README.md] => Array 

                     (

                           [expected] =>

                              [current] => cf73849388838de5037624e53303618579b164ec69fd55834ce4c5332ae33f778839e36298cbcc8ede90620927e076dbb8883479754e4c09b0491b15bf7653f3

                                               )

                                   )

                     )

)

Okay I fixed the first part. According to the file, the README.md is supposed to be empty and it has some information (doesn't make sense)

 

But Now I need help with the part of the reverse proxy header

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.