Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Error: user is not on free plan" when trying to update subscription on self hosted #3914

Open
kidproquo opened this issue Nov 3, 2024 · 0 comments
Labels

Comments

@kidproquo
Copy link

Description

./ente admin update-subscription -u "[email protected]"
Error: user is not on free plan
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)

Manually running this in psql worked:

psql -U pguser ente_db -c "INSERT INTO storage_bonus (bonus_id, user_id, storage, type, valid_till) VALUES ('self-hosted-myself', (SELECT user_id FROM users LIMIT 1), 1099511627776, 'ADD_ON_SUPPORT', 0)"

INSERT 0 1

Version

No response

What product are you using?

Ente Photos

What platform are you using?

Mobile - iOS, Mobile - Android, Web - Firefox, Server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant