update-subscription error "invalid token"

> ./ente admin update-subscription -a <admin_email> -u <admin_email> --no-limit false

Error: status 401 with err: {"error":"invalid token"}
Usage:
ente admin update-subscription [flags]

Flags:
-a, --admin-user string The email of the admin user.
-h, --help help for update-subscription
--no-limit string When true, sets 100TB as storage limit, and expiry to current date + 100 years (default "True")
-u, --user string The email of the user to update subscription for. (required)
> ./ente admin update-subscription -a <admin_email> -u <admin_email> --no-limit false

Error: status 401 with err: {"error":"invalid token"}
Usage:
ente admin update-subscription [flags]

Flags:
-a, --admin-user string The email of the admin user.
-h, --help help for update-subscription
--no-limit string When true, sets 100TB as storage limit, and expiry to current date + 100 years (default "True")
-u, --user string The email of the user to update subscription for. (required)
I'm not really sure what I'm doing wrong here. Just trying to bump my limits up (not to 100 TB though; I wanted to set it to like 1 TB maybe)
6 Replies
Ducky
Ducky5mo ago
Remember to use /solved to mark your thread as solved once your question is answered.
Keerthana
Keerthana5mo ago
Hey, did you set the internal: admins or admin before doing this, and you should be signed in for this to work
Ria
RiaOP5mo ago
I do have admins set correctly to my user_id that I pulled out of the logs, and I'm definitely signed in (just did it again to be sure, same result) seems like I get a keyring error if I try to do the command with sudo, but I also don't remember needing sudo last time looks like you have to manually "add" the account to the CLI in order to manage it. which is pretty terrible UX, especially when it requires you to enter the user's password
Ducky
Ducky5mo ago
-# If your issue is resolved, you can use the /solved command to close the thread. If not, use /unsolve to cancel.
Ria
RiaOP5mo ago
so if my partner were to create an account on our self-hosted instance, I'd need to enter their password into the CLI in order to bump up their storage limit anyway I guess this is solved now
Ducky
Ducky5mo ago
Thread marked as solved. It will be closed in <t:1751340646:R>. This thread is now closed.

Did you find this page helpful?