[Support] Linuxserver.io - Nextcloud


Recommended Posts

3 minutes ago, skois said:

New files will go to cache, not existing emoji4.png

Sent from my Mi 10 Pro using Tapatalk
 

Not on my Nextcloud data share, keeps one of my drives and parity spun up 24/7 even though mover only runs at 0200.  Nextcloud.log updates every minute.  If I stop the container the drives spin down normally.

Edited by RodWorks
Link to comment
Not on my Nextcloud data share, keeps one of my drives and parity spun up 24/7 even though mover only runs at 0200.  Nextcloud.log updates every minute.  If I stop the container the drives spin down normally.
The nextcloud.log is existing file so after its moved one time in the array it stays there.
Updates on files don't move them to cache.

If you delete the file, the new one will be created automatically and will be on cache. Until mover is run again

Sent from my Mi 10 Pro using Tapatalk

Link to comment
1 minute ago, skois said:

The nextcloud.log is existing file so after its moved one time in the array it stays there.
Updates on files don't move them to cache.

If you delete the file, the new one will be created automatically and will be on cache. Until mover is run again

Sent from my Mi 10 Pro using Tapatalk
 

Ok, I guess that makes sense.  What's a solution to this issue?  Why doesn't Nextcloud write logs to the appdata share?

Link to comment
Ok, I guess that makes sense.  What's a solution to this issue?  Why doesn't Nextcloud write logs to the appdata share?
Well, nextcloud is not aware if you run the docker in unraid or how you have setup your cache and disks.
Solution would be to have nextcloud share to prefer cache, that means files will stay in cache until is full.

With this you loose parity.

Or just fix the installation to not produce errors, not writing to log would be very rare.


Sent from my Mi 10 Pro using Tapatalk

Link to comment
3 minutes ago, skois said:

Well, nextcloud is not aware if you run the docker in unraid or how you have setup your cache and disks.
Solution would be to have nextcloud share to prefer cache, that means files will stay in cache until is full.

With this you loose parity.

Or just fix the installation to not produce errors, not writing to log would be very rare.


Sent from my Mi 10 Pro using Tapatalk
 

Ok, prefer is not an option..  I'll see if I can sort the errors out, otherwise it's gotta go.

  • Like 1
Link to comment
20 minutes ago, skois said:

Well, nextcloud is not aware if you run the docker in unraid or how you have setup your cache and disks.
Solution would be to have nextcloud share to prefer cache, that means files will stay in cache until is full.

With this you loose parity.

Or just fix the installation to not produce errors, not writing to log would be very rare.


Sent from my Mi 10 Pro using Tapatalk
 

 

This is what's getting written to the log repeatedly.

 

,"message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead."

Edited by RodWorks
Link to comment
6 hours ago, RodWorks said:

 

This is what's getting written to the log repeatedly.

 

,"message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead."

You seem to have log level too high and it's logging too much info that is meant for debug.
On the link you can see how to change that. And there is also info on how to change the location of the log file.

But remember where you set it to be, because in the future if you have another problem and someone asks for the logs, you have to know where it is :)
https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/logging_configuration.html

  • Like 1
Link to comment
On 5/6/2021 at 7:56 PM, RodWorks said:

I realize this, but only when the mover runs correct? There's a nextcloud.log inside the data folder that's being written to constantly which seems to be the issue.

 

The finder screenshot is what's inside the data share of Nextcloud.  You can see the .log file there along with appdata files.

 

 

Screen Shot 2021-05-06 at 1.55.33 PM.png

Screen Shot 2021-05-06 at 4.39.41 PM.png

That is the default path for the log file. The firs hit on Google tells you how you can change the path.

  • Like 1
Link to comment

Hey All,

    I had an issue with being able to see any apps within the nextcloud admin pages. I know this isn't likely a Linuxserver issue, rather a nextcloud/reverse-proxy/certificate issue, but I wanted to ask those far more talented than I for some guidance. 

 

I have had an issue seeing any apps within the apps page. there are a few apps that I believe are the preinstalled apps. I don't see anything wrong within the docker log but within nextcloud logs I see a common error (included below). I should also mention that the issue started long before I setup the reverse proxy but with all the google searches I have done, It seems to be looking for a certificate or file detailing the certificates.

 

Just not sure what to do to resolve. But if you need any other information or want me to try any tests I'm happy to attempt.

 

 

 

