What's new
PGBlitz.com

Register Now! Find useful tips, Interact /w Community Members and join the part the Best Community on the Internet!

Discussion Moving installation / container location?

jthander

Junior Member
PG Version
8.6.4
Mount Type
Blitz Encrypted
Server Type
Remote - Dedicated Server
Hi, all. The installation went swimmingly (so I thought), and have got nearly everything configured to my liking. I've also just completed moving several TB over to Google encrypted- so that's all good!

The issue I'm having is running out of space on my primary drive.
My current server is setup with a 20gb / mount, and a 2TB /home mount point. It looks like pgblitz installed in /opt (so on the 20gb partition).

Everything was working, and I didn't notice a problem, until watchtower filled up the drive. I managed to use
docker image prune -f
to get rid of the surplus containers, and turn off watchtower temporarily.

I have already reconfigured the processing location to be under /home.
Is there a way to move the containers to that directory as well? Some configuration in the menus or portainer I'm missing? Do I have to reinstall?

Thanks for your help.

Jane
 

jthander

Junior Member
Well, for posterity, I figured this out, sort of - I am using oneprovider

Based on this clue: https://pgblitz.com/threads/raid-with-oneprovider-ovh-mtl.1016/post-9987

I moved my opt directory to /home/opt
1. Stop all docker containers : docker kill $(docker ps -q)
2. Move my opt directory to /home/opt : mv /opt /home/opt
3. Create a symbolic link to /home/opt from /opt: ln -s /home/opt/ /opt

I tried doing the same for /var/lib/docker, but pgblitz / docker was *VERY* unhappy with that.
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads


Top NZB NewsGroups!

Members - Up To a 58% Discount!

Development Donations

 

Online statistics

Members online
9
Guests online
101
Total visitors
110
Top