Budget: 15000 RUB Deadline: 15 days
Добрый день!Я могу сделать, постоянно мучаю хестию.Опыт 15 лет, с горшка настраиваю сервера, зрение -7)
есть панель hestiacp где установлены nginx+apache. задача сменить DocumentRoot по умолчанию. сейчас /home/user/web/domain.com/public_html/ нужно сменить на /var/www/domain.com/public_html. возможна переустановка панели с нуля.
Budget: 15000 RUB Deadline: 15 days
Добрый день!Я могу сделать, постоянно мучаю хестию.Опыт 15 лет, с горшка настраиваю сервера, зрение -7)
Budget: 600 RUB Deadline: 1 day
Здравствуйте, поправлю быстро и качественно.
В шаблонах данной панели разбираюсь.
Мой телеграмм - crusades97
Как один из членов команды разработчиков HestiaCP (перевод GUI-интерфейса на русский и украинский языки делаю я :-) ) заявляю, что не сломав панели это сделать невозможно 😉
Очень много кода завязано на каталог /home ещё со времён VestaCP.
Там штатно уже можно менять, для последующих доменов можно поправить шаблон добавления доменов
Править темплейт домена обязательно, так же АК при обновлениях правка пути слетит
Как вено было написано выше, без костылей это не возможно...
Но может этот вариант вы пробовали:
https://forum.hestiacp.com/t/configure-documentroot-over-the-web-ui/1487
https://forum.hestiacp.com/t/change-documentroot/1684
.Вроде эта функция должна через саму панель менятся..
Теоретически можно, но я не пробовал)
Там open_basedir также нужно будет пошаманить в этом случае.
Все завязано на пользователе, чтобы разграничить права, сделать возможность есть но поломав панель.
Шаблоны используются при добавлении доменов почт и прочего в хестии, Весте, ничего не сллмается
Можно, но это уже костыли ;-)
И ХЗ, что будет при мажорном обновлении.
Как-нибудь помучаю на тестовом стенде.
Для этого у них сделано шаблонами по крайней мере так в доках есть их, спорить не стану но в этом случае и с опен бейз отлетает
Спрошу в приватной ветке дискорда)
А так да, кто реализует, тот пусть потом и сопровождает ;-)
https://github.com/hestiacp/hestiacp/blob/main/bin/v-change-web-domain-docroot#L89
Anton Pleskanovskiy — Сегодня, в 20:58
Hello everyone!
I had an intresting discussion today - can %docroot% point outside the /home/username directory?
[20:59]
https://docs.hestiacp.com/admin_docs/web.html
[20:59]
If we are going to change it in the web template(s).
[21:00]
Or it brokes HestiaCP in that case...
Jaap Marcus — Сегодня, в 21:02
%docroot% can't be outside the home/user/ name directory i think
Anton Pleskanovskiy — Сегодня, в 21:12
I agree with you @Jaap Marcus and guess that /home/ might be hardcoded in the v-scripts files
Looking for an experienced Linux System Administrator / DevOps to diagnose the causes of periodic crashes of the online store. It is necessary not to temporarily eliminate the symptoms, but to find the root cause of the problem, explain it, and propose an optimal solution.What is known The online store has been operating for over 15 years. Linux server. PHP 5.6. MySQL. OPcache is enabled. SSH access is available. Access to the hosting panel is available. Access to logs is available. Server load graphs have been added.Symptoms Periodically: the site stops opening; errors occur: 503 Service Unavailable; HTTP 508; Client.Timeout exceeded while awaiting headers; the response time of the site sometimes increases to 8–11 seconds. Sharp peaks in CPU, memory, and Entry Processes are observed in the load graphs. No critical errors were found in the available PHP logs.Required to conduct a full diagnosis; to find the root cause of the problem; to identify the bottleneck; to explain the cause of the crashes; to propose an optimal way to eliminate it; to perform the necessary work after approval.Mandatory experience Linux; SSH; Apache / Nginx / OpenLiteSpeed; PHP; MySQL; server performance optimization; finding the causes of periodic crashes and high load.Before starting work, please answer How many years have you worked with Linux servers? Have you had experience in finding similar problems? What tools do you plan to use for diagnosis? Have you worked with old PHP projects (PHP 5.x)? What is the cost of the initial diagnosis? What is your hourly rate for further work (if needed)? When can you start? Please do not send template proposals. In your response, briefly describe what you will check first. If the problem is successfully identified and resolved, I am ready for long-term cooperation in server administration and development.