Hi Felipe
1 - Minimum recommended versions of PHP/PostgreSQL:
PHP 8.3. Try to use the last of 8.3 (8.3.22)
PostgreSQL 16. Try to use the last of 16 (16.9)
2 - New constants:
All of these new constants were added in version 6.4.0.
Before updating the Dédalo data from version 6.3.1 to 6.4.0, you must define all of them.
In the update data panel (area maintenance) you will see the information attached below.
It is important to set the constants in the configuration file when updating the code to version 6.4.0.
UPDATE 6.3.1 => 6.4.0
🧐 IMPORTANT! Please read carefully before applying this update:
A new ontology model.
This update changes your ontology definitions to create new schema for manage the ontology nodes.
Backup your database before run it.
Review the config definition. Some constants have been added and others removed.
- Constants added:
// install
define('DEDALO_INSTALL_PATH', DEDALO_ROOT_PATH . '/install');
define('DEDALO_INSTALL_URL', DEDALO_ROOT_WEB . '/install');
// Work API
define('DEDALO_API_URL', DEDALO_CORE_URL . '/api/v1/json/');
// Ontology server. Defines if current server can provide his ontology files to other Dédalo servers.
define('IS_AN_ONTOLOGY_SERVER', false);
// Ontologies providers
define('ONTOLOGY_SERVERS', [
[
'name' => 'Official Dédalo Ontology server',
'url' => 'https://master.dedalo.dev/dedalo/core/api/v1/json/',
'code' => 'x3a0B4Y020Eg9w'
]
]);
// Directory to manage input/output, export/import ontology data to sync between installations
define('ONTOLOGY_DATA_IO_DIR', DEDALO_INSTALL_PATH . '/import/ontology');
define('ONTOLOGY_DATA_IO_URL', DEDALO_INSTALL_URL . '/import/ontology');
// Dédalo code
define('IS_A_CODE_SERVER', false);
// code providers
define('CODE_SERVERS', [
[
'name' => 'Official Dédalo code server',
'url' => 'https://master.dedalo.dev/dedalo/core/api/v1/json/',
'code' => 'x3a0B4Y020Eg9w'
]
]);
- Constants removed:
define('STRUCTURE_SERVER_CODE', 'x3a0B4Y020Eg9w');
define('STRUCTURE_SERVER_URL', 'https://master.dedalo.dev/dedalo/core/extras/str_manager/');
define('ONTOLOGY_DOWNLOAD_DIR', DEDALO_BACKUP_PATH_ONTOLOGY . '/download');
define('STRUCTURE_DOWNLOAD_JSON_FILE', DEDALO_BACKUP_PATH_ONTOLOGY);
define('DEDALO_SOURCE_VERSION_URL', 'https://master.dedalo.dev/dedalo/code/dedalo6_code.zip');
- Optional Only if your installation will provide a local ontologies (private ontologies that are not shared outside your installations)
In the case that you want to convert your own server as ontology provided you need to add this constant in your config.
And defined your server code.
// Ontology server. Defines if the installation server can provide his ontology files to other Dédalo installations.
define('IS_AN_ONTOLOGY_SERVER', true);
define('ONTOLOGY_SERVER_CODE', 'Here:my_valid_code_for_Ontologies');