Database Update
Cerebro Support avatar
Written by Cerebro Support
Updated over a week ago

Memoria database update is executed with cerebro.db.update/internal/update.py script from service-tools package.

Note

In order for the script to work you should have Python version 2.x or higher installed in your system (http://www.python.org) In Linux systems, Python is already installed in most cases. You need to be sure that the Python directory is added to the system path. Launch the following command to check it:

python --version

Before starting Memoria update process it is required to have a correctly configured config.py file on the server (sample of this file can be found in cerebro.db.update/config.py.example).

Usually, configuration file is tuned during Cerebro deployment phase and is placed in a specific directory:

  • For Unix-systems it’s /etc/cerebro.db.update/config.py;

  • For Windows systems it’s %APPDATA%/cerebro.db.update/config.py, where APPDATA is a system variable and represents a path like this: C:\Users\<user name>\AppData\Roaming.

In case of missing config.py file, refer to the Memoria database manual in order to create it.


Did this answer your question?