gigafibre-fsm/scripts/migration
louispaulb 8ba73251f3 feat: full GenieACS config export (provisions, ext scripts, fleet data)
Complete backup of all GenieACS ACS configuration:
- 24 provision scripts (default, inform, bootstrap, firmware upgrades,
  per-model configs for HT803G, HT502, HT812, Deco, XX230v, XX430v, XX530v)
- 25 presets (trigger rules mapping events to provisions)
- 6 ext scripts (provisioning.js, wifi.js, voip.js — query MariaDB
  for per-device WiFi SSID/password and VoIP credentials)
- 12 firmware images catalogued (HT502, HG8245, HT803G-W/WS2, HT812, Deco)
- 7,550 device fleet snapshot (4,035 online, 53.4% online rate)
- GenieACS env config (MongoDB at 10.5.2.116, ext dir, JWT secret)

Fleet breakdown:
- Device2 (TP-Link Deco): 4,051 units (74% online) — bulk of fleet
- HT803G (Raisecom): 2,833 units (33% online) — legacy ONTs
- DISCOVERYSERVICE: 156 ghost entries (0% online)
- Grandstream phones: GXP2130/2160/1630, HT502/812

Key finding: ext scripts use MariaDB (10.5.14.21) for WiFi/VoIP
provisioning data (SSID, passwords, SIP credentials per serial).
This data must be migrated to ERPNext or a new provisioning DB
for Oktopus.

Custom fork: @genieacs/genieacs-targo v1.2.8-targo.3

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-02 21:08:51 -04:00
..
genieacs-export feat: full GenieACS config export (provisions, ext scripts, fleet data) 2026-04-02 21:08:51 -04:00
add_office_extension.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
add_performance_indexes.sql feat: telephony UI, performance indexes, Twilio softphone, lazy-load invoices 2026-04-02 13:59:59 -04:00
analyze_pricing_cleanup.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
check_missing_cat26.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
clean_reimport.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
cleanup_customer_status.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
create_portal_users.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
explore_expro_payments.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
explore_expro_services.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
export_genieacs.sh feat: GenieACS config export + TR-069 to TR-369 migration plan 2026-04-02 21:03:41 -04:00
fix_and_invoices.py feat: complete data mirror — all customers + 115K invoices 2026-03-28 16:09:16 -04:00
fix_annual_billing_dates.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
fix_customer_links.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
fix_dates.py fix: correct creation/modified dates from unix timestamps 2026-03-28 16:20:47 -04:00
fix_invoice_customer_names.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
fix_invoice_outstanding.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
fix_issue_cust2.py feat: fix all data relationships + PPA reference numbers 2026-03-28 15:45:51 -04:00
fix_issue_owners.py feat: fix all data relationships + PPA reference numbers 2026-03-28 15:45:51 -04:00
fix_no_rebate_discounts.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
fix_reversals.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
fix_reversement.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
fix_sub_address.py feat: fix all data relationships + PPA reference numbers 2026-03-28 15:45:51 -04:00
fix_subscription_details.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
geocode_locations.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
import_customer_details.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
import_devices_and_enrich.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
import_employees.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
import_expro_payments.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
import_invoice_notes.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
import_invoices.py feat: complete data mirror — all customers + 115K invoices 2026-03-28 16:09:16 -04:00
import_items.py feat: migration legacy → ERPNext phases 1-4 complete 2026-03-28 14:35:02 -04:00
import_memos.py feat: 29K customer memos imported as Comments with real dates 2026-03-28 16:43:57 -04:00
import_missing_services.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
import_payments.py feat: 99K payments imported with invoice references 2026-03-28 16:33:35 -04:00
import_services_and_enrich_customers.py feat: telephony UI, performance indexes, Twilio softphone, lazy-load invoices 2026-04-02 13:59:59 -04:00
import_technicians.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
import_terminated.py feat: complete data mirror — all customers + 115K invoices 2026-03-28 16:09:16 -04:00
import_ticket_msgs.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
migrate_all.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
migrate_direct.py feat: migration legacy → ERPNext phases 1-4 complete 2026-03-28 14:35:02 -04:00
migrate_locations.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
migrate_phase3.py feat: migration legacy → ERPNext phases 1-4 complete 2026-03-28 14:35:02 -04:00
migrate_phase5.py feat: Phase 5 opening balance + AR analysis 2026-03-28 14:47:18 -04:00
migrate_tickets.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
migrate_users.py feat: Phase 7 — 45 ERPNext Users from legacy staff 2026-03-28 15:13:31 -04:00
MIGRATION_MAP.md feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
nuke_data.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
reconcile_subscriptions.py feat: subscription reimport, customer/doctype ID rename, zero-padded format 2026-04-01 17:17:23 -04:00
reimport_subscriptions.py feat: telephony UI, performance indexes, Twilio softphone, lazy-load invoices 2026-04-02 13:59:59 -04:00
rename_all_doctypes.py feat: subscription reimport, customer/doctype ID rename, zero-padded format 2026-04-01 17:17:23 -04:00
rename_customers_c_prefix.py feat: telephony UI, performance indexes, Twilio softphone, lazy-load invoices 2026-04-02 13:59:59 -04:00
rename_customers.py feat: subscription reimport, customer/doctype ID rename, zero-padded format 2026-04-01 17:17:23 -04:00
rename_to_readable_ids.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
setup_invoice_print_format.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
setup_portal_auth_bridge.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
setup_scheduler_toggle.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
setup_subscription_api.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
setup_user_roles.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
simulate_payment_import.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
update_assigned_staff.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
update_item_descriptions.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
update_opened_by_staff.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00