From 12768ccb3fb746f5f3bfb6b47ce0f51feb0559d2 Mon Sep 17 00:00:00 2001 From: Nebulosa Date: Fri, 2 Jan 2026 15:59:44 +0300 Subject: [PATCH] Create the log folder in install and update scripts --- install.sh | 1 + update.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/install.sh b/install.sh index 0cf91b44..480522ed 100644 --- a/install.sh +++ b/install.sh @@ -641,6 +641,7 @@ install_x-ui() { # Update x-ui cli and se set permission mv -f /usr/bin/x-ui-temp /usr/bin/x-ui chmod +x /usr/bin/x-ui + mkdir -p /var/log/x-ui config_after_install if [[ $release == "alpine" ]]; then diff --git a/update.sh b/update.sh index ff0cea41..6da238b1 100755 --- a/update.sh +++ b/update.sh @@ -653,6 +653,7 @@ update_x-ui() { chmod +x /usr/local/x-ui/x-ui.sh >/dev/null 2>&1 chmod +x /usr/bin/x-ui >/dev/null 2>&1 + mkdir -p /var/log/x-ui >/dev/null 2>&1 echo -e "${green}Changing owner...${plain}" chown -R root:root /usr/local/x-ui >/dev/null 2>&1