How to increase the storage on selfhosted instance (Docker) #5585
Replies: 2 comments 2 replies
-
|
The proper and robust way to do this is by using the CLI.
This is documented at https://help.ente.io/self-hosting/guides/admin, but you mention that you've read the documentation, and I'm assuming you're not able to get one of the steps to work. So alternatively, you can directly modify the DB. Someone has already provided a quick one line command for this also in the community guide, but I assume that is not working for you for some reason, so here are the steps one by one - So try something like this:
docker compose exec postgres env PGPASSWORD=nY6BUqxDaphM7SqQM1S0vzoYc8cx psql -U pguser -d ente_db Note: Run this command from within the If everything goes fine you should see an SQL prompt ente_db=#
update subscriptions set storage = 1024 * 1024 * 1024 * 1024 :: bigint;If everything is fine you should see my-ente$ docker compose exec postgres env PGPASSWORD=nY6BUqxDaphM7SqQM1S0vzoYc8cx psql -U pguser -d ente_db
psql (15.12 (Debian 15.12-1.pgdg120+1))
Type "help" for help.
ente_db=# update subscriptions set storage = 1024 * 1024 * 1024 * 1024 :: bigint;
UPDATE 1Now refresh your web app or reopen your mobile app, and you should see 1TB storage. (Note: I'm just writing this in case it helps in some way! If someone else has a more beginner friendly breakdown for the same, please do chime in) |
Beta Was this translation helpful? Give feedback.
-
|
Hi, i used this way <update subscriptions set storage = 1024 * 1024 * 1024 * 1024 :: bigint;> for setting up the storage, because the othet way i dont get work on my raspi. How can I set it up to 4TB? Thanks for your answer. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there people ✌️❤️
I'm tryna self host Ente.io on my vps server.
I did use the docker 1 minute 1 command script from here
Though I gotta mention it's designed for localhost usecases and I had to make some changes to it to get it work on my vps.
But anyway, The only problem I have rn is to increase the storage for my user.
I did read every single documentation or anything I could find on the internet but just can't get it work.
Can someone tell me what is the easiest way to do this?
whether it is database injection or the CLI technique , I just need your help guys
it's an Ubuntu 20.04 VPS by the way
Beta Was this translation helpful? Give feedback.
All reactions