Theme plugin ceased working after update to 2.2.2

Hi, I just updated to indico 2.2.2, and my custom themes stopped working.

The errors are (last lines of stacktraces):

OSError: [Errno 2] No such file or directory: '/opt/indico/.venv/lib/python2.7/site-packages/indico_cp3_themes/static/dist/manifest.json'


UndefinedError: parameter 'theme_settings' was not provided

My themes are based on the CERN plugin example and worked before the update.

Can someone help me make them work again ?

Thanks !

You have to rebuild your plugin wheel, using the ./bin/maintenance/ plugin path/to/your/plugin from the indico source.

You may need to change stuff in the code as well; can’t tell for sure without seeing your code. But since you sue custom assets it’s very likely that you do need to change something in the code.