Submitted by Hal9000 on Sun, 01/17/2010 - 11:24
Hello! I have this virtual server which has one database available, which is not created yet. Textpattern 4.2.0 install fails, it says there are no rights to add other databases (or something similar). However, the server has the right to add one database. So if i go to the Edit Databases page and create the database manually, textpattern install will work fine then.
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Tue, 01/19/2010 - 13:29 Comment #1
Could you post the exact error message that you are seeing? I'm not sure if this warning is coming from Virtualmin, MySQL, or Textpattern ..
Submitted by Hal9000 on Wed, 02/10/2010 - 14:32 Comment #2
I have the same problem now with another client that wanted to install Joomla. The error seems to come from Virtualmin. It seems that Virtualmin thinks the installer script is not allowed to create a database because the client has reached its limit, which it has not. The client has a limit of 1 database, and currently has 0 databases.
Submitted by JamieCameron on Wed, 02/10/2010 - 17:06 Comment #3
So if you go to the List Databases page for that domain, it doesn't show any DBs at all?
If it shows exactly one, you could just select that as the DB for new Joomla install ..
Submitted by Hal9000 on Wed, 02/10/2010 - 17:28 Comment #4
exactly, it shows none. so actually the install script should create the database automatically, but for some reason it thinks it is not allowed to and returns that error. so i have to create a database manually first in order to be able to install a script making use of mysql.
Submitted by JamieCameron on Wed, 02/10/2010 - 17:33 Comment #5
Ok, I see the bug now ... this will be fixed in the Virtualmin 3.78 release.
Submitted by Hal9000 on Wed, 02/10/2010 - 17:47 Comment #6
could you maybe provide me with a patch against version 3.77, in case it is a minor thingy? :)
Submitted by JamieCameron on Wed, 02/10/2010 - 17:49 Comment #7
Sure .. just edit /usr/{libexec,share}/webmin/virtual-server/scripts-lib.pl and change line 548 from :
if ($dleft == 1) {
to :
if ($dleft == 0) {
then run
/etc/webmin/restart
Submitted by Hal9000 on Wed, 02/10/2010 - 17:52 Comment #8
thank you very much! :)
Submitted by Issues on Wed, 02/24/2010 - 18:19 Comment #9
Automatically closed -- issue fixed for 2 weeks with no activity.