[Support] Linuxserver.io - Nextcloud


Recommended Posts

On 8/9/2021 at 10:28 AM, eagle470 said:

OK, I'm not sure where I went wrong, but it may have been when I stayed up way too late working on this.

 

I have MariaDB running for my NextCloud Container, that is front ended by SWAG (all from Linuxservers.io) which sit behind my USG-PRO. I have swag setup with a bridge and am forwarding 192.168.1.41:443 out to the world (obviously I'm not using that IP, don't spaz out.) From there I'm using DNS-o-Matic to update Namecheap with a records for WWW.AWESOMEDOMAIN.NET and NEXTCLOUD.AWESOMEDOMAIN.NET. 

 

Both return a good response when running an internal (my computer) and external (someone's web page) nslookup. 

 

I'm still getting this: image.png.37ed98ae8874db2e0b59cb0a9774eb70.png

 

I've attached redacted versions of my nextcloud and swag config files.

swag config.txt 1.57 kB · 0 downloads nextcloud config.txt 847 B · 0 downloads

I dont use SWAG so cant comment there (use NPM instead).

 

I see the following line in the nextcloud conf:

'overwritehost' => 'nextcloud.howardfarms.net',

 

it should match your domain: 'nextcloud.awesomedomain.net',

 

Ot, you simply didnt redact all of the information and in that case they should all match :)

 

 

Let me know how it goes.

Edited by mfwade
Link to comment

Hi i have problems with syncing my IOS movies when they are over a certain size. Nextcloud is connected through a reversed proxy. and i get 413 file are to large error in the app. what can i do to get it to work?

 

EDIT: I found out that it was my Cloudflare proxy that made the problem, what can i do so i can proxy behind cloudflare and still be able to upload huge filed from ios?

Edited by STEFAN1987
Update
Link to comment

I'm trying to start a clean instance and I'm getting the error: 

 

Composer autoloader not found, unable to continue. Check the folder "3rdparty". Running "git submodule update --init" will initialize the git submodule that handles the subfolder "3rdparty".

 

Do you have any advice?

Link to comment

BUMP  

 

same issue as guy above..

First time install - never used nextcloud - 4 years of using Unraid.

 

Unraid 6.9.2

 

following SpaceInvaderOne Youtube video

create share, install mariadb, setup maria DB

 

Install nextcloud..... and ERROR...

upon opening nextcloud GUI for first time i get error
 

Composer autoloader not found, unable to continue. Check the folder "3rdparty". Running "git submodule update --init" will initialize the git submodule that handles the subfolder "3rdparty".

in the logs i find 

