Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

after update changing webhook notify variables does not work #1623

Open
m0x61h0x64i opened this issue Jan 25, 2025 · 2 comments
Open

after update changing webhook notify variables does not work #1623

m0x61h0x64i opened this issue Jan 25, 2025 · 2 comments

Comments

@m0x61h0x64i
Copy link

m0x61h0x64i commented Jan 25, 2025

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
@M03ED
Copy link
Collaborator

M03ED commented Jan 25, 2025

we already asked for needed information and we didn't get any response in 2 weeks

@m0x61h0x64i
Copy link
Author

what information u want?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants