Ubuntu Dolibarr Install Stuck at /step2.php

Attempting a fresh Dolibarr 12.0.5 install on Ubuntu 24.04. Can’t proceed past /install/step2.php - no “next” button appears. Any direction would be appreciated.

Screenshot: https://freeimage.host/i/3eKySwB

Dolibarr 12.0.5 is old and ubuntu 24.04 is new. There is probably a PHP version mismatch.

can you look in the php out or the apache log? are the dolibarr.log enabled?

What happens if you run a much later version of dolibarr, can you then migrate the database contents to a newer version? You might have to do multiple migrations.

JonB

Running PHP 8.3.6

I was following the install instructions found here: How to Install Dolibarr on Ubuntu 20.04 | Vultr Docs - and yes, I see now that the Dolibarr package get points to ver 12.0.5 while current ver is 21.0.1

Re-attempted install with Dolibarr 21.0.1 - now receiving a browser window FULL of SQL errors at step 2. Here’s the first few lines as an example.

Database Database
SQL Error : DB_ERROR_NOSUCHFIELD - UPDATE llx_c_country SET numeric_code = ‘004’ WHERE code_iso = ‘AFG’; - Unknown column ‘numeric_code’ in ‘SET’
SQL Error : DB_ERROR_NOSUCHFIELD - UPDATE llx_c_country SET numeric_code = ‘248’ WHERE code_iso = ‘ALA’; - Unknown column ‘numeric_code’ in ‘SET’
SQL Error : DB_ERROR_NOSUCHFIELD - UPDATE llx_c_country SET numeric_code = ‘008’ WHERE code_iso = ‘ALB’; - Unknown column ‘numeric_code’ in ‘SET’
SQL Error : DB_ERROR_NOSUCHFIELD - UPDATE llx_c_country SET numeric_code = ‘276’ WHERE code_iso = ‘DEU’; - Unknown column ‘numeric_code’ in ‘SET’
SQL Error : DB_ERROR_NOSUCHFIELD - UPDATE llx_c_country SET numeric_code = ‘020’ WHERE code_iso = ‘AND’; - Unknown column ‘numeric_code’ in ‘SET’
SQL Error : DB_ERROR_NOSUCHFIELD - UPDATE llx_c_country SET numeric_code = ‘024’ WHERE code_iso = ‘AGO’; - Unknown column ‘numeric_code’ in ‘SET’
SQL Error : DB_ERROR_NOSUCHFIELD - UPDATE llx_c_country SET numeric_code = ‘660’ WHERE code_iso = ‘AIA’; - Unknown column ‘numeric_code’ in ‘SET’
SQL Error : DB_ERROR_NOSUCHFIELD - UPDATE llx_c_country SET numeric_code = ‘010’ WHERE code_iso = ‘ATA’; - Unknown column ‘numeric_code’ in ‘SET’
SQL Error : DB_ERROR_NOSUCHFIELD - UPDATE llx_c_country SET numeric_code = ‘028’ WHERE code_iso = ‘ATG’; - Unknown column ‘numeric_code’ in ‘SET’
SQL Error : DB_ERROR_NOSUCHFIELD - UPDATE llx_c_country SET numeric_code = ‘682’ WHERE code_iso = ‘SAU’; - Unknown column ‘numeric_code’ in ‘SET’
SQL Error : DB_ERROR_NOSUCHFIELD - UPDATE llx_c_country SET numeric_code = ‘012’ WHERE code_iso = ‘DZA’; - Unknown column ‘numeric_code’ in ‘SET’
SQL Error : DB_ERROR_NOSUCHFIELD - UPDATE llx_c_country SET numeric_code = ‘032’ WHERE code_iso = ‘ARG’; - Unknown column ‘numeric_code’ in ‘SET’
SQL Error : DB_ERROR_NOSUCHFIELD - UPDATE llx_c_country SET numeric_code = ‘051’ WHERE code_iso = ‘ARM’; - Unknown column ‘numeric_code’ in ‘SET’
SQL Error : DB_ERROR_NOSUCHFIELD - UPDATE llx_c_country SET numeric_code = ‘533’ WHERE code_iso = ‘ABW’; - Unknown column ‘numeric_code’ in ‘SET’
SQL Error : DB_ERROR_NOSUCHFIELD - UPDATE llx_c_country SET numeric_code = ‘036’ WHERE code_iso = ‘AUS’; - Unknown column ‘numeric_code’ in ‘SET’
SQL Error : DB_ERROR_NOSUCHFIELD - UPDATE llx_c_country SET numeric_code = ‘040’ WHERE code_iso = ‘AUT’; - Unknown column ‘numeric_code’ in ‘SET’
SQL Error : DB_ERROR_NOSUCHFIELD - UPDATE llx_c_country SET numeric_code = ‘031’ WHERE code_iso = ‘AZE’; - Unknown column ‘numeric_code’ in ‘SET’

did you clear the database from dolibarr 12, and started with a fresh one?

That worked, thank you. Purged MariaDB, re-created database, I’m in.

1 Like