WarningappstoreFetcherGuzzleHttp\Exception\RequestException: cURL error 77: error setting certificate verify locations: CAfile: /data/files_external/rootcerts.crt CApath: none (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) {added by AERODB, looking here didnt help}

/config/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php - line 155:

GuzzleHttp\Handler\CurlFactory::createRejection()

/config/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php - line 105:

GuzzleHttp\Handler\CurlFactory::finishError()

/config/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php - line 43:

GuzzleHttp\Handler\CurlFactory::finish()

/config/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/Proxy.php - line 28:

GuzzleHttp\Handler\CurlHandler->__invoke()

/config/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/Proxy.php - line 51:

GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}("*** sensiti ... *")

/config/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php - line 37:

GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}("*** sensiti ... *")

/config/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php - line 29:

GuzzleHttp\PrepareBodyMiddleware->__invoke()

/config/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php - line 70:

GuzzleHttp\Middleware::GuzzleHttp\{closure}("*** sensiti ... *")

/config/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php - line 59:

GuzzleHttp\RedirectMiddleware->__invoke()

/config/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php - line 71:

GuzzleHttp\Middleware::GuzzleHttp\{closure}("*** sensiti ... *")

/config/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php - line 361:

GuzzleHttp\HandlerStack->__invoke()

/config/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php - line 163:

GuzzleHttp\Client->transfer()

/config/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php - line 183:

GuzzleHttp\Client->requestAsync()

/config/www/nextcloud/lib/private/Http/Client/Client.php - line 233:

GuzzleHttp\Client->request()

/config/www/nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php - line 115:

OC\Http\Client\Client->get()

/config/www/nextcloud/lib/private/App/AppStore/Fetcher/AppFetcher.php - line 88:

OC\App\AppStore\Fetcher\Fetcher->fetch()

/config/www/nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php - line 187:

OC\App\AppStore\Fetcher\AppFetcher->fetch()

/config/www/nextcloud/lib/private/Installer.php - line 411:

OC\App\AppStore\Fetcher\Fetcher->get()

/config/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php - line 256:

OC\Installer->isUpdateAvailable()

<<closure>>

OCA\Settings\Controller\AppSettingsController->OCA\Settings\Controller\{closure}("*** sensiti ... *")

/config/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php - line 248:

array_map()

/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 169:

OCA\Settings\Controller\AppSettingsController->listApps()

/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 100:

OC\AppFramework\Http\Dispatcher->executeController()

/config/www/nextcloud/lib/private/AppFramework/App.php - line 152:

OC\AppFramework\Http\Dispatcher->dispatch()

/config/www/nextcloud/lib/private/Route/Router.php - line 309:

OC\AppFramework\App::main()

/config/www/nextcloud/lib/base.php - line 1008:

OC\Route\Router->match()

/config/www/nextcloud/index.php - line 37:

OC::handleRequest()

Link to comment

I don't think you still have this problem anymore right? 
I had the same problem about 3-4 weeks ago. There was a problem with nextcloud app store servers (IIRC). I haven't seen that error for some time now. 

So if you don't have any problems now, you can ignore it

Link to comment
10 hours ago, skois said:

I don't think you still have this problem anymore right? 
I had the same problem about 3-4 weeks ago. There was a problem with nextcloud app store servers (IIRC). I haven't seen that error for some time now. 

So if you don't have any problems now, you can ignore it

Yes actually. Still having the same issue. The provided log is from today. 

Link to comment

Hey guys & gals im back lol with a few minor issues lol. I ended up deleting the nextcloud docker and mariandb and reinstalling everything. Solved my issues with updating and what not hopefully. Now my issue is downloading larger files. Once it reaches 367 mb of a file it says network error. Please help tia

Link to comment
4 hours ago, Aerodb said:

Yes actually. Still having the same issue. The provided log is from today. 

From a fast google search in github issues of nextcloud, they say that it should be fixed on the latests updates. If you are on latest update, try posting a bug report in their github.

Link to comment
3 hours ago, akash3230 said:

Hey guys & gals im back lol with a few minor issues lol. I ended up deleting the nextcloud docker and mariandb and reinstalling everything. Solved my issues with updating and what not hopefully. Now my issue is downloading larger files. Once it reaches 367 mb of a file it says network error. Please help tia

Probably this -> 
https://www.reddit.com/r/NextCloud/comments/ayhlji/unable_to_download_files_larger_than_1gb/

 