[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...
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] 70-aliases: executing...
[cont-init.d] 70-aliases: exited 0.
[cont-init.d] 90-custom-folders: executing...
[cont-init.d] 90-custom-folders: exited 0.
[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.

 

 

what did i do wrong....?

 

feels like a permission thing...  according to the instructions from SpaceinvaderOne's video, i've followed all the steps.
what did i do wrong?

Edited by TRusselo
Link to comment

My UnRaid Setup:

Unraid OS Pro 6.9.2
ASUSTek ROG VIII Hero
AMD Ryzen 9 12-Core

 

I recently blew up my nextcloud docker and had to rebuild it.  So I did last night 8/14/21.  So it is the latest install of nextcloud.

 

I first created a temp folder so that I could mirror all the users accounts I had and once that was done I switch nextcloud data folder back to the original and ran in the console:  occ: files:scan --all.  [don't worry I have set up duplicati so re-builds are easier in the future because I am bond to blow something else up 🤪.]

 

Anyway - all is working as it should be.  All the data has been updated and are correctly located in the folders or sub-folders.  I can click and view anything.  I can upload/download anything.  What I can not do is Move or Copy data.

 

ISSUE:

1 - navigate to a folder or file

2 - click on file

3 - click on the 3 dots and select Move or Copy

I get an error box with "Could not move "filename", target exists

 

I hope this is a simple disable or enable, however, I am getting better at editing .php files too 🤓.

 

I can supply log files if you think it is needed.

 

Need help!

 

Mystic

Edited by Mystic
Link to comment

I'm having trouble increasing the maximum upload size. I'm trying to upload a 1.5gb file and get a 413 file too large error

 

Here are the things I tried that didn't work.

 

  1. I read the docs here https://docs.nextcloud.com/server/14/admin_manual/configuration_files/big_file_upload_configuration.html but could not find a user.ini anywhere
  2. So I modified /mnt/user/appdata/nextcloud/php/php-local.ini and added the lines mentioned in the docs like so
    1. ; Edit this file to override php.ini directives and restart the container

      date.timezone = America/New_York

      ; Upload file upgrades

      upload_max_filesize = 20G
      post_max_size = 20G

      ; Timeouts

      max_input_time = 3600
      max_execution_time = 3600

  3. after I restarted, that didn't work so I decided to create a /mnt/user/appdata/nextcloud/php/user.ini with the same content as the point before

If you could just point me in the right direction I'd be really grateful

 

Link to comment

Hi,

I've relocated my unraid server and as a result, the IP range has changed.

What and were to I change the IP's in the config to allow me access to NC again.

Currently the page won't load.

 

(DB is Maria in docker on the same server).

 

Thanks.

Link to comment

Seems like quite a few are having issues currently. Probably best if I don't update my NextCloud right now haha!

 

Anyway, I'm having an issue too.

Downloading files larger than around 1gb always seem to fail from my NextCloud.

 

I'm using a Ubiquiti USG as my router, I have NextCloud 21.0.1 up and running on UnRaid 6.9.2. PHP Version is currently 7.4.15

Everything else (from what I can tell) is working just fine, and has been for months.

 

To me, this seems like some sort of a setting / limitation somewhere, since the download always seems to stop at that 1gb mark.

Any help would be appreciated! :)

Link to comment
2 hours ago, JT24 said:

Hi,

I've relocated my unraid server and as a result, the IP range has changed.

What and were to I change the IP's in the config to allow me access to NC again.

Currently the page won't load.

 

(DB is Maria in docker on the same server).

 

Thanks.

I managed to solve the issues.
Fixed up the IP's in the config file.

Only thing is now, it's running so dam slow.

Link to comment

I've been following this guide which I figured out was seriously out of date: https://www.linuxserver.io/blog/2017-05-10-installing-nextcloud-on-unraid-with-letsencrypt-reverse-proxy

Then I also looked at the Linuxserver.io documentation for swag and this other blog https://linuxserver.tips/en/nextcloud-install-on-unraid/

 

I made this post earlier today: https://www.reddit.com/r/selfhosted/comments/p6a26g/linuxserver_documentation_for_swagnextcloud/

 

I'm unsure where I went wrong. I'm using cloudflare to get DDNS working, so I'm good there. I HAD a working instance of NextCloud locally, now 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 webserver log.

 

if I run

 

docker logs swag -f

 

everything looks clean in the logs there now. When I run.

 

docker logs nextcloud -f

 

I get this notorious error:

PHP Fatal error: Uncaught Error: Call to a member function getLogger() on null in /config/www/nextcloud/cron.php:162 Stack trace: #0 {main} thrown in /config/www/nextcloud/cron.php on line 162

 

Looking at ./log/nginx/error.log I see this error:

 

2021/08/17 17:13:23 [error] 407#407: *2 FastCGI sent in stderr: "PHP message: PHP Parse error:  syntax error, unexpected ''overwritehost'' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /config/www/nextcloud/config/config.php on line 25" while reading response header from upstream, client: 10.10.1.89, server: _, request: "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "10.10.1.221"

 

If I comment it out I learn I get that same (roughly) error for these three config entries: 

'overwrite.cli.url' => 'https://nextcloud.server.com',

'overwritehost' => 'nextcloud.server.com',

'overwriteprotocol' => 'https',

 

If I comment those out I can get to everything locally but not through my public DNS. 

 

If I leave them in, I can't get to anything locally or externally.

 

I really want to get this working and I feel like I'm close. I'm just not sure what I'm doing wrong.

I'm using all the linuxserver.io containers (mariadb, nextcloud and swag) to make this work, though I've been testing with the NginxProxyManager just to check my work on the proxy server side. It does not appear thats an issue, so I'd like to switch back to the swag container, in which case I turn one off, the other on and change the port forward rule. 

 

Please help me figure this out, I need a fresh set of eyes on this.

 

2021-08-17 17_22_27-https___10.10.1.221 - Brave.png

2021-08-17 17_23_24-NVIDIA GeForce Overlay.png

error.log nextcloud.subdomain.conf nextcloud.subfolder.conf config.php nextcloud

  • Like 1
Link to comment
On 8/11/2021 at 4:23 PM, mfwade said:

I dont use SWAG so cant comment there (use NPM instead).

 

I see the following line in the nextcloud conf:

'overwritehost' => 'nextcloud.howardfarms.net',

 

it should match your domain: 'nextcloud.awesomedomain.net',

 

Ot, you simply didnt redact all of the information and in that case they should all match :)

 

 

