Install script dotproject dont work

I tryed install dotproject with the install script from virtualmin and get this:

Descarregando http://prdownloads.sourceforge.net/sourceforge/dotproject/dotproject-2.1.8.tar.gz (212 bytes) ..
Descarregando http://downloads.sourceforge.net/project/dotproject/dotproject/dotProject%20Version%202.1.8/dotproject-2.1.8.tar.gz (204 bytes) ..
Descarregando https://astuteinternet.dl.sourceforge.net/project/dotproject/dotproject/dotProject%20Version%202.1.8/dotproject-2.1.8.tar.gz (4.32 MB) ..
     Recebido 15.76 kB (0 %)
     Recebido 442.76 kB (10 %)
     Recebido 884.76 kB (20 %)
     Recebido 1.30 MB (30 %)
     Recebido 1.73 MB (40 %)
     Recebido 2.16 MB (50 %)
     Recebido 2.59 MB (60 %)
     Recebido 3.02 MB (70 %)
     Recebido 3.46 MB (80 %)
     Recebido 3.89 MB (90 %)
     Recebido 4.32 MB (100 %)
.. descarga completa.

Configuring webserver PHP settings ..
.. already done.
Applying web server configuration ..
.. done

Now installing dotProject version 2.1.8 ..
dotProject post-install configuration failed : HTTP/1.1 500 Internal Server Error
More information on using this script can be found at http://www.dotproject.net/.

.. installation was only partially complete.
Re-loading Webmin ..
.. done

Applying web server configuration ..
.. done
Status: 
Active

Comments

Howdy -- thanks for contacting us!

This looks like a similar issue to your other two requests -- the app is generating a 500 error, which means that there would be an error in the Apache error logs. What error is showing up in $HOME/logs/error_log when attempting to install that script?

brunno's picture
Submitted by brunno on Sat, 03/30/2019 - 19:52 Pro Licensee

Hi,

Although it looks like the other two problems, they are different problems and different scripts. There are other softwares that install in this installation (Joomla, Limesurvey, phpmyadmin, etc.) It looks like your installation scripts are not undergoing testing.

[Sat Mar 30 20:45:59.788227 2019] [fcgid:warn] [pid 10066:tid 140108395820800] [client 129.213.180.52:39852] mod_fcgid: stderr: PHP Notice:  Undefined index: mode in /home/brunno.bsb.br/public_html/dotproject/install/do_install_db.php on line 6
[Sat Mar 30 20:45:59.788261 2019] [fcgid:warn] [pid 10066:tid 140108395820800] [client 129.213.180.52:39852] mod_fcgid: stderr: PHP Fatal error:  Uncaught Error: Call to undefined function mysql_connect() in /home/brunno.bsb.br/public_html/dotproject/lib/adodb/drivers/adodb-mysql.inc.php:363
[Sat Mar 30 20:45:59.788268 2019] [fcgid:warn] [pid 10066:tid 140108395820800] [client 129.213.180.52:39852] mod_fcgid: stderr: #0 /home/brunno.bsb.br/public_html/dotproject/lib/adodb/adodb.inc.php(525): ADODB_mysql->_connect('', '', '', '')
[Sat Mar 30 20:45:59.788271 2019] [fcgid:warn] [pid 10066:tid 140108395820800] [client 129.213.180.52:39852] mod_fcgid: stderr: #1 /home/brunno.bsb.br/public_html/dotproject/install/do_install_db.php(62): ADOConnection->Connect('', '', '')
[Sat Mar 30 20:45:59.788276 2019] [fcgid:warn] [pid 10066:tid 140108395820800] [client 129.213.180.52:39852] mod_fcgid: stderr:   thrown in /home/brunno.bsb.br/public_html/dotproject/lib/adodb/drivers/adodb-mysql.inc.php on line 363

Doing some research, it looks like this one may be an issue with the PHP version as well.

Can you try it with PHP 5.x?

If that works, we may need to add in a restriction as to which PHP version it can be installed onto.

brunno's picture
Submitted by brunno on Sat, 03/30/2019 - 22:02 Pro Licensee

With php 5.6.40 it does the initial install, like this:

Encontrado http://prdownloads.sourceforge.net:80/sourceforge/dotproject/dotproject-2.1.8.tar.gz em cache ..

Configuring webserver PHP settings ..
.. already done.
Now installing dotProject version 2.1.8 ..
Initial dotProject installation complete. It can be accessed at http://brunno.bsb.br/dotproject/.
More information on using this script can be found at http://www.dotproject.net/.

The initial administration login is admin with the password passwd .

.. done
Re-loading Webmin ..
.. done

...but, accessing the page, it stops in a install page with this errors:

Database Connectors
The next tests check for database support compiled with php. We use the ADODB database abstraction layer which comes with drivers for many databases. Consult the ADODB documentation for details.

For the moment only MySQL is fully supported, so you need to make sure it is available.

LDAP Support
Failed Not available
MySQL Support
OK ()


Recommended PHP Settings
Safe Mode = OFF? OK
Register Globals = OFF? OK
Session AutoStart = ON? Failed Try setting to ON if you are experiencing a WhiteScreenOfDeath
Session Use Cookies = ON? OK
Session Use Trans Sid = OFF? Failed There are security risks with this turned ON

There is an button on top that page to start installation, when I click this, I get an page asking about the information from database. I turn back to virtualmin, I got the database as created, the permissions are created, but the user for the database is not created. The I created manually this, and get other errors in the install:

DB setup incomplete - the following errors occured:
Index column size too large. The maximum column size is 767 bytes.
Table 'brunno_dotproj.dotp_users' doesn't exist
Index column size too large. The maximum column size is 767 bytes.
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Index column size too large. The maximum column size is 767 bytes.
Table 'brunno_dotproj.dotp_gacl_phpgacl' doesn't exist
Table 'brunno_dotproj.dotp_gacl_phpgacl' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist
Table 'brunno_dotproj.dotp_config' doesn't exist

Digging into it a little more, it looks like dotproject 2.1.8, which is what comes with Virtualmin, was released in 2013.

That unfortunately will have problems with current Linux distributions.

A note for Jamie --

Jamie, I see dotproject release v2.1.9 recently, which offers support for newer tools such as PHP 7. Is that something we could support?

brunno's picture
Submitted by brunno on Sun, 03/31/2019 - 11:39 Pro Licensee

You will put this version as an script option?

That could be something we do in the future, we'll see what Jamie's thoughts are on that.

Sometimes when that doesn't happen automatically, it could mean that the app is no longer compatible with being a Virtualmin install script... but we'll see what Jamie says, he will know whether or not that'll work.

Sure, this should be possible to support - I'll look into it shortly.

brunno's picture
Submitted by brunno on Fri, 04/05/2019 - 12:03 Pro Licensee

can you estimate a date to that?

I'm interested in this as well. Any updates?