Comments (3)
Hi pricua
First, version 6 is in beta state, it's unstable and doesn't have all V5 functionalities.
And yes, you will need update you V5 installation, it will not compatible directly. In other words, the V6 database format is different from V5, and it's not possible share the DDBB of your installation between V5 and V6 simultaneously. I recommend duplicate your V5 DDBB and update the duplicate, maybe you can use something as:
CREATE DATABASE dedalo_V6 TEMPLATE dedalo_v5;
Second, the update is NOT finished and it's not fully tested. It could fail. Update with care and seeing the error_log of php.
Answering your specific question, no, the encryption has not changed, you have to be able to login in V6 before update the database.
BUT, ensure that you have the last V5 format of the data in administration panel:
The version has to be at least : v5.8.2
If you are using any other version before 5.8.2 of your data you would not able to login.
And you need to login ONLY with a root user, any other user account is not active before you update the DDBB, the user accounts in V5 format are disable.
Last but not least, your php version need to be 8.0 or newer. V6 will not compatible with PHP 7 or older and your PostgreSQL need to be 14.1 or newer, Dédalo V6 will not be compatible with PostgreSQL 13 or older.
Well if you have your system ready, I explain the process to update.
When you login in V6, you will see the red alert box saying that you have the 5.8.2 version of you data.
After login with root account you should go to the new administration panel.
../dedalo/core/page/?t=dd770
or doing a double click in the new "Developer" menu:
Lookup the "UPDATE DATA" panel.
And do the update process after the last script process:
Cross your fingers and wait, the update take time and it depends of your amount of data, in out servers the process takes 1 second to update around 3.000 sections and update process, in a 500.000 sections installation it would takes around 15-20 min. be patient. You can see the process in the php log.
If everything went well, you will see the summary of the process with the result : true
saying that you have the data in V6. If not, you will see a output with the error, see the php log and find the error. You can re-run the update scripts, it's safe run it again with some partial data updated, some data in V5 and some data in V6, don't worry about running the scripts again.
Quit Dédalo and re-login with the right version of your DDBB. At this point you can login with other user accounts, but I recommend first login with root user to test that your data is correct.
Done!
If you find errors updating, please comment it, or fixed it and pull request of your code. Thanks.
Best
from dedalo.
Hello,
thanks for the reply. Do not worry, we know that it is a beta version and therefore it is not stable and may have untested errors, it is normal :)
The machine we were testing Dédalo 6 on did not meet the minimum requirements so we have moved it to a new machine with php 8 and PostgreSQL 14.
Now, when trying to access, the login window is not displayed and the following error is recorded in the log: (this error did not appear on the previous machine)
[Wed May 18 17:16:[43.586993 2022](callto:43.586993 2022)] [php:notice] [pid 760234] [client XXX] Ops.. [Exception] Undefined constant "DEDALO_LOCALE"
Error Object\n(\n [message:protected] => Undefined constant "DEDALO_LOCALE"\n [string:Error:private] => \n [code:protected] => 0\n [file:protected] => /dedalo6/core/common/js/environment.js.php\n [line:protected] => 126\n [trace:Error:private] => Array\n (\n [0] => Array\n (\n [file] => /dedalo6/core/common/js/environment.js.php\n [line] => 137\n [function] => {closure}\n )\n\n )\n\n [previous:Error:private] => \n)\n, referer: http://xxx/dedalo6/core/page/
Does this error sound familiar to you? Where is this constant defined and what value does it have to have? In the config files we have seen that it does not appear.
Thanks again.
from dedalo.
Hi pricua
Upppsss!, it seems that new constants for the new config.php are not inside the sample.config.php
We need to review all the sample.config.php with the new additions... but for now, you can add manually the DEDALO_LOCALE to your config.php, something like:
`define('DEDALO_LOCALE' , 'en-GB');`
In 'lang' part, around line 214 of the sample.config.php
Note: for Spanish you can change the value to: 'es-ES' or for català: 'ca-ES'
If you see other similar error, tell us, it's possible that we may have forgotten other constants in the sample.config.php file.
Best
from dedalo.
Related Issues (20)
- Getting fatal error almost finishing installation of DEDALO v5.8.3 HOT 2
- "ERR_TOO_MANY_REDIRECTS" executing Dedalo v5.8.3 for the first time HOT 3
- Errors with precompiled software in Dedalo 5.8.3n HOT 1
- How to change RAM requirements used by PHP and PostgreSQL in the virtual machine for developers. HOT 1
- Does Dédalo have 'templates' depending on the collection? HOT 1
- Hide fields from the filters section HOT 1
- Issues installing Dedalo: Failed opening config_auto.php HOT 5
- Menu with valid permissions not shown HOT 2
- Install and test Dédalo 4 : success config but no access to main page HOT 11
- Server(s) infrastructure for a Dedalo installation and a nice front web HOT 1
- Import Toponomy problem HOT 2
- Portuguese Translation HOT 4
- Dedalo HOT 1
- Getting database connection error HOT 6
- Tools in Dedalo 6 HOT 1
- Update ontology json file HOT 1
- Import Toponomy final step HOT 2
- Linking the images to other tables HOT 1
- Subtitle sync HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dedalo.