[Support] Linuxserver.io - Nextcloud


Recommended Posts

Upgraded from NC 15 to 19 today, yeah I know, long overdue. 

When I go to help I have Nextcloud 15 support documentation, how to I purge the old version of this page?

 

Secondary issue I'm having is the Additionaly Settings page is missing under Settings. Prints a '1' on the page.

This is not the Additional Settings that is under Administration.

image.png.18b1e434f49567b9c7bffd2b0365b5a1.png

Edited by exist2resist
Link to comment
On 11/13/2020 at 12:20 PM, HomelabHobbyistSK said:

Hey Tmor2,

 

From within the NextCloud Settings > Administration > Overview page, does it have any option to update present? I was stuck on 17.0.1 as well, but I had to install the Upgrade to version 18.x, then 19.x (Current Stable Release Available). If you don't see any option to upgrade, can you post a screenshot of what you can see?

I'm not the same person but I came here to ask the same. This is what I see:

 

ccc.PNG

Link to comment
40 minutes ago, DuneJeeper said:

I'm not the same person but I came here to ask the same. This is what I see:

 

ccc.PNG

I think it may be that you have the standard update channel selected. When you place it into Beta, do you see anything different?

 

* I forgot what the original question was and had to edit this post 

Edited by HomelabHobbyistSK
Link to comment

i don't understand

my nextcloud docker was updated 4 days ago (i see on the docker hub latest release was 4 days ago to version 20.x), but when i look in my nextcloud my version is 19.0.0, then what is the purpose of update if the nexcloud container does not get updated to version 20.x ?

 

Edited by Danuel
Link to comment

I'm having trouble after updating from version 17 to 18.0.10

 

It gets to the screen: Nextcloud will be updated to version 18.0.10 and then after I click on the Start Update button it has an error

 

InvalidArgumentException: Column name "oc_flow_operations"."entity" is NotNull, but has empty string or null as default.

 

I set this up following @SpaceInvaderOne's YouTube tutorial and I'm not sure how to make the necessary change to the MariaDB to fix the error

 

the following link references the error and the solution https://github.com/nextcloud/server/issues/23174

I tried a number of the suggestions and they didn't work. None of them were specific to unraid dockers though.

 

If someone could please provide a step by step of the commands needed in the MariaDB Docker console that would be very much appreciated

 

Link to comment
On 10/24/2020 at 6:29 AM, skois said:

After looking for almost a month how to install Face Recognition App on Nextcloud. I had found the install instructions but never was able to complete them. Because apt install wasn't working. But i was too stupid and today realised it was alpine underneath. So.. googled what package manager alpine uses and managed to get Face Rec working (ill have some results in some hours!). 

For anyone wanna install pdlib and try the Face Rec app, here is what i did to install it.

First, DO IT ON TESTING DOCKER NOT ON THE PRODUCTION DOCKER! 

