To upgrade to Phraseanet version 4.0, installed version of Phraseanet must be 3.8.8.
Please, have a look to Phraseanet 3.8 upgrade procedure if required.
To upgrade Phraseanet to the latest version, it is strongly recommended to follow this upgrade procedure:
Overwrite the config folder with the one of the previous installation.
Reload Apache or Nginx server, eventually PHP-FPM to support the new version of the extension.
Check that the deployment environment meets the prerequisites ** of the version of Phraseanet you update. In a terminal, in the application root directory, run the following command:
The result of the command shows on the screen points requiring your attention.
In a terminal, at sources root, execute the following command. Please note that execution time in this step could be long.