Database Error: disk full but plenty of space available

The log reader shows me the following error:

Or for longer, use three backticks above and below the code snippet:

DriverException
An exception occurred while executing a query: SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-85c-9ec608-7b1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Could not boot workflowengine: An exception occurred while executing a query: SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-85c-9ec608-7b1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")

Nextcloud version (eg, 20.0.5): 28.0.5
Operating system and version (eg, Ubuntu 20.04): Debian Bookworm 12.5
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.59-1~deb12u1
PHP version (eg, 7.4): 8.2.18-1~deb12u1

Is this the first time you’ve seen this error? (Y/N): Y

<?php
$CONFIG = array (
  'instanceid' => 'ocg47myo19vn',
  'passwordsalt' => '',
  'secret' => '',
  'trusted_domains' => 
  array (
    0 => 'cloud',
    1 => 'cloud.domain.com',
  ),
  'datadirectory' => '/var/www/html/data',
  'overwrite.cli.url' => 'http://cloud',
  'dbtype' => 'mysql',
  'version' => '28.0.5.1',
  'dbname' => 'nextcloud',
  'dbhost' => 'db-nextcloud.<dbname>.local',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'nextcloud',
  'dbpassword' => '',
  'logtimezone' => 'UTC',
  'installed' => true,
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'mail_from_address' => 'cloud',
  'mail_smtpmode' => 'smtp',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_domain' => '<domain>.com',
  'mail_smtphost' => 'localhost',
  'mail_smtpport' => '25',
  'mysql.utf8mb4' => true,
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'filelocking.enabled' => true,
  'redis' => 
  array (
    'host' => '/var/run/redis/redis-server.sock',
    'port' => 0,
    'password' => '',
  ),
  'updater.release.channel' => 'stable',
  'defaultapp' => 'files',
  'default_phone_region' => 'IT',
  'preview_max_x' => 1024,
  'preview_max_y' => 1024,
  'preview_max_filesize_image' => 5,
  'preview_max_scale_factor' => 1,
  'maintenance_window_start' => 1,
);

df -h shows:

root@cloud:/# df -h
Filesystem                  Size  Used Avail Use% Mounted on
udev                        7.8G     0  7.8G   0% /dev
tmpfs                       1.6G  2.2M  1.6G   1% /run
/dev/mapper/cloud--vg-root   91G   56G   32G  64% /
tmpfs                       7.9G     0  7.9G   0% /dev/shm
tmpfs                       5.0M     0  5.0M   0% /run/lock
/dev/sda1                   234M   94M  128M  43% /boot
tmpfs                       1.6G     0  1.6G   0% /run/user/0

Actually I didn’t catch that I moved the database to another server a while ago. I totally fogot about that. After checking the DB Server I extended the disk space on that one and now it’s working.

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.