stefanpejcic / OpenPanel

A highly customizable web hosting control panel built with Docker 🐳
https://openpanel.com
216 stars 33 forks source link

opencli user-rename does not update vhost files #157

Closed stefanpejcic closed 1 month ago

stefanpejcic commented 3 months ago

OpenPanel version(s) affected

0.2.5

Description

We added in 0.2.5 using contianer names instead of docker internal ips, we need to update vhosts for user after rename.

How to reproduce

rename user, nginx sites are error

Possible Solution

No response

Additional Context

No response

stefanpejcic commented 2 months ago

added in 026, needs testing https://github.com/stefanpejcic/openpanel-docker-cli/blob/main/user/rename.sh

stefanpejcic commented 2 months ago

this is resovled but bigger issue now: mount point can not be changed!

example:

started docker for user stefan and /home/stefan/ is mounted from host. now renaming it to /home/nikola does not affect the mount point! we can not chaneg mountpoint