Update first to latest version 1.8 if it’s not already the case. If you are not using Docker you’ll want to read the following paragraphs carefully. See below to update first to the 1.8 version. Just make sure you were running 1.8.5 before updating. If you are using Docker, you don’t need to do anything. Here is what you need to know: Docker vs. Complete upgrade guide from 1.8.x to 2.0.0 ¶Ĭhange root directory of webserver to elabftw/web Users using the API will have to go to their profile and create new API keys. Two thing are breaking in this update, the way to update, as described above, and the API keys.ĪPI keys now have a different format and are no longer stored in clear in the database (after all, they allow access to your data, so they should be treated as passwords). Always read the release notes! Breaking update ¶ This will prepare the database, then cleanup any orphaned rows found, and update the structure.įor other updates, calling “db:update” should be enough. # for non-Docker users, from the elabftw directory Docker exec -it elabftw php bin/console db:updateto3