OctoBot icon indicating copy to clipboard operation
OctoBot copied to clipboard

Custom tentacles packages url are not saved

Open valouvaliavlo opened this issue 5 years ago • 5 comments

Step 2: Describe your environment

  • OS : Debian -> Docker
  • Python Version: Python 3.8.6
  • In case you are not using a binary version:
    • Branch: 0.4.0
    • Last Commit ID: 216b5f65439072b5447992eb70b018e08823cab6 (git log --format="%H" -n 1)

Step 3: Describe the problem:

when i want to add another url of tentacles packages they install fine but url is not saved

valouvaliavlo avatar Dec 07 '20 20:12 valouvaliavlo

The tentacles package's url should be saved in your user/tentacles_config/tentacles_config.json (if you installed them with the tentacles manager)

GuillaumeDSM avatar Dec 07 '20 20:12 GuillaumeDSM

there is only the default url in this file. No errors in the logs I wanted to add this url: https://www.tentacles.octobot.online/repository/tentacles/officials/base/0.4.0a27.zip knowing that the default is the official 0.4.0a24

valouvaliavlo avatar Dec 07 '20 22:12 valouvaliavlo

You can change the downloaded tentacles by setting the "TENTACLES_URL_TAG" environment variable but be careful, 0.4.0a27 only works with OctoBot 0.4.0a27 (which is not yet released but if you use the code version it will be available). By default OctoBot downloads the tentacles associated to its version when you use start.py tentacles --install --all => if you have 0.4.0a27, then this command should be enough, no need for any custom url.

GuillaumeDSM avatar Dec 07 '20 23:12 GuillaumeDSM

it's because I switched to 0.4.0a27 that I wanted to put the url. I therefore set it to default in the config file, but the addition of a new url is not saved. I wonder if the default url could not be entered elsewhere so that it is updated when we do Octobot

valouvaliavlo avatar Dec 08 '20 00:12 valouvaliavlo

for now when you update your bot, tentacles are not automatically re-installed, maybe we should add this, right. For now you can reinstall them using the above command, it will install the 0.4.0a27 tentacles automatically (the default url is updated when you update your bot but tentacles themselves are not updated)

GuillaumeDSM avatar Dec 08 '20 08:12 GuillaumeDSM