Open bbx-github opened 5 months ago
Undefined function: 7 ERROR: function pg_database_size() does not exist
We should handle this exception better. Can your user execute pg_database_size?
We should handle this exception better. Can your user execute pg_database_size?
Thank you for asking. This is the other change I did recently: I changed dbname
and dbuser
from "nextcloud" to my domain name (lets say my.domain
). So now it contains dots (.
). For authentication I use peer authentication: the system user's name who runs nextcloud is my.domain
as well and no password is needed.
The user can execute pg_database_size
:
root@server:/var# sudo -u my.domain -c "SELECT pg_database_size('my.domain');"
pg_database_size
------------------
41855535
(1 row)
⚠️ This issue respects the following points: ⚠️
Bug description
I recently updated from 26 -> 27 -> 28.0.3 and I don't know when this error appeared. When I click click on Administration -> System in web interface an exception occurs. The database server is the postgres debian package from bullseye: 13.14-0+deb11u1 (postgres 13) and should be OK according to requirements: PostgreSQL 12/13/14/15/16
Steps to reproduce
click on Administration -> System
Expected behavior
system info shows up
Installation method
Community Manual installation with Archive
Nextcloud Server version
28
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Nginx
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 22 to 23)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
No response
Nextcloud Signing status
Nextcloud Logs
Additional info
postgres command line works just fine:
some.name=# SELECT pg_database_size('some.name');
user and db name contain dots ('.')