When run the install script fails to create a database:
sudo -u kbin php8.2 -d /var/www/kbin -d memory_limit=-1 /var/www/kbin/bin/console doctrine:database:create
2023-07-19 20:15:35,298: DEBUG - Could not create database "kbin" for connection named default
I'm wondering if the problem is that the manifest.toml already creates a database called kbin and grants a kbin user privileges:
Provisionning database...
2023-07-19 20:13:33,664: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./provision_database" 7>&1']'
It seems that the name of the database is "kbin" here
Then the doctrine:database:create also tries to create a database with the same name, which is when the 42501 inssuficient privilege error occurs - would changing the name of the database that the manifest resources.database section creates allow the other database create to run?
Context
Hardware: Helios64 rockchip, armbian bullseye
YunoHost version:11.2.1
I have access to my server: *Through SSH and through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
Using, or trying to install package version/branch: kbin_ynh/testing
Describe the bug
When run the install script fails to create a database:
I'm wondering if the problem is that the manifest.toml already creates a database called kbin and grants a kbin user privileges: Provisionning database... 2023-07-19 20:13:33,664: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./provision_database" 7>&1']' It seems that the name of the database is "kbin" here
Then the doctrine:database:create also tries to create a database with the same name, which is when the 42501 inssuficient privilege error occurs - would changing the name of the database that the manifest resources.database section creates allow the other database create to run?
Context
Steps to reproduce
sudo yunohost app install https://github.com/YunoHost-Apps/kbin_ynh/tree/testing --debug
Logs
https://[paste.yunohost.org/raw/ozovuyewuc](https://paste.yunohost.org/raw/ozovuyewuc)