Jump to content
linuxserver.io

[Support] Linuxserver.io - Nextcloud

3918 posts in this topic Last Reply

Recommended Posts

hi,

i'm using this docker for nextcloud and another container for onlyoffice. The container i use seems to be not maintained anymore (siwat's repository).

It's still working in a web session but i'd like to change to a more actual version.

Do you have any suugestion for onlyoffice docker repository?

If i could keep my onloffice appdata it would be convenient.

 

Share this post


Link to post

Hi there I have searched and found two times where someone has had a similar problem but I cannot find the solution. 

I keep receiving this error in the log file

2020/09/01 19:36:33 [error] 372#372: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.0.23, server: _, request: "GET / HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.0.11:444"

and when I tried to go into the GUI 

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.

I assumed this was due to IP address being incorrect so I went into the config and amended it to to match the below. 

image.png.8819265b0a178302ed210a1b3a64b8a6.png

However I still get an error trying to connect. I am now stuck. I have enabled debugging but cant seem to see a file. Appreciate any help. I am not sure if its potentially an issue with mariadb or nextccloud itself. 

 

 

Share this post


Link to post
20 hours ago, caplam said:

hi,

i'm using this docker for nextcloud and another container for onlyoffice. The container i use seems to be not maintained anymore (siwat's repository).

It's still working in a web session but i'd like to change to a more actual version.

Do you have any suugestion for onlyoffice docker repository?

If i could keep my onloffice appdata it would be convenient.

 

wow, i don't know where i saw this but i'm using onlyoffice repository.