Let me know how it goes.

Hello i had a hard week. I will check in setting but overwritehost' => 'nextcloud.howardfarms.net was setup and # was deleted. Going to read some more becouse i see eagle is on another level :). Also got some chat in reddit 

 

Link to comment
9 hours ago, eagle470 said:

I've been following this guide which I figured out was seriously out of date: https://www.linuxserver.io/blog/2017-05-10-installing-nextcloud-on-unraid-with-letsencrypt-reverse-proxy

Then I also looked at the Linuxserver.io documentation for swag and this other blog https://linuxserver.tips/en/nextcloud-install-on-unraid/

 

I made this post earlier today: https://www.reddit.com/r/selfhosted/comments/p6a26g/linuxserver_documentation_for_swagnextcloud/

 

I'm unsure where I went wrong. I'm using cloudflare to get DDNS working, so I'm good there. I HAD a working instance of NextCloud locally, now 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 webserver log.

 

if I run

 

docker logs swag -f

 

everything looks clean in the logs there now. When I run.

 

docker logs nextcloud -f

 

I get this notorious error:

PHP Fatal error: Uncaught Error: Call to a member function getLogger() on null in /config/www/nextcloud/cron.php:162 Stack trace: #0 {main} thrown in /config/www/nextcloud/cron.php on line 162

 

Looking at ./log/nginx/error.log I see this error:

 

2021/08/17 17:13:23 [error] 407#407: *2 FastCGI sent in stderr: "PHP message: PHP Parse error:  syntax error, unexpected ''overwritehost'' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /config/www/nextcloud/config/config.php on line 25" while reading response header from upstream, client: 10.10.1.89, server: _, request: "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "10.10.1.221"

 

If I comment it out I learn I get that same (roughly) error for these three config entries: 

'overwrite.cli.url' => 'https://nextcloud.server.com',

'overwritehost' => 'nextcloud.server.com',

'overwriteprotocol' => 'https',

 

If I comment those out I can get to everything locally but not through my public DNS. 

 

If I leave them in, I can't get to anything locally or externally.

 

I really want to get this working and I feel like I'm close. I'm just not sure what I'm doing wrong.

I'm using all the linuxserver.io containers (mariadb, nextcloud and swag) to make this work, though I've been testing with the NginxProxyManager just to check my work on the proxy server side. It does not appear thats an issue, so I'd like to switch back to the swag container, in which case I turn one off, the other on and change the port forward rule. 

 

Please help me figure this out, I need a fresh set of eyes on this.

 

2021-08-17 17_22_27-https___10.10.1.221 - Brave.png