Have some photos on your nextcloud (not on external storages, it won't work, been there)

Now the installation.
1 - Go to Dockers, Open console on your test nextcloud docker

Insert the following commands one line at a time.

Hopefully you won't have any errors.


apk add make cmake gcc g++ php7-dev libx11-dev openblas-dev

**RESTART DOCKER AFTER THE PREVIOUS LINE, open console on docker again and continue**

git clone https://github.com/davisking/dlib.git
cd dlib/dlib
mkdir build
cd build
cmake -DBUILD_SHARED_LIBS=ON ..
make
sudo make install

cd / 

git clone https://github.com/goodspb/pdlib.git
cd pdlib
phpize
PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig ./configure
make
sudo make install

* Now to go appdata folder /php/phplocal.ini and add on the end

 

[pdlib]
extension="pdlib.so"
 


2 - Restart NC Docker once again.

3 - Go to Apps and install/enable Face Recognition App
4 - Go to NC Docker console again and do "occ face:setup -m 1"

5 - Go to Settings > Face Recognition (on the lower menu)

6 - I don't know if its supposed to start automatically, mine was saying Analysis started but didn't seem to process any photo until i open the docker console again and do "occ face:background_job" EDIT* This command justs forces to start, if you want you can let it start automaticly via cron job
7 - Wait for results ( i'm also waiting. so i can't really tell you how it works yet)

*For more info for fine tuning check here https://github.com/matiasdelellis/facerecognition/wiki/Usage

*This is all info gathered around, so I can't be sure that i haven't messed any other module of NC while installing those packages. 
DO IT AT YOUR OWN RISK!

PS. As you can see i'm just good at googling! Not an expert. Hehe
 

Nice work, I also gave this a try on the weekend but even though the app has analysed my 300 photos, I'm not getting any face/person results. I used model 3 (HOG) as model 1 (CNN) errored when I tried running occ face:setup -m 1

 

Are you getting any faces/persons detected?

  • Like 1
Link to comment
Nice work, I also gave this a try on the weekend but even though the app has analysed my 300 photos, I'm not getting any face/person results. I used model 3 (HOG) as model 1 (CNN) errored when I tried running occ face:setup -m 1
 
Are you getting any faces/persons detected?
I'm using model 4. Check progress with occ face:progress
It should automatically group people, but you can force it with occ face:background_job

Then go to settings, personal, face recognition
You might have to wait a sec to load.
You will see a button "there are more persons to recognize"
Press this and it will ask you to name a person



Sent from my Mi 10 Pro using Tapatalk

Link to comment

Trying to setup for first time followed spaceinvaders video however once I try to open the nextcloud UI I get 

 

Internal Server Error The server encountered an internal error and was unable to complete your request. Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report. More details can be found in the server log.

 

 

 

 

but my log just looks like this. 

 

 

To support LSIO projects visit:
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] 70-aliases: executing...
[cont-init.d] 70-aliases: exited 1.
[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.

Link to comment

I have a very very weird situation going on right now. I updated to Nextcloud 20 and everything worked ok at the start.  Then suddenly I couldn't log into both my domain next.blahblah.com or 123.123.123.13:444 or my instance.  I am still able to use my iphone app to upload pictures and look at documents.  So the the application is running.  I get a 504 Gateway Time-out but that makes sense since my iPhone can see everything just fine.  Any ideas?!

 

error.log info:
2020/11/16 17:31:58 [error] 374#374: *320 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 172.17.0.1, server: _, request: "GET /apps/files/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "next.blahblahblah.com"
2020/11/16 17:32:53 [error] 374#374: *2 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 10.253.0.6, server: _, request: "GET /apps/dashboard/ HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "interalserverip:444"

 

access.log info:

10.253.0.6 - - [16/Nov/2020:17:31:53 -0600] "GET /favicon.ico HTTP/2.0" 302 0 "https://internalserverip:444/apps/dashboard/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36"
172.17.0.1 - - [16/Nov/2020:17:31:53 -0600] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 302 5 "-" "Nextcloud Server Crawler"
172.17.0.1 - - [16/Nov/2020:17:31:58 -0600] "GET /apps/files/ HTTP/1.1" 504 167 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.1 Safari/605.1.15"
172.17.0.1 - - [16/Nov/2020:17:32:37 -0600] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 499 0 "-" "Nextcloud Server Crawler"
172.17.0.1 - - [16/Nov/2020:17:32:37 -0600] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 499 0 "-" "Nextcloud Server Crawler"
172.17.0.1 - - [16/Nov/2020:17:32:37 -0600] "GET /login HTTP/1.1" 499 0 "-" "Nextcloud Server Crawler"
172.17.0.1 - - [16/Nov/2020:17:32:38 -0600] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 302 5 "-" "Nextcloud Server Crawler"
172.17.0.1 - - [16/Nov/2020:17:32:38 -0600] "GET /login HTTP/1.1" 499 0 "-" "Nextcloud Server Crawler"
172.17.0.1 - - [16/Nov/2020:17:32:38 -0600] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 302 5 "-" "Nextcloud Server Crawler"
10.253.0.6 - - [16/Nov/2020:17:32:53 -0600] "GET /apps/dashboard/ HTTP/2.0" 504 569 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36"

 

Any ideas?!

Link to comment

Just tried to launch the webui and got this message:

Internal Server Error The server encountered an internal error and was unable to complete your request. Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report. More details can be found in the server log.

 

This is all that is in the container log:

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


Brought to you by linuxserver.io
-------------------------------------

To support LSIO projects visit:
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] 70-aliases: executing...
[cont-init.d] 70-aliases: exited 1.
[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.

Not sure what went wrong or where to go from here.

Link to comment
On 11/17/2020 at 12:40 AM, GreenEyedMonster said:

I have a very very weird situation going on right now. I updated to Nextcloud 20 and everything worked ok at the start.  Then suddenly I couldn't log into both my domain next.blahblah.com or 123.123.123.13:444 or my instance.  I am still able to use my iphone app to upload pictures and look at documents.  So the the application is running.  I get a 504 Gateway Time-out but that makes sense since my iPhone can see everything just fine.  Any ideas?!

 

error.log info:
2020/11/16 17:31:58 [error] 374#374: *320 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 172.17.0.1, server: _, request: "GET /apps/files/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "next.blahblahblah.com"
2020/11/16 17:32:53 [error] 374#374: *2 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 10.253.0.6, server: _, request: "GET /apps/dashboard/ HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "interalserverip:444"

 

access.log info:

10.253.0.6 - - [16/Nov/2020:17:31:53 -0600] "GET /favicon.ico HTTP/2.0" 302 0 "https://internalserverip:444/apps/dashboard/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36"
172.17.0.1 - - [16/Nov/2020:17:31:53 -0600] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 302 5 "-" "Nextcloud Server Crawler"
172.17.0.1 - - [16/Nov/2020:17:31:58 -0600] "GET /apps/files/ HTTP/1.1" 504 167 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.1 Safari/605.1.15"
172.17.0.1 - - [16/Nov/2020:17:32:37 -0600] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 499 0 "-" "Nextcloud Server Crawler"
172.17.0.1 - - [16/Nov/2020:17:32:37 -0600] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 499 0 "-" "Nextcloud Server Crawler"
172.17.0.1 - - [16/Nov/2020:17:32:37 -0600] "GET /login HTTP/1.1" 499 0 "-" "Nextcloud Server Crawler"
172.17.0.1 - - [16/Nov/2020:17:32:38 -0600] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 302 5 "-" "Nextcloud Server Crawler"
172.17.0.1 - - [16/Nov/2020:17:32:38 -0600] "GET /login HTTP/1.1" 499 0 "-" "Nextcloud Server Crawler"
172.17.0.1 - - [16/Nov/2020:17:32:38 -0600] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 302 5 "-" "Nextcloud Server Crawler"
10.253.0.6 - - [16/Nov/2020:17:32:53 -0600] "GET /apps/dashboard/ HTTP/2.0" 504 569 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36"

 

Any ideas?!

I have the same problem after update!

 

Sometimes i can access the site but super slow, then i get 504 Gateway Time-out

Link to comment
On 6/30/2016 at 8:41 PM, CHBMB said:

 

The file limit can be changed, as to a limit, if there's one set by Nextcloud then they'll be one here.

HOW can the limit be changed...

 

I am moving data from my Qnap to Nextcloud.  Very large transfers keep generating: "Error when assembling chunks, status code 504"

I have spent a day investigating, changing conf files and I still get the error code.  I am unclear if the issue is size or limit of browser time session.

 

Using Big Sure OS.

Chrome Browser to log into nextcloud and transfer files from both local drive and Qnap.

 

UnRaid Server:

AMD Ryzen 7 8 core

16GB Memory

 

Dockers all installed 11/16 - latest:

miriadb

nextcloud

swag

 

I changed:

appdata>nextcloud>www>nectcloud>config>config.php - the highlighted code I added:

1448229423_ScreenShot2020-11-19at10_21_35AM.thumb.png.67f7da39dc89e9bae8f7b2cc78929955.png

 

I can provide log files if needed.

Link to comment
22 minutes ago, Mystic said:

HOW can the limit be changed...

 

I am moving data from my Qnap to Nextcloud.  Very large transfers keep generating: "Error when assembling chunks, status code 504"

I have spent a day investigating, changing conf files and I still get the error code.  I am unclear if the issue is size or limit of browser time session.

 

Using Big Sure OS.

Chrome Browser to log into nextcloud and transfer files from both local drive and Qnap.

 

UnRaid Server:

AMD Ryzen 7 8 core

16GB Memory

 

Dockers all installed 11/16 - latest:

miriadb

nextcloud

swag

 

I changed:

appdata>nextcloud>www>nectcloud>config>config.php - the highlighted code I added:

1448229423_ScreenShot2020-11-19at10_21_35AM.thumb.png.67f7da39dc89e9bae8f7b2cc78929955.png

 

I can provide log files if needed.

You can also change the max upload size in /config/php.php-local.ini

This how i have mine setup
*i dont know if this is the fix for your problem, i mention it because you said you move large files
*"Ignore" the pdlib section is there for the facerecognition, doing some tests

; Edit this file to override php.ini directives and restart the container

date.timezone = Europe/Athens
upload_max_filesize=20G
memory_limit=8G
max_execution_time=3600
max_input_time=3600

[pdlib]
extension="pdlib.so"

 

Link to comment
On 11/17/2020 at 12:40 AM, GreenEyedMonster said:

I have a very very weird situation going on right now. I updated to Nextcloud 20 and everything worked ok at the start.  Then suddenly I couldn't log into both my domain next.blahblah.com or 123.123.123.13:444 or my instance.  I am still able to use my iphone app to upload pictures and look at documents.  So the the application is running.  I get a 504 Gateway Time-out but that makes sense since my iPhone can see everything just fine.  Any ideas?!

 

error.log info:
2020/11/16 17:31:58 [error] 374#374: *320 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 172.17.0.1, server: _, request: "GET /apps/files/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "next.blahblahblah.com"
2020/11/16 17:32:53 [error] 374#374: *2 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 10.253.0.6, server: _, request: "GET /apps/dashboard/ HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "interalserverip:444"

 

access.log info:

10.253.0.6 - - [16/Nov/2020:17:31:53 -0600] "GET /favicon.ico HTTP/2.0" 302 0 "https://internalserverip:444/apps/dashboard/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36"
172.17.0.1 - - [16/Nov/2020:17:31:53 -0600] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 302 5 "-" "Nextcloud Server Crawler"
172.17.0.1 - - [16/Nov/2020:17:31:58 -0600] "GET /apps/files/ HTTP/1.1" 504 167 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.1 Safari/605.1.15"
172.17.0.1 - - [16/Nov/2020:17:32:37 -0600] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 499 0 "-" "Nextcloud Server Crawler"
172.17.0.1 - - [16/Nov/2020:17:32:37 -0600] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 499 0 "-" "Nextcloud Server Crawler"
172.17.0.1 - - [16/Nov/2020:17:32:37 -0600] "GET /login HTTP/1.1" 499 0 "-" "Nextcloud Server Crawler"
172.17.0.1 - - [16/Nov/2020:17:32:38 -0600] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 302 5 "-" "Nextcloud Server Crawler"
172.17.0.1 - - [16/Nov/2020:17:32:38 -0600] "GET /login HTTP/1.1" 499 0 "-" "Nextcloud Server Crawler"
172.17.0.1 - - [16/Nov/2020:17:32:38 -0600] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 302 5 "-" "Nextcloud Server Crawler"
10.253.0.6 - - [16/Nov/2020:17:32:53 -0600] "GET /apps/dashboard/ HTTP/2.0" 504 569 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36"

 

Any ideas?!

 

5 hours ago, j0nnymoe said:

Try removing whatever app `richdocumentscode` is and see if that solves it.

 

I assume you did an update via the beta channel?

Thank you!

It was the Collabora plugin that broke nextcloud!
Just open a terminal to the nextcloud-docker and type:

sudo -u abc php /config/www/nextcloud/occ app:disable richdocumentscode
sudo -u abc php /config/www/nextcloud/occ app:disable richdocuments

Then restart docker.

  • Thanks 1
Link to comment

Transferring from Qnap to Nexrcloud has improved with the latest config change to the php.php-local.ini, but I am still getting the "Error when assembling chunks, status code 504".

 

Is there a tool beside the Flowuploader app I found on Nextcloud app site which seams to be very buggy.  Does anyone have a suggestions on how to move data?

 

currently attempting to transfer a 7.5GB file of .MOV and I keep getting error.

Edited by Mystic
Link to comment
3 minutes ago, Mystic said:

Transferring from Qnap to Nexrcloud has improved with the latest config change to the php.php-local.ini, but I am still getting the "Error when assembling chunks, status code 504".

 

Is there a tool beside the Flowuploader app I found on Nextcloud app site which seams to be very buggy.  Does anyone have a suggestions on how to move data?

 

currently attempting to transfer a 7.5GB file of .MOV and I keep getting error.

Have you changed your php-local.ini value ? *upload_max_filesize=10G*
Are you trying to upload from web? or with desktop client?

Edited by skois
Link to comment
Just now, Mystic said:

I am on OS  Big Sure

Latest ver of Chrome

 

Ok, give me some time, trying a 11G file through web. 
With client it will continiue syncing the other files if one fails (i think) and it will tell you which failed.
For the 1st big transfer you can use filesytem copy and then runn occ:scan --all
but not letting you transfer big files is something that need to fix.
 

Link to comment
Just now, Mystic said:

Thanks for all the help on this @skois - 

 

I am not sure what is expected.  I assume you are trying to replicate the issue on your own network..

 

I will configure the client on my machine and attempt to upload large amounts of data.  I will post results.

I'm getting the same error, so now i have to investigate it also lol

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.