Add SOCKS proxy support for certificate renewal without internet access
- Configure Traefik to use SOCKS/HTTP proxy for Let's Encrypt ACME challenges - Add proxy environment variables (SOCKS_PROXY, HTTP_PROXY, HTTPS_PROXY, NO_PROXY) - Update docker-compose.yml to pass proxy vars to Traefik container - Update entrypoint script to log proxy configuration - Document proxy setup in .env.example - Add comprehensive guide: PROXY_CERTIFICATE_RENEWAL.md with SSH tunnel setup instructions
This commit is contained in:
17
debug_mrp_mix.py
Normal file
17
debug_mrp_mix.py
Normal file
@@ -0,0 +1,17 @@
|
||||
from datetime import datetime
|
||||
import traceback
|
||||
|
||||
Mix = self.env['mrp.lot.mix']
|
||||
mix_rec = Mix.search([('state', '=', 'draft')], order='id desc', limit=1)
|
||||
|
||||
if not mix_rec:
|
||||
print("No draft mrp.lot.mix record found.")
|
||||
else:
|
||||
print(f"Found draft mix record: ID={mix_rec.id}, Name={mix_rec.name}")
|
||||
try:
|
||||
print("Calling action_confirm_mix()...")
|
||||
mix_rec.action_confirm_mix()
|
||||
print("Success!")
|
||||
except Exception:
|
||||
print("Error caught during action_confirm_mix():")
|
||||
traceback.print_exc()
|
||||
Reference in New Issue
Block a user