[Support] Linuxserver.io - Nextcloud


Recommended Posts

Hey Chuga--

 

Just wanted to let you know you're not the only one with this issue.  I'm in the same boat and I believe something has changed.  I had this working several days ago no problems and now I get stuck on the same error as your last post (I had it working then decided to start over yesterday just to clean things up and for learning).  Since then no luck getting past the same error you've reported in the post above.

 

I've gone as far as removing everything (including docker.img) and not using templates.  I've noticed that when pulling the nextcloud docker from the "apps" tab that the orange helpful notes below each section no longer appear.  I've checked in some of the logs (still trying to find out how to get to mariadb syslog!) for nextcloud and there's mention of a 11.0.1 version.  My guess is there's been an update as I'm almost certain my previous version was 10.0.2.

 

and nextcloud docker image attached - previous post ran out of image room.

 

I think Nextcloud has changed the setup a little bit from when I last tried.

 

 

 

DOH!!!  That's what I get for not reading everything in it's entirety!  :-[

 

BINGO!!  New instructions worked perfectly--thanks CHBMB!

 

Edit:  donations link via apps page doesn't work--found it by your main site.  Thanks again for all the hard work you guys do--it does not go unnoticed or unappreciated!!

 

Link to comment

yes I missed the semicolons!

 

also I missed the " ' " on the 'root'@'localhost'  lines....

 

making some progress I think, the nextcloud folder was created.

 

however I still get an error on the nextcloud webgui config, see attached (it is different error this time)

 

Dunno, I know I went through the instructions posted three times now and they work.  After that I'm lost.  Is that from a fresh install?  Looks like binlogging isn't enabled.  Sure you uncommented it?  (Removed the #)

Link to comment

yes, from a fresh install

 

agree it looks like the binlog not uncommented (but it is - see screenshot)

I used the mc editor to do it. just checked using notepad++ and it says 'unix' at the bottom, that was other thought was wrong format file.

 

also did the chown 644.

 

thanks

 

got it working!  not sure how.  stopped dockers, reopened the config file using notepad++, resaved, reapplied chown, restarted dockers and ran the webgui

 

thanks again for all of the help today

nextcloud_error_7.PNG.2df3973dfec0664c287a6313ca777ceb.PNG

Link to comment

yes, from a fresh install

 

agree it looks like the binlog not uncommented (but it is - see screenshot)

I used the mc editor to do it. just checked using notepad++ and it says 'unix' at the bottom, that was other thought was wrong format file.

 

also did the chown 644.

 

thanks

 

got it working!  not sure how.  stopped dockers, reopened the config file using notepad++, resaved, reapplied chown, restarted dockers and ran the webgui

 

thanks again for all of the help today

 

Just run this in terminal and post the results.

 

cd /mnt/cache/appdata/mariadb
ls -la

 

Should look like this

 

root@server:/mnt/cache/.appdata/mariadb-nextcloud# ls -la
total 12
drwxrwxrwx  4 nobody users   65 Dec 11 22:42 ./
drwxrwxrwx 34 nobody users 4096 Dec 24 20:13 ../
-rw-r--r--  1 nobody users 3754 Dec 11 22:34 custom.cnf
drwxr-xr-x  6 nobody users 4096 Dec 24 21:09 databases/
drwxr-xr-x  3 nobody users   18 Dec 11 22:42 log/

Link to comment

Random question.

 

I get nextcloud all set up.  Have an app on my phone for it too.  Works well for syncing up photos to the cloud.

 

Occasionally though, I'm at the PC and would like to move a file into the "files" folder of my user through Windows Explorer so that I can access from my phone.  Unfortunately, I'm hit with a

"You need permission to perform this action" error.

 

What modifications to the docker do I need to make to be able to write to my share using windows explorer?

Link to comment

Hi CHBMB, have you seen this error in the admin panel?

 

This server has no working Internet connection: Multiple endpoints could not be reached. This means that some of the features like mounting external storage, notifications about updates or installation of third-party apps will not work. Accessing files remotely and sending of notification emails might not work, either. We suggest to enable Internet connection for this server if you want to have all features

 

I just did a fresh install of both mariadb and nextcloud (both lsio versions). It installed nextcloud 11. Everything seems to be working great, followed your guide for reverse proxy in Nginx. I can access nextcloud. I haven't done much yet to test the functions. But I get that message in the admin panel. I did some searching and it seems a lot of people were getting that, but it was supposed to be resolved in version 11. Not sure what is causing it. I added 'has_internet_connectoin' => true, in the config.php of nextcloud, but that didn't help.

 

I have the following in my logs, repeating several times:

 

GuzzleHttp\Exception\RequestException: cURL error 77: error setting certificate verify locations: CAfile: /data/files_external/rootcerts.crt CApath: none

 

    /config/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RequestFsm.php - line 104: GuzzleHttp\Exception\RequestException wrapException(Object(GuzzleHttp\Message\Request), Object(GuzzleHttp\Ring\Exception\RingException))

    /config/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RequestFsm.php - line 132: GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction))

    /config/www/nextcloud/3rdparty/react/promise/src/FulfilledPromise.php - line 25: GuzzleHttp\RequestFsm->GuzzleHttp\{closure}(Array)

    /config/www/nextcloud/3rdparty/guzzlehttp/ringphp/src/Future/CompletedFutureValue.php - line 55: React\Promise\FulfilledPromise->then(Object(Closure), NULL, NULL)

    /config/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Message/FutureResponse.php - line 43: GuzzleHttp\Ring\Future\CompletedFutureValue->then(Object(Closure), NULL, NULL)

    /config/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RequestFsm.php - line 135: GuzzleHttp\Message\FutureResponse proxy(Object(GuzzleHttp\Ring\Future\CompletedFutureArray), Object(Closure))

    /config/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RequestFsm.php - line 132: GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction))

    /config/www/nextcloud/3rdparty/react/promise/src/FulfilledPromise.php - line 25: GuzzleHttp\RequestFsm->GuzzleHttp\{closure}(Array)

    /config/www/nextcloud/3rdparty/guzzlehttp/ringphp/src/Future/CompletedFutureValue.php - line 55: React\Promise\FulfilledPromise->then(Object(Closure), NULL, NULL)

    /config/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Message/FutureResponse.php - line 43: GuzzleHttp\Ring\Future\CompletedFutureValue->then(Object(Closure), NULL, NULL)

    /config/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RequestFsm.php - line 135: GuzzleHttp\Message\FutureResponse proxy(Object(GuzzleHttp\Ring\Future\CompletedFutureArray), Object(Closure))

    /config/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php - line 165: GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction))

    /config/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php - line 125: GuzzleHttp\Client->send(Object(GuzzleHttp\Message\Request))

    /config/www/nextcloud/lib/private/Http/Client/Client.php - line 137: GuzzleHttp\Client->get('http //www.gith...', Array)

    /config/www/nextcloud/settings/Controller/CheckSetupController.php - line 124: OC\Http\Client\Client->get('http //www.gith...')

    /config/www/nextcloud/settings/Controller/CheckSetupController.php - line 107: OC\Settings\Controller\CheckSetupController->isSiteReachable('www.github.com')

    /config/www/nextcloud/settings/Controller/CheckSetupController.php - line 363: OC\Settings\Controller\CheckSetupController->isInternetConnectionWorking()

    [internal function] OC\Settings\Controller\CheckSetupController->check()

    /config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 160: call_user_func_array(Array, Array)

    /config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 90: OC\AppFramework\Http\Dispatcher->executeController(Object(OC\Settings\Controller\CheckSetupController), 'check')

    /config/www/nextcloud/lib/private/AppFramework/App.php - line 114: OC\AppFramework\Http\Dispatcher->dispatch(Object(OC\Settings\Controller\CheckSetupController), 'check')

    /config/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47: OC\AppFramework\App main('CheckSetupContr...', 'check', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)

    [internal function] OC\AppFramework\Routing\RouteActionHandler->__invoke(Array)

    /config/www/nextcloud/lib/private/Route/Router.php - line 299: call_user_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array)

    /config/www/nextcloud/lib/base.php - line 1010: OC\Route\Router->match('/settings/ajax/...')

    /config/www/nextcloud/index.php - line 40: OC handleRequest()

    {main}

