You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Im using latest release of marzban but after update the env variables like NOTIFY_DAYS_LEFT & NOTIFY_REACHED_USAGE_PERCENT does not work anymore, changing the values or restarting everything does not change the variables and the wbhook uses its default value for these variables (3, 80)
Machine details (please complete the following information):
marzban version: 0.7.0
docker version: 27.3.1
docker compose version: v2.29.7
env:
UVICORN_HOST="0.0.0.0"
UVICORN_PORT=10000
## We highly recommend add admin using `marzban cli` tool and do not use
## the following variables which is somehow hard codded infrmation.
# SUDO_USERNAME="admin"
# SUDO_PASSWORD="admin"
# UVICORN_UDS:"/run/marzban.socket"
#UVICORN_SSL_CERTFILE="/var/lib/marzban/certs/*****************"
#UVICORN_SSL_KEYFILE="/var/lib/marzban/certs/*****************"
UVICORN_SSL_CERTFILE="/var/lib/marzban/certs/*****************/fullchain.cer"
UVICORN_SSL_KEYFILE="/var/lib/marzban/certs/*****************/privkey.key"
XRAY_JSON="/var/lib/marzban/xray_config.json"
# XRAY_SUBSCRIPTION_URL_PREFIX="https://*****************"
# XRAY_EXECUTABLE_PATH="/var/lib/marzban/xray-core/xray"
# XRAY_ASSETS_PATH="/usr/local/share/xray"
# XRAY_EXCLUDE_INBOUND_TAGS="inbound-x"
# XRAY_FALLBACKS_INBOUND_TAG="INBOUND_X"
TELEGRAM_API_TOKEN=*****************
TELEGRAM_ADMIN_ID=*****************
# TELEGRAM_PROXY_URL="http://localhost:8080"
CUSTOM_TEMPLATES_DIRECTORY="/var/lib/marzban/templates/"
# CLASH_SUBSCRIPTION_TEMPLATE="clash/my-custom-template.yml"
# SUBSCRIPTION_PAGE_TEMPLATE="subscription/index.html"
HOME_PAGE_TEMPLATE="home/index.html"
SQLALCHEMY_DATABASE_URL="mysql+pymysql://root:*****************@127.0.0.1/marzban"
MYSQL_ROOT_PASSWORD=*****************
# SQLALCHEMY_DATABASE_URL="sqlite:////var/lib/marzban/db.sqlite3"
### for developers
DOCS=true
# DEBUG=true
WEBHOOK_ADDRESS="https://*****************/webhook/data"
WEBHOOK_SECRET="*****************"
# VITE_BASE_API="https://example.com/api"
JWT_ACCESS_TOKEN_EXPIRE_MINUTES=0
XRAY_ASSETS_PATH=/var/lib/marzban/assets/
V2RAY_SUBSCRIPTION_TEMPLATE="v2ray/default.json"
SINGBOX_SUBSCRIPTION_TEMPLATE="singbox/default.json"
USE_CUSTOM_JSON_DEFAULT=True
NOTIFY_DAYS_LEFT=2
NOTIFY_REACHED_USAGE_PERCENT=90
The text was updated successfully, but these errors were encountered:
Describe the bug
Im using latest release of marzban but after update the env variables like NOTIFY_DAYS_LEFT & NOTIFY_REACHED_USAGE_PERCENT does not work anymore, changing the values or restarting everything does not change the variables and the wbhook uses its default value for these variables (3, 80)
Machine details (please complete the following information):
marzban version: 0.7.0
docker version: 27.3.1
docker compose version: v2.29.7
env:
The text was updated successfully, but these errors were encountered: