Trouble with upgrading the Tethys Platform installed in the Azure virtual machine image #1007
Replies: 2 comments 9 replies
-
|
Hi @ZoloKiala, I do not if you can attach the content of your I have updated Tethys from 3 to 4 before and some of the things that have worked for me are the following: 1 The python version of the current tethys env might be old to work with the package tethys-platform package. I think updating it to python 3.12 might help. 2 Install the new Tethys platform version with libmamba solver or with mamba (if you want to install tethys with mamba make sure mamba is installed in the base env, if you are using the libmamba solver you do not need to worry about this ) Also the version 4.2 is available only with the dev label
or if you want to use the libmamba solver
3 Tethsy 4 versions need to specify the database in the portal_config.yml. You can do it with the following: 4 Run |
Beta Was this translation helpful? Give feedback.
-
|
Below is the output of /var/log/tethys/error.log |
Beta Was this translation helpful? Give feedback.




Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Dear All,
I'm trying to upgrade the Tethys Platform contained in the Azure virtual machine image. However, the upgrade doesn't work. The following command: conda install -c conda-forge -c tethysplatform tethys-platform=4.* doesn't work. I had to use the libmamba solver to make it work. Once fixed, when I tried "tethys db migrate", I got an error saying: the "ModuleNotFoundError: No module named 'tethys_portal'. I'm stuck. I can't use the Tethys version (3.3), which is in the image, because my app is built using version 4.2.
Beta Was this translation helpful? Give feedback.
All reactions