Open jduquennoy opened 5 months ago
Dots in database names always inevitably trigger bugs like this in software so I'd avoid them. :-)
But, yes, we should probably handle this.
I remember a bug report about database names with dots in nextcloud/server, but were unable to find it again.
Is the database size important for anyone?
Steps to reproduce
Expected behaviour
The server info page should display
Actual behaviour
An error is reported, with this message in the logs:
Quick analysis
See lib/DatabaseStatistics.php#L123 There is a split of the DB name on a
.
separator. Due to this, with my DB name ofcloud.mydomain.fr
, the next query will beinstead of being
This looks like a bug, since dbName with dots seems to be supported by the rest of nextCloud (all other features are working as expected)
Server configuration
Operating system: Nexcloud docker image nextcloud:27-apache
Web server: Nexcloud docker image nextcloud:27-apache
Database: PostgreSQL 16
PHP version: Nexcloud docker image nextcloud:27-apache
Nextcloud version: (see Nextcloud admin page) 27.1.5
Where did you install Nextcloud from: Nexcloud docker image nextcloud:27-apache
Nextcloud configuration:
Logs