2026-05-04 08:02:48,972 - main - INFO - === Logging system initialized ===
2026-05-04 08:02:48,972 - main - INFO - Log file: logs/app_20260504_080248.log
2026-05-04 08:02:48,972 - main - INFO - Log level: INFO
2026-05-04 08:02:48,972 - main - INFO - Timestamp: 20260504_080248
2026-05-04 08:02:48,993 - main - INFO - Included router: routers.admin_dashboard.router
2026-05-04 08:02:49,010 - main - INFO - Included router: routers.admin_users.router
2026-05-04 08:02:49,030 - main - INFO - Included router: routers.agent_availability.router
2026-05-04 08:02:49,247 - main - WARNING - Failed to import module 'routers.ai_ticket_summary': unsupported operand type(s) for |: 'type' and 'types.GenericAlias'
2026-05-04 08:02:49,248 - main - WARNING - Failed to import module 'routers.aihub': unsupported operand type(s) for |: 'type' and 'types.GenericAlias'
2026-05-04 08:02:49,271 - main - INFO - Included router: routers.api_hub.router
2026-05-04 08:02:49,278 - main - INFO - Included router: routers.audit_log.router
2026-05-04 08:02:49,282 - main - INFO - Included router: routers.auth.router
2026-05-04 08:02:49,330 - main - INFO - Included router: routers.bizmail_admin.router
2026-05-04 08:02:49,367 - main - INFO - Included router: routers.bizmail_client.router
2026-05-04 08:02:49,368 - main - INFO - Included router: routers.bizmail_public.router
2026-05-04 08:02:49,425 - main - INFO - Included router: routers.cache_settings.router
2026-05-04 08:02:49,446 - main - INFO - Included router: routers.carts.router
2026-05-04 08:02:49,452 - main - INFO - Included router: routers.catalog_admin.router
2026-05-04 08:02:49,475 - main - INFO - Included router: routers.chat_analytics_daily.router
2026-05-04 08:02:49,497 - main - INFO - Included router: routers.chat_attachments.router
2026-05-04 08:02:49,530 - main - INFO - Included router: routers.chat_branding.router
2026-05-04 08:02:49,536 - main - INFO - Included router: routers.chat_branding_api.router
2026-05-04 08:02:49,563 - main - INFO - Included router: routers.chat_conversations.router
2026-05-04 08:02:49,585 - main - INFO - Included router: routers.chat_messages.router
2026-05-04 08:02:49,606 - main - INFO - Included router: routers.chat_routing_rules.router
2026-05-04 08:02:49,615 - main - INFO - Included router: routers.contact.router
2026-05-04 08:02:49,636 - main - INFO - Included router: routers.contact_inquiries.router
2026-05-04 08:02:49,787 - main - INFO - Included router: routers.cpanel_admin.router
2026-05-04 08:02:49,819 - main - INFO - Included router: routers.cpanel_client.router
2026-05-04 08:02:49,821 - main - INFO - Included router: routers.cpanel_public.router
2026-05-04 08:02:49,845 - main - INFO - Included router: routers.dhl_admin.router
2026-05-04 08:02:49,848 - main - INFO - Included router: routers.dhl_public.router
2026-05-04 08:02:49,863 - main - INFO - Included router: routers.ecom_checkout.router
2026-05-04 08:02:49,864 - main - INFO - Included router: routers.health.router
2026-05-04 08:02:49,886 - main - INFO - Included router: routers.kb_article_feedback.router
2026-05-04 08:02:49,908 - main - INFO - Included router: routers.kb_articles.router
2026-05-04 08:02:49,916 - main - INFO - Included router: routers.local_auth.router
2026-05-04 08:02:49,933 - main - INFO - Included router: routers.mfa.router
2026-05-04 08:02:49,961 - main - INFO - Included router: routers.module_sync.router
2026-05-04 08:02:49,984 - main - INFO - Included router: routers.notification_preferences.router
2026-05-04 08:02:50,007 - main - INFO - Included router: routers.notifications.router
2026-05-04 08:02:50,008 - main - INFO - Included router: routers.notifications_extras.router
2026-05-04 08:02:50,128 - main - INFO - Included router: routers.oauth.router
2026-05-04 08:02:50,153 - main - INFO - Included router: routers.order_items.router
2026-05-04 08:02:50,179 - main - INFO - Included router: routers.orders.router
2026-05-04 08:02:50,182 - main - INFO - Included router: routers.password_reset.router
2026-05-04 08:02:50,190 - main - INFO - Included router: routers.paypal_checkout.router
2026-05-04 08:02:50,215 - main - INFO - Included router: routers.plans.router
2026-05-04 08:02:50,239 - main - INFO - Included router: routers.presales_messages.router
2026-05-04 08:02:50,259 - main - INFO - Included router: routers.product_categories.router
2026-05-04 08:02:50,283 - main - INFO - Included router: routers.product_reviews.router
2026-05-04 08:02:50,310 - main - INFO - Included router: routers.products.router
2026-05-04 08:02:50,321 - main - INFO - Included router: routers.role_management.router
2026-05-04 08:02:50,344 - main - INFO - Included router: routers.service_testimonials.router
2026-05-04 08:02:50,354 - main - INFO - Included router: routers.settings.router
2026-05-04 08:02:50,371 - main - INFO - Included router: routers.site_settings.router
2026-05-04 08:02:50,387 - main - INFO - Included router: routers.smtp_settings.router
2026-05-04 08:02:50,405 - main - INFO - Included router: routers.storage.router
2026-05-04 08:02:50,408 - main - WARNING - Failed to import module 'routers.support_chat': unsupported operand type(s) for |: 'type' and 'types.GenericAlias'
2026-05-04 08:02:50,427 - main - INFO - Included router: routers.support_departments.router
2026-05-04 08:02:50,448 - main - INFO - Included router: routers.support_seats.router
2026-05-04 08:02:50,452 - main - INFO - Included router: routers.ticket_notifications_sync.router
2026-05-04 08:02:50,470 - main - INFO - Included router: routers.ticket_summaries.router
2026-05-04 08:02:50,592 - main - INFO - Included router: routers.ticket_sync_states.router
2026-05-04 08:02:50,677 - main - INFO - Included router: routers.uptimerobot_admin.router
2026-05-04 08:02:50,713 - main - INFO - Included router: routers.uptimerobot_client.router
2026-05-04 08:02:50,715 - main - INFO - Included router: routers.uptimerobot_mcp.router
2026-05-04 08:02:50,719 - main - INFO - Included router: routers.user.router
2026-05-04 08:02:50,742 - main - INFO - Included router: routers.user_profiles.router
2026-05-04 08:02:50,760 - main - INFO - Included router: routers.user_roles.router
2026-05-04 08:02:50,807 - main - INFO - Included router: routers.visitor_monitor.router
2026-05-04 08:02:50,811 - main - INFO - Included router: routers.visitor_tracking.router
2026-05-04 08:02:50,875 - main - INFO - Included router: routers.whatsapp_admin.router
2026-05-04 08:02:50,876 - main - WARNING - Failed to import module 'routers.whatsapp_ai': unsupported operand type(s) for |: 'type' and 'types.GenericAlias'
2026-05-04 08:02:50,880 - main - WARNING - Failed to import module 'routers.whatsapp_analytics': Unable to evaluate type annotation 'str | None'. If you are making use of the new typing syntax (unions using `|` since Python 3.10 or builtins subscripting since Python 3.9), you should either replace the use of new syntax with the existing `typing` constructs or install the `eval_type_backport` package.
2026-05-04 08:02:50,918 - main - INFO - Included router: routers.whatsapp_automation.router
2026-05-04 08:02:50,929 - main - INFO - Included router: routers.whatsapp_client.router
2026-05-04 08:02:50,930 - main - INFO - Included router: routers.whatsapp_client_ws.router
2026-05-04 08:02:50,943 - main - INFO - Included router: routers.whatsapp_contacts.router
2026-05-04 08:02:50,952 - main - INFO - Included router: routers.whatsapp_devices.router
2026-05-04 08:02:50,962 - main - INFO - Included router: routers.whmcs.router
2026-05-04 08:02:50,993 - main - INFO - Included router: routers.whmcs_admin.router
2026-05-04 08:02:51,142 - main - INFO - Included router: routers.whmcs_extra.router
2026-05-04 08:02:51,143 - main - INFO - === Application startup initiated ===
2026-05-04 08:02:51,143 - services.database - DEBUG - [DB_OP] Starting database initialization
2026-05-04 08:02:51,143 - services.database - INFO - 🔧 Starting database initialization...
2026-05-04 08:02:51,143 - core.database - INFO - Starting database initialization...
2026-05-04 08:02:51,143 - core.database - INFO - Normalizing database URL for async compatibility...
2026-05-04 08:02:51,144 - core.database - INFO - Creating async database engine...
2026-05-04 08:02:51,144 - core.database - INFO - Using QueuePool with connection pooling for non-Lambda environment
2026-05-04 08:02:51,158 - core.database - INFO - Database engine created successfully
2026-05-04 08:02:51,158 - core.database - INFO - Creating async session maker...
2026-05-04 08:02:51,158 - core.database - INFO - Async session maker created successfully
2026-05-04 08:02:51,158 - core.database - INFO - Database connection initialized successfully
2026-05-04 08:02:51,158 - services.database - INFO - 🔧 Database connection initialized, now creating tables if tables not exist...
2026-05-04 08:02:51,158 - core.database - DEBUG - [DB_OP] Starting create_tables
2026-05-04 08:02:51,158 - core.database - INFO - 🔧 Starting table creation...
2026-05-04 08:02:51,160 - core.database - ERROR - Failed to create tables: (pymysql.err.OperationalError) (1045, "Access denied for user 'devdoiteasy_user'@'localhost' (using password: YES)")
(Background on this error at: https://sqlalche.me/e/20/e3q8)
2026-05-04 08:02:51,160 - services.database - ERROR - Failed to initialize database: (pymysql.err.OperationalError) (1045, "Access denied for user 'devdoiteasy_user'@'localhost' (using password: YES)")
(Background on this error at: https://sqlalche.me/e/20/e3q8)
