Nextcloud General error: 2006 MySQL server has gone away

Creating a bug report/issue

Required Information

  • DietPi version
    G_DIETPI_VERSION_CORE=8
    G_DIETPI_VERSION_SUB=11
    G_DIETPI_VERSION_RC=2
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’
    G_LIVE_PATCH_STATUS[0]=‘applied’
  • Distro version | bullseye 1
  • Kernel version | Linux DietPi4 5.15.76-v7l+ #1597 SMP Fri Nov 4 12:14:58 GMT 2022 armv7l GNU/Linux
  • SBC model | RPi 4 Model B (armv7l)
  • Power supply used | original rpi
  • SD card used | (SanDisk ?)

Additional Information (if applicable)

  • Software title | Nextcloud
    updated to 25.0.1

Steps to reproduce

goto homepage - login

Expected behaviour

nextcloud dashboard

Actual behaviour

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.
nextcloud.log (98.6 KB)

Extra details

I updated to 25.0.1 and logged in, after some days of not using i noticed an error message instead of the dashboard. After updating, I changed int to float ([Bug]: TypeError: Return value of OCA\DAV\Connector\Sabre\FilesPlugin::OCA\DAV\Connector\Sabre\{closure}() must be of the type int or null, float returned · Issue #34674 · nextcloud/server · GitHub)
there is space left on the SD card,.
Do you have any ideas what could happen here?
i have sql dumps of nextcloud of the last 10 days

did you tried to reinstall NextCloud using dietpi-software? At least this should fix the NC bug on v25 for 32bit systems.

dietpi-software reinstall 114

Btw: NC 25 will be latest version on 32bit as NC will drop support for it.

I tried to reinstall today (after I backed the SDcard), but it did not help.
I am seriously thinking of a fresh install and use the 64bit version.

That would be better long term solution.

Where do I find a current 64bit image for rpi4?

on our download page? https://dietpi.com/

I missed the change from 32 to 64 bit?
I am running arm v7l, that’s 32bit?
Is Armv8 is 64 bit?

we offer 3 different images

  • ARMv6 - These images are compatible with all Raspberry Pi models, but we recommend it only for Raspberry Pi 1 and Zero (1) models.

  • ARMv7 - These images are compatible with all Raspberry Pi 2, 3 and 4 models, but we recommend it only for Raspberry Pi 2 PCB v1.1, or if you require a 32-bit system explicitly.

  • ARMv8 - These images are compatible with all Raspberry Pi 3 and 4 models, as well as Raspberry Pi 2 PCB v1.2 and Zero 2.

ARMv6/7 are 32bit images, where ARMv8 is the 64bit image

thanks for the explanation