Yesterday i had hard time trying to maake this work. Onlyoffice was not available (even locally) until i fixed the reverse proxy problem i had (deleted linuxserver/let's encrypt and reconfigured from scratch linuxserver/swag).

Strange but it's now working

Share this post


Link to post
On 8/26/2020 at 6:37 PM, 4554551n said:

Could someone please help me with a strange issue I am having.

It relates to external storages using SFTP.

There are two issues. First (and this isn't that important for now) is that using RSA private key doesn't work. No matter how I configure it, it says cannot read key (RSA 4096 key, generated in linux via ssh-keygen, that connects in fine).

Secondly, and this is a lot more concerning, and I am completely stuck:
Using RSA public key, created by NC, I can connect to external shares, and upload files. But I cannot then download those files again (accessing the server directly, the files are fine, I can download them through other means, they work etc)

Logs are pointing to SFTP.php as the culprit, but that's literally as far as I am able to get. For example:

 

Here is trying to save a file I uploaded

```


 Error: fopen(sftpread://home/[username]/public//gba.7z): failed to open stream: "OCA\Files_External\Lib\Storage\SFTPReadStream::stream_open" call failed at /config/www/nextcloud/apps/files_external/lib/Lib/Storage/SFTP.php#378


GET /remote.php/webdav/[username]Share/gba.7z?downloadStartSecret=[11 character code]
from [IP] by [username] at 2020-08-26T08:13:59+00:00
```

line 378 is
$handle = fopen('sftpread://' . trim($absPath, '/'), 'r', false,

There are other errors for opening files, trying to save uploaded files, copying uploaded files.
Basically anything to do with interacting with a file that's been uploaded to the external share (all SFTP shares) via NC

 

Is anyone else having these SFTP issues, or could offer me a pointer in the right direction please?

Share this post


Link to post

Going to try one more time to see if someone can help me with this issue, I've enabled debugging would anyone be able to assist? See log file. 

nextcloud.log

Share this post


Link to post

My Unraid OS crashed this week and I have limped it back to live with no data loss.  However, I have lost some plugins and dockers. 

 

Plugins are not the end of the world, but is there a way to restore the Nextcloud docker (and MariaDB docker) to get it back like it was?  I have a current flash backup file.

Share this post


Link to post

Hi,
I'm currently trying to upgrade from version 17.0.9 to 18.0.8. But for this it tells me to first upgrade the servers PHP (current version 7.1.17). Now I can't for the life of me figure out how to do this.
 

Share this post


Link to post

So I have started getting this when I try to connect to my Nextcloud server via browser:

image.thumb.png.7f141f5fac40909906d178bf6773a315.png

It says "Internal Server Error" and "more info in server log"
Syncing of files to the desktop client and accessing the server via app on android seem to work fine, its just that when accessing via browser I get that. So i dont really know when it happened other than the last months as I usually have used it via desktop client and android app.

As I know, its the file that for me is /Ncloud/nextcloud.log it talks about? (Ncloud is the share I have Nextcloud files in)
When I search for one of the Request IDs of the tried attempts, this is what the line says:

{"reqId":"DUjCYQvZMkiUBvHyhVo2","level":0,"time":"2020-09-05T19:23:23+00:00","remoteAddr":"172.18.0.3","user":"Mihle","app":"no app in context","method":"GET","url":"/apps/files/","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36","version":"18.0.8.2"}
{"reqId":"DUjCYQvZMkiUBvHyhVo2","level":3,"time":"2020-09-05T19:23:23+00:00","remoteAddr":"172.18.0.3","user":"Mihle","app":"index","method":"GET","url":"/apps/files/","message":{"Exception":"Exception","Message":"Argument 1 passed to \"Symfony\\Component\\EventDispatcher\\EventDispatcherInterface::dispatch()\" must be an object, string given.","Code":0,"Trace":[{"file":"/config/www/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files\\Controller\\ViewController"},"index"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Files\\Controller\\ViewController","index",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"files.view.index"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"files.view.index"}]},{"file":"/config/www/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"files.view.index"}]},{"file":"/config/www/nextcloud/lib/base.php","line":1013,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/files/"]},{"file":"/config/www/nextcloud/index.php","line":38,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":109,"Previous":{"Exception":"TypeError","Message":"Argument 1 passed to \"Symfony\\Component\\EventDispatcher\\EventDispatcherInterface::dispatch()\" must be an object, string given.","Code":0,"Trace":[{"file":"/config/www/nextcloud/lib/private/EventDispatcher/SymfonyAdapter.php","line":70,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":["OCA\\Files::loadAdditionalScripts",{"__class__":"Symfony\\Component\\EventDispatcher\\GenericEvent"}]},{"file":"/config/www/nextcloud/apps/files/lib/Listener/LegacyLoadAdditionalScriptsAdapter.php","line":51,"function":"dispatch","class":"OC\\EventDispatcher\\SymfonyAdapter","type":"->","args":["OCA\\Files::loadAdditionalScripts",{"__class__":"Symfony\\Component\\EventDispatcher\\GenericEvent"}]},{"file":"/config/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php","line":76,"function":"handle","class":"OCA\\Files\\Listener\\LegacyLoadAdditionalScriptsAdapter","type":"->","args":[{"__class__":"OCA\\Files\\Event\\LoadAdditionalScriptsEvent"}]},{"file":"/config/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":247,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->","args":[{"__class__":"OCA\\Files\\Event\\LoadAdditionalScriptsEvent"},"OCA\\Files\\Event\\LoadAdditionalScriptsEvent",{"__class__":"Symfony\\Component\\EventDispatcher\\EventDispatcher"}]},{"file":"/config/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[[{"__class__":"Closure"},{"__class__":"Closure"},{"__class__":"Closure"},{"__class__":"Closure"},{"__class__":"Closure"}],"OCA\\Files\\Event\\LoadAdditionalScriptsEvent",{"__class__":"OCA\\Files\\Event\\LoadAdditionalScriptsEvent"}]},{"file":"/config/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":80,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[{"__class__":"OCA\\Files\\Event\\LoadAdditionalScriptsEvent"},"OCA\\Files\\Event\\LoadAdditionalScriptsEvent"]},{"file":"/config/www/nextcloud/lib/private/EventDispatcher/SymfonyAdapter.php","line":63,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":["OCA\\Files\\Event\\LoadAdditionalScriptsEvent",{"__class__":"OCA\\Files\\Event\\LoadAdditionalScriptsEvent"}]},{"file":"/config/www/nextcloud/apps/files_sharing/list.php","line":45,"function":"dispatch","class":"OC\\EventDispatcher\\SymfonyAdapter","type":"->","args":["OCA\\Files\\Event\\LoadAdditionalScriptsEvent",{"__class__":"OCA\\Files\\Event\\LoadAdditionalScriptsEvent"}]},{"file":"/config/www/nextcloud/apps/files/lib/Controller/ViewController.php","line":122,"args":["/config/www/nextcloud/apps/files_sharing/list.php"],"function":"include"},{"file":"/config/www/nextcloud/apps/files/lib/Controller/ViewController.php","line":260,"function":"renderScript","class":"OCA\\Files\\Controller\\ViewController","type":"->","args":["files_sharing","list.php"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"index","class":"OCA\\Files\\Controller\\ViewController","type":"->","args":["","",null,false]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files\\Controller\\ViewController"},"index"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files\\Controller\\ViewController"},"index"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Files\\Controller\\ViewController","index",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"files.view.index"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"files.view.index"}]},{"file":"/config/www/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"files.view.index"}]},{"file":"/config/www/nextcloud/lib/base.php","line":1013,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/files/"]},{"file":"/config/www/nextcloud/index.php","line":38,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/config/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","Line":63},"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36","version":"18.0.8.2"}

And I have no idea what it says, anyone have any ideas?
I dont know if Docker auto update before updating via nextclouds own updater can affect it? If so, how do I fix it?
Last version I updated to via Nextcloud updater was the last version before version 19 I think?

 

Edited by Mihle

Share this post


Link to post

Hello guys,

 

I recently changed my off the shelf router for a pfSense box, and since then when I try to connect to the nextcloud web UI, I get a 504 Gateway Time-out. I only ever use Nextcloud on the local network, I don't have any reverse proxies and other then changing the router, everything else remains the same.

 

How should I go about troubleshooting it?

 

EDIT: Fixed it. The issue was in www/nextcloud/config/config.php, pointing to an old address.

Edited by Ver7o

Share this post


Link to post
14 hours ago, Mihle said:

So I have started getting this when I try to connect to my Nextcloud server via browser:

image.thumb.png.7f141f5fac40909906d178bf6773a315.png

It says "Internal Server Error" and "more info in server log"
Syncing of files to the desktop client and accessing the server via app on android seem to work fine, its just that when accessing via browser I get that. So i dont really know when it happened other than the last months as I usually have used it via desktop client and android app.

As I know, its the file that for me is /Ncloud/nextcloud.log it talks about? (Ncloud is the share I have Nextcloud files in)
When I search for one of the Request IDs of the tried attempts, this is what the line says:


{"reqId":"DUjCYQvZMkiUBvHyhVo2","level":0,"time":"2020-09-05T19:23:23+00:00","remoteAddr":"172.18.0.3","user":"Mihle","app":"no app in context","method":"GET","url":"/apps/files/","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36","version":"18.0.8.2"}
{"reqId":"DUjCYQvZMkiUBvHyhVo2","level":3,"time":"2020-09-05T19:23:23+00:00","remoteAddr":"172.18.0.3","user":"Mihle","app":"index","method":"GET","url":"/apps/files/","message":{"Exception":"Exception","Message":"Argument 1 passed to \"Symfony\\Component\\EventDispatcher\\EventDispatcherInterface::dispatch()\" must be an object, string given.","Code":0,"Trace":[{"file":"/config/www/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files\\Controller\\ViewController"},"index"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Files\\Controller\\ViewController","index",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"files.view.index"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"files.view.index"}]},{"file":"/config/www/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"files.view.index"}]},{"file":"/config/www/nextcloud/lib/base.php","line":1013,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/files/"]},{"file":"/config/www/nextcloud/index.php","line":38,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":109,"Previous":{"Exception":"TypeError","Message":"Argument 1 passed to \"Symfony\\Component\\EventDispatcher\\EventDispatcherInterface::dispatch()\" must be an object, string given.","Code":0,"Trace":[{"file":"/config/www/nextcloud/lib/private/EventDispatcher/SymfonyAdapter.php","line":70,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":["OCA\\Files::loadAdditionalScripts",{"__class__":"Symfony\\Component\\EventDispatcher\\GenericEvent"}]},{"file":"/config/www/nextcloud/apps/files/lib/Listener/LegacyLoadAdditionalScriptsAdapter.php","line":51,"function":"dispatch","class":"OC\\EventDispatcher\\SymfonyAdapter","type":"->","args":["OCA\\Files::loadAdditionalScripts",{"__class__":"Symfony\\Component\\EventDispatcher\\GenericEvent"}]},{"file":"/config/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php","line":76,"function":"handle","class":"OCA\\Files\\Listener\\LegacyLoadAdditionalScriptsAdapter","type":"->","args":[{"__class__":"OCA\\Files\\Event\\LoadAdditionalScriptsEvent"}]},{"file":"/config/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":247,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->","args":[{"__class__":"OCA\\Files\\Event\\LoadAdditionalScriptsEvent"},"OCA\\Files\\Event\\LoadAdditionalScriptsEvent",{"__class__":"Symfony\\Component\\EventDispatcher\\EventDispatcher"}]},{"file":"/config/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[[{"__class__":"Closure"},{"__class__":"Closure"},{"__class__":"Closure"},{"__class__":"Closure"},{"__class__":"Closure"}],"OCA\\Files\\Event\\LoadAdditionalScriptsEvent",{"__class__":"OCA\\Files\\Event\\LoadAdditionalScriptsEvent"}]},{"file":"/config/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":80,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[{"__class__":"OCA\\Files\\Event\\LoadAdditionalScriptsEvent"},"OCA\\Files\\Event\\LoadAdditionalScriptsEvent"]},{"file":"/config/www/nextcloud/lib/private/EventDispatcher/SymfonyAdapter.php","line":63,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":["OCA\\Files\\Event\\LoadAdditionalScriptsEvent",{"__class__":"OCA\\Files\\Event\\LoadAdditionalScriptsEvent"}]},{"file":"/config/www/nextcloud/apps/files_sharing/list.php","line":45,"function":"dispatch","class":"OC\\EventDispatcher\\SymfonyAdapter","type":"->","args":["OCA\\Files\\Event\\LoadAdditionalScriptsEvent",{"__class__":"OCA\\Files\\Event\\LoadAdditionalScriptsEvent"}]},{"file":"/config/www/nextcloud/apps/files/lib/Controller/ViewController.php","line":122,"args":["/config/www/nextcloud/apps/files_sharing/list.php"],"function":"include"},{"file":"/config/www/nextcloud/apps/files/lib/Controller/ViewController.php","line":260,"function":"renderScript","class":"OCA\\Files\\Controller\\ViewController","type":"->","args":["files_sharing","list.php"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"index","class":"OCA\\Files\\Controller\\ViewController","type":"->","args":["","",null,false]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files\\Controller\\ViewController"},"index"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files\\Controller\\ViewController"},"index"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Files\\Controller\\ViewController","index",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"files.view.index"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"files.view.index"}]},{"file":"/config/www/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"files.view.index"}]},{"file":"/config/www/nextcloud/lib/base.php","line":1013,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/files/"]},{"file":"/config/www/nextcloud/index.php","line":38,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/config/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","Line":63},"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36","version":"18.0.8.2"}

And I have no idea what it says, anyone have any ideas?
I dont know if Docker auto update before updating via nextclouds own updater can affect it? If so, how do I fix it?
Last version I updated to via Nextcloud updater was the last version before version 19 I think?

 


Because no help I gambled and updated Nextcloud via terminal.
It seem to have fixed it.
I am not sure, but I think its best to update Nextcloud via its own updater and then update the docker, and not the other way around?

Share this post


Link to post
1 hour ago, Mihle said:


Because no help I gambled and updated Nextcloud via terminal.
It seem to have fixed it.
I am not sure, but I think its best to update Nextcloud via its own updater and then update the docker, and not the other way around?

That depends on how long it is since you updated nextcloud. If you lag too far behind on nextcloud, you will get problems updating the container as dependencies will be updated.

Share this post


Link to post
On 9/3/2020 at 9:23 PM, ur6969 said:

My Unraid OS crashed this week and I have limped it back to live with no data loss.  However, I have lost some plugins and dockers. 

 

Plugins are not the end of the world, but is there a way to restore the Nextcloud docker (and MariaDB docker) to get it back like it was?  I have a current flash backup file.

Bumping this.  Any ideas?  If I recreate the docker using the exact same user, share, passwords, etc. will it all work?

Share this post


Link to post
19 hours ago, Mihle said:


Because no help I gambled and updated Nextcloud via terminal.
It seem to have fixed it.
I am not sure, but I think its best to update Nextcloud via its own updater and then update the docker, and not the other way around?

I just had this exact same problem while updating to 19.02 from the most recent version of Nextcloud 18 (see error message below). I can no longer access the WebUI. I guess I will try updating via terminal if no one else has any suggestions. 

 

Internal Server Error
The server was unable to complete your request.

If this happens again, please send the technical details below to the server administrator.

More details can be found in the server log.

Technical details
Remote Address: 172.19.0.1
Request ID: nBJBlhC1AUmFV3QjlOwD

 

Share this post


Link to post
On 9/6/2020 at 12:37 PM, saarg said:

That depends on how long it is since you updated nextcloud. If you lag too far behind on nextcloud, you will get problems updating the container as dependencies will be updated.

Docker probably updated to the one for version 19.0.2 while Nextcloud itself was 18.0.8.2 or something, I would not call that far behind.

Would you reccomend in the future to upgrade via Nextcloud via web and then the docker next time? Or can that cause the same thing?

Share this post


Link to post
On 9/7/2020 at 6:46 AM, xthursdayx said:

I just had this exact same problem while updating to 19.02 from the most recent version of Nextcloud 18 (see error message below). I can no longer access the WebUI. I guess I will try updating via terminal if no one else has any suggestions. 

 


Internal Server Error
The server was unable to complete your request.

If this happens again, please send the technical details below to the server administrator.

More details can be found in the server log.

Technical details
Remote Address: 172.19.0.1
Request ID: nBJBlhC1AUmFV3QjlOwD

 

If only the docker got updated and that happened it is probably the same thing yes.

Share this post


Link to post
9 hours ago, Mihle said:

Docker probably updated to the one for version 19.0.2 while Nextcloud itself was 18.0.8.2 or something, I would not call that far behind.

Would you reccomend in the future to upgrade via Nextcloud via web and then the docker next time? Or can that cause the same thing?

I can't say as I don't really know what happened. I can however say that I'm on 18.0.6 and have updated to the latest container and have no issues, so there might have been something else causing the issue.

Share this post


Link to post

Just to update, I was able to fix things by updating via terminal. Not sure what caused the original issue, but glad that it's sorted out now. Cheers. 

Share this post


Link to post

Has anyone been successful with moving the nextcloud.log to cache. I have tried @gacpacmethod but I dont think it worked for me. Any help would be great as I'm hoping to have disk 1 to be spun down/standby. I'm finding that nextcloud writes logs every 15min.

Screen Shot 2020-09-09 at 11.46.31 AM.png

Share this post


Link to post
Has anyone been successful with moving the nextcloud.log to cache. I have tried @gacpacmethod but I dont think it worked for me. Any help would be great as I'm hoping to have disk 1 to be spun down/standby. I'm finding that nextcloud writes logs every 15min.
387254289_ScreenShot2020-09-09at11_46_31AM.png.be5ac73a054fb50ff6f2f014a928aa6e.png
Mine still working good. But if you ask me I don't even remember what I did without reading my post. Maybe I was lucky

Sent from my Pixel 2 XL using Tapatalk

Share this post


Link to post
25 minutes ago, gacpac said:

Mine still working good. But if you ask me I don't even remember what I did without reading my post. Maybe I was lucky

Sent from my Pixel 2 XL using Tapatalk
 

Yeah, i think so. Becuase I cannot seem to make it work.

Share this post


Link to post

Hi all! 

 

i'm i need of some assistance. First of all thnx a lot for being a great community! Read a lot here but today i have to admit defeat.

Thinking i had a remote session with a playground machine i'm currently working on i had a session with my normal unraid setup and did a RM on my nextcloud folder in appdata 😭 Yeah i know i ignored the warnings dont rub it in and no my last backup is to old off course (disk full in unassigned devices did not spot it)

 

So reading lots of documentation i get the feeling it is salvageable, my data isnt touched im using mariadb and thats all still in place. I stopped the Nextcloud container. When it is started it thinks its a fresh install asking for a account setup and DB creation. 

 

Im afraid to just try some steps i found online, and lose it all. From what i red it gives me the impression i should be able to restore the DB and the data with some occ commands? Much like after an update it must be posible to reconnect the database right? 

 

 Who has tried and proven method? Hope im not the only one who needs to restore the appdate/nextcloud folder here :)  You assistance would mean a lot to me.  

 

 

 

 

 



 

Share this post


Link to post

External storages

External storage enables you to mount external storage services and devices as secondary Nextcloud storage devices. You may also allow users to mount their own external storage services.

"smbclient" is not installed. Mounting of "SMB / CIFS", "SMB / CIFS using OC login" is not possible. Please ask your system administrator to install it.

i really want to use nextcloud but it seems the image dose not have support for smb any suggestions? 

Share this post


Link to post

mount your smb storage with unassigned devices and use external storage to mount them in nextcloud

Share this post


Link to post

I had to rebuild my Unraid from a flash backup and have just now figured out how to recover and reinstall Dockers.  I have mariadb and Nextcloud dockers installed but am having issues.

 

Nextcloud is unavailable via webGUI.  I get a blank white page with "Update in progress." in the top left.  Some searching led me to try to update via command line. 

 

Typing "docker exec -it nextcloud occ maintenance:mode --on" (the first step) yields "sh: docker: not found".  This is the command line selected from the docker.

 

From the main Unraid command line the same command yields, "Could not open input file: /config/www/nextcloud/occ".  Any ideas?

Share this post


Link to post
27 minutes ago, ur6969 said:

I had to rebuild my Unraid from a flash backup and have just now figured out how to recover and reinstall Dockers.  I have mariadb and Nextcloud dockers installed but am having issues.

 

Nextcloud is unavailable via webGUI.  I get a blank white page with "Update in progress." in the top left.  Some searching led me to try to update via command line. 

 

Typing "docker exec -it nextcloud occ maintenance:mode --on" (the first step) yields "sh: docker: not found".  This is the command line selected from the docker.

 

From the main Unraid command line the same command yields, "Could not open input file: /config/www/nextcloud/occ".  Any ideas?

I had next to no luck with next cloud I asked for help in   the next cloud forms  and reddit. Got nothing but trolls  Im useing a docker crushftp9 Give it a try if you dont have any luck 

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.