2021-08-17 17_23_24-NVIDIA GeForce Overlay.png

error.log 7.5 kB · 0 downloads nextcloud.subdomain.conf 1.15 kB · 0 downloads nextcloud.subfolder.conf 1.53 kB · 0 downloads config.php 823 B · 0 downloads nextcloud 1.53 kB · 0 downloads

Got this error also when i changed the 'overwrite.cli.url' => 'https://nextcloud.server.com'. It´s is shame that i dont have time to look in nextcloud deeply. Also if you look in my post on reddit after proxied i get 2 ip´s in my router and if not i get only one my real ip. I got a problem also with port forward and had to cross a hell road to make it working :D. One setup i had ok connnection only from inside. Second option only outside :D. I need to attatched setting thats if only from nextcloud.mydomain.net are comming to port 80 and 443 can forward to swag ports. That solved connection problems. And guys sorry for english only thru game learning :).

Link to comment
6 hours ago, techgeeksvk said:

Got this error also when i changed the 'overwrite.cli.url' => 'https://nextcloud.server.com'. It´s is shame that i dont have time to look in nextcloud deeply. Also if you look in my post on reddit after proxied i get 2 ip´s in my router and if not i get only one my real ip. I got a problem also with port forward and had to cross a hell road to make it working :D. One setup i had ok connnection only from inside. Second option only outside :D. I need to attatched setting thats if only from nextcloud.mydomain.net are comming to port 80 and 443 can forward to swag ports. That solved connection problems. And guys sorry for english only thru game learning :).

I've known American Nationals that couldn't use written english as well as you can. Mostly from my time in the Army, but still, your English is pretty good.

Edited by eagle470
  • Haha 1
Link to comment

My issue was several things, I needed to change the SSL type from Flexible to Full in cloudflare, I needed to add a trustedproxy flag, I also missed an apostrophe. 

 

I had to add a cname in my dns servers (pihole) for my proxy host (swag) as well. I chose to use a fixed IP, figuring it gave me more flexibility in the long run to lock things down.

Link to comment
On 8/10/2021 at 1:54 PM, hammsandwich said:

Hello,

 

This container is somehow utilizing huge pages on my Unraid server.  I have enabled hugepages through the normal means of: 

append hugepagesz=2M hugepages=8194

This allocates 16GB of RAM to huge pages. Then have various VMs that leverage these hugepages via the following XML.

  <memoryBacking>
    <hugepages/>
    <nosharepages/>
  </memoryBacking>

 

I noticed a few months back that at certain times I was unable to start 16GB worth of VMs.  I began shutting down containers, which would then allow me to fully populate all 16GB of hugepage RAM, so I then began the process of narrowing down which container was causing the issue.  It appears to be this Nextcloud container. I used this command to see what was grabbing hugepages:

grep huge /proc/*/numa_maps

When Nextcloudis running, this command outputs:

grep huge /proc/*/numa_maps
/proc/24581/numa_maps:145fd0a00000 default file=/anon_hugepage\040(deleted) huge dirty=3 mapmax=3 N0=3 kernelpagesize_kB=2048
/proc/24606/numa_maps:145fd0a00000 default file=/anon_hugepage\040(deleted) huge dirty=11 mapmax=3 N0=11 kernelpagesize_kB=2048
/proc/24607/numa_maps:145fd0a00000 default file=/anon_hugepage\040(deleted) huge dirty=11 mapmax=3 N0=11 kernelpagesize_kB=2048

Upon shutting down this container, there is no output to the command (if all my VMs are also off). I have started every single one of my containers one by one, and this is the only one that results in this behavior.  Is this intentional? If so, I feel that it should be documented as many people use hugepages for VFIO passthrough performance.  If not intended, is the proper place to for support for this issue?

 

Thanks in advance. 

Anyone have thoughts on this?  Really curious to figure this out so I do not have to shut down this conatiner whenever I need to start up other VMs.