Link to comment
Hey thanks for getting back so quick. So i tried this but it didnt work. I copied and pasted that into ngnix proxy manager and then went to the advanced tab and pasted it there but still no luck 
I think in nginx proxy manager, on the advan Ed tab you need to wrap everything in
Location /{ everything here }

Sent from my Mi 10 Pro using Tapatalk

Link to comment
On 5/9/2021 at 7:24 PM, skois said:

I think in nginx proxy manager, on the advan Ed tab you need to wrap everything in
Location /{ everything here }

Sent from my Mi 10 Pro using Tapatalk
 

so here is what i found out today. i can upload to my smb shares no issues with a file that is 1gb. but as soon as i try to download from the same smb share it shows network error. 

Link to comment

Hello, I have LSIO Nextcloud Container installed on my Unraid 6.9.2.  I want my PhotoPrism Docker containers to be able to make INTERNAL HTTP calls across my local Docker network to the Nextcloud container's WebDav endpoint.

 

Currently the NextCloud and PhotoPrism docker containers can see/ping/curl each other internally, but all requests to unsecure http://<nextcloud_docker_container>/remote.php/dav/files/user/ is getting redirected to secure https://<nextcloud_docker_container>/remote.php/dav/files/user/ by Nextcloud Nginx config I think.

 

How do I allow LSIO Nextcloud container to receive unsecure HTTP requests from other internal docker containers?

Link to comment
47 minutes ago, clusterbox said:

Hello, I have LSIO Nextcloud Container installed on my Unraid 6.9.2.  I want my PhotoPrism Docker containers to be able to make INTERNAL HTTP calls across my local Docker network to the Nextcloud container's WebDav endpoint.

 

Currently the NextCloud and PhotoPrism docker containers can see/ping/curl each other internally, but all requests to unsecure http://<nextcloud_docker_container>/remote.php/dav/files/user/ is getting redirected to secure https://<nextcloud_docker_container>/remote.php/dav/files/user/ by Nextcloud Nginx config I think.

 

How do I allow LSIO Nextcloud container to receive unsecure HTTP requests from other internal docker containers?

 

Looks like I resolved my own issue by cloning the Nginx 443 block to the 80 block.  I did not expose port 80 to the internet but now it allows me to make insecure HTTP calls internally between my docker containers.

Link to comment

Hello all,

I've been using nextcloud and absolutely love it!

Recently I have been forced to switch router to one that doesn't  support hairpinning / loopback. As a result I cannot access my nextcloud server from within my LAN. I followed spaceinvader's video tutorial on setting up nextcloud and reverse proxy via let's encrypt and duckdns.

When I hit up the nextcloud ip my.local.ip:444, I get rerouted to my unraid server ui. Is there a way to make nextcloud accept local connections?

If this has been mentioned before, excuse my question and point me in the right direction

 

thank you for you time!

Link to comment
3 hours ago, avpap said:

Hello all,

I've been using nextcloud and absolutely love it!

Recently I have been forced to switch router to one that doesn't  support hairpinning / loopback. As a result I cannot access my nextcloud server from within my LAN. I followed spaceinvader's video tutorial on setting up nextcloud and reverse proxy via let's encrypt and duckdns.

When I hit up the nextcloud ip my.local.ip:444, I get rerouted to my unraid server ui. Is there a way to make nextcloud accept local connections?

If this has been mentioned before, excuse my question and point me in the right direction

 

thank you for you time!

One solution would be to edit your hosts file in each computer in home

Link to comment

Hello, 

I am missing something.... I've installed the container and set up everything , right now I can access the webGUI but it feels kinda slow. Then I go to the desktop app and check the speed and a LAN sync is going at around 400 Kbps...

 

What could I do? I've tried to modify my www2.conf parameters (the pm. stuff), changed the http2 flags in Nginx Proxy Manager. I have no custom config in the NPM.

 

 

Link to comment
On 5/13/2021 at 1:19 PM, skois said:

One solution would be to edit your hosts file in each computer in home

I added the line

 

192.168.2.11 mynextcloudserver.duckdns.org

 

when I hit up 192.168.2.11 from my browser, nothing happens. Is there something wrong with my syntax? I opened the file with notepad as administrator and then saved it. I ran on the command prompt ipconig /flushdns and restarted my pc. Nothing.

what am I doing wrong?

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.