Rob de Kort

Rob de Kort

Planned

Currently I move the /home/ploi folder to any mounted volume (way cheaper storage solution) and symlink it. This works fine. I can host all my sites on block storage.

It would be great to be able to do this from the UI + have Ploi monitoring work (disk space for example).

Waryor UG (haftungsbeschränkt)

Waryor UG (haftungsbeschränkt)

·
·

This is somewhat possible without symlinks.

We are using relative paths /home/ploi/../../mnt/<somevolume>/sitename. Not ideal, but it works. In the nginx config we then strip the path to /mnt/sitename.

no votes yet
Rob de Kort

Rob de Kort

Item author
·
·

Hey!

In my suggested workaround you move and symlink the Ploi folder only once after provisioning. It works well and is all you need to do but it would be nice if you could do this from the UI and have Ploi monitoring keep an eye out on disk usage.

I'm not sure what you're doing. Can you explain to me the steps your taking. Happy to learn!

no votes yet
Craig von Chamier

Craig von Chamier

·
·

Any news on this feature?

no votes yet
Mike

Mike

·
·

I have set this up with a symlink as described but now backups do not run. I receive the following error: "cannot create user data directory: /home/ploi/snap/aws-cli/123: Not a directory" Do you have any issues with backups?

no votes yet
Michael Aerni

Michael Aerni

· · Edited
·

I think Ploi just monitors the disk space of the system disk. Maybe we can have a setting to set which volume we would like to track. Maybe even multiple volumes. Or maybe just track whatever volume is mounted to /home.

4 total votes
CotCotDev Craig von Chamier Rob de Kort Daniel Sturm
Craig von Chamier

Craig von Chamier

·
·

Any news on this - i dont know how to install to a different volume - is there a guide?

no votes yet
Mike

Mike

· · Edited
·

If you want to move a single site to a mounted volume then you can do the following:

Lets assume you have an a site called example.com and it lives in /home/ploi/example.com and lets also assume you have a mounted volume under /mnt/ploi

You can do the following:

mv /home/ploi/example.com /mnt/ploi/
ln -s /mnt/ploi/example.com /home/ploi/example.com

I haven't found any issues with this but one thing to note is that file backups will only backup the symlink. The workaround is to append "/." to the "Path to backup", e.g. /home/ploi/example.com/.

Even though this works it would be nice to have this functionality built into Ploi.

no votes yet

Option to install sites on mounted volume

6 total votes
  • Dennis moved item to board Planned

    2 years ago
  • Rob de Kort moved item to project Server Level Requests

    2 years ago
  • Rob de Kort created the item

    2 years ago