Link to comment
6 hours ago, eagle470 said:

My issue was several things, I needed to change the SSL type from Flexible to Full in cloudflare, I needed to add a trustedproxy flag, I also missed an apostrophe. 

 

I had to add a cname in my dns servers (pihole) for my proxy host (swag) as well. I chose to use a fixed IP, figuring it gave me more flexibility in the long run to lock things down.

If i may ask, where can i set up trustedproxy flag?

Link to comment
On 8/17/2021 at 3:24 PM, eagle470 said:

I've been following this guide which I figured out was seriously out of date: https://www.linuxserver.io/blog/2017-05-10-installing-nextcloud-on-unraid-with-letsencrypt-reverse-proxy

Then I also looked at the Linuxserver.io documentation for swag and this other blog https://linuxserver.tips/en/nextcloud-install-on-unraid/

 

I made this post earlier today: https://www.reddit.com/r/selfhosted/comments/p6a26g/linuxserver_documentation_for_swagnextcloud/

 

I'm unsure where I went wrong. I'm using cloudflare to get DDNS working, so I'm good there. I HAD a working instance of NextCloud locally, now 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 webserver log.

 

if I run

 

docker logs swag -f

 

everything looks clean in the logs there now. When I run.

 

docker logs nextcloud -f

 

I get this notorious error:

PHP Fatal error: Uncaught Error: Call to a member function getLogger() on null in /config/www/nextcloud/cron.php:162 Stack trace: #0 {main} thrown in /config/www/nextcloud/cron.php on line 162

 

Looking at ./log/nginx/error.log I see this error:

 

2021/08/17 17:13:23 [error] 407#407: *2 FastCGI sent in stderr: "PHP message: PHP Parse error:  syntax error, unexpected ''overwritehost'' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /config/www/nextcloud/config/config.php on line 25" while reading response header from upstream, client: 10.10.1.89, server: _, request: "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "10.10.1.221"

 

If I comment it out I learn I get that same (roughly) error for these three config entries: 

'overwrite.cli.url' => 'https://nextcloud.server.com',

'overwritehost' => 'nextcloud.server.com',

'overwriteprotocol' => 'https',

 

If I comment those out I can get to everything locally but not through my public DNS. 

 

If I leave them in, I can't get to anything locally or externally.

 

I really want to get this working and I feel like I'm close. I'm just not sure what I'm doing wrong.

I'm using all the linuxserver.io containers (mariadb, nextcloud and swag) to make this work, though I've been testing with the NginxProxyManager just to check my work on the proxy server side. It does not appear thats an issue, so I'd like to switch back to the swag container, in which case I turn one off, the other on and change the port forward rule. 

 

Please help me figure this out, I need a fresh set of eyes on this.

 

2021-08-17 17_22_27-https___10.10.1.221 - Brave.png

2021-08-17 17_23_24-NVIDIA GeForce Overlay.png

error.log 7.5 kB · 0 downloads nextcloud.subdomain.conf 1.15 kB · 1 download nextcloud.subfolder.conf 1.53 kB · 1 download config.php 823 B · 3 downloads nextcloud 1.53 kB · 1 download

 

I'm possibly having the same issue. Same setup with Nextcloud + Swag + mariadb. I'm also running redis, but I doubt that's the issue. Using an untangle router, but again not likely the issue. Been running Unraid and Nextcloud for years. Was getting a connection refused error and then after several restarts of Nextcloud & swag started getting a error 500 bad gateway.

 

Now I'm getting

Quote

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 thought maybe I need to update. I'm on v20.0.8 and the latest for stable is v20.0.12

To update I ran

Quote

docker exec -it nextcloud updater.phar

via the web term

 

All checks passed, but when I got to the "occ upgrade" command execution part, I got this error:

Quote

An unhandled exception has been thrown:
Doctrine\DBAL\DBALException: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [2006] MySQL server has gone away in /config/www/nextcloud/lib/private/DB/Connection.php:72
Stack trace:
#0 /config/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1449): OC\DB\Connection->connect()
#1 /config/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(892): Doctrine\DBAL\Connection->getWrappedConnection()
#2 /config/www/nextcloud/lib/private/DB/Connection.php(202): Doctrine\DBAL\Connection->executeQuery()
#3 /config/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(206): OC\DB\Connection->executeQuery()
#4 /config/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(248): Doctrine\DBAL\Query\QueryBuilder->execute()
#5 /config/www/nextcloud/lib/private/AppConfig.php(345): OC\DB\QueryBuilder\QueryBuilder->execute()
#6 /config/www/nextcloud/lib/private/AppConfig.php(110): OC\AppConfig->loadConfigValues()
#7 /config/www/nextcloud/lib/private/AppConfig.php(301): OC\AppConfig->getApps()
#8 /config/www/nextcloud/lib/private/legacy/OC_App.php(957): OC\AppConfig->getValues()
#9 /config/www/nextcloud/lib/private/Server.php(668): OC_App::getAppVersions()
#10 /config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\Server->OC\{closure}()
#11 /config/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}()
#12 /config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container->offsetGet()
#13 /config/www/nextcloud/lib/private/ServerContainer.php(156): OC\AppFramework\Utility\SimpleContainer->query()
#14 /config/www/nextcloud/lib/private/Server.php(1677): OC\ServerContainer->query()
#15 /config/www/nextcloud/lib/private/Server.php(1017): OC\Server->getMemCacheFactory()
#16 /config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\Server->OC\{closure}()
#17 /config/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}()
#18 /config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container->offsetGet()
#19 /config/www/nextcloud/lib/private/ServerContainer.php(156): OC\AppFramework\Utility\SimpleContainer->query()
#20 /config/www/nextcloud/lib/private/Server.php(1977): OC\ServerContainer->query()
#21 /config/www/nextcloud/lib/private/Files/View.php(118): OC\Server->getLockingProvider()
#22 /config/www/nextcloud/lib/private/Server.php(395): OC\Files\View->__construct()
#23 /config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\Server->OC\{closure}()
#24 /config/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}()
#25 /config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container->offsetGet()
#26 /config/www/nextcloud/lib/private/ServerContainer.php(156): OC\AppFramework\Utility\SimpleContainer->query()
#27 /config/www/nextcloud/lib/private/Server.php(1324): OC\ServerContainer->query()
#28 /config/www/nextcloud/lib/base.php(595): OC\Server->boot()
#29 /config/www/nextcloud/lib/base.php(1091): OC::init()
#30 /config/www/nextcloud/console.php(49): require_once('/config/www/nex...')
#31 /config/www/nextcloud/occ(11): require_once('/config/www/nex...')
#32 {main}

 

This led me to believe that there is some kind of php issue. So with some google fu I found this: https://help.nextcloud.com/t/php-fatal-error-uncaught-doctrine-dbal-dbalexception-failed-to-connect-to-the-database/56782 (can't hyperlink)

 

I think this is what my issue is. Might be your issue too.

Unfortunately, there was no real solution provided to fix the issue if you're Docker or Unraid user.

 

Thoughts?

Edited by PieQuest
typo
Link to comment

Since last update I have the same error as you:

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 think the update broke something but I have no idea what.

Link to comment
17 hours ago, whitedwarf said:

 

Fixed:

 

 

It seems like the error is related to the MariaDB container being upgraded and as a result MariaDB being upgraded from 10.1 to MariaDB 10.2. 

To get rid of this ssh into the Mariadb container and delete the binary log file in /config/databases (these log file are called "ib_logfile0", ""ib_logfile1" etc).  After deleting restart the MariaDB container. 

 

 

https://mariadb.com/kb/en/upgrading-from-mariadb-101-to-mariadb-102/+comments/2903

 

Edited by ab5g
  • Like 1
  • Thanks 1
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.