Looking good
This commit is contained in:
@@ -1454019,3 +1454019,107 @@ DETAIL: constraint conversion_rooms_conversion_id_fkey on table conversion_room
|
||||
HINT: Use DROP ... CASCADE to drop the dependent objects too.
|
||||
[SQL: DROP TABLE IF EXISTS conversions]
|
||||
(Background on this error at: https://sqlalche.me/e/20/dbapi)
|
||||
2025-11-18 14:46:04 - root - INFO - Logging to file: config/alpinebits.log
|
||||
2025-11-18 14:46:04 - root - INFO - Logging configured at INFO level
|
||||
2025-11-18 14:46:04 - alpine_bits_python.notification_service - INFO - Registered notification backend: pushover
|
||||
2025-11-18 14:46:04 - alpine_bits_python.notification_manager - INFO - Registered pushover backend with priority 0
|
||||
2025-11-18 14:46:04 - alpine_bits_python.notification_manager - INFO - Notification service configured with backends: ['pushover']
|
||||
2025-11-18 14:46:04 - alpine_bits_python.api - INFO - Application startup initiated (primary_worker=True)
|
||||
2025-11-18 14:46:04 - alpine_bits_python.db - INFO - Configured database schema: alpinebits
|
||||
2025-11-18 14:46:04 - alpine_bits_python.db - INFO - Setting PostgreSQL search_path to: alpinebits,public
|
||||
2025-11-18 14:46:04 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_HOTEL_NOTIF_REPORT
|
||||
2025-11-18 14:46:04 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_PING
|
||||
2025-11-18 14:46:04 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_HOTEL_RES_NOTIF_GUEST_REQUESTS
|
||||
2025-11-18 14:46:04 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_READ
|
||||
2025-11-18 14:46:04 - alpine_bits_python.api - INFO - Hotel 39054_001 has no push_endpoint configured
|
||||
2025-11-18 14:46:04 - alpine_bits_python.api - INFO - Hotel 135 has no push_endpoint configured
|
||||
2025-11-18 14:46:04 - alpine_bits_python.api - INFO - Hotel 39052_001 has no push_endpoint configured
|
||||
2025-11-18 14:46:04 - alpine_bits_python.api - INFO - Hotel 39040_001 has no push_endpoint configured
|
||||
2025-11-18 14:46:04 - alpine_bits_python.api - INFO - Running startup tasks (primary worker)...
|
||||
2025-11-18 14:46:05 - alpine_bits_python.db_setup - INFO - All existing customers already have hashed data
|
||||
2025-11-18 14:46:05 - alpine_bits_python.api - INFO - Startup tasks completed
|
||||
2025-11-18 14:46:05 - alpine_bits_python.api - INFO - Application startup complete
|
||||
2025-11-18 14:46:37 - alpine_bits_python.api - INFO - Application shutdown initiated
|
||||
2025-11-18 14:46:37 - alpine_bits_python.email_service - INFO - Shutting down email service thread pool
|
||||
2025-11-18 14:46:37 - alpine_bits_python.email_service - INFO - Email service thread pool shut down complete
|
||||
2025-11-18 14:46:37 - alpine_bits_python.api - INFO - Email service shut down
|
||||
2025-11-18 14:46:37 - alpine_bits_python.api - INFO - Application shutdown complete
|
||||
2025-11-18 14:46:37 - alpine_bits_python.worker_coordination - INFO - Released primary worker lock (pid=7588)
|
||||
2025-11-18 14:46:40 - root - INFO - Logging to file: config/alpinebits.log
|
||||
2025-11-18 14:46:40 - root - INFO - Logging configured at INFO level
|
||||
2025-11-18 14:46:40 - alpine_bits_python.notification_service - INFO - Registered notification backend: pushover
|
||||
2025-11-18 14:46:40 - alpine_bits_python.notification_manager - INFO - Registered pushover backend with priority 0
|
||||
2025-11-18 14:46:40 - alpine_bits_python.notification_manager - INFO - Notification service configured with backends: ['pushover']
|
||||
2025-11-18 14:46:40 - alpine_bits_python.api - INFO - Application startup initiated (primary_worker=True)
|
||||
2025-11-18 14:46:40 - alpine_bits_python.db - INFO - Configured database schema: alpinebits
|
||||
2025-11-18 14:46:40 - alpine_bits_python.db - INFO - Setting PostgreSQL search_path to: alpinebits,public
|
||||
2025-11-18 14:46:40 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_HOTEL_NOTIF_REPORT
|
||||
2025-11-18 14:46:40 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_PING
|
||||
2025-11-18 14:46:40 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_HOTEL_RES_NOTIF_GUEST_REQUESTS
|
||||
2025-11-18 14:46:40 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_READ
|
||||
2025-11-18 14:46:40 - alpine_bits_python.api - INFO - Hotel 39054_001 has no push_endpoint configured
|
||||
2025-11-18 14:46:40 - alpine_bits_python.api - INFO - Hotel 135 has no push_endpoint configured
|
||||
2025-11-18 14:46:40 - alpine_bits_python.api - INFO - Hotel 39052_001 has no push_endpoint configured
|
||||
2025-11-18 14:46:40 - alpine_bits_python.api - INFO - Hotel 39040_001 has no push_endpoint configured
|
||||
2025-11-18 14:46:40 - alpine_bits_python.api - INFO - Running startup tasks (primary worker)...
|
||||
2025-11-18 14:46:48 - alpine_bits_python.db_setup - INFO - All existing customers already have hashed data
|
||||
2025-11-18 14:46:48 - alpine_bits_python.api - INFO - Startup tasks completed
|
||||
2025-11-18 14:46:48 - alpine_bits_python.api - INFO - Application startup complete
|
||||
2025-11-18 14:47:09 - alpine_bits_python.api - INFO - Application shutdown initiated
|
||||
2025-11-18 14:47:09 - alpine_bits_python.email_service - INFO - Shutting down email service thread pool
|
||||
2025-11-18 14:47:09 - alpine_bits_python.email_service - INFO - Email service thread pool shut down complete
|
||||
2025-11-18 14:47:09 - alpine_bits_python.api - INFO - Email service shut down
|
||||
2025-11-18 14:47:09 - alpine_bits_python.api - INFO - Application shutdown complete
|
||||
2025-11-18 14:47:09 - alpine_bits_python.worker_coordination - INFO - Released primary worker lock (pid=7744)
|
||||
2025-11-18 14:47:18 - root - INFO - Logging to file: config/alpinebits.log
|
||||
2025-11-18 14:47:18 - root - INFO - Logging configured at INFO level
|
||||
2025-11-18 14:47:18 - alpine_bits_python.notification_service - INFO - Registered notification backend: pushover
|
||||
2025-11-18 14:47:18 - alpine_bits_python.notification_manager - INFO - Registered pushover backend with priority 0
|
||||
2025-11-18 14:47:18 - alpine_bits_python.notification_manager - INFO - Notification service configured with backends: ['pushover']
|
||||
2025-11-18 14:47:18 - alpine_bits_python.api - INFO - Application startup initiated (primary_worker=True)
|
||||
2025-11-18 14:47:18 - alpine_bits_python.db - INFO - Configured database schema: alpinebits
|
||||
2025-11-18 14:47:18 - alpine_bits_python.db - INFO - Setting PostgreSQL search_path to: alpinebits,public
|
||||
2025-11-18 14:47:19 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_HOTEL_NOTIF_REPORT
|
||||
2025-11-18 14:47:19 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_PING
|
||||
2025-11-18 14:47:19 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_HOTEL_RES_NOTIF_GUEST_REQUESTS
|
||||
2025-11-18 14:47:19 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_READ
|
||||
2025-11-18 14:47:19 - alpine_bits_python.api - INFO - Hotel 39054_001 has no push_endpoint configured
|
||||
2025-11-18 14:47:19 - alpine_bits_python.api - INFO - Hotel 135 has no push_endpoint configured
|
||||
2025-11-18 14:47:19 - alpine_bits_python.api - INFO - Hotel 39052_001 has no push_endpoint configured
|
||||
2025-11-18 14:47:19 - alpine_bits_python.api - INFO - Hotel 39040_001 has no push_endpoint configured
|
||||
2025-11-18 14:47:19 - alpine_bits_python.api - INFO - Running startup tasks (primary worker)...
|
||||
2025-11-18 14:47:26 - alpine_bits_python.db_setup - INFO - Backfilling advertising account IDs for existing reservations...
|
||||
2025-11-18 14:47:26 - alpine_bits_python.db_setup - INFO - Found 4 hotel(s) with account configurations
|
||||
2025-11-18 14:47:26 - alpine_bits_python.db_setup - INFO - Updated 7 reservations with meta_account_id for hotel 39054_001
|
||||
2025-11-18 14:47:26 - alpine_bits_python.db_setup - INFO - Updated 6 reservations with google_account_id for hotel 39054_001
|
||||
2025-11-18 14:47:26 - alpine_bits_python.db_setup - INFO - Backfill complete: 7 reservations updated with meta_account_id, 6 with google_account_id
|
||||
2025-11-18 14:47:26 - alpine_bits_python.db_setup - INFO - Backfilling usernames for existing acked_requests...
|
||||
2025-11-18 14:47:26 - alpine_bits_python.db_setup - INFO - Found 4 hotel(s) with usernames in config
|
||||
2025-11-18 14:47:26 - alpine_bits_python.api - INFO - Startup tasks completed
|
||||
2025-11-18 14:47:26 - alpine_bits_python.api - INFO - Application startup complete
|
||||
2025-11-18 14:48:07 - alpine_bits_python.api - INFO - Application shutdown initiated
|
||||
2025-11-18 14:48:07 - alpine_bits_python.email_service - INFO - Shutting down email service thread pool
|
||||
2025-11-18 14:48:07 - alpine_bits_python.email_service - INFO - Email service thread pool shut down complete
|
||||
2025-11-18 14:48:07 - alpine_bits_python.api - INFO - Email service shut down
|
||||
2025-11-18 14:48:07 - alpine_bits_python.api - INFO - Application shutdown complete
|
||||
2025-11-18 14:48:07 - alpine_bits_python.worker_coordination - INFO - Released primary worker lock (pid=7963)
|
||||
2025-11-18 14:48:14 - root - INFO - Logging to file: config/alpinebits.log
|
||||
2025-11-18 14:48:14 - root - INFO - Logging configured at INFO level
|
||||
2025-11-18 14:48:14 - alpine_bits_python.notification_service - INFO - Registered notification backend: pushover
|
||||
2025-11-18 14:48:14 - alpine_bits_python.notification_manager - INFO - Registered pushover backend with priority 0
|
||||
2025-11-18 14:48:14 - alpine_bits_python.notification_manager - INFO - Notification service configured with backends: ['pushover']
|
||||
2025-11-18 14:48:14 - alpine_bits_python.api - INFO - Application startup initiated (primary_worker=True)
|
||||
2025-11-18 14:48:14 - alpine_bits_python.db - INFO - Configured database schema: alpinebits
|
||||
2025-11-18 14:48:14 - alpine_bits_python.db - INFO - Setting PostgreSQL search_path to: alpinebits,public
|
||||
2025-11-18 14:48:14 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_HOTEL_NOTIF_REPORT
|
||||
2025-11-18 14:48:14 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_PING
|
||||
2025-11-18 14:48:14 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_HOTEL_RES_NOTIF_GUEST_REQUESTS
|
||||
2025-11-18 14:48:14 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_READ
|
||||
2025-11-18 14:48:14 - alpine_bits_python.api - INFO - Hotel 39054_001 has no push_endpoint configured
|
||||
2025-11-18 14:48:14 - alpine_bits_python.api - INFO - Hotel 135 has no push_endpoint configured
|
||||
2025-11-18 14:48:14 - alpine_bits_python.api - INFO - Hotel 39052_001 has no push_endpoint configured
|
||||
2025-11-18 14:48:14 - alpine_bits_python.api - INFO - Hotel 39040_001 has no push_endpoint configured
|
||||
2025-11-18 14:48:14 - alpine_bits_python.api - INFO - Running startup tasks (primary worker)...
|
||||
2025-11-18 14:48:22 - alpine_bits_python.db_setup - WARNING - No engine provided to run_startup_tasks, skipping config-based backfill tasks
|
||||
2025-11-18 14:48:22 - alpine_bits_python.api - INFO - Startup tasks completed
|
||||
2025-11-18 14:48:22 - alpine_bits_python.api - INFO - Application startup complete
|
||||
|
||||
@@ -8,8 +8,8 @@ database:
|
||||
# Use annotatedyaml for secrets and environment-specific overrides
|
||||
|
||||
logger:
|
||||
level: "WARNING" # Set to DEBUG for more verbose output
|
||||
file: "config/alpinebits.log" # Log file path, or null for console only
|
||||
level: "INFO" # Set to DEBUG for more verbose output
|
||||
file: "config/alpinebits.log" # Log file path, or null for console only
|
||||
|
||||
server:
|
||||
codecontext: "ADVERTISING"
|
||||
@@ -23,22 +23,19 @@ alpine_bits_auth:
|
||||
username: "bemelman"
|
||||
password: !secret BEMELMANS_PASSWORD
|
||||
meta_account: "238334370765317"
|
||||
google_account: "7581209925" # Optional: Meta advertising account ID
|
||||
google_account: "7581209925" # Optional: Meta advertising account ID
|
||||
|
||||
|
||||
- hotel_id: "135"
|
||||
hotel_name: "Testhotel"
|
||||
username: "sebastian"
|
||||
password: !secret BOB_PASSWORD
|
||||
|
||||
|
||||
- hotel_id: "39052_001"
|
||||
hotel_name: "Jagthof Kaltern"
|
||||
username: "jagthof"
|
||||
password: !secret JAGTHOF_PASSWORD
|
||||
meta_account: "948363300784757"
|
||||
google_account: "1951919786" # Optional: Meta advertising account ID
|
||||
|
||||
google_account: "1951919786" # Optional: Meta advertising account ID
|
||||
|
||||
- hotel_id: "39040_001"
|
||||
hotel_name: "Residence Erika"
|
||||
@@ -46,11 +43,9 @@ alpine_bits_auth:
|
||||
password: !secret ERIKA_PASSWORD
|
||||
google_account: "6604634947"
|
||||
|
||||
|
||||
api_tokens:
|
||||
- tLTI8wXF1OVEvUX7kdZRhSW3Qr5feBCz0mHo-kbnEp0
|
||||
|
||||
|
||||
# Email configuration (SMTP service config - kept for when port is unblocked)
|
||||
email:
|
||||
# SMTP server configuration
|
||||
@@ -69,8 +64,8 @@ email:
|
||||
# Pushover configuration (push notification service config)
|
||||
pushover:
|
||||
# Pushover API credentials (get from https://pushover.net)
|
||||
user_key: !secret PUSHOVER_USER_KEY # Your user/group key
|
||||
api_token: !secret PUSHOVER_API_TOKEN # Your application API token
|
||||
user_key: !secret PUSHOVER_USER_KEY # Your user/group key
|
||||
api_token: !secret PUSHOVER_API_TOKEN # Your application API token
|
||||
|
||||
# Unified notification system - recipient-based routing
|
||||
notifications:
|
||||
@@ -82,7 +77,7 @@ notifications:
|
||||
#- type: "email"
|
||||
# address: "jonas@vaius.ai"
|
||||
- type: "pushover"
|
||||
priority: 0 # Pushover priority: -2=lowest, -1=low, 0=normal, 1=high, 2=emergency
|
||||
priority: 0 # Pushover priority: -2=lowest, -1=low, 0=normal, 1=high, 2=emergency
|
||||
|
||||
# Daily report configuration (applies to all recipients)
|
||||
daily_report:
|
||||
@@ -104,5 +99,3 @@ notifications:
|
||||
log_levels:
|
||||
- "ERROR"
|
||||
- "CRITICAL"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user