Link to comment

Hey guys,

 

i used the guide to update to NC 11 that was on a few pages ago.

 

Worked perfectly.

 

Since i use keepass and sync my Database with my Nextcloud, i want to use keeweb.

 

But i activated the app (latest Version) and tried to use it. When i click on the app, the pages opens but stays blank. Same happens if i click on the database file.

 

Anyone got it working?

 

It would be a great app to log into my accounts anywhere in the world without downloading anything.

 

Link to comment
  • 2 weeks later...

Hello

 

Can i share files from an unraid share/folder over the web with this docker?

 

I installed it, and it didn't show any folders in the linked unraid location, only the folders i have uploaded.

 

For example:

deluge downloads to \torrent

can i have a "web view" of the torrent folder, or even share files/subfolders individually with a link?

 

thanks

 

it seems NC is pretty cool, but it's for photo sharing, or small project collaborations.

Link to comment

Hello

 

Can i share files from an unraid share/folder over the web with this docker?

 

I installed it, and it didn't show any folders in the linked unraid location, only the folders i have uploaded.

 

For example:

deluge downloads to \torrent

can i have a "web view" of the torrent folder, or even share files/subfolders individually with a link?

 

thanks

 

it seems NC is pretty cool, but it's for photo sharing, or small project collaborations.

 

Absolutely impossible to say as you haven't posted your config.  There's also an external storage plugin for it that can mount smb shares as well.  Nextcloud is an Enterprise project more so than a photo-sharing or small project thing. 

Link to comment

Hello guys,

I tryied to install nextcloud with mariadb as it stands here: https://www.linuxserver.io/2016/07/28/installing-nextcloud-on-unraid/

Just when I try to create an admin user and link the database I get following error:

 

Error while trying to create admin user: Failed to connect to the database: An exception occured in driver: SQLSTATE[HY000] [1049] Unknown database 'nextcloud'

Can someone please help me with this?

 

Thanks!

Link to comment

Hello guys,

I tryied to install nextcloud with mariadb as it stands here: https://www.linuxserver.io/2016/07/28/installing-nextcloud-on-unraid/

Just when I try to create an admin user and link the database I get following error:

 

Error while trying to create admin user: Failed to connect to the database: An exception occured in driver: SQLSTATE[HY000] [1049] Unknown database 'nextcloud'

Can someone please help me with this?

 

Thanks!

 

http://lime-technology.com/forum/index.php?topic=50090.msg524760#msg524760

Link to comment

Hello

 

Can i share files from an unraid share/folder over the web with this docker?

 

I installed it, and it didn't show any folders in the linked unraid location, only the folders i have uploaded.

 

For example:

deluge downloads to \torrent

can i have a "web view" of the torrent folder, or even share files/subfolders individually with a link?

 

thanks

 

it seems NC is pretty cool, but it's for photo sharing, or small project collaborations.

 

Absolutely impossible to say as you haven't posted your config.  There's also an external storage plugin for it that can mount smb shares as well.  Nextcloud is an Enterprise project more so than a photo-sharing or small project thing.

 

not sure where i can find the command line which started the docker. I installed it from CA.

 

However, i didn't do anything extra, pretty much running the default settings.

for the \data parameter i linked my mnt/user/Media Share, which has several folders, none of which is visible in NC. If i create a new folder on the web, i can see it in the share

not sure if it helps

 

thanks anyway!

Link to comment

Hello

 

Can i share files from an unraid share/folder over the web with this docker?

 

I installed it, and it didn't show any folders in the linked unraid location, only the folders i have uploaded.

 

For example:

deluge downloads to \torrent

can i have a "web view" of the torrent folder, or even share files/subfolders individually with a link?

 

thanks

 

it seems NC is pretty cool, but it's for photo sharing, or small project collaborations.

 

Absolutely impossible to say as you haven't posted your config.  There's also an external storage plugin for it that can mount smb shares as well.  Nextcloud is an Enterprise project more so than a photo-sharing or small project thing.

 

not sure where i can find the command line which started the docker. I installed it from CA.

 

However, i didn't do anything extra, pretty much running the default settings.

for the \data parameter i linked my mnt/user/Media Share, which has several folders, none of which is visible in NC. If i create a new folder on the web, i can see it in the share

not sure if it helps

 

thanks anyway!

 

The idea is more like this, you create a data share for your Nextcloud content.  Stuff on your array you share (if you so desire) by using the external storage plugin.  Mount the folder you want to share as /media = /mnt/user/media  Then create a local share with the aforementioned plugin.

Link to comment

yes I missed the semicolons!

 

also I missed the " ' " on the 'root'@'localhost'  lines....

 

making some progress I think, the nextcloud folder was created.

 

however I still get an error on the nextcloud webgui config, see attached (it is different error this time)

 

Hello guys,

I tryied to install nextcloud with mariadb as it stands here: https://www.linuxserver.io/2016/07/28/installing-nextcloud-on-unraid/

Just when I try to create an admin user and link the database I get following error:

 

Error while trying to create admin user: Failed to connect to the database: An exception occured in driver: SQLSTATE[HY000] [1049] Unknown database 'nextcloud'

Can someone please help me with this?

 

Thanks!

 

http://lime-technology.com/forum/index.php?topic=50090.msg524760#msg524760

 

Thank you for your reply, I tried all I could but i stucked on the same error as chuga. I have restarted everything, tried to reedit mariand cfg save and reaply chown 644 but no succes

Here I am giving a picture of my appdata/mariadb

Screenshot_from_2017-01-08_03-14-30.png.efb13e173486ec8601961fcf98ec1f1a.png

Screenshot_from_2017-01-08_03-14-56.png.ab00ac3980b22c87aafb57820b11a17d.png

Link to comment

You need to change the binlog format to mixed.

 

Sent from my LG-H815 using Tapatalk

 

Thank you for your fast reply, but this I have done already before and no help.

I followed all your steps from totaly clear install with no other docker installations and clear shares.

Screenshot_from_2017-01-08_03-19-19.png.0c89972e3f0355f980a58b378eaaa594.png

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.