You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create same tenant again: docker exec -it scalelite-api ./bin/rake tenants:add[name, secret]
new tenant with new id is added.
here work unpredictable, moodle can get issues with api requests.
remove second tenant (duplicate): api returns wrong secret
fix:
rename first tenant: create tenant docker exec -it scalelite-api ./bin/rake tenants:update[id,name2, secret]
rename first tenant to original name: create tenant docker exec -it scalelite-api ./bin/rake tenants:update[id,name, secret]
The text was updated successfully, but these errors were encountered:
Ran into this issue as well, albeit by accidentally renaming a tenant to another existing tenant's name with tenants:update. Your method of then fixing the other tenant worked, thanks.
tenants:add create new tenant even if tenant with same name and secret already present making duplicates and malfunction of previous one.
How to get:
new tenant with new id is added.
here work unpredictable, moodle can get issues with api requests.
fix:
rename first tenant:
create tenant docker exec -it scalelite-api ./bin/rake tenants:update[id,name2, secret]
rename first tenant to original name:
create tenant docker exec -it scalelite-api ./bin/rake tenants:update[id,name, secret]
The text was updated successfully, but these errors were encountered: